lkml.org 
[lkml]   [2006]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Packet writing issue on 2.6.15.1
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-02-13 16:52    [W:0.041 / U:2.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site