stucked on reading bad cd-rom

Miroslav Lachman 000.fbsd at quip.cz
Mon Jun 15 11:10:58 UTC 2020


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?

Kind regards
Miroslav Lachman


More information about the freebsd-stable mailing list