aarch64 / rpi3b+ / no headless boot since today

This forum is for discussion about general software issues.

aarch64 / rpi3b+ / no headless boot since today

Postby df8oe » Fri Jan 28, 2022 10:45 am

Hi to all,
I am running aarch64 as a headless server (without monitor attached). Since the last update it looks like it is booting - bit it is stuck somewhere. Not reachable via network. For debugging I attached a monitor and now it works again! I can reproduce it only boots fully if a monitor is attached since the last update. I already downgraded raspberrypi-bootloader without luck - problem persists. I added hdmi_force_hotplug=1 to /boot/config.txt - but this does not change anything. At the moment I can attach a monitor but that is not what I want... Any ideas to get it back booting fully without attached monitor?
df8oe
 
Posts: 60
Joined: Fri Oct 01, 2021 5:10 pm

Re: aarch64 / rpi3b+ / no headless boot since today

Postby graysky » Fri Jan 28, 2022 11:26 am

Never hear of that but you say it is reproducible? Anything in journalctl for the corresponding boot that would be telling?
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: aarch64 / rpi3b+ / no headless boot since today

Postby df8oe » Fri Jan 28, 2022 12:21 pm

yes, it is 100% reproduceable. I cannot identify anything that might be wrong in the logs (I access via journalctl -b -1). There is some hardware (external HDD) attached via USB. If I boot without monitor I can see HDD spins up (is initialized) - but network is not initialized. If I attach a monitor and reboot everything is working fine.

The last successfully reboot without monitor was on 01/22/2022.

So I tried downgrading kernel from recent 5.16.3-1 to 5.15.5-1 and everything works fine again!

The issue first rises up with kernel 5.16.3-1. "downgrade" does not show me 5.16.2 as an option but that kernel worked for me, too.

KERNEL ISSUE...
df8oe
 
Posts: 60
Joined: Fri Oct 01, 2021 5:10 pm

Re: aarch64 / rpi3b+ / no headless boot since today

Postby graysky » Fri Jan 28, 2022 1:02 pm

You appear to be running linux-aarch64 ... try linux-rpi and report back.
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: aarch64 / rpi3b+ / no headless boot since today

Postby df8oe » Fri Jan 28, 2022 1:19 pm

Yes, my little server runs linux-aarch64 from the beginning and it ran flawlessly with this kernel - until today... aarch64 kernel is much more recent than linux-rpi so I want to use that kernel.
df8oe
 
Posts: 60
Joined: Fri Oct 01, 2021 5:10 pm

Re: aarch64 / rpi3b+ / no headless boot since today

Postby BroWash » Fri Jan 28, 2022 9:58 pm

Same here. The problem persists after a fresh install + system update.
BroWash
 
Posts: 1
Joined: Fri Jan 28, 2022 9:50 pm

Re: aarch64 / rpi3b+ / no headless boot since today

Postby df8oe » Sat Jan 29, 2022 8:46 am

It is 100% related to kernel aarch64-5.16.3-1. You only have to downgrade to any older kernel and everything is working again.
df8oe
 
Posts: 60
Joined: Fri Oct 01, 2021 5:10 pm

Re: aarch64 / rpi3b+ / no headless boot since today

Postby df8oe » Sat Jan 29, 2022 8:56 am

I have started a bug report in packages board.
df8oe
 
Posts: 60
Joined: Fri Oct 01, 2021 5:10 pm

Re: aarch64 / rpi3b+ / no headless boot since today

Postby df8oe » Sat Jan 29, 2022 9:07 am

Oh - sorry. I read the information that bug reports are best placed in packages-board because of it is difficult for maintainers to dig to all posts. I was not sure it is a bug at the time I posted it here.
df8oe
 
Posts: 60
Joined: Fri Oct 01, 2021 5:10 pm

Re: aarch64 / rpi3b+ / no headless boot since today

Postby graysky » Sat Jan 29, 2022 9:08 am

$this->bbcode_second_pass_quote('df8oe', 'Y')es, my little server runs linux-aarch64 from the beginning and it ran flawlessly with this kernel - until today... aarch64 kernel is much more recent than linux-rpi so I want to use that kernel.


OK, you want to stay on vanilla linux kernel. If there is a bug introduced upstream, there is little we can do just building/packaging buggy code. I recommended that you try the linux-rpi kernel to see if it fixes your issue but you refused. I cannot help you. BTW, 5.10 is a LTS kernel and I doubt any new features for your RPi3B+ exist in the 5.16 tree vs 5.10 tree.

So, either try linux-rpi or downgrade your kernel and wait for upstream to fix whatever issue they introduced.

EDIT: or try my rpi-5.15.y series of aarch64 kernels. RPi Foundation will switch over from 5.10 some time soon so these will become our default linux-rpi kernels anyway. I have been running these since I started building without issue.
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Next

Return to General

Who is online

Users browsing this forum: No registered users and 7 guests