LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   Mandrake 9 and cdrecord (https://www.linuxquestions.org/questions/linux-distributions-5/mandrake-9-and-cdrecord-41881/)

n1bug 01-17-2003 09:13 PM

Mandrake 9 and cdrecord
 
I have been reading about others' problems with cdrecord but so far the answers have not solved my problem. This is *really* getting annoying!

I have an LG CD-RW CED-8083B as slave on the scondary IDE conroller (it's hdd). It worked fine in Mandrake 8.1 but will not work since upgrading to 9.0. Here is some info:

HardDrake sees the drive as follows:
Bus: scsi
Location on the bus: 0:3
Capacity: burner
Channel: 0
New devfs device: scsi/host0/bus0/target3/lun0/cd
Old device file: /dev/scd0
host: 0
info: LG CD-RW CED-8083B
lun: 00
Media class: cdrom

But,
cdrecord -scanbus dev=ATAPI:0,0
reports this (in part):
scsibus1:
1,3,0 LG CD-RW CED-8083B

(note scsibus 1, not 0 as HardDrake said)

cdrecord -dummy dev=1,3,0 padsize=600m /dev/null
returns this:
scsidev: 3,0
scsibus: 1 target: 3 lun: 0
No such file or directory.
Cannot open /dev/sg*.
Cannot open SCSI driver.

In /etc/lilo.conf I have the line:
append="devfs=mount hdd=ide-scsi quiet"

which is exactly the same as it was with Mandrake 8.1.

Does anyone have any ideas?????? I'm lost and I miss my CD-RW!!!
:confused:

MasterC 01-17-2003 09:19 PM

can you give us the full:
cdrecord -scanbus

Basically, in the dev=x,x,x section, I am thinkin you might be able to use:
dev=x,x,x,x where there are 4 numbers which correspond to the scanbus.

In the meantime I'll be reading the manpage for ya ;)

<from the man>
Try this:
cdrecord dev=/dev/scdX,x,x,x
Where /dev/scdX refers to whatever device your burner has become. :)

Cool

n1bug 01-17-2003 10:08 PM

Thanks for the reply! Here's some additional info as requested.

cdrecord -scanbus --->

Cdrecord 1.11a32 (i586-mandrake-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.


cdrecord -scanbus dev=ATAPI:0,0 --->

Cdrecord 1.11a32 (i586-mandrake-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
scsidev: 'ATAPI:0,0'
devname: 'ATAPI'
scsibus: 0 target: 0 lun: 0
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.6'
scsibus0:
cdrecord: Warning: controller returns wrong size for CD capabilities page.
0,0,0 0) 'COMPAQ ' 'CD-ROM LTN403 ' 'DQ24' 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) *
scsibus1:
1,0,0 100) *
1,1,0 101) *
1,2,0 102) *
1,3,0 103) 'LG ' 'CD-RW CED-8083B ' '1.10' Removable CD-ROM
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *


Anything with credcord dev=/dev/scd0/1,3,0 --->

Cdrecord 1.11a32 (i586-mandrake-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
cdrecord: Invalid argument. Invalid bus or target specifier in '/dev/scd0,1,3,0'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.

Of course I did this all as root. :)

trickykid 01-18-2003 09:10 AM

And I'm assuming you have scsi emulation enabled.

Try adding this to your lilo.conf file if your using lilo to boot with:

append="hdd=ide-scsi"

If your using grub, check the man pages or such on how to add scsi emulation. Let us know if you have this or not. Cause to me it appears you don't have it enabled.

MasterC 01-18-2003 03:26 PM

Re: Mandrake 9 and cdrecord
 
Quote:

Originally posted by n1bug
In /etc/lilo.conf I have the line:
append="devfs=mount hdd=ide-scsi quiet"

blah,blah

It appears he does have it in there...

What does ls -l /dev/scd0 and ls -l /dev/sr0 show?

n1bug 01-18-2003 04:09 PM

Let's find out... :)

ls -l /dev/scd0
lr-xr-xr-x 1 root root 31 Jan 18 11:54 /dev/scd0 -> scsi/host0/bus0/target0/lun0/cd

ls -l /dev/sr0
lr-xr-xr-x 1 root root 4 Jan 18 11:54 /dev/sr0 -> scd0

MasterC 01-18-2003 05:10 PM

lr-xr-xr-x 1 root root 31 Jan 18 11:54 /dev/scd0 -> scsi/host0/bus0/target0/lun0/cd

And

New devfs device: scsi/host0/bus0/target3/lun0/cd (from HardDrake)

Aren't matching for you. I'd see about making a new symlink with:
ln -sf /dev/scsi/host0/bus0/target3/lun0/cd /dev/scd0

Then try your cdrecording again. This is just a hunch though since I've got no real huge experience with DevFS

Good Luck

n1bug 01-19-2003 07:15 AM

Quote:

Originally posted by MasterC
lr-xr-xr-x 1 root root 31 Jan 18 11:54 /dev/scd0 -> scsi/host0/bus0/target0/lun0/cd

And

New devfs device: scsi/host0/bus0/target3/lun0/cd (from HardDrake)

Aren't matching for you

Thanks, I'll try the symlink idea. But now I'm really curious... where does cdrecord -scanbus:ATAPI finding the correct drive at scsibus1,1,3,0 fit into all this? Am I just beeing a NOOB, or is that yet a third set of numbers sneaking in here?


All times are GMT -5. The time now is 10:59 AM.