> Date: Mon, 24 Oct 2022 14:52:00 +0200
> From: Robert Nagy <[email protected]>
> 
> On 24/10/22 14:49 +0200, Theo Buehler wrote:
> > On Mon, Oct 24, 2022 at 09:24:14AM +0200, Otto Moerbeek wrote:
> > > Hello,
> > > 
> > > after updating my M1 macmini after my vacatiuon to the latest snap it
> > > seems to have lost a few sysctl nodes, making apm(8) fail:
> > > 
> > > [otto@macmini:4]$ ktrace apm
> > > Battery state: unknown, 0% remaining, unknown life estimate
> > > AC adapter state: not known
> > > Performance adjustment mode: invalid (0 MHz)
> > > 
> > > ...
> > > 88255 apm      CALL  
> > > sysctl(6.12<hw.cpuspeed>,0x7fffff10d4,0x7fffff10c8,0,0)
> > > 88255 apm      RET   sysctl -1 errno 45 Operation not supported
> > > ...
> > > 
> > > 
> > > Beforre I spend time on this, does anybody have a clue?
> > > 
> > >   -Otto
> > > 
> > 
> > I'm seeing the same on my m1 mini. Reverting the commit below fixes it
> > for me.
> 
> Maybe you need a new u-boot that has the new tree?

Yes there has been some churn in this area in the device tree and I
removed backwards compatibility for the old old way this was done.

Now the question is when did you install OpenBSD?  If you have a
directory called M1N1 on your msdos partition with the file BOOT.BIN
in it, this will be fairly easy to fix.  Download

  https://cdn.asahilinux.org/os/uefi-only-20220717-1.zip

unzip it and copy esp/m1n1/boot.bin to your msdos partition.  Maybe
make a copy of the old file first (and leave it in that directory)
just in case.

If not, fixing this will be a little bit more involved, and I need to
figure out instructions.  I'm pretty sure this is the case for tb@.

Cheers,

Mark

Reply via email to