Re: Realtek module don't want to be loaded! Is too busy... ;)

2001-11-21 Thread Erdmut Pfeifer
On Wed, Nov 21, 2001 at 03:13:44PM +, Nuno Emanuel F. Carvalho wrote:
> On Wed, 21 Nov 2001, Erdmut Pfeifer wrote:
> 
> > check whether your BIOS has a "Windows 9x support" option or some
> > b*llsh*t like that -- and if so, try to disable it.
> >
> > On my ASUS notebook, I initially got the same error, which was solved by
> > disabling said option.
> > This notebook has an *onboard* NIC (same RealTek chip), however, so YMMV...
> 
>My problem isn't any IRQ Conflit. I already had RedHat 6.1 installed
> working with pcmcia. Didn't changed bios setup. Unfortunally i didn't
> wrote any documentation... ;(

which version of the rtl8139.c driver are u using?
When comparing the init_module()-fragment of the rtl8139.c that came
with the 2.2.14 kernel (v1.07) with the current version (v1.16a):

v1.07:

int init_module(void)
{
return rtl8139_probe(0);
}

v1.16a:

int init_module(void)
{
if (debug)  /* Emit version even if no cards detected. */
printk(KERN_INFO "%s" KERN_INFO "%s", versionA, versionB);
#ifdef CARDBUS
register_driver(&realtek_ops);
return 0;
#else
return pci_drv_register(&rtl8139_drv_id, NULL);
#endif
}

...I somehow get the impression that CARDBUS support might not have
been present in the earlier version of the driver.  So, it might be
worth trying a newer version.  Not sure, though, whether the new
version will work with the old kernel -- but why not simply try?
There isn't much to lose ;)   If the most recent version doesn't
compile/work, maybe some other version in between v1.07-1.16 does.

Also, as you said you already had it working in RH 6.1, you might want
to figure out which mix of versions was in use there, and try those...

HTH

-- 
Erdmut Pfeifer
science+computing ag
www.science-computing.de

-- Bugs come in through open windows. Keep Windows shut! --



Re: Realtek module don't want to be loaded! Is too busy... ;)

2001-11-21 Thread Nuno Emanuel F. Carvalho
On Wed, 21 Nov 2001, Erdmut Pfeifer wrote:

> check whether your BIOS has a "Windows 9x support" option or some
> b*llsh*t like that -- and if so, try to disable it.
>
> On my ASUS notebook, I initially got the same error, which was solved by
> disabling said option.
> This notebook has an *onboard* NIC (same RealTek chip), however, so YMMV...

 Mr. Serralheiro:

   My first email references to lsmod output (same as cat /proc/modules)
on "additional info".
   Such module isn't loaded in order that I can't even use ifconfig. It
says something like "eth0: no such interface.".

 Mr. Erdmut:

   My problem isn't any IRQ Conflit. I already had RedHat 6.1 installed
working with pcmcia. Didn't changed bios setup. Unfortunally i didn't
wrote any documentation... ;(

  Thanks in advance.

  Regards,
   Nuno

PS: Once again, reply to me, since I'm not ...



Re: Realtek module don't want to be loaded! Is too busy... ;)

2001-11-21 Thread Jérôme Marant
"J.A.Serralheiro" wrote:
> 
> well, try to see if the module is already loaded
> 
> cat /proc/modules gives a list of all modules loaded.

  That's what lsmod give, /proc/modules that is.

> > $ lsmod
> > Module  Size  Used by
> > cb_enabler  2236   0  (unused)
> > ds  6640   1  [cb_enabler]
> > i82365 22956   1
> > pcmcia_core45320   0  [cb_enabler ds i82365]

  It does not seem to be loaded.



Re: Realtek module don't want to be loaded! Is too busy... ;)

2001-11-21 Thread Erdmut Pfeifer
On Wed, Nov 21, 2001 at 01:42:09PM +, Nuno Emanuel F. Carvalho wrote:
> Hi there,
> 
>   I'm having problems on getting my pcmcia card to work on Debian.
>   Already compiled RTL8139 as module from kernel and installed pcmcia-cs
> tarball.
>   In my opinion, problem is from rtl8139 module:
> 
>   $ insmod rtl8139
> /lib/modules/2.2.14/net/rtl8139.o: init_module: Device or resource busy

check whether your BIOS has a "Windows 9x support" option or some
b*llsh*t like that -- and if so, try to disable it.

On my ASUS notebook, I initially got the same error, which was solved by
disabling said option.
This notebook has an *onboard* NIC (same RealTek chip), however, so YMMV...

For details on the issue, see Donald Becker's pages, in particular:

  http://www.scyld.com/expert/irq-conflict.html


Cheers

-- 
Erdmut Pfeifer
science+computing ag
www.science-computing.de

-- Bugs come in through open windows. Keep Windows shut! --



Re: Realtek module don't want to be loaded! Is too busy... ;)

2001-11-21 Thread J.A.Serralheiro
well, try to see if the module is already loaded

cat /proc/modules gives a list of all modules loaded.
If you have an entry in here then all you have to do is ifconfig


On Wed, 21 Nov 2001, Nuno Emanuel F. Carvalho wrote:

> Hi there,
> 
>   I'm having problems on getting my pcmcia card to work on Debian.
>   Already compiled RTL8139 as module from kernel and installed pcmcia-cs
> tarball.
>   In my opinion, problem is from rtl8139 module:
> 
>   $ insmod rtl8139
> /lib/modules/2.2.14/net/rtl8139.o: init_module: Device or resource busy
> 
>   On linux boot I'm able to hear high and low tones so it seems the card
> is detected.
> 
>   I'd also copied
> /lib/modules/2.2.14/net/rtl8139.o
> to
> /lib/modules/2.2.14/pcmcia/realtek_cb.o
> 
>   Where's the problem ?
> 
>   Thanks in advance.
> 
>   Best regards,
>  Nuno Carvalho
> 
> PS: Please reply to me since I'm not subscribed on this mailing list.
> 
> ***
> Additional info:
> 
> - Debian distribution: 2.1
> - Linux Kernel: 2.2.14 (from tarball file)
> - PCMCIA Card Services: 3.1.16 (from tarball)
> - Compaq Presario 1200 laptop with a Conceptronic Realtek 8139 chipset
> PCMCIA Card
> 
> $ lsmod
> Module  Size  Used by
> cb_enabler  2236   0  (unused)
> ds  6640   1  [cb_enabler]
> i82365 22956   1
> pcmcia_core45320   0  [cb_enabler ds i82365]
> 
> $ cardctl config
> Socket 0:
>   Vcc 3.3V  Vpp1 3.3V  Vpp2 3.3V
>   interface type is "cardbus"
>   function 0:
> 
> $ cardctl ident
> Socket 0:
>   product info: "PCMCIA", "CardBus Ethernet 10/100 (R5)"
>   manfid: 0x0260, 0x0235
>   function: 6 (network)
> 
> $ cardctl status
> Socket 0:
>   3.3V CardBus card
>   function 0: [ready]
> 
> $ dmesg
> [...]
> Linux PCMCIA Card Services 3.1.16
>   kernel build: 2.2.14 #2 Fri Nov 16 20:17:13 WET 2001
>   options:  [pci] [cardbus]
> PCI routing table version 1.0 at 0xfdf70
> Intel PCIC probe:
>   TI 1211 rev 00 PCI-to-CardBus at slot 00:0a, mem 0x6800
> host opts [0]: [ring] [pci + serial irq] [pci irq 9] [lat 32/176] [bus
> 32/34]
> ISA irqs (scanned) = 3 PCI status changes
> cs: IO port probe 0x1000-0x17ff: excluding 0x1000-0x10ff 0x1400-0x14ff
> cs: IO port probe 0x0100-0x04ff: excluding 0x220-0x22f 0x378-0x37f
> 0x388-0x38f 0x4d0-0x4d7
> cs: IO port probe 0x0a00-0x0aff: clean.
> cs: cb_alloc(bus 32): vendor 0x10ec, device 0x8138
> 
> [/var/log/messages]
> Nov 20 15:11:53 morpheus kernel: Linux PCMCIA Card Services 3.1.16
> Nov 20 15:11:53 morpheus kernel:   kernel build: 2.2.14 #2 Fri Nov 16
> 20:17:13 WET 2001
> Nov 20 15:11:53 morpheus kernel:   options:  [pci] [cardbus]
> Nov 20 15:11:53 morpheus kernel: PCI routing table version 1.0 at 0xfdf70
> Nov 20 15:11:53 morpheus kernel: Intel PCIC probe:
> Nov 20 15:11:53 morpheus kernel:   TI 1211 rev 00 PCI-to-CardBus at slot
> 00:0a, mem 0x6800
> Nov 20 15:11:53 morpheus kernel: host opts [0]: [ring] [pci + serial
> irq] [pci irq 9] [lat 32/176] [bus 32/34]
> Nov 20 15:11:53 morpheus kernel: ISA irqs (scanned) = 3 PCI status
> changes
> Nov 20 15:11:54 morpheus kernel: cs: IO port probe 0x1000-0x17ff:
> excluding 0x1000-0x10ff 0x1400-0x14ff
> Nov 20 15:11:54 morpheus kernel: cs: IO port probe 0x0100-0x04ff:
> excluding 0x220-0x22f 0x378-0x37f 0x388-0x38f 0x4d0-0x4d7
> Nov 20 15:11:54 morpheus kernel: cs: IO port probe 0x0a00-0x0aff: clean.
> Nov 20 15:11:54 morpheus kernel: cs: cb_alloc(bus 32): vendor 0x10ec,
> device 0x8138
> 
> [/var/log/syslog]
> Nov 20 15:11:53 morpheus kernel: Linux PCMCIA Card Services 3.1.16
> Nov 20 15:11:53 morpheus kernel:   kernel build: 2.2.14 #2 Fri Nov 16
> 20:17:13 WET 2001
> Nov 20 15:11:53 morpheus kernel:   options:  [pci] [cardbus]
> Nov 20 15:11:53 morpheus kernel: PCI routing table version 1.0 at 0xfdf70
> Nov 20 15:11:53 morpheus kernel: Intel PCIC probe:
> Nov 20 15:11:53 morpheus kernel:   TI 1211 rev 00 PCI-to-CardBus at slot
> 00:0a, mem 0x6800
> Nov 20 15:11:53 morpheus kernel: host opts [0]: [ring] [pci + serial
> irq] [pci irq 9] [lat 32/176] [bus 32/34]
> Nov 20 15:11:53 morpheus kernel: ISA irqs (scanned) = 3 PCI status
> changes
> Nov 20 15:11:53 morpheus cardmgr[91]: starting, version is 3.1.16
> Nov 20 15:11:54 morpheus cardmgr[91]: watching 1 sockets
> Nov 20 15:11:54 morpheus kernel: cs: IO port probe 0x1000-0x17ff:
> excluding 0x1000-0x10ff 0x1400-0x14ff
> Nov 20 15:11:54 morpheus kernel: cs: IO port probe 0x0100-0x04ff:
> excluding 0x220-0x22f 0x378-0x37f 0x388-0x38f 0x4d0-0x4d7
> Nov 20 15:11:54 morpheus kernel: cs: IO port probe 0x0a00-0x0aff: clean.
> Nov 20 15:11:54 morpheus kernel: cs: cb_alloc(bus 32): vendor 0x10ec,
> device 0x8138
> Nov 20 15:11:54 morpheus cardmgr[91]: initializing socket 0
> Nov 20 15:11:54 morpheus cardmgr[91]: socket 0: 32-bit CardBus Ethernet
> 10/100 (R5)
> Nov 20 15:11:54 morpheus cardmgr[91]: executing: 'modprobe cb_enabler'
> Nov 20 15:11:54 morpheus cardmgr[91]: executing: 'modprobe realtek_cb'
> Nov 20

Realtek module don't want to be loaded! Is too busy... ;)

2001-11-21 Thread Nuno Emanuel F. Carvalho
Hi there,

  I'm having problems on getting my pcmcia card to work on Debian.
  Already compiled RTL8139 as module from kernel and installed pcmcia-cs
tarball.
  In my opinion, problem is from rtl8139 module:

  $ insmod rtl8139
/lib/modules/2.2.14/net/rtl8139.o: init_module: Device or resource busy

  On linux boot I'm able to hear high and low tones so it seems the card
is detected.

  I'd also copied
/lib/modules/2.2.14/net/rtl8139.o
to
/lib/modules/2.2.14/pcmcia/realtek_cb.o

  Where's the problem ?

  Thanks in advance.

  Best regards,
 Nuno Carvalho

PS: Please reply to me since I'm not subscribed on this mailing list.

***
Additional info:

- Debian distribution: 2.1
- Linux Kernel: 2.2.14 (from tarball file)
- PCMCIA Card Services: 3.1.16 (from tarball)
- Compaq Presario 1200 laptop with a Conceptronic Realtek 8139 chipset
PCMCIA Card

$ lsmod
Module  Size  Used by
cb_enabler  2236   0  (unused)
ds  6640   1  [cb_enabler]
i82365 22956   1
pcmcia_core45320   0  [cb_enabler ds i82365]

$ cardctl config
Socket 0:
  Vcc 3.3V  Vpp1 3.3V  Vpp2 3.3V
  interface type is "cardbus"
  function 0:

$ cardctl ident
Socket 0:
  product info: "PCMCIA", "CardBus Ethernet 10/100 (R5)"
  manfid: 0x0260, 0x0235
  function: 6 (network)

$ cardctl status
Socket 0:
  3.3V CardBus card
  function 0: [ready]

$ dmesg
[...]
Linux PCMCIA Card Services 3.1.16
  kernel build: 2.2.14 #2 Fri Nov 16 20:17:13 WET 2001
  options:  [pci] [cardbus]
PCI routing table version 1.0 at 0xfdf70
Intel PCIC probe:
  TI 1211 rev 00 PCI-to-CardBus at slot 00:0a, mem 0x6800
host opts [0]: [ring] [pci + serial irq] [pci irq 9] [lat 32/176] [bus
32/34]
ISA irqs (scanned) = 3 PCI status changes
cs: IO port probe 0x1000-0x17ff: excluding 0x1000-0x10ff 0x1400-0x14ff
cs: IO port probe 0x0100-0x04ff: excluding 0x220-0x22f 0x378-0x37f
0x388-0x38f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
cs: cb_alloc(bus 32): vendor 0x10ec, device 0x8138

[/var/log/messages]
Nov 20 15:11:53 morpheus kernel: Linux PCMCIA Card Services 3.1.16
Nov 20 15:11:53 morpheus kernel:   kernel build: 2.2.14 #2 Fri Nov 16
20:17:13 WET 2001
Nov 20 15:11:53 morpheus kernel:   options:  [pci] [cardbus]
Nov 20 15:11:53 morpheus kernel: PCI routing table version 1.0 at 0xfdf70
Nov 20 15:11:53 morpheus kernel: Intel PCIC probe:
Nov 20 15:11:53 morpheus kernel:   TI 1211 rev 00 PCI-to-CardBus at slot
00:0a, mem 0x6800
Nov 20 15:11:53 morpheus kernel: host opts [0]: [ring] [pci + serial
irq] [pci irq 9] [lat 32/176] [bus 32/34]
Nov 20 15:11:53 morpheus kernel: ISA irqs (scanned) = 3 PCI status
changes
Nov 20 15:11:54 morpheus kernel: cs: IO port probe 0x1000-0x17ff:
excluding 0x1000-0x10ff 0x1400-0x14ff
Nov 20 15:11:54 morpheus kernel: cs: IO port probe 0x0100-0x04ff:
excluding 0x220-0x22f 0x378-0x37f 0x388-0x38f 0x4d0-0x4d7
Nov 20 15:11:54 morpheus kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Nov 20 15:11:54 morpheus kernel: cs: cb_alloc(bus 32): vendor 0x10ec,
device 0x8138

[/var/log/syslog]
Nov 20 15:11:53 morpheus kernel: Linux PCMCIA Card Services 3.1.16
Nov 20 15:11:53 morpheus kernel:   kernel build: 2.2.14 #2 Fri Nov 16
20:17:13 WET 2001
Nov 20 15:11:53 morpheus kernel:   options:  [pci] [cardbus]
Nov 20 15:11:53 morpheus kernel: PCI routing table version 1.0 at 0xfdf70
Nov 20 15:11:53 morpheus kernel: Intel PCIC probe:
Nov 20 15:11:53 morpheus kernel:   TI 1211 rev 00 PCI-to-CardBus at slot
00:0a, mem 0x6800
Nov 20 15:11:53 morpheus kernel: host opts [0]: [ring] [pci + serial
irq] [pci irq 9] [lat 32/176] [bus 32/34]
Nov 20 15:11:53 morpheus kernel: ISA irqs (scanned) = 3 PCI status
changes
Nov 20 15:11:53 morpheus cardmgr[91]: starting, version is 3.1.16
Nov 20 15:11:54 morpheus cardmgr[91]: watching 1 sockets
Nov 20 15:11:54 morpheus kernel: cs: IO port probe 0x1000-0x17ff:
excluding 0x1000-0x10ff 0x1400-0x14ff
Nov 20 15:11:54 morpheus kernel: cs: IO port probe 0x0100-0x04ff:
excluding 0x220-0x22f 0x378-0x37f 0x388-0x38f 0x4d0-0x4d7
Nov 20 15:11:54 morpheus kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Nov 20 15:11:54 morpheus kernel: cs: cb_alloc(bus 32): vendor 0x10ec,
device 0x8138
Nov 20 15:11:54 morpheus cardmgr[91]: initializing socket 0
Nov 20 15:11:54 morpheus cardmgr[91]: socket 0: 32-bit CardBus Ethernet
10/100 (R5)
Nov 20 15:11:54 morpheus cardmgr[91]: executing: 'modprobe cb_enabler'
Nov 20 15:11:54 morpheus cardmgr[91]: executing: 'modprobe realtek_cb'
Nov 20 15:11:54 morpheus cardmgr[91]: +
/lib/modules/2.2.14/pcmcia/realtek_cb.o: init_module: Device or resource
busy
Nov 20 15:11:54 morpheus cardmgr[91]: modprobe exited with status 1
Nov 20 15:11:54 morpheus cardmgr[91]: executing: 'insmod
/lib/modules/2.2.14/pcmcia/realtek_cb.o'
Nov 20 15:11:54 morpheus cardmgr[91]: +
/lib/modules/2.2.14/pcmcia/realtek_cb.o: init_module: Device or resource
busy
Nov 20 15:11:54 morpheus cardmgr[91]: insmod exited with status 1
Nov 20 15:11:55