Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17671 - dosfsck from dosfstools-2.8-r3 cannot fix bad clusters on FAT floppies when they occur in files.
Summary: dosfsck from dosfstools-2.8-r3 cannot fix bad clusters on FAT floppies when t...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-17 04:36 UTC by Aniruddha Shankar
Modified: 2003-05-03 12:47 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aniruddha Shankar 2003-03-17 04:36:28 UTC
> dosfsck -waft /dev/fd0
dosfsck 2.8, 28 Feb 2001, FAT32, LFN
/Notice-appli.doc
  Cluster 7 (9) is unreadable. Skipping it.
Internal error: next_cluster on bad cluster
>

When dosfsck finds bad clusters in files on FAT floppies, it borks and returns to the prompt. To mark bad clusters on FAT floppies you have to format the floppy first or delete all the files and then, immediately afterwards, run dosfsck .

Reproducible: Always
Steps to Reproduce:
1. fill an entire FAT floppy with files.
2. punch a  hole in the floppy material with a pin or scissor tip
3. run dosfsck -waft /dev/fd0, which should check the floppy for physical errors. 
Actual Results:  
dosfsck, on encountering an error in a file will crash to the command prompt. 

Expected Results:  
dosfsck should mark the affected clusters as bad in the FAT and continue checking from the next cluster onwards. 

> emerge info
Portage 2.0.47-r10 (default-1.0, gcc-2.95.3, glibc-2.2.5-r7)
=================================================================
System uname: 2.4.20-ck4 i686 Celeron (Coppermine)
GENTOO_MIRRORS="ftp://localhost/ http://gentoo.oregonstate.edu/ http://www.ibibl                      io.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share                      /config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/ge                      neric/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss avi crypt cups encode jpeg libg++ mikmod mmx mpeg ncurses pdflib qu                      icktime spell truetype xml2 xmms xv arts berkdb bonobo cdr gdbm gif gnome-libs g                      pm gtk guile imlib java kde libwww motif nls oggvorbis opengl pam png python qt                       readline scanner sdl slang ssl svga tcltk tcpd X -3dnow aalib acpi alsa -apm dga                       directfb doc esd fbcon flash gd ggi ggz gnome gtkhtml imap lcms ldap mozilla na                      s nocardbus perl samba slp sse tetex tiff wmf xml zlib mozsvg -mozcalendar mozac                      cess mozinterfaceinfo mozp3p -mozxmlterm moznoirc moznomail -moznocompose"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
CXXFLAGS="-march=i686 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j8"
AUTOCLEAN="yes"
SYNC="rsync://mailserver/gentoo-portage"
FEATURES="sandbox ccache distcc userpriv usersandbox"
Comment 1 SpanKY gentoo-dev 2003-04-27 22:27:42 UTC
i'm in london ... currently i'm an inactive dev ...

but is this *really* a Gentoo bug ?
Comment 2 Aniruddha Shankar 2003-04-29 17:21:48 UTC
I'm not sure it is a gentoo bug. I don't run any other version of linux so am unable to check. is it possible for you to do this ? shouldn't take much time, as long as you have access to a machine running a distro other than gentoo. 

Aniruddha Shankar
Bangalore, India
Comment 3 Jay Pfeifer (RETIRED) gentoo-dev 2003-05-03 12:46:51 UTC
this does seem to be gentoo specific.

won't fix.
Comment 4 Jay Pfeifer (RETIRED) gentoo-dev 2003-05-03 12:47:58 UTC
correct to my faulty typing above...  :(

this *DOES NOT* seem to be Gentoo specific...

won't fix...