On Wednesday 17 July 2002 12:38 pm, Ben Fennema wrote:
Apply the kernel patch (http://fy.chalmers.se/~appro/linux/DVD+RW/linux-2.4.patch) and try again.. you should have better luck (with the mkudffs)
Ben
Patch applied semi-cleanly with jsut some offsets agains 19-rc2. mkudfs no appears to create the file system.. disk spins, no errors. the disc now mounts no problem : /dev/sr0 on /mnt/cdrom type udf (rw) However i cant write anything to the disc. I get : alumbox thebard # cp -a blah /mnt/cdrom cp: cannot create directory `/mnt/cdrom/blah': Input/output error and in dmesg: UDF-fs INFO UDF 0.9.6-rw (2002/03/11) Mounting volume 'LinuxUDF', timestamp 2002/07/17 14:28 (1ed4) I/O error: dev 0b:00, sector 1096 So, I reformat the dvd and try again. this time im able to copy a small .c file over no problem. But then I try and copy over a larger directory and cp segfaults :P. dmesg is nasty with: UDF-fs INFO UDF 0.9.6-rw (2002/03/11) Mounting volume 'LinuxUDF', timestamp 2002/07/17 14:47 (1ed4) I/O error: dev 0b:00, sector 1680 UDF-fs DEBUG inode.c:1835:udf_next_aext: reading block 420 failed! I/O error: dev 0b:00, sector 1680 Unable to handle kernel NULL pointer dereference at virtual address 00000034 printing eip: c0196e70 *pde = 00000000 Oops: 0000 CPU: 0 EIP: 0010:[<c0196e70>] Not tainted EFLAGS: 00010246 eax: 00000092 ebx: 00000000 ecx: f7383f3c edx: f74c7e40 esi: 0000005e edi: f74c7e40 ebp: 00000036 esp: f7383b08 ds: 0018 es: 0018 ss: 0018 Process cp (pid: 4630, stackpage=f7383000) Stack: f7723600 000001a4 00000000 00000000 f7383b7c f7383b74 f7383b70 f7383b6c f7383b70 f7383b6c 0000002b 00000000 00000000 00000000 00000000 07000000 00000028 00000036 00000000 00000000 f73bc964 f7723600 00000092 0000005e Call Trace: [<c01f5bde>] [<c01f59b0>] [<c01faf94>] [<c01e0d78>] [<c01e0e57>] [<c01eef0c>] [<c013c6d0>] [<c013c96c>] [<c019f161>] [<c01950b4>] [<c019e8e8>] [<c013b932>] [<c013c6d0>] [<c013c96c>] [<c019f161>] [<c01966e6>] [<c018da24>] [<c018eea8>] [<c019073e>] [<c0197bd7>] [<c014e1c0>] [<c01463bb>] [<c01464b8>] [<c010902b>] Code: 8b 7b 34 8b 49 08 01 f9 89 4c 24 50 c7 44 24 04 00 00 00 00 I/O error: dev 0b:00, sector 1680 UDF-fs DEBUG inode.c:1325:udf_update_inode: bread failure I/O error: dev 0b:00, sector 1672 UDF-fs DEBUG misc.c:274:udf_read_tagged: block=418, location=144: read failed udf: udf_read_inode(ino 418) failed !bh Thats from the mount, to the small 1 file copy, to teh large dir copy, to the ls. I'm thinking the patch just isnt ready for prime time? I've emailed the patch author, but hes on vacation for 2 weeks. Maybe he can shed some light on the situation. Another thing that comes to mind is that its possible dvd +rw media can only write in a sequential order.. ie, can it backup and rewrite over a block without blanking the media first? -- Wayde Milas Rarcoa (630) 654-2580