Kenneth Payne wrote:
By the way cdrecord -scanbus as user still produces
cdrecord: No such file or directory. Cannot open SCSI driver. cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root. cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
If cdrecord is running suid, shouldn't it produce the same output as it does for root?
Best wishes
- Ken
I am still convinced that the problem comes from cdrecord permissions. Have you tried upgrading to the latest available version for SuSE (http://packman.links2linux.org/?action=316)? Second, I remember a thread a couple of weeks ago started by Viktor, eloquently titled "cdrecord and damn pg1" in which he seemed to be having the very same problem you are having. I've copied and pasted from lists.suse.com:
rom: Viktor <viktor@valamo.fi> Subject: Re: [SLE] cdrecord and damn pg1 [SOLVED] (sort of...)
Viktor wrote: /> / /> I just installing suse9, swiching from rh7.x. / /> / /> Some things is quite annoying. This is one, which I cannot find solution. / /> / /> Cdrecord, when I run cdrecord --scanbus, it find my recorder and cd-player. / /> / /> But, when I try make cd's, cdrecord woes "cdrecord: Permission denied. / /> Cannot open '/dev/pg1'. Cannot open SCSI driver." / /> / /> I have scsi-only -machine, all necessary modules is loaded and / /> permissions is right. / /> / /> Why cdrecord wants open /dev/pg1, all pg* -devices is parallel-port / /> things. / /> / /> Anyone, solution for this? /
Okay, I have solution, but this is not easy for less experienced users.
I build new cdrecord, mkisofs, cdda2waw and cdrecord-devel packages an another machine, which is RH8 installed.
Now works just I expect.
source: http://lists.suse.com/archive/suse-linux-e/2003-Nov/0757.html Third, google found this on linuxquestions:
Hi All,
i have Slackware 9.0 installed. i don't use LILO or anything like that. i have a boot diskette (got WinXP on another partition).
obviously this makes the boot process quite slow, and i'm a bit scared the diskette might get ruined some day. i decided to build a startup CD-ROM. got the images ready and all, but can't write to CD.
first when i go "cdrecord -scanbus" at the CLI, i get a message that says cannot open "/dev/pg*".
i tried "cdrecord dev=ATAPI -scanbus" i discovered that my CDRW device is listed as device 0,1,0.
Help please. thanks.
and the solution:
Cerbere You may or may not have to pass hdd=ide-scsi. Since cdrecord dev=ATAPI -scanbus finds your burner, and shows it as 0,1,0; you may be able to burn with a command similar to this:
cdrecord -v speed=[speed of burner] dev=ATAPI:1,0 -data [name of iso image]
On my system, cdrecord dev=ATAPI -scanbus shows that my burner is 0,0,0 and so this is the exact command I use to burn iso images to disk:
cdrecord -v speed=16 -overburn driveropts=burnfree dev=ATAPI:0,0 -pad -data [name of iso image]
Enjoy! --- Cerbere ghambis Thanks Cerbere, your method actually worked.
cheers all!!
source: http://www.linuxquestions.org/questions/archive/14/2003/09/4/95895 fx -- ______________________ Courtesy of SuSE Linux http://www.nibz.org