Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136032 - hdparm blocked at boot time
Summary: hdparm blocked at boot time
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2006-06-08 00:57 UTC by davide moro
Modified: 2006-06-08 02:10 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description davide moro 2006-06-08 00:57:23 UTC
hdparmd blocking at boot running hdparm on /dev/hda

# hdparm -V
hdparm v6.3

# hdparm -tT /dev/hda

 Timing cached reads:   3552 MB in  2.02 seconds = 1757.14 MB/sec
 Timing buffered disk reads:   96 MB in  3.06 seconds =  31.37 MB/sec

From my /etc/conf.d/hdparm config:
hda_args="-d1 -c1 -A1 -m16 -u1 -a64"
hdb_args="-d1 -c1 -u1"

Here is my emerge info:

# emerge --info
Portage 2.0.54-r2 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-g
entoo-r7 i686)
System uname: 2.6.16-gentoo-r7 i686 Intel(R) Pentium(R) M processor 1.73GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shu
tdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/
X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="                                                                           distributions/gentoo"
USE="x86 X acpi alsa arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt                                                                            cups curl dri dvd eds emboss encode ethereal exif expat fam ffmpeg flac foomatic                                                                           db fortran gdbm gif gpm gstreamer gtk2 idn imlib isdnlog java jpeg kde lcms libg                                                                           ++ libwww lm_sensors mad mikmod mmx mng motif mp3 mpeg ncurses nls ogg oggvorbis                                                                            opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflectio                                                                           n scanner sdl session spell spl sse sse2 ssl tcpd tiff truetype truetype-fonts t                                                                           ype1-fonts udev usb vorbis xine xml2 xmms xorg xv zlib linguas_it userland_GNU k                                                                           ernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS,                                                                            PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY

Any suggestions?

Thanks in advance,

davide moro
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-08 01:01:31 UTC
(In reply to comment #0)
> hdparmd blocking at boot running hdparm on /dev/hda

Sorry, I'm afraid you'll need to describe better what you mean...
Comment 2 davide moro 2006-06-08 02:10:03 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > hdparmd blocking at boot running hdparm on /dev/hda
> Sorry, I'm afraid you'll need to describe better what you mean...

I'm sorry, it's very difficult write or speak in english for me: I will try to explain you what happens.

When I boot my system, the hdparm service sometimes (it seems randomly) doesn't work properly: it print on the screen "Running hdparm on /dev/hda" and it remains blocked indefinitely and I'm not able to login.

do_hdparm() {
        if [[ ${args:=$all_args} ]] ; then
                local orgdevice=$(readlink -f ${device})
                if [[ -b ${orgdevice} ]] ; then
                        ebegin "Running hdparm on ${device}" -> IT REMAINS BLOCKED INDEFINITELY running hdparm
                        hdparm ${args} ${device} > /dev/null
                        eend $?

With previous versions of hdparm it have always worked properly.

Best regards,

davide moro