OpenBSD-sparc64
OpenBSD 5.0 CURRENT on Sun Fire V240 'poseidon'
See also
Errors during install
A failed IBM hard drive (geometry is not detected):
Available disks are: sd0.
Which one is the root disk? (or 'done') [sd0]
Use DUIDs rather than device names in fstab? [yes]
The auto-allocated layout for sd0 is:
disklabel: ioctl DIOCGPDINFO: Input/output error
Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a]
A Maxtor Atlas hard drive with bad blocks
For the record, OpenBSD installer seems to be handling the replacement of the hotswap HDD on the fly (before getting to disklabel).
Available disks are: sd0.
Which one is the root disk? (or 'done') [sd0]
Use DUIDs rather than device names in fstab? [yes]
The auto-allocaterror, DSP=0x58
ed layout for sdsiop0: reselect with invalid target
0 is:
siop0: scsi bus reset
siop0: target 0 now using tagged DT 8 bit async xfers
siop0: target 0 now using tagged DT 16 bit 80.0 MHz 62 REQ/ACK offset xfers
First, automatic layout will not work when the previous partition table is invalid:
# size offset fstype [fsize bsize cpg]
a: 4.3M 143366160 4.2BSD 2048 16384 1 # /
c: 70007.2M 0 unused
i: 101.9M 63 unknown
j: 68997.9M 208845 unknown
k: 902.1M 141516585 unknown
disklabel: this architecture requires partition 'a' to start at sector 0
disklabel: partition a: partition extends past end of unit
disklabel: warning, partition i: size % cylinder-size != 0
disklabel: warning, partition i: offset % cylinder-size != 0
disklabel: warning, partition j: size % cylinder-size != 0
disklabel: warning, partition j: offset % cylinder-size != 0
disklabel: warning, partition k: size % cylinder-size != 0
disklabel: warning, partition k: offset % cylinder-size != 0
Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a]
Deleting each and re-selecting the auto layout helps continue the install.
newfs fails on the corrupted disk blocks, so the corresponding FS will not be mounted, the installation is aborted:
...
/dev/rsd0h: 8332.3MB in 17064480 sectors of 512 bytes
42 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
sd0(siop0:0:0): Check Condition (error 0x70) on opcode 0x28
SENSE KEY: Media Error
INFO: 0x2482030 (VALID flag on)
COMMAND INFO: 0x190b2b58
ASC/ASCQ: Unrecovered Read Error
SKSV: Actual Retry Count: 166
newfs: rdfs: read error on block 64: Input/output error
...
mount_ffs: 7b26224f48e86d66.h on /mnt/usr/local: Input/output error
/dev/sd0j on /mnt/usr/obj type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/sd0i on /mnt/usr/src type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/sd0e on /mnt/var type ffs (rw, asynchronous, local, nodev, nosuid)
WARNING! The following filesystems were not properly mounted:
/mnt/usr/local (7b26224f48e86d66.h)
Continue anyway? [no]
#
Successful install onto another 18GB IBM HDD
I think the details are not very exciting, it is a regular install. It took about 15 minutes with reboot.
Boot progress
ALOM
SC Alert: Host System has Reset
Probing system devices
Probing memory
Probing I/O buses
Sun Fire V240, No Keyboard
Copyright 2005 Sun Microsystems, Inc. All rights reserved.
OpenBoot 4.16.6, 2048 MB memory installed, Serial #6080xxxx.
Ethernet address 0:3:ba:9f:00:00, Host ID: 839ffffff.
OpenBSD first boot
Rebooting with command: boot
Boot device: /pci@1c,600000/scsi@2/disk@0,0:a File and args:
OpenBSD IEEE 1275 Bootblock 1.3
..>> OpenBSD BOOT 1.4
Trying bsd...
Booting /pci@1c,600000/scsi@2/disk@0,0:a/bsd
6527112@0x1000000+1912@0x1639888+172048@0x1800000+4022256@0x182a010
symbols @ 0xfecd2300 90+400080+251836 start=0x1000000
[ using 652784 bytes of bsd ELF symbol table ]
console is /pci@1e,600000/isa@7/serial@0,3f8
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2011 OpenBSD. All rights reserved. http://www.OpenBSD.org
OpenBSD 5.0-current (GENERIC) #53: Fri Oct 7 15:28:45 MDT 2011
deraadt@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC
real mem = 2147483648 (2048MB)
avail mem = 2101133312 (2003MB)
mainbus0 at root: Sun Fire V240
cpu0 at mainbus0: SUNW,UltraSPARC-IIIi (rev 2.4) @ 1002 MHz
cpu0: physical 32K instruction (32 b/l), 64K data (32 b/l), 1024K external (64 b/l)
"memory-controller" at mainbus0 not configured
schizo0 at mainbus0: "Tomatillo", version 4, ign 7c0, bus B 0 to 0
schizo0: dvma map c0000000-dfffffff
pci0 at schizo0
bge0 at pci0 dev 2 function 0 "Broadcom BCM5704C" rev 0x00, BCM5704 A3 (0x2003): ivec 0x7c8, address 00:03:ba:9f:ca:5d
brgphy0 at bge0 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
bge1 at pci0 dev 2 function 1 "Broadcom BCM5704C" rev 0x00, BCM5704 A3 (0x2003): ivec 0x7c9, address 00:03:ba:9f:ca:5e
brgphy1 at bge1 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
schizo1 at mainbus0: "Tomatillo", version 4, ign 780, bus A 0 to 0
schizo1: dvma map c0000000-dfffffff
pci1 at schizo1
ebus0 at pci1 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x00
"flashprom" at ebus0 addr 0-fffff, 290-290 not configured
rtc0 at ebus0 addr 70-71: m5819p
pcfiic0 at ebus0 addr 320-321 ivec 0x2e
iic0 at pcfiic0
"SUNW,i2c-imax" at iic0 addr 0xb not configured
"SUNW,i2c-imax" at iic0 addr 0xc not configured
spdmem0 at iic0 addr 0x5b: 512MB DDR SDRAM registered ECC PC2300CL2.5
spdmem1 at iic0 addr 0x5c: 512MB DDR SDRAM registered ECC PC2300CL2.5
spdmem2 at iic0 addr 0x5d: 512MB DDR SDRAM registered ECC PC2300CL2.5
spdmem3 at iic0 addr 0x5e: 512MB DDR SDRAM registered ECC PC2300CL2.5
"ds1307" at iic0 addr 0x68 not configured
"pca9555" at iic0 addr 0x22 not configured
"pca9555" at iic0 addr 0x23 not configured
"pca9555" at iic0 addr 0x25 not configured
"pca9555" at iic0 addr 0x44 not configured
"pca9556" at iic0 addr 0x38 not configured
power0 at ebus0 addr 800-82f ivec 0x20
com0 at ebus0 addr 3f8-3ff ivec 0x2c: ns16550a, 16 byte fifo
com0: console
com1 at ebus0 addr 2e8-2ef ivec 0x2c: ns16550a, 16 byte fifo
"rmc-comm" at ebus0 addr 3e8-3ef ivec 0x2c not configured
alipm0 at pci1 dev 6 function 0 "Acer Labs M7101 Power" rev 0x00: 223KHz clock
iic1 at alipm0
ohci0 at pci1 dev 10 function 0 "Acer Labs M5237 USB" rev 0x03: ivec 0x7a7, version 1.0, legacy support
pciide0 at pci1 dev 13 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc4: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using ivec 0x798 for native-PCI interrupt
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <TEAC, DV-28E-C, 1.4B> ATAPI 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "Acer Labs OHCI root hub" rev 1.00/1.00 addr 1
schizo2 at mainbus0: "Tomatillo", version 4, ign 700, bus A 0 to 0
schizo2: dvma map c0000000-dfffffff
pci2 at schizo2
siop0 at pci2 dev 2 function 0 "Symbios Logic 53c1010-66" rev 0x01: ivec 0x729, using 8K of on-board RAM
scsibus1 at siop0: 16 targets, initiator 7
sd0 at scsibus1 targ 0 lun 0: <IBM, IC35L018UCD210-0, S5BS> SCSI3 0/direct fixed naa.500507670ed6a33b
sd0: 17357MB, 512 bytes/sector, 35548320 sectors
siop1 at pci2 dev 2 function 1 "Symbios Logic 53c1010-66" rev 0x01: ivec 0x728, using 8K of on-board RAM
scsibus2 at siop1: 16 targets, initiator 7
schizo3 at mainbus0: "Tomatillo", version 4, ign 740, bus B 0 to 0
schizo3: dvma map c0000000-dfffffff
pci3 at schizo3
bge2 at pci3 dev 2 function 0 "Broadcom BCM5704C" rev 0x00, BCM5704 A3 (0x2003): ivec 0x75c, address 00:03:ba:9f:ca:5f
brgphy2 at bge2 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
bge3 at pci3 dev 2 function 1 "Broadcom BCM5704C" rev 0x00, BCM5704 A3 (0x2003): ivec 0x75d, address 00:03:ba:9f:ca:60
brgphy3 at bge3 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
siop0: target 0 now using tagged DT 16 bit 80.0 MHz 62 REQ/ACK offset xfers
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
bootpath: /pci@1c,600000/scsi@2,0/disk@0,0
root on sd0a swap on sd0b dump on sd0b
Automatic boot in progress: starting file system checks.
/dev/sd0a (03411a7c090a1069.a): file system is clean; not checking
/dev/sd0k (03411a7c090a1069.k): file system is clean; not checking
/dev/sd0d (03411a7c090a1069.d): file system is clean; not checking
/dev/sd0f (03411a7c090a1069.f): file system is clean; not checking
/dev/sd0g (03411a7c090a1069.g): file system is clean; not checking
/dev/sd0h (03411a7c090a1069.h): file system is clean; not checking
/dev/sd0j (03411a7c090a1069.j): file system is clean; not checking
/dev/sd0i (03411a7c090a1069.i): file system is clean; not checking
/dev/sd0e (03411a7c090a1069.e): file system is clean; not checking
setting tty flags
pf enabled
starting network
starting early daemons: syslogd pflogd.
starting RPC daemons:.
savecore: no core dump
checking quotas: done.
clearing /tmp
starting pre-securelevel daemons:.
setting kernel security level: kern.securelevel: 0 -> 1
creating runtime link editor directory cache.
preserving editor files.
starting network daemons: sshd sendmail inetd.
starting local daemons: cron.
Sat Oct 22 16:39:20 CEST 2011
OpenBSD/sparc64 (poseidon.lgee.local) (console)
login: root
Password:
OpenBSD 5.0-current (GENERIC) #53: Fri Oct 7 15:28:45 MDT 2011
Welcome to OpenBSD: The proactively secure Unix-like operating system.
Please use the sendbug(1) utility to report bugs in the system.
Before reporting a bug, please try to reproduce it with the latest
version of the code. With bug reports, please try to ensure that
enough information to reproduce the problem is enclosed, and if a
known fix for it exists, include that as well.
You have mail.
#
System information
eeprom command
'eeprom -p' is the equivalent of the Solaris 'prtconf -vp'
$ eeprom boot-device
boot-device=/pci@1c,600000/scsi@2/disk@0,0:a disk0 disk1
$ uname -a
OpenBSD poseidon.lgee.local 5.0 GENERIC#53 sparc64
Hardware
$ sysctl hw
hw.machine=sparc64
hw.model=SUNW,UltraSPARC-IIIi (rev 2.4) @ 1002 MHz
hw.ncpu=1
hw.byteorder=4321
hw.pagesize=8192
hw.disknames=cd0:,sd0:03411a7c090a1069
hw.diskcount=2
hw.cpuspeed=1002
hw.vendor=Sun
hw.product=SUNW,Sun-Fire-V240
hw.physmem=2147483648
hw.usermem=2147467264
hw.ncpufound=1
hw.allowpowerdown=1
$ su root -c pcidump
Password:
Domain /dev/pci0:
0:2:0: Broadcom BCM5704C
0:2:1: Broadcom BCM5704C
Domain /dev/pci1:
0:6:0: Acer Labs M7101 Power
0:7:0: Acer Labs M1533 ISA
0:10:0: Acer Labs M5237 USB
0:13:0: Acer Labs M5229 UDMA IDE
Domain /dev/pci2:
0:2:0: Symbios Logic 53c1010-66
0:2:1: Symbios Logic 53c1010-66
Domain /dev/pci3:
0:2:0: Broadcom BCM5704C
0:2:1: Broadcom BCM5704C
See also man pcidump; pcidump -v
Unsupported devices
Memory controller
"memory-controller" at mainbus0 not configured
OpenBoot PROM?
"flashprom" at ebus0 addr 0-fffff, 290-290 not configured
I2C bridge
"SUNW,i2c-imax" at iic0 addr 0xb not configured
"SUNW,i2c-imax" at iic0 addr 0xc not configured
RTC
"ds1307" at iic0 addr 0x68 not configured
I2C I/O expander
"pca9555" at iic0 addr 0x22 not configured
"pca9555" at iic0 addr 0x23 not configured
"pca9555" at iic0 addr 0x25 not configured
"pca9555" at iic0 addr 0x44 not configured
"pca9556" at iic0 addr 0x38 not configured
ALOM comm
"rmc-comm" at ebus0 addr 3e8-3ef ivec 0x2c not configured
Benchmarks (sort of)
[lgee@poseidon] ~ $ openssl speed sha512
Doing sha512 for 3s on 16 size blocks: 583568 sha512's in 3.01s
Doing sha512 for 3s on 64 size blocks: 603855 sha512's in 3.01s
Doing sha512 for 3s on 256 size blocks: 295825 sha512's in 3.01s
Doing sha512 for 3s on 1024 size blocks: 119516 sha512's in 3.01s
Doing sha512 for 3s on 8192 size blocks: 18210 sha512's in 3.01s
OpenSSL 1.0.0a 1 Jun 2010
built on: date not available
options:bn(64,64) rc4(ptr,int) des(ptr,risc2,2,int) aes(partial) blowfish(ptr)
compiler: information not available
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
sha512 3102.02k 12839.44k 25159.87k 40659.26k 49560.24k