Re: apu4 real com0 boot - not working to install 7.4

2023-10-27 Thread harold felton
> On 2023/10/26 11:08, Stuart Henderson wrote:
> > On 2023/10/26 10:37, Anders Andersson wrote:
> > > On Thu, Oct 26, 2023 at 10:06 AM Stuart Henderson
> > >  wrote:
> > > >
> > > > On 2023-10-26, harold felton  wrote:
> > > > > i have a pcengines apu4 which has been running 7.1-stable with all 
> > > > > updates
> > > > > just fine...  i had been avoiding doing an upgrade - so was thinking 
> > > > > to
> > > > > reinstall based on 7.4-release this week...  i was unable to do an 
> > > > > install
> > > > > from the bsd.rd (for 7.4) - and have bisected the issue to somewhere 
> > > > > around
> > > > > the 9th or 10th of september...
> > > >
> > > > Can you try updating to 7.3 first? (or at least updating the boot loader
> > > > to the version that was included in 7.3).
> > > >
> > >
> > > I'm not really sue what you mean by a "reinstall", but I did a clean
> > > install of 7.4 on my apu4 just a few days ago, and everything just
> > > worked out of the box - including the serial console which was
> > > correctly autodetected.
> > >
> > > At a glance it appears we have the same bios version.
> >
> > A fresh install (for example, from PXE or img file on USB) will have
> > a recent boot loader. Updating by booting new bsd.rd from a 7.1
> > installation (skipping two version updates) uses an old boot loader,
> > which may possibly not boot a new kernel.
> >
>
> I'll change that "may possibly not" to "will not .. with serial console";
> kn@ removed backwards compatibility for this
>
> https://github.com/openbsd/src/commit/745c2f60e98fd1f418c104960a567e120624d705
>
>

I just wanted to add a second thank-you to all who helped ( thru this list ) !!!

in particular, after looking at the code in the link - and the
rationales (dont need duplicating-type code past the two versions
normally supported) - i have learned quite a bit...

i had/have already made enough fumbly-mistakes on my own during this
process (also) to teach me to triple-check everything - especially
when i am asking for help...

i normally only get the daily message-digests of misc, hence my delays
here...  and due to general paranoia of further PEBKAC, i have not yet
done the reinstall on my device - but i have confirmed that i now
"can" do the reinstall...  again, thx.  :-)



Re: apu4 real com0 boot - not working to install 7.4

2023-10-26 Thread Stuart Henderson
On 2023/10/26 11:08, Stuart Henderson wrote:
> On 2023/10/26 10:37, Anders Andersson wrote:
> > On Thu, Oct 26, 2023 at 10:06 AM Stuart Henderson
> >  wrote:
> > >
> > > On 2023-10-26, harold felton  wrote:
> > > > i have a pcengines apu4 which has been running 7.1-stable with all 
> > > > updates
> > > > just fine...  i had been avoiding doing an upgrade - so was thinking to
> > > > reinstall based on 7.4-release this week...  i was unable to do an 
> > > > install
> > > > from the bsd.rd (for 7.4) - and have bisected the issue to somewhere 
> > > > around
> > > > the 9th or 10th of september...
> > >
> > > Can you try updating to 7.3 first? (or at least updating the boot loader
> > > to the version that was included in 7.3).
> > >
> > 
> > I'm not really sue what you mean by a "reinstall", but I did a clean
> > install of 7.4 on my apu4 just a few days ago, and everything just
> > worked out of the box - including the serial console which was
> > correctly autodetected.
> > 
> > At a glance it appears we have the same bios version.
> 
> A fresh install (for example, from PXE or img file on USB) will have
> a recent boot loader. Updating by booting new bsd.rd from a 7.1
> installation (skipping two version updates) uses an old boot loader,
> which may possibly not boot a new kernel.
> 

I'll change that "may possibly not" to "will not .. with serial console";
kn@ removed backwards compatibility for this

https://github.com/openbsd/src/commit/745c2f60e98fd1f418c104960a567e120624d705



