usb/74211: [umass] USB flash drive causes CAM status 0x4 on
4.10Release
virgem
virgem at g.com.ua
Tue Jul 10 15:15:42 UTC 2007
Hello!
Now I tray using the same USB Flash Drive on FreeBSD 6.2 Release #0
(i386),
but on another hardware.
And I have got a following massage:
vendor 0x04e8 USB DRIVE, rev 1.10/0.50, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: < USB DRIVE 1.13> Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 123MB (252928 512 byte sectors: 64H 32S/T 123C)
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
dmesg showed this (comletely of USB):
.
.
.
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 5 at device 7.2
on pci0
uhci0: [GIANT-LOCKED]
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 5 at device 7.3
on pci0
uhci1: [GIANT-LOCKED]
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
.
.
.
umass0: vendor 0x04e8 USB DRIVE, rev 1.10/0.50, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: < USB DRIVE 1.13> Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 123MB (252928 512 byte sectors: 64H 32S/T 123C)
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: at uhub1 port 2 (addr 2) disconnected
(da0:umass-sim0:0:0:0): lost device
(da0:umass-sim0:0:0:0): removing device entry
umass0: detached
umass0: vendor 0x04e8 USB DRIVE, rev 1.10/0.50, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: < USB DRIVE 1.13> Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 123MB (252928 512 byte sectors: 64H 32S/T 123C)
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: at uhub0 port 1 (addr 2) disconnected
(da0:umass-sim0:0:0:0): lost device
(da0:umass-sim0:0:0:0): removing device entry
umass0: detached
umass0: vendor 0x04e8 USB DRIVE, rev 1.10/0.50, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: < USB DRIVE 1.13> Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 123MB (252928 512 byte sectors: 64H 32S/T 123C)
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
# usbdevs -d -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
VIA(0x0000), rev 1.00
uhub0
port 1 addr 2: full speed, power 500 mA, config 1, USB DRIVE(0x0110),
vendor 0x04e8(0x04e8), rev 0.50
umass0
port 2 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
VIA(0x0000), rev 1.00
uhub1
port 1 powered
port 2 powered
# mount -t msdos /dev/da0s1 /mnt
# umount /mnt
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
When it mounting on, I can read and write files on this USB Fash disck.
I have GENERIC (i386) kernel installed on.
If I tray using this USB Flash Drive on another hardware with FreeBSD 6.2
Release #0 (amd64),
I have got a following massages:
umass0: vendor 0x04e8 USB DRIVE, rev 2.00/0.50, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: < USB DRIVE 1.13> Removable Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 123MB (252928 512 byte sectors: 64H 32S/T 123C)
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
dmesg showed this (comletely of USB):
.
.
.
ohci0: <OHCI (generic) USB controller> mem 0xfe02f000-0xfe02ffff irq 21
at device 11.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 8 ports with 8 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfe02e000-0xfe02e0ff irq
22 at device 11.1 on pci0
ehci0: [GIANT-LOCKED]
usb1: EHCI version 1.0
usb1: companion controller, 8 ports each: usb0
usb1: <EHCI (generic) USB 2.0 controller> on ehci0
usb1: USB revision 2.0
uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 8 ports with 8 removable, self powered
.
.
.
umass0: vendor 0x04e8 USB DRIVE, rev 2.00/0.50, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: < USB DRIVE 1.13> Removable Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 123MB (252928 512 byte sectors: 64H 32S/T 123C)
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
# usbdevs -d -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000),
nVidia(0x0000), rev 1.00
uhub0
port 1 powered
port 2 powered
port 3 addr 2: full speed, self powered, config 1, Lexmark Z600
Series(0x0078), Lexmark(0x043d), rev 1.00
ulpt0
port 4 powered
port 5 powered
port 6 powered
port 7 powered
port 8 powered
Controller /dev/usb1:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000),
nVidia(0x0000), rev 1.00
uhub1
port 1 powered
port 2 powered
port 3 powered
port 4 powered
port 5 powered
port 6 addr 2: high speed, power 500 mA, config 1, USB DRIVE(0x0110),
vendor 0x04e8(0x04e8), rev 0.50
umass0
port 7 powered
port 8 powered
# mount -t msdos /dev/da0s1 /mnt
# umount /mnt
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
When it mounting on, I can read and write files on this USB Fash disck,
to.
I have GENERIC (amd64) kernel installed on, to.
However, I have got another USB Flash Disck stick, and it working without
any errors on my hardware and software.
When I plug this one in, I have got this messages for i386:
umass0: vendor 0x1005 USB FLASH DRIVE, rev 2.00/1.00, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: < USB FLASH DRIVE 34CD> Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 980MB (2007040 512 byte sectors: 64H 32S/T 980C)
# usbdevs -d -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
VIA(0x0000), rev 1.00
uhub0
port 1 addr 2: full speed, power 200 mA, config 1, USB FLASH
DRIVE(0xb113), vendor 0x1005(0x1005), rev 1.00
umass0
port 2 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
VIA(0x0000), rev 1.00
uhub1
port 1 powered
port 2 powered
# mount -t msdos /dev/da0s1 /mnt
# umount /mnt
And for amd64 this ones:
umass0: vendor 0x1005 USB FLASH DRIVE, rev 2.00/1.00, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: < USB FLASH DRIVE 34CD> Removable Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 980MB (2007040 512 byte sectors: 64H 32S/T 980C)
# usbdevs -d -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000),
nVidia(0x0000), rev 1.00
uhub0
port 1 powered
port 2 powered
port 3 addr 2: full speed, self powered, config 1, Lexmark Z600
Series(0x0078), Lexmark(0x043d), rev 1.00
ulpt0
port 4 powered
port 5 powered
port 6 powered
port 7 powered
port 8 powered
Controller /dev/usb1:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000),
nVidia(0x0000), rev 1.00
uhub1
port 1 powered
port 2 powered
port 3 powered
port 4 powered
port 5 powered
port 6 addr 2: high speed, power 200 mA, config 1, USB FLASH
DRIVE(0xb113), vendor 0x1005(0x1005), rev 1.00
umass0
port 7 powered
port 8 powered
# mount -t msdos /dev/da0s1 /mnt
# umount /mnt
So, my USB Flash Drive disck (that was truobled on FreeBSD 4.10 Release
#3 (i386)) going working
(with some error messages) on FreeBSD 6.2 Release #0 (i386) as well as on
FreeBSD 6.2 Release #0 (amd64) to.
I hope this information will hepl to fix same problems with USB devices.
Best regards!
Alexei Tlokachev. Ukraine. 10.07.07
More information about the freebsd-usb
mailing list