[realtek] d-link df3530tx resource busy

Jamby jamby@uswest.net
Tue, 12 Jun 2001 13:47:21 -0700


Hi

I just down loaded the netdrivers-rh70.i386.rpm and did a
 rpm -Uvh --force netdrivers-rh70.i386.rpm
since it was complaining about conflicts.

this is a listing of the /lib/modules/2.2.16-22/net directory afterwards

ls -ltr 
(snip)
-rw-r--r--    1 root     root         8220 Aug 22  2000 3c501.o
-rw-r--r--    1 root     root         9176 Aug 22  2000 8390.o
-r--r--r--    1 root     root        14044 Jan  6 18:57 yellowfin.o
-r--r--r--    1 root     root        14536 Jan  6 18:57 winbond-840.o
-r--r--r--    1 root     root        13068 Jan  6 18:57 via-rhine.o
-r--r--r--    1 root     root        43300 Jan  6 18:57 tulip.o
-r--r--r--    1 root     root        14540 Jan  6 18:57 sundance.o
-r--r--r--    1 root     root        15156 Jan  6 18:57 starfire.o
-r--r--r--    1 root     root        16072 Jan  6 18:57 rtl8139.o
-r--r--r--    1 root     root         5524 Jan  6 18:57 pci-scan.o
-r--r--r--    1 root     root         7108 Jan  6 18:57 ne2k-pci.o
-r--r--r--    1 root     root        13904 Jan  6 18:57 natsemi.o
-r--r--r--    1 root     root        14400 Jan  6 18:57 hamachi.o
-r--r--r--    1 root     root        16920 Jan  6 18:57 epic100.o
-r--r--r--    1 root     root        21016 Jan  6 18:57 eepro100.o
-r--r--r--    1 root     root        27156 Jan  6 18:57 3c59x.o

now I reboot, 3key, same error on restart. [failed] errrrr.


modprobe rtl8139         <returns>
Note: /etc/modules.conf is more recent than
/lib/modules/2.2.16-22/modules.dep
/lib/modules/2.2.16-22/net/rtl8139.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.16-22/net/rtl8139.o: insmod
/lib/modules/2.2.16-22/net/rtl8139.o failed
/lib/modules/2.2.16-22/net/rtl8139.o: insmod rtl8139 failed

So I tried compiling my own 

kgcc -DMODULE -D__KERNEL__ -O6 -c pci-scan.c
/usr/i386-glibc21-linux/include/asm/pgtable.h: In function
`get_pgd_slow':
In file included from /usr/i386-glibc21-linux/include/linux/vmalloc.h:7,
                 from /usr/i386-glibc21-linux/include/asm/io.h:102,
                 from pci-scan.c:65:
/usr/i386-glibc21-linux/include/asm/pgtable.h:409: `PAGE_OFFSET_RAW'
undeclared (first use in this function)
/usr/i386-glibc21-linux/include/asm/pgtable.h:409: (Each undeclared
identifier is reported only once
/usr/i386-glibc21-linux/include/asm/pgtable.h:409: for each function it
appears in.)
/usr/i386-glibc21-linux/include/asm/pgtable.h: In function
`pte_alloc_kernel':
/usr/i386-glibc21-linux/include/asm/pgtable.h:498: `PAGE_OFFSET_RAW'
undeclared (first use in this function)
/usr/i386-glibc21-linux/include/asm/pgtable.h: In function `pte_alloc':
/usr/i386-glibc21-linux/include/asm/pgtable.h:516: `PAGE_OFFSET_RAW'
undeclared (first use in this function)
/usr/i386-glibc21-linux/include/asm/io.h: In function `virt_to_phys':
In file included from pci-scan.c:65:
/usr/i386-glibc21-linux/include/asm/io.h:116: `PAGE_OFFSET_RAW'
undeclared (first use in this function)
/usr/i386-glibc21-linux/include/asm/io.h: In function `phys_to_virt':
/usr/i386-glibc21-linux/include/asm/io.h:125: `PAGE_OFFSET_RAW'
undeclared (first use in this function)
/usr/i386-glibc21-linux/include/asm/io.h: In function `check_signature':
/usr/i386-glibc21-linux/include/asm/io.h:184: `PAGE_OFFSET_RAW'
undeclared (first use in this function)
pci-scan.c: In function `pci_drv_register':
pci-scan.c:156: structure has no member named `resource'
[root@nubble nic_card.d]# ls
kern_compat.h  pci-scan-doc.html  pci-scan.c  pci-scan.h  rtl8139.c

Dosen't matter if I use gcc kgcc (I copied kgcc to gcc per notes).

I'll go see what I can get from redhats site..



What is the 
Note: /etc/modules.conf is more recent than
/lib/modules/2.2.16-22/modules.dep
/lib/modules/2.2.16-22/net/rtl8139.o: init_module: Device or resource
busy
????



Thanks for your help everyone..


> You are almost there.  You must first load the pci-scan.o module, which
> is usually done automatically when you use 'modprobe' instead of
> 'insmod'.  See
>   http://www.scyld.com/network/updates.html
> 
> BTW, you could have just used
>     rpm -i ftp://ftp.scyld.com/pub/network/netdrivers-rh70.i386.rpm
>