Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113310 - fdisk -l Unable to seek disks
Summary: fdisk -l Unable to seek disks
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-22 21:05 UTC by Dave Strydom
Modified: 2005-11-23 03:16 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 Dave Strydom 2005-11-22 21:05:13 UTC
I don't think sys-apps/util-linux-2.12r should be marked as Stable.
I get the following errors with fdisk -l and cfdisk doesn't pickup the hard drives.



Reproducible: Always
Steps to Reproduce:
1. emerge =sys-apps/util-linux-2.12r
2. fdisk -l

Actual Results:  
Unable to seek on /dev/sda 

Expected Results:  
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          18      144553+  83  Linux
/dev/sda2              19         516     4000185   82  Linux swap / Solaris
/dev/sda3             517       10242    78124095   83  Linux
/dev/sda4           10243       14593    34949407+  83  Linux

Disk /dev/sdb: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1       12158    97659103+  83  Linux
/dev/sdb2           12159       18237    48829567+  83  Linux
/dev/sdb3           18238       24321    48869730   83  Linux


to fix this, I downgraded to sys-apps/util-linux-2.12q-r3
Comment 1 SpanKY gentoo-dev 2005-11-23 02:45:16 UTC
you neglected to post `emerge info` like the bug report page told you to
Comment 2 Dave Strydom 2005-11-23 03:06:40 UTC
Portage 2.0.51.22-r3 (hardened/x86/2.6, gcc-3.3.6, glibc-2.3.5-r2,
2.6.11-hardened-r15 i686)
=================================================================
System uname: 2.6.11-hardened-r15 i686 Intel(R) Xeon(TM) CPU 2.80GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -fforce-addr"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i386 -pipe -fforce-addr"
DISTDIR="/home/distfiles/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
SYNC="rsync://64.127.121.98/gentoo-portage"
USE="apache2 apm berkdb bzip2 calendar clearpasswd crypt curl dbm dlloader
ethereal exiscan exiscan-acl expat extensions ftp gd geoip gif gmp hardened idn
imagemagick imap java jpeg libwww maildir mhash mime mmx mysql ncurses nls nptl
nptlonly pam pcre pdflib perl php pic png python readline snmp soap sockets sse
ssl svga tcpd tiff truetype udev usb userlocales vhosts x86 xml xml2 zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 3 SpanKY gentoo-dev 2005-11-23 03:16:00 UTC
do you have 2.12r or 2.12r-r1 ?  your error only occurs when using a hardened
toolchain but it should be fixed with 2.12r-r1 ...