Goal: Upgrade a working soekris net4801 from OpenBSD 4.6 to 6.0.

First I copied the complete 256 MB SiliconDrive CF-Disk to a newer
SanDisk 8 GB Ultra one and rebootet, which worked smoothly and fine.

I took the bsd.rd from an OpenBSD 6.0 i386 machine:

# ls -l /bsd.rd
-rw-r--r--  1 root  wheel  7173390 Sep 20 19:17 /bsd.rd
# md5 /bsd.rd
MD5 (/bsd.rd) = 191559b8c5907ca34c144462366b021a
# dmesg
OpenBSD 6.0 (GENERIC) #1917: Tue Jul 26 12:48:33 MDT 2016
    dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD"
586-class) 499 MHz
cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX,MMXX,3DNOW2,3DNOW

[snip]

put it in / of a working soekris net4801 with OpenBSD 4.6 in order to
jump-upgrade the system, but it doesn't boot the 6.0 bsd.rd install image:

$ cu -l /dev/ttyS0 -s 19200
Connected.
 1
Using drive 0, partition 3.
Loading...
probing: pc0 com0 com1 pci mem[639K 255M a20=on]
disk: hd0+
>> OpenBSD/i386 BOOT 3.02
switching console to com0
                         >> OpenBSD/i386 BOOT 3.02
boot>  stty com0 19200

com0: 19200 baud
boot> set tty com0
switching console to com0
>> OpenBSD/i386 BOOT 3.02
boot> boot bsd.rd
booting hd0a:bsd.rd: 3211188+1318224+2061312+0+442368
[72+298576+282894]=0x744144
entry point at 0x2000d4
cu: Got hangup signal

Disconnected.
==> So here is where it brakes. Immediate reconnect:

$ cu -l /dev/ttyS0 -s 19200
Connected.

[snip: more empty lines]
==> it goes into a reboot like this:

comBIOS ver. 1.28  20050529  Copyright (C) 2000-2005 Soekris Engineering.

net4801

0256 Mbyte Memory                        CPU Geode 266 Mhz

Pri Mas  SDCFHS-008G                     LBA Xlt 974-255-63  7831 Mbyte

Slot   Vend Dev  ClassRev Cmd  Stat CL LT HT  Base1    Base2   Int
-------------------------------------------------------------------
0:00:0 1078 0001 06000000 0107 0280 00 00 00 00000000 00000000
0:06:0 100B 0020 02000000 0107 0290 00 3F 00 0000E101 A0000000 10
0:07:0 100B 0020 02000000 0107 0290 00 3F 00 0000E201 A0001000 10
0:08:0 100B 0020 02000000 0107 0290 00 3F 00 0000E301 A0002000 10
0:10:0 104C AC23 06040002 0107 0210 08 3F 01 00000000 00000000
0:18:2 100B 0502 01018001 0005 0280 00 00 00 00000000 00000000
0:19:0 0E11 A0F8 0C031008 0117 0280 08 38 00 A0003000 00000000 11
1:00:0 100B 0020 02000000 0107 0290 00 3F 00 0000D001 A4000000 05
1:01:0 100B 0020 02000000 0107 0290 00 3F 00 0000D101 A4001000 11
1:02:0 100B 0020 02000000 0107 0290 00 3F 00 0000D201 A4002000 05
1:03:0 100B 0020 02000000 0107 0290 00 3F 00 0000D301 A4003000 11

 1 Seconds to automatic boot.   Press Ctrl-P for entering Monitor.

comBIOS Monitor.   Press ? for help.
[snip]
==> For comparison and giving machine details, booting into the working
OpenBSD 4.6:
> boot
Using drive 0, partition 3.
Loading...
probing: pc0 com0 com1 pci mem[639K 255M a20=on]
disk: hd0+
>> OpenBSD/i386 BOOT 3.02
switching console to com0
                         >> OpenBSD/i386 BOOT 3.02
boot>
booting hd0a:/bsd: 6563548+1052072 [52+345584+327881]=0x7e7ce8
entry point at 0x200120

[ using 673892 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2009 OpenBSD. All rights reserved.
http://www.OpenBSD.org

OpenBSD 4.6 (GENERIC) #58: Thu Jul  9 21:24:42 MDT 2009
    dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by National Semi ("Geode by NSC"
586-class) 267 MHz
cpu0: FPU,TSC,MSR,CX8,CMOV,MMX
real mem  = 268005376 (255MB)
avail mem = 250331136 (238MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 20/50/29, BIOS32 rev. 0 @ 0xf7840
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 #1 is the last bus
bios0: ROM list: 0xc8000/0x9000
cpu0 at mainbus0: (uniprocessor)
cpu0: TSC disabled
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Cyrix GXm PCI" rev 0x00
sis0 at pci0 dev 6 function 0 "NS DP83815 10/100" rev 0x00, DP83816A:
irq 10, address 00:00:24:c6:20:c4
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 7 function 0 "NS DP83815 10/100" rev 0x00, DP83816A:
irq 10, address 00:00:24:c6:20:c5
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
sis2 at pci0 dev 8 function 0 "NS DP83815 10/100" rev 0x00, DP83816A:
irq 10, address 00:00:24:c6:20:c6
nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
ppb0 at pci0 dev 10 function 0 "TI PCI2250 PCI-PCI" rev 0x02
pci1 at ppb0 bus 1
sis3 at pci1 dev 0 function 0 "NS DP83815 10/100" rev 0x00, DP83816A:
irq 5, address 00:00:24:c4:fa:30
nsphyter3 at sis3 phy 0: DP83815 10/100 PHY, rev. 1
sis4 at pci1 dev 1 function 0 "NS DP83815 10/100" rev 0x00, DP83816A:
irq 11, address 00:00:24:c4:fa:31
nsphyter4 at sis4 phy 0: DP83815 10/100 PHY, rev. 1
sis5 at pci1 dev 2 function 0 "NS DP83815 10/100" rev 0x00, DP83816A:
irq 5, address 00:00:24:c4:fa:32
nsphyter5 at sis5 phy 0: DP83815 10/100 PHY, rev. 1
sis6 at pci1 dev 3 function 0 "NS DP83815 10/100" rev 0x00, DP83816A:
irq 11, address 00:00:24:c4:fa:33
nsphyter6 at sis6 phy 0: DP83815 10/100 PHY, rev. 1
gscpcib0 at pci0 dev 18 function 0 "NS SC1100 ISA" rev 0x00
gpio0 at gscpcib0: 64 pins
"NS SC1100 SMI" rev 0x00 at pci0 dev 18 function 1 not configured
pciide0 at pci0 dev 18 function 2 "NS SCx200 IDE" rev 0x01: DMA, channel
0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <SDCFHS-008G>
wd0: 1-sector PIO, LBA48, 7647MB, 15662304 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
geodesc0 at pci0 dev 18 function 5 "NS SC1100 X-Bus" rev 0x00: iid 6
revision 3 wdstatus 0
ohci0 at pci0 dev 19 function 0 "Compaq USB OpenHost" rev 0x08: irq 11,
version 1.0, legacy support
isa0 at gscpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifocu: Got hangup signal
Disconnected.
==> (Why that?) Well, again, immediate reconnect:

(Just hese lines (reinserted from dmesg after login) are missing:

com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo)

$ cu -l /dev/ttyS0 -s 19200
Connected.
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 10: GPIO VLM TMS
gpio1 at nsclpcsio0: 29 pins
gscsio0 at isa0 port 0x15c/2: SC1100 SIO rev 1:
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "Compaq OHCI root hub" rev 1.00/1.00 addr 1
biomask fbc5 netmask ffe5 ttymask ffff
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
Automatic boot in progress: starting file system checks.
/dev/rwd0a: file system is clean; not checking
setting tty flags
pf enabled
starting network
DHCPREQUEST on sis0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1 (c0:25:06:d4:45:9e)
bound to 192.168.0.122 -- renewal in 432000 seconds.
starting system logger
starting initial daemons: ntpd.
savecore: /dev/wd0b: Device not configured
checking quotas: done.
building ps databases: kvm dev.
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: sendmail inetd sshd.
starting local daemons:.
standard daemons: cron.
Sun Oct  2 17:25:22 CEST 2016

OpenBSD/i386 (net4801.fritz.box) (tty00)

login: root
Password:
Last login: Sun Oct  2 17:00:53 on ttyp0 from kubuntu-neu.fritz.box
OpenBSD 4.6 (GENERIC) #58: Thu Jul  9 21:24:42 MDT 2009

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 new mail.
# md5 /bsd.rd
MD5 (/bsd.rd) = 191559b8c5907ca34c144462366b021a
# df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/wd0a      244M    219M   12.8M    94%    /
# ping google.com
PING google.com (172.217.22.46): 56 data bytes
64 bytes from 172.217.22.46: icmp_seq=0 ttl=56 time=61.595 ms
#
So the non-booting kernel is indeed the unaltered one from the other
i386 OpenBSD 6.0 machine, and these
https://marc.info/?l=openbsd-misc&m=144242763106881&w=2 hints were taken
into account.
Is a system like the soekris net4801 not supported any more? Or is there
something I can do to install the new version on it?
Peer


--
Peer Janssen - p...@pjk.de

Reply via email to