Re: Packet writing issue on 2.6.15.1

From: Phillip Susi
Date: Mon Feb 13 2006 - 10:47:54 EST


iSteve wrote:
I tried that. Mostly, writing failed. At cdrwtool's end, it looked like this:
using device /dev/cdrw
fixed packets
setting speed to 10
write file /root/udftest.img
4690KB internal buffer
setting write speed to 10x
writing at lba = 0, blocks = 32
wait_cmd: Input/output error
Command failed: 2a 00 00 00 00 00 00 00 20 00 00 00 - sense 05.24.00

At kernel's end:
cdrom: This disc doesn't have any tracks I recognize!

Once I, somehow, managed to write it. However, writing ISO9660 (yes, I know
that iso9660 doesn't support read/write; I use it for test though and I need
it working), attempt to read it returned this:

attempt to access beyond end of device
hdc: rw=0, want=68, limit=4
isofs_fill_super: bread failed, dev=hdc, iso_blknum=16, block=16

The media must be formatted first before you can write to it. It looks like you just tried to write to an unformatted disc. Use cdrwtool -q first to format it, then cdrwtool -f foo.img to write out your image.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/