Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Hotpluging usb thumb drive causes reboot
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
joel_k
n00b
n00b


Joined: 20 Jan 2008
Posts: 3
Location: Seattle

PostPosted: Sun Jan 20, 2008 7:12 am    Post subject: Hotpluging usb thumb drive causes reboot Reply with quote

I have been fighting with my usb thumb drive trying to get it to work reliably for me for a couple of weeks now. As things stand now when I plug the drive in, or even just brush the drive against the usb socket, the hard drive light comes on and stays on, and the machine reboots. I thought about this a bit and remembered that I had plugged the pins into the motherboard myself -- maybe I had gotten them wrong. Re-plugged them. Everything seemed correct. Read many posts and found that I was supposed to have hald running. rc-update showed it wasn't, so I added it to default. This solved the problem I thought, but now once again the thing has gone back to re-booting if I get the drive anywhere near it. If I plug the drive in before I boot gentoo, I can boot, mount it, copy files to and from, (I didn't risk uplugging it). I can plug and unplug an old webcam, (my only other usb device), without causing a reboot. Don't really know what I should try next to get it working the way it should. Here is the output of uname -a for kernel version, etc:

Linux veryfine 2.6.23-gentoo-r3 #2 SMP PREEMPT Sat Dec 22 23:36:46 PST 2007 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ AuthenticAMD GNU/Linux

I can provide the output of lsusb or lsmod if that will help. Don't have the drive in at the moment as I try to keep it well away from the machine as things stand.
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2593
Location: userland

PostPosted: Sun Jan 20, 2008 4:20 pm    Post subject: Re: Hotpluging usb thumb drive causes reboot Reply with quote

joel_k wrote:
As things stand now when I plug the drive in, or even just brush the drive against the usb socket, the hard drive light comes on and stays on, and the machine reboots.

This sounds more like an electricity problem to me. You mentioned you plugged the USB pins into the mainboard. Are you using a front panel of your pc case? Did you make sure it is properly connected with the case's earth? And does this also happen if you use the mainboard's backpanel USB ports?
Back to top
View user's profile Send private message
joel_k
n00b
n00b


Joined: 20 Jan 2008
Posts: 3
Location: Seattle

PostPosted: Sun Jan 20, 2008 6:43 pm    Post subject: Re: Hotpluging usb thumb drive causes reboot Reply with quote

Voltago wrote:

This sounds more like an electricity problem to me. You mentioned you plugged the USB pins into the mainboard. Are you using a front panel of your pc case? Did you make sure it is properly connected with the case's earth? And does this also happen if you use the mainboard's backpanel USB ports?


These are the front panel usb ports which I had to connect myself to a block of pins on the mainboard. I connected the two ground wires, (labeled on the wires), to pins 7 and 8 as the motherboard manual said. No indication of anything else I needed to ground. I should have already tried the back panel usb's but I sort of figured plugging and unplugging a different usb device would tell me if it were a simple electrical connection problem. Will shut everything down and then try the back panel and post again.
Back to top
View user's profile Send private message
joel_k
n00b
n00b


Joined: 20 Jan 2008
Posts: 3
Location: Seattle

PostPosted: Sun Jan 20, 2008 7:07 pm    Post subject: hotplugging usb thumbdrive causes reboot - [SOLVED] Reply with quote

Well, sure enough the back panel usb worked fine. I had thought it sounded more like a short, hardware kind of thing. I am matching the pin-outs in the motherboard handbook exactly, but there were a couple of questionable points. They seem to show a wire called key on pin 9, but there are only 8 wires in the front panel ribbon, and pin 9 is shown as NC in their digram. And there are wires labeled data- (1) and data+ (1) data- (2) data+ (2). I assume these would match USB+ and USB- pins, but the 1 and 2 are not indicated in the digram. This obviously isn't a gentoo problem, however, so I would consider it solved. Thanks for your help.
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2593
Location: userland

PostPosted: Sun Jan 20, 2008 7:27 pm    Post subject: Reply with quote

Well, if you can actually use the usb drive quite normally if you plug it before booting, I suspect that you connected to the right mobo pins. Again, check if the front panel is earthed correctly. There should be some kind of wire screwed to the computer case (if it is a metal case) or to your machine's earth.
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