Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 4 Dec 2002 03:14:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 4 Dec 2002 03:14:51 -0500 Received: from 12-253-132-99.client.attbi.com ([12.253.132.99]:28032 "EHLO luke.no-ip.org") by vger.kernel.org with ESMTP id ; Wed, 4 Dec 2002 03:14:48 -0500 Subject: PROBLEM: "kernel BUG" in syslog From: Luke Q To: linux-kernel@vger.kernel.org Content-Type: text/plain Organization: Message-Id: <1038990133.709.22.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 04 Dec 2002 01:22:14 -0700 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 10455 Lines: 214 I recently had an interesting problem.. the local terminal on my Debian/Unstable went blank suddenly, so I headed over to my trusty music server to see if I could log in remotely and kill off X (which is usually the cause of problems like this) ..after logging in, I found that most commands would run alright (sudo, ls, df..) but using kill would freeze the terminal completely. An inspection of my kernel logs showed a bunch of these: Dec 2 23:56:02 localhost kernel: kernel BUG at page_alloc.c:102! Dec 2 23:56:02 localhost kernel: invalid operand: 0000 Dec 2 23:56:02 localhost kernel: CPU: 0 Dec 2 23:56:02 localhost kernel: EIP: 0010:[__free_pages_ok+68/652] Tainted: PF Dec 2 23:56:02 localhost kernel: EFLAGS: 00010282 Dec 2 23:56:02 localhost kernel: eax: c12b2070 ebx: c11da5f0 ecx: c11da60c edx: c029c780 Dec 2 23:56:02 localhost kernel: esi: 00000000 edi: 00000018 ebp: 000001f8 esp: c15a9f14 Dec 2 23:56:02 localhost kernel: ds: 0018 es: 0018 ss: 0018 Dec 2 23:56:02 localhost kernel: Process kswapd (pid: 4, stackpage=c15a9000) Dec 2 23:56:02 localhost kernel: Stack: d804e3e0 c11da5f0 00000018 000001f8 c0132c8c c11da5f0 000001d0 00000018 Dec 2 23:56:02 localhost kernel: 000001f8 c01311ec d804e3e0 c11da5f0 c0128fc2 c0129fc3 c0128ffb 00000020 Dec 2 23:56:02 localhost kernel: 000001d0 00000020 00000006 00000006 c15a8000 00002ed3 000001d0 c029c914 Dec 2 23:56:02 localhost kernel: Call Trace: [try_to_free_buffers+144/228] [try_to_release_page+68/72] [shrink_cache+490/764] [__free_pages+27/28] [shrink_cache+547/764] Dec 2 23:56:02 localhost kernel: [shrink_caches+88/128] [try_to_free_pages_zone+58/92] [kswapd_balance_pgdat+65/140] [kswapd_balance+26/48] [kswapd+153/188] [kernel_thread+40/56] Dec 2 23:56:02 localhost kernel: Dec 2 23:56:02 localhost kernel: Code: 0f 0b 66 00 d3 b2 24 c0 89 d8 2b 05 f0 c4 2f c0 69 c0 a3 8b I eventually just rebooted the machine. Unfortunately, I have no idea what triggered the bug. Cron reported that sendmail segfaulted at about the same time, but I suspect that was only a result of the bug, and not a cause. Here's the output of ver_linux: Linux rock 2.4.20 #2 Sat Nov 30 14:55:48 MST 2002 i686 unknown unknown GNU/Linux Gnu C 2.95.4 Gnu make 3.80 util-linux 2.11x mount 2.11x modutils 2.4.21 e2fsprogs 1.32 PPP 2.4.1 Linux C Library 2.3.1 Dynamic linker (ldd) 2.3.1 Procps 3.1.0 Net-tools 1.60 Console-tools 0.2.3 Sh-utils 4.5.3 Modules Loaded ipt_LOG iptable_filter ip_tables printer vfat fat analog emu10k1-gp gameport joydev input emu10k1 ac97_codec sound soundcore usb-uhci ide-cd cdrom /proc/cpuinfo: processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 8 model name : Pentium III (Coppermine) stepping : 6 cpu MHz : 930.338 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse bogomips : 1854.66 lspci -vvv 00:00.0 Host bridge: Intel Corp. 82815 815 Chipset Host Bridge and Memory Controller Hub (rev 02) Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- Reset- FastB2B- 00:1e.0 PCI bridge: Intel Corp. 82801BA/CA PCI Bridge (rev 02) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- Reset- FastB2B- 00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 02) Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR-