[Bug 1827] New: USB storage-related system hand on AMD64

From: Martin J. Bligh
Date: Sat Jan 10 2004 - 11:06:43 EST


http://bugme.osdl.org/show_bug.cgi?id=1827

Summary: USB storage-related system hand on AMD64
Kernel Version: 2.6.1
Status: NEW
Severity: high
Owner: ak@xxxxxxx
Submitter: rjwysocki@xxxxxxx


Distribution: SuSE 9.0 64-bit (x86_64)
Hardware Environment: 2 x AMD Opteron 240, Tyan Thunder K8W, 1 GB RAM (4 x 256, two
nodes, dual-channel), Adaptec AHA19160 + SCSI CD-RW (Toshiba), LSI 53C1010 64-bit SCSI
+ 2 x HDD (IBM), NEC-based USB 2.0 adapter (Manhattan), GeForce FX5200 (LeadTek),
SATA HDD (Seagate), IDE DVD (Liteon)
Software Environment: Out-of-the box SuSE 9.0 (downloadable version) + Linux 2.6.1
Problem Description: The system hangs solid after a USB storage device has been
disconnected

Hint1: This occurs on 2.6.1-rc2-bk1 and 2.6.1-rc3 as well. I'm almost sure it occurs on
2.6.1-rc1, but I had no time to confirm it

Hint2: The NEC-based USB 2.0 is involved, which is on a PCI connected to the bus via the
AMD-8111 chip, so it may be a PCI bug

Hint3: Here's a snippet from the kernel log:

Jan 9 23:52:50 chimera kernel: hub 4-0:1.0: new USB device on port 3, assigned address 2
Jan 9 23:52:56 chimera kernel: Initializing USB Mass Storage driver...
Jan 9 23:52:56 chimera kernel: scsi2 : SCSI emulation for USB Mass Storage devices
Jan 9 23:52:56 chimera kernel: Vendor: Model: TS256MJFLASHA Rev: 1.00
Jan 9 23:52:56 chimera kernel: Type: Direct-Access ANSI SCSI revision: 02
Jan 9 23:52:56 chimera kernel: SCSI device sdc: 506400 512-byte hdwr sectors (259 MB)
Jan 9 23:52:56 chimera kernel: sdc: assuming Write Enabled
Jan 9 23:52:56 chimera kernel: sdc: assuming drive cache: write through
Jan 9 23:52:57 chimera kernel: sdc: sdc1
Jan 9 23:52:57 chimera kernel: Attached scsi removable disk sdc at scsi2, channel 0, id 0,
lun 0
Jan 9 23:52:57 chimera kernel: Attached scsi generic sg3 at scsi2, channel 0, id 0, lun 0,
type 0
Jan 9 23:52:57 chimera kernel: WARNING: USB Mass Storage data integrity not assured
Jan 9 23:52:57 chimera kernel: USB Mass Storage device found at 2
Jan 9 23:52:57 chimera kernel: drivers/usb/core/usb.c: registered new driver usb-storage
Jan 9 23:52:57 chimera kernel: USB Mass Storage support registered.
Jan 9 23:52:57 chimera kernel: Device not ready. Make sure there is a disc in the drive.
Jan 9 23:53:55 chimera kernel: usb 4-3: USB disconnect, address 2
Jan 9 23:54:01 chimera kernel: Unable to handle kernel NULL pointer dereference at
0000000000000008 RIP:
Jan 9 23:54:01 chimera kernel: <ffffffff801848dd>{chrdev_open+285}PML4 39400067 PGD
392bc067 PMD 0

The hang occurs now.

Note: It was confirmed only with the help of a USB pendrive. I've not tried any other USB
devices yet.

Steps to reproduce: Put a USB pendrive into a USB port, wait 10 seconds and pull it out.


-
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/