Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 189448 - shutdown problems with kernels >2.6.20
Summary: shutdown problems with kernels >2.6.20
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 Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-19 11:08 UTC by Andrea
Modified: 2007-10-10 20:13 UTC (History)
0 users

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


Attachments
my dmesg (dme,15.09 KB, text/plain)
2007-08-19 11:20 UTC, Andrea
Details
nonfig kernel 2.6.20 (config-2.6.20-r8,43.12 KB, text/plain)
2007-08-20 15:32 UTC, Andrea
Details
nonfig kernel 2.6.22 (config-2.6.22,41.25 KB, text/plain)
2007-08-20 15:34 UTC, Andrea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea 2007-08-19 11:08:40 UTC
with gentoo-sources more recently of 2.6.20-r8, when i shutdown the laptop I receive the follows problems
1)unable to stopping cpufreq
2)unable to stopping hald (with error to manage handler 0x0011)
3)unable to remountind filesistems why devices are busy

Reproducible: Always

Steps to Reproduce:
1.download last gentoo-sources
2.copy old config and make "make oldconfig" and install new kernel
3.edit bootloader and reboot

Actual Results:  
i use kernel 2.6.20-r8


i thing that can to be critical why every times that i using this kernel i can "destroy" my filesystem....what can i do? usynd old kernel or this one with all risks?
Comment 1 Andrea 2007-08-19 11:20:18 UTC
Created attachment 128581 [details]
my dmesg

dmesg
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2007-08-19 11:23:09 UTC
Stop playing with Product, Component, Severity.. fields if you don't know what you are doing.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-08-19 12:54:03 UTC
Well, according to the dmesg output, your BIOS' ACPI implementation clearly sucks. You should post some info about your HW.
Comment 4 Andrea 2007-08-19 16:57:18 UTC
Toshiba m70-253
Bluetooth: yes
HD: 100 GB SATA
monitor: 15.4  16:9
DVD : Matshita
Hyper Threading: No
Chipset: Intel ICH6
GPU: Mobility X600
Processor Intel: Pentium M
RAM (Mb): 1024 MB
intel centrino: yes
Chipset: 915GM
Laptop
True resolution : WXGA
TV out: yes
clock (MHz): 1860 MHz
Video editing card: No
Wireless LAN: ipw2200
Comment 5 Andrea 2007-08-20 15:32:08 UTC
Created attachment 128693 [details]
nonfig kernel 2.6.20
Comment 6 Andrea 2007-08-20 15:34:46 UTC
Created attachment 128694 [details]
nonfig kernel 2.6.22
Comment 7 Carlos Silva (RETIRED) gentoo-dev 2007-08-21 19:53:33 UTC
Ok, let's try to clarify some things.

What was _exact_ kernel that you tested after gentoo-sources-2.6.20-r8? Was it gentoo-sources-2.6.20-r9 or gentoo-sources-2.6.21? It's important to us to know the first kernel that shows the abnormal behavior.

Another thing, please update your laptop BIOS. There is one dated of 07/08/2007 on the Toshiba site, so it's probably thing to do.
Comment 8 Andrea 2007-08-21 20:13:05 UTC
 i tested the gentoo sources 2.6.21-r4 and 2.6.22-r2 (all 2 stabilized) with the same errors.....

the problem "start" if i shutdown the laptop 20 minutes or plus post the it is on
Comment 9 Andrea 2007-08-22 02:40:48 UTC
is possible that the errors becomes for the file-system non-contiguos over an percent-rate?

tonight with 2.6.22

10 minutes ago  i've installed netbeans (230MB of packages), reboot the sistem and reselct new kernel(2.6.22).......when kde started, i attached my ipod and kde is freezed .....i try again rebooting(with my standard errors); re-inserting the ipod and kde-refreezed...rebooting(with errors)...but now making "shutdown -rF now"
th analysing have found 17% no contiguos file-system

and next-one i've insert the ipod and now no-1 kde-freezing and no rebooting errors....is maybeless?

Comment 10 Andrea 2007-08-22 06:37:59 UTC
maybe that i've founde the problem....is the battery/ac-adapter... remember my olf bug http://bugs.gentoo.org/show_bug.cgi?id=177392 and this new situation i try and found a same way: when klaptop dont see the the battery level/presence, if i try to do " cat /proc/acpi/battery/BAT1/state"i've the konsole without output and i cant do crtl-c......

