From owner-freebsd-current Fri Aug 31 12: 3:59 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailout04.sul.t-online.de (mailout04.sul.t-online.com [194.25.134.18]) by hub.freebsd.org (Postfix) with ESMTP id C66A437B401 for ; Fri, 31 Aug 2001 12:03:46 -0700 (PDT) Received: from fwd00.sul.t-online.de by mailout04.sul.t-online.de with smtp id 15ctZx-0006Pl-08; Fri, 31 Aug 2001 21:03:45 +0200 Received: from pc-micha.mc.hp.com (320021761316-0001@[217.81.144.7]) by fmrl00.sul.t-online.com with esmtp id 15ctZt-1fUiFkC; Fri, 31 Aug 2001 21:03:41 +0200 Received: from localhost (michaelc@localhost) by pc-micha.mc.hp.com (8.11.6/8.11.0) with ESMTP id f7VJ3ua00724 for ; Fri, 31 Aug 2001 21:04:02 +0200 (MEST) (envelope-from michaelc@space.ebiz-hp.com) X-Authentication-Warning: pc-micha.mc.hp.com: michaelc owned process doing -bs Date: Fri, 31 Aug 2001 21:03:56 +0200 (MEST) From: Michael Class X-X-Sender: Reply-To: Michael Class To: Subject: recent acpi-autoloading results in panic during boot on SMP-System Message-ID: <20010831205920.J651-100000@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Sender: 320021761316-0001@t-dialin.net 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 Hello current, the recent changes in current to auoload th acpi.ko module make my system crash in an early state. With a "pmap_mapdev: Couldn't alloc kernel virtual memory" panic. Without the acpi-module the system works fine. Any hints? Michael This is the output with the panic: ok boot -v |/-\|/-\|/-\|/-\|/boot/kernel/acpi.ko text=0x35d6c /-\|/-\|/-\|/-\|/-\|/-\|/-\data=0x177c+0x1028 |/syms=[0x4+0x4b00-\|+0x4+0x6255/-\] |/-\|/-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=02 base=00000000 fec00000 len=00000000 00001000 SMAP type=02 base=00000000 fee00000 len=00000000 00001000 SMAP type=02 base=00000000 ffff0000 len=00000000 00010000 SMAP type=01 base=00000000 00100000 len=00000000 3fef0000 SMAP type=03 base=00000000 3fff3000 len=00000000 0000d000 SMAP type=04 base=00000000 3fff0000 len=00000000 00003000 Copyright (c) 1992-2001 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: Fri Aug 31 20:44:02 MEST 2001 michaelc@pc-micha.mc.hp.com:/usr/src/sys/i386/compile/MCSMP2 Calibrating clock(s) ... TSC clock: 998359401 Hz, i8254 clock: 1193183 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method CPU: Pentium III/Pentium III Xeon/Celeron (998.36-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x383fbff real memory = 1073676288 (1048512K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x004ef000 - 0x3ffdffff, 1068437504 bytes (260849 pages) avail memory = 1040572416 (1016184K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 SMP: CPU0 apic_initialize(): lint0: 0x00000700 lint1: 0x00010400 TPR: 0x00000010 SVR: 0x000001ff FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00178011, at 0xfec00000 bios32: Found BIOS32 Service Directory header at 0xc00faed0 bios32: Entry = 0xfb340 (c00fb340) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xf0000+0xb370 pnpbios: Found PnP BIOS data at 0xc00fbd80 pnpbios: Entry = f0000:bdb0 Rev = 1.0 Other BIOS signatures found: Preloaded elf kernel "kernel" at 0xc04c6000. Preloaded elf module "acpi.ko" at 0xc04c60a8. null: random: mem: Pentium Pro MTRR support enabled SMP: CPU0 bsp_apic_configure(): lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000010 SVR: 0x000001ff pci_open(1): mode 1 addr port (0x0cf8) is 0x80010048 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=06911106) Using $PIR table, 8 entries at 0xc00fdbc0 npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 acpi_button0: on acpi0 panic: pmap_mapdev: Couldn't alloc kernel virtual memory cpuid = 0; lapic.id = 00000000 Debugger("panic") Stopped at Debugger+0x46: pushl %ebx db> t Debugger(c0345ed9) at Debugger+0x46 panic(c036b500,0,c2d8f300,c2d8e180,c2d8f180) at panic+0xd8 pmap_mapdev(100000,3fef0000,c2d4a0a8,c2d7dd80,c04e7db8) at pmap_mapdev+0x46 nexus_activate_resource(c2d7dd80,c2d8e180,3,7,c2d8f300) at nexus_activate_resource+0x45 bus_generic_activate_resource(c2d7db80,c2d8e180,3,7,c2d8f300) at bus_generic_activate_resource+0x56 bus_activate_resource(c2d8e180,3,7,c2d8f300) at bus_activate_resource+0x5b nexus_alloc_resource(c2d7dd80,c2d8e180,3,c04e7ef8,100000) at nexus_alloc_resource+0x109 resource_list_alloc(c205d16c,c2d7db80,c2d8e180,3,c04e7ef8) at resource_list_alloc+0x156 acpi_alloc_resource(c2d7db80,c2d8e180,3,c04e7ef8,0) at acpi_alloc_resource+0x38 bus_alloc_resource(c2d8e180,3,c04e7ef8,0,ffffffff) at bus_alloc_resource+0x63 acpi_sysresource_attach(c2d8e180,c2d8e180,c2d7db80,c2d7db80,0) at acpi_sysresource_attach+0x3c device_probe_and_attach(c2d8e180) at device_probe_and_attach+0x9a bus_generic_attach(c2d7db80,c2d7db1c,c2d7db00,c2d23ca0,c04e7f5c) at bus_generic_attach+0x16 acpi_probe_children(c2d7db80,c2d6b088,c2d7dd80,c2d7db80,c04e7f7c) at acpi_probe_children+0x64 acpi_attach(c2d7db80,c2d7db80,c2d7dd80,c2d7dd80,1) at acpi_attach+0x1bc device_probe_and_attach(c2d7db80) at device_probe_and_attach+0x9a bus_generic_attach(c2d7dd80,c2d4a088,c205c080,c04e7fc0,c01e64b6) at bus_generic_attach+0x16 nexus_attach(c2d7dd80,c2d7dd80,c20636d8,4ef000,1) at nexus_attach+0xe device_probe_and_attach(c2d7dd80) at device_probe_and_attach+0x9a root_bus_configure(c205c080,c0365e40,0) at root_bus_configure+0x16 configure(0,4e5c00,4e5000,0,c012d159) at configure+0x20 mi_startup() at mi_startup+0x95 begin() at begin+0x40 db> panic panic: from debugger cpuid = 0; lapic.id = 00000000 Uptime: 0s Automatic reboot in 15 seconds - press a key on the console to abort --> Press a key on the console to reboot <-- Rebooting... ------------------------------------------------------------------------- dmesg-output of this system with last good kernel: Copyright (c) 1992-2001 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: Sat Aug 25 09:40:32 MEST 2001 michaelc@pc-micha.mc.hp.com:/usr/src/sys/i386/compile/MCSMP2 Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (998.36-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x383fbff real memory = 1073676288 (1048512K bytes) avail memory = 1040773120 (1016380K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00178011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc047a000. Pentium Pro MTRR support enabled Using $PIR table, 8 entries at 0xc00fdbc0 apm0: on motherboard apm0: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: at pcibus 0 on motherboard IOAPIC #0 intpin 19 -> irq 2 IOAPIC #0 intpin 16 -> irq 5 IOAPIC #0 intpin 17 -> irq 10 IOAPIC #0 intpin 18 -> irq 11 pci0: on pcib0 agp0: mem 0xd0000000-0xd3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xc000-0xc00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at 7.2 (no driver attached) pci0: at 7.3 (no driver attached) pci0: at 7.4 (no driver attached) pcm0: port 0xcc00-0xcc1f irq 5 at device 9.0 on pci0 sym0: <810> port 0xd400-0xd4ff mem 0xda003000-0xda0030ff irq 10 at device 10.0 on pci0 sym0: No NVRAM, ID 7, Fast-10, SE, parity checking bktr0: mem 0xda000000-0xda000fff irq 2 at device 12.0 on pci0 bti2c0: iicbb0: on bti2c0 iicbus0: on iicbb0 master-only smbus0: on bti2c0 smb0: on smbus0 bktr0: Hauppauge Model 61344 D121 bktr0: Detected a MSP3410D-B4 at 0x80 bktr0: Hauppauge WinCast/TV, Philips FR1216 PAL FM tuner, msp3400c stereo, remote control. pci0: at 12.1 (no driver attached) xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xd800-0xd87f mem 0xda002000-0xda00207f irq 11 at device 13.0 on pci0 xl0: Ethernet address: 00:10:5a:d7:dd:9c miibus0: on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto atapci1: port 0xec00-0xecff,0xe800-0xe803,0xe400-0xe407,0xe000-0xe003,0xdc00-0xdc07 irq 11 at device 14.0 on pci0 ata2: at 0xdc00 on atapci1 ata3: at 0xe400 on atapci1 orm0: