pcmcia cardbus problem on laptop BN750


Forum: Laptops
Topic: pcmcia cardbus problem on laptop BN750
started by: silversurfer

Posted by silversurfer on Oct. 14 2004,11:40
hello,

i have a cardbus network card.

with the command ifconfig -a i will see eth0 correctly.
but if i want to configure my network card.
ifconfig [IP] netmask [netmask]
i get this message on console:

Device or resource busy

in /var/log/messages i get:

pci agent missing kernel user mode drivers 8139too

can anybody help me?

greets timm

Posted by AwPhuch on Oct. 14 2004,14:05
Quote (silversurfer @ Oct. 14 2004,07:40)
hello,

i have a cardbus network card.

with the command ifconfig -a i will see eth0 correctly.
but if i want to configure my network card.
ifconfig [IP] netmask [netmask]
i get this message on console:

Device or resource busy

in /var/log/messages i get:

pci agent missing kernel user mode drivers 8139too

can anybody help me?

greets timm

Perhaps more information on the laptop.

What kind is it, do you have a link to the manual/specs

Are you sure that laptop supports cardbus?

Brian
AwPhuch

Posted by ke4nt1 on Oct. 14 2004,14:50
Looking at the note about pci and 8139too drivers in your post ...
Do you have a built-in/wired/added pci ethernet nic in your box ?
Could THIS device be occupying your eth0 that you see ?

As stated in the post above mine, we need more data about your
computer hardware and brand/type of cardbus nic before
we can even begin to guide you to some answers..

What is the output of the lsmod command?
What does a simple ifconfig command show you?

" I have a cardbus network card "
simply doesn't offer us much to go on..

73
ke4nt

Posted by silversurfer on Oct. 14 2004,16:28
hallo,

my notebook is cardbus compatible and has no network card onboard.

the network card is a DIGITUS 10/100 Mbps Fast Ethernet 32-Bit PCMCIA Cardbus Adapter. there are no more information on the ethernet adapter :(.

< http://www.digitus.de/index1.htm >

if i try to configure the network card. i get the following errors on console:
---------------------------------------------------------------------------------
root@box:~# ifconfig eth0 10.5.1.141 netmask 255.255.255.0 gw 10.5.1.254
SIOCSIFFLAGS: Device or resource busy
SIOCSIFFLAGS: Device or resource busy
---------------------------------------------------------------

if i put my network card in my laptop. i get the following messages
in /var/log/messages
-----------------------------------------------------------------
-------------------Oct 14 17:57:27 box daemon.info cardmgr[55]: socket 0: CardBus hotplug device
Oct 14 17:57:30 box user.notice pci.agent[371]: missing kernel or user mode driver 8139too
-----------------------------------------------------------------


here is my /proc/pci

PCI devices found:
 Bus  0, device   0, function  0:
   Host bridge: PicoPower Technology National PC87550 System Controller (rev 2).
     Master Capable.  Latency=32.
     I/O at 0x3000 [0x301f].
 Bus  0, device   2, function  0:
   VGA compatible controller: S3 Inc. 86cM65 [Aurora64V+] (rev 67).
     Non-prefetchable 32 bit memory at 0x80000000 [0x83ffffff].
 Bus  0, device   4, function  0:
   CardBus bridge: Texas Instruments PCI1131 (rev 1).
     Master Capable.  Latency=168.  Min Gnt=128.Max Lat=5.
     Non-prefetchable 32 bit memory at 0x10000000 [0x10000fff].
 Bus  0, device   4, function  1:
   CardBus bridge: Texas Instruments PCI1131 (#2) (rev 1).
     Master Capable.  Latency=168.  Min Gnt=64.Max Lat=5.
     Non-prefetchable 32 bit memory at 0x10001000 [0x10001fff].
 Bus  0, device   5, function  0:
   ISA bridge: PicoPower Technology PT86C523 [Vesuvius v3] PCI-ISA Bridge Slave (rev 0).
 Bus  0, device   6, function  0:
   IDE interface: CMD Technology Inc PCI0643 (rev 0).
     IRQ 14.
     Master Capable.  Latency=64.  Min Gnt=2.Max Lat=4.
     I/O at 0x500 [0x50f].
 Bus  1, device   0, function  0:
   Ethernet controller: PCI device 10ec:8139 (rev 16).
     Master Capable.  Latency=64.  Min Gnt=32.Max Lat=64.
     I/O at 0x4000 [0x40ff].
     Non-prefetchable 32 bit memory at 0x10800000 [0x108001ff].
----------------------------------------------------------------------------


then an output of lsmod
---------------------------------------------------------------------------
--------------------Module                  Size  Used by    Not tainted
8139too                13704   0 (unused)
mii                     2240   0 [8139too]
crc32                   2816   0 [8139too]
msdos                   4684   0 (autoclean)
soundcore               3428   0 (autoclean)
mousedev                3832   0 (unused)
hid                    22372   0 (unused)
input                   3168   0 [mousedev hid]
usbcore                57824   0 [hid]
cloop                   8900   0 (unused)
serial                 52068   0 (autoclean)
ds                      6536   2
yenta_socket            9504   2
pcmcia_core            39840   0 [ds yenta_socket]
apm                     9736   1
ide-cd                 28704   0
ide-scsi                9040   0
rtc                     7004   0 (autoclean)
-------------------------------------------------------------

i hope that this can help you to help me :)

greets

Posted by cbagger01 on Oct. 14 2004,17:00
Fyi, if you are going to boot up into a static IP address, you should use the nodhcp boot command to avoid an automatic attempt at DHCP resolution.
Posted by ke4nt1 on Oct. 14 2004,17:29
In searching the forums for 8139too  ..
( the search output is here )
< http://damnsmalllinux.org/cgi-bin....8425036 >

The listings I find are with laptops with Integrated Realtec 8139 nics

Your post shows an 8139too in both your lsmod and /proc/pci
Surely these links to the 8139 continue to show up in lsmod and
/proc/pci even with the cardbus card removed from the system, yes ?

My guess is that your computer does indeed have a
realtec 8139 nic somewhere in it..

Your card looks to be the Digitus DN7001G Cardbus 54MBps WLAN card.

Here is some data on the 7001 that I was able to google search for
< http://www.rst-consult.com/linux/redhat71/wavelan.txt >
Search in the page for 7001  ..

The cardbus card wants the wvlan.o driver, not the 8139too.

Let us know when you get this issue resolved,
then we can help with getting the wlan card up and running..

73
ke4nt

Posted by silversurfer on Oct. 14 2004,19:06
i have no wireless lan adapter. its a normal ethernet adapter.

and i disabled dhcp with boot command nodhcp.

i don't see dhcp broadcasting on boot. but i got the same problems.

i tried to use the pcnet_cs module. but i got undefined symbol errors.

any other idea?

Posted by ke4nt1 on Oct. 14 2004,19:37
Hmm.. I did not see a cardbus adapter that wasn't a wireless
on the website..   my bad..

Then your card is the one shown in lsmod ,which is being detected and currently loaded and in service..

Can you pick out the model number, like dm 2002, etc ?

Did you try a " sudo ifdown eth0 " command first to kill any existing incorrect default setup?

..and shouldn't your command to bring it up be more like ..
" ifconfig eth0 10.5.1.141 netmask 255.255.255.0 broadcast x.x.x.x "

followed by
" route add default gw 10.5.1.254 "  ?

rather than
"  ifconfig eth0 10.5.1.141 netmask 255.255.255.0 gw 10.5.1.254 " ?

73
ke4nt

Posted by DaCuBaN on Oct. 14 2004,19:42


Is this your network adapter?

Quote
Beschreibung:
# IEEE 802.3 und IEEE 802.3u kompatibel
# 20 / 200 Mbit im Vollduplex
# 32 Bit PC-Card kompatibel

Ausführungen:
PCMCIA FAST ETHERNET 10/100 MBIT, 1 RJ-45
136736 / DN-2002C PCMCIA Fast Ethernet Netzwerkadapter

Posted by silversurfer on Oct. 14 2004,20:04
the picture above shows my nic.

i always work as root. and i tried to set down interface first. i also unloaded the driver and load the driver (module) manually.

and i tried different ifconfig commands without using gateway

where i can find the kernel source and command make for dsl?

Posted by ke4nt1 on Oct. 14 2004,20:49
The gcc1.dsl file in the repository contains
gcc, g++, and make for DSL.

The kernel sources can be had from any
5-17-2004 version knoppix CD

73
ke4nt

Posted by silversurfer on Oct. 17 2004,19:40
is it possible, that linux have a problem with giving an irq to my network card?

when i put my cardbus ethernet adapter after my system boot up, i get an irq 0.
i think that this irq isn't useable.

has anyone an idea to set an irq to my network card?

Posted by somerville32@hotmail.com on Oct. 18 2004,00:54
I beleive that you may be able to set your IRQ in your bios but I am not sure, depends on the BIOS software I guess... Try searching around the forms.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.