fsck.vfat crashes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dosfstools (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
root@Rezak:~# fsck.vfat -v /dev/sdh
dosfsck 3.0.12 (29 Oct 2011)
dosfsck 3.0.12, 29 Oct 2011, FAT32, LFN
Checking we can access the last sector of the filesystem
Boot sector contents:
System ID "MSDOS5.0"
Media byte 0xf8 (hard disk)
512 bytes per logical sector
65536 bytes per cluster
6 reserved sectors
First FAT starts at byte 3072 (sector 6)
2 FATs, 16 bit entries
104960 bytes per FAT (= 205 sectors)
Root directory starts at byte 212992 (sector 416)
512 root directory entries
Data area starts at byte 229376 (sector 448)
52284 data clusters (3426484224 bytes)
63 sectors/track, 255 heads
0 hidden sectors
6692864 sectors total
/.Trash-1000
Contains a free cluster (400). Assuming EOF.
/eReading/
File size is 1179164 bytes, cluster chain length is > 1179648 bytes.
Truncating file to 1179164 bytes.
Checking for unused clusters.
Reclaimed 10 unused clusters (655360 bytes).
Leaving file system unchanged.
/dev/sdh: 58 files, 420/52284 clusters
root@Rezak:~# fdisk -l /dev/sdh
Disk /dev/sdh: 3426 MB, 3426746368 bytes
106 heads, 62 sectors/track, 1018 cylinders, total 6692864 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6f20736b
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/sdh1 ? 778135908 1919645538 570754815+ 72 Unknown
/dev/sdh2 ? 168689522 2104717761 968014120 65 Novell Netware 386
/dev/sdh3 ? 1869881465 3805909656 968014096 79 Unknown
/dev/sdh4 ? 0 3637226495 1818613248 d Unknown
Partition table entries are not in disk order
root@Rezak:~#
root@Rezak:~# fsck.vfat -v /dev/sdh -a
dosfsck 3.0.12 (29 Oct 2011)
dosfsck 3.0.12, 29 Oct 2011, FAT32, LFN
Checking we can access the last sector of the filesystem
Boot sector contents:
System ID "MSDOS5.0"
Media byte 0xf8 (hard disk)
512 bytes per logical sector
65536 bytes per cluster
6 reserved sectors
First FAT starts at byte 3072 (sector 6)
2 FATs, 16 bit entries
104960 bytes per FAT (= 205 sectors)
Root directory starts at byte 212992 (sector 416)
512 root directory entries
Data area starts at byte 229376 (sector 448)
52284 data clusters (3426484224 bytes)
63 sectors/track, 255 heads
0 hidden sectors
6692864 sectors total
/.Trash-1000
Contains a free cluster (400). Assuming EOF.
/eReading/
File size is 1179164 bytes, cluster chain length is > 1179648 bytes.
Truncating file to 1179164 bytes.
Reclaiming unconnected clusters.
*** buffer overflow detected ***: fsck.vfat terminated
======= Backtrace: =========
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
fsck.vfat[0x404409]
fsck.vfat[0x40645d]
fsck.vfat[0x401442]
/lib/x86_
fsck.vfat[0x401525]
======= Memory map: ========
00400000-0040c000 r-xp 00000000 08:07 131142 /sbin/dosfsck
0060b000-0060c000 r--p 0000b000 08:07 131142 /sbin/dosfsck
0060c000-0060d000 rw-p 0000c000 08:07 131142 /sbin/dosfsck
0060d000-0060f000 rw-p 00000000 00:00 0
02514000-0254e000 rw-p 00000000 00:00 0 [heap]
7f8b28f48000-
7f8b28f5d000-
7f8b2915c000-
7f8b2915d000-
7f8b2915e000-
7f8b29313000-
7f8b29512000-
7f8b29516000-
7f8b29518000-
7f8b2951d000-
7f8b29649000-
7f8b2973b000-
7f8b2973f000-
7f8b29740000-
7fffc94d1000-
7fffc95af000-
ffffffffff60000
Aborted (core dumped)
root@Rezak:~#
root@Rezak:~# dosfsck -a -w /dev/sdh
dosfsck 3.0.12, 29 Oct 2011, FAT32, LFN
/.Trash-1000
Contains a free cluster (400). Assuming EOF.
/eReading/
File size is 1179164 bytes, cluster chain length is > 1179648 bytes.
Truncating file to 1179164 bytes.
*** buffer overflow detected ***: dosfsck terminated
======= Backtrace: =========
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
dosfsck[0x404409]
dosfsck[0x40645d]
dosfsck[0x401442]
/lib/x86_
dosfsck[0x401525]
======= Memory map: ========
00400000-0040c000 r-xp 00000000 08:07 131142 /sbin/dosfsck
0060b000-0060c000 r--p 0000b000 08:07 131142 /sbin/dosfsck
0060c000-0060d000 rw-p 0000c000 08:07 131142 /sbin/dosfsck
0060d000-0060f000 rw-p 00000000 00:00 0
00948000-00982000 rw-p 00000000 00:00 0 [heap]
7f7a9d83f000-
7f7a9d854000-
7f7a9da53000-
7f7a9da54000-
7f7a9da55000-
7f7a9dc0a000-
7f7a9de09000-
7f7a9de0d000-
7f7a9de0f000-
7f7a9de14000-
7f7a9df40000-
7f7a9e032000-
7f7a9e036000-
7f7a9e037000-
7fffdcd11000-
7fffdcdff000-
ffffffffff60000
Aborted (core dumped)
root@Rezak:~# fsck.vfat -v /dev/sdh
dosfsck 3.0.12 (29 Oct 2011)
dosfsck 3.0.12, 29 Oct 2011, FAT32, LFN
Checking we can access the last sector of the filesystem
Boot sector contents:
System ID "MSDOS5.0"
Media byte 0xf8 (hard disk)
512 bytes per logical sector
65536 bytes per cluster
6 reserved sectors
First FAT starts at byte 3072 (sector 6)
2 FATs, 16 bit entries
104960 bytes per FAT (= 205 sectors)
Root directory starts at byte 212992 (sector 416)
512 root directory entries
Data area starts at byte 229376 (sector 448)
52284 data clusters (3426484224 bytes)
63 sectors/track, 255 heads
0 hidden sectors
6692864 sectors total
Checking for unused clusters.
Reclaimed 10 unused clusters (655360 bytes).
Leaving file system unchanged.
/dev/sdh: 55 files, 418/52284 clusters
root@Rezak:~# fsck.vfat -v /dev/sdh -a
dosfsck 3.0.12 (29 Oct 2011)
dosfsck 3.0.12, 29 Oct 2011, FAT32, LFN
Checking we can access the last sector of the filesystem
Boot sector contents:
System ID "MSDOS5.0"
Media byte 0xf8 (hard disk)
512 bytes per logical sector
65536 bytes per cluster
6 reserved sectors
First FAT starts at byte 3072 (sector 6)
2 FATs, 16 bit entries
104960 bytes per FAT (= 205 sectors)
Root directory starts at byte 212992 (sector 416)
512 root directory entries
Data area starts at byte 229376 (sector 448)
52284 data clusters (3426484224 bytes)
63 sectors/track, 255 heads
0 hidden sectors
6692864 sectors total
Reclaiming unconnected clusters.
*** buffer overflow detected ***: fsck.vfat terminated
======= Backtrace: =========
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
fsck.vfat[0x404409]
fsck.vfat[0x40645d]
fsck.vfat[0x401442]
/lib/x86_
fsck.vfat[0x401525]
======= Memory map: ========
00400000-0040c000 r-xp 00000000 08:07 131142 /sbin/dosfsck
0060b000-0060c000 r--p 0000b000 08:07 131142 /sbin/dosfsck
0060c000-0060d000 rw-p 0000c000 08:07 131142 /sbin/dosfsck
0060d000-0060f000 rw-p 00000000 00:00 0
014c2000-014fc000 rw-p 00000000 00:00 0 [heap]
7f190c0b4000-
7f190c0c9000-
7f190c2c8000-
7f190c2c9000-
7f190c2ca000-
7f190c47f000-
7f190c67e000-
7f190c682000-
7f190c684000-
7f190c689000-
7f190c7b5000-
7f190c8a7000-
7f190c8ab000-
7f190c8ac000-
7fff6cd5d000-
7fff6cdff000-
ffffffffff60000
Aborted (core dumped)
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1103146/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]