Date: Wed, 22 Sep 2010 15:45:50 -0400 From: Donald Allen <donaldcallen@gmail.com> To: Marcin Cieslak <saper@saper.info> Cc: freebsd-usb@freebsd.org Subject: Re: USB drives still don't work correctly Message-ID: <AANLkTi=XB3DzpbYPjmLFAQA1EMq-YYrJbz65t4%2Be9bsj@mail.gmail.com> In-Reply-To: <slrni9kkvq.esf.saper@saper.info> References: <AANLkTimkzMiGCvu256tUR3ZUrantNQjXGTcSCvxFX5eL@mail.gmail.com> <slrni9kkvq.esf.saper@saper.info>
index | next in thread | previous in thread | raw e-mail
On Wed, Sep 22, 2010 at 3:07 PM, Marcin Cieslak <saper@saper.info> wrote: >>> Donald Allen <donaldcallen@gmail.com> wrote: >> >> After the above, if I remove the USB connector and plug it back in, X >> freezes (the cursor moves with the mouse, but no response to clicks, >> or to keyboard gestures) until I remove the connector. > > Can you try this without running X (or just switch to the first text console > with Ctrl-Alt-F1) before you do the test. > > When you unplug, what happens? Do you get kernel panic or the system just freezes? I tried this on a freshly booted system, logged in, but did not start X, as you requested. When I plugged in the drive, after a little delay, I got the same "AutoSense failed" chatter. I then unplugged the drive and the system seemed happy -- no panic. I plugged the drive back in and tried to run 'dmesg', which hung. Wondering if I should have tried the dmesg before plugging the drive back in, I tried 'reboot', which also hung. Eventually some timeouts went off and the system tried to reboot, but hung while doing that. I had to power-cycle the machine to bring it back up. It had not properly umount-ed the file-systems, so fsck-ed them when restarted. I waited for that to complete and then repeated the experiment a little more carefully: - plugged in the drive, got the 'AutoSense failed'. I ran dmesg, which worked correctly. - unplugged the drive, ran dmesg, worked correctly. - plugged the drive back in, ran dmesg, which hung (something locked in the kernel?). I then unplugged the drive, which I hadn't done the first time, and dmesg completed. I was then able to reboot the system normally, no fsck-ing. /Don > > //Marcin > > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" >help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=XB3DzpbYPjmLFAQA1EMq-YYrJbz65t4%2Be9bsj>
