[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-current
Subject:    Re: USB CD Eject Failures
From:       Hans Petter Selasky <hps () selasky ! org>
Date:       2022-02-17 9:11:34
Message-ID: 665582e5-46f3-b2da-9764-59c4c52cdbd3 () selasky ! org
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic