Archive

Archive for December, 2012

find disk uuid

December 27, 2012 Leave a comment

ls -l /dev/disk/by-uuid/

output:

total 0
lrwxrwxrwx. 1 root root 10 Dec 26 15:39 1cf41136-4eb3-400d-be36-a0b90fb87b8e -> ../../sda1
lrwxrwxrwx. 1 root root 10 Dec 26 15:39 232e01ec-3e89-4fa2-bbbe-c010dd41e429 -> ../../dm-0
lrwxrwxrwx. 1 root root 10 Dec 26 15:39 e95ea07d-b3c3-4b34-bd9f-4aadabbc679f -> ../../dm-1

Categories: Linux, OS X Tags: , ,

cacti interface positive and negative

December 11, 2012 Leave a comment

create a new CDEF and assign it with these values

cdef=CURRENT_DATA_SOURCE,-8,*

apply this to graph template you want.

Categories: Uncategorized

piix4_smbus force_addr=0xaddr

December 3, 2012 Leave a comment
piix4_smbus 0000.00.07.0: SMBus base address uninitialized - upgrade bios or use force_addr=0xaddr

This error is caused by VM having no smbus but Ubuntu always trying to load the module. It doesn’t affect anything but is a bit annoying – to fix: –

1. Check module is being loaded: –

lsmod | grep i2c_piix4

2. If so, blacklist it in /etc/modprobe.d/blacklist.conf, by adding the following to the end of the file :-

blacklist i2c_piix4

3. Update the initramfs

update-initramfs -u -k all

thanks to finster
Categories: Linux