Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jun 2004 11:40:14 -0400
From:      Gerard Samuel <fbsd-questions@trini0.org>
To:        freebsd-questions@freebsd.org
Subject:   atapi/cam driver
Message-ID:  <200406201140.15088.fbsd-questions@trini0.org>

next in thread | raw e-mail | index | archive | help
Im trying to set it up, and Im not getting any "real" output from camcontrol 
devlist.  Im following instructions from
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html#ATAPICAM.
dmesg only shows the devices as atapi devices, and not scsi.
Does anyone have an idea where Im going wrong.
Thanks

-- camcontrol devlist --
gladiator# camcontrol devlist -v
scbus-1 on xpt0 bus 0:
<  >                               at scbus-1 target -1 lun -1 (xpt0)
--

-- OS version --
gladiator# uname -a
FreeBSD gladiator.trini0.org 5.2.1-RELEASE-p6 FreeBSD 5.2.1-RELEASE-p6 #0: Fri 
May  7 22:43:47 EDT 2004     
xxx@gladiator.trini0.org:/usr/obj/usr/src/sys/GLADIATOR  i386
--

-- dmesg snip --
ad0: 19473MB <Maxtor 52049H3> [39566/16/63] at ata0-master UDMA100
acd0: CDROM <LTN403> at ata1-master PIO4
acd1: CDRW <CW038D ATAPI CD-R/RW> at ata1-slave PIO4
--

-- fstab snip --
/dev/cd0                /cdrom          cd9660  ro,noauto       0       0
/dev/cd1                /cdrom1         cd9660  ro,noauto       0       0
--

-- kernel --
machine         i386
cpu             I686_CPU
ident           GLADIATOR
maxusers        0

#To statically compile in device wiring instead of /boot/device.hints
#hints          "GENERIC.hints"         #Default places to look for devices.

#makeoptions    DEBUG=-g                #Build kernel with gdb(1) debug 
symbols

options         SCHED_4BSD              #4BSD scheduler
options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         SOFTUPDATES             #Enable FFS soft updates support
options         UFS_ACL                 #Support for access control lists
options         UFS_DIRHASH             #Improve performance on big 
directories
options         NFSCLIENT               #Network Filesystem Client
options         CD9660                  #ISO 9660 Filesystem
options         PROCFS                  #Process filesystem (requires 
PSEUDOFS)
options         PSEUDOFS                #Pseudo-filesystem framework
options         COMPAT_43               #Compatible with BSD 4.3 [KEEP THIS!]
options         COMPAT_FREEBSD4         #Compatible with FreeBSD4
options         SYSVSHM                 #SYSV-style shared memory
options         SYSVMSG                 #SYSV-style message queues
options         SYSVSEM                 #SYSV-style semaphores
options         _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time 
extensions

device          isa
device          pci

# Floppy drives
device          fdc

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

# atkbdc0 controls both the keyboard and the PS/2 mouse
device          atkbdc          # AT keyboard controller
device          atkbd           # AT keyboard
device          psm             # PS/2 mouse

device          vga             # VGA video card driver

# syscons is the default console driver, resembling an SCO console
device          sc

device          agp             # support several AGP chipsets

# Floating point support - do not disable.
device          npx

# Power management support (see NOTES for more options)
#device         apm
# Add suspend/resume support for the i8254.
device          pmtimer

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device          miibus          # MII bus support
device          fxp             # Intel EtherExpress PRO/100B (82557, 82558)

# Pseudo devices - the number indicates how many units to allocate.
device          random          # Entropy device
device          loop            # Network loopback
device          ether           # Ethernet support
device          pty             # Pseudo-ttys (telnet etc)

# USB support
device          uhci            # UHCI PCI->USB interface
device          usb             # USB Bus (required)
device          ugen            # Generic
device         umass            # Disks/Mass storage - Requires scbus and da

# Yes they are for SCSI but umass needs them
device          scbus           # SCSI bus (required)
device          da              # Direct Access (disks)

# To access IDE devices via scsi system
device atapicam
device cd
device pass

# Audio
device          pcm

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device          bpf             # Berkeley packet filter
--



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