On Mon, Jan 14, 2019 at 12:36:12PM +0100, Sascha Paunovic wrote: > > Synopsis: uvm_fault during install > > Category: system > > Environment: > System : OpenBSD 6.4 > Details : miniroot64.fs from > https://cdn.openbsd.org/pub/OpenBSD/snapshots/amd64/miniroot64.fs > with sha256: > 5b5c73d1246044481fe65a8ac5feeef9d68435268b5f1ae8a90711dacd64ef86 > Architecture: OpenBSD.amd64 > Machine : amd64, Dell Latitude 7370 + (vmd(8) VM) > > Description: > During the install of OpenBSD -current from a USB stick (with > miniroot64.fs on it), just before selecting the sets is > possible, the kernel panics with uvm_fault. > > How-To-Repeat: > 1. Follow the usual installation procedure up until selecting > sets > 2. kernel panic > > Fix: > unknown. > > > Install log (thanks to solene@ for reproducing): > solene# vmctl console test > Connected to /dev/ttypd (speed 115200) > > cannot open hd0a:/etc/random.seed: No such file or directory > booting hd0a:/bsd: 3519306+1512448+3891848+0+598016=0x917360 > entry point at 0x1001000 > Copyright (c) 1982, 1986, 1989, 1991, 1993 > The Regents of the University of California. All rights reserved. > Copyright (c) 1995-2019 OpenBSD. All rights reserved. > https://www.OpenBSD.org > > OpenBSD 6.4-current (RAMDISK_CD) #590: Mon Jan 14 01:13:50 MST 2019 > [email protected]:/usr/src/sys/arch/amd64/compile/RAMDISK_CD > real mem = 1056956416 (1007MB) > avail mem = 1021001728 (973MB) > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf15e0 (10 entries) > bios0: vendor SeaBIOS version "1.11.0p1-OpenBSD-vmm" date 01/01/2011 > bios0: OpenBSD VMM > acpi at bios0 not configured > cpu0 at mainbus0: (uniprocessor) > cpu0: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz, 1992.59 MHz, 06-8e-0a > cpu0: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,PCLMUL,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,RDSEED,ADX,SMAP,CLFLUSHOPT,MELTDOWN > cpu0: 256KB 64b/line 8-way L2 cache > pvbus0 at mainbus0: OpenBSD > pci0 at mainbus0 bus 0 > pchb0 at pci0 dev 0 function 0 "OpenBSD VMM Host" rev 0x00 > virtio0 at pci0 dev 1 function 0 "Qumranet Virtio RNG" rev 0x00 > viornd0 at virtio0 > virtio0: irq 3 > virtio1 at pci0 dev 2 function 0 "Qumranet Virtio Storage" rev 0x00 > vioblk0 at virtio1 > scsibus0 at vioblk0: 2 targets > sd0 at scsibus0 targ 0 lun 0: <VirtIO, Block Device, > SCSI3 0/direct fixed > sd0: 3504MB, 512 bytes/sector, 7177600 sectors > virtio1: irq 5 > virtio2 at pci0 dev 3 function 0 "Qumranet Virtio Network" rev 0x00 > vio0 at virtio2: address fe:e1:bb:d1:f6:c8 > virtio2: irq 6 > virtio3 at pci0 dev 4 function 0 "OpenBSD VMM Control" rev 0x00 > vmmci0 at virtio3 > virtio3: irq 7 > isa0 at mainbus0 > com0 at isa0 port 0x3f8/8 irq 4: ns16450, no fifo > com0: console > softraid0 at root > scsibus1 at softraid0: 256 targets > root on rd0a swap on rd0b dump on rd0b > erase ^?, werase ^W, kill ^U, intr ^C, status ^T > > Welcome to the OpenBSD/amd64 6.4 installation program. > (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? i > At any prompt except password prompts you can escape to a shell by > typing '!'. Default answers are shown in []'s and are selected by > pressing RETURN. You can exit this program at any time by pressing > Control-C, but this can leave your system in an inconsistent state. > > Terminal type? [vt220] > System hostname? (short form, e.g. 'foo') > A response is required. > System hostname? (short form, e.g. 'foo') test > > Available network interfaces are: vio0 vlan0. > Which network interface do you wish to configure? (or 'done') [vio0] > IPv4 address for vio0? (or 'dhcp' or 'none') [dhcp] > vio0: bound to 100.64.1.3 from 100.64.1.2 (fe:e1:bb:d1:f6:c9) > IPv6 address for vio0? (or 'autoconf' or 'none') [none] > Available network interfaces are: vio0 vlan0. > Which network interface do you wish to configure? (or 'done') [done] > DNS domain name? (e.g. 'example.com') [my.domain] > Using DNS nameservers at 100.64.1.2 > > Password for root account? (will not echo) > Password for root account? (again) > Start sshd(8) by default? [yes] > Change the default console to com0? [yes] > Available speeds are: 9600 19200 38400 57600 115200. > Which speed should com0 use? (or 'done') [115200] > Setup a user? (enter a lower-case loginname, or 'no') [no] > Since no user was setup, root logins via sshd(8) might be useful. > WARNING: root is targeted by password guessing attacks, pubkeys are safer. > Allow root ssh login? (yes, no, prohibit-password) [no] > Available disks are: sd0. > Which disk is the root disk? ('?' for details) [sd0] Disk: sd0 geometry: > 890/128/63 [7177600 Sectors] > Offset: 0 Signature: 0xAA55 > Starting Ending LBA Info: > #: id C H S - C H S [ start: size ] > ------------------------------------------------------------------------------- > 0: EF 0 1 2 - 0 16 16 [ 64: 960 ] EFI Sys > 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused > 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused > *3: A6 0 16 17 - 1 24 24 [ 1024: 8576 ] OpenBSD > Use (W)hole disk MBR, whole disk (G)PT, (O)penBSD area or (E)dit? [OpenBSD] > The auto-allocated layout for sd0 is: > # size offset fstype [fsize bsize cpg] > a: 4288.0K 1024 4.2BSD 2048 16384 1 # / > c: 3588800.0K 0 unused > i: 480.0K 64 MSDOS > Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] > /dev/rsd0a: 4.2MB in 8576 sectors of 512 bytes > 4 cylinder groups of 1.05MB, 67 blocks, 256 inodes each > /dev/sd0a (f4a5e0b9c63ea1da.a) on /mnt type ffs (rw, asynchronous, local) > Let's install the sets! > Location of sets? (disk http or 'done') [http] HTTP proxy URL? (e.g. > 'http://proxy:8080', or 'none') [none] (Unable to get list from > ftp.openbsd.org, but that is OK) > HTTP Server? (hostname or 'done') cdn.openbsd.org > Server directory? [pub/OpenBSD/snapshots/amd64] > Unable to connect using https. Use http instead? [no] yes > Unable to get a verified list of distribution sets. > Looked at and found no OpenBSD/amd64 6.4 sets. The set names looked for > were: > bsd comp64.tgz xbase64.tgz xserv64.tgz > bsd.rd man64.tgz xshare64.tgz > siuvm_fault(0xffffff003f746108, 0x0, 0, 1) -> e > te64.tgz > base64.tgz game64.tgz xfont64.tgz site64-test.tgz > fatal page fault in supervisor mode > trap type 6 code 0 rip ffffffff810f94c9 cs 8 rflags 10246 cr2 0 cpl 0 rsp > ffff800014b8b5e0 > gsbase 0xffffffff81877ff0 kgsbase 0x0 > panic: trap type 6, code=0, pc=ffffffff810f94c9 > syncing disks... done > > dump to dev 17,1 not possible > vmmci0: powerdown > rebooting... > Using drive 0, partition 3. > Loading...... > ERR M
Also seen in another VM installation here: https://marc.info/?l=openbsd-misc&m=154746474215764&w=2 -- Andreas Kusalananda Kähäri, National Bioinformatics Infrastructure Sweden (NBIS), Uppsala University, Sweden.
