I am trying to install OpenBSD 6.4 amd64 on an IBM x-series server. The
boot process halts after the kernel gets a "fatal page fault in
supervisor mode".

The machine is a x3650 M3 server, 2x six-core XEON E5645 2.4GHz, 88GB
RAM, 3 x 146GB HDD, Serveraid M1015 7945 RAID adapter, 4 x Broadcom
NetXtreme II. NICs.

I have to install Nextcloud on it. The system is going to serve a small
non-profit organization I am in, so budget is low. Any help is greatly
appreciated!

What I tried so far:

-Boot amd install64 from CDROM:
  entry point at 0x1000158
  Copyright [...]
  OpenBSD 6.4 (RAMDISK_CD) #348: Thu Oct 11 13:36:16 MDT 2018
  [...]
  real mem = 94427459584 (90053MB)
  avail mem = 91561881600m(87320MB)
  mainbus0 at root
  bios0 at mainbus0: SMBIOS rev. 2.5 @ 0x7f6bd000 (90 entries)
  bios0: vendor IBM Corp. Version „-[D6E149AUS-1.09]-“ date 09/21/2018
  bios0: IBM 90Y4784
  acpi0 at bios0: rev 2uvm_fault(0xffffffff818a5ea0, axffff80b467133ae7,
0, 1) -> e
  fatal page fault in supervisor mode
  trap type 6 code 0 rip ffffffff810f35fc cs 8 rflags 10282 cr2
ffff80b467133ae7
  cpl e rsp ffffffff81a069d0
  gsbase 0xffffffff81872ff0 kgsbase 0x0
  panic: trap type 6, code=0, pc=ffffffff810f35fc
  The operating system halted.
  Please press any key to reboot.

-Tried to boot with the Serveraid card pulled out.

-Tried to boot with all adapters disabled in BIOS

-Tried "machine memory =128M" at the boot prompt.

-I made a 6.4 amd64 USB install medium and copied a 6.5 bsd.mp kernel
onto it. The boot process stopped at the kernel debugger prompt:
  booting hd0a:bsd.mp: 10913719+2565136+340000+0+671744
[681039+128+854832+595905]=0xfdcbc8
  entry point at 0x1001000
  [ using 2132936 bytes of bsd ELF symbol table ]
  Copyright [...]
  OpenBSD 6.5-beta (GENERIC.MP) #774: Tue Mar 5 18:29:25 MST 2019
  [...]
 real mem = 94427459584 (90053MB)
  avail mem = 91555721216 (87314MB)
  mpath0 at root
  scsibus0 at mpath0: 256 targets
  mainbus0 at root
  bios0 at mainbus0: SMBIOS rev. 2.5 @ 0x7f6bd000 (90 entries)
  bios0: vendor IBM Corp. Version „-[D6E149AUS-1.09]- date 09/21/2018
  acpi0 at bios0: rev 2Data modified on freelist: word 580502 of object
0xffff8000
  00055ae0 size 0x18 previous type ??? (invalid addr 0xffff8012e1d35a14}
  uvm_fault(0xffffffff81d61390, 0xffff8012e1d35a1c, 0, 1) -> e
  kernel: page fault trap, code=0
  Stopped at      malloc+0x4a8:   movq    0x8(%r14),%rbx
  ddb{0}>

I entered some commands at the debugger prompt:
  ddb{0}> trace
  malloc(19,21,9,19,6cf7d31ce462d81a,11) at malloc+0x4a8
  _aml_setvalue(ffff800000073e88,3,11,ffff800000055aa8,42804d280b8fe628,
ffff800000073288) at _aml_setvalue+0xbb
  aml_copyvalue(ffff800000073088,ffff800000073288,9a9510b4d6198009,
ffff8000900073f08,ffff800000027049,0) at aml_copyvalue+0x155
  aml_parse(ffff800000073e08,54,0,ffff800000073e08,480307f8c08a1716,
ffff800000073e08) at aml_parse+0x2805
  acpi_parse_aml(ffff800000021400,ffff80000002703c,5378,ffff800000021400,
f2116dcad63d77c1,0) at acpi_parse_aml+0xc0
  acpi_attach_common(ffff800000021400,fdf0,5311d428102ac7c1,
ffff800000023180,ffffffff81fe3bc8,ffffffff81d22870) at
acpi_attach_common+0x30d
  config_attach(ffff800000023180,ffffffff81cf8b50,ffffffff81fe3bc8,
ffffffff81251ae0,c08e080b991d0f22,32) at config_attach+0x1ee
  bios_attach(ffff800000023100,ffff800000023180,ffffffff81fe3d30,
ffff800000023100,4d8a47db40c7e6a4,ffff800000023100) at bios_attach+0x733
  config_attach(ffff800000023100,ffffffff81cf37c0,ffffffff81fe3d30,
ffffffff81595d20,c08e080b99615c62,ffffffff81fe3d30) at
config_attach+0x1ee
  mainbus_attach(0,ffff800000023100,0,0,7855bdcc20aee,0) at
mainbus_attach+0x93
  cofig_attach(0,ffffffff81cf3788,0,0,c08e080b992067c2,0) at
config_attach+0x1ee
  config_rootfound(ffffffff81ac29ae,0,b967e08c91ca8ab2,ffffffffe0000060,
6e000,1f)
at config_rootfound+0xe3
  cpu_configure(86e15cbe252c165a,ffffffffe0000060,6e000,ffff800000024000,
ffffffff81906e93,ffffffff81fe3f00) at cpu_configure+0x33
  main(0,0,ffffffffe0000060,6e000,7da936cc,3f71f7f418380651) at
main+0x4b5
  end trace frame: 0x0, count: -14

  ddb{0}> show bcstats
  Current Buffer Cache status:
  numbufs 0 busymapped 0, delwri 0
  kvaslots 6357 avail kva slots 6357
  bufpages 0, dmapages 0, dirtypages 0
  pendingreads 0, pendinwrites 0
  highflips 0, highflops 0, damflips 0

  ddb{0}> show panic
  kernel page fault
  uvm_fault(0xffffffff81d61390, 0xffff8012e1d35a1c, 0, 1) -> e
  malloc(19,21,9,19,6cf7d31ce462d81a,11) at malloc+0x4a8
  end trace frame: 0xffffffff81fe38d0, count: 0

 ddb{0}> show socket
  socket 0xffffffff81407558
  so_type: 18641
  so_options: 0xffffd189
  so_linger: -30904
  so_state: 0x87481475
  so_pcb: 0xd98748d93948d987
  so_proto: 0x481f8948085e8b49
  so_sigio: 0xdfe90012cd94
  so_head: 0xf4981dac858e514
  so_onq: 0xfbd1c5c7490456bf
  so_q0: @0xffffffff81407588 first: 0x91fa813881ac
  so_q: @0xffffffff81407598 first: 0xbe1274c08581cf96
  so_eq: next: 0xaa840fd9394800
  so_q0len: 18687
  so_qlen: -9935
  so_qlimit: -30392
  so_timeo: -24499
  so_obmark: 9354851844087384904
  so_sp: 0x48d9874800000130
  kernel: protection fault trap, code=0
  Faulted in DBB; continuing...

  ddb{0}> show extents
  extent 'iomem' (0x0 - 0xffffffffffff), flags=3<NOCOALESCE,FIXED>
       0x23000 - 0x9bfff
       0xa0000 - 0xbffff
       0x100000 - 0xffffff
       0x1000000 - 0x7ad8ffff
       0x7ce64000 - 0x7d813fff
       0x7d8c4000 - 0x7f68efff
       0x100000000 - 0x167fffffff
  extent 'ioport' (0x0 - 0xffff), flags=3<NOCOALESCE,FIXED>
       0x60 - 0x60
       0x64 - 0x64
       0xb2 - 0xb2
       0x3c0 - 0x3cf
       0x3d0 - 0x3df
       0x580 - 0x581
       0x582 - 0x583
       0x584 - 0x587
       0x5a0 - 0x5a7
       0x5a8 - 0x5af
       0x5d0 - 0x5d0

  ddb{0}> show page
  PAGE 0xffffffff81407558:
    flags=10<CLEANCHK>, vers=-386430644, wire_count=1232276,
pa=0xaa840fd9394800
    uobject=0x60d52c8b4c087700, uanon=0x91fa814881ac,
offset=0xbe1274c08581cf96
    [page ownership tracking disabled]    vm_page_md 0xffffffff814075c0


