Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53238 - acpi (I think) is leading to crashes/bad paging in kernel
Summary: acpi (I think) is leading to crashes/bad paging in kernel
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-07 12:37 UTC by ben
Modified: 2004-07-26 14:35 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 ben 2004-06-07 12:37:19 UTC
I was emerging gnome and went away.  Some time later I come back and it's clearly  frozen--monitor in low power mode, but I can't get it to come back up.  I restarted; in /var/log/messages was: (it was much longer, if you need the whole thing I'll post it):

Jun  7 12:15:49 coelacanth Trying to fix it up, but a reboot is needed
Jun  7 12:15:49 coelacanth Unable to handle kernel paging request at virtual address 00040004
Jun  7 12:15:49 coelacanth printing eip:
Jun  7 12:15:49 coelacanth c0141fd5
Jun  7 12:15:49 coelacanth *pde = 00000000
Jun  7 12:15:49 coelacanth Oops: 0000 [#1]
Jun  7 12:15:49 coelacanth PREEMPT
Jun  7 12:15:49 coelacanth CPU:    0
Jun  7 12:15:49 coelacanth EIP:    0060:[<c0141fd5>]    Tainted: P
Jun  7 12:15:49 coelacanth EFLAGS: 00013246   (2.6.6)
Jun  7 12:15:49 coelacanth EIP is at page_add_rmap+0x35/0xc0
Jun  7 12:15:49 coelacanth eax: 20000064   ebx: c166f160   ecx: 00040000   edx:
e6079f98
Jun  7 12:15:49 coelacanth esi: eafb3280   edi: e6079f98   ebp: eafb3280   esp:
efe35e7c
Jun  7 12:15:49 coelacanth ds: 007b   es: 007b   ss: 0068
Jun  7 12:15:49 coelacanth Process X (pid: 26248, threadinfo=efe34000 task=f59b90b0)
Jun  7 12:15:49 coelacanth Stack: 3378b067 e6079f98 c166f160 c013da39 f378b000 f5a15480 483e6000 ecf6db44
Jun  7 12:15:49 coelacanth 00000001 c013db61 f5f4d180 ecf6db44 e6079f98 f5a15480 00000001 00000f98
Jun  7 12:15:49 coelacanth 08957ee8 00000000 00000000 00000001 f5a15480 483e6000 f5f4d180 00000001
[... MORE HERE ...]
Jun  7 12:15:49 coelacanth [<c0105dcd>] do_IRQ+0xfd/0x130
Jun  7 12:15:49 coelacanth [<c0111f00>] do_page_fault+0x0/0x53c
Jun  7 12:15:49 coelacanth [<c01042b1>] error_code+0x2d/0x38
Jun  7 12:15:49 coelacanth
Jun  7 12:15:49 coelacanth Unable to handle kernel paging request at virtual address 00040000
Jun  7 12:15:49 coelacanth printing eip:
Jun  7 12:15:49 coelacanth c0142135
Jun  7 12:15:49 coelacanth *pde = 00000000
Jun  7 12:15:49 coelacanth Oops: 0000 [#2]
Jun  7 12:15:49 coelacanth PREEMPT
Jun  7 12:15:49 coelacanth CPU:    0
Jun  7 12:15:49 coelacanth EIP:    0060:[<c0142135>]    Tainted: P
Jun  7 12:15:49 coelacanth EFLAGS: 00013246   (2.6.6)
Jun  7 12:15:49 coelacanth EIP is at page_remove_rmap+0xd5/0x170
Jun  7 12:15:49 coelacanth eax: 20000074   ebx: c166f160   ecx: 00000000   edx:
e6079f98
Jun  7 12:15:49 coelacanth esi: 00091000   edi: 00040000   ebp: e6079f98   esp:
efe35c34
Jun  7 12:15:49 coelacanth ds: 007b   es: 007b   ss: 0068
Jun  7 12:15:49 coelacanth Process X (pid: 26248, threadinfo=efe34000 task=f59b90b0)
Jun  7 12:15:49 coelacanth Stack: ffffffff c045e510 00000000 00003202 00040000 e6079f98 00091000 000ab000
Jun  7 12:15:49 coelacanth c166f160 c013c392 c16486a0 f5c248b0 c0102aa4 c04ea868 3378b067 f5a15484
Jun  7 12:15:49 coelacanth 48755000 48400000 00000000 c013c4d7 c0519ef4 f5a15480 48355000 000ab000
Jun  7 12:15:49 coelacanth Call Trace:
Jun  7 12:15:49 coelacanth [<c013c392>] zap_pte_range+0x132/0x220
Jun  7 12:15:49 coelacanth [<c0102aa4>] __switch_to+0x114/0x180
Jun  7 12:15:49 coelacanth [<c013c4d7>] zap_pmd_range+0x57/0x80
[... MORE HERE ...]
Jun  7 12:15:49 coelacanth [<c01042b1>] error_code+0x2d/0x38
Jun  7 12:15:49 coelacanth [<c0142135>] page_remove_rmap+0xd5/0x170
Jun  7 12:15:49 coelacanth [<c013c392>] zap_pte_range+0x132/0x220
Jun  7 12:15:49 coelacanth [<c0102aa4>] __switch_to+0x114/0x180
Jun  7 12:15:49 coelacanth [<c013c4d7>] zap_pmd_range+0x57/0x80
Jun  7 12:15:49 coelacanth [<c013c54b>] unmap_page_range+0x4b/0x80
Jun  7 12:15:49 coelacanth [<c013c64d>] unmap_vmas+0xcd/0x190
Jun  7 12:15:49 coelacanth [<c014062b>] exit_mmap+0x8b/0x1a0
Jun  7 12:15:49 coelacanth [<c01150a4>] mmput+0x64/0x90
Jun  7 12:15:49 coelacanth [<c0119548>] do_exit+0x118/0x450
Jun  7 12:15:49 coelacanth [<c0111f00>] do_page_fault+0x0/0x53c
Jun  7 12:15:49 coelacanth [<c0104939>] die+0xf9/0x100
Jun  7 12:15:49 coelacanth [<c01120de>] do_page_fault+0x1de/0x53c
Jun  7 12:15:49 coelacanth [<c0117606>] printk+0x136/0x190
Jun  7 12:15:49 coelacanth [<c01042b1>] error_code+0x2d/0x38
Jun  7 12:15:49 coelacanth [<c01045ec>] dump_stack+0x1c/0x20
Jun  7 12:15:49 coelacanth [<c0133322>] prep_new_page+0x32/0x60
Jun  7 12:15:49 coelacanth [<c0133875>] buffered_rmqueue+0xf5/0x1d0
Jun  7 12:15:49 coelacanth [<c0111f00>] do_page_fault+0x0/0x53c
Jun  7 12:15:49 coelacanth [<c01042b1>] error_code+0x2d/0x38
Jun  7 12:15:49 coelacanth [<c0141fd5>] page_add_rmap+0x35/0xc0
Jun  7 12:15:49 coelacanth [<c013da39>] do_anonymous_page+0x119/0x1e0
Jun  7 12:15:49 coelacanth [<c013db61>] do_no_page+0x61/0x300
Jun  7 12:15:49 coelacanth [<c013dff4>] handle_mm_fault+0xd4/0x170
Jun  7 12:15:49 coelacanth [<c0112240>] do_page_fault+0x340/0x53c
Jun  7 12:15:49 coelacanth [<c011efc6>] update_process_times+0x46/0x60
Jun  7 12:15:49 coelacanth [<c0117f6d>] profile_hook+0x2d/0x4b
Jun  7 12:15:49 coelacanth [<c011af7d>] __do_softirq+0x7d/0x80
Jun  7 12:15:49 coelacanth [<c0105dcd>] do_IRQ+0xfd/0x130
Jun  7 12:15:49 coelacanth [<c0111f00>] do_page_fault+0x0/0x53c
Jun  7 12:15:49 coelacanth [<c01042b1>] error_code+0x2d/0x38
Jun  7 12:15:49 coelacanth
Jun  7 12:15:49 coelacanth (wolfson-26271): Received signal 1, shutting down cleanly
Jun  7 12:15:49 coelacanth su(pam_unix)[31911]: session closed for user root
Jun  7 12:15:49 coelacanth (wolfson-26271): Exiting

Kernel config is at http://home.uchicago.edu/~wolfson/.config .  It's vanilla 2.6.6.

HOWEVER, I've also encountered some internal compiler errors while compiling large programs---it happens pretty consistently while emerging qt, for example.  Those reports suggest hardware problems.  The memory passes memtest86 fine.  I don't know if this is related.  Should I just disable ACPI?  Should I enable APM, or just not use power management?  The mobo is ASUS AV7V600.

(Also, I just noticed that I have "apm" in USE.  That was after I had already configured & compiled the kernel by hand---without apm support.  What user programs might be affecting this?)

Reproducible: Sometimes
Steps to Reproduce:
1.  Go Away
2.  Come Back
3.  Uh oh!

Actual Results:  
Sometimes it works ok, sometimes it's busted as above.


Portage 2.0.50-r7 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.6)
=================================================================
System uname: 2.6.6 i686 AMD Athlon(TM) XP 3000+
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf
/etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aim alsa apm avi berkdb cdr crypt cups dvd emacs encode esd foomaticdb
gdbm gif gnome gpm gtk gtk2 gtkhtml imlib jpeg jpg libg++ libwww mad mikmod
motif mozilla mpeg msn ncurses nls oggvorbis opengl oss pam pdflib perl png
python quicktime readline sdl slang spell ssl svga tcpd tetex truetype x86 xml2
xmms xv yahoo zlib"
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2004-06-20 05:39:33 UTC
Since this is an issue with the vanilla 2.6.6 sources this looks like an upstream bug, rather than something that is Gentoo-related.

Could you please try out development-sources-2.6.7, and if they do not solve the issue can you please file a bug with the upstream kernel developers at http://bugme.osdl.org? Thanks...
Comment 2 Gregg Casillo 2004-06-21 19:49:45 UTC
I am having the same problem with 2.6.7 and 2.6.7-r3 of gentoo-dev-sources. A kernel panic that resembles this but prevents me from even booting. The last gentoo-dev-sources kernel I could boot with ACPI was 2.6.5-r1. I can stop this kernel panic and boot normally if I append "acpi=off" to the kernel line of my grub.conf.
Comment 3 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-06-21 20:34:22 UTC
Ok, it sounds like this needs to be opened at bugzilla.kernel.org :)
Comment 4 Gregg Casillo 2004-07-26 14:35:12 UTC
More information regarding ACPI preventing a gentoo-dev-sources-2.6.7 kernel from booting. I have several boxes with Pentium chips, most Pentium4. ACPI works in all of these boxes except the ones that have Intel 865PERL motherboards in them. So this problem appears to be isolated to only machines that have this motherboard. Maybe other mobos have the problem, but at home, I can enable ACPI in two computers. One has an Asus P4PE-X mobo; the other, an Intel 865GBF.