[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-07-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203839

Michael Ellerman (mich...@ellerman.id.au) changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED
 CC||mich...@ellerman.id.au

--- Comment #11 from Michael Ellerman (mich...@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.

[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-07-05 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203839

Erhard F. (erhar...@mailbox.org) changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |CODE_FIX

--- Comment #10 from Erhard F. (erhar...@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.

[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-11 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203839

--- Comment #9 from Erhard F. (erhar...@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.

[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-11 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203839

--- Comment #8 from Christophe Leroy (christophe.le...@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-dae...@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=203839
> 
> --- Comment #6 from Erhard F. (erhar...@mailbox.org) ---
> Created attachment 283183
>--> https://bugzilla.kernel.org/attachment.cgi?id=283183=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 
> Date:   Fri Apr 26 16:23:36 2019 +
> 
>  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 
>  Signed-off-by: Michael Ellerman 
> 
> :04 04 abc24eb3c4ad3e4f2b1eb7b52c295c8b95d79a78
> c3b6114c26eb8e181abb3f1abc9b6ecc12292f4d M  arch
>

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

[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-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203839

Erhard F. (erhar...@mailbox.org) changed:

   What|Removed |Added

 Attachment #283139|0   |1
is obsolete||

--- Comment #7 from Erhard F. (erhar...@mailbox.org) ---
Created attachment 283185
  --> https://bugzilla.kernel.org/attachment.cgi?id=283185=edit
kernel .config (5.1.0-rc3+, G4 MDD)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

[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-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203839

--- Comment #6 from Erhard F. (erhar...@mailbox.org) ---
Created attachment 283183
  --> https://bugzilla.kernel.org/attachment.cgi?id=283183=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 
Date:   Fri Apr 26 16:23:36 2019 +

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 
Signed-off-by: Michael Ellerman 

:04 04 abc24eb3c4ad3e4f2b1eb7b52c295c8b95d79a78
c3b6114c26eb8e181abb3f1abc9b6ecc12292f4d M  arch

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

[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-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203839

Christophe Leroy (christophe.le...@c-s.fr) changed:

   What|Removed |Added

 CC||christophe.le...@c-s.fr

--- Comment #5 from Christophe Leroy (christophe.le...@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.

[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-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203839

--- Comment #4 from Erhard F. (erhar...@mailbox.org) ---
Created attachment 283163
  --> https://bugzilla.kernel.org/attachment.cgi?id=283163=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 ..." 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.

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 Thread Christophe Leroy

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-dae...@bugzilla.kernel.org wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=203839

--- Comment #2 from Erhard F. (erhar...@mailbox.org) ---
Created attachment 283139
   --> https://bugzilla.kernel.org/attachment.cgi?id=283139=edit
kernel .config (5.2-rc3, G4 MDD)



[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 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203839

--- Comment #3 from Christophe Leroy (christophe.le...@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-dae...@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=203839
> 
> --- Comment #2 from Erhard F. (erhar...@mailbox.org) ---
> Created attachment 283139
>--> https://bugzilla.kernel.org/attachment.cgi?id=283139=edit
> kernel .config (5.2-rc3, G4 MDD)
>

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

[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-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203839

--- Comment #2 from Erhard F. (erhar...@mailbox.org) ---
Created attachment 283139
  --> https://bugzilla.kernel.org/attachment.cgi?id=283139=edit
kernel .config (5.2-rc3, G4 MDD)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

[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-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203839

--- Comment #1 from Erhard F. (erhar...@mailbox.org) ---
Created attachment 283137
  --> https://bugzilla.kernel.org/attachment.cgi?id=283137=edit
failed boot, screenshot 5.2-rc1

-- 
You are receiving this mail because:
You are watching the assignee of the bug.