[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Realtek rtl8139 nic and 2.4.20 kernel



Wayne Topa wrote:

>  Charles Muller(acmuller@gol.com) is reported to have said:
> > I upgraded my 2.2* Woody kernel to 2.4.20 to get support for my external
> > USB drive. I succeeded, but in the process lost my network connection
> > via my rtl8139 nic. The driver (8139too) was compiled, but it won't
>  
>  Had the same problem until I ras lspci and noticed the USB controller
>  was using the same IRQ as my NIC.  Changing IRQ's fixed it.

So, following Mr. Keeling's advice,

I ran
> 
> cat /proc/ioports
>  "     "  interrupts
> lsmod
> grep $blah /var/log/messages

and now I see this

debian:/home/chuck# cat /proc/interrupts
           CPU0       
  0:      37205          XT-PIC  timer
  1:        661          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  9:         24          XT-PIC  usb-ohci, usb-ohci
 11:          9          XT-PIC  usb-ohci, eth0

And also this:

debian:/home/chuck# grep $chuck /var/log/messages

Dec 26 17:53:02 debian kernel: 8139too Fast Ethernet driver 0.9.24
Dec 26 17:53:02 debian kernel: PCI: Enabling device 00:0a.0 (0000 -> 0003)
Dec 26 17:53:02 debian kernel: PCI: Found IRQ 11 for device 00:0a.0
Dec 26 17:53:02 debian kernel: eth0: RealTek RTL8139 Fast Ethernet at 0x2000, 00:90:f5:1f:3b:ba, IRQ 11
[...]
Dec 26 17:53:02 debian kernel: usb.c: registered new driver hub
Dec 26 17:53:02 debian kernel: uhci.c: USB Universal Host Controller Interface driver v1.1
Dec 26 17:53:02 debian kernel: SiS router pirq escape (96)
Dec 26 17:53:02 debian kernel: SiS router pirq escape (96)
Dec 26 17:53:02 debian kernel: PCI: Guessed IRQ 11 for device 00:03.0
Dec 26 17:53:02 debian kernel: usb-ohci.c: USB OHCI at membase 0xdc816000, IRQ 11
Dec 26 17:53:02 debian kernel: usb-ohci.c: usb-00:03.0, Silicon Integrated Systems [SiS] 7001
Dec 26 17:53:02 debian kernel: usb.c: new USB bus registered, assigned bus number 1


... and so I am guessing that I am having the same problem.

I will look around to see how one changes IRQ addresses, but if anyone
can give me a pointer here, I'd appreciate it.

Chuck



Reply to: