Date: Fri, 22 Apr 2005 03:35:24 +0200 From: Danny Pansters <danny@ricin.com> To: freebsd-questions@freebsd.org Cc: ports@freebsd.org Subject: Re: Adding my CDRW device to k3b Message-ID: <200504220335.24574.danny@ricin.com> In-Reply-To: <20050421222558.GA26498@SDF.LONESTAR.ORG> References: <20050414230015.GA6327@SDF.LONESTAR.ORG> <c4c5231305042018545d72f8c8@mail.gmail.com> <20050421222558.GA26498@SDF.LONESTAR.ORG>
next in thread | previous in thread | raw e-mail | index | archive | help
OK, let it be clear that the cdrdao thing is a problem of the software itself (as in: not needed to be root if done right), but certainly for us with devfs and proper permissions and group membership this can be solved without any problems or upstream changes. I can burn CDs alright but the GUI throws the warning nonetheless (simply because of cdrdao not being suid root? -- suid root shouldn't be needed at all). I recently discovered another problem with k3b: Try to burn a 5.4-RC3 iso with it. Booting off it wouldn't work, and after pulling out a modest amount of hair I mounted the CD, and yes, there was one single file called blah.iso on the CD :) [CC'd to ports@ as a FYI so that maintainer will see this as will others who might be interested. There really are a few problems with this port IMHO] Dan On Friday 22 April 2005 00:25, Justin R. Pessa wrote: > Seems like the suggestions below worked like a charm! I'm burning a CD > as we speak, thanks a lot! > > On Apr 20 05 06:54PM, Michael Collette wrote: > > Before getting into the CDRW stuff, why K3B wouldn't run. I would bet > > that you're using an X Display Manager, like kdm, gdm, or even xdm. > > You can't just su into root and run stuff like that. You need to > > fully log out, then log into whatever wm you use as root. When you do > > that, k3b should come up just fine. > > > > But it still probably won't pick up the devices :( Oh, if life were > > simpler in FreeBSD land. > > > > First off, check that the following lines exist in your kernel config... > > > > device scbus # SCSI bus (required for SCSI) > > device ch # SCSI media changers > > device da # Direct Access (disks) > > device sa # Sequential Access (tape etc) > > device cd # CD > > device pass # Passthrough device (direct SCSI access) > > device ses # SCSI Environmental Services (and > > SAF-TE) device atapicam > > > > Especially important is that last one, as it ain't in the GENERIC > > kernel last I checked. That's the magical beast that'll get it all > > playing. Get that in there and recompile your kernel. You might get > > away with "kldload cam", but I honestly don't know if that's the same > > thing. > > > > Then you'll want to get permissions and links all setup proper every > > time you boot in. Here you'll need to get /etc/devfs.conf all tweaked > > up proper for normal users. > > > > # /etc/devfs.conf > > perm acd0 0666 > > link acd0 cdrom > > link acd0 dvd > > perm pass0 0666 > > perm cd0 0666 > > perm xpt0 0666 > > > > You may want to instead link cd0 to cdrom and dvd, but these settings > > seem to work for me here. > > > > Make sure your /etc/rc.conf has the line... > > > > devd_enable="YES" > > > > This is default in newer versions of FreeBSD. Doesn't hurt to toss it > > in there thought. > > > > The k3b port will have installed cdrdao, but it wouldn't have tweaked > > on it's permissions. This one you'll most likely want to make it suid > > root. Definitely not something you'd want to do on a production > > server box just out of paranoia, but reasonably safe on a desktop. > > > > # As root > > cd /usr/local/bin > > chmod u+s cdrdao > > > > After jumping through all those fun loving hoops, it should work > > shweet. In fact, k3b will automatically add your CD into the device > > list. If k3b didn't put it in there for you, that's a clue that > > something isn't right. > > > > Good luck! > > > > On 4/14/05, Justin R. Pessa <jstn@sdf.lonestar.org> wrote: > > > Allo! > > > > > > I'm having problems trying to get k3b to recognize my CDRW drive. I > > > went to "Settings" > "COnfigure k3b" > "Devices". When I add /dev/acd0 > > > it says "Could not find an additional device at /dev/acd0". Here is the > > > output of dmesg. The system sees the device fine, I folloed the > > > handbook instructions for CDRW setup. > > > > > > acd0: CDRW <TDK CDRW241040X/6.34> at ata1-master PIO4 > > > cd0 at ata1 bus 0 target 0 lun 0 > > > cd0: <TDK CDRW241040X 6.34> Removable CD-ROM SCSI-0 device > > > cd0: 16.000MB/s transfers > > > cd0: cd present [1 x 2048 byte records] > > > > > > $ ls -al /dev/acd0 > > > crw-rw-rw- 1 root jstn 4, 13 Apr 7 22:14 /dev/acd0 > > > > > > I realize this is probably more a k3b problem than a FreeBSD problem, > > > but I feel as though there is something specific to FreeBSD I have > > > either missed or am over looking. > > > > > > Any ideas? > > > > > > Thanks! > > > > > > ._____________________ > > > > > > | Justin R. Pessa > > > | http://jstn.sdf1.org > > > > -- > > "When you come to a fork in the road....Take it" > > - Yogi Berra > > - j > > .__________________________________. > > | Justin R. Pessa - BOFH > | www: http://jstn.sdf1.org > | pgp: http://jstn.sdf1.org/pgp.html > | irc: asdf @ irc.freenode.net > > '
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504220335.24574.danny>