USB-to-IDE problem

M. Warner Losh imp at bsdimp.com
Mon Mar 13 18:20:33 UTC 2006


In message: <4415B5D7.6080401 at webmail.sub.ru>
            Alex Povolotsky <tarkhil at webmail.sub.ru> writes:
: Hello!
: 
: I've bought NEC DVD/CD-RW drive and some cheap aluminium external USB 
: 2.0 case, put them together and prepared to be happy.
: 
: It wrote to disks without a problem, but next day it failed 5 times of 
: 5. I've connected it to annother FreeBSD box (server this time), and it 
: works.
: 
: On both computer, kernel issues warnings
: 
: Mar 13 21:01:26 tarkhil kernel: umass0: Unsupported ATAPI command 0x46
: 
: but it doesn't seem to have much value.
: 
: Kernel identifies the drive as
: 
: Mar 13 21:00:01 tarkhil kernel: umass0: Genesys Logic USB TO IDE, rev 
: 2.00/0.33, addr 2
: Mar 13 21:00:01 tarkhil root: Unknown device: uhub3
: Mar 13 21:00:01 tarkhil root: Attached: umass0
: Mar 13 21:00:04 tarkhil kernel: cd0 at umass-sim0 bus 0 target 0 lun 0
: Mar 13 21:00:04 tarkhil kernel: cd0: <_NEC CDRW/DVD CB1100B NS00> 
: Removable CD-ROM SCSI-0 device
: Mar 13 21:00:04 tarkhil kernel: cd0: 1.000MB/s transfers
: 
: However, on server identification is slightly different
: 
: Mar 13 20:40:57 tarkhil-test2 kernel: umass0: vendor 0x05e3 USB TO IDE, 
: rev 2.00/0.33, addr 2
: Mar 13 20:41:06 tarkhil-test2 kernel: cd0 at umass-sim0 bus 0 target 0 lun 0
: Mar 13 20:41:06 tarkhil-test2 kernel: cd0: <_NEC CDRW/DVD CB1100B NS00> 
: Removable CD-ROM SCSI-0 device
: Mar 13 20:41:06 tarkhil-test2 kernel: cd0: 40.000MB/s transfers
: 
: So, on notebook every attempt to write disk sooner or later results in
: Track 01:   35 of  331 MB written (fifo 100%) [buf  99%]  
: 10.2x.cdrecord: Input/output error. write_g1: scsi sendcmd: retryable error
: CDB:  2A 00 00 00 46 3C 00 00 1F 00
: status: 0x0 (GOOD STATUS)
: resid: 63488
: cmd finished after 0.041s timeout 40s
: 
: write track data: error after 36823040 bytes
: cdrecord: A write error occured.
: cdrecord: Please properly read the error message above.
: cdrecord: Input/output error. test unit ready: scsi sendcmd: retryable error
: CDB:  00 00 00 00 00 00
: status: 0x0 (GOOD STATUS)
: cmd finished after 45.003s timeout 40s
: cdrecord: Input/output error. flush cache: scsi sendcmd: retryable error
: CDB:  35 00 00 00 00 00 00 00 00 00
: status: 0x0 (GOOD STATUS)
: cmd finished after 250.003s timeout 120s
: Trouble flushing the cache
: 
: 
: usbdevs -v shows
: 
: Controller /dev/usb3:
: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), 
: NEC(0x0000), rev 1.00
:  port 1 powered
:  port 2 addr 2: high speed, self powered, config 1, USB TO IDE(0x0701), 
: Genesys Logic(0x05e3), rev 0.33
: 
: USB controller is cardbus
: 
: Mar 13 20:29:02 tarkhil kernel: ohci1: <NEC uPD 9210 USB controller> mem 
: 0x88001000-0x88001fff irq 11 at device 0.1 on cardbus1
: Mar 13 20:29:02 tarkhil kernel: ohci1: [GIANT-LOCKED]
: Mar 13 20:29:02 tarkhil kernel: usb2: OHCI version 1.0
: Mar 13 20:29:02 tarkhil kernel: usb2: <NEC uPD 9210 USB controller> on ohci1
: Mar 13 20:29:02 tarkhil kernel: usb2: USB revision 1.0
: Mar 13 20:29:02 tarkhil kernel: uhub2: NEC OHCI root hub, class 9/0, rev 
: 1.00/1.00, addr 1
: Mar 13 20:29:02 tarkhil kernel: uhub2: 2 ports with 2 removable, self 
: powered
: Mar 13 20:29:02 tarkhil kernel: cardbus1: Resource not specified in CIS: 
: id=10,
: size=100
: Mar 13 20:29:02 tarkhil kernel: ehci0: <NEC uPD 720100 USB 2.0 
: controller> mem 0x88002000-0x880020ff irq 11 at device 0.2 on cardbus1
: Mar 13 20:29:02 tarkhil kernel: ehci0: [GIANT-LOCKED]
: Mar 13 20:29:02 tarkhil kernel: ehci_pci_attach: companion usb1
: Mar 13 20:29:02 tarkhil kernel: ehci_pci_attach: companion usb2
: Mar 13 20:29:02 tarkhil kernel: usb3: EHCI version 1.0
: Mar 13 20:29:02 tarkhil kernel: usb3: companion controllers, 3 ports 
: each: usb1
: usb2
: Mar 13 20:29:02 tarkhil kernel: usb3: <NEC uPD 720100 USB 2.0 
: controller> on ehci0
: Mar 13 20:29:02 tarkhil kernel: usb3: USB revision 2.0
: Mar 13 20:29:02 tarkhil kernel: uhub3: NEC EHCI root hub, class 9/0, rev 
: 2.00/1.00, addr 1
: Mar 13 20:29:02 tarkhil kernel: uhub3: 5 ports with 5 removable, self 
: powered
: 
: Notebook is 5.3-RELEASE, server is 6.0-RELEASE. Maybe I should upgrade 
: noteook to 6.0?

6.1 will have a bunch of improvements in this area.

Warner


More information about the freebsd-mobile mailing list