Bug 192993

Summary: CDROM on amd danube laptop does not work in 10 (9.2 works)
Product: Base System Reporter: Mathias.Picker
Component: kernAssignee: Bugmeister <bugmeister>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: Mathias.Picker
Priority: ---    
Version: 10.0-STABLE   
Hardware: amd64   
OS: Any   

Description Mathias.Picker 2014-08-25 16:23:41 UTC
Switching to 10-stable my cdrom no longer works. The Laptop is an Acer 5553g.

I tried with a 9.2 live enviroment, it's still working fine, ruling out a hardware problem.

in 10-stable I get this error continously:

ahcich1: Timeout on slot 0 port 0
ahcich1: is 00000002 cs 00000000 ss 00000000 rs 00000001 tfd 50 serr 00000000 cmd 00006017
(aprobe0:ahcich1:0:0:0): ATAPI_IDENTIFY. ACB: a1 00 00 00 00 40 00 00 00 00 00 00
(aprobe0:ahcich1:0:0:0): CAM status: Command timeout
(aprobe0:ahcich1:0:0:0): Error 5, Retries exhausted

in 9.2 I get this:

cd0 at ahcich1 bus 0 scbus1 target 0 lun 0
cd0: <HL-DT-ST DVDRAM GT31N 1.00> Removable CD-ROM SCSI-0 device 
cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed

and camcontrol shows the drive as:

pass1: <HL-DT-STDVDRAM GT31N 1.00> ATAPI-7 SATA 1.x device
pass1: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes)

protocol              ATA/ATAPI-7 SATA 1.x
device model          HL-DT-STDVDRAM GT31N
firmware revision     1.00
serial number         KY2A3G91934
cylinders             0
heads                 0
sectors/track         0
sector size           logical 512, physical 512, offset 0
LBA supported         
LBA48 not supported       
PIO supported         PIO4
DMA supported         WDMA2 UDMA5 

Feature                      Support  Enabled   Value           Vendor
read ahead                     no	no
write cache                    no	no
flush cache                    no	no
overlap                        no
Tagged Command Queuing (TCQ)   no	no
Native Command Queuing (NCQ)   no
SMART                          no	no
microcode download             no	no
security                       no	no
power management               no	no
advanced power management      no	no
automatic acoustic management  no	no
media status notification      no	no
power-up in Standby            no	no
write-read-verify              no	no
unload                         no	no
free-fall                      no	no
Data Set Management (DSM/TRIM) no
Host Protected Area (HPA)      no


I don't really need the cd, but this slows boot quite a lot and fills my log file with useless info, so I workaround would be great!

Thanks, Mathias
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2025-01-25 00:59:59 UTC
^Triage: I'm sorry that this PR did not get addressed in a timely fashion.

By now, the version that it was created against is long out of support.
Please re-open if it is still a problem on a supported version.