public inbox for blinux-list@redhat.com
 help / color / mirror / Atom feed
* Re: cdrecord and Sony IDE Drives
@  Martin McCormick
  0 siblings, 0 replies; 5+ messages in thread
From: Martin McCormick @  UTC (permalink / raw)
  To: blinux-list

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1737 bytes --]

	Here is the exact command I send taken from a script that
works on the one system that now does record

mkisofs -l -R -q /home/martin/dsp |cdrecord -v -dev=0,0,0 -dummy  -

	The dummy flag just makes it run without actually turning
on the laser for writing.  The working system goes through all
the steps while the system still having problems complains about
/dev/pg0 and gives up.

scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
cdrecord: No such file or directory. Cannot open '/dev/pg0'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
TOC Type: 1 = CD-ROM

	I also read a very good followup question on this list.
I forgot to mention all the important details.

	First, the output of the tests:

cat /proc/scsi/scsi

Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: SONY     Model: CD-RW  CRX100E   Rev: 1.0m
  Type:   CD-ROM                           ANSI SCSI revision: 02
CD-ROM information, Id: cdrom.c 3.12 2000/10/18

cat /proc/sys/dev/cdrom/info

drive name:		sr0
drive speed:		24
drive # of slots:	1
Can close tray:		1
Can open tray:		1
Can lock tray:		1
Can change speed:	1
Can select disk:	0
Can read multisession:	1
Can read MCN:		1
Reports media changed:	1
Can play audio:		1
Can write CD-R:		1
Can write CD-RW:	1
Can read DVD:		0
Can write DVD-R:	0
Can write DVD-RAM:	0



	The kernel is the 2.4.19 version.

"Willem van der Walt<vdwaltw@health.gov.za>" writes:
>when starting cdrecord, do you specify dev=x,x,x giving the scsi 
>parameters
>for the sony or do you use a device?
>If cdrecord is using some default it can maybe do something like what you
>are getting.




^ permalink raw reply	[flat|nested] 5+ messages in thread
* cdrecord and Sony IDE Drives
@  Martin McCormick
   ` Abhishek Kaul
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Martin McCormick @  UTC (permalink / raw)
  To: blinux-list

	I upgraded to Linux3.0 this Summer and my ability to
record CD's using SCSI emulation died on two different systems.
On one system, I finally got it working with some help, but it
does work again like it should.  It turns out that you must
enable SCSI emulation in your kernel which is no big surprise.
You also must enable CDROM support even though your CDRW drive is
an IDE drive, and you must also enable generic SCSI support.

	That fixed things for that system.

	My work station at my job location seems very similar in
that it is a Dell Dimension series system only slightly newer
than the one I got back to good health again.  Its IDE drive is a
Sony drive but is otherwise a normal IDE device.  After I did the
same three things to that system, it showed all the correct test
results one can look for.  If, for example, you type

cat /proc/scsi/scsi, you will get a listing of all the SCSI
devices you have.  I see the CDRW drive and it also shows up
properly in a second test one can run that will make your system
output a little form which describes your CDRW drive and its
capabilities.

	At this point, both systems behave the same way.

	The trouble comes any time I want to use cdrecord on the
system with the Sony drive.

	Cdrecord starts out normally and then fails with an error
saying that it can't find /dev/pg0.  /dev/pg0 is the first
parallel port SCSI device.  I could certainly build a new kernel
with parallel SCSI support, but is this really necessary?  The
CDRW drive connects to an IDE controller, not the Printer port.

	I am confused.  That system does appear to be otherwise
quite functional.

Martin McCormick




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 cdrecord and Sony IDE Drives Martin McCormick
  -- strict thread matches above, loose matches on Subject: below --
 Martin McCormick
 ` Abhishek Kaul
 ` Willem van der Walt<vdwaltw@health.gov.za>
 ` Wojtek Pilorz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).