Menu

#67 udf/tools/chkudf segemntation error with tag 266

open
nobody
None
5
2007-12-04
2007-12-04
Anonymous
No

jeanmichel.123@free.fr

udf/tools/chkudf runt on an IOmega tape drive crashed.
This tape contain a filesystem generated some month ago with mkudffs, and mofied by mounting/unmounting the filesystem, on a debian etch 64.

Linux 2.6.18-4-amd64 #1 SMP Fri May 4 00:37:33 UTC 2007 x86_64 GNU/Linux

So, I added some printf to have additional information.

Note that the dump contains
* 4 timestamps (12 bytes fields baginning by 78 10 d7 07).
* Linux in ASCII at end of dump.

Note also than when the filesystem is mounted big files cannot be written (1Gb file size limit), and that writing some files are denied randomly.

All is here after:

./chkudf /dev/hda
--Determining device/media parameters.
Device is: 'Iomega RRD 17.B' (type 5)
Setting sector size to 2048 for CD/DVD device.
Last Sector = 17090879 (0x104c93f) and is not accurate
Adjusted last sector to 17090879.
Generic Read Disc Info worked; first track in last session is 1.
Generic RDI/RTI worked. Last session starts at 0.

--Verifying the Volume Recognition Sequence.
VRS 0 (sector 16): No ISO 9660 descriptors found.
VRS 0 : Beginning Extended Area descriptor found.
VRS 1 (sector 17): NSR03 descriptor found.
VRS 2 (sector 18): VRS sequence was terminated.
volspace.c:10:track_volspace:16:3:Volume Recognition Sequence
volspace.c:11:track_volspace:16:3:Volume Recognition Sequence

--Verifying the Anchor Volume Descriptor Pointers.
Checking 256: AVDP present.
volspace.c:10:track_volspace:256:1:Front AVDP
volspace.c:11:track_volspace:256:1:Front AVDP
volspace.c:10:track_volspace:257:16:Main VDS (Front AVDP)
volspace.c:11:track_volspace:257:16:Main VDS (Front AVDP)
volspace.c:10:track_volspace:17090863:16:Reserve VDS (Front AVDP)
volspace.c:11:track_volspace:17090863:16:Reserve VDS (Front AVDP)
Checking 512: No AVDP.
Checking 17090879 (n - 0): AVDP present.
volspace.c:10:track_volspace:17090879:1:Back AVDP
volspace.c:11:track_volspace:17090879:1:Back AVDP
Checking 17090729 (n - 150): No AVDP.
Checking 17090623 (n - 256): AVDP present.
volspace.c:10:track_volspace:17090623:1:Back AVDP
volspace.c:11:track_volspace:17090623:1:Back AVDP
Checking 17090473 (n - 406): No AVDP.
Found 3 Anchor Volume Descriptor Pointers.
Main Volume Descriptor Sequence is at 257, 32768 bytes long.
Reserve Volume Descriptor Sequence is at 17090863, 32768 bytes long.

--Verifying Volume Descriptor Sequences.

--Reading the Main Volume Descriptor Sequence.
Main VDS (00000101): Found first PVD.
Main VDS (00000102): Found first LVD.
Main VDS (00000103): Found first PD.
Main VDS (00000104): Found first USD.
Main VDS (00000105): Found first IUVD.
Main VDS (00000106): terminated by a Terminating Descriptor.

--Reading the Reserve Volume Descriptor Sequence.
Reserve VDS (0104c92f): Found first PVD.
Reserve VDS (0104c930): Found first LVD.
Reserve VDS (0104c931): Found first PD.
Reserve VDS (0104c932): Found first USD.
Reserve VDS (0104c933): Found first IUVD.
Reserve VDS (0104c934): terminated by a Terminating Descriptor.

--Primary Volume Descriptor Information:
(M) Volume Identifier: 'Cartouche hebdomadaire B'
(M) Volume Set ID: '458af253�8@Cartouche hebdomadaire B'
(M) Recording Time: 2006/12/21 21:45:07.201179 (Local), 120 min. from CUT
(M) Primary Volume Descriptor number is 0.
(M) App. ID: '*Linux mkudffs' OS: 4,5 (UNIX) Linux
(M) Impl. ID: '*Linux UDFFS' OS: 4,5 (UNIX) Linux

--Unallocated Volume Space Descriptor Information:
(M) Number of Allocation Descriptors: 2
(M) Space allocation descriptors:
485376 bytes (237 blocks) @ 19
volspace.c:10:track_volspace:19:237:Unallocated Space
volspace.c:11:track_volspace:19:237:Unallocated Space
489472 bytes (239 blocks) @ 17090624
volspace.c:10:track_volspace:17090624:239:Unallocated Space
volspace.c:11:track_volspace:17090624:239:Unallocated Space

