LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   2.6.15.6, scsi burner, cdrecord won't see drive (https://www.linuxquestions.org/questions/slackware-14/2-6-15-6-scsi-burner-cdrecord-wont-see-drive-424273/)

ardya 03-12-2006 09:41 PM

2.6.15.6, scsi burner, cdrecord won't see drive
 
I've just compiled 2.6.15.6, and having spent a bit getting alsa to work, I'm now testing my scsi cd burner. cdrecord in slack 10.2 doesn't seem to like 2.6, and won't see my drive. device nodes cdrecord looks for don't exist in /dev, and cdrecord doesn't permit naming devices by name (/dev/sr0 is the only device for scsi cdrom when I mount a data cd on it). Overall I havent been impressed with the whole udev thing, and having always used a 2.4 kernel previously, I had to enable all kinds of things in init scripts that I didn't need/use in 2.4 JUST to make alsa work, and now this with cdrecord. Never used devfs either.

Anyway, when I specify the device for cdrecord dev=0,4,0, I get an error about using a 2.6 kernel, and /dev/pg4 not existing, tried dev=sg, no go.

cdrecord -scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.15.6
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'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

Ideas on getting this to work?

rkrishna 03-12-2006 10:50 PM

Welcome To Slackware Forum
 
Welcome to LQ and slack forum
Quote:

cdrecord in slack 10.2 doesn't seem to like 2.6
it is not like that since 2.6 is testing, this message wil b there, hope, not the problem with cdrecord in slack
Quote:

I'm now testing my scsi cd burner
so u have a scsi burner, not an atapi device
can u please go through the "dmesg" output, and post "dmesg |grep CD"
for an atapi cdrom this error appears, if u havent enabled the scsi emulation.
since it s a custom made kernel u may missing something with scsi support
are u sure u enabled the scsi cdrom support in scsi device support while u compile ur kernel
go through the "device driver and filesystem" sections while compiling kernel

ardya 03-13-2006 11:49 AM

Quote:

Originally Posted by rkrishna
Welcome to LQ and slack forum
it is not like that since 2.6 is testing, this message wil b there, hope, not the problem with cdrecord in slack
so u have a scsi burner, not an atapi device
can u please go through the "dmesg" output, and post "dmesg |grep CD"
for an atapi cdrom this error appears, if u havent enabled the scsi emulation.
since it s a custom made kernel u may missing something with scsi support
are u sure u enabled the scsi cdrom support in scsi device support while u compile ur kernel
go through the "device driver and filesystem" sections while compiling kernel

The problem was simply a case of the sg module not being loaded. Curious, why didn't it autoload when a syscall to scsi generic was made, this was how it worked in 2.4.
I've noticed this behaviour with a few other modules, they dont autoload as they did in 2.4. And the lack of syslog reporting by said syscalls makes it more difficult to know WHAT module was called for....I'll have to poke around modprobe.conf I guess....thanks anyway!


All times are GMT -5. The time now is 07:06 AM.