Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101881 - MTRR errors in kernel, KDE 3.4.1 crashes.
Summary: MTRR errors in kernel, KDE 3.4.1 crashes.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-09 10:31 UTC by Francisco J. Yáñez
Modified: 2005-08-09 14:58 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 Francisco J. Yáñez 2005-08-09 10:31:18 UTC
Emerged kde 3.4.1 (kde-meta). The first two days all worked perfectly, then kde
started to crash. 

The crash is: I start kde desktop, it loads ok. Then I click the desktop, then
it dissappears. I can't start any kde application, and if I use the K button,
Xorg crashes and in the dmesg output I can see the following errors:

mtrr: no MTRR for d0000000,2000000 found
mtrr: no MTRR for d0000000,2000000 found

Then I can't restart kdm or use any KDE app. I can't re-emerge kde because
neither, when I try this I have errors of undefined symbols in libraries like
kdelibui or qt. Everytime I have an error of undefined symbol, dmesg output adds 

mtrr: no MTRR for d0000000,2000000 found
mtrr: no MTRR for d0000000,2000000 found

However, I can continue using the system if I restart without kdm and with xfce4
(not using kde related apps the system is stable). If i restart the system,
everything goes ok and I can start using kde for some minutes before it crashs
again. Trying to reemerge kde packages I got the next error in dmesg (I got this
error only one time):

------------[ cut here ]------------
kernel BUG at mm/rmap.c:493!
invalid operand: 0000 [#1]
PREEMPT 
Modules linked in: w83627hf i2c_isa snd_seq_oss ntfs binfmt_misc nvidia uhci_hcd
usbcore i2c_sensor snd_emu10k1_synth snd_emux_synth snd_seq_virmidi
snd_seq_midi_emul snd_pcm_oss snd_mixer_oss snd_seq_midi snd_seq_midi_event
snd_seq snd_rtctimer snd_emu10k1 snd_rawmidi snd_seq_device snd_ac97_codec
snd_pcm snd_timer snd_page_alloc snd_util_mem snd_hwdep snd soundcore
hangcheck_timer evdev parport_pc lp parport analog joydev emu10k1_gp gameport
libcrc32c ppp_async ppp_generic slhc crc_ccitt ip_gre psmouse rtc ide_cd thermal
processor fan button ac tuner tda9887 bttv video_buf firmware_class i2c_algo_bit
v4l2_common btcx_risc tveeprom i2c_core videodev
CPU:    0
EIP:    0060:[<c0149d97>]    Tainted: P      VLI
EFLAGS: 00010286   (2.6.12-ck4) 
EIP is at page_remove_rmap+0x37/0x50
eax: ffffffff   ebx: ed48c9a0   ecx: c13002a0   edx: c13002a0
esi: 08268000   edi: c13002a0   ebp: 00000020   esp: c8eb1eb0
ds: 007b   es: 007b   ss: 0068
Process rsync (pid: 3350, threadinfo=c8eb0000 task=d90efac0)
Stack: c15c7a00 ed48c9a0 c0143445 c13002a0 c0102987 ed48d080 08270000 08270000 
       0826ffff c01435aa c038a214 ed48d080 08268000 08270000 00000000 00008000 
       08270000 08270000 dcda5804 c01436b7 c038a214 dcda5804 08268000 08270000 
Call Trace:
 [<c0143445>] zap_pte_range+0xc5/0x1a0
 [<c0102987>] handle_signal+0xa7/0x130
 [<c01435aa>] unmap_page_range+0x8a/0xb0
 [<c01436b7>] unmap_vmas+0xe7/0x1f0
 [<c0148034>] exit_mmap+0x84/0x160
 [<c0114d87>] mmput+0x37/0xa0
 [<c01195fe>] do_exit+0xbe/0x3c0
 [<c0119974>] do_group_exit+0x34/0xa0
 [<c0102ca1>] syscall_call+0x7/0xb
Code: 75 33 83 42 08 ff 0f 98 c0 84 c0 74 1a 8b 42 08 40 78 18 c7 44 24 04 ff ff
ff ff c7 04 24 10 00 00 00 e8 cd 0c ff ff 83 c4 08 c3 <0f> 0b ed 01 23 d1 2a c0
eb de 0f 0b ea 01 23 d1 2a c0 eb c3 90 
 <6>note: rsync[3350] exited with preempt_count 1
Bad page state at prep_new_page (in process 'X', page c13002a0)
flags:0x20000014 mapping:00000000 mapcount:-1 count:0
Backtrace:
 [<c01398a4>] bad_page+0x74/0xb0
 [<c0139bf1>] prep_new_page+0x31/0x60
 [<c013a197>] buffered_rmqueue+0x107/0x1e0
 [<c013a709>] __alloc_pages+0x3f9/0x420
 [<c0144bb2>] do_anonymous_page+0x62/0x150
 [<c0144d03>] do_no_page+0x63/0x300
 [<c01451a9>] handle_mm_fault+0xe9/0x190
 [<c0111abc>] do_page_fault+0x18c/0x599
 [<c01134da>] scheduler_tick+0x1a/0x240
 [<c01079d3>] timer_interrupt+0x63/0xb0
 [<c0134060>] handle_IRQ_event+0x30/0x70
 [<c011bc3d>] __do_softirq+0x7d/0x90
 [<c0111930>] do_page_fault+0x0/0x599
 [<c0103727>] error_code+0x4f/0x54
Trying to fix it up, but a reboot is needed

If I use xfce4 and no kde packages, the system is stable 100%, I can reemerge
packages like glibc, kernel, xorg perfectly but I can't reemerge packages that
use kdelibs, I got ramdom errors like:

/usr/kde/3.4/lib/libkhtml.so: undefined reference to
`KParts::BrowserExtension::virtual_hook(int, void*)'


The only unstable thing on my computer is KDE 3.4.1.

Reproducible: Always
Steps to Reproduce:
1. Start kdm and kde
2. Wait some minutes
3. Use any kde app or lib.

Actual Results:  
KDE crashs, and I can't use kde anymore until I reboot the system. However I can
continue using xfce4, and the system goes stable.

Expected Results:  
KDE should'nt crash.

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.12-ck4 i686)
=================================================================
System uname: 2.6.12-6 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
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.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -m3dnow -msse -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /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="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -m3dnow -msse -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="es_ES.utf8"
LC_ALL="es_ES.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -z combreloc -Wl,--enable-new-dtags -Wl,--relax"
LINGUAS="es"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac acpi alsa arts artswrappersuid avi berkdb
bitmap-fonts bzip2 bzlib ccache cdda cddb cdparanoia cdr cdrom crypt cscope css
cups curl divx4linux dmx dvd dvdread emboss encode fam flac foomaticdb fortran
gd gdbm gif gpm gstreamer gtk gtk2 guile imagemagick imap imlib ipv6 jabber java
jpeg junit kde kdeenablefinal kdexdeltas ldap libg++ libwww mad maildir mikmod
mixer mmx mmxext motif moznocompose moznoirc moznomail mozplaintext mp3 mpeg
mpeg4 mplayer mppe-mppc msn mttr music ncurses nls nvidia ogg oggvorbis openal
opengl oss pam pdflib perl png ppds python qt quicktime readline real rtc samba
scanner sdl slang sockets speex spell sse ssl tcltk tcpd tetex tiff timidity
transcode truetype truetype-fonts type1-fonts uim unicode v4l videos vorbis xml
xml2 xmms xprint xv xvid zlib linguas_es userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, MAKEOPTS
Comment 1 Francisco J. Yáñez 2005-08-09 14:58:28 UTC
Hardware problem, sorry. Lowering DRAM timings fixed the problem.