Tag Archives: ubuntu

Fix HP Compaq 6910p Fan Noise under Linux

Although I prefer Macs as my primary work horses, I keep a trusty old HP Compaq 6910p around as a fallback. While generally nice the 6910p has one major flaw when being run with Linux: The fans will keep running constantly, emitting a high frequency whine that makes working unbearable in a couple of minutes. By chance I found a fix for the problem here. Open a terminal window and issue the following commands:

sudo -i
for i in 0 1 2 3 4; do echo "0" > /sys/class/thermal/cooling_device${i}/cur_state; done

While this will not completely eliminate the fans spinning up, it will at least make them spin down again when no more cooling is needed.

ZenOSS 2.4 Beta on Ubuntu

Just so I don’t forget it when the next beta cycle for ZenOSS is due:
To successfully have ZenOSS generate graphs on Ubuntu one needs to do

apt-get install ttf-liberation
apt-get install libgcj-common

and restart the system afterwards.

Make Intel’s 8257x based Gigabit Adapters work with Ubuntu 8.04 “Hardy Heron”

When testing out Ubuntu 8.04 “Hardy Heron” today, it was a quite smooth ride except for my network card not being detected correctly. Well, it’s an Intel PCIe Gigabit NIC equipped with the 82572EI chip. This poses two problems: First, the adapter is incorrectly identified as a standard Intel PRO/1000, thus ubuntu picks the wrong driver and uses e1000.ko instead of e1000e.ko.
This can be easily fixed by adding the line “alias eth0 e1000e” to /etc/modprobe.d/aliases. Unfortunately I had to find out that the driver shipped with Hardy’s kernel is a bit dated, so I also had to compile a new kernel driver. Downloaded the sources from Intel’s engineering driver download site at Sourceforge, unpacked and ran “sudo make install”. Afterwards I just had to restart networking and lo and behold, I had network connectivity.
Update: As I had to learn the hard way, the e1000 driver will get loaded on every restart, thereby blocking the e1000e driver from accessing the NIC. To fix this, I had to add the following code to /etc/rc.local:

rmmod e1000
rmmod e1000e
modprobe e1000e
/etc/init.d/networking restart