Date: Tue, 24 Mar 2009 10:31:38 -0600 (MDT) From: "M. Warner Losh" <imp@bsdimp.com> To: meslists@yahoo.fr Cc: freebsd-usb@FreeBSD.org Subject: Re: external DVD Rewriter Message-ID: <20090324.103138.1359520009.imp@bsdimp.com> In-Reply-To: <49C90409.8020308@yahoo.fr> References: <49C7AFFE.4060001@yahoo.fr> <20090323.104641.-75255559.imp@bsdimp.com> <49C90409.8020308@yahoo.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <49C90409.8020308@yahoo.fr> dan <meslists@yahoo.fr> writes: : Hi, thank you for the answer ! : : So, If I am not wrong, you are suggesting to forget about this warning : and go on using the writer, right ? If it works, yes. Don't worry. Be happy! : Hmmm ... I would be at least interested in understanding the nature of : the problem, to be honest. And avoid that hundreds of these messages : fill in the screen sometimes hiding important error messages :-) The problem is with old Flash memory sticks. They wedge hard when certain commands are sent to them. The original filter was put in place to ensure a strict compliance to one of the scsi subsets that was used for the flash sticks. However, it caught more than just memory sticks in its net. so when the burning software sends the commands to query the state of the disk, set the burn speed, etc, you'll see these commands appear in the logs. : Any suggestion ? Did that help? Warner : Thank you, : : dan : : : M. Warner Losh wrote: : > In message: <49C7AFFE.4060001@yahoo.fr> : > dan <meslists@yahoo.fr> writes: : > : Hi ! : > : : > : I recently added an external LG dvd rewriter to a clean FreeBSD 7.1 : > : installation. : > : : > : ------- : > : umass0: <HLDS Inc SuperMulti RW, class 0/0, rev 2.00/1.59, addr 2> on uhub3 : > : cd0 at umass-sim0 bus 0 target 0 lun 0 : > : cd0: <HL-DT-ST DVDRAM GE20LU10 FE05> Removable CD-ROM SCSI-0 device : > : ------- : > : : > : As soon as I installed the xorg + gnome 2 ports these `odd` messages : > : started to continuously appear in ttyv0 : : > : : > : ------- : > : umass0: Unsupported ATAPI command 0x4a - trying anyway : > : umass0: Unsupported ATAPI command 0x4a - trying anyway : > : umass0: Unsupported ATAPI command 0x46 - trying anyway : > : umass0: Unsupported ATAPI command 0x4a - trying anyway : > : [....] : > : umass0: Unsupported ATAPI command 0x4a - trying anyway : > : [....] : > : ------- : > : : > : After investigating a bit, I suppose these messages are a kind of an : > : answer from the umass driver to HAL inquiries ( ... disabling HAL the : > : messages disappear). : > : : > : the doubts and questions are: ...is the command really an unsupported : > : command or is it a bug ? : > : : > : In case it is a bug, to whom should I fill in a PR ? : > : > Old usb printed this warning because of history. Originally it was an : > error because the thumb drives were stupid POS at the time and any : > command that they didn't understand would take an error path that hung : > the device. Bad kharma. In time, I got tired of adding each new : > command so that my dvd burner would work, so I just said "screw it, : > this is a warning now, and if somebody's drive fraks up, then so be : > it: they will know what's going on at least. Besides, people that try : > to burn a CD/DVD on their 256MB flash drive don't need that much : > protection: bad things happening to them isn't necessarily bad." : > : > Usb in 8.0 I think eliminated the warning. : > : > Warner : > : > : : :
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090324.103138.1359520009.imp>