Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Feb 2022 10:11:34 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        Sean Bruno <sbruno@freebsd.org>, freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: USB CD Eject Failures
Message-ID:  <665582e5-46f3-b2da-9764-59c4c52cdbd3@selasky.org>
In-Reply-To: <c96920b7-d674-ea66-d85c-181ac992cb4e@freebsd.org>
References:  <c96920b7-d674-ea66-d85c-181ac992cb4e@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2/17/22 03:31, Sean Bruno wrote:
> Been playing around with sysutils/eject to automate some media backup 
> stuff.
> 
> I note that "after a number of ejects" the USB 2 CD drive will cease 
> responding.  I don't think its a race to failure, it acts like resource 
> starvation/leak.  Seems fairly reproducible, if someone gets to it 
> before I do, let me know.
> 
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261961
> 
> I suspect that something has changed in the 12 years since 
> sysutils/eject was last looked at and the CDIOCEJECT case in 
> sys/cam/scsi_cd.c probably needs an eyeball.
> 
> The close tray command also seems nonfunctional, which probably means 
> that a data structure has changed or something else that I haven't 
> started at in quite some time.
> 
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261936
> 

Hi,

You can trace all USB SCSI commands with "usbdump".

--HPS




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?665582e5-46f3-b2da-9764-59c4c52cdbd3>