Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Nov 2011 12:41:34 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        "Thomas Mueller" <mueller6727@bellsouth.net>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: "options atapicam" and/or "device ATA_CAM" in kernel config?
Message-ID:  <44fwhc6qwh.fsf@lowell-desk.lan>
In-Reply-To: <20111123114340.04290106566C@hub.freebsd.org> (Thomas Mueller's message of "Wed, 23 Nov 2011 11:39:13 %2B0000 (GMT)")
References:  <20111123114340.04290106566C@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
"Thomas Mueller" <mueller6727@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.



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