From owner-freebsd-current Thu Jan 23 19:41:15 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A089137B401 for ; Thu, 23 Jan 2003 19:41:12 -0800 (PST) Received: from oahu.WURLDLINK.NET (oahu.WURLDLINK.NET [216.235.52.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECF1143ED8 for ; Thu, 23 Jan 2003 19:41:11 -0800 (PST) (envelope-from vince@oahu.WURLDLINK.NET) Received: from localhost (vince@localhost) by oahu.WURLDLINK.NET (8.11.3/8.11.3) with ESMTP id h0O3eHE76479 for ; Thu, 23 Jan 2003 17:40:23 -1000 (HST) (envelope-from vince@oahu.WURLDLINK.NET) Date: Thu, 23 Jan 2003 17:40:16 -1000 (HST) From: Vincent Poy To: current@FreeBSD.ORG Subject: Options MAXMEM added to GENERIC kernel config causes kernel panic in -current Message-ID: <20030123173821.F3206-100000@oahu.WURLDLINK.NET> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Greetings everyone, With the latest -CURRENTs ever since atleast September 12, 2002 that I have tested on several different machines ranging from PII/PIII/PIV Desktop and Notebooks, whenever the following option is added to the GENERIC kernel config, the kernel will panic on booting up. I used this option in the January 2002 -currents without problems. The tested systems range in memory from 128MB to 1GIG. options MAXMEM=786432 This is the output. Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel] in 9 seconds... Type '?' for a list of commands, 'help' for more detailed help. OK boot -vs /boot/kernel/acpi.ko text=0x2fab4 data=-0x1a84+0x6e0 syms=[0x4+0x5540+0x702d|] SMAP type=01 base=00000000 00000000 len=00000000 0009fc00 SMAP type=02 base=00000000 0009fc00 len=00000000 00000400 SMAP type=02 base=00000000 000f0000 len=00000000 00010000 SMAP type=01 base=00000000 00100000 len=00000000 1fed0000 SMAP type=03 base=00000000 1ffd0000 len=00000000 0000f000 SMAP type=04 base=00000000 1ffdf000 len=00000000 00001000 SMAP type=02 base=00000000 1ffe0000 len=00000000 00020000 SMAP type=02 base=00000000 fffe0000 len=00000000 00020000 Physical memory use set to 786432K Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.0-CURRENT #0: Thu Jan 23 18:46:49 PDT 2003 vince@bigbang.DNALOGIC.NET:/usr/obj/usr/src/sys/BIGBANG Preloaded elf kernel "/boot/kernel/kernel" at 0xc062a000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc062a0b4. Calibrating clock(s) ... TSC clock: 363943173 Hz, i8254 clock: 1193127 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193102 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method Timecounter "TSC" frequency 363961118 Hz CPU: Pentium II/Pentium II Xeon/Celeron (363.96-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x66a Stepping = 10 Features=0x183f9ff real memory = 536870912 (524288K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x00651000 - 0x1fff7fff, 530214912 bytes (129447 pages) avail memory = 513802240 (501760K bytes) bios32: Found BIOS32 Service Directory header at 0xc00fd800 bios32: Entry = 0xfd820 (c00fd820) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xfd880+0x0 pnpbios: Found PnP BIOS data at 0xc00fe700 pnpbios: Entry = f0000:e724 Rev = 1.0 pnpbios: Event flag at 415 Other BIOS signatures found: random: mem: Pentium Pro MTRR support enabled null: pci_open(1): mode 1 addr port (0x0cf8) is 0x80003b40 pci_open(1a): mode1res=0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=71908086) Using $PIR table, 5 entries at 0xc00f9f90 PCI-Only Interrupts: 11 Location Bus Device Pin Link IRQs embedded 0 7 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 0 7 D 0x63 3 4 5 6 7 9 10 11 12 14 15 embedded 0 2 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 0 2 B 0x61 3 4 5 6 7 9 10 11 12 14 15 embedded 1 0 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 0 4 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 0 4 B 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 0 4 C 0x62 3 4 5 6 7 9 10 11 12 14 15 embedded 0 4 D 0x63 3 4 5 6 7 9 10 11 12 14 15 embedded 0 6 A 0x60 3 4 5 6 7 9 10 11 12 14 15 panic: pmap_mapdev: Couldn't alloc kernel virtual memory Debugger("panic") Stopped at Debugger+0x45: xchgl %ebx,in_Debugger.0 db> trace Debugger(c0435e9c) at Debugger+0x45 panic(c0460ba0,0,0,c064cbc4,0) at panic+0x7c pmap_mapdev(1ffd0000,0,c064cc54,c064cbd4,c060547a) at pmap_mapdev+0x5d AcpiOsMapMemory(1ffd0000,0,0,c064cbc4,0) at AcpiOsMapMemory+0x12 AcpiTbGetThisTable(c064cc54,c064cc08,c064cc64,c064cc54,c064cc54) at AcpiTbGetThisTable+0xa6 AcpiTbGetTableBody(c064cc54,c064cc08,c064cc64,0,0) at AcpiTbTableBody+0x3b AcpiTbGetTable(c064cc54,c064cc64,c064cc54,9,1ffd0000) at AcpiTbGetTable+0x29 AcpiTbGetTableRsdt(1,fd6e0,0,c061a520,c159ec80) at AcpiTbGetTableRsdt+0x1a AcpiLoadTables(0,c66d8118,c061a3c8,c1586aa0,c064ccfc) at AcpiLoadTables+0x85 acpi_identify(c061a3c8,c159ec80) at acpi_identify+0x99 bus_generic_probe(c159ec80,c66b1090,c064cd34,c028e724,c159ec80) at bus_generic_probe+0x54 nexus_probe(c159ec80) at nexus_probe+0x186 device_probe_child(c159ef00,c159ec80,c028e4e5,c15917c8,1) at device_probe_child+0xcc device_probe_and_attach(c159ec80) at device_probe_and_attach+0x4b root_bus_configure(c159ef00,c045b660,0,4) at root_bus_configure+0x16 configure(0,649c00,649000,0,c01378b5) at configure+0x22 mi_startup() at mi_startup+0x9a begin() at begin+0x2c db> Cheers, Vince - vince@WURLDLINK.NET - Vice President ________ __ ____ Unix Networking Operations - FreeBSD-Real Unix for Free / / / / | / |[__ ] WurldLink Corporation / / / / | / | __] ] San Francisco - Honolulu - Hong Kong / / / / / |/ / | __] ] HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____] Almighty1@IRC - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message