From nobody@FreeBSD.ORG Tue Jul 27 02:22:56 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 0212215052; Tue, 27 Jul 1999 02:22:55 -0700 (PDT)
Message-Id: <19990727092255.0212215052@hub.freebsd.org>
Date: Tue, 27 Jul 1999 02:22:55 -0700 (PDT)
From: eilko.bos@nl.origin-it.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: CD-rom cannot be mounted
X-Send-Pr-Version: www-1.0

>Number:         12831
>Category:       kern
>Synopsis:       CD-rom cannot be mounted
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    sos
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 27 02:30:01 PDT 1999
>Closed-Date:    Mon Feb 28 11:28:33 PST 2000
>Last-Modified:  Mon Feb 28 11:29:23 PST 2000
>Originator:     Eilko Bos
>Release:        FreeBSD 3.2-STABLE
>Organization:
>Environment:
FreeBSD linda.mpn.cp.philips.com 3.2-STABLE FreeBSD 3.2-STABLE #1: Mon Jul 26 15:22:28 CEST 1999     tafkam@linda.mpn.cp.philips.com:/usr/src/sys/compile/LINDA  i386

>Description:
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
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->sos 
Responsible-Changed-By: n_hibma 
Responsible-Changed-When: Tue Jul 27 02:43:24 PDT 1999 
Responsible-Changed-Why:  
atapi is Soren's 
State-Changed-From-To: open->closed 
State-Changed-By: sos 
State-Changed-When: Mon Feb 28 11:28:33 PST 2000 
State-Changed-Why:  
Fixed in 4.0. 
>Unformatted:
