usb/106648: USB Floppy on D1950 10 min Hang on Insert w/o Floppy Disk

2006-12-12 Thread Sam

Number: 106648
Category:   usb
Synopsis:   USB Floppy on D1950 10 min Hang on Insert w/o Floppy Disk
Confidential:   no
Severity:   serious
Priority:   medium
Responsible:freebsd-usb
State:  open
Quarter:
Keywords:   
Date-Required:
Class:  sw-bug
Submitter-Id:   current-users
Arrival-Date:   Tue Dec 12 22:00:22 GMT 2006
Closed-Date:
Last-Modified:
Originator: Sam
Release:RELENG_6 from 2006-11-18
Organization:
Lumeta Corporation
Environment:
FreeBSD dual-061211-125111 6.2-LUMETA FreeBSD 6.2-LUMETA #0: Tue Nov 21 
01:17:27 
UTC 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/LUMETA  i386
Description:
When a USB Floppy drive is plugged into a Dell D1950 with no disk in the drive, 
the system hangs during boot for 10 minutes or so until it times out.

If the drive is plugged into the system with no disk a similar timeout behavior 
is observable during which if you unplug the device a panic freezes the USB 
bus. The system must be restarted manually to recover.

Following are some relevant portions of the system log from a boot:

Dec 12 14:36:43 dual-061211-125111 kernel: da1 at umass-sim0 bus 0 target 0 lun 0
Dec 12 14:36:43 dual-061211-125111 kernel: da1: NEC USB UF000x 1.50 Removable 
Direct Access SCSI-0 device 
Dec 12 14:36:43 dual-061211-125111 kernel: da1: 1.000MB/s transfers
Dec 12 14:36:43 dual-061211-125111 kernel: da1: 1MB (2880 512 byte sectors: 64H 
32S/T 1C)
Dec 12 14:36:44 dual-061211-125111 kernel: umass0: Unsupported UFI command 0x35
Dec 12 14:36:44 dual-061211-125111 kernel: (da1:umass-sim0:0:0:0): Synchronize 
cache failed, status == 0x6, scsi status == 0x0
Dec 12 14:36:44 dual-061211-125111 kernel: umass0: Unsupported UFI command 0x35
Dec 12 14:36:44 dual-061211-125111 kernel: (da1:umass-sim0:0:0:0): Synchronize 
cache failed, status == 0x6, scsi status == 0x0
Dec 12 14:36:44 dual-061211-125111 kernel: umass0: Unsupported UFI command 0x35
Dec 12 14:36:44 dual-061211-125111 kernel: (da1:umass-sim0:0:0:0): Synchronize 
cache failed, status == 0x6, scsi status == 0x0
Dec 12 14:36:52 dual-061211-125111 kernel: umass0: Unsupported UFI command 0x35
Dec 12 14:36:52 dual-061211-125111 kernel: (da1:umass-sim0:0:0:0): Synchronize 
cache failed, status == 0x6, scsi status == 0x0
Dec 12 14:37:00 dual-061211-125111 kernel: umass0: at uhub4 port 1 (addr 3) 
disconnected
Dec 12 14:37:00 dual-061211-125111 kernel: (da1:umass-sim0:0:0:0): lost device
Dec 12 14:37:00 dual-061211-125111 kernel: (da1:umass-sim0:0:0:0): removing 
device entry
Dec 12 14:37:00 dual-061211-125111 kernel: umass0: detached
Dec 12 14:37:15 dual-061211-125111 kernel: umass0: NEC NEC USB UF000x, rev 
1.10/1.50, addr 3
Dec 12 14:37:16 dual-061211-125111 kernel: (probe0:umass-sim0:0:0:0): INQUIRY. 
CDB: 12 0 0 0 24 0 
Dec 12 14:37:16 dual-061211-125111 kernel: (probe0:umass-sim0:0:0:0): CAM 
Status: SCSI Status Error
Dec 12 14:37:16 dual-061211-125111 kernel: (probe0:umass-sim0:0:0:0): SCSI 
Status: Check Condition
Dec 12 14:37:16 dual-061211-125111 kernel: (probe0:umass-sim0:0:0:0): UNIT 
ATTENTION asc:29,0
Dec 12 14:37:16 dual-061211-125111 kernel: (probe0:umass-sim0:0:0:0): Power on, 
reset, or bus device reset occurred
Dec 12 14:37:16 dual-061211-125111 kernel: (probe0:umass-sim0:0:0:0): Retrying 
Command (per Sense Data)
Dec 12 14:38:07 dual-061211-125111 kernel: (da1:umass-sim0:0:0:0): got CAM 
status 0x4
Dec 12 14:38:07 dual-061211-125111 kernel: (da1:umass-sim0:0:0:0): fatal error, 
failed to attach to device
Dec 12 14:38:07 dual-061211-125111 kernel: (da1:umass-sim0:0:0:0): lost device
Dec 12 14:43:32 dual-061211-125111 kernel: (da1:umass-sim0:0:0:0): removing 
device entry
Dec 12 14:43:32 dual-061211-125111 kernel: Opened disk da1 - 5

How-To-Repeat:
On a Dell D1950 plug in a USB floppy with no disk in it and boot the system. It 
will hang when trying to read it.

Alternately, plug the floppy with no disk in it and then remove it. The USB bus 
becomes unusable.
Fix:

Release-Note:
Audit-Trail:
Unformatted:
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb/106565: [PATCH] ums(4) does not work if the mouse defaults to boot protocol

2006-12-12 Thread Markus Brueffer
Synopsis: [PATCH] ums(4) does not work if the mouse defaults to boot protocol

Responsible-Changed-From-To: freebsd-usb-markus
Responsible-Changed-By: markus
Responsible-Changed-When: Wed Dec 13 02:34:00 UTC 2006
Responsible-Changed-Why: 
Good catch, I'll handle it.

http://www.freebsd.org/cgi/query-pr.cgi?pr=106565
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to [EMAIL PROTECTED]