Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Aug 2001 21:03:56 +0200 (MEST)
From:      Michael Class <michaelc@space.ebiz-hp.com>
To:        <current@freebsd.org>
Subject:   recent acpi-autoloading results in panic during boot on SMP-System
Message-ID:  <20010831205920.J651-100000@localhost>

next in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
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: <null device, zero device>
random: <entropy source>
mem: <memory & I/O>
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: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <VIA694 AWRDACPI> 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: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
acpi_button0: <Power Button> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
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: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> 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: <PCI bus> on pcib0
agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> mem 0xd0000000-0xd3ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA100 controller> port 0xc000-0xc00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <serial bus, USB> at 7.2 (no driver attached)
pci0: <serial bus, USB> at 7.3 (no driver attached)
pci0: <bridge, PCI-unknown> at 7.4 (no driver attached)
pcm0: <Creative EMU10K1> 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: <BrookTree 878> mem 0xda000000-0xda000fff irq 2 at device 12.0 on pci0
bti2c0: <bt848 Hard/Soft I2C controller>
iicbb0: <I2C generic bit-banging driver> on bti2c0
iicbus0: <Philips I2C bus> on iicbb0 master-only
smbus0: <System Management Bus> on bti2c0
smb0: <SMBus general purpose I/O> 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: <multimedia> 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: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
atapci1: <HighPoint HPT370 ATA100 controller> 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: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources
unknown: <PNP0f13> can't assign resources
unknown: <PNP0700> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0400> can't assign resources
linprocfs registered
IPv6 packet filtering initialized, default to accept, unlimited logging
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, unlimited logging
IPsec: Initialized Security Association Processing.
ad0: 32634MB <IBM-DPTA-373420> [66305/16/63] at ata0-master tagged UDMA66
ad4: 43979MB <IBM-DTLA-307045> [89355/16/63] at ata2-master tagged UDMA100
ad6: 32634MB <IBM-DPTA-373420> [66305/16/63] at ata3-master tagged UDMA66
Waiting 2 seconds for SCSI devices to settle
pass0 at sym0 bus 0 target 2 lun 0
pass0: <UMAX Astra 1200S V2.9> Fixed Scanner SCSI-2 device
pass0: 3.300MB/s transfers
Mounting root from ufs:/dev/ad0s4a
cd0 at sym0 bus 0 target 3 lun 0
cd0: <PIONEER DVD-ROM DVD-304F 1.03> Removable CD-ROM SCSI-2 device
cd0: 10.000MB/s transfers (10.000MHz, offset 8)
cd0: Attempt to query device size failed: NOT READY, Medium not present
SMP: AP CPU #1 Launched!



-------------------------------------------------------------------------
        michael class, viktor-renner str. 39, 72074 tuebingen, frg
                    E-Mail: michael_class@gmx.net
         Phone: +49 7031 14-3707 (work) +49 7071 81950 (private)
-------------------------------------------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010831205920.J651-100000>