On Tuesday, June 23, 2020 3:11 AM, Klemens Nanni <k...@openbsd.org> wrote:
> Can you try to reproduce this on recent snapshots? Tried the Jun 25 snapshot, it still has the same problem for ldomd. As for the kernel itself, when I switched to my ldom config, it froze somewhere after detecting the USB hubs (?), but there's no panics or errors. factory-default works fine, though. Below are the logs. Kernel version: OpenBSD 6.7-current (GENERIC.MP) #376: Thu Jun 25 14:04:09 MDT 2020 dera...@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC.MP ldomd backtrace: #0 *_libc_exit (status=1) at /usr/src/lib/libc/stdlib/exit.c:54 #1 0x0000001bf29e4f24 in *_libc_verr (eval=1, fmt=0x0, ap=0xfffffffffffe41b0) at /usr/src/lib/libc/gen/verr.c:50 #2 0x0000001bf29e8af0 in *_libc_err (eval=1, fmt=0x0) at /usr/src/lib/libc/gen/err.c:40 #3 0x0000001994f04d48 in xmalloc () from /usr/sbin/ldomd #4 0x0000001994f00838 in add_frag () from /usr/sbin/ldomd #5 0x0000001994f00918 in add_frag_mblock () from /usr/sbin/ldomd #6 0x0000001994f00a7c in frag_init () from /usr/sbin/ldomd #7 0x0000001994f01894 in main () from /usr/sbin/ldomd Boot log on "openbsd" ldom configuration: Boot device: disk File and args: OpenBSD IEEE 1275 Bootblock 2.1 ..>> OpenBSD BOOT 1.20 ERROR: /iscsi-hba: No iscsi-network-bootpath property Trying bsd... Booting /pci@400/pci@2/pci@0/pci@e/scsi@0/disk@w5000cca0152238bd,0:a/bsd 9987840@0x1000000+6400@0x1986700+194580@0x1c00000+3999724@0x1c2f814 symbols @ 0xfe526400 479922+165+641664+443225 start=0x1000000 [ using 1566016 bytes of bsd ELF symbol table ] console is /virtual-devices@100/console@1 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2020 OpenBSD. All rights reserved. https://www.OpenBSD.org OpenBSD 6.7-current (GENERIC.MP) #376: Thu Jun 25 14:04:09 MDT 2020 dera...@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC.MP real mem = 4294967296 (4096MB) avail mem = 4198817792 (4004MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root: SPARC T4-2 cpu0 at mainbus0: SPARC-T4 (rev 0.0) @ 2847.862 MHz cpu1 at mainbus0: SPARC-T4 (rev 0.0) @ 2847.862 MHz cpu2 at mainbus0: SPARC-T4 (rev 0.0) @ 2847.862 MHz cpu3 at mainbus0: SPARC-T4 (rev 0.0) @ 2847.862 MHz vbus0 at mainbus0 "flashprom" at vbus0 not configured "tpm" at vbus0 not configured cbus0 at vbus0 vldc0 at cbus0 vldcp0 at vldc0 chan 0x0: ivec 0x0, 0x1 channel "hvctl" "ldom-primary" at vldc0 chan 0x1 not configured "fmactl" at vldc0 chan 0x3 not configured vldc1 at cbus0 "ldmfma" at vldc1 chan 0x4 not configured vldc2 at cbus0 "spfma" at vldc2 chan 0x5 not configured vldc3 at cbus0 vldcp1 at vldc3 chan 0x14: ivec 0x28, 0x29 channel "spds" "sunvts" at vldc3 chan 0x6 not configured "sunmc" at vldc3 chan 0x7 not configured "explorer" at vldc3 chan 0x8 not configured "flashupdate" at vldc3 chan 0x9 not configured "ipmi" at vldc3 chan 0xb not configured vldcp2 at vldc3 chan 0x18: ivec 0x30, 0x31 channel "ldom-obsd" "virtual-domain-service" at cbus0 not configured vcc0 at cbus0 vcctty0 at vcc0 chan 0x17: ivec 0x2e, 0x2f domain "obsd" vds0 at cbus0 vdsp0 at vds0 chan 0x19: ivec 0x32, 0x33 vsw0 at cbus0 vnet0 at vsw0 chan 0x1a: ivec 0x34, 0x35 vcons0 at vbus0: ivec 0x111, console vrtc0 at vbus0 vpci0 at mainbus0: bus 0 to 15, dvma map 80000000-ffffffff pci0 at vpci0 ppb0 at pci0 dev 1 function 0 "Sun SPARC-T3/T4 PCIE" rev 0x01 pci1 at ppb0 bus 1 ppb1 at pci1 dev 0 function 0 "IDT 89HPES64H16G2" rev 0x02 pci2 at ppb1 bus 2 ppb2 at pci2 dev 0 function 0 "IDT 89HPES64H16G2" rev 0x02 pci3 at ppb2 bus 3 ppb3 at pci3 dev 0 function 0 "ASPEED Technology AST1150 PCI" rev 0x02 pci4 at ppb3 bus 4 "ASPEED Technology AST2000" rev 0x10 at pci4 dev 0 function 0 not configured ppb4 at pci2 dev 4 function 0 "IDT 89HPES64H16G2" rev 0x02 pci5 at ppb4 bus 5 em0 at pci5 dev 0 function 0 "Intel 82576" rev 0x01: msi, address 00:21:28:f1:e2:f6 em1 at pci5 dev 0 function 1 "Intel 82576" rev 0x01: msi, address 00:21:28:f1:e2:f7 ppb5 at pci2 dev 8 function 0 "IDT 89HPES64H16G2" rev 0x02: msi pci6 at ppb5 bus 6 ppb6 at pci2 dev 11 function 0 "IDT 89HPES64H16G2" rev 0x02 pci7 at ppb6 bus 7 ppb7 at pci7 dev 0 function 0 "PLX PEX 8112" rev 0xaa pci8 at ppb7 bus 8 ohci0 at pci8 dev 0 function 0 "NEC USB" rev 0x43: ivec 0x401, version 1.0 ohci1 at pci8 dev 0 function 1 "NEC USB" rev 0x43: ivec 0x402, version 1.0 ehci0 at pci8 dev 0 function 2 "NEC USB" rev 0x04: ivec 0x403 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 configuration 1 interface 0 "NEC EHCI root hub" rev 2.00/1.00 addr 1 usb1 at ohci0: USB revision 1.0 uhub1 at usb1 configuration 1 interface 0 "NEC OHCI root hub" rev 1.00/1.00 addr 1 usb2 at ohci1: USB revision 1.0 uhub2 at usb2 configuration 1 interface 0 "NEC OHCI root hub" rev 1.00/1.00 addr 1 ppb8 at pci2 dev 12 function 0 "IDT 89HPES64H16G2" rev 0x02: msi pci9 at ppb8 bus 9 ppb9 at pci0 dev 2 function 0 "Sun SPARC-T3/T4 PCIE" rev 0x01 pci10 at ppb9 bus 10 ppb10 at pci10 dev 0 function 0 "IDT 89HPES64H16G2" rev 0x02 pci11 at ppb10 bus 11 ppb11 at pci11 dev 0 function 0 "IDT 89HPES64H16G2" rev 0x02: msi pci12 at ppb11 bus 12 ppb12 at pci11 dev 4 function 0 "IDT 89HPES64H16G2" rev 0x02: msi pci13 at ppb12 bus 13 ppb13 at pci11 dev 8 function 0 "IDT 89HPES64H16G2" rev 0x02: msi pci14 at ppb13 bus 14 ppb14 at pci11 dev 14 function 0 "IDT 89HPES64H16G2" rev 0x02 pci15 at ppb14 bus 15 mpii0 at pci15 dev 0 function 0 "Symbios Logic SAS2008" rev 0x03: msi mpii0: Solana On-Board, firmware 9.0.0.0 IR, MPI 2.0 scsibus1 at mpii0: 834 targets vpci1 at mainbus0: bus 0 to 10, dvma map 80000000-ffffffff pci16 at vpci1 ppb15 at pci16 dev 1 function 0 "Sun SPARC-T3/T4 PCIE" rev 0x01 pci17 at ppb15 bus 1 ppb16 at pci17 dev 0 function 0 "IDT 89HPES64H16G2" rev 0x02 pci18 at ppb16 bus 2 ppb17 at pci18 dev 0 function 0 "IDT 89HPES64H16G2" rev 0x02: msi pci19 at ppb17 bus 3 ppb18 at pci18 dev 5 function 0 "IDT 89HPES64H16G2" rev 0x02 pci20 at ppb18 bus 4 em2 at pci20 dev 0 function 0 "Intel 82576" rev 0x01: msi, address 00:21:28:f1:e2:f8 em3 at pci20 dev 0 function 1 "Intel 82576" rev 0x01: msi, address 00:21:28:f1:e2:f9 ppb19 at pci18 dev 6 function 0 "IDT 89HPES64H16G2" rev 0x02: msi pci21 at ppb19 bus 5 ppb20 at pci16 dev 2 function 0 "Sun SPARC-T3/T4 PCIE" rev 0x01 pci22 at ppb20 bus 6 ppb21 at pci22 dev 0 function 0 "IDT 89HPES64H16G2" rev 0x02 pci23 at ppb21 bus 7 ppb22 at pci23 dev 0 function 0 "IDT 89HPES64H16G2" rev 0x02: msi pci24 at ppb22 bus 8 ppb23 at pci23 dev 6 function 0 "IDT 89HPES64H16G2" rev 0x02: msi pci25 at ppb23 bus 9 ppb24 at pci23 dev 10 function 0 "IDT 89HPES64H16G2" rev 0x02: msi pci26 at ppb24 bus 10 "niu" at mainbus0 not configured "niu" at mainbus0 not configured "pci-performance-counters" at mainbus0 not configured "pci-performance-counters" at mainbus0 not configured uhub3 at uhub0 port 2 configuration 1 interface 0 "Cypress Semiconductor USB2 Hub" rev 2.00/0.0b addr 2 ugen0 at uhub3 port 3 "American Megatrends Inc. Generic Hub" rev 2.00/1.00 addr 3 uhidev0 at uhub3 port 4 configuration 1 interface 0 "American Megatrends Inc. Virtual Keyboard and Mouse" rev 1.10/1.00 addr 4 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 variable keys, 6 key codes wskbd0 at ukbd0 mux 1 uhidev1 at uhub3 port 4 configuration 1 interface 1 "American Megatrends Inc. Virtual Keyboard and Mouse" rev 1.10/1.00 addr 4 uhidev1: iclass 3/1 ums0 at uhidev1: 3 buttons wsmouse0 at ums0 mux 0 uhub4 at uhub0 port 4 configuration 1 interface 0 "Cypress Semiconductor USB2 Hub" rev 2.00/0.0b addr 5 (it then froze here, without any panics or errors)