and in in the same situation, if i put out the cable of ac-adapter from laptop, klaptop krask down and if reboot the macchine i see the errors......

the exact error after the no-stopping-hald is "error polling ACPI handler 0x0011"
Comment 11 Andrea 2007-08-22 07:01:03 UTC
making my personal test is definitely the problem conducing at an ACPI kernel problem, because turning off, and after turning on the adapter , 
in the situation of kernel 2.6.20 no problem, all perfect
in the situation of kernel 2.6.22 the klaptop krash because unable to read /proc/acpi/battery/BAT1/state , and the no-accessibility of this file create the problem of my system
Comment 12 Mike Pagano gentoo-dev 2007-09-17 16:55:21 UTC
Andrea,

Can you provide us with the output of: emerge --info
Also, can you please test with vanilla-source-2.6.23_rc6 (the latest as of this writing)?

Have you attempted to upgrade your bios as asked from Comment #7?

Do you get the error if you manually stop cpufreq? If so, can you post the dmesg output after you get the error?



Comment 13 Andrea 2007-09-17 17:48:08 UTC
so, now i'm upgrading the world....when i'm finish, i try to compile the vanilla sources......
for the bios, i've upgraded it but without "changes" in the errors...

i see the errors when i shuting down the syste...the i can't post dmess
Comment 14 Andrea 2007-09-17 18:52:19 UTC
the emerge --info is

ortage 2.1.3.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.23-rc6 i686)
=================================================================
System uname: 2.6.23-rc6 i686 Intel(R) Pentium(R) M processor 1.86GHz
Timestamp of tree: Mon, 17 Sep 2007 17:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O3 -pipe"
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/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium-m -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.tiscali.nl/ http://mirror.ing.unibo.it/gentoo/ http://ftp.gentoo.bg/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LINGUAS="it"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac aalib acl acpi alsa arts audiofile berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cli cpudetection cracklib crypt cups dbus dri dts dv dvd dvdr dvdread eds emboss encode esd evo fam flac fortran gdbm gif gpm gstreamer gtk hal i8x0 iconv innodb isdnlog java jpeg kde kerberos ldap mad midi mikmod mmx mmxext mod_php mp3 mpeg mudflap musepack ncurses nls nptl nptlonly ogg opengl openmp oss pam pascal pcre pdf perl png pppd python qt qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl svg tcpd threads tiff timidity truetype truetype-fonts type1-fonts vorbis wifi win32codecs wmf x86 xine xml xml2 xorg xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 15 Andrea 2007-09-17 18:54:28 UTC
now with the new kernel i see no big problem.....when i will shutdown the pc and see or not problems, i report you the situation
Comment 16 Maarten Bressers (RETIRED) gentoo-dev 2007-09-17 19:45:49 UTC
(In reply to comment #15)
> now with the new kernel i see no big problem.....when i will shutdown the pc
> and see or not problems, i report you the situation
> 

Do you mean you haven't performed a shutdown yet, after your emerge world and with the 2.6.23-rc6 kernel? If that's the case, can you please perform a shutdown to test? 
Comment 17 Andrea 2007-09-17 20:35:59 UTC
so.....i made the shutdown and for now no problems..........

take this actually for the "solution"
...but for the future i don't know why the problem can be appear after that the the laptop is on for 2-3-4h
Comment 18 Maarten Bressers (RETIRED) gentoo-dev 2007-09-17 20:39:58 UTC
Ok, give it some more time. Leave your box on for longer periods before shutting down. Let us know if you've encountered the bug again.
Comment 19 Andrea 2007-09-21 10:09:23 UTC
so, i thing that no relevant problems can i say you after my test period..

BUT, i dont know why the cpufreqd say to me to enable cpu_freq_scaling but i've enabled this...see and find that it's on *_kernel_config but the warning alway on...

booooohhhhhhh
Comment 20 Maarten Bressers (RETIRED) gentoo-dev 2007-09-21 16:02:15 UTC
About your last remark: I don't think that's a kernel bug, cpufreqd is the userspace daemon.

The bug you reported is fixed in 2.6.23-rc6, so we'll keep this bug open until gentoo-sources-2.6.23 is released. 

Comment 21 Maarten Bressers (RETIRED) gentoo-dev 2007-10-10 20:13:30 UTC
gentoo-sources-2.6.23 is in portage as of today.