Re: Apr 9 snapshot bsd.mp fails on VMware

2020-04-12 Thread j
Reviewing sizes of /bsd*, they looked odd. So after
a bunch of poking and checking a new install on a 
new VM (which worked) I manually rebuilt the MP kernel
from the SP boot.  And got this:

# ls -l /bsd*
-rwx--  1 root  wheel  18622131 Apr 12 18:01 /bsd
-rwx--  1 root  wheel  17806667 Apr 11 00:15 /bsd.booted
-rw---  1 root  wheel  10351321 Apr 11 00:13 /bsd.rd
-rwx--  1 root  wheel  18532909 Apr 11 00:13 /bsd.sp

However this failed to boot as well (same symptom).  Eventually
I did the obvious thing: copied /home/_sysupgrade/bsd.mp to /
and booted that and it worked, including successful reorder_kernel.

I had missed this syslog entry:

Feb 25 16:48:21 o67snap reorder_kernel: failed -- see 
/usr/share/relink/kernel/GEN
ERIC.MP/relink.log

No idea what happened there.

My fault for not paying attention to syslog.  Sorry for the noise.

John




Apr 9 snapshot bsd.mp fails on VMware

2020-04-10 Thread j


Upgrading from a 3-month old snapshot.  Files from cdn.openbsd.org.

Upon boot in a VMware VM, it loads the kernel then fails to even
show the OpenBSD banner.  After OpenBSD/amd64 BOOT 3.47 banner, booting
hd0a:/bsd: etc etc, then VMware reports an error.  "A fault has
occurred causing a virtual CPU to enter the shutdown state.  If
this fault had occured outside of a virtual machine, it would have
caused the physical machine to restart"

Same current- works on real hardware (dell workstation). Apr 9.
But see below.

Poking around, the /usr/share/relink/kernel/GENERIC.MP/ directory
had only Makefile, nothing else.

So I rebooted the bsd.booted kernel, it seemed to finish the upgrade
(a few sysmerge reports), but upon reboot same symptoms.

So I started the 6.7-beta bsd.rd and (U)pgraded it again.  And upon
reboot the same symptom (no OpenBSD banner, VMware reports a fail.)
The kernel/relink directory now has expected files in it, but no
relink log file.

VMware config: (Windows 10 host, VMware workstation 12 player, 12.65.9
build-7535481)

VM config: 480MB, 2 processors, IDE hard disk, IDE CD/DVD, one
network adapter (em0).

Same symptom with 512MB memory.

Booting bsd.sp succeeds but reordering kernel fails again.


# ls -l /usr/share/relink/kernel/GENERIC
total 4
-rw-r--r--  1 root  wheel  95 Apr 11 00:44 relink.log
o67snap# cat /usr/share/relink/kernel/GENERIC/relink.log
(SHA256) /bsd: OK
make: don't know how to make newbsd
Stop in /usr/share/relink/kernel/GENERIC
(the directory is empty of course, no Makefile, not .o files).

Here is the dmesg with 512MB memory, single processor:

OpenBSD 6.7-beta (GENERIC) #114: Thu Apr  9 10:39:39 MDT 2020
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 520028160 (495MB)
avail mem = 491810816 (469MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe0010 (242 entries)
bios0: vendor Phoenix Technologies LTD version "6.00" date 07/02/2015
bios0: VMware, Inc. VMware Virtual Platform
acpi0 at bios0: ACPI 4.0
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP BOOT APIC MCFG SRAT HPET WAET
acpi0: wakeup devices PCI0(S3) USB_(S1) P2P0(S3) S1F0(S3) S2F0(S3) S8F0(S3) 
S16F(S3) S17F(S3) S18F(S3) S22F(S3) S23F(S3) S24F(S3) S25F(S3) PE40(S3) 
S1F0(S3) PE50(S3) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz, 2303.89 MHz, 06-4e-03
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,MMX,FXSR,SSE,SSE2,SS,SSE3,PCLMUL,SSSE3,FMA3,CX16,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 65MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 11, 24 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xf000, bus 0-127
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C1(@1 halt!)
acpipci0 at acpi0 PCI0: 0x 0x0011 0x0001
acpicmos0 at acpi0
"PNP0A05" at acpi0 not configured
acpiac0 at acpi0: AC unit online
cpu0: using Skylake AVX MDS workaround
pvbus0 at mainbus0: VMware
vmt0 at pvbus0
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x01
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x01
pci1 at ppb0 bus 1
pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x08
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 64-sector PIO, LBA, 14336MB, 29360128 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0:  removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x08: SMBus disabled
"VMware VMCI" rev 0x10 at pci0 dev 7 function 7 not configured
vga1 at pci0 dev 15 function 0 "VMware SVGA II" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
mpi0 at pci0 dev 16 function 0 "Symbios Logic 53c1030" rev 0x01: apic 1 int 17
mpi0: 0, firmware 1.3.41.32
scsibus2 at mpi0: 16 targets, initiator 7
ppb1 at pci0 dev 17 function 0 "VMware PCI" rev 0x02
pci2 at ppb1 bus 2
em0 at pci2 dev 0 function 0 "Intel 82545EM" rev 0x01: apic 1 int 18, address 
00:0c:29:05:5e:fd
eap0 at pci2 dev 1 function 0 "Ensoniq AudioPCI97" rev 0x02: apic 1 int 19
ac97: codec id 0x43525913 (Cirrus Logic CS4297A rev 3)