Date: Wed, 15 Sep 2004 10:06:29 -0500 From: <Muthu_T@Dell.com> To: <freebsd-ia64@freebsd.org> Subject: 5.3-Beta4 - USB floppy/CDROM drive issues Message-ID: <71F713C5E3CB7F4F9ACCBBB8E9BE318A0E6931@blrx2kmbgl101.blr.amer.dell.com>
next in thread | raw e-mail | index | archive | help
Hi, I had attached the USB floppy drive while booting with media on it. Output taken from 'dmesg' <boot-snip> da0 at umass-sim0 bus 0 target 0 lun 0 da0: <TEAC FD-05PUB 1026> Removable Direct Access SCSI-0 device=20 da0: 1.000MB/s transfers da0: 1MB (2880 512 byte sectors: 64H 32S/T 1C) umass0: Unsupported UFI command 0x35 (da0:umass-sim0:0:0:0): Synchronize cache failed, status =3D=3D 0x6, = scsi status =3D=3D 0x0 umass0: Unsupported UFI command 0x35 (da0:umass-sim0:0:0:0): Synchronize cache failed, status =3D=3D 0x6, = scsi status =3D=3D 0x0 umass0: Unsupported UFI command 0x35 (da0:umass-sim0:0:0:0): Synchronize cache failed, status =3D=3D 0x6, = scsi status =3D=3D 0x0 umass0: Unsupported UFI command 0x35 (da0:umass-sim0:0:0:0): Synchronize cache failed, status =3D=3D 0x6, = scsi status =3D=3D 0x0 umass0: Unsupported UFI command 0x35 (da0:umass-sim0:0:0:0): Synchronize cache failed, status =3D=3D 0x6, = scsi status =3D=3D 0x0 umass0: Unsupported UFI command 0x35 (da0:umass-sim0:0:0:0): Synchronize cache failed, status =3D=3D 0x6, = scsi status =3D=3D 0x0 umass0: Unsupported UFI command 0x35 (da0:umass-sim0:0:0:0): Synchronize cache failed, status =3D=3D 0x6, = scsi status =3D=3D 0x0 umass0: Unsupported UFI command 0x35 (da0:umass-sim0:0:0:0): Synchronize cache failed, status =3D=3D 0x6, = scsi status =3D=3D 0x0 umass0: Unsupported UFI command 0x35 (da0:umass-sim0:0:0:0): Synchronize cache failed, status =3D=3D 0x6, = scsi status =3D=3D 0x0 Mounting root from ufs:/dev/amrd0s1a WARNING: / was not properly dismounted WARNING: /tmp was not properly dismounted WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted </boot-snip> While disconnecting the USB Floppy drive... <snip> umass0: at uhub0 port 3 (addr 2) disconnected (da0:umass-sim0:0:0:0): lost device (da0:umass-sim0:0:0:0): removing device entry umass0: detached umass0: TEAC TEAC FD-05PUB, rev 1.00/0.00, addr 2 </snip> While Reattaching the USB Floppy drive... <snip> da0 at umass-sim0 bus 0 target 0 lun 0 da0: <TEAC FD-05PUB 1026> Removable Direct Access SCSI-0 device=20 da0: 1.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0=20 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error Opened disk da0 -> 6 (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0=20 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error Opened disk da0 -> 6 (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0=20 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error Opened disk da0 -> 6 umass0: at uhub0 port 3 (addr 2) disconnected (da0:umass-sim0:0:0:0): lost device (da0:umass-sim0:0:0:0): removing device entry umass0: detached [Remove & Reattach the USB Floppy drive] da0 at umass-sim0 bus 0 target 0 lun 0 da0: <TEAC FD-05PUB 1026> Removable Direct Access SCSI-0 device=20 da0: 1.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0=20 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error Opened disk da0 -> 6 (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0=20 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error Opened disk da0 -> 6 (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0=20 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error [Issue the 'mount /dev/da0 /mnt' command] Opened disk da0 -> 6 (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0=20 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 (da0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 38 0 0 8 0=20 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): ABORTED COMMAND asc:4e,0 (da0:umass-sim0:0:0:0): Overlapped commands attempted (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 0 0 0 0 40 0 0 1 0=20 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): ABORTED COMMAND asc:4e,0 (da0:umass-sim0:0:0:0): Overlapped commands attempted (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) [Mount is success, I can list files using 'ls'. Trying to umount Floppy drive, but its failing] fsync: giving up on dirty: 0xc208c108: tag devfs, type VCHR, usecount 2, writecount 0, refcount 4, flags (VV_OBJBUF), lock type devfs: EXCL (count 1) by thread 0xc1b8f320 (pid 538) dev da0 umass0: at uhub0 port 3 (addr 2) disconnected (da0:umass-sim0:0:0:0): lost device umass0: detached umass0: TEAC TEAC FD-05PUB, rev 1.00/0.00, addr 2 da1 at umass-sim0 bus 0 target 0 lun 0 da1: <TEAC FD-05PUB 1026> Removable Direct Access SCSI-0 device=20 da1: 1.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0=20 (da1:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:0): SCSI Status: Check Condition (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present (da1:umass-sim0:0:0:0): Unretryable error Opened disk da1 -> 6 (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0=20 (da1:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:0): SCSI Status: Check Condition (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present (da1:umass-sim0:0:0:0): Unretryable error Opened disk da1 -> 6 (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0=20 (da1:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:0): SCSI Status: Check Condition (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present (da1:umass-sim0:0:0:0): Unretryable error Opened disk da1 -> 6 [trying 2 times umount, its failing] fsync: giving up on dirty: 0xc208c108: tag devfs, type VCHR, usecount 4, writecount 0, refcount 4, flags (VV_OBJBUF), lock type devfs: EXCL (count 1) by thread 0xc1d98af0 (pid 546) dev da0 fsync: giving up on dirty: 0xc208c108: tag devfs, type VCHR, usecount 4, writecount 0, refcount 4, flags (VV_OBJBUF), lock type devfs: EXCL (count 1) by thread 0xc1d69190 (pid 548) dev da0 </snip> If I use USB CDROM, just plug & unplug, it will get trap, and reboots after some time. If you want any inputs, please let me know. Thanks. --T. Muthu Mohan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?71F713C5E3CB7F4F9ACCBBB8E9BE318A0E6931>