SiS Ethernet 0190 [sis190] patch, try 2
Supported (tested) kernels:
2.6.14-1.1644_FC4
Problem:
On original Fedora kernel the module for SiS Ethernet controller model 190/191 hang the system.
Bugzilla:
bug 175807
0. You need to disable network and reboot, to avoid system hang:
chkconfig --level 345 network off
1. Get and install the kernel source that applies:
2. Unpack the kernel:
cd /usr/src/redhat/SPEC
rpmbuild -bp --target=i686 kernel-2.6.spec
2. Get the SiS driver for Linux
To take the driver by yourself go to SiS download center and chose:
Network Driver -> SiS190 Gigabit & SiS191 LAN -> Linux -> GO
Than proceed to the download of "SiS190 / SiS191 Gigabit LAN / LAN driver for Linux kernal 2.6.9 or later."
3. Extract the file [sis190.c] and put it on the right place:
tar -vxzf sis190191_linux.tar.gz # file from SiS
cp sis190_20041220/sis190.c /usr/src/redhat/BUILD/kernel-2.6.14/linux-2.6.14/drivers/net/
4. Prepare the kernel to compile the modules:
cd /usr/src/redhat/BUILD/kernel-2.6.14/linux-2.6.14/
cp /usr/src/redhat/SOURCES/kernel-2.6.14-i686.config .config # for normal i686
# cp /usr/src/redhat/SOURCES/kernel-2.6.14-i686-smp.config .config # for i686 SMP
5. Compile the modules and copy override the old driver
cd /usr/src/redhat/BUILD/kernel-2.6.14/linux-2.6.14/
make modules
cp /usr/src/redhat/BUILD/kernel-2.6.14/linux-2.6.14/drivers/net/sis190.ko /lib/modules/2.6.14-1.1644_FC4/kernel/drivers/net/sis190.ko # for normal i686
depmode -eaF /boot/System.map-2.6.14-1.1644_FC4 2.6.14-1.1644_FC4 # for normal i686
#cp /usr/src/redhat/BUILD/kernel-2.6.14/linux-2.6.14/drivers/net/sis190.ko /lib/modules/2.6.14-1.1644_FC4smp/kernel/drivers/net/sis190.ko # for i686 SMP
#depmode -eaF /boot/System.map-2.6.14-1.1644_FC4smp 2.6.14-1.1644_FC4smp # for i686 SMP
6. Reenable the network and reboot
chkconfig --level 345 network on
shutdown -r now
Please always address to my hardware, os and kernel patching general procedures before posting a question.
No comments:
Post a Comment