Date: Mon, 15 Jun 2020 18:41:12 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: Miroslav Lachman <000.fbsd@quip.cz>, freebsd-stable <freebsd-stable@freebsd.org> Subject: Re: stucked on reading bad cd-rom Message-ID: <1e174629-ed5a-7a34-a92a-a346d7991142@grosbein.net> In-Reply-To: <5e46995f-f6c3-c3c4-ff3f-6dc486e4ad9e@quip.cz> References: <5e46995f-f6c3-c3c4-ff3f-6dc486e4ad9e@quip.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
15.06.2020 18:10, Miroslav Lachman wrote: > I am running FreeBSD 11.3. Whenever I inserted some 20 year old CD (backups on CD-R) which is currently unreadable the system is trying to read the CD even after I want to eject it by button in the CD drive or "eject" command. > > These messages are repeatedly logged in messages > > Jun 15 13:05:28 illbsd kernel: (cd0:ahcich2:0:0:0): Error 6, Unretryable error > Jun 15 13:05:28 illbsd kernel: (cd0:ahcich2:0:0:0): cddone: got error 0x6 back > Jun 15 13:05:28 illbsd kernel: (cd0:ahcich2:0:0:0): READ(10). CDB: 28 00 00 00 00 00 00 00 11 00 > Jun 15 13:05:28 illbsd kernel: (cd0:ahcich2:0:0:0): CAM status: SCSI Status Error > Jun 15 13:05:28 illbsd kernel: (cd0:ahcich2:0:0:0): SCSI status: Check Condition > Jun 15 13:05:28 illbsd kernel: (cd0:ahcich2:0:0:0): SCSI sense: NOT READY asc:3a,2 (Medium not present - tray open) > > It can take from 1 to 5 minutes from pressing eject to actually open the drive. > > Is there something I can do to not wait too long for this? Any tuneables or command to interrupt endless reading? Perhaps it's GEOM doing multiple "taste" attempts to detetmine logical format of the media. Try setting "sysctl kern.geom.notaste=1" temporary.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1e174629-ed5a-7a34-a92a-a346d7991142>