Date: Wed, 15 Mar 2006 11:33:34 +0300 From: Alex Povolotsky <tarkhil@webmail.sub.ru> To: imp@bsdimp.com Cc: freebsd-usb@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: USB-to-IDE problem Message-ID: <4417D15E.4080703@webmail.sub.ru> In-Reply-To: <20060313.111929.29516162.imp@bsdimp.com> References: <4415B5D7.6080401@webmail.sub.ru> <20060313.111929.29516162.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
M. Warner Losh wrote: > In message: <4415B5D7.6080401@webmail.sub.ru> > Alex Povolotsky <tarkhil@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. > In 6.1 PRERELEASE (yesterday cvsup) the problem on my notebook is the same. Transfer rate shown as 40 MB/s, but it still doesn't work with the same symptoms. Alex.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4417D15E.4080703>