|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
OpenBSD 5.x Sparc Install problem
(Noob here, please be tolerant)
I'm restoring an old Sun IPX, and what I've been successful so far is: - Replaced the dead NVRAM chip - Added memory to the max (64Mb) - Replace old SCSI drive with zuluSCI SD Card drive - Cloned the original (c.420Mb) disk to zuluSCSI SD card - Booted original SunOS 4.1.4 (Server only) disk image on zuluSCSI SD card - Freshly installed SunOS 4.1.4 in full and booted - Installed Redhat 6.2 Sparc and booted successfully - Installed Solaris 2.5 and booted successfully Problem with various OpenBSD 5.x Sparc (32 bit) installs, I'd appreciate any insights. The install appears to work, I accept the default patitions, but on reboot the mount of the / partition fails - with "illegal argument". So system boots in Single User with read-only disk (it is readable). Manual attempts to re-mount / as rw in the resulting Single User mode also fail with the same error. I've tried sd0 and DUID in fstab, same result. I think this is the offending item that causes mount/mount_ffs to fail Code:
bootpath: /sbus@1,f8000000/esp@0,800000/sd@3,0:c root on sd0c (ca51499d7e4f1869.c) swap on sd0b dump on sd0b filesystem type 0 not known.. assuming ffs Code:
SPARCstation IPX, No Keyboard ROM Rev. 2.6, 64 MB memory installed, Serial #12648430. Ethernet address 8:0:20:74:4:86, Host ID: 57c0ffee. Rebooting with command: Boot device: /sbus/esp/sd@3,0:c File and args: >> OpenBSD BOOT 2.6 Booting bsd Loading at physical address 400000 3297328+481336 [52+151440+133638]=0x3e03a8 [ using 285504 bytes of bsd ELF symbol table ] console is ttya Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2013 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 5.4 (GENERIC) #15: Sat Aug 3 02:59:20 MDT 2013 deraadt@sparc.openbsd.org:/usr/src/sys/arch/sparc/compile/GENERIC real mem = 67006464 (63MB) avail mem = 61681664 (58MB) mainbus0 at root: SUNW,Sun 4/50 cpu0 at mainbus0: W8601/8701 or MB86903 @ 40 MHz, on-chip FPU; cache chip bug - trap page uncached cpu0: 64K byte write-through, 32 bytes/line, hw flush cache enabled memreg0 at mainbus0 ioaddr 0xf4000000 clock0 at mainbus0 ioaddr 0xf2000000: mk48t02 (eeprom) timer0 at mainbus0 ioaddr 0xf3000000: delay constant 17, frequency 1000000 Hz auxreg0 at mainbus0 ioaddr 0xf7400003 zs0 at mainbus0 ioaddr 0xf1000000 pri 12, softpri 6 zstty0 at zs0 channel 0: console zstty1 at zs0 channel 1 zs1 at mainbus0 ioaddr 0xf0000000 pri 12, softpri 6 zskbd0 at zs1 channel 0: no keyboard zsms0 at zs1 channel 1 wsmouse0 at zsms0 mux 0 audioamd0 at mainbus0 ioaddr 0xf7201000 pri 13, softpri 4 audio0 at audioamd0 sbus0 at mainbus0 ioaddr 0xf8000000: 20 MHz dma0 at sbus0 slot 0 offset 0x400000: rev 1+ esp0 at sbus0 slot 0 offset 0x800000 pri 3: ESP100A, 25MHz scsibus0 at esp0: 8 targets, initiator 7 sd0 at scsibus0 targ 3 lun 0: <ZULUSCSI, HARDDRIVE, 2.0> SCSI2 0/direct fixed serial.ZULUSCSIHARDDRIVE_B03EAD98 sd0: 1843MB, 512 bytes/sector, 3774873 sectors sd1 at scsibus0 targ 4 lun 0: <ZULUSCSI, HARDDRIVE, 2.0> SCSI2 0/direct fixed serial.ZULUSCSIHARDDRIVE_B03EAD98 sd1: 4096MB, 512 bytes/sector, 8388608 sectors cd0 at scsibus0 targ 6 lun 0: <ZULUSCSI, CDROM, 2.0> SCSI2 5/cdrom removable serial.ZULUSCSICDROM_B03EAD98 le0 at sbus0 slot 0 offset 0xc00000 pri 5: address 08:00:20:74:04:86 le0: 16 receive buffers, 4 transmit buffers "csfour" at sbus0 slot 2 offset 0x800 not configured cgsix0 at sbus0 slot 3 offset 0x0 pri 7: SUNW,501-1672, 1152x900, rev 7 wsdisplay0 at cgsix0 mux 1 wsdisplay0: screen 0 added (std, sun emulation) fdc0 at mainbus0 ioaddr 0xf7200000 pri 11, softpri 4: chip 82072 vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root scsibus2 at softraid0: 256 targets bootpath: /sbus@1,f8000000/esp@0,800000/sd@3,0:c root on sd0c (ca51499d7e4f1869.c) swap on sd0b dump on sd0b filesystem type 0 not known.. assuming ffs WARNING: preposterous time in file system WARNING: clock lost 15329 days -- CHECK AND RESET THE DATE! Automatic boot in progress: starting file system checks. /dev/sd0a (ca51499d7e4f1869.a): file system is clean; not checking mount_ffs: ca51499d7e4f1869.a on /: Invalid argument mount_ffs: ca51499d7e4f1869.a on /: Invalid argument setting tty flags pf enabled starting network rm: utmp: Read-only file system install: utmp: Read-only file system rm: *: Read-only file system /etc/rc[384]: cannot create /var/run/dmesg.boot: Read-only file system openssl: generating isakmpd/iked RSA key... failed. cp: /etc/isakmpd/private/local.key: No such file or directory chmod: /etc/iked/private/local.key: No such file or directory cp: /etc/isakmpd/local.pub: No such file or directory ssh-keygen: generating new host keys: RSA1 ^Cstray interrupt ipl 0xc pc=0xf824b3e0 npc=0xf824b3e4 psr=904016c2<EF,S,PS> starting early daemons: syslogd pflogd. starting RPC daemons:. Jan 1 01:11:13 pflogd[24165]: [priv]: msg PRIV_OPEN_LOG received Jan 1 01:11:13 pflogd[24165]: [priv]: failed to open /var/log/pflog: Read-only file system mount_ffs: ca51499d7e4f1869.a on /: Invalid argument savecore: no core dump checking quotas: done. kvm_mkdb: can't dbopen /var/db/kvm_bsd.tmp: Read-only file system kvm_mkdb: will try again using /bsd instead kvm_mkdb: can't dbopen /var/db/kvm_bsd.tmp: Read-only file system dev_mkdb: /var/run/dev.tmp: Read-only file system chmod: /dev/ttyp0: Read-only file system chmod: /dev/ttyp1: Read-only file system chmod: /dev/ttyp2: Read-only file system chmod: /dev/ttyp3: Read-only file system Last edited by ocicat; 17th October 2023 at 11:26 AM. Reason: Added [code] & [/code] tags for clarity. |
|
|||
Quote:
|
|
||||
i have never run OpenBSD/sparc, so I have no direct experience with the specific architecture, but with that caveat ... across all architectures, the root partition should be assigned to sd0a, and sd0c is only used when referring to the entire drive for administrative operations such as disklabel(8) or installboot(8).
Edited to add: this nomenclature and partitioning schema is used with all disk device drivers, not just the SCSI sd(4) driver. It's the same for wd(4) and others. Non-partitioned drives such as fd(4) or cd(4) still reserve a pseudo-partition "c" to refer to the entire device sector range. Last edited by jggimi; 17th October 2023 at 11:42 AM. Reason: clarity |
|
|||
Thanks
|
|
|||
Can't believe I've got it loaded ! Do NOT use the default Sun SCSI disk number (3).
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Install GNOME on OpenBSD 6.2 on a Sun Ultra 45 (Sparc) Workstation? | jmar83 | OpenBSD Packages and Ports | 20 | 23rd October 2023 09:22 AM |
Misc. BSD/UNIX High prices of Sun SPARC boxes forces OpenSolaris-fork Illumos to drop SPARC support | J65nko | News | 2 | 10th May 2021 11:01 PM |
Sparc 20 won't boot after Net BSD 4.1 install | rogue0912 | NetBSD Installation and Upgrading | 1 | 12th September 2011 09:01 AM |
errror install nebsd sparc ultra5 | philo_neo71 | NetBSD General | 3 | 21st July 2009 06:35 AM |
Problem at the install with a pc gateway | mastersabin | FreeBSD Installation and Upgrading | 1 | 4th June 2008 07:47 PM |