amd64/144151: Can not burn CD/DVD with AHCI enabled

vermaden vermaden at interia.pl
Sun Feb 21 00:00:14 UTC 2010


>Number:         144151
>Category:       amd64
>Synopsis:       Can not burn CD/DVD with AHCI enabled
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 21 00:00:14 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     vermaden
>Release:        8.0-RELEASE-p2
>Organization:
>Environment:
FreeBSD savio 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan  5 21:11:58 UTC 2010     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
I am not able to burn CD/DVD cause DVD writer behaves like it was almost not present.

# cdrecord -scanbus
Cdrecord-Clone 2.01 (amd64-unknown-freebsd8.0)
Using libscg version 'schily-0.8'.
scsibus0:
        0,0,0     0) '' '' '' NON CCS Disk
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
scsibus1:
        1,0,0   100) '' '' '' NON CCS Disk
        1,1,0   101) *
        1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *
scsibus2:
        2,0,0   200) '' '' '' NON CCS Disk
        2,1,0   201) *
        2,2,0   202) *
        2,3,0   203) *
        2,4,0   204) *
        2,5,0   205) *
        2,6,0   206) *
        2,7,0   207) *
scsibus4:
        4,0,0   400) '' '' '' NON CCS Disk (DVD writer should be here, sometime even shows up, after reboot)
        4,1,0   401) *
        4,2,0   402) *
        4,3,0   403) *
        4,4,0   404) *
        4,5,0   405) *
        4,6,0   406) *
        4,7,0   407) *

# cdrecord blank=fast dev=4,0,0
Cdrecord-Clone 2.01 (amd64-unknown-freebsd8.0)
scsibus: 4 target: 0 lun: 0
Using libscg version 'schily-0.8'.
cdrecord: Cannot do inquiry for CD/DVD-Recorder.
cdrecord: Input/output error. test unit ready: scsi sendcmd: cmd timeout after 40.010 (40) s
CDB:  00 00 00 00 00 00
cmd finished after 40.010s timeout 40s

# dmesg|grep cd          
cd0 at ahcich4 bus 0 target 0 lun 0
cd0: <HL-DT-ST DVDRAM GSA-H60N CV02> Removable CD-ROM SCSI-0 device 
cd0: 150.000MB/s transfers
cd0: Attempt to query device size failed: UNIT ATTENTION, Power on, reset, or bus device reset occurred

.. disks from scsibus0/1/2:
ada0 at ahcich0 bus 0 target 0 lun 0
ada0: <SAMSUNG HD103SJ 1AJ100E4> ATA/ATAPI-8 SATA 2.x device
ada0: 300.000MB/s transfers
ada0: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
ada0: Native Command Queueing enabled
ada1 at ahcich1 bus 0 target 0 lun 0
ada1: <SAMSUNG HD103SJ 1AJ100E4> ATA/ATAPI-8 SATA 2.x device
ada1: 300.000MB/s transfers
ada1: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
ada1: Native Command Queueing enabled
ada2 at ahcich2 bus 0 target 0 lun 0
ada2: <SAMSUNG HD103SJ 1AJ100E4> ATA/ATAPI-8 SATA 2.x device
ada2: 300.000MB/s transfers
ada2: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
ada2: Native Command Queueing enabled

# camcontrol devlist (at boot)
<SAMSUNG HD103SJ 1AJ100E4>         at scbus0 target 0 lun 0 (pass0,ada0)
<SAMSUNG HD103SJ 1AJ100E4>         at scbus1 target 0 lun 0 (pass1,ada1)
<SAMSUNG HD103SJ 1AJ100E4>         at scbus2 target 0 lun 0 (pass2,ada2)
<HL-DT-ST DVDRAM GSA-H60N CV02>    at scbus4 target 0 lun 0 (cd0,pass3)

# camcontrol devlist (after trying to blank CD)
<SAMSUNG HD103SJ 1AJ100E4>         at scbus0 target 0 lun 0 (pass0,ada0)
<SAMSUNG HD103SJ 1AJ100E4>         at scbus1 target 0 lun 0 (pass1,ada1)
<SAMSUNG HD103SJ 1AJ100E4>         at scbus2 target 0 lun 0 (pass2,ada2)

# dmesg
ahcich4: Timeout on slot 0
ahcich4: Timeout on slot 0
ahcich4: Timeout on slot 0
ahcich4: Timeout on slot 0
ahcich4: Timeout on slot 0
ahcich4: Timeout on slot 0
ahcich4: Timeout on slot 0
ahcich4: Timeout on slot 0
ahcich4: Timeout on slot 0
ahcich4: Timeout on slot 0
ahcich4: Timeout on slot 0
ahcich4: Timeout on slot 0
(cd0:ahcich4:0:0:0): lost device
(cd0:ahcich4:0:0:0): removing device entry

# cat /boot/loader.conf 
zfs_load="YES"
aio_load="YES"
geom_mirror_load="YES"
geom_stripe_load="YES"
ahci_load="YES"
coretemp_load="YES"
snd_hda_load="YES"

vfs.zfs.arc_max=1024M
vfs.zfs.prefetch_disable=0      # enable/disable prefetch
vm.pmap.shpgperproc=512
kern.hz=100
hint.atrtc.0.clock=0
hw.pci.do_power_nodriver=3
hint.pcm.0.buffersize=65536
hint.pcm.1.buffersize=65536
hint.pcm.2.buffersize=65536
hw.snd.feeder_buffersize=65536
hw.snd.latency=7
hint.ahcich.0.pm_level=5
hint.ahcich.1.pm_level=5
hint.ahcich.2.pm_level=5
hint.ahcich.3.pm_level=5
hint.ahcich.4.pm_level=5
hint.ahcich.5.pm_level=5
>How-To-Repeat:
Try to burn CD/DVD with AHCI enabled.
>Fix:


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


More information about the freebsd-amd64 mailing list