Hangup on USB mass device

Roland Smith rsmith at xs4all.nl
Tue Apr 22 16:52:38 UTC 2008


On Tue, Apr 22, 2008 at 03:42:47PM +0000, Sébastien Morand wrote:
> Hi,
> 
> thanks for the answer, I'm sorry for the little information I send.

In the future, please don't reply on top, but on the bottom of the original.
 
> FreeBSD 7.0-STABLE kernel GENERIC on i386.
> I don't see anything in the message, but I'm not sure where to look at
> for crashdump.

The default location is /var/crash. Look for files named vmcore.N, where
N is a number.

What kind of USB chip do you have on the motherboard? Try 'dmesg | grep
^usb' and post the output.
 
> My computer is either hanging up for ever, I can't move mouse or use
> keyboard anymore, juste reset, or hang up a few seconds and reboot by
> it self.

It could be a hardware problem, or a bug.

Does anything appear in the dmesg output when you try to plug in a USB
device? look in /var/log/messages, at the correct time.
E.g, the following appears when I plug in a USB flash drive;

Apr 22 18:24:45 slackbox kernel: umass0: <vendor 0x3538 USB Mass Storage Device, class 0/0, rev 2.00/1.00, addr 2> on uhub4
Apr 22 18:24:45 slackbox kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Apr 22 18:24:45 slackbox kernel: da0: <Generic USB Flash Disk 0.00> Removable Direct Access SCSI-2 device 
Apr 22 18:24:45 slackbox kernel: da0: 40.000MB/s transfers
Apr 22 18:24:45 slackbox kernel: da0: 250MB (512000 512 byte sectors: 64H 32S/T 250C)

Seeing which of these lines appear or not makes it easier to track down
the bug.

Try to read the crashdump with the kernel debugger, as described in
§10.2 of the FreeBSD Developers' Handbook. Obtain a so-called
backtrace. (using the 'bt' command in the debugger).

Post your question and the information that you've gathered to the
-stable mailing list. There are more people there who are familiar with
the kernel internals.

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080422/e50c3b2f/attachment.pgp


More information about the freebsd-questions mailing list