Ae galera, o meu Linux � o Conectiva 7 e tem o Kernel 2.2.19 e uma placa de rede SiS 900. ---- Quando uso o comando modprobe sis900:
[root@casa /root]# modprobe sis900 /lib/modules/2.2.19-15cl/net/sis900.o: init_module: Device or resource busy Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters /lib/modules/2.2.19-15cl/net/sis900.o: insmod /lib/modules/2.2.19-15cl/net/sis900.o failed /lib/modules/2.2.19-15cl/net/sis900.o: insmod sis900 failed ---- No site da SiS eles disponibilizam um passo-a-passo pra configurar a placa de rede no linux como segue: 1. Download the latest kernel distribution from ftp://ftp.tw.kernel.org/pub/linux/kernel/v2.3/ 2. You have to be superuser to be able to update driver kernel. Use "su" to become a super user. $su 3. move the compressed tared file to /usr/src #mv linux-2.3.50.tar.gz /usr/src (or #mv linux-2.3.50.tar.bz2 /usr/src) 4. uncompress and untar the file by #cd /usr/src #gzip -dc linux-2.3.50.tar.gz |tar -xovf - (or #bzip2 -d linux-2.3.50.tar.bz2 #tar -xovf linux-2.3.50.tar) 5. After unzip is completed, there will be a directory /usr/src/linux created. Make sure unzip is successful, and then change directory to /usr/src/linux #ls -al drwxr-xr-x 6 root root 1024 Jan 24 13:38 . drwxr-xr-x 22 root root 1024 Nov 25 14:08 .. drwxr-xr-x 15 root root 1024 Jan 24 17:57 linux 6. You can find the sis900.c and sis900.h files in /usr/src/linux/drivers/net. Replace sis900.c and sis900.h with the update files, sis900.c and sis900.h 7. Start to re-compile the Linux Kernel. #cd linux If you are using X-window enviroment you can configure the kernel by #make xconfig or if you are using text console #make menuconfig 4. There are many options you can choose, but the one that is related to our SiS900 is in "Network device support". First select "Ethernet" and select "SiS900(7016)" to "y". Save your kernel configuration by selecting "Save and Exit" in the main menu. 5. Recompile the kernel by #make bzlilo After the compilation finished there will be two file in / directory #ls -al / -rw-r--r-- 1 root root 298358 Jan 25 11:49 System.map -rw-r--r-- 1 root root 545835 Jan 25 11:49 vmlinuz If you are using RedHat move these two file to /boot 6. #cd / #mv System.map vmlinuz /boot Tell the linux kernel loader (LILO) about the new kernel #modify this file /etc/lilo.conf #lilo Now you can reboot your system #reboot After the system is rebooted, login and check if the driver is working properly with dmesg You can see SiS900 information. Eu fa�o tudo direito, mais quando chega no make xconfig: [root@casa linux]# make xconfig rm -f include/asm ( cd include ; ln -sf asm-i386 asm) make -C scripts kconfig.tk make[1]: Entering directory `/usr/src/linux-2.2.19/scripts' gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkparse.o tkparse.c gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkcond.o tkcond.c gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkgen.o tkgen.c gcc -o tkparse tkparse.o tkcond.o tkgen.o cat header.tk >> ./kconfig.tk ./tkparse < ../arch/i386/config.in >> kconfig.tk -: 172: unable to open net/Config.in make[1]: *** [kconfig.tk] Error 1 make[1]: Leaving directory `/usr/src/linux-2.2.19/scripts' make: *** [xconfig] Error 2 ---- Algu�m pode me ajudar??? Renato Assinantes em 13/07/2002: 2231 Mensagens recebidas desde 07/01/1999: 174870 Historico e [des]cadastramento: http://linux-br.conectiva.com.br Assuntos administrativos e problemas com a lista: mailto:[EMAIL PROTECTED]
