[tulip] init_module: Device or resource busy

Sumit Mehrotra sumitmehrotra00@yahoo.com
Mon, 25 Dec 2000 21:31:31 -0800 (PST)


Thanks Donald
I folloed the steps mentioned on the webpage. I still
have some problems, if you would look at them please .
I tired to the "all-in-one" build with the
netdriver-2.1.src.rpm, mentioned on the webpage. 

I have RH 7 dstribution, without the kernel source. So
i copied the source tar of 2.2.26-22 from kernel.org
and untared it into /usr/src/

I also changed the gcc to kgcc in the netdrivers.tgz
tarball and retared and compressed it and put it into
/usr/src/redhat/SOURCES

When I did 
rpm -bb SPECS/netdriver.spec, following is the
beginnig of the error messages I got. (Any Help ??)
Thanks 
- Sumit
---------------------------------------------------
 + umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf netdriver-2.1
+ /bin/mkdir -p netdriver-2.1
+ cd netdriver-2.1
+ tar -xvvf -
+ /bin/gzip -dc /usr/src/redhat/SOURCES/netdrivers.tgz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /bin/gzip -dc /usr/src/redhat/SOURCES/netdrivers.tgz
+ tar -xvvf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
+ umask 022+ cd /usr/src/redhat/BUILD
+ cd netdriver-2.1
+ make all
/usr/i386-glibc21-linux/include/asm/pgtable.h: In
function `get_pgd_slow':
In file included from
/usr/src/linux/include/linux/vmalloc.h:7,
                 from
/usr/i386-glibc21-linux/include/asm/io.h:102,
                 from pci-skeleton.c:105:
/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:506:
warning: control reaches end of non-void 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)
(first use in this function)
/usr/i386-glibc21-linux/include/asm/io.h: In function
`virt_to_phys':
In file included from pci-skeleton.c:105:
/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:118: warning:
control reaches end of non-void 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:127: warning:
control reaches end of non-void 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-skeleton.c: In function `netfin_probe1':
pci-skeleton.c:435: warning: assignment from
incompatible pointer type
pci-skeleton.c:438: dereferencing pointer to
incomplete type
pci-skeleton.c:441: dereferencing pointer to
incomplete type
pci-skeleton.c:443: dereferencing pointer to
incomplete type
pci-skeleton.c:444: dereferencing pointer to
incomplete type
...
...
pci-skeleton.c:1419: warning: passing arg 1 of
`unregister_netdev' from incompatible pointer type
pci-skeleton.c:1420: dereferencing pointer to
incomplete type
pci-skeleton.c:1422: dereferencing pointer to
incomplete type
pci-skeleton.c:1425: dereferencing pointer to
incomplete type
pci-skeleton.c:1413: warning: `next' might be used
uninitialized in this function
pci-skeleton.c: In function `cleanup_module':
pci-skeleton.c:1459: dereferencing pointer to
incomplete type
pci-skeleton.c:1460: warning: passing arg 1 of
`unregister_netdev' from incompatible pointer type
pci-skeleton.c:1465: dereferencing pointer to
incomplete type
{standard input}: Assembler messages:
{standard input}:70: Warning: Ignoring changed section
attributes for .modinfo
make: *** [pci-skeleton.o] Error 1
Bad exit status from /var/tmp/rpm-tmp.2824 (%build)

---------------------------------------------------





--- Donald Becker <becker@scyld.com> wrote:
> On Sat, 23 Dec 2000, Sumit Mehrotra wrote:
> 
> > I guess this is a pretty stock question on this
> list,
> 
> Yes.
> 
> > The scenario is,I have a standart Red hat 7.0
> (kerlne
> > 2.2.16-22) running. On of my NICs is a Cnet
> Pro(dmfe.o
> > module) and the Other is a LinkSys NC100 Ver 2.1
> > "Network Everywhere" (tulip.o module).
> ....
> > 00:14.0 Ethernet controller: Bridgecom, Inc:
> Unknown
> > device 0985 (rev 11)
> > 	Subsystem: Bridgecom, Inc: Unknown device 0570
> 
> This is the ADMtek Centaur-P chip.
> 
> You'll need the updated Tulip driver:
>    http://www.scyld.com/network/tulip.html
> Be certain to read
>  
> http://www.scyld.com/network/updates.html#redhat7.0
> 
> The "Bridgecom" identifier is incorrect -- this is
> really ADMtek's vendor
> ID.
> 
> > This is what I get. I gather this is becasue of an
> IRQ
> > conflict. Result of my lspci -v  and cat
> 
> No, it's that the old Tulip driver doesn't recognize
> or support this new
> chip.
> 
> Donald Becker				becker@scyld.com
> Scyld Computing Corporation		http://www.scyld.com
> 410 Severn Ave. Suite 210		Second Generation Beowulf
> Clusters
> Annapolis MD 21403			410-990-9993
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/