Miguel Saturnino
2005-Jan-01 15:48 UTC
Can't access ATAPI CD-RW through SCSI using atapicam
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
Daniel O'Connor
2005-Jan-01 16:32 UTC
Can't access ATAPI CD-RW through SCSI using atapicam
On Sun, 2 Jan 2005 10:18, Miguel Saturnino wrote:> 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/ad1s1aIf you took atapicd out of your kernel there shouuld be no acd entry but there is, so I'd conclude that you did not build and/or install your new kernel correctly. Note that it is OK to have both atapicam and atapicd in the same kernel (although each CDROM shows up twice)> > 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 > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"-- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050102/c23893b9/attachment.bin