reverse scsi emulation possible (camatapi)?
hi there, people with atapi devices have been used to having the atapicam(4) option enabled in their kernel conf so applications relying on the scsi(4) subsystem (such as cdrecord or growsisofs) work with those atapi devices. since the whole ata(4) infrastructure will eventually die: is there a way to use applications relying on the ata(4) subsystem (such as burncd) with the cam(4) infrastructure? my kernel conf includes the ATA_CAM option and this is the output of `camcontrol devlist`: at scbus2 target 0 lun 0 (pass0,cd0) at scbus3 target 0 lun 0 (pass1,ada0) `atacontrol list` reports (as can be expected) no devices. i'd really like to benefit from the ATA_CAM improvements, yet continue using ata(4) applications (i like the simplicity of burncd in contrast to cdrecord). cheers. alex ___ 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: SCSI Emulation
[EMAIL PROTECTED] wrote: Hi, I am using FreeBSD 5.1 Is scsi emulation available in freeBSD 5.1? If yes, How? If not, is there a way I can use cdrecord with an IDE cdrw drive? If both answers to these two questions is "NO" , do you know if freeBSD will support SCSI emulation in their future releases? I appreciate your feedback. David Velez If you want to use a graphical front-end to burn CD's & DVD's, then you will normally need to add atapicam in your kernel config and then rebuild the kernel. burncd can be used (as I understand it) without atapicam. The following section of the manual goes into more detail about all this and should answer all your questions: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html HTH! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
SCSI Emulation
Hi, I am using FreeBSD 5.1 Is scsi emulation available in freeBSD 5.1? If yes, How? If not, is there a way I can use cdrecord with an IDE cdrw drive? If both answers to these two questions is "NO" , do you know if freeBSD will support SCSI emulation in their future releases? I appreciate your feedback. David Velez ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ide-scsi emulation required?
Trey Sizemore writes: > Coming from a linux background, I understand that up to the 2.4.x series > of kernels that scsi emulation is required of ide drives in order to > burn CDs. This will no longer be a requirement with the new 2.6.x > series of kernels. > > What is the current requirement in FreeBSD? Is this scsi emulation > required and, if so, will this change in the near future? > Burning CDs with ATAPI drives is supported without the need for any type of emulation by burncd, which is part of the base system. Under FreeBSD it's SCSI burners which aren't supported out-of-the-box. The user has to install a port, e.g. cdrecord. --- Gary Jennejohn / garyj[at]jennejohn.org gj[at]freebsd.org gj[at]denx.de ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ide-scsi emulation required?
Coming from a linux background, I understand that up to the 2.4.x series of kernels that scsi emulation is required of ide drives in order to burn CDs. This will no longer be a requirement with the new 2.6.x series of kernels. What is the current requirement in FreeBSD? Is this scsi emulation required and, if so, will this change in the near future? Thanks. -- Cheers, Trey --- The beauty of the soul shines out when a man bears with composure one heavy mischance after another, not because he does not feel them, but because he is a man of high and heroic temper. - Aristotle signature.asc Description: This is a digitally signed message part
Re: SCSI Emulation
On Saturday 22 March 2003 05:30 am, Scott A. Moberly wrote: > see man atapicam > and http://www.cuivre.fr.eu.org/~thomas/atapicam/ > > You don't have to patch if you are on the latest RELENG (not sure about > 4.7-RELEASE) Nah, it wasn't merged from current till afer 4.7-Release. > > Is there any way of doing ide-scsi emulation for CDROM/CDWriter drives > > on FreeBSD-4.7-Release on i386? the only way to do it on 4.7-Release would be to merge the patches from -current yourself. Or a little easier would be to cvsup to 4-stable. Use RELENG_4 then see the handbook section on cutting edge for how to buildwold/installworld. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: SCSI Emulation
"Subhro Sankha Kar" <[EMAIL PROTECTED]> writes: > Is there any way of doing ide-scsi emulation for CDROM/CDWriter drives > on FreeBSD-4.7-Release on i386? Yes, with the atapicam support (add it to your kernel). Unlike Linux, however, there's no need to emulate SCSI to use the drive. burncd(8) should work with it without reconfiguring anything. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: SCSI Emulation
> Is there any way of doing ide-scsi emulation for CDROM/CDWriter drives > on FreeBSD-4.7-Release on i386? see man atapicam and http://www.cuivre.fr.eu.org/~thomas/atapicam/ You don't have to patch if you are on the latest RELENG (not sure about 4.7-RELEASE) -- Scott A. Moberly [EMAIL PROTECTED] Microsoft: "Where would you like to go to today" Linux: "Where would you like to go tomorrow" FreeBSD: "Hey,when are you guys going to catch up" To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
SCSI Emulation
Hello, Is there any way of doing ide-scsi emulation for CDROM/CDWriter drives on FreeBSD-4.7-Release on i386? Subhro Sankha Kar IIIT-Calcutta To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: SCSI emulation of ATAPI CDROM
+++ Willie Viljoen [28-02-03 11:41 +0200]: | On Friday 28 February 2003 8:18, someone, possibly Shantanu Mahajan, typed: | > on http://www.cuivre.fr.eu.org/~thomas/atapicam/, | > found out the .diff files. But don't have | > sys/dev/ata/atapi-cam.c file. | | First two lines of atapicam-20020820.diff: | | --- /dev/null Mon Aug 19 21:34:21 2002 | +++ sys/dev/ata/atapi-cam.c Mon Aug 12 22:08:00 2002 | | This means that applying the patch should create atapi-cam.c. Try applying | from /usr/src with: | | patch < /wherever/atapicam-yourversion.diff | | Keep in mind that you need the atapicam-date.diff and | atapicam-STABLE-config.diff patches applied from within /usr/src for this | to work properly.. | | Again, I think upgrading would be better, cvsup shouldn't take more than 30 | minutes, even on a slow connection, and you will have all of the latest | code, including a new base system, with security fixes and all that too. | | Will | thanks a lot. did the patching and it worked fine. will test cdrecord now. Regards, Shantanu -- Everyone is a genius. It's just that some people are too stupid to realize it. PGP keyID : 137AFD9E PGP keyID fingerprint : C7DA 3350 1DEA F371 37DC D92A F0D4 C2ED 137A FD9E To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: SCSI emulation of ATAPI CDROM
On Fri, Feb 28, 2003 at 11:41:02AM +0200, Willie Viljoen wrote: > First two lines of atapicam-20020820.diff: > > --- /dev/null Mon Aug 19 21:34:21 2002 > +++ sys/dev/ata/atapi-cam.c Mon Aug 12 22:08:00 2002 > > This means that applying the patch should create atapi-cam.c. Try applying > from /usr/src with: > > patch < /wherever/atapicam-yourversion.diff Make that: patch -p0 < your.diff Otherwise patch(1) has a nasty habit of creating any new files in the current working directory, rather than where intended. I know this because I was looking at compiling the alpha version of the jdk-1.4.1 stuff yesterday, and precisely that difference had me perplexed for a while. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: SCSI emulation of ATAPI CDROM
On Friday 28 February 2003 8:18, someone, possibly Shantanu Mahajan, typed: > on http://www.cuivre.fr.eu.org/~thomas/atapicam/, > found out the .diff files. But don't have > sys/dev/ata/atapi-cam.c file. First two lines of atapicam-20020820.diff: --- /dev/null Mon Aug 19 21:34:21 2002 +++ sys/dev/ata/atapi-cam.c Mon Aug 12 22:08:00 2002 This means that applying the patch should create atapi-cam.c. Try applying from /usr/src with: patch < /wherever/atapicam-yourversion.diff Keep in mind that you need the atapicam-date.diff and atapicam-STABLE-config.diff patches applied from within /usr/src for this to work properly.. Again, I think upgrading would be better, cvsup shouldn't take more than 30 minutes, even on a slow connection, and you will have all of the latest code, including a new base system, with security fixes and all that too. Will -- Willie Viljoen Freelance IT Consultant 214 Paul Kruger Avenue, Universitas Bloemfontein 9321 South Africa +27 51 522 15 60 +27 51 522 44 36 (after hours) +27 82 404 03 27 (mobile) [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: SCSI emulation of ATAPI CDROM
on http://www.cuivre.fr.eu.org/~thomas/atapicam/, found out the .diff files. But don't have sys/dev/ata/atapi-cam.c file. Here's the output of ls. > ls /usr/src/sys/dev/ata/ ata-all.c ata-disk.hata-raid.catapi-cd.c atapi-tape.c ata-all.h ata-dma.c ata-raid.h atapi-cd.hatapi-tape.h ata-card.cata-isa.c atapi-all.c atapi-fd.cata-disk.cata-pci.c atapi-all.h atapi-fd.h Regards, Shantanu +++ Willie Viljoen [27-02-03 10:23 +0200]: | On Thursday 27 February 2003 7:59, someone, possibly Shantanu Mahajan, | typed: | > I tried to compile the kernel with above options. But for | > device atapicam | > it says | > Warning: device "atapicam" is unknown | > also tried ATAPICAM | > | > > uname -rs | > | > FreeBSD 4.7-RELEASE | | The ATAPICAM code was not merged by the time 4.7-RELEASE was frozen. It was | only introduced shortly afterward during early post-release development of | 4.7-STABLE on 1 November 2002. | | In order to get it on your system, you will need to follow upgrade | instructions in Chapter 21, The Cutting Edge, of the Handbook, available | online at | http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html | or on your local system (if you have installed the doc distribution) in | /usr/share/doc/handbook/cutting-edge.html. The Handbook has also been | translated into many languages, if you prefer, a version in your native | language should also be available on-line and on your local system. | | You may also with to patch your present system with the historical ATAPICAM | patches available from http://www.cuivre.fr.eu.org/~thomas/atapicam/. This | will still require a rebuild though, and upgraing is highly recommended. | | Will | | -- | Willie Viljoen | Freelance IT Consultant | | 214 Paul Kruger Avenue, Universitas | Bloemfontein | 9321 | South Africa | | +27 51 522 15 60 | +27 51 522 44 36 (after hours) | +27 82 404 03 27 (mobile) | | [EMAIL PROTECTED] -- Everyone is a genius. It's just that some people are too stupid to realize it. PGP keyID : 137AFD9E PGP keyID fingerprint : C7DA 3350 1DEA F371 37DC D92A F0D4 C2ED 137A FD9E To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: SCSI emulation of ATAPI CDROM {was [Re: IDE LiteON CD-RW supported by burncd?]}
On Thursday 27 February 2003 7:59, someone, possibly Shantanu Mahajan, typed: > I tried to compile the kernel with above options. But for > deviceatapicam > it says > Warning: device "atapicam" is unknown > also tried ATAPICAM > > > uname -rs > > FreeBSD 4.7-RELEASE The ATAPICAM code was not merged by the time 4.7-RELEASE was frozen. It was only introduced shortly afterward during early post-release development of 4.7-STABLE on 1 November 2002. In order to get it on your system, you will need to follow upgrade instructions in Chapter 21, The Cutting Edge, of the Handbook, available online at http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html or on your local system (if you have installed the doc distribution) in /usr/share/doc/handbook/cutting-edge.html. The Handbook has also been translated into many languages, if you prefer, a version in your native language should also be available on-line and on your local system. You may also with to patch your present system with the historical ATAPICAM patches available from http://www.cuivre.fr.eu.org/~thomas/atapicam/. This will still require a rebuild though, and upgraing is highly recommended. Will -- Willie Viljoen Freelance IT Consultant 214 Paul Kruger Avenue, Universitas Bloemfontein 9321 South Africa +27 51 522 15 60 +27 51 522 44 36 (after hours) +27 82 404 03 27 (mobile) [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
SCSI emulation of ATAPI CDROM {was [Re: IDE LiteON CD-RW supported by burncd?]}
+++ Willie Viljoen [26-02-03 21:31 +0200]: | On Wednesday 26 February 2003 19:42, someone, possibly Michael Sharp, typed: | > I understand ALL IDE CD-RWs are supported under FreeBSD, but has anyone | > actually used a CD-RW by LiteON ( http://liteonit.com ) and had sucess | > with it under burncd? | | In addition to working with burncd, you can also get this drive to work with | cdrtools if you want by making it appear to be a SCSI device. You will need | a 4.7-RELEASE or newer system (check the Handbook for upgrading | instructions) and you will need to recompile your kernel with atleast: | | deviceata | deviceatapicd | deviceatapicam | devicescbus | devicepass | devicecd | | Some IDE CD-R/RW devices will only work this way... those that do not | implement the standards that SS adheres strictly to in the burncd code. | However, this drive, according to numerous posts, will work fine, and does | implement those standards (which is rather impressive) | | The advantage to using it with ATAPICAM rather than burncd is that you will | also be able to use the other tools from the cdrtools package, cdrecord, | cdda2wav, etc, and the numerous front ends that have been designed for | them. | | Will | | - -- | -- I tried to compile the kernel with above options. But for device atapicam it says Warning: device "atapicam" is unknown also tried ATAPICAM > uname -rs FreeBSD 4.7-RELEASE Regards, Shantanu -- Everyone is a genius. It's just that some people are too stupid to realize it. PGP keyID : 137AFD9E PGP keyID fingerprint : C7DA 3350 1DEA F371 37DC D92A F0D4 C2ED 137A FD9E To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
More Questions on SCSI Emulation
Ok, so last I heard was that the latest 4.7-STABLE had the apticam build in. But how do I get it working exactly. I went though the realing notes and didn't see specifics. Though I could just be stupid. And if I still can't get the SCSI emulation working there can someone point me to a cheat sheet or script that will use burncd. Or a way of configuring one of the X apps to use burncd instead of cdrecord. The problem with doing it all by hand is first the tediousness and second having to make sure I don't pass the 700MB limit. Just a little irritating. Thanks for any help. TooManyMirrors _ Surf the Web without missing calls! Get MSN Broadband. http://resourcecenter.msn.com/access/plans/freeactivation.asp To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: SCSI emulation help and patching
> Le 2002-10-31, Andy Sparrow écrivait : > > > Yup, that's probably it. I just (re)patched my src tree after a fresh > > cvsup, and this file fails to patch with atapicam-STABLE-config-20020820. > > diff. Here's sys/conf/files.rej: > > A patch is not needed anymore: I have MFCd ATAPI/CAM on the RELENG_4 > branch a few minutes ago. Woo-Hoo! Thanks Thomas!! Cheers, AS msg07324/pgp0.pgp Description: PGP signature
Re: SCSI emulation help and patching
Le 2002-10-31, Andy Sparrow écrivait : > Yup, that's probably it. I just (re)patched my src tree after a fresh > cvsup, and this file fails to patch with atapicam-STABLE-config-20020820. > diff. Here's sys/conf/files.rej: A patch is not needed anymore: I have MFCd ATAPI/CAM on the RELENG_4 branch a few minutes ago. Thomas. -- [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: SCSI emulation help and patching
> Check that the file /usr/src/sys/conf/files has been patched. It should > contain the lines > < dev/ata/atapi-all.c optional atapicam > < dev/ata/atapi-cam.c optional atapicam Yup, that's probably it. I just (re)patched my src tree after a fresh cvsup, and this file fails to patch with atapicam-STABLE-config-20020820. diff. Here's sys/conf/files.rej: *** 137,145 dev/ata/atapi-all.c optional atapicd dev/ata/atapi-all.c optional atapifd dev/ata/atapi-all.c optional atapist dev/ata/atapi-cd.coptional atapicd dev/ata/atapi-fd.coptional atapifd dev/ata/atapi-tape.c optional atapist #dev/amr/amr_cam.coptional amr dev/amr/amr_disk.coptional amr dev/amr/amr_pci.c optional amr --- 137,147 dev/ata/atapi-all.c optional atapicd dev/ata/atapi-all.c optional atapifd dev/ata/atapi-all.c optional atapist + dev/ata/atapi-all.c optional atapicam dev/ata/atapi-cd.coptional atapicd dev/ata/atapi-fd.coptional atapifd dev/ata/atapi-tape.c optional atapist + dev/ata/atapi-cam.c optional atapicam #dev/amr/amr_cam.coptional amr dev/amr/amr_disk.coptional amr dev/amr/amr_pci.c optional amr Cheers, AS msg07195/pgp0.pgp Description: PGP signature
Re: SCSI emulation help and patching
> I have a custom kernel and I'm running Stable I am really just making sure > this is a resonable solution. However I have applied all patches and am > getting an error during the build process. This is all applicalbe info > > 4.7-STABLE FreeBSD 4.7-STABLE #0: Mon Oct 28 12:16:28 EST 2002 > > patch < atapicam-20020820.diff > Hunk #1 succeeded at 172. > done > > patch < atapicam-STABLE-config-20020820.diff > Hunk #1 succeeded at 1235 (offset 4 lines). > done This is too short. There are many more patched hunks than that, and much more output. Are you snipping the messages, or is this all you get? > make buildkernel KERNCONF=BSDGURU > mkdir -p /usr/obj/usr/src/sys > cd /usr/src/sys/i386/conf; Uh, sorry, I always use the 'old' method', I don't know if this works or not (and can't try it until my 'cvsup' finishes :-) Have you tried the 'old' method? cd /usr/src/sys/i386/conf config cd ../../compile/ make depend make make install If this works for you and the 'new' method doesn't, that seems like a bug. But neither will work if you don't have the full diffs. The ones I use MD5 thus: MD5 (atapicam-20020820.diff) = deea1f3bc91aacdb0985f0c18a9ebc91 MD5 (atapicam-STABLE-config-20020820.diff) = fb176aeb15fd6242bd33b6e35f3d ab28 But Thomas is really the final word for that ;-) Cheers, AS msg07193/pgp0.pgp Description: PGP signature
Re: SCSI emulation help and patching
Le 2002-10-30, Brad Laue écrivait : > Given the fact that the new cdrecord uses ATAPI commands instead of relying on > SCSI emulation, is there another practical reason ATAPICAM exists? First, I do not know what 'new cdrecord' you are referring to. The version from the ports tree does *not* use the FreeBSD ATAPI API. I do not know of any cdrecord version that does, besides the one patched by Søren. Second, cdrecord is not the only application that may potentially talk to an ATAPI device. Even if you consider only CD units, think cdrdao and cdparanoia. Third, ATAPI/CAM allows the use of the standard SCSI disk, CD-ROM and tape drivers for ATAPI devices as well as SCSI devices, instead of the alternative acd, ast and afd drivers. Thomas. -- [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: SCSI emulation help and patching
On October 29, 2002 05:11 pm, TooMany Mirrors wrote: > I have a few questions that I need some help with. I would like to set up > my cd burner with scsi emultion so I can use some of the X cd burning apps > to make music cds from OGGs/MP3s. I found the site > http://www.cuivre.fr.eu.org/~thomas/atapicam/ > and got the patches, but I'm honestly not sure how to use them and I want > to hear if this is the only/best method of setting this up. I would also > like to know what the best/easiest X app is for burning music cds, an all > in one decoder, burner etc would be great. So if someone else has used > these patches or another method let me know how you did and and if it works > well. Thanks. > TooManyMirrors Given the fact that the new cdrecord uses ATAPI commands instead of relying on SCSI emulation, is there another practical reason ATAPICAM exists? Brad -- // -- http://www.BRAD-X.com/ -- // To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: SCSI emulation help and patching
Hi, May I correct some discriptions? From: Hiroyuki CHIBA <[EMAIL PROTECTED]> Subject: Re: SCSI emulation help and patching Date: Wed, 30 Oct 2002 16:23:39 +0900 (JST) Message-ID: <[EMAIL PROTECTED]> clin> They will be made under /usr/obj/{path of src}, may be /usr/obj/usr/src/compile/KERNEL/. ^^^ -> sys clin> 4.2R or later, "make buildkernel" will use buildworld-ed environment if possible. -> 4.X R clin> So, it help you to build kernel on inconsistent version. clin> It is a different point from a traditional way (config, cd ../...). Regards, Hiroyuki "CLINGON" Chiba Internet Mutual Aid Society Yokohama, IMASY [EMAIL PROTECTED] [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: SCSI emulation help and patching
Hi, From: "TooMany Mirrors" <[EMAIL PROTECTED]> Subject: RE: SCSI emulation help and patching Date: Wed, 30 Oct 2002 00:50:19 -0500 Message-ID: <[EMAIL PROTECTED]> > Where is the kernels tmp build dir? and I'm using the new make buildkernel > KERNCONF=KERNEL method, not the old ./config cd ../../make etc. They will be made under /usr/obj/{path of src}, may be /usr/obj/usr/src/compile/KERNEL/. 4.2R or later, "make buildkernel" will use buildworld-ed environment if possible. So, it help you to build kernel on inconsistent version. It is a different point from a traditional way (config, cd ../...). Regards, Hiroyuki "CLINGON" Chiba Internet Mutual Aid Society Yokohama, IMASY [EMAIL PROTECTED] [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
RE: SCSI emulation help and patching
should be under /usr/src/sys/compile presuming of course that the KERNCONF method uses the same dir. Quoting TooMany Mirrors <[EMAIL PROTECTED]>: > > > Where is the kernels tmp build dir? and I'm using the new make buildkernel > KERNCONF=KERNEL method, not the old ./config cd ../../make etc. > > > > > _ > Surf the Web without missing calls! Get MSN Broadband. > http://resourcecenter.msn.com/access/plans/freeactivation.asp > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-questions" in the body of the message > -- FreeBSD System Administrator http://manhattan.hq.dyns.cx/ - This mail sent through IMP: http://horde.org/imp/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
RE: SCSI emulation help and patching
Where is the kernels tmp build dir? and I'm using the new make buildkernel KERNCONF=KERNEL method, not the old ./config cd ../../make etc. _ Surf the Web without missing calls! Get MSN Broadband. http://resourcecenter.msn.com/access/plans/freeactivation.asp To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: SCSI emulation help and patching
On October 29, 2002 04:52 pm, Michael Joyner wrote: > there is a third file you need to download > > atapicam-20020820.diff > atapicam-STABLE-config-20020820.diff > cam_xpt.c.diff > > Quoting TooMany Mirrors <[EMAIL PROTECTED]>: > > > > 4.7-STABLE FreeBSD 4.7-STABLE #0: Mon Oct 28 12:16:28 EST 2002 > > > > patch < atapicam-20020820.diff > > Hunk #1 succeeded at 172. > > done > > > > patch < atapicam-STABLE-config-20020820.diff > > Hunk #1 succeeded at 1235 (offset 4 lines). > > done Check that the file /usr/src/sys/conf/files has been patched. It should contain the lines < dev/ata/atapi-all.c optional atapicam < dev/ata/atapi-cam.c optional atapicam after being patched. I forgot to apply this patch after the others and couldn't find the atapi drivers You don't need the cam patch as it provides additional debugging information if you run in to problems with the driver. I am running 4.7-RELEASE and have this patch applied and working. I'm stuck at a point trying to get cdparanoia to work :} cdrecord --scanbus Cdrecord 1.11a28 (i386-unknown-freebsd4.7) Copyright (C) 1995-2002 Jörg Schilling Using libscg version 'schily-0.6' scsibus0: 0,0,0 0) 'PLEXTOR ' 'CD-R PX-W1210A' '1.08' Removable CD-ROM 0,1,0 1) 'SONY' 'CD-ROM CDU611-F ' '2.1a' Removable CD-ROM Joe Sotham Christianity got over the difficulty of furious opposites by keeping them both and keeping them furious. - G.K. Chesterton To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
RE: SCSI emulation help and patching
did you remove the kernel temporary build directory and re-run config before re-building? Quoting TooMany Mirrors <[EMAIL PROTECTED]>: > > Ok, I am still getting the same build error about unknow device as before. > All three patches apply without errors but the kernel build still fails. I > have included all info incuding the kernel in a previous email. If someone > can figure out what the heck I am doing different than everyone else it > would great! > TooManymirrors > > > > > _ > Choose an Internet access plan right for you -- try MSN! > http://resourcecenter.msn.com/access/plans/default.asp > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-questions" in the body of the message > -- FreeBSD System Administrator http://manhattan.hq.dyns.cx/ - This mail sent through IMP: http://horde.org/imp/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
RE: SCSI emulation help and patching
Ok, I am still getting the same build error about unknow device as before. All three patches apply without errors but the kernel build still fails. I have included all info incuding the kernel in a previous email. If someone can figure out what the heck I am doing different than everyone else it would great! TooManymirrors _ Choose an Internet access plan right for you -- try MSN! http://resourcecenter.msn.com/access/plans/default.asp To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
RE: SCSI emulation help and patching
there is a third file you need to download atapicam-20020820.diff atapicam-STABLE-config-20020820.diff cam_xpt.c.diff Quoting TooMany Mirrors <[EMAIL PROTECTED]>: > I have a custom kernel and I'm running Stable I am really just making sure > this is a resonable solution. However I have applied all patches and am > getting an error during the build process. This is all applicalbe info > > 4.7-STABLE FreeBSD 4.7-STABLE #0: Mon Oct 28 12:16:28 EST 2002 > > patch < atapicam-20020820.diff > Hunk #1 succeeded at 172. > done > > patch < atapicam-STABLE-config-20020820.diff > Hunk #1 succeeded at 1235 (offset 4 lines). > done > > make buildkernel KERNCONF=BSDGURU > mkdir -p /usr/obj/usr/src/sys > cd /usr/src/sys/i386/conf; > PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin > > config -d /usr/obj/usr/src/sys/BSDGURU BSDGURU > Don't forget to do a ``make depend'' > Warning: device "atapicam" is unknown > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > This is my current kernel configuration > machine i386 > cpu I686_CPU > ident BSDGURU > maxusers32 > > #makeoptionsDEBUG=-g#Build kernel with gdb(1) debug > symbols > > options MATH_EMULATE#Support for x87 emulation > options INET#InterNETworking > options INET6 #IPv6 communications protocols > options FFS #Berkeley Fast Filesystem > options FFS_ROOT#FFS usable as root device [keep > this!] > options SOFTUPDATES #Enable FFS soft updates support > options UFS_DIRHASH #Improve performance on big > directories > options MFS #Memory Filesystem > options MD_ROOT #MD is a potential root device > options NFS #Network Filesystem > options NFS_ROOT#NFS usable as root device, NFS > required > options MSDOSFS #MSDOS Filesystem > options CD9660 #ISO 9660 Filesystem > options CD9660_ROOT #CD-ROM usable as root, CD9660 > required > options PROCFS #Process filesystem > options COMPAT_43 #Compatible with BSD 4.3 [KEEP > THIS!] > options SCSI_DELAY=15000#Delay (in ms) before probing SCSI > options UCONSOLE#Allow users to grab the console > options USERCONFIG #boot -c editor > options VISUAL_USERCONFIG #visual boot -c editor > options KTRACE #ktrace(1) support > options SYSVSHM #SYSV-style shared memory > options SYSVMSG #SYSV-style message queues > options SYSVSEM #SYSV-style semaphores > options P1003_1B#Posix P1003_1B real-time extensions > options _KPOSIX_PRIORITY_SCHEDULING > options ICMP_BANDLIM#Rate limit bad replies > options KBD_INSTALL_CDEV# install a CDEV entry in /dev > options AHC_REG_PRETTY_PRINT# Print register bitfields in debug > # output. Adds ~128k to driver. > options AHD_REG_PRETTY_PRINT# Print register bitfields in debug > # output. Adds ~215k to driver. > options CPU_ENABLE_SSE > options USER_LDT > options TCP_DROP_SYNFIN > options EXT2FS # Mount linux partition > options COMPAT_LINUX > > # To make an SMP kernel, the next two are needed > #optionsSMP # Symmetric MultiProcessor Kernel > #optionsAPIC_IO # Symmetric (APIC) I/O > > device isa > device eisa > device pci > device pcm > > # Floppy drives > device fdc0at isa? port IO_FD1 irq 6 drq 2 > device fd0 at fdc0 drive 0 > > # ATA and ATAPI devices > device ata0at isa? port IO_WD1 irq 14 > device ata1at isa? port IO_WD2 irq 15 > device ata > device atadisk # ATA disk drives > device atapicd # ATAPI CDROM drives > #device atapifd # ATAPI floppy drives > device atapicam > options ATA_STATIC_ID #Static device numbering > > # SCSI peripherals > device scbus # SCSI bus (required) > device da # Direct Access (disks) > device cd # CD > device pass > # atkbdc0 controls both the keyboard and the PS/2 mouse > device atkbdc0 at isa? port IO_KBD > device atkbd0 at atkbdc? irq 1 flags 0x1 > device psm0at atkbdc? ir
RE: SCSI emulation help and patching
I have a custom kernel and I'm running Stable I am really just making sure this is a resonable solution. However I have applied all patches and am getting an error during the build process. This is all applicalbe info 4.7-STABLE FreeBSD 4.7-STABLE #0: Mon Oct 28 12:16:28 EST 2002 patch < atapicam-20020820.diff Hunk #1 succeeded at 172. done patch < atapicam-STABLE-config-20020820.diff Hunk #1 succeeded at 1235 (offset 4 lines). done make buildkernel KERNCONF=BSDGURU mkdir -p /usr/obj/usr/src/sys cd /usr/src/sys/i386/conf; PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin config -d /usr/obj/usr/src/sys/BSDGURU BSDGURU Don't forget to do a ``make depend'' Warning: device "atapicam" is unknown *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. This is my current kernel configuration machine i386 cpu I686_CPU ident BSDGURU maxusers32 #makeoptionsDEBUG=-g#Build kernel with gdb(1) debug symbols options MATH_EMULATE#Support for x87 emulation options INET#InterNETworking options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options FFS_ROOT#FFS usable as root device [keep this!] options SOFTUPDATES #Enable FFS soft updates support options UFS_DIRHASH #Improve performance on big directories options MFS #Memory Filesystem options MD_ROOT #MD is a potential root device options NFS #Network Filesystem options NFS_ROOT#NFS usable as root device, NFS required options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options CD9660_ROOT #CD-ROM usable as root, CD9660 required options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=15000#Delay (in ms) before probing SCSI options UCONSOLE#Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options P1003_1B#Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM#Rate limit bad replies options KBD_INSTALL_CDEV# install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT# Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT# Print register bitfields in debug # output. Adds ~215k to driver. options CPU_ENABLE_SSE options USER_LDT options TCP_DROP_SYNFIN options EXT2FS # Mount linux partition options COMPAT_LINUX # To make an SMP kernel, the next two are needed #optionsSMP # Symmetric MultiProcessor Kernel #optionsAPIC_IO # Symmetric (APIC) I/O device isa device eisa device pci device pcm # Floppy drives device fdc0at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 # ATA and ATAPI devices device ata0at isa? port IO_WD1 irq 14 device ata1at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives #device atapifd # ATAPI floppy drives device atapicam options ATA_STATIC_ID #Static device numbering # SCSI peripherals device scbus # SCSI bus (required) device da # Direct Access (disks) device cd # CD device pass # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device psm0at atkbdc? irq 12 device vga0at isa? # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? flags 0x100 # Floating point support - do not disable. device npx0at nexus? port IO_NPX irq 13 # Power management support (see LINT for more options) device apm0at nexus? disabl
Re: SCSI emulation help and patching
Le 2002-10-29, TooMany Mirrors écrivait : > to make music cds from OGGs/MP3s. I found the site > http://www.cuivre.fr.eu.org/~thomas/atapicam/ > and got the patches, but I'm honestly not sure how to use them and I want If you are not at ease with the process of patching, recompiling and resintalling a FreeBSD kernel, you should probably wait until this feature is merged into the RELENG_4 branch, which should happen in the near future. Thomas. -- [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
SCSI emulation help and patching
I have a few questions that I need some help with. I would like to set up my cd burner with scsi emultion so I can use some of the X cd burning apps to make music cds from OGGs/MP3s. I found the site http://www.cuivre.fr.eu.org/~thomas/atapicam/ and got the patches, but I'm honestly not sure how to use them and I want to hear if this is the only/best method of setting this up. I would also like to know what the best/easiest X app is for burning music cds, an all in one decoder, burner etc would be great. So if someone else has used these patches or another method let me know how you did and and if it works well. Thanks. TooManyMirrors _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message