Further information:
-Output from boot prompt commands:
  boot> machine diskinfo
  Disk    BIOS#   Type   Cyls   Heads  Secs
  hd0     0x80    label  1024   255    32
  hd1     0x81    label  1023   255    63

  boot> machine memory
  Region 0: type 1 at 0x0 for 624KB
  Region 1: type 2 at 0x9c000 for 16KB
  Region 2: type 2 at 0xe0000 for 128KB
  Region 3: type 1 at 0x100000 for2011712KB
  Region 4: type 2 at 0x7ad90000 for 32832KB
  Region 5: type 2 at 0x7cda0000 for 784KB
  Region 6: type 1 at 0x7ce64000 for 9920KB
  Region 7: type 2 at 0x7d814000 for 704KB
  Region 8: type 1 at 0x7d8c4000 for 30508KB
  Region 9: type 2 at 0x7f68f000 for 320KB
  Region 10: type 4 at 0x7f6df000 for 1024KB
  Region 11: type 3 at 0x7f7df000 for 128KB
  Region 12: type 1 at 0x7f7ff000 for 4KB
  Region 13: type 2 at 0x7f800000 for 8192KB
  Region 14: type 2 at 0x80000000 for 262144KB
  Region 15: type 2 at 0xfc000000 for 16384KB
  Region 16: type 2 at 0xfed1c000 for 16KB
  Region 17: type 2 at 0xff800000 for 8192KB
  Region 18: type 1 at 0x100000000 for 90177536KB
  Low ram:624KB High ram: 2011712KB
  Total free memory: 92230304KB

-BIOS etnries/ info:
  Machine Type/Model   7945B2G
  System Serial Number KD28VFW
  UUID Number          B6F3B8A5C5FD38EF8814351
                       0BDF5DB04

  Processor Summary
  Packages Installed   2
  Processor Speed      2.40 Ghz
  QPI Link Speed       4.8 GT/s

  Memory
  Operational Mode     Independent
  Operational Speed    800 Mhz
  Total Memory Size    90112 MB

  Host Firmware (UEFI)
  Version              1.09
  Build ID             D6E149AUS
  Build Date           09/21/2010

  Integrated Management Module
  Version              1.31
  Build ID             YUOOC7F
  Build Date           12/02/2011

  Diagnostics
  Version              4.00
  Build ID             DSYT91L
  Build Date:          11/08/2011

  Processors
  All CPU Packages
  Performance States    Enabled
  Turbo Mode            Disabled
    Power C-States      <Disable>
  C1 Enhanced Mode      Enabled
    Report C2 to OS     <Disable>
  ACPI C-State limit    ACPI C3
    Virtualization      <Enable>
    Cache Data Prefetch <Enable>
    Data Reuse          <Enable>
  QPI Link Speed Select Minimal Power
    Execute Disable     <Enable>
    Hyperthreading      <Enable>
  Enable Cores          <All>

  Planar DIMM Details
  Total Memory Size     90112 MB
  LV-Dimm Power         <Low Power>
  Memory Channel Mode   <Independent>
  Socket Interleave     <NUMA>
  Patrol Scrub          <Disable>
  Demand Scrub          <Enable>
  Thermal Mode          <Normal>

  Devices and I/O Ports
  Configure IDE mode    <Compatibility mode>
  System CDROM/DVD      <Enable>
  Active Vido           <Add-in Device>

  Power
  Active Energy Manager <Capping Enabled>
  Power Restore Policy  <Restore>

  Operating Mode        <Acoustic Mode>
  Memory Speed          Minimal Power
  Performance States    Enabled
  C1 Enhanced Mode      Enabled
  QPI Link Speed Select Minimal Power
  Turbo Mode            Disabled
  ACPI C-State limit    ACPI C3

  Legacy Support
  Force Legacy Video on Boot <Enable>
  Rehook INT 19h             <Disable>
  Legacy Thunk Support       <Enable>

  Integrated Management Module
  Post Watchdog Timer        [ ]
  Post Watchdog Timer Value  [5]
  Reboot System on NMI       <Enable>

  Trusted Platform Module (TPM)
  TPM Physical Presence           Not Asserted
  Refresh Physical Presence State
  TPM enabled status              TPM Enabled/Activated
  TPM Device                      <Enable>
  TPM State                       <Activate>
  TPM Force Clear

  Adapters and UEFI Drivers
  Broadcom Gigabit Ethernet Driver
  |-PciRoot(0x0)/Pci (0x1,0x0)/Pci (0x0,0x0)
  |-|-PciRoot(0x0)/Pci (0x1,0x0)/Pci (0x0,0x0)/MAC (
  E4 . 1F13BFF2D8,0x0)

  [Three more Broadcom Ethernet adapters]

  LSI EFI SAS Driver
  |-PciRoot(0x0)/Pci (0x1C,0x0)/Pci (0x0,0x0)
  |-|-PciRoot(0x0)/Pci()x1C,0x0)/Pci(0x0,0x0)/Ctr
  |( .   0x0)
  |-|-PciRoot(0x0)/Pci (0x1C,0x0)/Pci (0x0,0x0)/Ctr
  |( .   0x1)

  Network
  iSCSI Configuration
  PXE Configuration
  Broadcom NetXtreme II Gigabit Ethernet -
  [MAC]
  [3 more Broadcom NICs}

Regards,
 Marco.

Reply via email to