Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cdrdao error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
zendmaster
Apprentice
Apprentice


Joined: 06 Nov 2003
Posts: 204
Location: Tisdale, Saskatchewan, Canada

PostPosted: Sat Dec 13, 2003 1:44 am    Post subject: cdrdao error Reply with quote

I'm trying to get cdrdao working. Xcdroast works.

I get the following error.
ERROR: Cannot open SCSI device '0,1,0': Cannot open '/dev/pg1'
ERROR: Please use option '--device bus,id,lun', e.g. --device 0,6,0
ERROR: Cannot setup device 0,1,0.

Yet in Xcdroast 0,1,0 is the listing for my cdrecorder. Any ideas?

Also when I run 'cdrdao scnbus' it doesn't return any info.
Back to top
View user's profile Send private message
zendmaster
Apprentice
Apprentice


Joined: 06 Nov 2003
Posts: 204
Location: Tisdale, Saskatchewan, Canada

PostPosted: Mon Dec 15, 2003 8:42 pm    Post subject: Followup Reply with quote

I got it working by adding hdd=ide-scsi parameter to my grub.conf file. Just in case anyone else runs into the same problem.
Back to top
View user's profile Send private message
blaksaga
Guru
Guru


Joined: 19 May 2003
Posts: 461
Location: Omaha, NE, USA

PostPosted: Wed Jan 21, 2004 3:56 am    Post subject: Reply with quote

I get the same thing

Code:

ERROR: Cannot open SCSI device '0,0,0': Cannot open '/dev/sg0'
ERROR: Please use option '--device bus,id,lun', e.g. --device 0,6,0
ERROR: Cannot setup device 0,0,0.


Code:

localhost root # cdrdao scanbus
Cdrdao version 1.1.7 - (C) Andreas Mueller <andreas@daneb.de>
  SCSI interface library - (C) Joerg Schilling
  Paranoia DAE library - (C) Monty
 
Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.
 
Using libscg version 'andreas-0.5-UNIXWARE_Patch'
 
0,0,0: TDK, CDRW401240B, Z7SD


cdrecord comes up with the same thing

Code:

localhost root # cdrecord --scanbus
Cdrecord 2.01a14 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jrg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
scsibus0:
        0,0,0     0) 'TDK     ' 'CDRW401240B     ' 'Z7SD' Removable CD-ROM
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *


hdc=ide-scsi is in my grub.conf. Still doesn't seem to work. :(

/dev/sg0 exists

Any ideas????
Back to top
View user's profile Send private message
blaksaga
Guru
Guru


Joined: 19 May 2003
Posts: 461
Location: Omaha, NE, USA

PostPosted: Wed Jan 21, 2004 4:00 am    Post subject: Reply with quote

Alright seems to work under ROOT. Must be a permissions problem!?!? Anybody know how to make it work as a user?
Back to top
View user's profile Send private message
blaksaga
Guru
Guru


Joined: 19 May 2003
Posts: 461
Location: Omaha, NE, USA

PostPosted: Wed Jan 21, 2004 5:10 am    Post subject: Reply with quote

Easy fix...just changed the permissions. For anybody else who has the same question here is the solution:

Code:

chown root:root /usr/bin/cdrdao
chmod 4711 /usr/bin/cdrdao
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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