* [Bug 203839] New: Kernel 5.2-rc3 fails to boot on a PowerMac G4 3, 6: systemd[1]: Failed to bump fs.file-max, ignoring: invalid argument
@ 2019-06-07 0:00 bugzilla-daemon
2019-06-07 0:01 ` [Bug 203839] Kernel 5.2-rc3 fails to boot on a PowerMac G4 3,6: " bugzilla-daemon
` (10 more replies)
0 siblings, 11 replies; 13+ messages in thread
From: bugzilla-daemon @ 2019-06-07 0:00 UTC (permalink / raw)
To: linuxppc-dev
https://bugzilla.kernel.org/show_bug.cgi?id=203839
Bug ID: 203839
Summary: Kernel 5.2-rc3 fails to boot on a PowerMac G4 3,6:
systemd[1]: Failed to bump fs.file-max, ignoring:
invalid argument
Product: Platform Specific/Hardware
Version: 2.5
Kernel Version: 5.2-rc3
Hardware: PPC-32
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: PPC-32
Assignee: platform_ppc-32@kernel-bugs.osdl.org
Reporter: erhard_f@mailbox.org
Regression: No
Created attachment 283135
--> https://bugzilla.kernel.org/attachment.cgi?id=283135&action=edit
failed boot, screenshot 5.2-rc3
The system boots fine with kernel 5.1.7. Starting with 5.2-rc1 the G4 got
problems to correctly finish booting. With 5.2-rc3 basic boot process seems to
complete, but crashes when handing control over to systemd:
systemd[1]: Failed to bump fs.file-max, ignoring: invalid argument
systemd[1]: segfault (11) at 0 nip 0 ir 0 code 1
systemd[1]: Bad NIP, not dumping instructions
[...]
For more details see the screenshot. Kernel 5.2-rc1 errors out even earlier
(see screenshot) with a different error. Also this problem maybe is 32bit
specific. Tried 5.2-rc3 on a PowerMac G5 which boots successfully without
problems.
root is ext4, boot is ext2, systemd is v241.
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 203839] Kernel 5.2-rc3 fails to boot on a PowerMac G4 3,6: systemd[1]: Failed to bump fs.file-max, ignoring: invalid argument
2019-06-07 0:00 [Bug 203839] New: Kernel 5.2-rc3 fails to boot on a PowerMac G4 3, 6: systemd[1]: Failed to bump fs.file-max, ignoring: invalid argument bugzilla-daemon
@ 2019-06-07 0:01 ` bugzilla-daemon
2019-06-07 0:03 ` bugzilla-daemon
` (9 subsequent siblings)
10 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2019-06-07 0:01 UTC (permalink / raw)
To: linuxppc-dev
https://bugzilla.kernel.org/show_bug.cgi?id=203839
--- Comment #1 from Erhard F. (erhard_f@mailbox.org) ---
Created attachment 283137
--> https://bugzilla.kernel.org/attachment.cgi?id=283137&action=edit
failed boot, screenshot 5.2-rc1
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 203839] Kernel 5.2-rc3 fails to boot on a PowerMac G4 3,6: systemd[1]: Failed to bump fs.file-max, ignoring: invalid argument
2019-06-07 0:00 [Bug 203839] New: Kernel 5.2-rc3 fails to boot on a PowerMac G4 3, 6: systemd[1]: Failed to bump fs.file-max, ignoring: invalid argument bugzilla-daemon
2019-06-07 0:01 ` [Bug 203839] Kernel 5.2-rc3 fails to boot on a PowerMac G4 3,6: " bugzilla-daemon
@ 2019-06-07 0:03 ` bugzilla-daemon
2019-06-07 10:29 ` Christophe Leroy
2019-06-07 10:29 ` bugzilla-daemon
` (8 subsequent siblings)
10 siblings, 1 reply; 13+ messages in thread
From: bugzilla-daemon @ 2019-06-07 0:03 UTC (permalink / raw)
To: linuxppc-dev
https://bugzilla.kernel.org/show_bug.cgi?id=203839
--- Comment #2 from Erhard F. (erhard_f@mailbox.org) ---
Created attachment 283139
--> https://bugzilla.kernel.org/attachment.cgi?id=283139&action=edit
kernel .config (5.2-rc3, G4 MDD)
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Bug 203839] Kernel 5.2-rc3 fails to boot on a PowerMac G4 3,6: systemd[1]: Failed to bump fs.file-max, ignoring: invalid argument
2019-06-07 0:03 ` bugzilla-daemon
@ 2019-06-07 10:29 ` Christophe Leroy
0 siblings, 0 replies; 13+ messages in thread
From: Christophe Leroy @ 2019-06-07 10:29 UTC (permalink / raw)
To: bugzilla-daemon, linuxppc-dev
Could you try and revert the following commits ?
38b4564cf042 powerpc/32: don't do syscall stuff in transfer_to_handler
1a4b739bbb4f powerpc/32: implement fast entry for syscalls on BOOKE
b86fb88855ea powerpc/32: implement fast entry for syscalls on non BOOKE
Thanks
Christophe
On 06/07/2019 12:03 AM, bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=203839
>
> --- Comment #2 from Erhard F. (erhard_f@mailbox.org) ---
> Created attachment 283139
> --> https://bugzilla.kernel.org/attachment.cgi?id=283139&action=edit
> kernel .config (5.2-rc3, G4 MDD)
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 203839] Kernel 5.2-rc3 fails to boot on a PowerMac G4 3,6: systemd[1]: Failed to bump fs.file-max, ignoring: invalid argument
2019-06-07 0:00 [Bug 203839] New: Kernel 5.2-rc3 fails to boot on a PowerMac G4 3, 6: systemd[1]: Failed to bump fs.file-max, ignoring: invalid argument bugzilla-daemon
2019-06-07 0:01 ` [Bug 203839] Kernel 5.2-rc3 fails to boot on a PowerMac G4 3,6: " bugzilla-daemon
2019-06-07 0:03 ` bugzilla-daemon
@ 2019-06-07 10:29 ` bugzilla-daemon
2019-06-08 13:45 ` bugzilla-daemon
` (7 subsequent siblings)
10 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2019-06-07 10:29 UTC (permalink / raw)
To: linuxppc-dev
https://bugzilla.kernel.org/show_bug.cgi?id=203839
--- Comment #3 from Christophe Leroy (christophe.leroy@c-s.fr) ---
Could you try and revert the following commits ?
38b4564cf042 powerpc/32: don't do syscall stuff in transfer_to_handler
1a4b739bbb4f powerpc/32: implement fast entry for syscalls on BOOKE
b86fb88855ea powerpc/32: implement fast entry for syscalls on non BOOKE
Thanks
Christophe
On 06/07/2019 12:03 AM, bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=203839
>
> --- Comment #2 from Erhard F. (erhard_f@mailbox.org) ---
> Created attachment 283139
> --> https://bugzilla.kernel.org/attachment.cgi?id=283139&action=edit
> kernel .config (5.2-rc3, G4 MDD)
>
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 203839] Kernel 5.2-rc3 fails to boot on a PowerMac G4 3,6: systemd[1]: Failed to bump fs.file-max, ignoring: invalid argument
2019-06-07 0:00 [Bug 203839] New: Kernel 5.2-rc3 fails to boot on a PowerMac G4 3, 6: systemd[1]: Failed to bump fs.file-max, ignoring: invalid argument bugzilla-daemon
` (2 preceding siblings ...)
2019-06-07 10:29 ` bugzilla-daemon
@ 2019-06-08 13:45 ` bugzilla-daemon
2019-06-09 7:20 ` bugzilla-daemon
` (6 subsequent siblings)
10 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2019-06-08 13:45 UTC (permalink / raw)
To: linuxppc-dev
https://bugzilla.kernel.org/show_bug.cgi?id=203839
--- Comment #4 from Erhard F. (erhard_f@mailbox.org) ---
Created attachment 283163
--> https://bugzilla.kernel.org/attachment.cgi?id=283163&action=edit
failed boot, screenshot 5.2-rc3+
After reverting the 3 commits on top of v5.2-rc3 the kernel panics at an
earlier stage with:
Kernel panic - not syncing: Requested init /lib/systemd/systemd failed (error
-8)
# LC_MESSAGES=C git status
HEAD detached at v5.2-rc3
You are currently reverting commit b86fb88855ea.
(all conflicts fixed: run "git revert --continue")
(use "git revert --abort" to cancel the revert operation)
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
modified: arch/powerpc/kernel/entry_32.S
modified: arch/powerpc/kernel/head_32.S
modified: arch/powerpc/kernel/head_32.h
modified: arch/powerpc/kernel/head_40x.S
modified: arch/powerpc/kernel/head_44x.S
modified: arch/powerpc/kernel/head_8xx.S
modified: arch/powerpc/kernel/head_booke.h
modified: arch/powerpc/kernel/head_fsl_booke.S
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 203839] Kernel 5.2-rc3 fails to boot on a PowerMac G4 3,6: systemd[1]: Failed to bump fs.file-max, ignoring: invalid argument
2019-06-07 0:00 [Bug 203839] New: Kernel 5.2-rc3 fails to boot on a PowerMac G4 3, 6: systemd[1]: Failed to bump fs.file-max, ignoring: invalid argument bugzilla-daemon
` (3 preceding siblings ...)
2019-06-08 13:45 ` bugzilla-daemon
@ 2019-06-09 7:20 ` bugzilla-daemon
2019-06-11 0:32 ` bugzilla-daemon
` (5 subsequent siblings)
10 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2019-06-09 7:20 UTC (permalink / raw)
To: linuxppc-dev
https://bugzilla.kernel.org/show_bug.cgi?id=203839
Christophe Leroy (christophe.leroy@c-s.fr) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |christophe.leroy@c-s.fr
--- Comment #5 from Christophe Leroy (christophe.leroy@c-s.fr) ---
Then the problem is not due to the rework of syscalls.
Are you able to bisect ?
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 203839] Kernel 5.2-rc3 fails to boot on a PowerMac G4 3,6: systemd[1]: Failed to bump fs.file-max, ignoring: invalid argument
2019-06-07 0:00 [Bug 203839] New: Kernel 5.2-rc3 fails to boot on a PowerMac G4 3, 6: systemd[1]: Failed to bump fs.file-max, ignoring: invalid argument bugzilla-daemon
` (4 preceding siblings ...)
2019-06-09 7:20 ` bugzilla-daemon
@ 2019-06-11 0:32 ` bugzilla-daemon
2019-06-11 0:34 ` bugzilla-daemon
` (4 subsequent siblings)
10 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2019-06-11 0:32 UTC (permalink / raw)
To: linuxppc-dev
https://bugzilla.kernel.org/show_bug.cgi?id=203839
--- Comment #6 from Erhard F. (erhard_f@mailbox.org) ---
Created attachment 283183
--> https://bugzilla.kernel.org/attachment.cgi?id=283183&action=edit
bisect.log
bisect took me a while due to quite some skips. Cherry-picking
397d2300b08cdee052053e362018cdb6dd65eea2 and
305d60012304684bd59ea1f67703e51662e4906a helped me complete it.
# git bisect good | tee -a /root/bisect02.log
215b823707ce4e8e52b106915f70357fa474c669 is the first bad commit
commit 215b823707ce4e8e52b106915f70357fa474c669
Author: Christophe Leroy <christophe.leroy@c-s.fr>
Date: Fri Apr 26 16:23:36 2019 +0000
powerpc/32s: set up an early static hash table for KASAN.
KASAN requires early activation of hash table, before memblock()
functions are available.
This patch implements an early hash_table statically defined in
__initdata.
During early boot, a single page table is used.
For hash32, when doing the final init, one page table is allocated
for each PGD entry because of the _PAGE_HASHPTE flag which can't be
common to several virt pages. This is done after memblock get
available but before switching to the final hash table, otherwise
there are issues with TLB flushing due to the shared entries.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
:040000 040000 abc24eb3c4ad3e4f2b1eb7b52c295c8b95d79a78
c3b6114c26eb8e181abb3f1abc9b6ecc12292f4d M arch
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 203839] Kernel 5.2-rc3 fails to boot on a PowerMac G4 3,6: systemd[1]: Failed to bump fs.file-max, ignoring: invalid argument
2019-06-07 0:00 [Bug 203839] New: Kernel 5.2-rc3 fails to boot on a PowerMac G4 3, 6: systemd[1]: Failed to bump fs.file-max, ignoring: invalid argument bugzilla-daemon
` (5 preceding siblings ...)
2019-06-11 0:32 ` bugzilla-daemon
@ 2019-06-11 0:34 ` bugzilla-daemon
2019-06-11 7:25 ` bugzilla-daemon
` (3 subsequent siblings)
10 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2019-06-11 0:34 UTC (permalink / raw)
To: linuxppc-dev
https://bugzilla.kernel.org/show_bug.cgi?id=203839
Erhard F. (erhard_f@mailbox.org) changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #283139|0 |1
is obsolete| |
--- Comment #7 from Erhard F. (erhard_f@mailbox.org) ---
Created attachment 283185
--> https://bugzilla.kernel.org/attachment.cgi?id=283185&action=edit
kernel .config (5.1.0-rc3+, G4 MDD)
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 203839] Kernel 5.2-rc3 fails to boot on a PowerMac G4 3,6: systemd[1]: Failed to bump fs.file-max, ignoring: invalid argument
2019-06-07 0:00 [Bug 203839] New: Kernel 5.2-rc3 fails to boot on a PowerMac G4 3, 6: systemd[1]: Failed to bump fs.file-max, ignoring: invalid argument bugzilla-daemon
` (6 preceding siblings ...)
2019-06-11 0:34 ` bugzilla-daemon
@ 2019-06-11 7:25 ` bugzilla-daemon
2019-06-11 10:34 ` bugzilla-daemon
` (2 subsequent siblings)
10 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2019-06-11 7:25 UTC (permalink / raw)
To: linuxppc-dev
https://bugzilla.kernel.org/show_bug.cgi?id=203839
--- Comment #8 from Christophe Leroy (christophe.leroy@c-s.fr) ---
Argh !
CONFIG_SMP must (again) be the reason we missed it.
Can you please try the change below ?
diff --git a/arch/powerpc/kernel/head_32.S b/arch/powerpc/kernel/head_32.S
index 1d5f1bd0dacd..f255e22184b4 100644
--- a/arch/powerpc/kernel/head_32.S
+++ b/arch/powerpc/kernel/head_32.S
@@ -752,6 +752,7 @@ __secondary_start:
stw r0,0(r3)
/* load up the MMU */
+ bl load_segment_registers
bl load_up_mmu
/* ptr to phys current thread */
Thanks
Christophe
On 06/11/2019 12:32 AM, bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=203839
>
> --- Comment #6 from Erhard F. (erhard_f@mailbox.org) ---
> Created attachment 283183
> --> https://bugzilla.kernel.org/attachment.cgi?id=283183&action=edit
> bisect.log
>
> bisect took me a while due to quite some skips. Cherry-picking
> 397d2300b08cdee052053e362018cdb6dd65eea2 and
> 305d60012304684bd59ea1f67703e51662e4906a helped me complete it.
>
> # git bisect good | tee -a /root/bisect02.log
> 215b823707ce4e8e52b106915f70357fa474c669 is the first bad commit
> commit 215b823707ce4e8e52b106915f70357fa474c669
> Author: Christophe Leroy <christophe.leroy@c-s.fr>
> Date: Fri Apr 26 16:23:36 2019 +0000
>
> powerpc/32s: set up an early static hash table for KASAN.
>
> KASAN requires early activation of hash table, before memblock()
> functions are available.
>
> This patch implements an early hash_table statically defined in
> __initdata.
>
> During early boot, a single page table is used.
>
> For hash32, when doing the final init, one page table is allocated
> for each PGD entry because of the _PAGE_HASHPTE flag which can't be
> common to several virt pages. This is done after memblock get
> available but before switching to the final hash table, otherwise
> there are issues with TLB flushing due to the shared entries.
>
> Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
>
> :040000 040000 abc24eb3c4ad3e4f2b1eb7b52c295c8b95d79a78
> c3b6114c26eb8e181abb3f1abc9b6ecc12292f4d M arch
>
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Bug 203839] Kernel 5.2-rc3 fails to boot on a PowerMac G4 3,6: systemd[1]: Failed to bump fs.file-max, ignoring: invalid argument
2019-06-07 0:00 [Bug 203839] New: Kernel 5.2-rc3 fails to boot on a PowerMac G4 3, 6: systemd[1]: Failed to bump fs.file-max, ignoring: invalid argument bugzilla-daemon
` (7 preceding siblings ...)
2019-06-11 7:25 ` bugzilla-daemon
@ 2019-06-11 10:34 ` bugzilla-daemon
2019-07-06 0:51 ` bugzilla-daemon
2019-07-08 14:15 ` bugzilla-daemon
10 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2019-06-11 10:34 UTC (permalink / raw)
To: linuxppc-dev
https://bugzilla.kernel.org/show_bug.cgi?id=203839
--- Comment #9 from Erhard F. (erhard_f@mailbox.org) ---
(In reply to Christophe Leroy from comment #8)
> Argh !
>
> CONFIG_SMP must (again) be the reason we missed it.
>
> Can you please try the change below ?
Applied your change on top of 5.2-rc4. The G4 boots fine again, thanks!
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 203839] Kernel 5.2-rc3 fails to boot on a PowerMac G4 3,6: systemd[1]: Failed to bump fs.file-max, ignoring: invalid argument
2019-06-07 0:00 [Bug 203839] New: Kernel 5.2-rc3 fails to boot on a PowerMac G4 3, 6: systemd[1]: Failed to bump fs.file-max, ignoring: invalid argument bugzilla-daemon
` (8 preceding siblings ...)
2019-06-11 10:34 ` bugzilla-daemon
@ 2019-07-06 0:51 ` bugzilla-daemon
2019-07-08 14:15 ` bugzilla-daemon
10 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2019-07-06 0:51 UTC (permalink / raw)
To: linuxppc-dev
https://bugzilla.kernel.org/show_bug.cgi?id=203839
Erhard F. (erhard_f@mailbox.org) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |CODE_FIX
--- Comment #10 from Erhard F. (erhard_f@mailbox.org) ---
The fix meanwhile found it's way in kernel 5.2-rc7 which boots just fine.
Thanks!
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 203839] Kernel 5.2-rc3 fails to boot on a PowerMac G4 3,6: systemd[1]: Failed to bump fs.file-max, ignoring: invalid argument
2019-06-07 0:00 [Bug 203839] New: Kernel 5.2-rc3 fails to boot on a PowerMac G4 3, 6: systemd[1]: Failed to bump fs.file-max, ignoring: invalid argument bugzilla-daemon
` (9 preceding siblings ...)
2019-07-06 0:51 ` bugzilla-daemon
@ 2019-07-08 14:15 ` bugzilla-daemon
10 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2019-07-08 14:15 UTC (permalink / raw)
To: linuxppc-dev
https://bugzilla.kernel.org/show_bug.cgi?id=203839
Michael Ellerman (michael@ellerman.id.au) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
CC| |michael@ellerman.id.au
--- Comment #11 from Michael Ellerman (michael@ellerman.id.au) ---
Fixed in b7f8b440f300 ("powerpc/32s: fix initial setup of segment registers on
secondary CPU")
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2019-07-08 14:18 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-07 0:00 [Bug 203839] New: Kernel 5.2-rc3 fails to boot on a PowerMac G4 3, 6: systemd[1]: Failed to bump fs.file-max, ignoring: invalid argument bugzilla-daemon
2019-06-07 0:01 ` [Bug 203839] Kernel 5.2-rc3 fails to boot on a PowerMac G4 3,6: " bugzilla-daemon
2019-06-07 0:03 ` bugzilla-daemon
2019-06-07 10:29 ` Christophe Leroy
2019-06-07 10:29 ` bugzilla-daemon
2019-06-08 13:45 ` bugzilla-daemon
2019-06-09 7:20 ` bugzilla-daemon
2019-06-11 0:32 ` bugzilla-daemon
2019-06-11 0:34 ` bugzilla-daemon
2019-06-11 7:25 ` bugzilla-daemon
2019-06-11 10:34 ` bugzilla-daemon
2019-07-06 0:51 ` bugzilla-daemon
2019-07-08 14:15 ` bugzilla-daemon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.