From: John-Paul Stewart on
Q wrote:
>
> IlSat, 16 Dec 2006 20:31:19 +0100, Maciej Piechotka ha scritto:
>
>> I have pata driver under libata driver. My disk works better. Hibernation
>> works (on old suspend2 hangs).
>>
>> However I tried to burn dvd:
>>
>> % cdrecord dev=/dev/sr0
> No. /dev/scd0 .

Still not right.

/dev/sr0 and /dev/scd0 or two different names for the (read-only) SCSI
CD-ROM devices. You can't burn a CD through that device. The OP needs
to use one of the /dev/sgX generic SCSI device nodes to write. The
proper value for X depends on what other SCSI (or pseudo-SCSI) hardware
he has. It could be /dev/sg0 if this is the only device that's treated
as SCSI. It could be /dev/sg1 if there's a SATA or SCSI hard drive in
the system, or ....

Better still might be to use 'cdrecord -scanbus' to get a list of
devices and then use 'cdrecord dev=X,Y,Z' where X,Y,Z are the bus
identification numbers for the drive from the output of the scanbus
operation. That removes all guesswork from the device naming scheme.
From: John-Paul Stewart on
Q wrote:
> IlSat, 16 Dec 2006 15:29:42 -0500, John-Paul Stewart ha scritto:
>
>
>>>> However I tried to burn dvd:
>>>>
>>>> % cdrecord dev=/dev/sr0
>>> No. /dev/scd0 .
>> Still not right.
>>
>> /dev/sr0 and /dev/scd0 or two different names for the (read-only) SCSI
>> CD-ROM devices. You can't burn a CD through that device.
> BS. Of course you can:
> ls -la
> /dev/dvd -> scd0
>
> and it works, of course.

That's not at all what the man page says:

"The device is the device file offered by the operating system to access
the recorder. On Linux systems it is usually [...] /dev/sg... for SCSI
based defices. Note that sg... devices represent the access trough the
SCSI GENERIC interface and therefore the differ from the device files
generally used to open block devices (/dev/scd... or /dev/sr...)."

Have you got any proof of your assertion that using /dev/scd0 works for
burning?
From: Maciej Piechotka on
On Sat, 16 Dec 2006 15:29:42 -0500, John-Paul Stewart wrote:

> Q wrote:
>>
>> IlSat, 16 Dec 2006 20:31:19 +0100, Maciej Piechotka ha scritto:
>>
>>> I have pata driver under libata driver. My disk works better. Hibernation
>>> works (on old suspend2 hangs).
>>>
>>> However I tried to burn dvd:
>>>
>>> % cdrecord dev=/dev/sr0
>> No. /dev/scd0 .
>
> Still not right.
>
> /dev/sr0 and /dev/scd0 or two different names for the (read-only) SCSI
> CD-ROM devices. You can't burn a CD through that device. The OP needs
> to use one of the /dev/sgX generic SCSI device nodes to write. The
> proper value for X depends on what other SCSI (or pseudo-SCSI) hardware
> he has. It could be /dev/sg0 if this is the only device that's treated
> as SCSI. It could be /dev/sg1 if there's a SATA or SCSI hard drive in
> the system, or ....
>
> Better still might be to use 'cdrecord -scanbus' to get a list of
> devices and then use 'cdrecord dev=X,Y,Z' where X,Y,Z are the bus
> identification numbers for the drive from the output of the scanbus
> operation. That removes all guesswork from the device naming scheme.

It shows nothing:
% cdrecord -scanbus
Cdrecord-ProDVD-Clone 2.01.01a20 (i686-pc-linux-gnu) Copyright (C) 1995-2006 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: For possible transport specifiers try 'cdrecord dev=help'.

Result is the same when I use traditional PATA drivers. However it used to
work (few weeks ago).

Regards

PS.
May be I have no support for writing on CD/DVD. Is anything needed except
SCSI CD-Rom support?

Regards

--
I've probably left my head... somewhere. Please wait untill I find it.
Homepage (pl_PL): http://uzytkownik.jogger.pl/
(GNU/)Linux User: #425935 (see http://counter.li.org/)
From: John-Paul Stewart on
Q wrote:
> IlSat, 16 Dec 2006 19:36:34 -0500, John-Paul Stewart ha scritto:
>
>
>>>>>> However I tried to burn dvd:
>>>>>>
>>>>>> % cdrecord dev=/dev/sr0
>>>>> No. /dev/scd0 .
>>>> Still not right.
>>>>
>>>> /dev/sr0 and /dev/scd0 or two different names for the (read-only) SCSI
>>>> CD-ROM devices. You can't burn a CD through that device.
>>> BS. Of course you can:
>>> ls -la
>>> /dev/dvd -> scd0
>>>
>>> and it works, of course.
>
>> Have you got any proof of your assertion that using /dev/scd0 works for
>> burning?
> Do you have problems with plain english? IT WORKS.

So you say. But the author of the man page says otherwise. So who am I
supposed to believe?

All I did was quote that man page. If you have a problem with that,
take it up with the author of the man page, not me!

(FWIW, I always use the dev=X,Y,Z format for specifying SCSI devices
since that is IMHO least ambiguous way of specifying a device---at least
for real SCSI ones---and IIRC that was the only form available when I
started using cdrecord.)
From: John-Paul Stewart on
Q wrote:
> 2) The fact that the device is read-only for a burner is meaningless:
> man growisofs -> EXAMPLES

Who said anything about growisofs?? The OP specifically mentioned cdrecord!