On Tue, Nov 22, 2022 at 05:12:33PM +0000, ssnf wrote: > > Deliver steps to reproduce, installation logs, machine information, > > version details, ANYTHING technical. > > Version: OpenBSD 7.2 release > Arch: i386 > Image: install72.iso > Machine: Thinkpad 380XD 32MB 233MHz Pentium MMX
Without real i386 hardware, I resorted to vmm(4) on amd64 for testing. > > Steps: > - Boot install CDROM > - (S)hell > - cd /dev > - sh MAKEDEV wd0 > - fdisk -iy wd0 > - disklabel -E wd0 > - a\n\n\nRAID\nwq\n > - sh MAKEDEV wd1 > - fdisk -iy wd1 > - disklabel -E wd1 > - a\n\n\nRAID\nwq\n > - bioctl -c C -l wd0a -k wd1a softraid0 > - exit > - (I)nstall > - Installation stops on md_installboot() > - "/dev/rwd1c" does not exist This means my disks are sd(4) not wd(4), otherwise I took exactly these steps. Installation works for both 7.2-release and 7.2-snapshot, both VMs boot just fine without any error. Maybe this is specific to i386 hardware and/or wd(4) disks, maybe you have more disks in your system that somehow mess up the install, maybe something else is going on we don't know about. I haven't seen a dmesg from your system so far, so these questions remain unanswered. See attached the full serial console log from both my tests, including disk creation and VM startup on the host. > > Steps for successful install: > - Boot install CDROM > - (S)hell > - ed install.sub > - /bioctl > - s/\$/"$ > - s/$/" > - wq None of this was needed.
vmm-host# vmctl create -s 3G disk1.img vmctl: raw imagefile created vmm-host# vmctl create -s 3G disk2.img vmctl: raw imagefile created vmm-host# vmctl start -c -r ./install72-release-i386.iso -d ./disk1.img -d ./disk2.img i386-raid-keydisk vmctl: starting without network interfaces Connected to /dev/ttyp2 (speed 115200) Boot failed: not a bootable disk CD-ROM: E0 Loading /7.2/I386/CDBOOT probing: pc0 com0 apm mem[638K 510M a20=on] disk: hd0+* hd1+* cd0 >> OpenBSD/i386 CDBOOT 3.44 boot> cannot open cd0a:/etc/random.seed: No such file or directory booting cd0a:/7.2/i386/bsd.rd: 3267095+1438720+4366344+0+417792 [88+160+28]=0x90f300 entry point at 0x201000 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2022 OpenBSD. All rights reserved. https://www.OpenBSD.org OpenBSD 7.2 (RAMDISK_CD) #378: Tue Sep 27 13:05:38 MDT 2022 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/RAMDISK_CD real mem = 536371200 (511MB) avail mem = 516345856 (492MB) random: good seed from bootblocks mainbus0 at root bios0 at mainbus0: date 06/23/99, BIOS32 rev. 0 @ 0xfefc2, SMBIOS rev. 2.4 @ 0xf36e0 (10 entries) bios0: vendor SeaBIOS version "1.14.0p0-OpenBSD-vmm" date 01/01/2011 bios0: OpenBSD VMM acpi at bios0 function 0x0 not configured pcibios at bios0 function 0x1a not configured bios0: ROM list: 0xee800/0x1800! cpu0 at mainbus0: (uniprocessor) cpu0: Intel(R) Xeon(R) CPU E5-2643 v2 @ 3.50GHz ("GenuineIntel" 686-class) 3.51 GHz, 06-3e-04 cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,CX8,SEP,PGE,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,PAGE1GB,LONG,LAHF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,MELTDOWN pvbus0 at mainbus0: OpenBSD pci0 at mainbus0 bus 0: configuration mode 1 (no bios) 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: 1 targets sd0 at scsibus0 targ 0 lun 0: <VirtIO, Block Device, > sd0: 3072MB, 512 bytes/sector, 6291456 sectors virtio1: irq 5 virtio2 at pci0 dev 3 function 0 "Qumranet Virtio Storage" rev 0x00 vioblk1 at virtio2 scsibus1 at vioblk1: 1 targets sd1 at scsibus1 targ 0 lun 0: <VirtIO, Block Device, > sd1: 3072MB, 512 bytes/sector, 6291456 sectors virtio2: irq 6 virtio3 at pci0 dev 4 function 0 "Qumranet Virtio SCSI" rev 0x00 vioscsi0 at virtio3: qsize 128 scsibus2 at vioscsi0: 1 targets cd0 at scsibus2 targ 0 lun 0: <OpenBSD, VMM CD-ROM, 001> removable virtio3: irq 7 virtio4 at pci0 dev 5 function 0 "OpenBSD VMM Control" rev 0x00 vmmci0 at virtio4 virtio4: irq 9 isa0 at mainbus0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns8250, no fifo com0: console pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pcdisplay0 at isa0 port 0x3d0/16 iomem 0xb8000/32768 wsdisplay0 at pcdisplay0 mux 1: console (80x25, vt100 emulation) npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 softraid0 at root scsibus3 at softraid0: 256 targets root on rd0a swap on rd0b dump on rd0b WARNING: CHECK AND RESET THE DATE! erase ^?, werase ^W, kill ^U, intr ^C, status ^T Welcome to the OpenBSD/i386 7.2 installation program. (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? s # cd /dev # sh MAKEDEV sd0 # fdisk -iy sd0 Writing MBR at offset 0. # disklabel -E sd0 Label editor (enter '?' for help at any prompt) sd0> a partition: [a] offset: [64] size: [6291392] FS type: [4.2BSD] RAID sd0*> w sd0> q No label changes. # sh MAKEDEV sd1 # fdisk -iy sd1 Writing MBR at offset 0. # disklabel -E sd1 Label editor (enter '?' for help at any prompt) sd1> a partition: [a] offset: [64] size: [6291392] FS type: [4.2BSD] RAID sd1*> w sd1> q No label changes. # bioctl -c C -l sd0a -k sd1a softraid0 sd2 at scsibus3 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006> sd2: 3071MB, 512 bytes/sector, 6290864 sectors softraid0: CRYPTO volume attached as sd2 # exit erase ^?, werase ^W, kill ^U, intr ^C, status ^T Welcome to the OpenBSD/i386 7.2 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') t DNS domain name? (e.g. 'example.com') [my.domain] DNS nameservers? (IP address list or 'none') [none] Password for root account? (will not echo) Password for root account? (again) Start sshd(8) by default? [yes] no Do you want the X Window System to be started by xenodm(1)? [no] 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] Available disks are: sd0 sd1 sd2. Which disk is the root disk? ('?' for details) [sd0] ? sd0: VirtIO, Block Device (3.0G) sd1: VirtIO, Block Device (3.0G) sd2: OPENBSD, SR CRYPTO, 006 (3.0G) Available disks are: sd0 sd1 sd2. Which disk is the root disk? ('?' for details) [sd0] sd2 MBR has invalid signature; not showing it. Use (W)hole disk or (E)dit the MBR? [whole] Setting OpenBSD MBR partition to whole sd2...done. The auto-allocated layout for sd2 is: # size offset fstype [fsize bsize cpg] a: 831.8M 64 4.2BSD 2048 16384 1 # / b: 143.6M 1703552 swap c: 3071.7M 0 unused d: 1795.8M 1997600 4.2BSD 2048 16384 1 # /usr e: 300.5M 5675360 4.2BSD 2048 16384 1 # /home Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] /dev/rsd2a: 831.8MB in 1703488 sectors of 512 bytes 5 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each newfs: reduced number of fragments per cylinder group from 38464 to 38152 to enlarge last cylinder group /dev/rsd2e: 300.5MB in 615488 sectors of 512 bytes 5 cylinder groups of 74.52MB, 4769 blocks, 9600 inodes each /dev/rsd2d: 1795.8MB in 3677760 sectors of 512 bytes 9 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each Available disks are: sd0 sd1. Which disk do you wish to initialize? (or 'done') [done] /dev/sd2a (abdacbafa116026d.a) on /mnt type ffs (rw, asynchronous, local) /dev/sd2e (abdacbafa116026d.e) on /mnt/home type ffs (rw, asynchronous, local, nodev, nosuid) /dev/sd2d (abdacbafa116026d.d) on /mnt/usr type ffs (rw, asynchronous, local, nodev) Let's install the sets! Location of sets? (cd0 disk http or 'done') [cd0] Pathname to the sets? (or 'done') [7.2/i386] Select sets by entering a set name, a file name pattern or 'all'. De-select sets by prepending a '-', e.g.: '-game*'. Selected sets are labelled '[X]'. [X] bsd [X] comp72.tgz [X] xbase72.tgz [X] xserv72.tgz [X] bsd.rd [X] man72.tgz [X] xshare72.tgz [X] base72.tgz [X] game72.tgz [X] xfont72.tgz Set name(s)? (or 'abort' or 'done') [done] -* b* [X] bsd [ ] comp72.tgz [ ] xbase72.tgz [ ] xserv72.tgz [X] bsd.rd [ ] man72.tgz [ ] xshare72.tgz [X] base72.tgz [ ] game72.tgz [ ] xfont72.tgz Set name(s)? (or 'abort' or 'done') [done] Directory does not contain SHA256.sig. Continue without verification? [no] yes Installing bsd 100% |**************************| 14770 KB 00:01 Installing bsd.rd 100% |**************************| 3968 KB 00:00 Installing base72.tgz 100% |**************************| 227 MB 00:51 Extracting etc.tgz 100% |**************************| 257 KB 00:00 Location of sets? (cd0 disk http or 'done') [done] What timezone are you in? ('?' for list) [Canada/Mountain] Saving configuration files... done. Making all device nodes... done. fw_update: firmware.openbsd.org: no address associated with name Cannot fetch http://firmware.openbsd.org/firmware/7.2/SHA256.sig fw_update: added none; updated none; kept none Relinking to create unique kernel... done. CONGRATULATIONS! Your OpenBSD install has been successfully completed! When you login to your new system the first time, please read your mail using the 'mail' command. Exit to (S)hell, (H)alt or (R)eboot? [reboot]
vmm-host# vmctl create -s 3G disk1.img vmctl: raw imagefile created vmm-host# vmctl create -s 3G disk2.img vmctl: raw imagefile created vmm-host# vmctl start -c -r ./install72-snap-i386.iso -d ./disk1.img -d ./disk2.img i386-raid-keydisk vmctl: starting without network interfaces Connected to /dev/ttyp1 (speed 115200) Boot failed: not a bootable disk CD-ROM: E0 Loading /7.2/I386/CDBOOT probing: pc0 com0 apm mem[638K 510M a20=on] disk: hd0+* hd1+* cd0 >> OpenBSD/i386 CDBOOT 3.44 boot> cannot open cd0a:/etc/random.seed: No such file or directory booting cd0a:/7.2/i386/bsd.rd: 3275287+1442816+4358152+0+417792 [88+160+28]=0x910300 entry point at 0x201000 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2022 OpenBSD. All rights reserved. https://www.OpenBSD.org OpenBSD 7.2-current (RAMDISK_CD) #456: Sun Dec 4 04:26:06 MST 2022 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/RAMDISK_CD real mem = 536371200 (511MB) avail mem = 516341760 (492MB) random: good seed from bootblocks mainbus0 at root bios0 at mainbus0: date 06/23/99, BIOS32 rev. 0 @ 0xfefc2, SMBIOS rev. 2.4 @ 0xf36e0 (10 entries) bios0: vendor SeaBIOS version "1.14.0p0-OpenBSD-vmm" date 01/01/2011 bios0: OpenBSD VMM acpi at bios0 function 0x0 not configured pcibios at bios0 function 0x1a not configured bios0: ROM list: 0xee800/0x1800! cpu0 at mainbus0: (uniprocessor) cpu0: Intel(R) Xeon(R) CPU E5-2643 v2 @ 3.50GHz ("GenuineIntel" 686-class) 3.50 GHz, 06-3e-04 cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,CX8,SEP,PGE,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,PAGE1GB,LONG,LAHF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,MELTDOWN pvbus0 at mainbus0: OpenBSD pci0 at mainbus0 bus 0: configuration mode 1 (no bios) 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: 1 targets sd0 at scsibus0 targ 0 lun 0: <VirtIO, Block Device, > sd0: 3072MB, 512 bytes/sector, 6291456 sectors virtio1: irq 5 virtio2 at pci0 dev 3 function 0 "Qumranet Virtio Storage" rev 0x00 vioblk1 at virtio2 scsibus1 at vioblk1: 1 targets sd1 at scsibus1 targ 0 lun 0: <VirtIO, Block Device, > sd1: 3072MB, 512 bytes/sector, 6291456 sectors virtio2: irq 6 virtio3 at pci0 dev 4 function 0 "Qumranet Virtio SCSI" rev 0x00 vioscsi0 at virtio3: qsize 128 scsibus2 at vioscsi0: 1 targets cd0 at scsibus2 targ 0 lun 0: <OpenBSD, VMM CD-ROM, 001> removable virtio3: irq 7 virtio4 at pci0 dev 5 function 0 "OpenBSD VMM Control" rev 0x00 vmmci0 at virtio4 virtio4: irq 9 isa0 at mainbus0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns8250, no fifo com0: console pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pcdisplay0 at isa0 port 0x3d0/16 iomem 0xb8000/32768 wsdisplay0 at pcdisplay0 mux 1: console (80x25, vt100 emulation) npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 softraid0 at root scsibus3 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/i386 7.2 installation program. (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? S # cd /dev # sh MAKEDEV sd0 # fdisk -iy sd0 Writing MBR at offset 0. # disklabel -E sd0 Label editor (enter '?' for help at any prompt) sd0> a partition: [a] offset: [64] size: [6291392] FS type: [4.2BSD] RAID sd0*> w sd0> q No label changes. # sh MAKEDEV sd1 # fdisk -iy sd1 Writing MBR at offset 0. # disklabel -E sd1 Label editor (enter '?' for help at any prompt) sd1> a partition: [a] offset: [64] size: [6291392] FS type: [4.2BSD] RAID sd1*> w sd1> q No label changes. # bioctl -c C -l sd0a -k sd1a softraid0 sd2 at scsibus3 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006> sd2: 3071MB, 512 bytes/sector, 6290864 sectors softraid0: CRYPTO volume attached as sd2 # exit erase ^?, werase ^W, kill ^U, intr ^C, status ^T Welcome to the OpenBSD/i386 7.2 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') t DNS domain name? (e.g. 'example.com') [my.domain] DNS nameservers? (IP address list or 'none') [none] Password for root account? (will not echo) Password for root account? (again) Start sshd(8) by default? [yes] no Do you want the X Window System to be started by xenodm(1)? [no] 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] Available disks are: sd0 sd1 sd2. Which disk is the root disk? ('?' for details) [sd0] ? sd0: VirtIO, Block Device (3.0G) sd1: VirtIO, Block Device (3.0G) sd2: OPENBSD, SR CRYPTO, 006 (3.0G) Available disks are: sd0 sd1 sd2. Which disk is the root disk? ('?' for details) [sd0] sd2 MBR has invalid signature; not showing it. Use (W)hole disk or (E)dit the MBR? [whole] Setting OpenBSD MBR partition to whole sd2...done. The auto-allocated layout for sd2 is: # size offset fstype [fsize bsize cpg] a: 831.8M 64 4.2BSD 2048 16384 1 # / b: 143.6M 1703552 swap c: 3071.7M 0 unused d: 1795.8M 1997600 4.2BSD 2048 16384 1 # /usr e: 300.5M 5675360 4.2BSD 2048 16384 1 # /home Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] /dev/rsd2a: 831.8MB in 1703488 sectors of 512 bytes 5 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each newfs: reduced number of fragments per cylinder group from 38464 to 38152 to enlarge last cylinder group /dev/rsd2e: 300.5MB in 615488 sectors of 512 bytes 5 cylinder groups of 74.52MB, 4769 blocks, 9600 inodes each /dev/rsd2d: 1795.8MB in 3677760 sectors of 512 bytes 9 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each Available disks are: sd0 sd1. Which disk do you wish to initialize? (or 'done') [done] /dev/sd2a (4f3f7088b3dcfcf2.a) on /mnt type ffs (rw, asynchronous, local) /dev/sd2e (4f3f7088b3dcfcf2.e) on /mnt/home type ffs (rw, asynchronous, local, nodev, nosuid) /dev/sd2d (4f3f7088b3dcfcf2.d) on /mnt/usr type ffs (rw, asynchronous, local, nodev) Let's install the sets! Location of sets? (cd0 disk http or 'done') [cd0] Pathname to the sets? (or 'done') [7.2/i386] Select sets by entering a set name, a file name pattern or 'all'. De-select sets by prepending a '-', e.g.: '-game*'. Selected sets are labelled '[X]'. [X] bsd [X] comp72.tgz [X] xbase72.tgz [X] xserv72.tgz [X] bsd.rd [X] man72.tgz [X] xshare72.tgz [X] base72.tgz [X] game72.tgz [X] xfont72.tgz Set name(s)? (or 'abort' or 'done') [done] -* b* [X] bsd [ ] comp72.tgz [ ] xbase72.tgz [ ] xserv72.tgz [X] bsd.rd [ ] man72.tgz [ ] xshare72.tgz [X] base72.tgz [ ] game72.tgz [ ] xfont72.tgz Set name(s)? (or 'abort' or 'done') [done] Directory does not contain SHA256.sig. Continue without verification? [no] yes Installing bsd 100% |**************************| 14765 KB 00:01 Installing bsd.rd 100% |**************************| 3983 KB 00:00 Installing base72.tgz 100% |**************************| 227 MB 00:51 Extracting etc.tgz 100% |**************************| 257 KB 00:00 Location of sets? (cd0 disk http or 'done') [done] What timezone are you in? ('?' for list) [Canada/Mountain] Saving configuration files... done. Making all device nodes... done. fw_update: firmware.openbsd.org: no address associated with name Cannot fetch http://firmware.openbsd.org/firmware/snapshots/SHA256.sig fw_update: added none; updated none; kept none Relinking to create unique kernel... done. CONGRATULATIONS! Your OpenBSD install has been successfully completed! When you login to your new system the first time, please read your mail using the 'mail' command. Exit to (S)hell, (H)alt or (R)eboot? [reboot]