All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Ellerman <mpe@ellerman.id.au>
To: Erhard Furtner <erhard_f@mailbox.org>, linux-bcachefs@vger.kernel.org
Cc: linuxppc-dev@lists.ozlabs.org
Subject: Re: 'do_IRQ: stack overflow: 1072' at using bcachefs partition (ppc32, kernel 6.10.5)
Date: Fri, 16 Aug 2024 21:55:46 +1000	[thread overview]
Message-ID: <87v8003cn1.fsf@mail.lhotse> (raw)
In-Reply-To: <20240815125651.3189da31@yea>

Erhard Furtner <erhard_f@mailbox.org> writes:
> Greetings!
>
> Basically bcachefs works on ppc32 but I get stack overflows like this one rather easy:
>
> [...]
> do_IRQ: stack overflow: 1072
> CPU: 1 PID: 2114 Comm: bash Not tainted 6.10.5-gentoo-PMacG4 #1
> Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
> Call Trace:
> [effe3fc0] [c0785664] dump_stack_lvl+0x70/0x8c (unreliable)
> [effe3fe0] [c00081fc] __do_irq+0x28/0x80
> [effe3ff0] [c000873c] __do_IRQ+0x7c/0x84
> [c8aec430] [c8aec610] 0xc8aec610
   ^ 
That's your lowest frame on the process stack. It should actually extend
down to c8aec000, so you had a little bit of space left.

CONFIG_DEBUG_STACKOVERFLOW warns when you have less than 1/4 of the stack
free. You could try turning it off and see if the system survives.

The other thing to try would be increasing the THREAD_SHIFT to 14.

cheers

      reply	other threads:[~2024-08-16 11:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-15 10:56 'do_IRQ: stack overflow: 1072' at using bcachefs partition (ppc32, kernel 6.10.5) Erhard Furtner
2024-08-16 11:55 ` Michael Ellerman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v8003cn1.fsf@mail.lhotse \
    --to=mpe@ellerman.id.au \
    --cc=erhard_f@mailbox.org \
    --cc=linux-bcachefs@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.