On Wednesday 17 Mar 2004 08:25, ke chen wrote:
hi all,
It's quite a while since I set up packet writing on my system so this may not be correct but, since we have a 2.4.x kernel, doesn't scsi emulation (ide-scsi) come into play somewhere? Regards Chris
I followed the document on http://linuxfromscratch.org/pipermail/hints/2002-August/001207.html and tried to carry on packet writting, but failed even when making disk quick setup.
my cd writer: CD-W224EA, ATAPI CD/DVD-ROM drive linux kernel 2.4.23
download the patch packet-2.4.23.patch.bz2 from http://w1.894.telia.com/~u89404340/patches/packet/2.4/
compile the kernel with options: Packet writing on CD/DVD media UDF files systems support (read only) UDF write support (DANGEROUS)
after reboot mknod /dev/pktcdvd0 b 97 0
download package udftools-1.0.0b2.tar.gz from http://sourceforge.net/projects/linux-udf then install cdrwtool
insert a blank highspped rewrittable disc, [root@localhost /]# /usr/bin/cdrwtool -d /dev/hdc -q -t 4 using device /dev/hdc setting speed to 4
1458KB internal buffer setting write speed to 4x Settings for /dev/hdc: Fixed packets, size 32 Mode-2 disc
I'm going to do a quick setup of /dev/hdc. 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 Disc capacity is 295264 blocks (590528KB/576MB) Formatting track wait_cmd: Input/output error Command failed: 04 17 00 00 00 00 00 00 00 00 00 00 - sense 05.26.00 format disc: Input/output error
in the /var/log/messages Mar 16 23:53:06 localhost kernel: cdrom: This disc doesn't have any tracks I recognize! Mar 16 23:53:06 localhost kernel: hdc: packet command error: status=0x51 { DriveReady SeekComplete Error } Mar 16 23:53:06 localhost kernel: hdc: packet command error: error=0x54 Mar 16 23:53:06 localhost kernel: ATAPI device hdc: Mar 16 23:53:06 localhost kernel: Error: Illegal request -- (Sense key=0x05) Mar 16 23:53:06 localhost kernel: Invalid field in parameter list -- (asc=0x26, ascq=0x00) Mar 16 23:53:06 localhost kernel: The failed "Format Unit" packet command was: Mar 16 23:53:06 localhost kernel: "04 17 00 00 00 00 00 00 00 00 00 00 "
Can anybody help me out?
Thank you in advance.
Best Regards, kurt
Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam