Device or resource busy

Gregor Horvath <[email protected]> Sun, 27 Apr 2003 11:38:14 +0200
Newsgroups gmane.linux.drivers.eepro100.devel
Message-ID <[email protected]>
Hi,

I have a IBM ThinkPad T30 and installed Debian Woddy (2.2.20).
Ethernet worked fine out of the box.
Then I compiled an new kernel and added apm, sound etc. and now the ethernet 
card does not work anymore:

PRAG:/home/gh# modprobe eepro100
/lib/modules/2.2.20/net/eepro100.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.20/net/eepro100.o: insmod /lib/modules/2.2.20/net/eepro100.o 
failed
/lib/modules/2.2.20/net/eepro100.o: insmod eepro100 failed

PRAG:/home/gh# lsmod
Module                  Size  Used by    
ntfs                   34656   0  (unused)
nls_iso8859-1           2400   0  (unused)

PRAG:/tmp# ./eepro100-diag 
eepro100-diag.c:v2.12 4/15/2003 Donald Becker ([email protected])
 http://www.scyld.com/diag/index.html
Index #1: Found a Intel Pro/100 VE (type 1031) adapter at 0x8000.
 Use '-a' or '-aa' to show device registers,
     '-e' to show EEPROM contents, -ee for parsed contents,
  or '-m' or '-mm' to show MII management registers.

PRAG:/tmp# ./eepro100-diag -a
eepro100-diag.c:v2.12 4/15/2003 Donald Becker ([email protected])
 http://www.scyld.com/diag/index.html
Index #1: Found a Intel Pro/100 VE (type 1031) adapter at 0x8000.
i82557 chip registers at 0x8000:
  00000000 00000000 00000000 00080002 10000000 00000000
  No interrupt sources are pending.
   The transmit unit state is 'Idle'.
   The receive unit state is 'Idle'.
  This status is unusual for an activated interface.

PRAG:/tmp# ./eepro100-diag -e
eepro100-diag.c:v2.12 4/15/2003 Donald Becker ([email protected])
 http://www.scyld.com/diag/index.html
Index #1: Found a Intel Pro/100 VE (type 1031) adapter at 0x8000.
Intel EtherExpress Pro 10/100 EEPROM contents:
  Station address 00:09:6B:7A:CC:CF.
  Board assembly 000000-000, Physical connectors present: RJ45
  Primary interface chip i82555 PHY #1.
   Sleep mode is enabled.  This is not recommended.
   Under high load the card may not respond to
   PCI requests, and thus cause a master abort.
   To clear sleep mode use the '-G 0 -w -w -f' options.

PRAG:/tmp# ./eepro100-diag -m
eepro100-diag.c:v2.12 4/15/2003 Donald Becker ([email protected])
 http://www.scyld.com/diag/index.html
Index #1: Found a Intel Pro/100 VE (type 1031) adapter at 0x8000.
Primary transceiver is MII PHY #1. MII PHY #1 transceiver registers:
   1100 7809 02a8 0330 05e1 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   2004 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0010 0000 0000 0000.


PRAG:/home/gh# cat /proc/ioports 
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0376-0376 : ide1
03bc-03be : parport0
03c0-03df : vga+
03f6-03f6 : ide0
1860-1867 : ide0
1868-186f : ide1

PRAG:/home/gh# cat /proc/pci
PCI devices found:

[......]

 Bus  2, device   8, function  0:
    Ethernet controller: Intel Unknown device (rev 66).
      Vendor id=8086. Device id=1031.
      Medium devsel.  Fast back-to-back capable.  IRQ 11.  Master Capable.  
Late
ncy=66.  Min Gnt=8.Max Lat=56.
      Non-prefetchable 32 bit memory at 0xd0200000 [0xd0200000].
      I/O at 0x8000 [0x8001].


Please help,
Gregor