Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91750 - badblocks -b <some_positive_value> /dev/<drive_or_partition> triggers a floating point exception
Summary: badblocks -b <some_positive_value> /dev/<drive_or_partition> triggers a float...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-06 17:12 UTC by Matthias Langer
Modified: 2005-05-07 03:07 UTC (History)
0 users

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 Matthias Langer 2005-05-06 17:12:35 UTC
This is what i get when trying to use the -b option with badblocks
# badblocks -b 4 /dev/hdb1
Floating point exception
By the way, this happens with other numbers too. Without the -b option the program works.


Reproducible: Always
Steps to Reproduce:
1. badblocks -b 4 /dev/hdxy
2.
3.

Actual Results:  
The program triggered a floating point exception.

Expected Results:  
Check a partition for bad blocks with a given blocksize.

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11.7 i686)
=================================================================
System uname: 2.6.11.7 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 28 2005, 15:59:28)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.7.9-r1, 1.5, 1.6.3, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -mmmx -msse -m3dnow -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -mmmx -msse -m3dnow -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aalib alsa apm arts avi berkdb bitmap-fonts bonobo
bzlib cdr crypt cups curl eds emboss encode esd fam firebird foomaticdb fortran
gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg
junit libg++ libwww mad mikmod mmx mmxext motif mozilla mp3 mpeg ncurses nls ogg
oggvorbis opengl oss pam pdflib perl png postgres python qt readline sdl slang
spell sqlite sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts
usb vorbis xine xml xml2 xmms xv xvid zlib video_cards_radeon userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 SpanKY gentoo-dev 2005-05-06 23:36:01 UTC
you didnt say what version of e2fsprogs you're using :P

if it isnt 1.37-r1, then please try upgrading
Comment 2 Matthias Langer 2005-05-07 03:07:54 UTC
Well, i'm using 1.35-r1 at the moment, which is the latest version in the stable branch for x86. By the way - i found out that I maybe should have written '-b 4096' instead of '-b 4'. With 1.37-r1 i get 'badblocks: File too large while trying to determine device size' which seems to be more reasonable.