tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

netbsd-7 XEN3PAE_DOM0 crash on agp



Hello

In case it rings a bell for someone: Trying latest netbsd-7 XEN3PAE_DOM0
build for i386, I get a reproductible crash when attaching agp:

(XEN) Xen version 4.5.3 (root@) (gcc (NetBSD nb2 20110806) 4.5.3)
debug=n Sun Jul 31 01:32:12 UTC 2016
(XEN) Latest ChangeSet: 
(XEN) Bootloader: unknown
(XEN) Command line: dom0_mem=256M console=com1 com1=115200,8n1
(XEN) Video information:
(XEN)  VGA is text mode 80x25, font 8x16
(XEN)  VBE/DDC methods: none; EDID transfer time: 0 seconds
(XEN)  EDID info not retrieved because no DDC retrieval method detected
(XEN) Disc information:
(XEN)  Found 2 MBR signatures
(XEN)  Found 2 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN)  0000000000000000 - 000000000009dc00 (usable)
(XEN)  000000000009dc00 - 00000000000a0000 (reserved)
(XEN)  00000000000ce000 - 00000000000d0000 (reserved)
(XEN)  00000000000e4000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 00000000bf570000 (usable)
(XEN)  00000000bf570000 - 00000000bf585000 (ACPI data)
(XEN)  00000000bf585000 - 00000000bf588000 (ACPI NVS)
(XEN)  00000000bf588000 - 00000000c0000000 (reserved)
(XEN)  00000000e0000000 - 00000000f0000000 (reserved)
(XEN)  00000000fec00000 - 00000000fec10000 (reserved)
(XEN)  00000000fee00000 - 00000000fee01000 (reserved)
(XEN)  00000000ff000000 - 0000000100000000 (reserved)
(XEN)  0000000100000000 - 0000000140000000 (usable)
(XEN) ACPI: RSDP 000F6680, 0024 (r2 PTLTD )
(XEN) ACPI: XSDT BF579F25, 00A4 (r1 PTLTD        XSDT    6040000  LTP
0)
(XEN) ACPI: FACP BF584B69, 00F4 (r3 INTEL            6040000 PTL
2)
(XEN) ACPI: DSDT BF57D6FA, 73FB (r1  INTEL BEARLAKE  6040000 MSFT
3000001)
(XEN) ACPI: FACS BF587FC0, 0040
(XEN) ACPI: _MAR BF584C5D, 012F (r1 Intel  OEMDMAR   6040000 LOHR
1)
(XEN) ACPI: TCPA BF584D8C, 0032 (r1 Intel            6040000 PTL
5A)
(XEN) ACPI: MCFG BF584DBE, 003C (r1 PTLTD    MCFG    6040000  LTP
0)
(XEN) ACPI: APIC BF584DFA, 0068 (r1 PTLTD        APIC    6040000  LTP
0)
(XEN) ACPI: BOOT BF584E62, 0028 (r1 PTLTD  $SBFTBL$  6040000  LTP
1)
(XEN) ACPI: SLIC BF584E8A, 0176 (r1 OEMID_ OEMTABLE  6040000  LTP
0)
(XEN) ACPI: SSDT BF57B83C, 025F (r1  PmRef  Cpu0Tst     3000 INTL
20050228)
(XEN) ACPI: SSDT BF57B796, 00A6 (r1  PmRef  Cpu7Tst     3000 INTL
20050228)
(XEN) ACPI: SSDT BF57B6F0, 00A6 (r1  PmRef  Cpu6Tst     3000 INTL
20050228)
(XEN) ACPI: SSDT BF57B64A, 00A6 (r1  PmRef  Cpu5Tst     3000 INTL
20050228)
(XEN) ACPI: SSDT BF57B5A4, 00A6 (r1  PmRef  Cpu4Tst     3000 INTL
20050228)
(XEN) ACPI: SSDT BF57B4FE, 00A6 (r1  PmRef  Cpu3Tst     3000 INTL
20050228)
(XEN) ACPI: SSDT BF57B458, 00A6 (r1  PmRef  Cpu2Tst     3000 INTL
20050228)
(XEN) ACPI: SSDT BF57B3B2, 00A6 (r1  PmRef  Cpu1Tst     3000 INTL
20050228)
(XEN) ACPI: SSDT BF579FC9, 13E9 (r1  PmRef    CpuPm     3000 INTL
20050228)
(XEN) System RAM: 4085MB (4183092kB)
(XEN) Domain heap initialised
(XEN) Processor #0 7:7 APIC version 20
(XEN) Processor #1 7:7 APIC version 20
(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
(XEN) Enabling APIC mode:  Flat.  Using 1 I/O APICs
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 2593.562 MHz processor.
(XEN) Initing memory sharing.
(XEN) xstate_init: using cntxt_size: 0x240 and states: 0x3
(XEN) I/O virtualisation disabled
(XEN) ENABLING IO-APIC IRQs
(XEN)  -> Using new ACK method
(XEN) Platform timer is 3.579MHz ACPI PM Timer
(XEN) Allocated console ring of 16 KiB.
(XEN) CPU0: VMX disabled by BIOS.
(XEN) VMX: failed to initialise.
(XEN) Brought up 2 CPUs
(XEN) CPUIDLE: disabled due to no HPET. Force enable with 'cpuidle'.
(XEN) Dom0 has maximum 400 PIRQs
(XEN) *** LOADING DOMAIN 0 ***
(XEN)  Xen  kernel: 64-bit, lsb, compat32
(XEN)  Dom0 kernel: 32-bit, PAE, lsb, paddr 0xc0100000 -> 0xc0d15af8
(XEN)  Dom0 symbol map 0xc0d15af8 -> 0xc0e07460
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   000000013b000000->000000013c000000 (61440 pages to
be allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: 00000000c0100000->00000000c0e07460
(XEN)  Init. ramdisk: 00000000c0e08000->00000000c0e08000
(XEN)  Phys-Mach map: 00000000c0e08000->00000000c0e48000
(XEN)  Start info:    00000000c0e48000->00000000c0e484b4
(XEN)  Page tables:   00000000c0e49000->00000000c0e56000
(XEN)  Boot stack:    00000000c0e56000->00000000c0e57000
(XEN)  TOTAL:         00000000c0000000->00000000c1000000
(XEN)  ENTRY ADDRESS: 00000000c0100000
(XEN) Dom0 has maximum 2 VCPUs
(XEN) Scrubbing Free RAM on 1 nodes using 2 CPUs
(XEN) ....................done.
(XEN) Initial low memory virq threshold set at 0x4000 pages.
(XEN) Std. Loglevel: Errors and warnings
(XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings)
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch
input to Xen)
(XEN) Freed 296kB init memory.
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 7.1_RC1 (XEN3PAE_DOM0.201701090010Z)
total memory = 256 MB
avail memory = 237 MB
kern.module.path=/stand/i386/7.1/modules
mainbus0 (root)
ACPI: RSDP 0xf6680 000024 (v02 PTLTD )
ACPI: XSDT 0xbf579f25 0000A4 (v01 PTLTD  ? XSDT   06040000  LTP
00000000)
ACPI: FACP 0xbf584b69 0000F4 (v03 INTEL           06040000 PTL
00000002)
ACPI: DSDT 0xbf57d6fa 0073FB (v01  INTEL BEARLAKE 06040000 MSFT
03000001)
ACPI: FACS 0xbf587fc0 000040
ACPI: _MAR 0xbf584c5d 00012F (v01 Intel  OEMDMAR  06040000 LOHR
00000001)
ACPI: TCPA 0xbf584d8c 000032 (v01 Intel           06040000 PTL
0000005A)
ACPI: MCFG 0xbf584dbe 00003C (v01 PTLTD    MCFG   06040000  LTP
00000000)
ACPI: APIC 0xbf584dfa 000068 (v01 PTLTD  ? APIC   06040000  LTP
00000000)
ACPI: BOOT 0xbf584e62 000028 (v01 PTLTD  $SBFTBL$ 06040000  LTP
00000001)
ACPI: SLIC 0xbf584e8a 000176 (v01 OEMID_ OEMTABLE 06040000  LTP
00000000)
ACPI: SSDT 0xbf57b83c 00025F (v01  PmRef  Cpu0Tst 00003000 INTL
20050228)
ACPI: SSDT 0xbf57b796 0000A6 (v01  PmRef  Cpu7Tst 00003000 INTL
20050228)
ACPI: SSDT 0xbf57b6f0 0000A6 (v01  PmRef  Cpu6Tst 00003000 INTL
20050228)
ACPI: SSDT 0xbf57b64a 0000A6 (v01  PmRef  Cpu5Tst 00003000 INTL
20050228)
ACPI: SSDT 0xbf57b5a4 0000A6 (v01  PmRef  Cpu4Tst 00003000 INTL
20050228)
ACPI: SSDT 0xbf57b4fe 0000A6 (v01  PmRef  Cpu3Tst 00003000 INTL
20050228)
ACPI: SSDT 0xbf57b458 0000A6 (v01  PmRef  Cpu2Tst 00003000 INTL
20050228)
ACPI: SSDT 0xbf57b3b2 0000A6 (v01  PmRef  Cpu1Tst 00003000 INTL
20050228)
ACPI: SSDT 0xbf579fc9 0013E9 (v01  PmRef    CpuPm 00003000 INTL
20050228)
ACPI: All ACPI Tables successfully acquired
ioapic0 at mainbus0 apid 2
(XEN) ioapic_guest_write: apic=0, pin=0, irq=0
(XEN) ioapic_guest_write: new_entry=000109f0
(XEN) ioapic_guest_write: old_entry=00010000 pirq=-1
(XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ!
(XEN) ioapic_guest_write: apic=0, pin=2, irq=0
(XEN) ioapic_guest_write: new_entry=000109f0
(XEN) ioapic_guest_write: old_entry=000009f0 pirq=-1
(XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ!
(XEN) ioapic_guest_write: apic=0, pin=4, irq=4
(XEN) ioapic_guest_write: new_entry=000109f1
(XEN) ioapic_guest_write: old_entry=000009f1 pirq=-1
(XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ!
cpu0 at mainbus0 apid 0
cpu1 at mainbus0 apid 1
hypervisor0 at mainbus0: Xen version 4.5.3
vcpu0 at hypervisor0: Pentium(R) Dual-Core  CPU      E5300  @ 2.60GHz,
id 0x1067a
xenbus0 at hypervisor0: Xen Virtual Bus Interface
xencons0 at hypervisor0: Xen Virtual Console Driver
acpi0 at hypervisor0: Intel ACPICA 20131218
ACPI: SSDT 0xbf57ba9b 000261 (v01  PmRef  Cpu0Ist 00003000 INTL
20050228)
ACPI: SSDT 0x0 000261 (v01  PmRef  Cpu0Ist 00003000 INTL 20050228)
MBRD (PNP0C02) at acpi0 not configured
MATH (PNP0C04) at acpi0 not configured
SPKR (PNP0800) at acpi0 not configured
TIMR (PNP0100) at acpi0 not configured
FWH (INT0800) at acpi0 not configured
KBC0 (PNP0303) at acpi0 not configured
MSE0 (PNP0F13) at acpi0 not configured
COM1 (PNP0501) at acpi0 not configured
COM2 (PNP0501) at acpi0 not configured
acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
ACPI: Enabled 1 GPEs in block 00 to 3F
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_]
(20131218/hwxface-646)
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S3_]
(20131218/hwxface-646)
pci0 at hypervisor0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0: vendor 0x8086 product 0x29b0 (rev. 0x02)
agp0 at pchb0: G33-family chipset
(XEN) mm.c:868:d0v0 pg_owner 0 l1e_owner 0, but real_pg_owner -1
(XEN) mm.c:939:d0v0 Error getting mfn 100 (pfn ffffffffffffffff) from L1
entry 8000000000100013 for l1e_owner=0, pg_owner=0
xpq_flush_queue: 1 entries (0 successful) on cpu0 (0)
cpu0 (0):
  0x000000012d199d20: 0x8000000000100013
panic: HYPERVISOR_mmu_update failed, ret: -16

fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c021ec04 cs 9 eflags 246 cr2 0 ilevel 8 esp
c0e59964
curlwp 0xc0ba53e0 pid 0 lid 1 lowest kstack 0xc0e582c0
Stopped in pid 0.1 (system) at  netbsd:breakpoint+0x4:  popl    %ebp
breakpoint(c0a45538,c0c058a0,c0a49900,c0e59980,1,1,c0c104f0,c0e59974,c06
74158,c0
a49900) at netbsd:breakpoint+0x4
vpanic(c0a49900,c0e59980,c0e599a8,c07918bb,c0a49900,fffffff0,1,100013,80
000000,f
ffffff0) at netbsd:vpanic+0x11a
panic(c0a49900,fffffff0,1,100013,80000000,fffffff0,0,0,1,d20) at
netbsd:panic+0x
18
xpq_flush_queue(2d199d20,1,100013,80000000,100013,0,0,ccda4000,100000,0)
at netb
sd:xpq_flush_queue+0x16b
pmap_kenter_ma(ccda4000,100000,0,3,100,101000,0,0,101000,100) at
netbsd:pmap_ken
ter_ma+0xd2
x86_mem_add_mapping(100000,0,1000,0,c132dc64,c0b4c1a0,0,c0e59a8c,c01eb0f
7,c0b4c1
a0) at netbsd:x86_mem_add_mapping+0x122
bus_space_reservation_map(c0b4c1a0,c0e59a74,0,c132dc64,ffffffff,1000,100
0,0,0,c0
e59a74) at netbsd:bus_space_reservation_map+0x5e
bus_space_alloc(c0b4c1a0,100000,0,ffffffff,ffffffff,1000,1000,0,0,c132dc
68) at n
etbsd:bus_space_alloc+0x87
agp_i810_attach(c147dac0,c147d940,c0e59bec,c1442a80,c0e59be8,c147dac0,c0
7e9090,c
0b3d498,c147d940,c09cf666) at netbsd:agp_i810_attach+0x73d
agpattach(c147dac0,c147d940,c0e59be8,c147d940,c147dac0,0,c0e59cb4,c0e59b
80,c0662
ce6,c147dac0) at netbsd:agpattach+0xcc
config_attach_loc(c147dac0,c0b3cc28,0,c0e59be8,c0129300,0,c0e59c34,c059a
de8,c147
dac0,c09cfe7d) at netbsd:config_attach_loc+0x185
config_found_ia(c147dac0,c09cfe7d,c0e59be8,c0129300,c07cbc53,c1448e00,c1
448e5c,c
1448e44,c1448e50,3) at netbsd:config_found_ia+0x36
pchbattach(c147dc40,c147dac0,c0e59cb4,c147dac0,c14d4030,0,c14d4000,c0e59
cfc,c059
c7ac,c147dc40) at netbsd:pchbattach+0x158
config_attach_loc(c147dc40,c0b3cc58,c0e59cac,c0e59cb4,c059ba00,c06622a0,
c0e59c90
,6000002,29b08086,8086) at netbsd:config_attach_loc+0x185
pci_probe_device(c14d4000,80000000,0,0,0,c0e59d40,0,0,0,0) at
netbsd:pci_probe_d
evice+0x47c
pci_enumerate_bus(c14d4000,c0985fc8,0,0,c0e59dbc,c059cbfb,c147dc40,c09f4
eeb,c098
5fc8,c0bd3f44) at netbsd:pci_enumerate_bus+0x1b2
pcirescan(c147dc40,c09f4eeb,c0985fc8,c0bd3f44,c0a0441c,0,0,c147dc40,c0b3
d498,c14
7dc40) at netbsd:pcirescan+0x30
pciattach(c1323600,c147dc40,c0e59e18,c147dc40,c0e59e18,c1323600,c0e59e48
,c0e59e0
0,c0662ce6,c1323600) at netbsd:pciattach+0x1bb
config_attach_loc(c1323600,c0b3c388,0,c0e59e18,c05a5400,0,c0e59e68,c02e6
908,c132
3600,c09cfda7) at netbsd:config_attach_loc+0x185
config_found_ia(c1323600,c09cfda7,c0e59e18,c05a5400,0,c0b4c1c0,c0b4c1a0,
c0ba9340
,0,0) at netbsd:config_found_ia+0x36
hypervisor_attach(c1323c00,c1323600,c0e59ec8,c1323600,c0e59ec8,c1323c00,
c0e59eec
,c0e59eac,c0662ce6,c1323c00) at netbsd:hypervisor_attach+0x168
config_attach_loc(c1323c00,c0b3c2b0,0,c0e59ec8,c0501af0,0,c0e59ef8,c0501
ba5,c132
3c00,c09cfe8e) at netbsd:config_attach_loc+0x185
config_found_ia(c1323c00,c09cfe8e,c0e59ec8,c0501af0,2,c09cf81f,c0b4c1a0,
0,0,0) a
t netbsd:config_found_ia+0x36
mainbus_attach(0,c1323c00,0,c1323c00,0,c09cf817,c0c10200,c0e59f40,c0662d
aa,0) at
 netbsd:mainbus_attach+0x85
config_attach_loc(0,c0b3c298,0,0,0,0,aaaa000,c0e59f54,c01cf419,c09cf817)
at netb
sd:config_attach_loc+0x185
config_rootfound(c09cf817,0,0,c0e59fa0,c07d0728,c0a0562e,6,3,0,0) at
netbsd:conf
ig_rootfound+0x4a
cpu_configure(c0a0562e,6,3,0,0,fffa,0,1,fffa,1999000) at
netbsd:cpu_configure+0x
29
main(0,0,0,0,0,0,0,0,0,0) at netbsd:main+0x2c8
ds          c0c00011    inet4_reserve+0x71
es          11
fs          36310031
gs          11
edi         c0e59980
esi         c0a49900    ostype+0x7a447
ebp         c0e59940
ebx         104
edx         c0c059a8    kprintf_mtx
ecx         8
eax         1
eip         c021ec04    breakpoint+0x4
cs          9
eflags      246
esp         c0e59940
ss          11
netbsd:breakpoint+0x4:  popl    %ebp


-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index