Re: USB misbehavior causes system hang

From: Oliver Neukum
Date: Tue Feb 27 2007 - 09:17:33 EST


Am Dienstag, 27. Februar 2007 15:06 schrieb Eric Buddington:

Exactly this portion of the log would hold the reason for the reset.

> usb 1-6.2: reset high speed USB device using ehci_hcd and address 36
> usb 1-6.2: device descriptor read/64, error -110
> usb 1-6.2: device descriptor read/64, error -110
[..]
> end_request: I/O error, dev sda, sector 919931828
> sd 1:0:0:0: rejecting I/O to offline device
> sd 1:0:0:0: rejecting I/O to offline device
> sd 1:0:0:0: rejecting I/O to offline device

By that point USB is no longer involved. These requests error out
in the SCSI layer.

> My softdog script loops 'date >/tmp/$logfile;echo 1 > /dev/watchdog; sleep
> 30'. Nothing in it accesses the USB disk. /tmp is tmpfs.

If you've written to the USB disk a lot, you are likely to cause writes
to it as soon as you are under memory pressure.

> Should the USB failure cause this problem?

No.

Regards
Oliver
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/