Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Jan 2005 23:48:32 +0000
From:      Miguel Saturnino <mags@oniduo.pt>
To:        freebsd-stable@freebsd.org
Subject:   Can't access ATAPI CD-RW through SCSI using atapicam
Message-ID:  <1104623312.666.23.camel@localhost>

next in thread | raw e-mail | index | archive | help
Hi all!

I'm trying to access my CD-RW drive trough SCSI (so I can use a
graphical interface program to burn CDs) with no luck. I've added
"device atapicam" to my kernel configuration and rebuild the kernel (as
described in the handbook) but I only managed to get my ZIP drive to get
recognized as a SCSI device, the CD-RW still shows up as a IDE device...

The relevant part of my kernel configuration file:

device          ata
device          atadisk         # ATA disk drives
#device         atapicd         # ATAPI CDROM drives
options         ATA_STATIC_ID   # Static device numbering
device          atapicam

device          scbus           # SCSI bus (required for SCSI)
device          cd              # CD
device          pass            # Passthrough device (direct SCSI ...
device          da              # Direct Access (disks)


root@furao # tail /var/run/dmesg.boot
ata0-master: DMA limited to UDMA33, non-ATA66 cable or device
ata0-slave: DMA limited to UDMA33, non-ATA66 cable or device
ad0: 38166MB <ST340014A/3.06> [77545/16/63] at ata0-master UDMA33
ad1: 19092MB <ST320410A/3.34> [38792/16/63] at ata0-slave UDMA33
acd0: CDRW <SAMSUNG CD-R/RW SW-240B/R403> at ata1-master PIO4
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <IOMEGA ZIP 100 79.E> Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 96MB (196608 512 byte sectors: 64H 32S/T 96C)
Mounting root from ufs:/dev/ad1s1a


root@furao # uname -a
FreeBSD furao.diabretes 5.3-STABLE FreeBSD 5.3-STABLE #6: Sat Jan  1
16:49:40 WET 2005 root@furao.diabretes:/usr/obj/usr/src/sys/GENERIC 
i386

root@furao # atacontrol list
ATA channel 0:
    Master:  ad0 <ST340014A/3.06> ATA/ATAPI revision 6
    Slave:   ad1 <ST320410A/3.34> ATA/ATAPI revision 6
ATA channel 1:
    Master: acd0 <SAMSUNG CD-R/RW SW-240B/R403> ATA/ATAPI revision 5
    Slave:       no device present

root@furao # camcontrol devlist
<IOMEGA ZIP 100 79.E>              at scbus0 target 0 lun 0 (da0,pass0)

root@furao # cdrecord -scanbus
Cdrecord-Clone 2.01 (i386-unknown-freebsd5.3) Copyright (C) 1995-2004 Jörg Schilling
Using libscg version 'schily-0.8'.
scsibus0:
        0,0,0     0) 'IOMEGA  ' 'ZIP 100         ' '79.E' Removable 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) *



Any sugestions?
TIA!

Miguel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1104623312.666.23.camel>