"options atapicam" and/or "device ATA_CAM" in kernel config?

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Fri Nov 25 17:41:44 UTC 2011


"Thomas Mueller" <mueller6727 at bellsouth.net> writes:

> What is the role of "options atapicam" and "device ATA_CAM" in kernel config file?
>
> Are they redundant?  Kernel will build with both these options, but will it make things go awry?  Is ATA_CAM deprecated?

As far as I can see, ATA_CAM isn't currently documented.
Just ignore it.

> I am trying to burn a CD (or DVD) on a SATA DVD-RW drive, but cdrtools don't work.
>
> Also, how do I build and install a kernel to some name other than /boot/kernel, and not build all modules in duplicate?
>
> I might want to try kernels with some differences in options, but with the same modules.
>
> NetBSD and Linux make it easy to choose a non-default name for the kernel, so I can have multiple kernels and choose one at boot.

The usual way is to have a separate config file for each, although you
can come up with other ways if you feel like being clever.  The config
files support an include functionality, so working through the files is
pretty easy.

As for leaving out modules, there are a number of options documented for
make.conf(5) and src.conf(5) that give you various kinds of control.

> In Linux, beginning with kernels 2.6.*, cdrtools work without the ATA-SCSI dance.

You don't say what version of FreeBSD you're on. I'm still using
RELENG_8, so I may be missing some choices for later versions, where I
understand that the CAM code has been significantly reworked.


More information about the freebsd-questions mailing list