Date: Tue, 16 Jun 2020 23:35:33 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> To: freebsd-stable@freebsd.org Subject: Re: stucked on reading bad cd-rom Message-ID: <cbaed879-d6bd-6c4a-a373-0a7d2675e571@quip.cz> In-Reply-To: <1e174629-ed5a-7a34-a92a-a346d7991142@grosbein.net> References: <5e46995f-f6c3-c3c4-ff3f-6dc486e4ad9e@quip.cz> <1e174629-ed5a-7a34-a92a-a346d7991142@grosbein.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 15/06/2020 13:41, Eugene Grosbein wrote: > 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. It seems it helped. Thank you! Miroslav Lachman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cbaed879-d6bd-6c4a-a373-0a7d2675e571>