Sunday, October 26, 2008

Ubuntu on Intel D945GCLF (with Intel Atom)

The rig:

D945GCLF board
Intel Atom @ 1.6GHZ w/HT

It looks like it's a linux kernel bug:
http://www.gossamer-threads.com/lists/linux/kernel/982159

The ethernet controller is:

Realtek Semiconductor Co., Ltd. RTL8101E PCI Express Fast Ethernet controller (rev ff)

does not seem to work in any of the Ubuntu versions.

Fix: recompile the kernel with patch

You can download my patched packages here (currently uploading, let me know if something is missing):

http://mirakulo.com/pub/linux-image-2.6.24-21-patched/

NOTE: I got the .udeb packages because of this warning: dpkg-gencontrol: warning: deb package with udeb specific field Kernel-Version

or you can do the following steps if you don't trust me:

apt-get source linux-source-2.6.24

apt-get build-dep linux-source-2.6.24

aptitude install install devscripts build-essential fakeroot

cd linux-2.6.24/

Get this patch:

http://bugzilla.kernel.org/attachment.cgi?id=17604&action=view

patch -p 1 < patch-r8169.patch

debuild -us -uc -b

Install the kernel that applies to you:

dpkg -i linux-image-2.6.24-21-generic_2.6.24-21.42_i386.deb

Reboot with new kernel. Verify that the dropped packet is zero or a realistic number.

Other related links:

* http://ubuntuforums.org/showthread.php?t=884174&page=2

* http://ubuntuforums.org/showthread.php?t=946895

This is the triaged report in Launchpad: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/288845

No comments: