You are not logged in.

#1 2005-02-05 09:57:40

nggalai
Member
From: Switzerland
Registered: 2004-08-01
Posts: 215
Website

cdrecord -scanbus doesn't find burner--udev issue?

Hi there,

I just tried to burn my weekly backup, but xcdroast was complaining it couldn't find any devices. So I tried the different scanbus options as root:

# cdrecord -scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.10-as2-ARCH
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
cdrecord: No such file or directory. Cannot open '/dev/pg*'. 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'.
# cdrecord dev=ATAPI -scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.10-as2-ARCH
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
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'.

I'm running the stock Arch 2.6.10 kernel.

Now, burning worked just fine last week. Since then, I updated udev, and I had quite a few issues getting my optical drives to work properly again (DVD couldn't be read and whatnot). But I'm at a loss where I should start looking for a solution for this problem. Any hints or ideas what's wrong now?

93,
-Sascha.rb

Offline

#2 2005-02-05 10:12:42

nggalai
Member
From: Switzerland
Registered: 2004-08-01
Posts: 215
Website

Re: cdrecord -scanbus doesn't find burner--udev issue?

O ... K ... just re-installed cdrecord, now it works ... as root, but no burning as user. What the hell? ???

93,
-Sascha.rb

Offline

#3 2005-02-05 19:22:12

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: cdrecord -scanbus doesn't find burner--udev issue?

same for me, can only burn as root,


arch + gentoo + initng + python = enlisy

Offline

#4 2005-02-05 19:27:05

Victor
Member
From: Zaragoza/ESPAÑA (Spain)
Registered: 2005-01-27
Posts: 23

Re: cdrecord -scanbus doesn't find burner--udev issue?

Hi!
I think the problem is that cdrecord is run as suid; you should change it, otherwise it will fail to burn a cdrom as a normal user.
My cdrecord permissions look like:

$ ls -l /usr/bin/cdrecord
-rwxr-xr-x  1 bin bin 324124 2005-01-03 23:15 /usr/bin/cdrecord

...and I have no problems to burn a cdrom as a normal user.


http://aur.archlinux.org
[code][Victor]
Server = http://personales.ya.com/vmromanos/arch/pkgs
[/code]
http://vmromanos.homelinux.net/foro

Offline

#5 2005-02-05 19:32:58

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: cdrecord -scanbus doesn't find burner--udev issue?

my permissions are the same as yours' , it must be something with udev,


arch + gentoo + initng + python = enlisy

Offline

#6 2005-02-05 21:44:35

Victor
Member
From: Zaragoza/ESPAÑA (Spain)
Registered: 2005-01-27
Posts: 23

Re: cdrecord -scanbus doesn't find burner--udev issue?

OK, can you post the cd burner permissions?
Are your user into the right group?


http://aur.archlinux.org
[code][Victor]
Server = http://personales.ya.com/vmromanos/arch/pkgs
[/code]
http://vmromanos.homelinux.net/foro

Offline

#7 2005-02-05 22:46:53

JGC
Developer
Registered: 2003-12-03
Posts: 1,659

Re: cdrecord -scanbus doesn't find burner--udev issue?

You need to be in the optical group to burn CDs. SUID no longer works with newer kernels.

Offline

#8 2005-02-06 01:25:08

miqorz
Member
Registered: 2004-12-31
Posts: 475

Re: cdrecord -scanbus doesn't find burner--udev issue?

I find it absolutely hillarious how fast people point the blame on udev when situations like this arise.. You know. Instead of at themselves.  wink


http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#9 2005-02-06 07:38:49

nggalai
Member
From: Switzerland
Registered: 2004-08-01
Posts: 215
Website

Re: cdrecord -scanbus doesn't find burner--udev issue?

miqorz wrote:

I find it absolutely hillarious how fast people point the blame on udev when situations like this arise.. You know. Instead of at themselves.  wink

Well, it was the only thing I updated in that week, and as it stopped working during the week ... you get the idea. wink

I still haven't figured out why cdrecord stopped working. *shrug* It works now, so, eh.

93,
-Sascha.rb

Offline

#10 2005-02-06 07:46:45

miqorz
Member
Registered: 2004-12-31
Posts: 475

Re: cdrecord -scanbus doesn't find burner--udev issue?

Sorry if I made it sound as if I was being harsh or pointing the finger at you.

There are just too many misconceptions about /dev systems.

I think Arch is starting to have one of the better default udev systems yet.

I noticed the newer packages came with a script to assign cdrom system links. Something I allways did by hand.

Kudos to the udev maintainer. (Probably Judd)


http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#11 2005-02-06 07:58:07

nggalai
Member
From: Switzerland
Registered: 2004-08-01
Posts: 215
Website

Re: cdrecord -scanbus doesn't find burner--udev issue?

Na, no offence taken. It's typical for me to search for a solution to a problem for hours, finally posting a question on the boards just to stumble over a very easy solution (e.g. re-installing the cd burning tools) minutes later. It always makes me feel stupid. wink

I'm very happy with Arch's udev implementation indeed. Had hardly any problems switching from devfs, and the wiki helped lots with permissions and whatnot.

Question, though--as suid doesn't seem to work for cdrecord any longer, how can users burn CDROM with nautilus-cdwriter? It's not a real problem with xcdroast (thanks to its wrapper, if that doesn't work just start it with sudo), but how to get it working for nautilus?

93,
-Sascha.rb

Offline

#12 2005-02-06 08:19:52

miqorz
Member
Registered: 2004-12-31
Posts: 475

Re: cdrecord -scanbus doesn't find burner--udev issue?

Add yourself to the optical group and log out then re-login.

Burning as your user should work fine then.


http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#13 2005-02-06 08:33:12

nggalai
Member
From: Switzerland
Registered: 2004-08-01
Posts: 215
Website

Re: cdrecord -scanbus doesn't find burner--udev issue?

Well, the user is in the optical group, but CD writing hangs at the "Creating CD image" stage. CPU load goes up to 100%, nothing is written. When hitting "cancel", the error message is "File image creation failed - Incorrectly named files were to be added to the CD".

I don't suppose it's a cdrecord problem. Is there something like a wiki for setting up nautilus-cd-burner?

93,
-Sascha.rb

Offline

#14 2005-02-06 13:50:52

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: cdrecord -scanbus doesn't find burner--udev issue?

still doesn't work for me as user,
it complains about 'can't allocate memory'

it must be udev,  tongue


arch + gentoo + initng + python = enlisy

Offline

#15 2005-02-06 13:57:18

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: cdrecord -scanbus doesn't find burner--udev issue?

miqorz wrote:

I find it absolutely hillarious how fast people point the blame on udev when situations like this arise.. You know. Instead of at themselves.  wink

it is devfs syndrome maybe? I remember devfs getting blamed for everything from buggered permissions to the assassination of Kennedy.


AKA uknowme

I am not your friend

Offline

#16 2005-02-07 03:24:11

miqorz
Member
Registered: 2004-12-31
Posts: 475

Re: cdrecord -scanbus doesn't find burner--udev issue?

You have a point there sarah,

I may like udev more than devfs, But I never understood this EXTREME hate of the damn thing.


http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#17 2005-02-13 10:56:57

alexthelion
Member
From: Switzerland
Registered: 2004-03-06
Posts: 117

Re: cdrecord -scanbus doesn't find burner--udev issue?

nggalai wrote:

I don't suppose it's a cdrecord problem. Is there something like a wiki for setting up nautilus-cd-burner?

Your're right - it's not: http://bugs.archlinux.org/index.php?do=details&id=2148

Offline

Board footer

Powered by FluxBB