* Unable to read UDF fs on a DVD
@ 2004-04-23 16:28 Kronos
2004-04-23 17:56 ` Pat LaVarre
0 siblings, 1 reply; 10+ messages in thread
From: Kronos @ 2004-04-23 16:28 UTC (permalink / raw)
To: linux_udf; +Cc: linux-kernel
Hi,
I'm trying to read a DVD+RW disk with a UDF fs on it. The disk was
created under Windows, using Easy CD Creator (don't know the details).
I can mount (kernel 2.6.5) w/o problems:
root@dreamland:~# mount -t udf -oro /dev/hdc /cdrom
dmesg:
udf: registering filesystem
UDF-fs DEBUG fs/udf/lowlevel.c:57:udf_get_last_session: XA disk: no, vol_desc_start=0
UDF-fs DEBUG fs/udf/super.c:1546:udf_fill_super: Multi-session=0
UDF-fs DEBUG fs/udf/super.c:534:udf_vrs: Starting at sector 16 (2048 byte sectors)
UDF-fs DEBUG fs/udf/super.c:561:udf_vrs: ISO9660 Primary Volume Descriptor found
UDF-fs DEBUG fs/udf/super.c:570:udf_vrs: ISO9660 Volume Descriptor Set Terminator found
UDF-fs DEBUG fs/udf/super.c:877:udf_load_pvoldesc: recording time 1082448386/0, 2004/04/20 09:06 (103c)
UDF-fs DEBUG fs/udf/super.c:888:udf_load_pvoldesc: volIdent[] = 'CDROM'
UDF-fs DEBUG fs/udf/super.c:895:udf_load_pvoldesc: volSetIdent[] = '040420_0906'
UDF-fs DEBUG fs/udf/super.c:1087:udf_load_logicalvol: Partition (0:0) type 1 on volume 1
UDF-fs DEBUG fs/udf/super.c:1097:udf_load_logicalvol: FileSet found in LogicalVolDesc at block=0, partition=0
UDF-fs DEBUG fs/udf/super.c:925:udf_load_partdesc: Searching map: (0 == 0)
UDF-fs DEBUG fs/udf/super.c:1007:udf_load_partdesc: Partition (0:0 type 1511) starts at physical 257, block length 2172880
UDF-fs DEBUG fs/udf/super.c:1340:udf_load_partition: Using anchor in block 256
UDF-fs DEBUG fs/udf/super.c:1573:udf_fill_super: Lastblock=0
UDF-fs DEBUG fs/udf/super.c:849:udf_find_fileset: Fileset at block=0, partition=0
UDF-fs DEBUG fs/udf/super.c:911:udf_load_fileset: Rootdir at block=2, partition=0
UDF-fs INFO UDF 0.9.8.1 (2004/29/09) Mounting volume 'CDROM', timestamp 2004/04/20 10:06 (1078)
But I'm unable to stat/read/whatever the files:
root@dreamland:~# ls /cdrom
/bin/ls: /cdrom/Bakuretsu Tenshi - 01.avi: No such file or directory
/bin/ls: /cdrom/Bakuretsu Tenshi - 02.avi: No such file or directory
[etc]
I can mount the disk and read it using ISO9660 instead of UDF (filenames
are 8+3, no Joliet it seems), and I can read it under WinXP. It
shouldn't be damaged.
Any clue?
Luca
--
Home: http://kronoz.cjb.net
"Su cio` di cui non si puo` parlare e` bene tacere".
Ludwig Wittgenstein
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Unable to read UDF fs on a DVD
2004-04-23 16:28 Unable to read UDF fs on a DVD Kronos
@ 2004-04-23 17:56 ` Pat LaVarre
2004-04-23 19:50 ` Kronos
0 siblings, 1 reply; 10+ messages in thread
From: Pat LaVarre @ 2004-04-23 17:56 UTC (permalink / raw)
To: kronos; +Cc: linux_udf, linux-kernel
> DVD+RW ... UDF ... can mount (kernel 2.6.5) w/o problems:
> ...# mount -t udf -oro /dev/hdc /cdrom
> dmesg:
> udf: registering filesystem
> ...
> UDF-fs INFO UDF 0.9.8.1 (2004/29/09) Mounting volume 'CDROM', timestamp 2004/04/20 10:06 (1078)
> ...
So far so good.
> But ... unable to stat/read/whatever the files:
>
> ....# ls /cdrom
> /bin/ls: /cdrom/Bakuretsu Tenshi - 01.avi: No such file or directory
> /bin/ls: /cdrom/Bakuretsu Tenshi - 02.avi: No such file or directory
> [etc]
>
> I can mount the disk and read it using ISO9660 instead of UDF (filenames
> are 8+3, no Joliet it seems), and I can read it under WinXP. It
> shouldn't be damaged.
Q1) Any Linux dmesg as you try to read or umount?
Q2) What text does the DIR /S command of Windows produce?
> created under Windows, using Easy CD Creator
> (don't know the details).
Q3) What does Linux fsck tell you, before you mount -o ro (or after you
umount)?
Pat LaVarre
P.S. The subscriber-only archives of linux_udf@h... currently show
Linux-2.6.5 issues now under discussion, including an issue people have
reproduced by downloading a huge trial .exe into Windows and then
copying a file of more than 2 GiB to the disc.
-----Forwarded Message-----
From: Pat LaVarre
Cc: linux_udf@h...
Subject: Re: Bug with UDF file system
Date: 20 Apr 2004 10:34:47 -0600
...
My own most recent blog re the mystery of install & run of the phg fsck
in Linux from virus-free source is:
phg fsck of UDF for Linux
http://udfko.blog-city.com/read/577369.htm
...
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Unable to read UDF fs on a DVD
2004-04-23 17:56 ` Pat LaVarre
@ 2004-04-23 19:50 ` Kronos
2004-04-23 20:21 ` Pat LaVarre
0 siblings, 1 reply; 10+ messages in thread
From: Kronos @ 2004-04-23 19:50 UTC (permalink / raw)
To: Pat LaVarre; +Cc: linux_udf, linux-kernel
Il Fri, Apr 23, 2004 at 11:56:42AM -0600, Pat LaVarre ha scritto:
> > ....# ls /cdrom
> > /bin/ls: /cdrom/Bakuretsu Tenshi - 01.avi: No such file or directory
> > /bin/ls: /cdrom/Bakuretsu Tenshi - 02.avi: No such file or directory
> > [etc]
> >
> > I can mount the disk and read it using ISO9660 instead of UDF (filenames
> > are 8+3, no Joliet it seems), and I can read it under WinXP. It
> > shouldn't be damaged.
>
> Q1) Any Linux dmesg as you try to read or umount?
No, nothing at all.
> Q2) What text does the DIR /S command of Windows produce?
Il volume nell'unita` D e` CDROM
Numero di serie del volume: A381-DC88
Directory di D:\
10/04/2004 20.59 240.695.296 Bakuretsu Tenshi - 01.avi
16/04/2004 15.13 240.715.776 Bakuretsu Tenshi - 02.avi
13/04/2004 18.57 182.452.224 Full Metal Alchemist - 11.avi
13/04/2004 18.57 182.452.224 Full Metal Alchemist - 12.avi
13/04/2004 18.57 182.452.224 Full Metal Alchemist - 13.avi
13/04/2004 18.57 178.257.920 Full Metal Alchemist - 14.avi
13/04/2004 18.57 178.257.920 Full Metal Alchemist - 15.avi
14/04/2004 15.55 178.257.920 Full Metal Alchemist - 16.avi
14/04/2004 15.55 178.257.920 Full Metal Alchemist - 17.avi
14/04/2004 15.55 178.257.920 Full Metal Alchemist - 18.avi
14/04/2004 15.35 178.257.920 Full Metal Alchemist - 19.avi
14/04/2004 15.35 178.257.920 Full Metal Alchemist - 20.avi
17/04/2004 15.15 178.257.920 Full Metal Alchemist - 21.avi
17/04/2004 17.32 178.257.920 Full Metal Alchemist - 22.avi
17/04/2004 20.41 178.257.920 Full Metal Alchemist - 23.avi
18/04/2004 01.26 178.257.920 Full Metal Alchemist - 24.avi
18/04/2004 11.07 178.257.920 Full Metal Alchemist - 25.avi
18/04/2004 16.48 178.257.920 Full Metal Alchemist - 26.avi
13/04/2004 10.26 178.257.920 Full Metal Alchemist - 27.avi
19/04/2004 11.30 184.088.576 Full Metal Alchemist - 28.avi
14/02/2004 12.41 224.397.312 Ghost in the Shell - Stand Alone Complex - 00.avi
14/02/2004 12.13 147.292.160 Ghost in the Shell - Stand Alone Complex - 01.avi
14/02/2004 21.28 187.267.072 Ghost in the Shell - Stand Alone Complex - 02.avi
13/04/2004 04.12 182.564.864 Planetes - phase 13.avi
24 File 4.449.988.608 byte
Totale file elencati:
24 File 4.449.988.608 byte
0 Directory 0 byte disponibili
> > created under Windows, using Easy CD Creator
> > (don't know the details).
>
> Q3) What does Linux fsck tell you, before you mount -o ro (or after you
> umount)?
I used udfct utility (from Philips). The output is quite long, I put it
here:
http://web.tiscali.it/kronoz/ucf_test.log
I don't see anything strange.
Btw, don't know if it's related but I was unable to run ucf_test without
scsi emulation: it complained about unknown image chunk size. I can't
read files even with ide-scsi, though.
> P.S. The subscriber-only archives of linux_udf@h... currently show
> Linux-2.6.5 issues now under discussion, including an issue people have
> reproduced by downloading a huge trial .exe into Windows and then
> copying a file of more than 2 GiB to the disc.
I think that this is a different issue, files on my disk are smaller.
thanks,
Luca
--
Home: http://kronoz.cjb.net
Porc i' mond che cio' sott i piedi!
V. Catozzo
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: Unable to read UDF fs on a DVD
2004-04-23 19:50 ` Kronos
@ 2004-04-23 20:21 ` Pat LaVarre
2004-04-24 19:47 ` Kronos
0 siblings, 1 reply; 10+ messages in thread
From: Pat LaVarre @ 2004-04-23 20:21 UTC (permalink / raw)
To: kronos; +Cc: linux_udf, linux-kernel
> http://web.tiscali.it/kronoz/ucf_test.log
> I don't see anything strange.
I now agree, that disc passed fsck and mount well enough to make the ls
failure interesting.
What to try next after fsck passes, I do not know, ouch, sorry.
Offline I'm working to comment the fs/udf/ source. Even me finishing
that might not do you much good, unless we can figure out how to
reproduce your trouble at my desk.
Pat LaVarre
P.S. Five postscripts:
1)
> even with ide-scsi, though.
Whoa. You weren't engaging in the taboo act of running ide-scsi in 2.6
back when ls failed, were you? (If you are, then please remove
ide-scsi, substitute ide-cd, and confirm or deny that exercise actually
made no difference.)
2)
The disc didn't actually pass the phgfsck without complaint: The
standard phgfsck egrep is:
$ egrep -i '(info|warning|error):' http://web.tiscali.it/kronoz/ucf_test.log
PVD 72 Warning: Volume Set Identifier: "040420_0906",
PVD 72 Warning: Volume Set Identifier: "040420_0906",
Error: Number of AVDPs less than 2: 1, AVDP at 256
$
Non-compliance!
All the same, I'm guessing these complaints do Not explain the ls
failure, since to my newbie ear these sound like mount issues and we
know you can mount.
3)
I can't now rapidly reproduce the collection of file lengths you report,
because sparse files in UDF, even when the underlying volume is not
sparse, as yet crash my Linux-2.6.5.
3)
> Btw, don't know if it's related but I was unable to run ucf_test without
> scsi emulation: it complained about unknown image chunk size. I can't
> read files even with ide-scsi, though.
Yes phgfsck trouble like that is normal, thanks for asking.
4)
> > P.S. The subscriber-only archives of linux_udf@h... currently show
> > Linux-2.6.5 issues now under discussion, including an issue people have
> > reproduced by downloading a huge trial .exe into Windows and then
> > copying a file of more than 2 GiB to the disc.
>
> I think that this is a different issue, files on my disk are smaller.
I agree your conclusion is reasonable, I do not myself yet know the
udf.ko code well enough to firmly confirm or deny your conclusion.
5)
> http://web.tiscali.it/kronoz/ucf_test.log
Any chance this link will still work, a year from now? (I ask because
I'm hoping to see a collection of observed UDF non-compliance come into
being.)
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: Unable to read UDF fs on a DVD
2004-04-23 20:21 ` Pat LaVarre
@ 2004-04-24 19:47 ` Kronos
2004-04-26 15:52 ` Bill Davidsen
2004-04-26 21:48 ` Pat LaVarre
0 siblings, 2 replies; 10+ messages in thread
From: Kronos @ 2004-04-24 19:47 UTC (permalink / raw)
To: Pat LaVarre; +Cc: linux_udf, linux-kernel
Il Fri, Apr 23, 2004 at 02:21:15PM -0600, Pat LaVarre ha scritto:
> P.S. Five postscripts:
>
> 1)
>
> > even with ide-scsi, though.
>
> Whoa. You weren't engaging in the taboo act of running ide-scsi in 2.6
> back when ls failed, were you?
No, I wasn't. I'm aware that ide-scsi is not needed with 2.6. I had to
recompile the kernel with ide-scsi to make Philips fsck happy.
> 3)
>
> I can't now rapidly reproduce the collection of file lengths you report,
> because sparse files in UDF, even when the underlying volume is not
> sparse, as yet crash my Linux-2.6.5.
Well, Ben Fennema said that he has identified the issue. If it can be
usefull I can have my friend burn another DVD (with less data) with Easy
CD and upload the image somewhere.
> 5)
>
> > http://web.tiscali.it/kronoz/ucf_test.log
>
> Any chance this link will still work, a year from now?
Yup, no problem.
Luca
--
Home: http://kronoz.cjb.net
Alcuni pensano che io sia una persona orribile, ma non e` vero. Ho il
cuore di un ragazzino - in un vaso sulla scrivania.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Unable to read UDF fs on a DVD
2004-04-24 19:47 ` Kronos
@ 2004-04-26 15:52 ` Bill Davidsen
2004-04-26 21:48 ` Pat LaVarre
1 sibling, 0 replies; 10+ messages in thread
From: Bill Davidsen @ 2004-04-26 15:52 UTC (permalink / raw)
To: linux-kernel, kronos; +Cc: Pat LaVarre, linux_udf, linux-kernel
Kronos wrote:
> Il Fri, Apr 23, 2004 at 02:21:15PM -0600, Pat LaVarre ha scritto:
>
>>P.S. Five postscripts:
>>
>>1)
>>
>>
>>>even with ide-scsi, though.
>>
>>Whoa. You weren't engaging in the taboo act of running ide-scsi in 2.6
>>back when ls failed, were you?
>
>
> No, I wasn't. I'm aware that ide-scsi is not needed with 2.6. I had to
> recompile the kernel with ide-scsi to make Philips fsck happy.
I believe that it would be more correct to say that ide-scsi is not
required to burn CDs and DVDs, providing you use cdrecord which has been
modified to work with ide-cd. Since that's the major use it equates to
"not needed" if that's all you do.
As you seem to note, some DVD burners don't work without ide-scsi unless
you have some tricks and/or patches, but do work with ide-scsi. Yes,
even in 2.6.
I totally agree you should try to run without it, but I'd compile it as
a module in case you need some additional data points.
--
-bill davidsen (davidsen@tmr.com)
"The secret to procrastination is to put things off until the
last possible moment - but no longer" -me
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: Unable to read UDF fs on a DVD
2004-04-24 19:47 ` Kronos
2004-04-26 15:52 ` Bill Davidsen
@ 2004-04-26 21:48 ` Pat LaVarre
1 sibling, 0 replies; 10+ messages in thread
From: Pat LaVarre @ 2004-04-26 21:48 UTC (permalink / raw)
To: kronos; +Cc: linux_udf, linux-kernel
Kronos:
> Well, Ben Fennema said that he has identified the issue. If it can be
> usefull I can have my friend burn another DVD (with less data) with
> Easy
> CD and upload the image somewhere.
1) Useful to Ben, maybe not, Ben already understands much.
2) Useful to you, maybe not, maybe nobody on Earth but Ben can help you
rapidly.
3) Useful to me, yes. You put the image on the web, and I'll try to
download it, try to reproduce your trouble, and then try to find time
to learn ever more about how unamerican chars work inside udf.ko.
>> 5)
>>
>>> http://web.tiscali.it/kronoz/ucf_test.log
>>
>> Any chance this link will still work, a year from now?
>
> Yup, no problem.
Thank you, now blogged as the first of:
udf fsck failures observed
http://udfko.blog-city.com/read/585805.htm
Pat LaVarre
^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <OF7EE48D71.4DD148E6-ONC1256E82.003678FE-C1256E82.0038D7EE@phili ps.com>]
[parent not found: <OFA36FDF30.41353846-ONC1256E83.0039A57A-C1256E83.003B5183@phili ps.com>]
end of thread, other threads:[~2004-04-27 19:51 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-23 16:28 Unable to read UDF fs on a DVD Kronos
2004-04-23 17:56 ` Pat LaVarre
2004-04-23 19:50 ` Kronos
2004-04-23 20:21 ` Pat LaVarre
2004-04-24 19:47 ` Kronos
2004-04-26 15:52 ` Bill Davidsen
2004-04-26 21:48 ` Pat LaVarre
[not found] <OF7EE48D71.4DD148E6-ONC1256E82.003678FE-C1256E82.0038D7EE@phili ps.com>
[not found] ` <OF7EE48D71.4DD148E6-ONC1256E82.003678FE-C1256E82.0038D7EE@phil i ps.com>
2004-04-26 21:24 ` Pat LaVarre
[not found] <OFA36FDF30.41353846-ONC1256E83.0039A57A-C1256E83.003B5183@phili ps.com>
[not found] ` <OFA36FDF30.41353846-ONC1256E83.0039A57A-C1256E83.003B5183@phil i ps.com>
2004-04-27 16:11 ` Pat LaVarre
2004-04-27 19:48 ` Pat LaVarre
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox