From owner-freebsd-usb@FreeBSD.ORG Tue Mar 24 16:32:27 2009 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66FB01065CA2 for ; Tue, 24 Mar 2009 16:32:27 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 086CE8FC1C for ; Tue, 24 Mar 2009 16:32:26 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id n2OGV2uW094840; Tue, 24 Mar 2009 10:31:02 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 24 Mar 2009 10:31:38 -0600 (MDT) Message-Id: <20090324.103138.1359520009.imp@bsdimp.com> To: meslists@yahoo.fr From: "M. Warner Losh" In-Reply-To: <49C90409.8020308@yahoo.fr> References: <49C7AFFE.4060001@yahoo.fr> <20090323.104641.-75255559.imp@bsdimp.com> <49C90409.8020308@yahoo.fr> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-usb@FreeBSD.org Subject: Re: external DVD Rewriter X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2009 16:32:33 -0000 In message: <49C90409.8020308@yahoo.fr> dan 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 writes: : > : Hi ! : > : : > : I recently added an external LG dvd rewriter to a clean FreeBSD 7.1 : > : installation. : > : : > : ------- : > : umass0: on uhub3 : > : cd0 at umass-sim0 bus 0 target 0 lun 0 : > : cd0: 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 : > : > : : :