OpenBSD 7.6 install on Netra X1 auto-boot problems...
Catch All <[email protected]> Sun, 09 Mar 2025 10:17:21 +0000
| Newsgroups | gmane.os.openbsd.sparc |
|---|---|
| Message-ID | <mYzLutQqqh4RG3R3EdqhgoX4DBj4a03grdPMzJFEBxBQ8FJ3JagiPsITwD_pjrivvVB7Z_0fJWKVDbAEHzta8cfT2s8oUQUH31QuSgnX6GU=@deusexmachina.org> |
Hello, everyone. I have recently installed OpenBSD 7.6 on a Netra-X1 with = 1GB of RAM and two 40GB hard drives. I successfully navigated the OS's net= boot installation method, which works great in a single hard drive configur= ation. =20 Since this has two identical hard drives, I wanted to have a mirrored and e= ncrypted root drive. I followed the instructions here https://www.openbsd.= org/faq/faq14.html#softraidDI and there were no problems. The only thing I= did differently was I installed an encrypted disk using the following comm= and line: bioctl -c 1C -l wd0a,wd1a softraid0 I completed the installation and things were uneventful. The problem is that I cannot get the system to boot without manually specif= ying the boot disk. If I type "boot sr0a:/bsd" from the open boot prompt, = the system will boot fine and ask me for the root password. I enter it, an= d the system boots happily. The output up to the password prompt looks lik= e the following: --- Executing last command: boot sr0a:/bsd Boot device: /pci@1f,0/ide@d/disk@0,0 File and args: sr0a:/bsd OpenBSD IEEE 1275 Bootblock 2.1 >> OpenBSD BOOT 1.25 sr0* Passphrase: --- If I exit back to the open boot prompt and enter "setenv boot-device disk" = and "setenv boot-file sr0a:/bsd" and then do a "reset-all", the system stop= s at the OpenBSD Boot with the following output. --- Boot device: rootdisk File and args: OpenBSD IEEE 1275 Bootblock 2.1 >> OpenBSD BOOT 1.25 sr0* Trying bsd... open /pci@1f,0/ide@d/disk@0,0:a/bsd: Invalid argument Boot: --- I've been working on this for a few weeks and am stumped. The OpenBSD Boot= doesn't receive the parameters from the open boot environment. THANK YOU AHEAD OF TIME FOR ANY HELP, AND TO THE MAINTAINERS FOR KEEPING TH= IS OS ALIVE ON THIS PLATFORM. <3 I will include my disklabel and printenv below. --- netra-x1# disklabel sd0 # /dev/rsd0c: type: SCSI disk: SCSI disk label: SR RAID 1C duid: d6d3cc4195a765a4 flags: vendor bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 4568 total sectors: 73400016 boundstart: 0 boundend: 73400016 16 partitions: # size offset fstype [fsize bsize cpg] a: 2104515 0 4.2BSD 2048 16384 12960 # / b: 2634660 2104515 swap # none c: 73400016 0 unused d: 4321485 4739175 4.2BSD 2048 16384 12960 # /tmp e: 6795495 9060660 4.2BSD 2048 16384 12960 # /var f: 8177085 15856155 4.2BSD 2048 16384 12960 # /usr g: 2104515 24033240 4.2BSD 2048 16384 12960 # /usr/X1= 1R6 h: 9735390 26137755 4.2BSD 2048 16384 12960 # /usr/lo= cal i: 4096575 35873145 4.2BSD 2048 16384 12960 # /usr/sr= c j: 12530700 39969720 4.2BSD 2048 16384 12960 # /usr/ob= j k: 20884500 52500420 4.2BSD 2048 16384 12960 # /home --- netra-x1# disklabel wd0 # /dev/rwd0c: type: ESDI disk: ESDI/IDE disk label: ST340016A duid: f14bdfbddeca5470 flags: vendor bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 77545 total sectors: 78165360 boundstart: 0 boundend: 78165360 16 partitions: # size offset fstype [fsize bsize cpg] a: 73400544 0 RAID b: 4632768 73532592 swap c: 78165360 0 unused i: 132048 73400544 4.2BSD 2048 16384 1021 --- ok printenv Variable Name Value Default Value ras-shutdown-enabled? false false shutdown-temp 75 75 warning-temp 70 70 env-monitor disabled disabled diag-passes 1 1 diag-continue? 0 0 diag-targets 0 0 diag-verbosity 0 0 keyboard-click? false false keymap scsi-initiator-id 7 7 #power-cycles 38 No default system-board-serial# No default system-board-date No default ttyb-rts-dtr-off false false ttyb-ignore-cd true true ttya-rts-dtr-off false false ttya-ignore-cd true true ttyb-mode 9600,8,n,1,- 9600,8,n,1,- ttya-mode 9600,8,n,1,- 9600,8,n,1,- pci-probe-list 7,3,c,5,a,d 7,3,c,5,a,d mfg-mode off off diag-level max max fcode-debug? false false output-device ttya ttya input-device ttya ttya load-base 16384 16384 auto-boot-retry? false false boot-command boot boot auto-boot? true true watchdog-reboot? true false diag-file diag-device rootdisk rootmirror net boot-file sr0a:/bsd boot-device /pci@1f,0/ide@d/disk@0,0 disk net local-mac-address? true false net-timeout 0 0 ansi-terminal? true true screen-#columns 80 80 screen-#rows 34 34 silent-mode? false false use-nvramrc? true false nvramrc devalias rootdisk /pci@1 ... security-mode none No default security-password No default security-#badlogins 0 No default oem-logo No default oem-logo? false false oem-banner No default oem-banner? false false hardware-revision No default last-hardware-update No default diag-switch? true false