--Logical Volume Descriptor Information:
(M) Logical Volume ID: 'Cartouche hebdomadaire B'
(M) Impl. ID: '*Linux UDFFS' OS: 4,5 (UNIX) Linux
(M) File Set Descriptor location is 2048 bytes @ 0:1044
(M) There is 1 partition map entry.
(M) Partition map entry 0 is type 1 (real) and references partition 0.
(M) Integrity Sequence is 2048 bytes at 273.
volspace.c:10:track_volspace:273:1:Integrity Sequence
volspace.c:11:track_volspace:273:1:Integrity Sequence
Verifying the Logical Volume Integrity Descriptor Sequence.
LVID at 00000111: recorded at 2007/12/04 17:48:46.269285 (Local), 120 min. from CUT
[Close]
4 directories, 48 files, highest UniqueID is 1913.
Min read ver. 201, min write ver. 201, max write ver 201.
Recorded by: '*Linux UDFFS' OS: 4,5 (UNIX) Linux
Partition reference 0 has 12289265 of 17090349 blocks available.
Length of Implementation use is 46.

--Partition Descriptor Information:
(M) Partition number 0.
(M) Partition flags: 0001 (Space Allocated)
(M) Impl. ID: '*Linux UDFFS' OS: 4,5 (UNIX) Linux
(M) Access Type Overwritable.
(M) Partition starts at sector 274.
(M) Partition length is 17090349 sectors.
volspace.c:10:track_volspace:274:17090349:A partition
volspace.c:11:track_volspace:274:17090349:A partition

--Reading the Space Bitmap Descriptor for partition reference 0.
Descriptor is 1044 sectors at 0:0.
Partition is 17090349 blocks long, requiring 2136294 bytes.
Read the space bitmap for partition reference 0.

--Implementation Use Volume Descriptor information:
(M) Impl. ID: '*UDF LV Info', UDF Ver.: 02.01 OS: 4,5 (UNIX) Linux
(M) Logical Volume Identifier: 'Cartouche hebdomadaire B'
(M) Logical Volume Info 1: 'Linux mkudffs 1.0.0b2'
(M) Logical Volume Info 2: 'Linux UDF 1.0.0-cvs (2002/02/09)'
(M) Logical Volume Info 3: '<linux_udf@hpesjro.fc.hp.com>'
(M) Impl. ID: '*Linux UDFFS' OS: 4,5 (UNIX) Linux

--Volume space report:
16 : 18 - Volume Recognition Sequence
19 : 255 - Unallocated Space
256 : 256 - Front AVDP
257 : 272 - Main VDS (Front AVDP)
273 : 273 - Integrity Sequence
274 : 17090622 - A partition
17090623 : 17090623 - Back AVDP
17090624 : 17090862 - Unallocated Space
17090863 : 17090878 - Reserve VDS (Front AVDP)
17090879 : 17090879 - Back AVDP

--File Space report:

Displaying directory hierarchy:
0000:00000416: \icbspace.c:285:read_icb: ptn=0 : location=1046 :length=2048 : fid=0
icbspace.c:308:read_icb: interval=1,ICBlist_len=0x0
icbspace.c:215:walk_icb_hierarchy: ptn=0 : location=1046 :length=2048 : fid=0
icbspace.c:229:walk_icb_hierarchy: FE: i=0
Here I dump the FileEntry memory.
is: :0a 01 03 00 ae 00 01 00 d7 a0 0c 02 16 04 00 00
is: :00 00 00 00 04 00 00 00 01 00 00 04 00 00 00 00
is: :00 00 03 00 00 00 00 00 00 00 00 00 a5 1c 00 00
is: :04 00 00 00 00 00 00 00 44 01 00 00 00 00 00 00
is: :44 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
is: :78 10 d7 07 0c 04 11 30 29 00 09 38 78 10 d7 07
is: :04 11 10 0c 35 04 5f 18 78 10 d6 07 0c 15 15 2d
is: :07 14 0b 4f 78 10 d7 07 04 11 10 0c 35 04 5f 18
is: :00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
is: :00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
is: :00 00 00 00 00 00 00 00 00 2a 4c 69 6e 75 78 20
**[00000416] Expected Tag ID of 259, found 266.

**EA field contains illegal partition reference number.

ICB 0:00416 offset 0
**Embedded data error: L_AD = 544765294, Information Length = 324
Erreur de segmentation

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.