Yes, that was it... The bootcmd was set to 'fatload usb 0 $loadaddr bsd;
bootoctlinux rootdev=/dev/sd0', which I had to change to 'fatload usb 0
$loadaddr boot; bootoctlinux rootdev=/dev/sd0' and then the upgrade went
through fine.
Thanks for the help, Theo.
-Amarendra
erl$ dmesg
[ using 746200 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-2020 OpenBSD. All rights reserved.
https://www.OpenBSD.org
OpenBSD 6.8 (GENERIC.MP) #322: Sun Oct 4 21:22:50 MDT 2020
deraadt@octeon.openbsd.org:/usr/src/sys/arch/octeon/compile/GENERIC.MP
real mem = 536870912 (512MB)
avail mem = 521469952 (497MB)
random: good seed from bootblocks
mainbus0 at root: board 20002 rev 2.18, model CN3xxx/CN5xxx
cpu0 at mainbus0: CN50xx CPU rev 0.1 500 MHz, Software FP emulation
cpu0: cache L1-I 32KB 4 way D 16KB 64 way, L2 128KB 8 way
clock0 at mainbus0: int 5
octcrypto0 at mainbus0
iobus0 at mainbus0
simplebus0 at iobus0: "soc"
octciu0 at simplebus0
octsmi0 at simplebus0
octpip0 at simplebus0
octgmx0 at octpip0 interface 0
cnmac0 at octgmx0: port 0 RGMII, address 78:8a:20:46:a8:c0
atphy0 at cnmac0 phy 7: AR8035 10/100/1000 PHY, rev. 2
cnmac1 at octgmx0: port 1 RGMII, address 78:8a:20:46:a8:c1
atphy1 at cnmac1 phy 6: AR8035 10/100/1000 PHY, rev. 2
cnmac2 at octgmx0: port 2 RGMII, address 78:8a:20:46:a8:c2
atphy2 at cnmac2 phy 5: AR8035 10/100/1000 PHY, rev. 2
com0 at simplebus0: ns16550a, 64 byte fifo
com0: console
dwctwo0 at iobus0 base 0x1180068000000 irq 56
usb0 at dwctwo0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Octeon DWC2 root hub" rev
2.00/1.00 addr 1
octrng0 at iobus0 base 0x1400000000000 irq 0
umass0 at uhub0 port 1 configuration 1 interface 0 "Lexar USB Flash Drive"
rev 2.10/11.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <Lexar, USB Flash Drive, 1100> removable
serial.21c40cd1719080003000
sd0: 30526MB, 512 bytes/sector, 62517248 sectors
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on sd0a (2124441bc835a462.a) swap on sd0b dump on sd0b
WARNING: CHECK AND RESET THE DATE!
On Wed, Mar 31, 2021 at 8:14 AM Theo de Raadt <deraadt@openbsd.org> wrote:
> your PROM is likely setup to boot a "bsd" kernel in the msdos partition,
> rather than the "boot" file. The "boot" file will load /bsd from the ffs
> partition.
>
> Amarendra Godbole <amarendra.godbole@gmail.com> wrote:
>
> > So I used sysupgrade to upgrade the ERL from 6.7 to 6.8. It went through
> > everything fine, downloaded the sets, extracts, etc. and reboots.
> However,
> > it boots back into the old 6.7 kernel. I can see /bsd.upgrade created,
> and
> > /home/_sysupgrade is empty. but did not see any option to trigger the
> > upgrade. I thought it should have been automatically handled by
> sysupgrade.
> >
> > What did I miss?
> >
> > Thanks.
> >
> > -Amarendra
> >
> >
> > erl# uname -a
> > OpenBSD erl.lan 6.7 GENERIC.MP#134 octeon
> >
> > erl# ls -l
> > total 79128
> > -rw-r--r-- 1 root wheel 578 May 7 2020 .cshrc
> > -rw-r--r-- 1 root wheel 468 May 7 2020 .profile
> > drwxr-xr-x 2 root wheel 512 May 7 2020 altroot
> > -rw-r--r-- 1 root wheel 160 Mar 31 00:08 auto_upgrade.conf
> > drwxr-xr-x 2 root wheel 1024 May 7 2020 bin
> > -rwx------ 1 root wheel 7626800 Mar 31 00:10 bsd
> > -rwx------ 1 root wheel 7623592 Mar 31 00:01 bsd.booted
> > -rw------- 1 root wheel 8843608 May 7 2020 bsd.rd
> > -rw------- 1 root wheel 7568260 May 7 2020 bsd.sp
> > -rwx------ 1 root wheel 8823044 Mar 31 00:09 bsd.upgrade
> > drwxr-xr-x 4 root wheel 18432 Mar 31 00:10 dev
> > drwxr-xr-x 23 root wheel 2048 Mar 31 00:11 etc
> > drwxr-xr-x 4 root wheel 512 Oct 15 21:09 home
> > drwxr-xr-x 2 root wheel 512 May 7 2020 mnt
> > drwx------ 3 root wheel 512 Mar 31 01:30 root
> > drwxr-xr-x 2 root wheel 1536 May 7 2020 sbin
> > lrwxrwx--- 1 root wheel 11 May 7 2020 sys -> usr/src/sys
> > drwxrwxrwt 6 root wheel 512 Mar 31 07:45 tmp
> > drwxr-xr-x 16 root wheel 512 Sep 7 2020 usr
> > drwxr-xr-x 23 root wheel 512 May 7 2020 var
> > erl#
> >
> > erl# dmesg
> > Copyright (c) 1982, 1986, 1989, 1991, 1993
> > The Regents of the University of California. All rights reserved.
> > Copyright (c) 1995-2020 OpenBSD. All rights reserved.
> > https://www.OpenBSD.org
> >
> > OpenBSD 6.7 (GENERIC.MP) #134: Thu May 7 16:05:06 MDT 2020
> > deraadt@octeon.openbsd.org:/usr/src/sys/arch/octeon/compile/
> GENERIC.MP
> > real mem = 536870912 (512MB)
> > avail mem = 506740736 (483MB)
> > mainbus0 at root: board 20002 rev 2.18
> > cpu0 at mainbus0: CN50xx CPU rev 0.1 500 MHz, Software FP emulation
> > cpu0: cache L1-I 32KB 4 way D 16KB 64 way, L2 128KB 8 way
> > cpu1 at mainbus0: CN50xx CPU rev 0.1 500 MHz, Software FP emulation
> > cpu1: cache L1-I 32KB 4 way D 16KB 64 way, L2 128KB 8 way
> > clock0 at mainbus0: int 5
> > octcrypto0 at mainbus0
> > iobus0 at mainbus0
> > simplebus0 at iobus0: "soc"
> > octciu0 at simplebus0
> > octsmi0 at simplebus0
> > octpip0 at simplebus0
> > octgmx0 at octpip0 interface 0
> > cnmac0 at octgmx0: RGMII, address 78:8a:20:46:a8:c0
> > atphy0 at cnmac0 phy 7: AR8035 10/100/1000 PHY, rev. 2
> > cnmac1 at octgmx0: RGMII, address 78:8a:20:46:a8:c1
> > atphy1 at cnmac1 phy 6: AR8035 10/100/1000 PHY, rev. 2
> > cnmac2 at octgmx0: RGMII, address 78:8a:20:46:a8:c2
> > atphy2 at cnmac2 phy 5: AR8035 10/100/1000 PHY, rev. 2
> > com0 at simplebus0: ns16550a, 64 byte fifo
> > com0: console
> > dwctwo0 at iobus0 base 0x1180068000000 irq 56
> > usb0 at dwctwo0: USB revision 2.0
> > uhub0 at usb0 configuration 1 interface 0 "Octeon DWC2 root hub" rev
> > 2.00/1.00 addr 1
> > octrng0 at iobus0 base 0x1400000000000 irq 0
> > /dev/ksyms: Symbol table not valid.
> > umass0 at uhub0 port 1 configuration 1 interface 0 "Lexar USB Flash
> Drive"
> > rev 2.10/11.00 addr 2
> > umass0: using SCSI over Bulk-Only
> > scsibus0 at umass0: 2 targets, initiator 0
> > sd0 at scsibus0 targ 1 lun 0: <Lexar, USB Flash Drive, 1100> removable
> > serial.21c40cd1719080003000
> > sd0: 30526MB, 512 bytes/sector, 62517248 sectors
> > vscsi0 at root
> > scsibus1 at vscsi0: 256 targets
> > softraid0 at root
> > scsibus2 at softraid0: 256 targets
> > boot device: sd0
> > root on sd0a (2124441bc835a462.a) swap on sd0b dump on sd0b
> > WARNING: No TOD clock, believing file system.
> > WARNING: CHECK AND RESET THE DATE!
>
No comments:
Post a Comment