From owner-freebsd-hackers Tue Jan 1 13:56:52 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from spitfire.velocet.net (spitfire.velocet.net [216.138.223.227]) by hub.freebsd.org (Postfix) with ESMTP id DBF1F37B419 for ; Tue, 1 Jan 2002 13:56:39 -0800 (PST) Received: from nomad.tor.lets.net (H74.C220.tor.velocet.net [216.138.220.74]) by spitfire.velocet.net (Postfix) with SMTP id C81AE44AA02 for ; Tue, 1 Jan 2002 16:56:37 -0500 (EST) Received: (qmail 80927 invoked by uid 1001); 1 Jan 2002 21:51:06 -0000 Date: Tue, 1 Jan 2002 16:51:06 -0500 From: Steve Shorter To: freebsd-hackers@freebsd.org Subject: kernel panic on boot with 4G RAM Message-ID: <20020101165106.A80908@nomad.lets.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Howdy! I need an NFS server with 4G ram. When I boot a 4.5-PRE kernel it panics during the boot process, not always at the same place though. My first instinct is bad hardware because of the lack of consistency in panic location, however I was wondering if there were some issues with kernel tuning for machines with large memory that I should be aware of. This machine boots OK with 3G or less. Here is a trace and panic with kernel config etc... So... hardware or kernel config or kernel bug??? Your help is greatly appreciated. -steve 12: page fault while in kernel mode fault virtual address = 0x45d3 fault code = supervisor write, page not present instruction pointer = 0x8:0xc01f5688 stack pointer = 0x10:0xefaf7e84 frame pointer = 0x10:0xefaf7e88 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 6 (sh) interrupt mask = net bio cam kernel: type 12 trap, code=0 Stopped at vm_page_unqueue_nowakeup+0x40: decl 0(%eax) db> trace vm_page_unqueue_nowakeup(c179ce84,e77245e0,e7727e80,80bb000,efaf9000) at vm_page_unqueue_nowakeup+0x40 vm_fault(e7727e80,80bb000,3,8,e77245e0) at vm_fault+0x236 trap_pfault(efaf7fa8,1,80bbc4c,0,80bc1d8) at trap_pfault+0x96 trap(2f,2f,2f,80c1000,80bc1d8) at trap+0x1d3 calltrap() at calltrap+0x11 --- trap 0xc, eip = 0x8050dfa, esp = 0xbfbffbdc, ebp = 0xbfbffc04 --- and another panic: vm_page_remove(): page not found in hash Debugger("panic") Stopped at Debugger+0x34: movb $0,in_Debugger.426 db> trace Debugger(c022419b) at Debugger+0x34 panic(c0237de0,c17a64c0,efb03e20,c01f5bf4,c17a64c0) at panic+0x70 vm_page_remove(c17a64c0,c17a64c0) at vm_page_remove+0x73 vm_page_free_toq(c17a64c0) at vm_page_free_toq+0x90 vm_object_collapse(c026cf00) at vm_object_collapse+0x198 vm_object_deallocate(c026c900) at vm_object_deallocate+0x170 vm_map_entry_delete(e7727d00,c0265d10,e7727d00,bfc00000,0) at vm_map_entry_delete+0x33 vm_map_delete(e7727d00,0,bfc00000,e7727d00,1) at vm_map_delete+0x171 vm_map_remove(e7727d00,0,bfc00000,e7727d6c,0,bfc00000) at vm_map_remove+0x6a exit1(e77242a0,0,efb03fa0,c020e1da,e77242a0) at exit1+0x220 exit1(e77242a0,efb03f80,ffffffff,0,8072968) at exit1 syscall2(2f,2f,2f,8072968,0) at syscall2+0x166 Xint0x80_syscall() at Xint0x80_syscall+0x25 These are boot up messages Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.5-PRERELEASE #0: Mon Dec 31 13:33:03 EST 2001 root@homer.lets.net:/usr/local/4.5/src/sys/compile/NFS Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 797475848 Hz CPU: Pentium III/Pentium III Xeon/Celeron (797.48-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x387fbff real memory = 4227858432 (4128768K bytes) avail memory = 4120342528 (4023772K bytes) Preloaded elf kernel "kernel.4.5.test" at 0xc02bc000. Pentium Pro MTRR support enabled Using $PIR table, 10 entries at 0xc00f51e0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pci0: at 1.0 irq 0 fxp0: port 0xd400-0xd43f mem 0xfe900000-0xfe9fffff,0xfeafe000-0xfeafefff irq 10 at device 4.0 on pci0 fxp0: Ethernet address 00:e0:81:01:bf:ca inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: port 0xd000-0xd03f mem 0xfe700000-0xfe7fffff,0xfeafd000-0xfeafdfff irq 9 at device 5.0 on pci0 fxp1: Ethernet address 00:e0:81:01:bf:cb inphy1: on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 15.0 on pci0 isa0: on isab0 pci0: at 15.1 pci0: at 15.2 irq 0 pcib1: on motherboard pci1: on pcib1 sym0: <1010-33> port 0xe400-0xe4ff mem 0xfebd8000-0xfebd9fff,0xfebe0000-0xfebe03ff irq 15 at device 6.0 on pci1 sym0: Symbios NVRAM, ID 7, Fast-80, LVD, parity checking sym0: open drain IRQ line driver, using on-chip SRAM sym0: using LOAD/STORE-based firmware. sym0: handling phase mismatch from SCRIPTS. sym1: <1010-33> port 0xe800-0xe8ff mem 0xfebf0000-0xfebf1fff,0xfebf8000-0xfebf83ff irq 11 at device 6.1 on pci1 sym1: Symbios NVRAM, ID 7, Fast-80, LVD, parity checking sym1: open drain IRQ line driver, using on-chip SRAM sym1: using LOAD/STORE-based firmware. sym1: handling phase mismatch from SCRIPTS. orm0: