two network interfaces connected through USB HUB

Hi,

    I am trying to bringup two network interfaces connected through
USB hub on Beagel (running 2.6.29 kernel).
But only one works at a time. When i connect the other it crashes.
please let me know if anybody has already got this working.

kernel crash dump

I have three USB Ethernet dongles working on the EHCI interface. The dongles I’m using are all Davicom DM9601s…

I have three USB Ethernet dongles working on the EHCI interface. The dongles I'm using are all Davicom DM9601s...

Michael, i have many problems with just one Davicom DM9601s :S, the
connection is always droping, freezing the beagle :frowning: , can you please
describe your hardware/software ( distro version, kernel, usb hub,
power supply ???)

Thanks in advance

Nuno

Sure: I’m using an unpowered generic “non-brand” mini USB 2.0 hub on the EHCI port. The board is powered from the OTG port which is running as either a network or pendrive gadget… I can reliably (i.e. for days) use a single Davicom although my test with multiple Davicoms was only for about 5 minutes.

I tend to roll my own kernels (most of my recent stuff has been 2.6.29, but I’ll be moving to 2.6.31 shortly). I can run a soak test against the latest Angstrom (2.6.30?) if you like?

What do you get from dmesg…? If the board is hanging the you might want to make sure kernel output is going to the serial port so you can ensure you get the very last message before it hangs…

Some people have reported problems that sound like signal noise… its most noticeable with contention / high volume transfers causing the EHCI port to effectively die… so try putting a pendrive on your hub and running “while [ 1 ] ; do dd if=/dev/sdX of=/dev/null ; done” where sdX is the right device for the pendrive. If you have the same problem then your board should lock up or report usb problems within a minute or two. If that’s the case then you should RMA your board for a repair/replacement.

Michael, thank you very much for the quick reply, i think i found my
problem... it was the power supply, i was using an AT power supply,
but for some strange reason, it gives me transient USB errors :(, with
the beagle powered from the OTG port using a PC it works very well :slight_smile:

For linux distro im using the last image from
http://www.angstrom-distribution.org/demo/beagleboard/

I tend to roll my own kernels (most of my recent stuff has been 2.6.29, but I'll be moving to 2.6.31 shortly). I can run a soak test against the latest Angstrom (2.6.30?) if you like?

For my purposes the 2.6.29 its enough, but thanks for the offer =)

For anyone that is having headaches with USB instabilities using the
host port, check the power supply!!!! I have used this AT supply it
various ARM dev boards without any problem, i think that maybe the
beagleboard should have better power conditioning ( maybe bigger
inductors/capacitors ...) or...maybe i could upgrade my power
supply :D...

Micheal thanks :wink: