Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263130AbUDZMg6 (ORCPT ); Mon, 26 Apr 2004 08:36:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263626AbUDZMg5 (ORCPT ); Mon, 26 Apr 2004 08:36:57 -0400 Received: from web41205.mail.yahoo.com ([66.218.93.38]:24728 "HELO web41205.mail.yahoo.com") by vger.kernel.org with SMTP id S263130AbUDZMek (ORCPT ); Mon, 26 Apr 2004 08:34:40 -0400 Message-ID: <20040426123433.48970.qmail@web41205.mail.yahoo.com> Date: Mon, 26 Apr 2004 05:34:33 -0700 (PDT) From: Pierre Berthier Subject: PROBLEM: memory managment bug in kernel >= 2.4.23 To: linux-kernel@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 43369 Lines: 1559 Dear Linux kernel people, a bug report concerning memory managment (?). I did not subscribe to the list, please CC me. Pierre [1.] One line summary of the problem: every two minutes a "__alloc_pages: 0-order allocation failed (gfp=0x21/0)" message. [2.] Full description of the problem/report: After ~5 days of running without problem, the kernel begins to print the following message, exactly twice every two minutes (see section 7.7 for a sample): kernel: __alloc_pages: 0-order allocation failed (gfp=0x21/0) During this, the machine works as good as usually, and finally after ~ 1.5 days, hangs. The problem arises using kernel from 2.4.23 to 2.4.26. No problems with kernel 2.4.21 (uptime up to 100+ days). I did not try 2.4.22. [3.] Keywords (i.e., modules, networking, kernel): kernel, memory managment [4.] Kernel version (from /proc/version): Linux version 2.4.26-1 (root@zooblythii) (gcc version 2.95.3 20010315 (release)) #1 SMP Mon Apr 19 11:06:23 CEST 2004 [5.] Output of Oops.. message (if applicable) with symbolic information resolved (see Documentation/oops-tracing.txt) [6.] A small shell script or example program which triggers the problem (if possible) [7.] Environment [7.1.] Software (add the output of the ver_linux script here) If some fields are empty or look unusual you may have an old version. Compare to the current minimal requirements in Documentation/Changes. Linux zooblythii 2.4.26-1 #1 SMP Mon Apr 19 11:06:23 CEST 2004 i686 unknown Gnu C 2.95.3 Gnu make 3.79.1 util-linux 2.11r mount 2.11r modutils 2.4.6 e2fsprogs 1.34 PPP 2.4.1 Linux C Library 2.2.5 Dynamic linker (ldd) 2.2.5 Procps 3.1.13 Net-tools 1.60 Kbd 1.06 Sh-utils 2.0 Modules Loaded nfs i2c-proc i2c-core appletalk nfsd lockd sunrpc ipt_state ipt_LOG ipt_limit iptable_nat iptable_filter ip_conntrack_ftp ip_conntrack ip_tables binfmt_misc binfmt_aout bcm5700 lp parport_pc parport rtc [7.2.] Processor information (from /proc/cpuinfo): # cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Xeon(TM) CPU 2.80GHz stepping : 7 cpu MHz : 2791.038 cache size : 512 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 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid bogomips : 5570.56 processor : 1 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Xeon(TM) CPU 2.80GHz stepping : 7 cpu MHz : 2791.038 cache size : 512 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 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid bogomips : 5570.56 [7.3.] Module information (from /proc/modules): # cat /proc/modules nfs 68016 1 (autoclean) i2c-proc 6016 0 i2c-core 14832 0 [i2c-proc] appletalk 23088 13 nfsd 67632 200 lockd 48416 1 [nfs nfsd] sunrpc 67808 1 [nfs nfsd lockd] ipt_state 608 194 (autoclean) ipt_LOG 3376 6 (autoclean) ipt_limit 1072 7 (autoclean) iptable_nat 17616 1 (autoclean) iptable_filter 1760 1 (autoclean) ip_conntrack_ftp 3936 0 (unused) ip_conntrack 21840 1 [ipt_state iptable_nat ip_conntrack_ftp] ip_tables 12192 7 [ipt_state ipt_LOG ipt_limit iptable_nat iptable_filter] binfmt_misc 5952 1 binfmt_aout 4064 0 bcm5700 88912 2 lp 6208 0 (unused) parport_pc 11984 1 parport 15360 1 [lp parport_pc] rtc 6720 0 (autoclean) [7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem) # cat /proc/ioports 0000-001f : dma1 0020-003f : pic1 0040-005f : timer 0060-006f : keyboard 0070-007f : rtc 0080-008f : dma page reg 00a0-00bf : pic2 00c0-00df : dma2 00f0-00ff : fpu 02f8-02ff : serial(auto) 0378-037a : parport0 03a0-03af : Intel Corp. 82801CA Ultra ATA Storage Controller 03a0-03a7 : ide0 03a8-03af : ide1 03c0-03df : vga+ 03f8-03ff : serial(auto) 0580-059f : Intel Corp. 82801CA/CAM SMBus Controller 0cf8-0cff : PCI conf1 1000-10ff : ATI Technologies Inc Rage XL 1400-14ff : Adaptec AHA-7850 2000-2fff : PCI Bus #02 2000-2fff : PCI Bus #04 2000-203f : Intel Corp. 82546EB Gigabit Ethernet Controller (Copper) (#2) 2040-207f : Intel Corp. 82546EB Gigabit Ethernet Controller (Copper) 3000-301f : Intel Corp. 82801CA/CAM USB (Hub #3) 3020-303f : Intel Corp. 82801CA/CAM USB (Hub #2) 3040-305f : Intel Corp. 82801CA/CAM USB (Hub #1) # cat /proc/iomem 00000000-0009efff : System RAM 0009f000-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000c7fff : Video ROM 000c8000-000c97ff : Extension ROM 000c9800-000cafff : Extension ROM 000cb000-000cfbff : Extension ROM 000f0000-000fffff : System ROM 00100000-3ffeffff : System RAM 00100000-0025755a : Kernel code 0025755b-002f6bff : Kernel data 3fff0000-3fffefff : ACPI Tables 3ffff000-3fffffff : ACPI Non-volatile Storage 40000000-400003ff : Intel Corp. 82801CA Ultra ATA Storage Controller fc7f0000-fc7f3fff : ICP Vortex Computersysteme GmbH GDT 6113RS/6513RS fd000000-fdffffff : ATI Technologies Inc Rage XL fe5f0000-fe5f0fff : ATI Technologies Inc Rage XL fe6f0000-fe6f0fff : Adaptec AHA-7850 fe6f0000-fe6f0fff : aic7xxx fe900000-febfffff : PCI Bus #02 fe900000-fe9fffff : PCI Bus #03 fe9f0000-fe9fffff : Broadcom Corporation NetXtreme BCM5701 Gigabit Ethernet (#2) fe9f0000-fe9fffff : bcm5700 fea00000-feafffff : PCI Bus #04 fea60000-fea7ffff : Intel Corp. 82546EB Gigabit Ethernet Controller (Copper) fea80000-fea9ffff : Intel Corp. 82546EB Gigabit Ethernet Controller (Copper) (#2) feaf0000-feafffff : Broadcom Corporation NetXtreme BCM5701 Gigabit Ethernet feaf0000-feafffff : bcm5700 febe0000-febe0fff : Intel Corp. 82870P2 P64H2 I/OxAPIC febf0000-febf0fff : Intel Corp. 82870P2 P64H2 I/OxAPIC (#2) fec00000-fecfffff : reserved fee00000-fee00fff : reserved fff00000-ffffffff : reserved [7.5.] PCI information ('lspci -vvv' as root) 00:00.0 Host bridge: Intel Corporation: Unknown device 254c (rev 01) Subsystem: Intel Corporation: Unknown device 3424 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- TAbort- SERR- Reset- FastB2B- 00:03.1 Class ff00: Intel Corporation: Unknown device 2546 (rev 01) Subsystem: Intel Corporation: Unknown device 3424 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- Reset- FastB2B- 00:1f.0 ISA bridge: Intel Corporation: Unknown device 2480 (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- Region 1: I/O ports at Region 2: I/O ports at Region 3: I/O ports at Region 4: I/O ports at 03a0 [size=16] Region 5: Memory at 40000000 (32-bit, non-prefetchable) [size=1K] 00:1f.3 SMBus: Intel Corporation: Unknown device 2483 (rev 02) Subsystem: Intel Corporation: Unknown device 3424 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- Reset- FastB2B- Capabilities: [50] #07 [0083] 02:1e.0 PIC: Intel Corporation: Unknown device 1461 (rev 04) (prog-if 20 [IO(X)-APIC]) Subsystem: Intel Corporation: Unknown device 3424 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- Capabilities: [50] #07 [0083] 03:02.0 Ethernet controller: BROADCOM Corporation: Unknown device 1645 (rev 15) Subsystem: 3Com Corporation: Unknown device 1006 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-