kern/155628: ahci disables dvd device

Oliver Herold oh at fixmbr.de
Thu Mar 17 14:00:22 UTC 2011


>Number:         155628
>Category:       kern
>Synopsis:       ahci disables dvd device
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 17 14:00:22 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Herold
>Release:        FreeBSD 8.2 stable
>Organization:
F!XMBR
>Environment:
FreeBSD moria 8.2-STABLE FreeBSD 8.2-STABLE #0: Sun Mar 13 20:38:22 CET 2011     acheron at moria:/usr/obj/usr/src/sys/MORIA  amd64

>Description:
If I load ahci then I'm not able anymore to use the dvd device in my Sony Vaio laptop. But if I leave a dvd medium in the drive while booting then I get /dev/cd0. If I don't leave a medium in the drive, I have to wait about 10 seconds to get some error:

ahcich1: Timeout on slot 0
ahcich1: is 00000000 cs 00000000 ss 00000000 rs 00000001 tfd 50 serr 00000000
run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config
ahcich1: Timeout on slot 0
ahcich1: is 00000000 cs 00000000 ss 00000000 rs 00000001 tfd 50 serr 00000000


Without achci I have to load smb and ichsmb to get /dev/acd0.

Maybe this is of some help: http://patchwork.ozlabs.org/patch/48596/

The Linux kernel had a similar problem, the drive was dead as long as I didn't leave a medium in the drive while booting.


dmesg: http://bsdpaste.bsdgroup.de/54343


device: <PIONEER DVD-RW  DVRTD08 1.00>     at scbus2 target 0 lun 0 (pass1,cd0)

pass1: <PIONEER DVD-RW DVRTD08 1.00> ATAPI-7 SATA 1.x device
pass1: 150.000MB/s transfers (SATA 1.x, UDMA2, ATAPI 12bytes, PIO 8192bytes)

protocol              ATA/ATAPI-7 SATA 1.x
device model          PIONEER DVD-RW DVRTD08
firmware revision     1.00
serial number         
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 UDMA2 

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               yes	yes
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 (TRIM)     no



>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list