Quick follow-up:
boot(8) give the following for this machine's memory layout:
boot> machine memory
Region 0: type 1 at 0x0 for 632KB
Region 1: type 2 at 0x9e000 for 8KB
Region 2: type 2 at 0xe0000 for 128KB
Region 3: type 1 at 0x100000 for 3136000KB
Region 4: type 9 at 0xbf78e000 for 8KB
Region 5: type 3 at 0xbf790000 for 56KB
Region 6: type 4 at 0xbf79e000 for 200KB
Region 7: type 2 at 0xbf7d0000 for 64KB
Region 8: type 2 at 0xbf7ec000 for 80KB
Region 9: type 2 at 0xbf800000 for 8192KB
Region 10: type 2 at 0xfee00000 for 4KB
Region 11: type 2 at 0xffc00000 for 4096KB
Region 12: type 1 at 0x100000000 for 3145728KB
Low ram: 632KB High ram: 3136000KB
Total free memory: 6282360KB
Cheers,
Paul
On Tue, Nov 01, 2016 at 02:26:40PM +0100, Paul de Weerd wrote:
| Hi all,
|
| I just upgraded one of my machines to -current and was surprised that
| it didn't come back after reboot. Here's what I found on the serial
| console:
|
| >> OpenBSD/amd64 BOOT 3.33
| boot>
| booting hd0a:/bsd: 6926928+2204680+258112+0+671744 [72+732792+486466]=0xac4d88
| entry point at 0x1001000 [7205c766, 34000004, 24448b12, 2ba0a304]
| [ using 1219976 bytes of bsd ELF symbol table ]
| Copyright (c) 1982, 1986, 1989, 1991, 1993
| The Regents of the University of California. All rights reserved.
| Copyright (c) 1995-2016 OpenBSD. All rights reserved. https://www.OpenBSD.org
|
| OpenBSD 6.0-current (GENERIC.MP) #0: Sun Oct 30 10:38:08 MDT 2016
| [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
| real mem = 6416760832 (6119MB)
| kernel: page fault trap, code=0
| Stopped at uvm_map_uaddr+0x5d: movq 0x10(%rdx),%rax
| ddb{0}> show panic
| the kernel did not panic
| ddb{0}> trace
| uvm_map_uaddr() at uvm_map_uaddr+0x5d
| uvm_mapent_free_remove() at uvm_mapent_free_remove+0x41
| uvm_mapent_merge() at uvm_mapent_merge+0x46
| uvm_mapent_tryjoin() at uvm_mapent_tryjoin+0xc4
| uvm_map() at uvm_map+0x89a
| uvm_km_kmemalloc_pla() at uvm_km_kmemalloc_pla+0xa4
| malloc() at malloc+0x486
| uvm_map_create() at uvm_map_create+0x3c
| uvm_km_suballoc() at uvm_km_suballoc+0xd6
| cpu_startup() at cpu_startup+0xac
| main() at main+0x8a
| end trace frame: 0x0, count: -11
| ddb{0}> show register
| rdi 0xffffffff81acacc0 +0xcacc0
| rsi 0xffff800000014000 +0x14000
| rbp 0xffffffff81acaad0 +0xcaad0
| rbx 0xffffffff81acacc0 +0xcacc0
| rdx 0x1000
| rcx 0
| rax 0xffffffff819469d0 +0x29c10
| r8 0
| r9 0x1323 +0x323
| r10 0xffff800000014000 +0x14000
| r11 0
| r12 0xffffffff819469d0 +0x29c10
| r13 0xffffff01bf7c9020
| r14 0xffffffff81acac01 +0xcac01
| r15 0xffffffff81acac20 +0xcac20
| rip 0xffffffff812ce4ad +0x5d
| cs 0x8
| rflags 0x10206 +0x15e
| rsp 0xffffffff81acaac0 +0xcaac0
| ss 0x10
| uvm_map_uaddr+0x5d: movq 0x10(%rdx),%rax
| ddb{0}> ps
| TID PPID PGRP UID S FLAGS WAIT COMMAND
|
| Trying to boot bsd.rd also fails with:
|
| >> OpenBSD/amd64 BOOT 3.33
| boot> boot bsd.rd
| booting hd0a:bsd.rd: 3341596+1422336+2400952+0+598016
[72+441312+283361]=0x81a190
| entry point at 0x1001000 [7205c766, 34000004, 24448b12, b440a304]
| Copyright (c) 1982, 1986, 1989, 1991, 1993
| The Regents of the University of California. All rights reserved.
| Copyright (c) 1995-2016 OpenBSD. All rights reserved. https://www.OpenBSD.org
|
| OpenBSD 6.0-current (RAMDISK_CD) #0: Sun Oct 30 10:42:50 MDT 2016
| [email protected]:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
| real mem = 6416760832 (6119MB)
| avail mem = 6220574720 (5932MB)
| mainbus0 at root
| bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xfcd30 (63 entries)
| bios0: vendor American Megatrends Inc. version "1.0b" date 04/23/2009
| bios0: Supermicro X8ST3
| acpi0 at bios0: rev 2
| acpi0: tables DSDT FACP APIC MCFG SLIC ERST OEMB HPET DMAR SSDT EINJ BERT
ERST HEST
| acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
| cpu0 at mainbus0: apid 0 (boot processor)
| cpu0: Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz, 2660.31 MHz
| cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG,LAHF,PERF,ITSC,SENSOR
| cpu0: 256KB 64b/line 8-way L2 cache
| cpu0: apic clock running at 132MHz
| cpu0: mwait min=64, max=64, C-substates=0.2.1.1, IBE
| cpu at mainbus0: not configured
| cpu at mainbus0: not configured
| cpu at mainbus0: not configured
| cpu at mainbus0: not configured
| cpu at mainbus0: not configured
| cpu at mainbus0: not configured
| cpu at mainbus0: not configured
| ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins
| acpiprt0 at acpi0: bus 0 (PCI0)
| acpiprt1 at acpi0: bus 8 (P0P1)
| acpiprt2 at acpi0: bus 6 (P0P4)
| acpiprt3 at acpi0: bus 7 (P0P5)
| acpiprt4 at acpi0: bus -1 (P0P6)
| acpiprt5 at acpi0: bus -1 (P0P7)
| acpiprt6 at acpi0: bus -1 (P0P8)
| acpiprt7 at acpi0: bus -1 (P0P9)
| acpiprt8 at acpi0: bus 1 (NPE1)
| acpiprt9 at acpi0: bus -1 (NPE2)
| acpiprt10 at acpi0: bus 2 (NPE3)
| acpiprt11 at acpi0: bus -1 (NPE4)
| acpiprt12 at acpi0: bus 3 (NPE5)
| acpiprt13 at acpi0: bus -1 (NPE6)
| acpiprt14 at acpi0: bus 4 (NPE7)
| acpiprt15 at acpi0: bus -1 (NPE8)
| acpiprt16 at acpi0: bus 5 (NPE9)
| acpiprt17 at acpi0: bus -1 (NPEA)
| acpicpu at acpi0 not configured
| "PNP0501" at acpi0 not configured
| "PNP0501" at acpi0 not configured
| "PNP0C0C" at acpi0 not configured
| pci0 at mainbus0 bus 0
| uvm_fault(0xffffffff816fc0c0, 0xfffffffc8120af7e, 0, 4) -> e
| fatal page fault in supervisor mode
| trap type 6 code 10 rip fffffffc8120af7e cs 8 rflags 10246 cr2
fffffffc8120af7e cpl e rsp ffffffff81805b58
| panic: trap type 6, code=10, pc=fffffffc8120af7e
|
| The operating system has halted.
| Please press any key to reboot.
|
|
| My last chance was booting bsd.sp, the single processor kernel.
| Sadly, that just reboots without any further output to the console:
|
| boot> boot bsd.sp
| booting hd0a:bsd.sp: 6884272+2204680+256480+0+667648
[72+729768+484465]=0xab69e8
| entry point at 0x1001000 [7205c766, 34000004, 24448b12, 6ba0a304]
| 5,> OpenBSD/amd64 BOOT 3.33
| boot> boot bsd.sp
| booting hd0a:bsd.sp: 6884272+2204680+256480+0+667648
[72+729768+484465]=0xab69e8
| entry point at 0x1001000 [7205c766, 34000004, 24448b12, 6ba0a304]
| Uh>> OpenBSD/amd64 BOOT 3.33
| boot>
|
|
| (The '5,' and 'Uh' are output on the serial console when the machine
| actually resets, they've always been there and have never been an
| issue before)
|
| As I can't get into the machine anymore, I have no way to extract a
| complete (older) dmesg. It was running 6.0 just fine before this
| though.
|
| Should teach me to always keep an older kernel around for emergencies.
|
| Any ideas?
|
| Paul 'WEiRD' de Weerd
|
| --
| >++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
| +++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
| http://www.weirdnet.nl/
|
--
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
http://www.weirdnet.nl/