stucked on reading bad cd-rom
Eugene Grosbein
eugen at grosbein.net
Mon Jun 15 11:41:42 UTC 2020
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.
More information about the freebsd-stable
mailing list