Re: options atapicam and/or device ATA_CAM in kernel config?
On 11/27/11, Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote: b. f. bf1...@googlemail.com 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? They are redundant and incompatible. atapicam is deprecated, and ATA_CAM is the new default on FreeBSD 9 and 10. Unless you have some special requirements, you should use ATA_CAM on recent versions of FreeBSD, because it usually performs better than the old ATA code, and has added functionality. Ah. My apologies to anyone I confused with my incorrect comments. I must say that I'm thoroughly disappointed that my searches through the official documentation didn't turn up anything related to this. Even the Handbook, with extensive practical descriptions of how to use this functionality, doesn't mention that its advice is irrelevant to anything past 8.x. The handbook does contain some oblique and scattered references to the new code, or at least to constructs that are common to both the old and the new code, but the addition of a brief discussion of the differences between the new and old ATA code in the handbook -- i.e., the kernel and userland components that are now obsolete, and their replacements -- might be of some help to users. The primary author of the new code did add some material to various notes and manpages, but he has been very busy writing and debugging code, and English is not his first language, so others will have to supplement his efforts. Perhaps you could ask for some additions on the freebsd-doc mailing list? b. Now I see it's options ATA_CAM or device atapicam. It looks like I inadvertently transposed device and options in subject line. Now I think I'll try to rebuild the kernel with options ATA_CAM and drop device atapicam. This question needs to be better resolved in time for FreeBSD 9.0-RELEASE. I cross-post this message to freebsd-curr...@freebsd.org so the developers will see it. FreeBSD users want to be able to burn CDs and DVDs, and since SCSI hardware has fallen out of style, I can say very few if any FreeBSD 9.0 users will have an actual SCSI CD or DVD drive. Tom ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: options atapicam and/or device ATA_CAM in kernel config?
Now I think I'll try to rebuild the kernel with options ATA_CAM and drop device atapicam. This question needs to be better resolved in time for FreeBSD 9.0-RELEASE. I cross-post this message to freebsd-curr...@freebsd.org so the developers will see it. FreeBSD users want to be able to burn CDs and DVDs, and since SCSI hardware has fallen out of style, I can say very few if any FreeBSD 9.0 users will have an actual SCSI CD or DVD drive. The new CAM(4) is not just for SCSI devices (and SCSI, as it is usually used now, does not deal only with the old parallel SCSI devices). Despite the fact that most CD and DVD drives will now appear as cdX devices, and cd(4) is full of references to SCSI, most CD and DVD drives should be supported. And while burncd(8) will not work with the new interface, other software in ports should -- for example, sysutils/cdrtools and sysutils/cdrtools-devel, as was mentioned before. b. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: options atapicam and/or device ATA_CAM in kernel config?
b. f. bf1...@googlemail.com writes: The handbook does contain some oblique and scattered references to the new code, or at least to constructs that are common to both the old and the new code, but the addition of a brief discussion of the differences between the new and old ATA code in the handbook -- i.e., the kernel and userland components that are now obsolete, and their replacements -- might be of some help to users. The primary author of the new code did add some material to various notes and manpages, but he has been very busy writing and debugging code, and English is not his first language, so others will have to supplement his efforts. Perhaps you could ask for some additions on the freebsd-doc mailing list? I started writing some additions as soon as I noticed the issue. They won't be sufficient, since I don't yet have a 9.x system, but they'll be a start. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: options atapicam and/or device ATA_CAM in kernel config?
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? They are redundant and incompatible. atapicam is deprecated, and ATA_CAM is the new default on FreeBSD 9 and 10. Unless you have some special requirements, you should use ATA_CAM on recent versions of FreeBSD, because it usually performs better than the old ATA code, and has added functionality. Lowell Gilbert freebsd-questions-local at be-well.ilk.org responds: As far as I can see, ATA_CAM isn't currently documented. Just ignore it. This is bad advice, for the reasons mentioned above. It is briefly documented in /usr/src/sys/conf/NOTES, and you can find more information about it in the commit logs of the source repository, and the mailing lists. For example: http://svnweb.FreeBSD.org/base?view=revisionrevision=195534 ... http://svnweb.FreeBSD.org/base?view=revisionrevision=200171 http://svnweb.FreeBSD.org/base?view=revisionrevision=220982 http://svnweb.FreeBSD.org/base?view=revisionrevision=216088 http://lists.freebsd.org/pipermail/freebsd-current/2009-June/008574.html http://lists.freebsd.org/pipermail/freebsd-current/2011-April/024110.html ... So I can say good riddance to ATA_CAM. According to burncd man page, ATA_CAM is incompatible with burncd, also burncd was deprecated in FreeBSD 9.0. As I wrote above, you probably do _not_ want to discard ATA_CAM on recent versions of FreeBSD. burncd is deprecated because it does not work with ATA_CAM, and no one has volunteered to rewrite it yet. You can use a port like sysutils/cdrtools or sysutils/cdrtools-devel instead. I am trying to burn a CD (or DVD) on a SATA DVD-RW drive, but cdrtools don't work. Why not? Specifically, what fails? Does your kernel include the necessary bits, like ATA_CAM? Have you asked the cdrtools port maintainer for help, and sent him a verbose listing of any errors you encounter? There were some recent CAM changes that broke some ports like audio/cdparanoia, but these ports will probably be fixed soon. ... Also, how do I build and install a kernel to some name other than /boot/kernel, and not build all modules in duplicate? I think we answered these questions in the other recent thread. ... I don't want to upgrade FreeBSD on older computer because of shortage of disk space and only 256 MB RAM. Portupgrading everything would be too gruesomely slow, in addition to likely running short of disk space. You can use a faster computer to build packages for your slower computer, or use packages from the FreeBSD mirrors. You can also use tools like devel/ccache to speed builds, although this requires more disk space. Building ports in a swap-backed memory file system like mdmfs or tmpfs can also help, although you have to be careful when RAM is limited. You could work around your disk space limitations by using a removable drive for builds, or a network-based files system like nfs. And if you have a number of slower computers of the same type, you can speed up builds by having the computers work together, with something like devel/distcc. b. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: options atapicam and/or device ATA_CAM in kernel config?
b. f. bf1...@googlemail.com 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? They are redundant and incompatible. atapicam is deprecated, and ATA_CAM is the new default on FreeBSD 9 and 10. Unless you have some special requirements, you should use ATA_CAM on recent versions of FreeBSD, because it usually performs better than the old ATA code, and has added functionality. Ah. My apologies to anyone I confused with my incorrect comments. I must say that I'm thoroughly disappointed that my searches through the official documentation didn't turn up anything related to this. Even the Handbook, with extensive practical descriptions of how to use this functionality, doesn't mention that its advice is irrelevant to anything past 8.x. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: options atapicam and/or device ATA_CAM in kernel config?
On 11/27/11, Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote: b. f. bf1...@googlemail.com 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? They are redundant and incompatible. atapicam is deprecated, and ATA_CAM is the new default on FreeBSD 9 and 10. Unless you have some special requirements, you should use ATA_CAM on recent versions of FreeBSD, because it usually performs better than the old ATA code, and has added functionality. Ah. My apologies to anyone I confused with my incorrect comments. I must say that I'm thoroughly disappointed that my searches through the official documentation didn't turn up anything related to this. Even the Handbook, with extensive practical descriptions of how to use this functionality, doesn't mention that its advice is irrelevant to anything past 8.x. The handbook does contain some oblique and scattered references to the new code, or at least to constructs that are common to both the old and the new code, but the addition of a brief discussion of the differences between the new and old ATA code in the handbook -- i.e., the kernel and userland components that are now obsolete, and their replacements -- might be of some help to users. The primary author of the new code did add some material to various notes and manpages, but he has been very busy writing and debugging code, and English is not his first language, so others will have to supplement his efforts. Perhaps you could ask for some additions on the freebsd-doc mailing list? b. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: options atapicam and/or device ATA_CAM in kernel config?
Thomas Mueller mueller6...@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? Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org responds: As far as I can see, ATA_CAM isn't currently documented. Just ignore it. So I can say good riddance to ATA_CAM. According to burncd man page, ATA_CAM is incompatible with burncd, also burncd was deprecated in FreeBSD 9.0. 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. I would likely keep separate config files, especially when disk space is abundant as on a 3 TB hard drive. 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. I forgot to mention the FreeBSD version: 9.0, now RC2, started with BETA1 on this computer. I have FreeBSD 8.2 on my older computer, ATA, no SATA. I once burned a CD with burncd after NetBSD cdrecord couldn't find the drive. But I burned other CDs with cdrecord in Linux. I don't want to upgrade FreeBSD on older computer because of shortage of disk space and only 256 MB RAM. Portupgrading everything would be too gruesomely slow, in addition to likely running short of disk space. Tom ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: options atapicam and/or device ATA_CAM in kernel config?
Thomas Mueller mueller6...@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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org