[Bug 355151] New: Cannot access NTFS partitions> ntfsresizie crashes
https://bugzilla.novell.com/show_bug.cgi?id=355151 Summary: Cannot access NTFS partitions> ntfsresizie crashes Product: openSUSE 11.0 Version: unspecified Platform: 32bit OS/Version: Other Status: NEW Severity: Blocker Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: Joachim.Reichelt@helmholtz-hzi.de QAContact: qa@suse.de Found By: Beta-Customer NTFS driver 2.1.29 [Flags: R/W MODULE]. NTFS-fs error (device sdb1): ntfs_read_block(): Failed to read from inode 0x1, attribute type 0x80, vcn 0x0, offset 0x0 because its location on disk could not be determined even after retrying (error code -5). NTFS-fs error (device sdb1): ntfs_read_block(): Failed to read from inode 0x1, attribute type 0x80, vcn 0x0, offset 0x200 because its location on disk could not be determined even after retrying (error code -5). NTFS-fs error (device sdb1): ntfs_read_block(): Failed to read from inode 0x1, attribute type 0x80, vcn 0x0, offset 0x400 because its location on disk could not be determined even after retrying (error code -5). NTFS-fs error (device sdb1): ntfs_read_block(): Failed to read from inode 0x1, attribute type 0x80, vcn 0x0, offset 0x600 because its location on disk could not be determined even after retrying (error code -5). NTFS-fs error (device sdb1): ntfs_read_block(): Failed to read from inode 0x1, attribute type 0x80, vcn 0x0, offset 0x800 because its location on disk could not be determined even after retrying (error code -5). NTFS-fs error (device sdb1): ntfs_read_block(): Failed to read from inode 0x1, attribute type 0x80, vcn 0x0, offset 0xa00 because its location on disk could not be determined even after retrying (error code -5). NTFS-fs error (device sdb1): ntfs_read_block(): Failed to read from inode 0x1, attribute type 0x80, vcn 0x0, offset 0xc00 because its location on disk could not be determined even after retrying (error code -5). NTFS-fs error (device sdb1): ntfs_read_block(): Failed to read from inode 0x1, attribute type 0x80, vcn 0x0, offset 0xe00 because its location on disk could not be determined even after retrying (error code -5). NTFS-fs error (device sdb1): check_mft_mirror(): Failed to read $MFTMirr. NTFS-fs error (device sdb1): load_system_files(): $MFTMirr does not match $MFT. Mounting read-only. Run ntfsfix and/or chkdsk. printk: 106 messages suppressed. NTFS-fs error (device sda1): ntfs_read_block(): Failed to read from inode 0x1, attribute type 0x80, vcn 0x0, offset 0x0 because its location on disk could not be determined even after retrying (error code -5). NTFS-fs error (device sda1): ntfs_read_block(): Failed to read from inode 0x1, attribute type 0x80, vcn 0x0, offset 0x200 because its location on disk could not be determined even after retrying (error code -5). NTFS-fs error (device sda1): ntfs_read_block(): Failed to read from inode 0x1, attribute type 0x80, vcn 0x0, offset 0x400 because its location on disk could not be determined even after retrying (error code -5). NTFS-fs error (device sda1): ntfs_read_block(): Failed to read from inode 0x1, attribute type 0x80, vcn 0x0, offset 0x600 because its location on disk could not be determined even after retrying (error code -5). NTFS-fs error (device sda1): ntfs_read_block(): Failed to read from inode 0x1, attribute type 0x80, vcn 0x0, offset 0x800 because its location on disk could not be determined even after retrying (error code -5). NTFS-fs error (device sda1): ntfs_read_block(): Failed to read from inode 0x1, attribute type 0x80, vcn 0x0, offset 0xa00 because its location on disk could not be determined even after retrying (error code -5). NTFS-fs error (device sda1): ntfs_read_block(): Failed to read from inode 0x1, attribute type 0x80, vcn 0x0, offset 0xc00 because its location on disk could not be determined even after retrying (error code -5). NTFS-fs error (device sda1): ntfs_read_block(): Failed to read from inode 0x1, attribute type 0x80, vcn 0x0, offset 0xe00 because its location on disk could not be determined even after retrying (error code -5). NTFS-fs error (device sda1): check_mft_mirror(): Failed to read $MFTMirr. NTFS-fs error (device sda1): load_system_files(): $MFTMirr does not match $MFT. Mounting read-only. Run ntfsfix and/or chkdsk. printk: 19 messages suppressed. NTFS-fs error (device sdj1): ntfs_read_block(): Failed to read from inode 0x1, attribute type 0x80, vcn 0x0, offset 0x0 because its location on disk could not be determined even after retrying (error code -5). NTFS-fs error (device sdj1): ntfs_read_block(): Failed to read from inode 0x1, attribute type 0x80, vcn 0x0, offset 0x200 because its location on disk could not be determined even after retrying (error code -5). joachim-linux:/home/jre # fdisk -l /dev/sda Platte /dev/sda: 80.0 GByte, 80026361856 Byte 255 Köpfe, 63 Sektoren/Spuren, 9729 Zylinder Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes Disk identifier: 0x1dd21dd1 Gerät boot. Anfang Ende Blöcke Id System /dev/sda1 * 1 6753 54243441 7 HPFS/NTFS /dev/sda4 6754 9729 23904720 f W95 Erw. (LBA) /dev/sda5 6754 8943 17591140 7 HPFS/NTFS /dev/sda6 8944 9729 6313513+ b W95 FAT32 joachim-linux:/home/jre # ntfsresize -i /dev/sda1 ntfsresize v2.0.0 (libntfs 10:0:0) Speicherzugriffsfehler -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=355151
User jeffm@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=355151#c1
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=355151
User Joachim.Reichelt@helmholtz-hzi.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=355151#c2
--- Comment #2 from Joachim Reichelt
https://bugzilla.novell.com/show_bug.cgi?id=355151
User jeffm@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=355151#c3
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=355151
User Joachim.Reichelt@helmholtz-hzi.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=355151#c4
Joachim Reichelt
https://bugzilla.novell.com/show_bug.cgi?id=355151
User Joachim.Reichelt@helmholtz-hzi.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=355151#c5
--- Comment #5 from Joachim Reichelt
https://bugzilla.novell.com/show_bug.cgi?id=355151
Greg Kroah-Hartman
https://bugzilla.novell.com/show_bug.cgi?id=355151
User jeffm@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=355151#c6
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=355151
User jeffm@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=355151#c7
--- Comment #7 from Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=355151
User Joachim.Reichelt@helmholtz-hzi.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=355151#c8
--- Comment #8 from Joachim Reichelt
https://bugzilla.novell.com/show_bug.cgi?id=355151
User Joachim.Reichelt@helmholtz-hzi.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=355151#c9
Joachim Reichelt
https://bugzilla.novell.com/show_bug.cgi?id=355151
User Joachim.Reichelt@helmholtz-hzi.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=355151#c10
--- Comment #10 from Joachim Reichelt
https://bugzilla.novell.com/show_bug.cgi?id=355151
User Joachim.Reichelt@helmholtz-hzi.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=355151#c11
--- Comment #11 from Joachim Reichelt
https://bugzilla.novell.com/show_bug.cgi?id=355151
User Joachim.Reichelt@helmholtz-hzi.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=355151#c12
--- Comment #12 from Joachim Reichelt
https://bugzilla.novell.com/show_bug.cgi?id=355151
User Joachim.Reichelt@helmholtz-hzi.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=355151#c13
--- Comment #13 from Joachim Reichelt
https://bugzilla.novell.com/show_bug.cgi?id=355151
User jeffm@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=355151#c14
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=355151
User Joachim.Reichelt@helmholtz-hzi.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=355151#c15
Joachim Reichelt
https://bugzilla.novell.com/show_bug.cgi?id=355151
User jeffm@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=355151#c16
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=355151
User bk@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=355151#c17
Bernhard Kaindl
where to get /sbin/mount.ntfs ?????
There is no /sbin/mount.ntfs because if mount does not find the a program /sbin/mount.ntfs, it tried the filesystem type ntfs with the kernel as it does with ext2, ext3, and so on. They have no mount helper programs. The kernel provides a (mostly) read-only NTFS filesystem which is asked to mount then. Your debug session from comment 5 is very helpful, the lcn field which your gdb identifed as problem also is the problem variable in ntfs-3g. The issue with ntfs-3g is analzed in bug 354113 - it might have the same root. I can trigger the segfault even with an empty ntfs image created by mkfs.ntfs: Program received signal SIGSEGV, Segmentation fault. 0xf7f29f48 in ntfs_volume_startup (dev=0x8fea0e0, flags=NTFS_MNT_RDONLY) at volume.c:403 403 if (vol->mftmirr_na->rl[0].lcn != vol->mftmirr_lcn || (gdb) p vol->mftmirr_na->rl[0].lcn Cannot access memory at address 0x8 That is ntfsclone, same error. Note: x86_64 does not reproduce the issue (like with ntfs-3g, only IA32 does). For reproducing, the ntfsprogs i586 rpm from Factory can be installed on a x86_64 factory system without problem. Like with ntfs-3g, the issue could possibly be worked around with by using -O0. Being able to resize NTFS partitions is an installation requirement for a number of installations, raising severity to blocker, medium priority. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=355151
User szaka@sienet.hu added comment
https://bugzilla.novell.com/show_bug.cgi?id=355151#c18
--- Comment #18 from Szabolcs Szakacsits
I have the same md5sum for that tgz, but the file produced is still only 3.6GB. When I tried the same thing on my local machine, with a 20 GB NTFS file system, the original image was created exactly. I don't know what the problem is.
I documented the reason in 'man ntfsclone': "... sadly, using the -S tar option results serious data loss since the end of 2004 and the GNU tar maintainers didn't release fixed versions until the present day." The serious tar data corruption bug was fixed immediately in the CVS back in 2005 but it wasn't released in stable tar packages for at least two more years, so these archives are usually useless and not reliable (sometimes e.g. a 100+ GB file was truncated to a mere 6 bytes after untarring it :) I think it's fairly funny that both the gcc miscompilation and the tar corruption result the same symptom ($MFTmirr reading error), so it's easy to believe one can reproduce the problem when actually it's a different one. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=355151
User szaka@sienet.hu added comment
https://bugzilla.novell.com/show_bug.cgi?id=355151#c19
--- Comment #19 from Szabolcs Szakacsits
The issue with ntfs-3g is analzed in bug 354113 - it might have the same root.
Yes. Actually I'm fairly sure the reason is the same and related to gcc 4.3-alpha in all cases (kernel driver, ntfsprogs, and ntfs-3g). Btw, how can I change my email address in the Novell bugzilla system (szaka@sienet.hu -> szaka@ntfs-3g.org)? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=355151
User Joachim.Reichelt@helmholtz-hzi.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=355151#c20
--- Comment #20 from Joachim Reichelt
https://bugzilla.novell.com/show_bug.cgi?id=355151
User szaka@sienet.hu added comment
https://bugzilla.novell.com/show_bug.cgi?id=355151#c21
--- Comment #21 from Szabolcs Szakacsits
so what about using "star" (J.Schilling)
Irrelevant. The issue can be reproduced using mkfs.ntfs. The driver has been donwloaded 3393 times in the last three days but only those have this problem (Novell and Red Hat) who use the latest gcc 4.3-alpha compiler. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=355151
User jeffm@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=355151#c22
--- Comment #22 from Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=355151
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=355151
User szaka@sienet.hu added comment
https://bugzilla.novell.com/show_bug.cgi?id=355151#c23
--- Comment #23 from Szabolcs Szakacsits
https://bugzilla.novell.com/show_bug.cgi?id=355151
User jeffm@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=355151#c24
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=355151 Bug 355151 depends on bug 360566, which changed state. Bug 360566 Summary: 11.0 A1&A2: Not possible to mount and resize NTFS partitions on IA32 https://bugzilla.novell.com/show_bug.cgi?id=360566 What |Old Value |New Value ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |DUPLICATE -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com