LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 01-17-2003, 09:13 PM   #1
n1bug
LQ Newbie
 
Registered: Jan 2002
Distribution: Mandrake 9.0
Posts: 6

Rep: Reputation: 0
Angry 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!!!
 
Old 01-17-2003, 09:19 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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

Last edited by MasterC; 01-17-2003 at 09:23 PM.
 
Old 01-17-2003, 10:08 PM   #3
n1bug
LQ Newbie
 
Registered: Jan 2002
Distribution: Mandrake 9.0
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
Old 01-18-2003, 09:10 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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.
 
Old 01-18-2003, 03:26 PM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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?
 
Old 01-18-2003, 04:09 PM   #6
n1bug
LQ Newbie
 
Registered: Jan 2002
Distribution: Mandrake 9.0
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
Old 01-18-2003, 05:10 PM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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
 
Old 01-19-2003, 07:15 AM   #8
n1bug
LQ Newbie
 
Registered: Jan 2002
Distribution: Mandrake 9.0
Posts: 6

Original Poster
Rep: Reputation: 0
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cdrecord CrEsPo Slackware 7 05-01-2005 12:16 PM
Cdrecord... Linux~Powered Linux - Software 16 11-24-2004 12:13 AM
cdrecord Pedroski Linux - Software 4 02-20-2004 11:15 AM
cdrecord help shanenin Linux - Software 1 11-23-2003 08:51 PM
cdrecord fonglun Linux - General 1 01-04-2002 06:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 12:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration