I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods
Amazon Honor System Click Here to Pay Learn More
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / Other I-Appliances / MSN Companion
USB Power Issues?
Hm...

New MessageUSB Power Issues? (modified 0 times) DGMage
Profile | Email
And now, the continuation of our ongoing "IA-1 Firewall" story....

Ok, kernel is happy, boots fine, bring up NAT great, life is good. Except for the fact that I think I'm overloading the USB hub.

I've got 2 LinkSys USB100TX adapters plugged in, plus the mouse, boot and everything works fine. I start transfering a large file to a machine inside the NAT domain, and about 6-8 megs into it, going at 100-150kbps (just pulling the 2.4.18 kernel right now), the transfer stalls, and I lose all network connectivity. On the IA-1, the USB hub seems to go dead. No mouse, no ethernet adapters, no nothing. I reboot, it works fine, try the test again, same issue. Tried without the mouse, no luck.

Could it be that 2 network adapters is too much for the IA-1?

Kyle

03-01-2002 02:21:10

New MessageRE:USB Power Issues? (modified 0 times) klunk
Profile
Probably not a power problem. I am running 4 USB devices (mouse, keyboard, NIC, USB CDROM)and a laptop hard drive and an AMD K6-2+ CPU at 400 MHz from my IA-1 with no problems. The USB power simply comes from the standard 5V rail, and this rail seems to be relatively beefy on the IA-1.

klunk

03-01-2002 08:26:31

New MessageRE:USB Power Issues? (modified 0 times) DGMage
Profile | Email
Hrm, could it possibly be ACPI causing it then?

Kyle

03-01-2002 10:06:17

New MessageRE:USB Power Issues? (modified 0 times) wildwildwes
Profile
What chipset do the usb adapters use? A couple people have told me that the kaweth driver is buggy and should be avoided.
03-01-2002 11:30:57

New MessageRE:USB Power Issues? (modified 0 times) wildwildwes
Profile
Nevermind, you said it was a usb100tx and I don't think the kawasaki adapters can do 100 megabits. However, Bob Dougherty indicated that just having the driver loaded could mess things up. I don't know if that's your problem though.
03-01-2002 11:42:44

New MessageRE:USB Power Issues? (modified 0 times) DGMage
Profile | Email
I checked through the config file of the kernel I made, I accidently selected OCPI as well as UCPI for the USB hub, which causes conflicting drivers to be loaded. Once I get a new dev environment setup, I'll recompile and post if that's the problem, there's a good chance that's what's causing it, because this is the type of problem that happens when you set two network cards to the same address in Linux..
Kyle
03-01-2002 14:19:33

New MessageRE:USB Power Issues? (modified 0 times) DGMage
Profile | Email
Ok, well, just spent 3 more hours trying to debug this, no luck. I simply cannot figure out why using 2 network adapters would completely turn off the USB hub.

I give up.

If someone else wants to try it, I'll put up my kernel and config files on ia1hacking.com.

03-01-2002 19:35:56

New MessageRE:USB Power Issues? (modified 0 times) DGMage
Profile | Email
Nothing like finding out a project isn't physically possible.

Ok, did a little research. USB 1.0 is only capable of 12mbit bandwidth, shared. Needless to say, with two 100mbit adapters, I was overrunning that by just a little bit. So, though the project would theoretically be possible with 10mbit adapters, it's just not worth it. Apperently USB 2.0 is supposed to work up to 200mbit, but that doesn't do me much good on the IA-1.

Ah well, at least I can say I tried, and now I know a LOT about the midori build system. :)

Kyle

03-01-2002 19:51:08

New Message10Mbit (modified 0 times) RatBastard
Profile
Can't you force the NICs into 10Mbit mode?

It doesn't seem like the NICs would pull more packets than they, er, than they could.

You should be able to get them both to be like 2Mbit, which should be sufficient for a firewall.

Try plugging them into a device that is set to be 10Mbit, and then maybe they'll auto-negotiate down or something.

Sorry, man. That's a bummer.

03-02-2002 01:34:49

New MessageRE:USB Power Issues? (modified 0 times) DGMage
Profile | Email
Yeah, I was thinking about trying rate limiting with iptables, but this is just really getting to be a silly project anyways. Everything I'd have to strip out of the kernel to make the damn thing anywhere near secure would make the IA-1 unusable for anything else, and a friend is giving me their old 486 to use as a floppywall. I might play with the project some still, but I'm not making it an nessescity like it has been (I had my network out of commision for most of this week thinking I'd get this working).

Kyle

03-02-2002 02:20:39

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3