I have a custom kernel. HDD is handled through AHCI. My CDROM does not show up at all (not in dmesg nor in pciconf). My kernel.config is below. As you can see, ATA_CAM is enabled for the ata-type cdrom and it should work over the cam layer but something is missing.
Maybe I should have enabled ch? I tried to find the module to kldoad it but cannot find the module name for ch.
Code:
device acpi
device pci
options ATA_CAM
# SCSI peripherals - Eenable if using ATA_CAM !!
device ahci
device scbus # SCSI bus (required for SCSI)
device da # Direct Access (disks)
device cd # CD
device pass # Passthrough device (direct SCSI access)
#device ch # SCSI media changers
#device sa # Sequential Access (tape etc)