[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#650771: r8169 connectivity intermittent, link up messages in syslog

Hi Jonathan,

Thanks for being on the case!

I am currently trying the patch at http://article.gmane.org/gmane.linux.kernel/1222924.

I downloaded the patch from http://thread.gmane.org/gmane.linux.kernel/1222924
as r8169-patch, and then did the following:

sudo aptitude install build-essential devscripts fakeroot libdw-dev libperl-dev python-dev libnewt-dev

sudo aptitude build-dep linux-2.6

wget 'http://backports.debian.org/debian-backports/pool/main/l/linux-2.6/linux-2.6_2.6.39.orig.tar.gz'

wget 'http://backports.debian.org/debian-backports/pool/main/l/linux-2.6/linux-2.6_2.6.39-3~bpo60+1.diff.gz'

tar xzf linux-2.6_2.6.39.orig.tar.gz

mv linux-2.6-2.6.39 linux-2.6-2.6.39-inglorion1

cd linux-2.6-2.6.39-inglorion1

gunzip < '../linux-2.6_2.6.39-3~bpo60+1.diff.gz' | patch -p1

patch -p5 < ../../../r8169-patch
# The patch applied cleanly

make localmodconfig
# This asked for EXT4_USE_FOR_EXT23. I accepted the default selection of Y

# Make sure that .config contains CONFIG_R8169=m
# If you run localmodconfig while r8169 is not loaded (e.g. because you are using r8168),
# then localmodconfig will cause r8169 to NOT be built.

cd drivers/net

cd ../..

make -j 5 deb-pkg

sudo dpkg -i ../linux-image-2.6.39_2.6.39-2_amd64.deb

sudo reboot

I will run with this for a while and see if I can get the NIC to lock up (it is currently working).

Reply to: