|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
Do you think this Soekris is dead? Or pilot error?
i have a Soekris 5501-70 that I bought used. It worked fine for a few months, and then it hung on boot. The soekris list advised a new power supply, which I got from Soekris. I had a SATA 2.5" disk in it but I've since removed it.
The box presently has a CF card and the install (from a pxeboot) consistently succeeds. I've reinstalled a couple times but on boot off the disk (CF card) I get strange errors below. I'm a little puzzled because I'd think that if the disk was bad or the disk interface was bad, it'd failed during the install. But these errors only show up when I boot off it...though the filesystem is fine (as subsequently mounting it and looking at it shows). Code:
Saving configuration files...done. Making all device nodes...done. CONGRATULATIONS! Your OpenBSD install has been successfully completed! To boot the new system, enter 'reboot' at the command prompt. When you login to your new system the first time, please read your mail using the 'mail' command. # reboot syncing disks... done rebooting... POST: 012345689bcefghips1234ajklnopqr,,,tvwxy comBIOS ver. 1.33c 20080626 Copyright (C) 2000-2008 Soekris Engineering. net5501 0512 Mbyte Memory CPU Geode LX 500 Mhz Pri Mas CF CARD LBA Xlt 974-255-63 7831 Mbyte Slot Vend Dev ClassRev Cmd Stat CL LT HT Base1 Base2 Int ------------------------------------------------------------------- 0:01:2 1022 2082 10100000 0006 0220 08 00 00 A0000000 00000000 10 0:06:0 1106 3053 02000096 0117 0210 08 40 00 0000E101 A0004000 11 0:07:0 1106 3053 02000096 0117 0210 08 40 00 0000E201 A0004100 05 0:08:0 1106 3053 02000096 0117 0210 08 40 00 0000E301 A0004200 09 0:09:0 1106 3053 02000096 0117 0210 08 40 00 0000E401 A0004300 12 0:17:0 13A3 0020 0B400000 0116 0280 08 40 00 A0005000 A0006000 15 0:20:0 1022 2090 06010003 0009 02A0 08 40 80 00006001 00006101 0:20:2 1022 209A 01018001 0005 02A0 08 00 00 00000000 00000000 0:21:0 1022 2094 0C031002 0006 0230 08 00 80 A0010000 00000000 07 0:21:1 1022 2095 0C032002 0006 0230 08 00 00 A0011000 00000000 07 1 Seconds to automatic boot. Press Ctrl-P for entering Monitor. Using drive 0, partition 3. Loading..... probing: pc0 com0 com1 pci mem[639K 511M a20=on] disk: hd0+* >> OpenBSD/i386 BOOT 3.26 open(hd0a:/etc/boot.conf): Invalid argument boot> cannot open hd0a:/etc/random.seed: Unknown error: code 100 booting hd0a:/bsd: open hd0a:/bsd: Unknown error: code 100 failed(100). will try /bsd boot> cannot open hd0a:/etc/random.seed: Invalid argument booting hd0a:/bsd: open hd0a:/bsd: Input/output error failed(5). will try /bsd Turning timeout off. boot> Code:
# disklabel wd0 # /dev/rwd0c: type: ESDI disk: ESDI/IDE disk label: CF CARD duid: 78d991d3ab01b44c flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 974 total sectors: 15662304 boundstart: 64 boundend: 15647310 drivedata: 0 16 partitions: # size offset fstype [fsize bsize cpg] a: 212192 64 4.2BSD 2048 16384 1 b: 260550 212256 swap c: 15662304 0 unused d: 323072 472832 4.2BSD 2048 16384 1 e: 289536 795904 4.2BSD 2048 16384 1 f: 1891552 1085440 4.2BSD 2048 16384 1 g: 1077568 2976992 4.2BSD 2048 16384 1 h: 4291008 4054560 4.2BSD 2048 16384 1 i: 2116480 8345568 4.2BSD 2048 16384 1 j: 2701056 10462048 4.2BSD 2048 16384 1 k: 2484064 13163104 4.2BSD 2048 16384 1 # # mount /dev/wd0a /mnt2 # cd /mnt2 # ls .cshrc altroot boot bsd.mp dev home root sys usr .profile bin bsd bsd.rd etc mnt sbin tmp var # cd etc # ls X11 fstab mail ntpd.conf rpc amd ftpusers mail.rc passwd services authpf gettytab mailer.conf pf.conf shells boot.conf group man.conf pf.os signify changelist hostname.vr0 master.passwd ppp skel csh.cshrc hosts moduli protocols spwd.db csh.login hotplug monthly pwd.db ssh csh.logout iked motd random.seed ssl daily isakmpd mtree rc sudoers disktab ksh.kshrc mygate rc.conf syslog.conf dumpdates ldap myname rc.conf.local systrace examples localtime netstart rc.d termcap fbtab locate.rc networks rc.firsttime ttys firmware login.conf newsyslog.conf resolv.conf weekly fonts magic npppd rmt # cat boot.conf stty com0 19200 set tty com0 # Code:
OpenBSD 5.7 (RAMDISK_CD) #719: Sun Mar 8 11:09:19 MDT 2015 deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/RAMDISK_CD cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class) 500 MHz cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX,MMXX,3DNOW2,3DNOW real mem = 536408064 (511MB) avail mem = 519950336 (495MB) mainbus0 at root bios0 at mainbus0: date 20/80/26, BIOS32 rev. 0 @ 0xfac40 pcibios0 at bios0: rev 2.0 @ 0xf0000/0x10000 pcibios0: pcibios_get_intr_routing - function not supported pcibios0: PCI IRQ Routing information unavailable. pcibios0: PCI bus #0 is the last bus bios0: ROM list: 0xc8000/0xa800 cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) 0:20:0: io address conflict 0x6100/0x100 0:20:0: io address conflict 0x6200/0x200 pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x33 "AMD Geode LX Crypto" rev 0x00 at pci0 dev 1 function 2 not configured vr0 at pci0 dev 6 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11, address 00:00:24:cc:44:ac ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, model 0x0034 vr1 at pci0 dev 7 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 5, address 00:00:24:cc:44:ad ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, model 0x0034 vr2 at pci0 dev 8 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 9, address 00:00:24:cc:44:ae ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, model 0x0034 vr3 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 12, address 00:00:24:cc:44:af ukphy3 at vr3 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, model 0x0034 "Hifn 7955/7954" rev 0x00 at pci0 dev 17 function 0 not configured pcib0 at pci0 dev 20 function 0 "AMD CS5536 ISA" rev 0x03 pciide0 at pci0 dev 20 function 2 "AMD CS5536 IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: <CF CARD> wd0: 1-sector PIO, LBA48, 7647MB, 15662304 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 ignored (disabled) ohci0 at pci0 dev 21 function 0 "AMD CS5536 USB" rev 0x02: irq 7, version 1.0, legacy support ehci0 at pci0 dev 21 function 1 "AMD CS5536 USB" rev 0x02: irq 7 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "AMD EHCI root hub" rev 2.00/1.00 addr 1 isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com0: console com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 usb1 at ohci0: USB revision 1.0 uhub1 at usb1 "AMD OHCI root hub" rev 1.00/1.00 addr 1 softraid0 at root scsibus0 at softraid0: 256 targets PXE boot MAC address 00:00:24:cc:44:ac, interface vr0 root on rd0a swap on rd0b dump on rd0b syncing disks... done OpenBSD 5.7 (RAMDISK_CD) #719: Sun Mar 8 11:09:19 MDT 2015 deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/RAMDISK_CD cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class) 500 MHz cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX,MMXX,3DNOW2,3DNOW real mem = 536408064 (511MB) avail mem = 519950336 (495MB) mainbus0 at root bios0 at mainbus0: date 20/80/26, BIOS32 rev. 0 @ 0xfac40 pcibios0 at bios0: rev 2.0 @ 0xf0000/0x10000 pcibios0: pcibios_get_intr_routing - function not supported pcibios0: PCI IRQ Routing information unavailable. pcibios0: PCI bus #0 is the last bus bios0: ROM list: 0xc8000/0xa800 cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) 0:20:0: io address conflict 0x6100/0x100 0:20:0: io address conflict 0x6200/0x200 pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x33 "AMD Geode LX Crypto" rev 0x00 at pci0 dev 1 function 2 not configured vr0 at pci0 dev 6 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11, address 00:00:24:cc:44:ac ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, model 0x0034 vr1 at pci0 dev 7 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 5, address 00:00:24:cc:44:ad ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, model 0x0034 vr2 at pci0 dev 8 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 9, address 00:00:24:cc:44:ae ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, model 0x0034 vr3 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 12, address 00:00:24:cc:44:af ukphy3 at vr3 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, model 0x0034 "Hifn 7955/7954" rev 0x00 at pci0 dev 17 function 0 not configured pcib0 at pci0 dev 20 function 0 "AMD CS5536 ISA" rev 0x03 pciide0 at pci0 dev 20 function 2 "AMD CS5536 IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: <CF CARD> wd0: 1-sector PIO, LBA48, 7647MB, 15662304 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 ignored (disabled) ohci0 at pci0 dev 21 function 0 "AMD CS5536 USB" rev 0x02: irq 7, version 1.0, legacy support ehci0 at pci0 dev 21 function 1 "AMD CS5536 USB" rev 0x02: irq 7 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "AMD EHCI root hub" rev 2.00/1.00 addr 1 isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com0: console com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 usb1 at ohci0: USB revision 1.0 uhub1 at usb1 "AMD OHCI root hub" rev 1.00/1.00 addr 1 softraid0 at root scsibus0 at softraid0: 256 targets PXE boot MAC address 00:00:24:cc:44:ac, interface vr0 root on rd0a swap on rd0b dump on rd0b Code:
comBIOS Monitor. Press ? for help. > show ConSpeed = 19200 ConLock = Enabled ConMute = Disabled BIOSentry = Enabled PCIROMS = Enabled PXEBoot = Enabled FLASH = Primary BootDelay = 5 FastBoot = Disabled BootPartition = Disabled BootDrive = 80 81 F0 FF ShowPCI = Enabled Reset = Hard CpuSpeed = Default |
|
|||
Quote:
|
|
||||
The failure-to-read indications were these:
Code:
cannot open hd0a:/etc/random.seed: Unknown error: code 100 booting hd0a:/bsd: open hd0a:/bsd: Unknown error: code 100 While not having random.seed only temporarily reduces the entropy pool for random number generation, not being able to read a kernel is a fatal error. Can you successfully read every sector of that CF card? If so, the problem may be BIOS related. # dd if=/rwd0c of=/dev/null bs=1m
|
|
|||
A new CF card fixed it. Thanks for the advice!
Though having read a little on CF cards their long-term durability seems questionable to me...maybe I should run this box diskless. Hmm. Last edited by raindog308; 18th June 2015 at 02:12 AM. |
|
||||
Quote:
http://www.nmedia.net/flashrd/flashrd-faq.html or http://www.mindrot.org/projects/flashboot/ The second might be actually dead project now. Flashrd is kick ass embedded installation of OpenBSD. |
|
||||
I don't think its necessary to run diskless, if CF works. I've never investigated Oko's recommended third party solutions and can't comment on them. Instead, I'll just state that as with magnetic discs or modern SSDs -- be sure you have an adequate, functioning backup cadence, and be sure to TEST your recovery strategy carefully. And test it again when you make significant changes to the system.
I have a pair of Alix platforms that run on CF cards. I've had two CF card failures in two years of production use -- and one of those was on acquisition, so I've only had one failure while in production. I discussed that disaster recovery experience here. The two failures -- its a small sample, granted -- were different. The DOA card had media problems, and the recent failure was of drive electronics. The machines are using carp(4) so there was no outage of any service configured to run across both systems. Last edited by jggimi; 18th June 2015 at 02:54 AM. Reason: clarity. |
|
|||
While both are technically third-party, both tools are written by active OpenBSD developers. I can highly recommend flashrd (by chris@): there are some NYC*BUG projects that use it extensively.
|
|
||||
Thanks, ibara!
There's been an interesting discussion on misc@ which has become of value here. It began as a discussion of SSD drives and the TRIM function, but has recently evolved into a discussion of disk drive internal error handling. That shift in direction to applicability are in recent posts from nick@ and naddy@. |
|
|||
Alas, spoke too soon. Same problem on a subsequent reboot. I think the CF controller is malfunctioning. The POST has that weird commas between 'r' and 't' which I haven't seen in other Soekrises so I'll ask on soekris-tech about that.
Thanks for all the reading here! |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Soekris - home network | benky | OpenBSD General | 5 | 7th April 2015 04:38 PM |
Soekris 5501-70 PXE install | benky | OpenBSD Installation and Upgrading | 1 | 30th March 2015 09:13 PM |
Soekris experiences | Carpetsmoker | General Hardware | 42 | 21st August 2009 01:52 PM |
soekris help | revzalot | OpenBSD Installation and Upgrading | 6 | 17th December 2008 07:40 PM |
Soekris Help | revzalot | General Hardware | 2 | 27th August 2008 01:35 PM |