Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SCSI CD-RW
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
major_tom
n00b
n00b


Joined: 11 Dec 2002
Posts: 8
Location: Manchester, UK

PostPosted: Wed Dec 11, 2002 9:21 am    Post subject: SCSI CD-RW Reply with quote

Hi - been using Gentoo for a few months now and this is the first time I've had a problem no-one else has already answered on these forums :-)

I have a real SCSI cd writer, and IDE hard disks and DVD. I'm using devfs and can mount both the DVD and CDr without any problems.

Devfs has created a /dev/cdrw entry for me, but there is no /dev/pg* (although there is a /dev/sg0 which symlinks to the non-existant /dev/pg0) so cdrecord won't work.

I have seen mentions of the cdrecord "Cannot open '/dev/pg*'" error in several places, however it always seemed to be an idescsi problem which I'm not using.

Any ideas?

Ta, mt
Back to top
View user's profile Send private message
KiTaSuMbA
Guru
Guru


Joined: 28 Jun 2002
Posts: 430
Location: Naples Italy

PostPosted: Wed Dec 11, 2002 10:27 am    Post subject: Reply with quote

Have you enabled "general scsi" support in your kernel? Does cdrecord -scanbus report your device?
_________________
Need to flame people LIVE on IRC? Join #gentoo-otw on freenode!
Back to top
View user's profile Send private message
major_tom
n00b
n00b


Joined: 11 Dec 2002
Posts: 8
Location: Manchester, UK

PostPosted: Wed Dec 11, 2002 10:45 am    Post subject: Reply with quote

Hi KiTaSuMbA

I have "SCSI support", "SCSI disk support", "SCSI CD-ROM support", "SCSI generic support" and the Advansys driver all compiled into the kernel (I did try with modules too).

cdrecord -scanbus gives:

Cdrecord 1.11a33 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
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.

Thanks, MT
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Wed Dec 11, 2002 2:29 pm    Post subject: Reply with quote

Have you seen this thread ?
Back to top
View user's profile Send private message
major_tom
n00b
n00b


Joined: 11 Dec 2002
Posts: 8
Location: Manchester, UK

PostPosted: Wed Dec 11, 2002 4:31 pm    Post subject: Reply with quote

Bloody Bastard wrote:
Have you seen this thread ?


Yeah - that was the one I meant about idescsi - this is on a real SCSI drive and I've compiled in everything in the SCSI section that the thread mentions. :-(
Back to top
View user's profile Send private message
qnx
l33t
l33t


Joined: 25 Jun 2002
Posts: 638
Location: Göteborg, Sweden

PostPosted: Wed Dec 11, 2002 8:57 pm    Post subject: Reply with quote

Since you have SCSI writer, you don't need to compile scsi-ide.... But I think you haven't.
I had same problem, with IDE writer, of cuz :D
But after compiling in Other vendor extension or something like this in SCSI section me writer works.
Oh! Check in your dmesg if it finds the SCSI device!
_________________
Registred Linux user #191143!
Abit NF7-S rev. 2.00 (BIOS v. 2.7)
AMD AthlonXP 2500+ (Barton)
PATA Seagate ST3120022A
SATA Seagate ST3200822AS & Silicon Image 3112 chipset
Gentoo Linux :)
Back to top
View user's profile Send private message
ronmon
Veteran
Veteran


Joined: 15 Apr 2002
Posts: 1043
Location: Key West, FL

PostPosted: Thu Dec 12, 2002 1:52 am    Post subject: Reply with quote

Hmm, /dev/pg0? I have an all SCSI machine and nary a pg* device in sight (that would be parallel generic, probably). My /dev/sg3, on the other hand, is a link to scsi/host2/bus0/target2/lun0/generic, which is the actual device. Look at the links in /dev/cdroms and see where those point.

Since you can mount the drive, it is unlikely to be a problem with the kernel. My guess is that something is wrong in /etc/devfsd.conf. There are some good examples in the original file that can be customized to suit your setup. Here are a few lines from mine that may help.

Code:

REGISTER        ^scsi/host2/bus0/target2/lun0/generic$  PERMISSIONS root.cdrw   660
REGISTER        ^cdr$                                   PERMISSIONS root.cdrw   660

LOOKUP          ^cdr$           CFUNCTION GLOBAL mksymlink cdroms/cdrom0 cdr
REGISTER        ^cdroms/cdrom0$ CFUNCTION GLOBAL mksymlink $devname cdr
UNREGISTER      ^cdroms/cdrom0$ CFUNCTION GLOBAL unlink cdr
Back to top
View user's profile Send private message
major_tom
n00b
n00b


Joined: 11 Dec 2002
Posts: 8
Location: Manchester, UK

PostPosted: Thu Dec 12, 2002 12:05 pm    Post subject: Reply with quote

Thanks everyone for their suggestions! For some reason it works with scsi generic compiled as a module, but not compiled into the kernel. I thought I had already tried that previously but I guess not.

Thanks again,
MT
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Wed Jan 08, 2003 3:42 pm    Post subject: Reply with quote

Just to help other, who are confronted with this problem. Disabling scsi emulation support in the kernel is another way solve the problem.


Carlo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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