On Fri, Aug 03, 2012 at 18:03 -0000, [email protected] wrote: > Just tried it, but the result is identical. Is there a way to obtain > more useful debugging output? I'm willing to put in testing effort here as > I have two of these and strongly prefer to run OpenBSD on them. >
yes. please find a diff below. it should allow you to boot the kernel so that we can do pcidump and acpidump. you can get the kernel installed by ftp from bsd.rd. please also collect the output of "machine memory" from the boot> prompt and the dmesg whith the diff i've provided since it has some debugging output. > > (subject line fixed) > > > > Could this be the mtrr thing? > > > > Rick, can you try the newer snapshot from 1 Aug? > > > > OpenBSD 5.2 (GENERIC.MP) #368: Wed Aug 1 10:04:49 MDT 2012 > > > > > > On 2012/08/02 21:03, [email protected] wrote: > >> >Synopsis: <Boot failure amd64 on 5.1-Release and 2012-07-30 snapshot> > >> >Category: <kernel amd64)> > >> >Environment: > >> System : OpenBSD 5.2 > >> Details : OpenBSD 5.2 (GENERIC.MP) #367: Mon Jul 30 16:29:56 MDT > >> 2012 > >> > >> [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.mp > >> > >> Architecture: OpenBSD.amd64 > >> Machine : amd64 > >> >Description: > >> Both 5.1-Release and current snapshot of 2012-07-30 fail to boot > >> on a Lenovo x3100 M4 2582E1G. Bios required setting LSI > >> controller > >> to AHCI instead of default RAID mode to make the disk visible to > >> OpenBSD. The ramdisk kernel used for installing works fine, but > >> on > >> reboot both the mp and sp kernel fail identically. > >> >How-To-Repeat: > >> Just boot > >> >Fix: > >> Unkown > >> > >> dmesg: > >> OpenBSD 5.2 (GENERIC.MP) #367: Mon Jul 30 16:29:56 MDT 2012 > >> [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP > >> RTC BIOS diagnostic error 80<clock_battery> > >> real mem = 2134487040 (2035MB) > >> avail mem = 2055356416 (1960MB) > >> mainbus0 at root > >> bios0 at mainbus0: SMBIOS rev. 2.6 @ 0x7f702000 (43 entries) > >> bios0: vendor IBM Corp. version "-[JQE128AUS-1.00]-" date 09-06-11 > >> bios0: IBM IBM System X3100 M4 -[2582E1G]- > >> acpi0 at bios0: rev 2 > >> acpi0: sleep states S0 S1 S5 > >> acpi0: tables DSDT FACP TCPA ERST HPET APIC MCFG SLIC SSDT SSDT > >> acpi0: wakeup devices P0P1(S4) P0P2(S4) PEX1(S4) PEX2(S4) PEX3(S4) > >> PEX4(S4) PEX > >> 5(S4) EHI1(S3) EHI2(S3) PWRB(S3) > >> acpitimer0 at acpi0: 3579545 Hz, 24 bits > >> acpihpet0 at acpi0: 14318179 Hz > >> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > >> cpu0 at mainbus0: apid 0 (boot processor) > >> cpu0: Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz, 3093.44 MHz > >> cpu0: > >> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,C > >> FLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,EST, > >> TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,XSAVE,AVX,NXE,LONG,LAHF > >> cpu0: 256KB 64b/line 8-way L2 cache > >> cpu0: apic clock running at 99MHz > >> cpu1 at mainbus0: apid 2 (application processor) > >> cpu1: Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz, 3092.97 MHz > >> cpu1: > >> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,C > >> FLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,EST, > >> TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,XSAVE,AVX,NXE,LONG,LAHF > >> cpu1: 256KB 64b/line 8-way L2 cache > >> cpu2 at mainbus0: apid 1 (application processor) > >> cpu2: Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz, 3092.98 MHz > >> cpu2: > >> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,C > >> FLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,EST, > >> TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,XSAVE,AVX,NXE,LONG,LAHF > >> cpu2: 256KB 64b/line 8-way L2 cache > >> cpu3 at mainbus0: apid 3 (application processor) > >> cpu3: Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz, 3092.98 MHz > >> cpu3: > >> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,C > >> FLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,EST, > >> TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,XSAVE,AVX,NXE,LONG,LAHF > >> cpu3: 256KB 64b/line 8-way L2 cache > >> ioapic0 at mainbus0: apid 15 pa 0xfec00000, version 20, 24 pins > >> ioapic0: misconfigured as apic 0, remapped to apid 15 > >> acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63 > >> acpiprt0 at acpi0: bus 0 (PCI0) > >> acpiprt1 at acpi0: bus 26 (P0P1) > >> acpiprt2 at acpi0: bus 31 (P0P2) > >> acpiprt3 at acpi0: bus 1 (PEX1) > >> acpiprt4 at acpi0: bus 6 (PEX2) > >> acpiprt5 at acpi0: bus 11 (PEX3) > >> acpiprt6 at acpi0: bus 16 (PEX4) > >> acpiprt7 at acpi0: bus 21 (PEX5) > >> acpicpu0 at acpi0: PSS > >> acpicpu1 at acpi0: PSS > >> acpicpu2 at acpi0: PSS > >> acpicpu3 at acpi0: PSS > >> acpibtn0 at acpi0: PWRB > >> ipmi at mainbus0 not configured > >> cpu0: Enhanced SpeedStep 3093 MHz: speeds: 3100, 3000, 2900, 2800, 2700, > >> 2600, 2 > >> 500, 2400, 2300, 2200, 2100, 2000, 1900, 1800, 1700, 1600 MHz > >> pci0 at mainbus0 bus 0 > >> extent_alloc_region: extent `pcimem' (0x0 - 0xfffffffff) > >> extent_alloc_region: start 0x305081b00000, end 0x305081b000ff > >> panic: extent_alloc_region: region lies outside extent > >> Stopped at Debugger+0x5: leave > >> Debugger() at Debugger+0x5 > >> panic() at panic+0xe4 > >> extent_alloc_region() at extent_alloc_region+0xb5 > >> pci_reserve_resources() at pci_reserve_resources+0xfc > >> pci_probe_device() at pci_probe_device+0x202 > >> pci_enumerate_bus() at pci_enumerate_bus+0xe9 > >> pciattach() at pciattach+0xda > >> config_attach() at config_attach+0x1d4 > >> mainbus_attach() at mainbus_attach+0x153 > >> config_attach() at config_attach+0x1d4 > >> end trace frame: 0xffffffff80e4ee90, count: 0 Index: dev/pci/pci_map.c =================================================================== RCS file: /home/cvs/src/sys/dev/pci/pci_map.c,v retrieving revision 1.29 diff -u -p -r1.29 pci_map.c --- dev/pci/pci_map.c 6 Sep 2010 12:30:35 -0000 1.29 +++ dev/pci/pci_map.c 4 Aug 2012 09:28:30 -0000 @@ -246,6 +246,11 @@ obsd_pci_mem_find(pci_chipset_tag_t pc, *basep = PCI_MAPREG_MEM64_ADDR(waddress); if (sizep != 0) *sizep = PCI_MAPREG_MEM64_SIZE(wmask); + if (basep && (*basep & ~0xfffffffff) != 0) { + printf("%s: base %#llx size %#llx reg %#x csr %#x\n", + __func__, *basep, *sizep, reg, csr); + *basep = 0; + } } if (flagsp != 0) *flagsp =
