Mailinglist Archive: packet-writing (117 mails)
| < Previous | Next > |
Re: UDF DVD+RW
- From: guStaVo ZaeRa <gzaera@xxxxxxxxxxxxxx>
- Date: Tue, 23 Jul 2002 15:28:46 +0000 (UTC)
- Message-id: <3D3D761D.1020502@xxxxxxxxxxxxxx>
Ben Fennema wrote:
[root@ksi4 /mnt]# mkudffs --media-type=cdrw /dev/cdrom
start=0, blocks=16, type=RESERVED
start=16, blocks=3, type=VRS
start=19, blocks=237, type=USPACE
start=256, blocks=1, type=ANCHOR
start=257, blocks=31, type=USPACE
start=288, blocks=32, type=PVDS
start=320, blocks=32, type=LVID
start=352, blocks=32, type=STABLE
start=384, blocks=1024, type=SSPACE
start=1408, blocks=2293408, type=PSPACE
start=2294816, blocks=31, type=USPACE
start=2294847, blocks=1, type=ANCHOR
start=2294848, blocks=160, type=USPACE
start=2295008, blocks=32, type=STABLE
start=2295040, blocks=32, type=RVDS
start=2295072, blocks=31, type=USPACE
start=2295103, blocks=1, type=ANCHOR
my dmesg shows this:
UDF-fs DEBUG lowlevel.c:57:udf_get_last_session: XA disk: no, vol_desc_start=0
UDF-fs DEBUG super.c:1395:udf_read_super: Multi-session=0
UDF-fs DEBUG super.c:388:udf_vrs: Starting at sector 16 (2048 byte sectors)
UDF-fs DEBUG super.c:731:udf_load_pvoldesc: recording time 1027465803/591412, 2002/07/23 16:10 (1e5c)
UDF-fs DEBUG super.c:741:udf_load_pvoldesc: volIdent[] = 'LinuxUDF'
UDF-fs DEBUG super.c:748:udf_load_pvoldesc: volSetIdent[] = '3d3de24bLinuxUDF'
UDF-fs DEBUG super.c:940:udf_load_logicalvol: Partition (0:0) type 2 on volume 1
UDF-fs DEBUG super.c:950:udf_load_logicalvol: FileSet found in LogicalVolDesc at block=160, partition=0
UDF-fs DEBUG super.c:778:udf_load_partdesc: Searching map: (0 == 0)
UDF-fs DEBUG super.c:819:udf_load_partdesc: unallocSpaceBitmap (part 0) @ 0
UDF-fs DEBUG super.c:860:udf_load_partdesc: Partition (0:0 type 1522) starts at physical 1408, block length 2293408
UDF-fs DEBUG super.c:1193:udf_load_partition: Using anchor in block 256
UDF-fs DEBUG super.c:1422:udf_read_super: Lastblock=0
UDF-fs DEBUG super.c:703:udf_find_fileset: Fileset at block=160, partition=0
UDF-fs DEBUG super.c:764:udf_load_fileset: Rootdir at block=224, partition=0
UDF-fs INFO UDF 0.9.6 (2002/03/11) Mounting volume 'LinuxUDF', timestamp 2002/07/23 16:10 (1e5c)
ok.. now, i try to copy a large (~500MB) file to the disk:
[root@ksi4 /root]# cp cd1.iso /mnt/dvd+rw/
cp: cannot create regular file `/mnt/dvd+rw/cd1.iso': Input/output error
[root@ksi4 /root]# cd /mnt/dvd+rw/
[root@ksi4 dvd+rw]# l
ls: lost+found: Permission denied
total 0
hmm... this worked with the 2.4.17 kernel and udf patch i used earlier.. any idea why it doesn't work now?
dmesg shows me this ::
[...]
I/O error: dev 0b:00, sector 5632
I/O error: dev 0b:00, sector 6784
UDF-fs DEBUG misc.c:274:udf_read_tagged: block=1696, location=288: read failed
udf: udf_read_inode(ino 1696) failed !bh
so, i unmount the drive, and re-mount it.
[root@ksi4 /mnt]# l dvd+rw/
total 0
drwxr-xr-x 2 root root 40 Jul 23 16:10 lost+found
Now, i try to copy the large file into it again:
[root@ksi4 /mnt]# cp ~/cd1.iso dvd+rw/
cp: dvd+rw/cd1.iso: No space left on device
[root@ksi4 /mnt]# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda7 17803524 2250216 14648852 13% /
/dev/cdrom 4586816 32218 4554598 1% /mnt/dvd+rw
Dmesg now shows:
[...]
UDF-fs DEBUG lowlevel.c:57:udf_get_last_session: XA disk: no, vol_desc_start=0
UDF-fs DEBUG super.c:1395:udf_read_super: Multi-session=0
UDF-fs DEBUG super.c:388:udf_vrs: Starting at sector 16 (2048 byte sectors)
UDF-fs DEBUG super.c:731:udf_load_pvoldesc: recording time 1027465803/591412, 2002/07/23 16:10 (1e5c)
UDF-fs DEBUG super.c:741:udf_load_pvoldesc: volIdent[] = 'LinuxUDF'
UDF-fs DEBUG super.c:748:udf_load_pvoldesc: volSetIdent[] = '3d3de24bLinuxUDF'
UDF-fs DEBUG super.c:940:udf_load_logicalvol: Partition (0:0) type 2 on volume 1
UDF-fs DEBUG super.c:950:udf_load_logicalvol: FileSet found in LogicalVolDesc at block=160, partition=0
UDF-fs DEBUG super.c:778:udf_load_partdesc: Searching map: (0 == 0)
UDF-fs DEBUG super.c:819:udf_load_partdesc: unallocSpaceBitmap (part 0) @ 0
UDF-fs DEBUG super.c:860:udf_load_partdesc: Partition (0:0 type 1522) starts at physical 1408, block length 2293408
UDF-fs DEBUG super.c:1193:udf_load_partition: Using anchor in block 256
UDF-fs DEBUG super.c:1422:udf_read_super: Lastblock=0
UDF-fs DEBUG super.c:703:udf_find_fileset: Fileset at block=160, partition=0
UDF-fs DEBUG super.c:764:udf_load_fileset: Rootdir at block=224, partition=0
UDF-fs INFO UDF 0.9.6 (2002/03/11) Mounting volume 'LinuxUDF', timestamp 2002/07/23 16:10 (1e5c)
I/O error: dev 0b:00, sector 5636
I/O error: dev 0b:00, sector 5636
--
Now, I'm back to where i was last week; for each time I re-mount the drive, I am able to write some more to it (~30-100MB).
what i did observe, is that with your patch the write speed improved dramaticaly, which is great! :D
is there anything i can do to make this work? any suggestions? if you give me an introduction or some hints, i could look at the source and see if I can help in some way.
cheers,
gustavo
--
guStaVo ZaeRa | Assistant Software Engineer
BRE Systems LLC.
1532 State Street Suite C
Santa Barbara, Ca 93101
gzaera@xxxxxxxxxxxxxx
http://www.bresystems.com
"My goal is to make any information
available from anywhere,
at anytime."
-- guStaVo ZaeRa
On Mon, Jul 22, 2002 at 01:51:11PM -0700, guStaVo ZaeRa wrote:allright, so now that i've blanked the disk, i format it to hold udfs:
I'm stating a new thread, because there seems to be some confusion here...
Your telling me =]
[root@ksi4 /root]# mkudffs /dev/cdrom
trying to change type of multiple extents
nope. didn't work either. then, i try to blank the cd out by executing the dd command:
[root@ksi4 /root]# dd if=/dev/zero of=/dev/cdrom bs=2048 count=2295104
dd: /dev/cdrom: Read-only file system
You need the DVD+RW patch
(http://fy.chalmers.se/~appro/linux/DVD+RW/linux-2.4.patch)
And unless your planning on using CDRW's as well, you shouldn't need the
pktcdvd patch. (and they could very well conflict)
Looking at the patch, I can't tell whether it works with ide-cd directly.
My guess would be no...
Ben
[root@ksi4 /mnt]# mkudffs --media-type=cdrw /dev/cdrom
start=0, blocks=16, type=RESERVED
start=16, blocks=3, type=VRS
start=19, blocks=237, type=USPACE
start=256, blocks=1, type=ANCHOR
start=257, blocks=31, type=USPACE
start=288, blocks=32, type=PVDS
start=320, blocks=32, type=LVID
start=352, blocks=32, type=STABLE
start=384, blocks=1024, type=SSPACE
start=1408, blocks=2293408, type=PSPACE
start=2294816, blocks=31, type=USPACE
start=2294847, blocks=1, type=ANCHOR
start=2294848, blocks=160, type=USPACE
start=2295008, blocks=32, type=STABLE
start=2295040, blocks=32, type=RVDS
start=2295072, blocks=31, type=USPACE
start=2295103, blocks=1, type=ANCHOR
my dmesg shows this:
UDF-fs DEBUG lowlevel.c:57:udf_get_last_session: XA disk: no, vol_desc_start=0
UDF-fs DEBUG super.c:1395:udf_read_super: Multi-session=0
UDF-fs DEBUG super.c:388:udf_vrs: Starting at sector 16 (2048 byte sectors)
UDF-fs DEBUG super.c:731:udf_load_pvoldesc: recording time 1027465803/591412, 2002/07/23 16:10 (1e5c)
UDF-fs DEBUG super.c:741:udf_load_pvoldesc: volIdent[] = 'LinuxUDF'
UDF-fs DEBUG super.c:748:udf_load_pvoldesc: volSetIdent[] = '3d3de24bLinuxUDF'
UDF-fs DEBUG super.c:940:udf_load_logicalvol: Partition (0:0) type 2 on volume 1
UDF-fs DEBUG super.c:950:udf_load_logicalvol: FileSet found in LogicalVolDesc at block=160, partition=0
UDF-fs DEBUG super.c:778:udf_load_partdesc: Searching map: (0 == 0)
UDF-fs DEBUG super.c:819:udf_load_partdesc: unallocSpaceBitmap (part 0) @ 0
UDF-fs DEBUG super.c:860:udf_load_partdesc: Partition (0:0 type 1522) starts at physical 1408, block length 2293408
UDF-fs DEBUG super.c:1193:udf_load_partition: Using anchor in block 256
UDF-fs DEBUG super.c:1422:udf_read_super: Lastblock=0
UDF-fs DEBUG super.c:703:udf_find_fileset: Fileset at block=160, partition=0
UDF-fs DEBUG super.c:764:udf_load_fileset: Rootdir at block=224, partition=0
UDF-fs INFO UDF 0.9.6 (2002/03/11) Mounting volume 'LinuxUDF', timestamp 2002/07/23 16:10 (1e5c)
ok.. now, i try to copy a large (~500MB) file to the disk:
[root@ksi4 /root]# cp cd1.iso /mnt/dvd+rw/
cp: cannot create regular file `/mnt/dvd+rw/cd1.iso': Input/output error
[root@ksi4 /root]# cd /mnt/dvd+rw/
[root@ksi4 dvd+rw]# l
ls: lost+found: Permission denied
total 0
hmm... this worked with the 2.4.17 kernel and udf patch i used earlier.. any idea why it doesn't work now?
dmesg shows me this ::
[...]
I/O error: dev 0b:00, sector 5632
I/O error: dev 0b:00, sector 6784
UDF-fs DEBUG misc.c:274:udf_read_tagged: block=1696, location=288: read failed
udf: udf_read_inode(ino 1696) failed !bh
so, i unmount the drive, and re-mount it.
[root@ksi4 /mnt]# l dvd+rw/
total 0
drwxr-xr-x 2 root root 40 Jul 23 16:10 lost+found
Now, i try to copy the large file into it again:
[root@ksi4 /mnt]# cp ~/cd1.iso dvd+rw/
cp: dvd+rw/cd1.iso: No space left on device
[root@ksi4 /mnt]# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda7 17803524 2250216 14648852 13% /
/dev/cdrom 4586816 32218 4554598 1% /mnt/dvd+rw
Dmesg now shows:
[...]
UDF-fs DEBUG lowlevel.c:57:udf_get_last_session: XA disk: no, vol_desc_start=0
UDF-fs DEBUG super.c:1395:udf_read_super: Multi-session=0
UDF-fs DEBUG super.c:388:udf_vrs: Starting at sector 16 (2048 byte sectors)
UDF-fs DEBUG super.c:731:udf_load_pvoldesc: recording time 1027465803/591412, 2002/07/23 16:10 (1e5c)
UDF-fs DEBUG super.c:741:udf_load_pvoldesc: volIdent[] = 'LinuxUDF'
UDF-fs DEBUG super.c:748:udf_load_pvoldesc: volSetIdent[] = '3d3de24bLinuxUDF'
UDF-fs DEBUG super.c:940:udf_load_logicalvol: Partition (0:0) type 2 on volume 1
UDF-fs DEBUG super.c:950:udf_load_logicalvol: FileSet found in LogicalVolDesc at block=160, partition=0
UDF-fs DEBUG super.c:778:udf_load_partdesc: Searching map: (0 == 0)
UDF-fs DEBUG super.c:819:udf_load_partdesc: unallocSpaceBitmap (part 0) @ 0
UDF-fs DEBUG super.c:860:udf_load_partdesc: Partition (0:0 type 1522) starts at physical 1408, block length 2293408
UDF-fs DEBUG super.c:1193:udf_load_partition: Using anchor in block 256
UDF-fs DEBUG super.c:1422:udf_read_super: Lastblock=0
UDF-fs DEBUG super.c:703:udf_find_fileset: Fileset at block=160, partition=0
UDF-fs DEBUG super.c:764:udf_load_fileset: Rootdir at block=224, partition=0
UDF-fs INFO UDF 0.9.6 (2002/03/11) Mounting volume 'LinuxUDF', timestamp 2002/07/23 16:10 (1e5c)
I/O error: dev 0b:00, sector 5636
I/O error: dev 0b:00, sector 5636
--
Now, I'm back to where i was last week; for each time I re-mount the drive, I am able to write some more to it (~30-100MB).
what i did observe, is that with your patch the write speed improved dramaticaly, which is great! :D
is there anything i can do to make this work? any suggestions? if you give me an introduction or some hints, i could look at the source and see if I can help in some way.
cheers,
gustavo
--
guStaVo ZaeRa | Assistant Software Engineer
BRE Systems LLC.
1532 State Street Suite C
Santa Barbara, Ca 93101
gzaera@xxxxxxxxxxxxxx
http://www.bresystems.com
"My goal is to make any information
available from anywhere,
at anytime."
-- guStaVo ZaeRa
| < Previous | Next > |