Bug 12831

Summary: CD-rom cannot be mounted
Product: Base System Reporter: eilko.bos <eilko.bos>
Component: kernAssignee: Søren Schmidt <sos>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.2-STABLE   
Hardware: Any   
OS: Any   

Description eilko.bos 1999-07-27 10:30:01 UTC
yesterday I upgraded from 3.0 RELEASE to 3.2 STABLE. Now my CD-player is
recognized again. dmesg shows:


ahc0: <Adaptec 2940/DUAL Ultra SCSI adapter> rev 0x03 int a irq 11 on pci2.10.0
ahc0: aic7895 Wide Channel A, SCSI Id=7, 16/255 SCBs
ahc1: <Adaptec 2940/DUAL Ultra SCSI adapter> rev 0x03 int b irq 11 on pci2.10.1
ahc1: aic7895 Single Channel B, SCSI Id=7, 16/255 SCBs
<snip>
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (atapi): <CD-ROM CDU701/1.0f>, removable, accel, dma, iordis
acd0: drive speed 2412KB/sec, 128KB cache
acd0: supported read types: CD-R, CD-RW, CD-DA, packet track
acd0: Audio: play, 256 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: no/blank disc inside, unlocked
<snip>
changing root device to da0s1a
da0 at ahc0 bus 0 target 0 lun 0
da0: <QUANTUM VIKING II 4.5WLS 5520> Fixed Direct Access SCSI-2 device 
da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 4350MB (8910423 512 byte sectors: 255H 63S/T 554C)

Now, when I try to mount the CDROM:
(in /etc/fstab:
/dev/acd0a              /cdrom          cd9660  ro
)
# mount /cdrom

Th system almost hangs, a ctrl-c won't do. In the messages I see:
atapi0.0: controller not ready for cmd
atapi0:0: ERROR 2, status=0, error=0
atapi0.0: controller not ready for cmd
atapi0:0: ERROR 2, status=0, error=0
acd0: read_toc failed

How-To-Repeat: just try to mount the CDROM
Comment 1 Nick Hibma freebsd_committer freebsd_triage 1999-07-27 10:43:24 UTC
Responsible Changed
From-To: freebsd-bugs->sos

atapi is Soren's 
Comment 2 Søren Schmidt freebsd_committer freebsd_triage 2000-02-28 19:28:33 UTC
State Changed
From-To: open->closed

Fixed in 4.0.