Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142376 - app-laptop/hdapsd-20060409 hangs sata drive
Summary: app-laptop/hdapsd-20060409 hangs sata drive
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-31 22:39 UTC by Anton Bolshakov
Modified: 2006-12-05 03:40 UTC (History)
1 user (show)

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


Attachments
kernel config attached (.config,41.22 KB, text/plain)
2006-07-31 22:40 UTC, Anton Bolshakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Bolshakov 2006-07-31 22:39:19 UTC
I'm using
sys-kernel/gentoo-sources-2.6.17-r4
app-laptop/hdapsd-20060409
app-laptop/khdapsmonitor-0.1

I applied the patch using
emerge --config hdapsd and recompiled kernel.

It works fine then a harddisk is not busy. Khdapsmonitor displays pause mode icon it really blocks a hdd.

However, it totally hang a box if I shake it then hdd is active.
I'm using sata driver for cdrom as well and it might be an issue.


13:35:32 pentest queue # emerge --info
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.averse.net/pub/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cli crypt cups curl dlloader dri eds emboss encode esd expat ffmpeg flac foomaticdb fortran gdbm gif gmp gpm gtk2 hal idn imlib ipv6 isdnlog java jpeg kde ldap libg++ libwww logitech-mouse mad mikmod mmx mng motif mp3 mpeg ncurses nls nptl ogg opengl pam pcmcia pcre pdflib perl pmount png pppd python qt qt3 qt4 quicktime readline reflection ruby samba sdl session snmp speex spell spl sse sse2 ssl tcltk tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis wifi xine xml xml2 xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en linguas_ru userland_GNU video_cards_i915 video_cards_vesa video_cards_i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Anton Bolshakov 2006-07-31 22:40:57 UTC
Created attachment 93180 [details]
kernel config attached
Comment 2 Roy Marples (RETIRED) gentoo-dev 2006-08-01 02:28:55 UTC
Can't say that I'm seeing this myself :/

Can you try build tp_smapi with the hdaps USE flag?
Comment 3 Anton Bolshakov 2006-08-01 04:46:59 UTC
It's there already:
[ebuild   R   ] app-laptop/tp_smapi-0.21  USE="hdaps" 0 kB

here is /etc/modules.autoload.d/kernel-2.6:
tp_smapi
hdaps
ibm_acpi experimental=1 hotkey=enable,0xffff

I found that I'm not alone with it:
http://article.gmane.org/gmane.linux.drivers.hdaps.devel/711
Comment 4 Anton Bolshakov 2006-08-01 04:47:42 UTC
let me know if you need an additional info.
Comment 5 Roy Marples (RETIRED) gentoo-dev 2006-12-05 03:40:13 UTC
-r1 should fix this if you have a 2.6.18 or 2.6.19 kernel.