Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB seems to block my ethernet card
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jonas_nilsson
n00b
n00b


Joined: 21 Aug 2003
Posts: 57
Location: Stockholm, Switzerland

PostPosted: Sun Aug 31, 2003 10:59 am    Post subject: USB seems to block my ethernet card Reply with quote

Hello.

I have got a Compaq Presario 907EA. Here's my lspci info:

Code:
bash-2.05b# lspci
00:00.0 Host bridge: ATI Technologies Inc AGP Bridge [IGP 320M] (rev 13)
00:01.0 PCI bridge: ATI Technologies Inc PCI Bridge [IGP 320M] (rev 01)
00:02.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV]
00:08.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)
00:0a.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 20)
00:0c.0 Communication controller: Conexant HSF 56k HSFi Modem (rev 01)
00:0f.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:10.0 IDE interface: ALi Corporation M5229 IDE (rev c4)
00:11.0 Bridge: ALi Corporation M7101 PMU
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility U1



Recently, I've been trying to get the USB working. The usb-ohci module seems to load nicely with my 2.4.21 vanilla kernel, and when I have a Logitech Quickcam Express connected I can get some info in /proc/bus/usb, which I think is a good sign. The problem is, whenever I load the usb-ohci module, my ethernet card stops working! I have been looking in the usb documentation included in the kernel source package, linux-usb.org and the linux-hotplug sites but can't find any solution to this.

Normally I have these modules loaded:
Code:
bash-2.05b# lsmod
Module                  Size  Used by    Not tainted
rtc                     6940   0  (autoclean)
usbcore                62944   1
trident                28852   1
ac97_codec             11880   0  [trident]
8139too                15240   1
mii                     2528   0  [8139too]


After loading usb-ohci, /var/log/messages contains these messages:

Code:
bash-2.05b# cat usbprob-messages
Aug 31 11:45:16 localhost kernel: PCI: Found IRQ 11 for device 00:02.0
Aug 31 11:45:16 localhost kernel: usb-ohci.c: USB OHCI at membase
0xccaa8000, IRQ 11
Aug 31 11:45:16 localhost kernel: usb-ohci.c: usb-00:02.0, ALi
Corporation. [ALi] USB 1.1 Controller
Aug 31 11:45:16 localhost kernel: usb.c: new USB bus registered, assigned
bus number 1
Aug 31 11:45:16 localhost kernel: hub.c: USB hub found
Aug 31 11:45:16 localhost kernel: hub.c: 2 ports detected
bash-2.05b# cat usbprob-messages
Aug 31 11:45:16 localhost kernel: PCI: Found IRQ 11 for device 00:02.0
Aug 31 11:45:16 localhost kernel: usb-ohci.c: USB OHCI at membase
0xccaa8000, IRQ 11
Aug 31 11:45:16 localhost kernel: usb-ohci.c: usb-00:02.0, ALi
Corporation. [ALi] USB 1.1 Controller
Aug 31 11:45:16 localhost kernel: usb.c: new USB bus registered, assigned
bus number 1
Aug 31 11:45:16 localhost kernel: hub.c: USB hub found
Aug 31 11:45:16 localhost kernel: hub.c: 2 ports detected
Aug 31 11:45:16 localhost kernel: PCI: Assigned IRQ 11 for device 00:0f.0
Aug 31 11:45:16 localhost kernel: usb-ohci.c: USB OHCI at membase
0xccaaa000, IRQ 11
Aug 31 11:45:16 localhost kernel: usb-ohci.c: usb-00:0f.0, ALi
Corporation. [ALi] USB 1.1 Controller (#2)
Aug 31 11:45:16 localhost kernel: usb.c: new USB bus registered, assigned
bus number 2
Aug 31 11:45:16 localhost kernel: hub.c: USB hub found
Aug 31 11:45:16 localhost kernel: hub.c: 4 ports detected
Aug 31 11:45:16 localhost kernel: hub.c: new USB device 00:02.0-2,
assigned address 2
Aug 31 11:45:16 localhost kernel: usb.c: USB device 2 (vend/prod
0x46d/0x870) is not claimed by any active driver.
Aug 31 11:45:40 localhost kernel: NETDEV WATCHDOG: eth0: transmit timed
out
Aug 31 11:45:40 localhost kernel: eth0: Setting 100mbps half-duplex based
on auto-negotiated partner ability ffff.
Aug 31 11:45:52 localhost kernel: NETDEV WATCHDOG: eth0: transmit timed
out
Aug 31 11:45:52 localhost kernel: eth0: Setting 100mbps half-duplex based
on auto-negotiated partner ability ffff.


At least the kernel says something is wrong! The last two messages keep repeating themselves over and over, but the one about half-duplex mode is nothing to bother about, I've always got that one (I guess it has something with either my NIC or the other end (?) )

Well, this post became rather lengthy, hope you people could help me out!
_________________
Physics is like sex: sure, it may give some practical results, but that's not why we do it.
--Richard Feynman
Back to top
View user's profile Send private message
jonas_nilsson
n00b
n00b


Joined: 21 Aug 2003
Posts: 57
Location: Stockholm, Switzerland

PostPosted: Sun Aug 31, 2003 5:01 pm    Post subject: PROBLEM SOLVED! Reply with quote

The problem is solved!

I simply changed to vanilla kernel 2.4.22! Don't ask me why, but now the ethernet card and the webcam can work together, which is kind crucial (w-e-b-cam). I remember reading that the 2.4.20 kernel didn't support the Presario 900 USB system, but apparantly the same holds for 2.4.21.
_________________
Physics is like sex: sure, it may give some practical results, but that's not why we do it.
--Richard Feynman
Back to top
View user's profile Send private message
Nermal
Apprentice
Apprentice


Joined: 18 Apr 2002
Posts: 259
Location: UK

PostPosted: Mon Sep 01, 2003 4:57 pm    Post subject: Reply with quote

You can bet your ass it was an IRQ issue.

Maybe the newer kernel just likes your chipset more and routes the IRQs correctly...
Back to top
View user's profile Send private message
jonas_nilsson
n00b
n00b


Joined: 21 Aug 2003
Posts: 57
Location: Stockholm, Switzerland

PostPosted: Mon Sep 01, 2003 7:11 pm    Post subject: Reply with quote

sounds reasonable, obviously the two drivers "collided"
but now I'm happy! :D
_________________
Physics is like sex: sure, it may give some practical results, but that's not why we do it.
--Richard Feynman
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum