Hello, I've written sone days ago about a compilation
problem, now I've downloaded new kernel and recompiled
all and all the procedure goes well, THANKS.
Now i've tried to format a CDRW with cdrwtool but
something goes wrong.
I typed:cdrwtool -d /dev/scd0 -q -t 4
I've a Yamaha 8x4x24x CRDW drive (SCSI) so I've added
the -t 4 option.
Output of command:
using device /dev/scd0
setting speed to 4
3098KB internal buffer
setting write speed to 4x
Settings for /dev/scd0:
Fixed packets, size 32
Mode-2 disc
I'm going to do a quick setup of /dev/scd0. The disc is
going to be blanked and formatted with one big track.
All data on the device will be lost!! Press CTRL-C to
cancel now.
ENTER to continue.
Initiating quick disc blank
The unit becomes blinking and erasing my CDRW so I was
very happy but after two SCSI reset occours the next
message appeared:
wait_cmd: No medium found
Command failed: a1 01 00 00 00 00 00 00 00 00 00 00 -
sense 02.04.01
blank disc: Illegal seek
BUUUUUU :_(
Why the command had failed?
In the firs time I've thought that the guilt had to be
chargeed to the fact that I don't bind /dev/scd0 to
/dev/pktcdvd0, so I typed:
pktsetup -d /dev/pktcdvd0 /dev/scd0
the result was:
open packet device: No such device or address
But /dev/pktcdvd0 and /dev/scd0 exist and pktcdvd0 is
listad as:
brw-r--r-- 1 root root 97, 0 feb 19 21:07
pktcdvd0
So what's wrong?
Thanks for Your help.
Logged In: YES
user_id=518
It sounds like you don't have the pktcdvd patch applied to
your running kernel. Any long command (blank, format, etc)
will timeout without the pktcdvd patch, causing bus resets,
etc.
Logged In: YES
user_id=338012
I've already done make apply (I use 2.4 kernel), there is
another thing to do?
Logged In: YES
user_id=518
You have to grab the pktcdvd patch (not the udf patch) for
cdrwtool to work correctly. Patches are available from:
http://w1.894.telia.com/~u89404340/patches/packet/ for
recent 2.4 kernels.