Skip to contentSkip to conversation

Kernel 6.4-rc1 ARM boot fails

DISCUSSION Colin Foster 4 participants 5 messages May 10, 2023 – May 14, 2023 Regressions

lore
Share & tools
lore
#0 lore raw

Hi Ard,

I just wanted to give a heads up. I tested 6.4-rc1 on a Beaglebone Black and kept getting boot hangs. A bisect led me to commit c76c6c4ecbec ("ARM:
9294/2: vfp: Fix broken softirq handling with instrumentation enabled").

The dying message is "Run /sbin/init as init process"

I'm not sure if this has already been reported. I was able to revert this patch and confirm things work again.

My current kernel version with the revert is below. I can share my kconfig if that's needed.

```
# uname -a
Linux buildroot 6.4.0-rc1-00022-g6ceb2f82fe40 #1313 SMP PREEMPT Tue May  9 23:02:58 PDT 2023 armv7l GNU/Linux
```

Thanks, and let me know if you need any more information from me.

Colin Foster

#1 lore raw
Quoted 16 lines · Colin Foster

Hi Ard,

I just wanted to give a heads up. I tested 6.4-rc1 on a Beaglebone Black and kept getting boot hangs. A bisect led me to commit c76c6c4ecbec ("ARM:
9294/2: vfp: Fix broken softirq handling with instrumentation enabled").

The dying message is "Run /sbin/init as init process"

I'm not sure if this has already been reported. I was able to revert this patch and confirm things work again.

My current kernel version with the revert is below. I can share my kconfig if that's needed.

Quoted 8 lines
```
# uname -a
Linux buildroot 6.4.0-rc1-00022-g6ceb2f82fe40 #1313 SMP PREEMPT Tue May  9 23:02:58 PDT 2023 armv7l GNU/Linux
```

Thanks, and let me know if you need any more information from me.

Thanks for the report.

This should fix it:

https://www.armlinux.org.uk/developer/patches/viewpatch.php?id=9297/1

#3 lore raw
In reply to Colin Foster

[CCing the regression list, as it should be in the loop for regressions:
https://docs.kernel.org/admin-guide/reporting-regressions.html]

[TLDR: I'm adding this report to the list of tracked Linux kernel regressions; the text you find below is based on a few templates paragraphs you might have encountered already in similar form. See link in footer if these mails annoy you.]

Quoted 10 lines · Colin Foster

I just wanted to give a heads up. I tested 6.4-rc1 on a Beaglebone Black and kept getting boot hangs. A bisect led me to commit c76c6c4ecbec ("ARM:
9294/2: vfp: Fix broken softirq handling with instrumentation enabled").

The dying message is "Run /sbin/init as init process"

I'm not sure if this has already been reported. I was able to revert this patch and confirm things work again.
[...]

Thanks for the report. I know a fix is incoming, but to be sure the issue doesn't fall through the cracks unnoticed, I'm adding it to regzbot, the Linux kernel regression tracking bot:

#regzbot ^introduced c76c6c4ecbec
#regzbot title arm32: tons of different boot time errors #regzbot ignore-activity
#regzbot monitor:
https://lore.kernel.org/all/[email protected]/
#regzbot fix ARM: 9297/1: vfp: avoid unbalanced stack on 'success' return path
#regzbot monitor:
https://lore.kernel.org/all/[email protected]/

This isn't a regression? This issue or a fix for it are already discussed somewhere else? It was fixed already? You want to clarify when the regression started to happen? Or point out I got the title or something else totally wrong? Then just reply and tell me -- ideally while also telling regzbot about it, as explained by the page listed in the footer of this mail.

Developers: When fixing the issue, remember to add 'Link:' tags pointing to the report (the parent of this mail). See page linked in footer for details.

Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) --
Everything you wanna know about Linux kernel regression tracking:
https://linux-regtracking.leemhuis.info/about/#tldr
That page also explains what to do if mails like this annoy you.

#4 lore raw
Quoted 2 lines · Linux regression tracking #adding (Thorsten Leemhuis)

This isn't a regression? This issue or a fix for it are already discussed somewhere else? It was fixed already?

It was fixed already.

Quoted 9 lines

You want to clarify when
the regression started to happen? Or point out I got the title or something else totally wrong? Then just reply and tell me -- ideally while also telling regzbot about it, as explained by the page listed in the footer of this mail.

Developers: When fixing the issue, remember to add 'Link:' tags pointing to the report (the parent of this mail). See page linked in footer for details.

Syzbot also ran into this regression:
https://lore.kernel.org/all/[email protected]/

Anything using FP instructions in userspace init will crash like that, I happened to use softfloat in all my userspaces and didn't face it.

Yours,
Linus Walleij