Re: apu4 real com0 boot - not working to install 7.4

2023-10-26 Thread Stuart Henderson
On 2023/10/26 10:37, Anders Andersson wrote:
> On Thu, Oct 26, 2023 at 10:06 AM Stuart Henderson
>  wrote:
> >
> > On 2023-10-26, harold felton  wrote:
> > > i have a pcengines apu4 which has been running 7.1-stable with all updates
> > > just fine...  i had been avoiding doing an upgrade - so was thinking to
> > > reinstall based on 7.4-release this week...  i was unable to do an install
> > > from the bsd.rd (for 7.4) - and have bisected the issue to somewhere 
> > > around
> > > the 9th or 10th of september...
> >
> > Can you try updating to 7.3 first? (or at least updating the boot loader
> > to the version that was included in 7.3).
> >
> 
> I'm not really sue what you mean by a "reinstall", but I did a clean
> install of 7.4 on my apu4 just a few days ago, and everything just
> worked out of the box - including the serial console which was
> correctly autodetected.
> 
> At a glance it appears we have the same bios version.

A fresh install (for example, from PXE or img file on USB) will have
a recent boot loader. Updating by booting new bsd.rd from a 7.1
installation (skipping two version updates) uses an old boot loader,
which may possibly not boot a new kernel.



Re: apu4 real com0 boot - not working to install 7.4

2023-10-26 Thread Anders Andersson
On Thu, Oct 26, 2023 at 10:06 AM Stuart Henderson
 wrote:
>
> On 2023-10-26, harold felton  wrote:
> > i have a pcengines apu4 which has been running 7.1-stable with all updates
> > just fine...  i had been avoiding doing an upgrade - so was thinking to
> > reinstall based on 7.4-release this week...  i was unable to do an install
> > from the bsd.rd (for 7.4) - and have bisected the issue to somewhere around
> > the 9th or 10th of september...
>
> Can you try updating to 7.3 first? (or at least updating the boot loader
> to the version that was included in 7.3).
>

I'm not really sue what you mean by a "reinstall", but I did a clean
install of 7.4 on my apu4 just a few days ago, and everything just
worked out of the box - including the serial console which was
correctly autodetected.

At a glance it appears we have the same bios version.



Re: apu4 real com0 boot - not working to install 7.4

2023-10-26 Thread Stuart Henderson
On 2023-10-26, harold felton  wrote:
> i have a pcengines apu4 which has been running 7.1-stable with all updates
> just fine...  i had been avoiding doing an upgrade - so was thinking to
> reinstall based on 7.4-release this week...  i was unable to do an install
> from the bsd.rd (for 7.4) - and have bisected the issue to somewhere around
> the 9th or 10th of september...

Can you try updating to 7.3 first? (or at least updating the boot loader
to the version that was included in 7.3).




apu4 real com0 boot - not working to install 7.4

2023-10-26 Thread harold felton
apologies for crossposting - feel free to direct me to the correct place
and/or ignore other versions...  i started a reddit-thread HERE

which
didnt specify which list specifically - but provided a very-useful
help/ftp-site to bisect when the problem occurred...

i have a pcengines apu4 which has been running 7.1-stable with all updates
just fine...  i had been avoiding doing an upgrade - so was thinking to
reinstall based on 7.4-release this week...  i was unable to do an install
from the bsd.rd (for 7.4) - and have bisected the issue to somewhere around
the 9th or 10th of september...

i will enclose the bug-report-info i just now collected from the
running-machine...  the symptom is: the bsd.rd seems to time-out/fail at
the very-beginning from com0 and then forces a reboot to the system...

onscreen - the com0 output for two) successful bsd.rd looks as follows:

  [00:15:43 - Thu Oct 26] {-ksh:729}
--hfeltonad...@apu4.hfelton.net:~/snaps/s20230908/usr[729]
$ doas reboot
doas (hfeltonad...@apu4.hfelton.net) password:
stopping package daemons: fossild.
syncing disks... done
rebooting...
▒PC Engines apu4
coreboot build 20230131
BIOS version v4.19.0.1
4080 MB ECC DRAM
SeaBIOS (version rel-1.16.0.1-0-g77603a32)

Press F10 key now for boot menu

Booting from Hard Disk...
Using drive 0, partition 3.
Loading..
probing: pc0 com0 com1 com2 com3 mem[639K 3325M 752M a20=on]
disk: hd0+
>> OpenBSD/amd64 BOOT 3.53
switching console to com>> OpenBSD/amd64 BOOT 3.53
boot> 0
b bsd.rd
booting hd0a:bsd.rd: 3891908+1614848+3895112+0+708608
[109+435984+290736]=0xa57ab0
entry point at 0x81001000
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2022 OpenBSD. All rights reserved.
https://www.OpenBSD.org

OpenBSD 7.1 (RAMDISK_CD) #440: Mon Apr 11 18:09:13 MDT 2022
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
real mem = 4259930112 (4062MB)
avail mem = 4126810112 (3935MB)
random: good seed from bootblocks
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.0 @ 0xcfe97040 (13 entries)
bios0: vendor coreboot version "v4.19.0.1" date 01/31/2023
bios0: PC Engines apu4
acpi0 at bios0: ACPI 6.0
acpi0: tables DSDT FACP SSDT MCFG TPM2 APIC HEST SSDT SSDT DRTM HPET
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD GX-412TC SOC, 998.27 MHz, 16-30-01
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,T
cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, IBE
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 4 pa 0xfec0, version 21, 24 pins
ioapic1 at mainbus0: apid 5 pa 0xfec2, version 21, 32 pins
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PBR4)
acpiprt2 at acpi0: bus 2 (PBR5)
acpiprt3 at acpi0: bus 3 (PBR6)
acpiprt4 at acpi0: bus 4 (PBR7)
acpiprt5 at acpi0: bus -1 (PBR8)
"ACPI0007" at acpi0 not configured
"ACPI0007" at acpi0 not configured
"ACPI0007" at acpi0 not configured
"ACPI0007" at acpi0 not configured
"ACPI0007" at acpi0 not configured
"ACPI0007" at acpi0 not configured
"ACPI0007" at acpi0 not configured
"ACPI0007" at acpi0 not configured
acpipci0 at acpi0 PCI0: 0x 0x0011 0x0001
acpicmos0 at acpi0
com0 at acpi0 COM1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at acpi0 COM2 addr 0x2f8/0x8 irq 3: ns16550a, 16 byte fifo
amdgpio0 at acpi0 GPIO uid 0 addr 0xfed81500/0x300 irq 7, 184 pins
"PRP0001" at acpi0 not configured
"PRP0001" at acpi0 not configured
"PRP0001" at acpi0 not configured
"PRP0001" at acpi0 not configured
"PRP0001" at acpi0 not configured
"PRP0001" at acpi0 not configured
"BOOT" at acpi0 not configured
acpitz at acpi0 not configured
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "AMD 16h Root Complex" rev 0x00
vendor "AMD", unknown product 0x1567 (class system subclass IOMMU, rev
0x00) at pci0 dev 0 function 2 not configured
pchb1 at pci0 dev 2 function 0 "AMD 16h Host" rev 0x00
ppb0 at pci0 dev 2 function 1 "AMD 16h PCIE" rev 0x00: msi
pci1 at ppb0 bus 1
em0 at pci1 dev 0 function 0 "Intel I211" rev 0x03: msi, address
00:0d:b9:55:bb:64
ppb1 at pci0 dev 2 function 2 "AMD 16h PCIE" rev 0x00: msi
pci2 at ppb1 bus 2
em1 at pci2 dev 0 function 0 "Intel I211" rev 0x03: msi, address
00:0d:b9:55:bb:65
ppb2 at pci0 dev 2 function 3 "AMD 16h PCIE" rev 0x00: msi
pci3 at ppb2 bus 3
em2 at pci3 dev 0 function 0 "Intel I211" rev