Current-Users archive

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

HP Proliant Microserver N36L fails to boot under current



I have an HP Proliant Microserver (N36L) which runs fine on
NetBSD 7.0_BETA. I tried booting it from a recent current
AMD64 image and it crashes out.  The last few lines of the
boot message (hand copied) are:

sysbeep0 at pcppi1
OMSC (PNP0C02) at acpi0 not configured
RMSC (PNP0C02) at acpi0 not configured
PCIE (PNP0C02) at acpi0 not configured
RMEM (PNP0C02) at acpi0 not configured
acpibut0 at apci0 (PWRB, PNP0C0C-170): APCI power Button
ACPI: Enabled 4 GPEs in block 00 to 1F
ASCPI Exception: AE_NOT_FOUND, while evaluating Sleep State [\_S1_] (20140926/hwxface-646) ASCPI Exception: AE_NOT_FOUND, while evaluating Sleep State [\_S2_] (20140926/hwxface-646) ASCPI Exception: AE_NOT_FOUND, while evaluating Sleep State [\_S3_] (20140926/hwxface-646)
attimer1: attached to pcppi1
extent_alloc_region: extent 'ioport' (0x0 - 0xffff)
extent_alloc_region: start 0xfffffffffffffff9, end 0xfffffffffffffa
panic: extent_alloc_region: region lies outside extent
fatal breakpoint trap in supervisor mode
trap type 1 code 0 rip 0xffffffff80289a5d cs 0 rflags 246 ilevel 9 rsp ffffffff813359e8
curlwp 0xffffffff810c7820 pid 0.1 lowest bstack 0xffffffff813322c0
Stopped in pid 0.1 (system) at netbsd:breakpoint+0x5:   leave

The 7.0_BETA dmesg is:

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014
    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.0_BETA (HP) #6: Fri Feb 20 14:56:28 UTC 2015
root%forglen.anduin.org.uk@localhost:/usr/obj/sys/arch/amd64/compile/HP
total memory = 895 MB
avail memory = 853 MB
kern.module.path=/stand/amd64/7.0/modules
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
HP ProLiant MicroServer (   )
mainbus0 (root)
ACPI: RSDP 0xf8f50 000014 (v00 HP    )
ACPI: RSDT 0x37fa0000 000050 (v01 HP     ProLiant 20110729 HP 00000097)
ACPI: FACP 0x37fa0200 000084 (v01 HP     ProLiant 20110729 HP 00000097)
ACPI: DSDT 0x37fa0620 006947 (v01 HP     ProLiant 00000006 INTL 20051117)
ACPI: FACS 0x37fae000 000040
ACPI: APIC 0x37fa0390 000072 (v01 HP     ProLiant 20110729 HP 00000097)
ACPI: MCFG 0x37fa0410 00003C (v01 HP     ProLiant 20110729 HP 00000097)
ACPI: SPMI 0x37fa0450 000041 (v05 HP     ProLiant 20110729 HP 00000097)
ACPI: OEMB 0x37fae040 000072 (v01 HP     ProLiant 20110729 HP 00000097)
ACPI: HPET 0x37fab4e0 000038 (v01 HP     ProLiant 20110729 HP 00000097)
ACPI: EINJ 0x37fab520 000130 (v01  AMIER AMI_EINJ 20110729 HP 00000097)
ACPI: BERT 0x37fab6b0 000030 (v01  AMIER AMI_BERT 20110729 HP 00000097)
ACPI: ERST 0x37fab6e0 0001B0 (v01  AMIER AMI_ERST 20110729 HP 00000097)
ACPI: HEST 0x37fab890 0000A8 (v01  AMIER ABC_HEST 20110729 HP 00000097)
ACPI: SSDT 0x37fab940 000386 (v01 HP     ProLiant 00000001 AMD 00000001)
ACPI: All ACPI Tables successfully acquired
cpu0 at mainbus0 apid 0: AMD Athlon(tm) II Neo N36L Dual-Core Processor, id 0x100f63 cpu1 at mainbus0 apid 1: AMD Athlon(tm) II Neo N36L Dual-Core Processor, id 0x100f63
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x21, 24 pins
acpi0 at mainbus0: Intel ACPICA 20131218
acpi0: X/RSDT: OemId <HP    ,ProLiant,20110729>, AslId <HP  ,00000097>
ACPI: OEMN 0x37faaeb0 000624 (v01 AMD    NAHP     00000001 INTL 20051117)
ACPI: OEMN 0x0 000624 (v01 AMD    NAHP     00000001 INTL 20051117)
ACPI Error: Method parse/execution failed [\_SB_._INI] (Node 0xfffffe8037a0cb18), AE_ALREADY_EXISTS (20131218/psparse-553)
ACPI: Marking method _INI as Serialized because of AE_ALREADY_EXISTS error
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
BROD (PNP0C02) at acpi0 not configured
attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
OMSC (PNP0C02) at acpi0 not configured
RMSC (PNP0C02) at acpi0 not configured
PCIE (PNP0C02) at acpi0 not configured
RMEM (PNP0C01) at acpi0 not configured
acpibut0 at acpi0 (PWRB, PNP0C0C-170): ACPI Power Button
ACPI: Enabled 4 GPEs in block 00 to 1F
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20131218/hwxface-646) 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)
attimer1: attached to pcppi1
ipmi: bus_space_map(..., 0, 2, 0, 0xffffffff810aabe8) failed
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: vendor 0x1022 product 0x9601 (rev. 0x00)
ppb0 at pci0 dev 1 function 0: vendor 0x103c product 0x9602 (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 5 function 0: vendor 0x1002 product 0x9712 (rev. 0x00)
...

It looks like the problem is in /usr/src/sys/arch/x86/x86/ipmi.c
Under 7 the mapping fails as I don't have a ipmi card in the box, but
this is not a show-stopper. With current it is :-(

The version in NetBSD 7.0 is:
$NetBSD: ipmi.c,v 1.57.2.1 2014/11/10 17:59:57 snj Exp $

While current is:
$NetBSD: impi.c,v 1.60 2014/12/29 14:00:26 mlelstv Exp $


There are several changes between the two, but this change around line 940
seems to be related:

platform = pmf_get_platform("system-product");
                 if (platform != NULL &&
                     strcmp(platform, "ProLiant MicroServer") == 0) {
                         ia->iaa_if_iospacing = 1;
ia->iaa_if_iobase = pipmi->smipmi_base_address - 7;
                         ia->iaa_if_iotype = 'i';
                         return;

I am not sure what 'platform' is set by pmf_get_platform. I am guessing it
will be "HP ProLiant MicroServer" and the subsequent test will fail.

Any clues as to what the fixup if true does?

Cheers,
Dave

--
============================================
Phone: 07805784357
Open Source O/S: www.netbsd.org
Caving: http://www.wirralcavinggroup.org.uk
============================================



Home | Main Index | Thread Index | Old Index