Bug 26162

Summary: Trying to read a non-fixated CD-R causes a panic
Product: Base System Reporter: darkwalker <darkwalker>
Component: kernAssignee: Søren Schmidt <sos>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   

Description darkwalker 2001-03-28 04:20:01 UTC
Trying to mount a non-fixated CD-R panics the kernel. Such a CD can be made with 'burncd -f /dev/acd4c data file1' (note no 'fixate')

No crash dump and the info associated with it, the kernel hangs
when trying to reset the ATA controller

This panics the kernel trying to mount with both an ATAPI CD rewriter
drive and with an ATAPI CD-ROM drive.

The panic message had an Instruction pointer of 0x8:0xc012f27c

nm -a kernel.debug  | grep c012f
c012fee0 t acd_describe
c012fd68 t acd_init_lun
c012fe38 t acd_make_dev
c012f81c T acdattach
c012fb30 T acddetach
c012f52c t atapi_cmd2str
c012f1ac T atapi_dump
c012f1f8 t atapi_read
c012f77c t atapi_skey2str
c012f0c0 T atapi_test_ready
c012f3dc t atapi_timeout
c012f4e4 t atapi_type
c012f100 T atapi_wait_dsc
c012f2f0 t atapi_write

Fix: 

none known
How-To-Repeat: execute 'mount /dev/acd4c /cdrom' with a non-fixated CDR in the drive
Comment 1 Kris Kennaway freebsd_committer freebsd_triage 2001-03-28 12:23:59 UTC
Responsible Changed
From-To: freebsd-bugs->sos

sos is the relevant guru
Comment 2 Søren Schmidt freebsd_committer freebsd_triage 2001-04-02 20:23:01 UTC
State Changed
From-To: open->closed

The problem is known, the answer is (for now) dont mount an 
unfixed CD.