View previous topic :: View next topic |
Author |
Message |
don quixada l33t
Joined: 15 May 2003 Posts: 810
|
Posted: Sun Oct 24, 2004 7:22 pm Post subject: can't burn after installing udev |
|
|
Hi, upgraded my kernel to 2.6 a little while ago. I wasn't having any problems with cd burning and the 2.6 kernel until I installed udev. My current kernel version is 2.6.9-gentoo-r1.
Here's the error message when I do 'cdrecord -scanbus':
Code: |
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
|
Any ideas/help? It would be appreciated since I've been working on this for hours to no avail.
Thanks,
dq |
|
Back to top |
|
|
Bepcyc Tux's lil' helper
Joined: 07 May 2004 Posts: 130 Location: Moscow, Russia
|
Posted: Sun Oct 24, 2004 7:58 pm Post subject: |
|
|
Hi!
Do you see your cd-rom at all?
It's strange if you can see it but can't record. I had the problem that that I didn't see the /dev/cdrom device at all. I added next line to my /etc/udev/rules.d/50-udev.rules:
Quote: | BUS="scsi", SYSFS{vendor}="QSI", SYSFS{model}="CDRW/DVD SBW-242", SYMLINK="cdrom" |
I don't know if it will solve your problem. But you may try it anyway
You may find your vendor and model in /sys:
Quote: |
cat /sys/bus/scsi/devices/0\:0\:0\:0\:/vendor
|
or similiar...
try it and tell me if it helps or not |
|
Back to top |
|
|
don quixada l33t
Joined: 15 May 2003 Posts: 810
|
Posted: Mon Oct 25, 2004 8:29 am Post subject: |
|
|
Now, I'm having major problems for no apparent reason.
I didn't do anything and now I can't boot into my 2.6 kernel (the 2.4 is fine). (Actually, all I did was run the`udev' program and then reboot). I get an error message saying my root partition has a bad superblock. But it doesn't!
I tried adding
in lilo.conf. But it didn't work!
This is getting really annoying! Any suggestions?
thanks so far,
dq |
|
Back to top |
|
|
don quixada l33t
Joined: 15 May 2003 Posts: 810
|
Posted: Tue Oct 26, 2004 8:17 am Post subject: |
|
|
Ok, I finally got udev working!! It involved deleting a file in /dev called .devfsd. Anyway, still can't burn but I haven't tried that thing you suggested.
Thanks,
dq |
|
Back to top |
|
|
forbjok Apprentice
Joined: 21 May 2004 Posts: 207 Location: Hordaland, Norge
|
Posted: Tue Oct 26, 2004 2:51 pm Post subject: |
|
|
don quixada wrote: | Ok, I finally got udev working!! It involved deleting a file in /dev called .devfsd. Anyway, still can't burn but I haven't tried that thing you suggested.
Thanks,
dq |
I don't know whether this is your problem, but CD-burning changed in 2.6.8+ kernels, so you can no longer burn as a normal user. So far, I've found that the best solution is to use
Code: | $ su
- or, if running an X frontend -
$ sux | to become root, and burn.
sux works for k3b at least. (i don't use KDE, but I've found that k3b is still the most complete CD/DVD-burning frontend)
Btw. AFAIK, sux doesn't come with any other package, so if you don't have it already, you'll have to emerge it seperately.
Hope you get it working |
|
Back to top |
|
|
don quixada l33t
Joined: 15 May 2003 Posts: 810
|
Posted: Tue Oct 26, 2004 4:58 pm Post subject: |
|
|
Nope, I added that information (the bus stuff) and I still cannot burn, i.e. my burner is still not detected by gtoaster.
When I do 'cdrecord dev=/dev/hdd -scanbus', I get:
Code: |
Cdrecord-Clone 2.01a28 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J�rg Schilling
scsidev: '/dev/hdd'
devname: '/dev/hdd'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
scsibus1:
1,0,0 100) *
1,1,0 101) 'MATSHITA' 'CD-RW CW-7585 ' '1.04' Removable CD-ROM
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
|
Which looks like no problem. Alternatively, I do 'cdrecord dev=ATAPI -scanbus' I get something slightly different:
Code: |
Cdrecord-Clone 2.01a28 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J�rg Schilling
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.8'.
scsibus0:
0,0,0 0) 'PIONEER ' 'DVD-ROM DVD-105 ' '1.33' Removable CD-ROM
0,1,0 1) 'MATSHITA' 'CD-RW CW-7585 ' '1.04' Removable CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
|
Does this info provide any clue?
Thanks,
dq |
|
Back to top |
|
|
Bepcyc Tux's lil' helper
Joined: 07 May 2004 Posts: 130 Location: Moscow, Russia
|
Posted: Tue Oct 26, 2004 6:27 pm Post subject: |
|
|
try editing /etc/security/console.perms
line might look like
Quote: | <console> 0600 <cdrom> 0660 root.cdrom |
and
Quote: | <console> 0600 <burner> 0660 root.cdrw |
try to change 0660 in second column to 0666
and reboot (I don't know which service you need to restart, guess hotplug) |
|
Back to top |
|
|
don quixada l33t
Joined: 15 May 2003 Posts: 810
|
Posted: Wed Oct 27, 2004 1:39 am Post subject: |
|
|
Ok, thanks to everyone here, I'm making progress. I'm not there yet but it's getting there. This command works for a normal user:
Code: |
cdrecord dev=/dev/hdd -v -dummy "01 aquarela do brasil.mp3"
|
Of course, it will just burn the mp3 and not decode it. I haven't tried it w/o the `-dummy' option, but I'm sure it will work.
Now I'd like to get gtoaster working. Does anyone know how to configure it properly?
Thanks,
dq |
|
Back to top |
|
|
don quixada l33t
Joined: 15 May 2003 Posts: 810
|
Posted: Wed Oct 27, 2004 8:21 am Post subject: |
|
|
Alright, well I fooled around with gtoaster and I finally got it to work! The solution is kinda hoaky IMHO.
There's a setting for the SCSI ID and, from what I gather, the setting is usually something like: 0,1,0. No combination of numbers worked for me-- instead I put '/dev/hdd' there instead and it worked! Weird huh?
Anyway, thanks again for all your help.
dq |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|