ksummit.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Sasha Levin <sashal@kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>,
	Richard Weinberger <richard@nod.at>,
	Linus Torvalds <torvalds@linuxfoundation.org>,
	Thorsten Leemhuis <linux@leemhuis.info>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Konstantin Ryabitsev <konstantin@linuxfoundation.org>,
	users <users@kernel.org>, ksummit <ksummit@lists.linux.dev>
Subject: Re: slowly decommission bugzilla?
Date: Fri, 6 Mar 2026 16:01:24 +0100	[thread overview]
Message-ID: <20260306150124.GD2879901@killaraus.ideasonboard.com> (raw)
In-Reply-To: <aaRo1kuzKj0dxl5i@laps>

Hi Sasha,

On Sun, Mar 01, 2026 at 11:27:02AM -0500, Sasha Levin wrote:
> On Sun, Mar 01, 2026 at 05:13:17PM +0100, Laurent Pinchart wrote:
> > On Sun, Mar 01, 2026 at 10:42:57AM -0500, Sasha Levin wrote:
> >> On Sun, Mar 01, 2026 at 04:35:26PM +0100, Laurent Pinchart wrote:
> >> > On Sun, Mar 01, 2026 at 10:23:00AM -0500, Sasha Levin wrote:
> >> >> On Sat, Feb 28, 2026 at 03:56:11PM -0500, Steven Rostedt wrote:
> >> >> > On Sat, 28 Feb 2026 21:28:57 +0100 (CET) Richard Weinberger wrote:
> >> >> >
> >> >> >> Wouldn't that only work if the report is able to upload the kernel debug
> >> >> >> info too?
> >> >> >
> >> >> > Yes, this would be nice if we had the help from the distros that could
> >> >> > automate this process.
> >> >>
> >> >> So I've been poking at using LLMs for this.
> >> >>
> >> >> decode_stacktrace.sh is great when you have a debug build handy, but
> >> >> asking a random bug reporter to obtain debuginfo, set up the tooling,
> >> >> and run the script is quite the hurdle.
> >> >>
> >> >> The debuginfo problem is solvable on the server side though. Given a
> >> >> kernel version string from the oops, an LLM can figure out which distro
> >> >> and package version the reporter is running, pull the right debuginfo
> >> >> (or build from the matching config/tag if no debuginfo package exists),
> >> >> and run decode_stacktrace.sh itself.
> >> >
> >> > Do we really have to use non-deterministic tools that will inevitably
> >> > produce correct-looking but otherwise useless backtraces from time to
> >> > time, confusing developers and wasting time for everybody, when we can
> >> > instead easily develop tools that will work in a deterministic fashion ?
> >> > I'm getting *really* sick of people pushing for LLM usage when it's
> >> > clearly the wrong tool. Please stop.
> >>
> >> The LLM actually runs scripts/decode_stacktrace.sh. The non-deterministic part
> >> is being able to get our hands on various debug symbols from
> >> distros/vendors/etc.
> >
> > That was my understanding, yes.
> >
> >> Instead of just crapping on everything,
> >
> > Please tone the insults down.
> 
> Happily. Please stop telling me to shut up without offering an alternative :)

I seem to have failed to convey my opinion properly, I'll try better.

> >> can you propose a different
> >> deterministic solution that would have worked for
> >> https://lore.kernel.org/all/DGRCO9SL0T5U.JTINSHJQ9KPK@imlonghao.com/ ?
> >
> > Not as a procedure to extract line numbers that will work retroactively
> > of course, but I don't think that's the point.
> >
> > As we're discussing new developments to replace bugzilla, working with
> > distributions to streamline bug reporting would be more deterministic.
> > Running the stack trace decode in the server side is a good idea, and
> > the server should receive in addition to the stack trace either the
> > debuginfo or, when running a distro kernel, an identifier of the exact
> > kernel version to download the debuginfo from an authoritative source.
> 
> Look at the bug reports we discussed in the thread: one is a custom built
> kernel, and one is a kernel without available debug symbols.

Note that for custom-built kernels I think it's reasonable to ask the
submitter for debuginfo (probably in the form of a decoded stack trace).
If someone is able to build a kernel manually, I expect them to be able
to run a stack trace decoding tool.

> Even if we had the
> best relationships with all our distro friends, had a central DB with all debug
> symbols, we would still not able to tackle this.

Sure, nothing we do will be able to increase our bug report handling to
100% success. I even agree that there are cases where heuristics could
be helpful. This being said, I haven't checked personally, but I would
be very surprised if the majority of the bug reports were related to
kernels for which debuginfo can't be accessed one way or another.

What concerned me in my initial reply, and still concerns me, is
applying a non-deterministic method to the problem when the vast
majority of cases can be solved deterministically. It would mean we
would consume more resources to get a suboptimal results, which is
guaranteed to sometimes produce wrong but plausible-looking results.
It's becoming an increasingly common pattern to throw LLMs as a magic
solution to all problems, despite all the drawbacks, and I'm really
getting tired of that.

My initial thought, before seeing your proposal, was to handle the
majority case with a DB of debuginfo. Yes, it will require coordination
with distributions, and some development, but what is being discussed in
this mail thread is development of a new service anyway. Maybe I fail to
see where this would be difficult or require more development effort
than we can afford ?

I now see you've made a proposal in this thread to embed file and line
info in kallsyms. It seems better than what I had in mind, I will review
it.

> >> Or should we just let that bug report rot as it usually happens because you have
> >> some dislike for LLMs?
> >
> > Let's not resort to straw man arguments, you know that's not what I
> > said.
> 
> I know it's not your intent, but this is what happens in practice. Look at how
> many bug reports show up on our mailing lists and are either just ignored, or
> end up with a response or two that makes no progress.

I honestly don't know how much line numbers in stack traces would help
there. I feel the issue is more related to lack of maintainer bandwidth.

> > I will stand by my original claim, that using the community's
> > development resources to create non-deterministic tools when a
> > deterministic solution isn't more difficult is a waste of time and
> > resources. I've always disliked suboptimal solutions, it's not limited
> > to LLMs.
> 
> I don't disagree that a deterministic solution would be better. My argument is
> that I don't think we can have one.

Let's see if you proved yourself wrong with the patch you posted in the
mail thread :-)

> Again, feel free to prove me wrong, just don't tell me to shut up without
> offering a better alternative.

There are at least two ideas now (debuginfo DB and file:line in
kallsyms). Let's see where those leads.

-- 
Regards,

Laurent Pinchart

  reply	other threads:[~2026-03-06 15:01 UTC|newest]

Thread overview: 117+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-10  4:48 kernel.org tooling update Konstantin Ryabitsev
2025-12-10  8:11 ` Mauro Carvalho Chehab
2025-12-10 13:30 ` Thorsten Leemhuis
2025-12-11  3:04   ` Theodore Tso
2025-12-12 23:48   ` Stephen Hemminger
2025-12-12 23:54     ` Randy Dunlap
2025-12-16 16:21 ` Lukas Wunner
2025-12-16 20:33   ` Jeff Johnson
2025-12-17  0:47     ` Mario Limonciello
2025-12-18 13:37       ` Jani Nikula
2025-12-18 14:09         ` Mario Limonciello
2026-01-23  9:19 ` Web of Trust work [Was: kernel.org tooling update] Uwe Kleine-König
2026-01-23  9:29   ` Greg KH
2026-01-23 11:47     ` Mauro Carvalho Chehab
2026-01-23 11:58       ` Greg KH
2026-01-23 12:24         ` Mauro Carvalho Chehab
2026-01-23 12:29           ` Greg KH
2026-01-23 13:57         ` Konstantin Ryabitsev
2026-01-23 16:24     ` James Bottomley
2026-01-23 16:33       ` Greg KH
2026-01-23 16:42         ` Joe Perches
2026-01-23 17:00           ` Steven Rostedt
2026-01-23 17:23         ` James Bottomley
2026-01-23 18:23           ` Konstantin Ryabitsev
2026-01-23 21:12             ` Uwe Kleine-König
2026-01-26 16:23               ` Konstantin Ryabitsev
2026-01-26 17:32                 ` Uwe Kleine-König
2026-01-26 21:01                   ` Konstantin Ryabitsev
2026-01-26 23:23                   ` James Bottomley
2026-01-27  8:39                     ` Uwe Kleine-König
2026-01-27 21:08                       ` Linus Torvalds
2026-02-04 10:49                         ` Uwe Kleine-König
2026-02-05 10:14                           ` James Bottomley
2026-02-05 18:07                             ` Uwe Kleine-König
2026-02-05 18:23                               ` Konstantin Ryabitsev
2026-01-26 23:33                   ` Mauro Carvalho Chehab
2026-01-26 23:06                 ` Mauro Carvalho Chehab
2026-01-23 21:38             ` James Bottomley
2026-01-23 22:55             ` Mauro Carvalho Chehab
2026-01-23 16:38       ` Konstantin Ryabitsev
2026-01-23 17:02         ` Paul Moore
2026-03-08  7:21     ` Uwe Kleine-König
2026-03-08 10:24       ` Greg KH
2026-03-18 14:02         ` Greg KH
2026-01-23 18:42 ` kernel.org tooling update Randy Dunlap
2026-02-26  8:44 ` slowly decommission bugzilla? (was: Re: kernel.org tooling update) Thorsten Leemhuis
2026-02-26 14:40   ` Andrew G. Morgan
2026-02-26 17:04   ` Andrew Morton
2026-02-27 11:07     ` Jani Nikula
2026-02-27 15:16     ` Steven Rostedt
2026-02-27 15:18       ` Mark Brown
2026-02-27 15:44         ` Steven Rostedt
2026-02-27 15:18       ` slowly decommission bugzilla? Sven Peter
2026-02-27 15:35       ` slowly decommission bugzilla? (was: Re: kernel.org tooling update) Richard Weinberger
2026-02-27 16:00         ` Geert Uytterhoeven
2026-02-27 16:22           ` Richard Weinberger
2026-02-27 16:29             ` Peter Zijlstra
2026-02-27 17:07               ` James Bottomley
2026-02-28 13:41             ` slowly decommission bugzilla? Thorsten Leemhuis
2026-02-28 15:17               ` Richard Weinberger
2026-02-28 17:40                 ` Linus Torvalds
2026-02-28 18:29                   ` Richard Weinberger
2026-02-28 20:26                     ` Steven Rostedt
2026-02-28 20:28                       ` Richard Weinberger
2026-02-28 20:56                         ` Steven Rostedt
2026-03-01 15:23                           ` Sasha Levin
2026-03-01 15:35                             ` Laurent Pinchart
2026-03-01 15:42                               ` Sasha Levin
2026-03-01 16:13                                 ` Laurent Pinchart
2026-03-01 16:27                                   ` Sasha Levin
2026-03-06 15:01                                     ` Laurent Pinchart [this message]
2026-03-07 16:19                                       ` Sasha Levin
2026-03-01 16:15                               ` James Bottomley
2026-03-01 16:49                                 ` Laurent Pinchart
2026-03-02  8:55                                 ` Mauro Carvalho Chehab
2026-03-01 17:33                               ` Linus Torvalds
2026-03-02 20:28                                 ` [RFC] kallsyms: embed source file:line info in kernel stack traces Sasha Levin
2026-03-03  5:39                                   ` Alexey Dobriyan
2026-03-03 12:44                                     ` Sasha Levin
2026-03-03 13:17                                     ` Steven Rostedt
2026-03-03 16:35                                       ` Sasha Levin
2026-03-06 15:22                                         ` Laurent Pinchart
2026-03-03 19:09                                       ` Alexey Dobriyan
2026-03-03  6:26                                   ` Richard Weinberger
2026-03-03  6:48                                     ` Tomasz Figa
2026-03-03  9:04                                       ` Vlastimil Babka (SUSE)
2026-03-03 12:45                                         ` Sasha Levin
2026-03-03  8:11                                     ` Geert Uytterhoeven
2026-03-03  9:31                                       ` Jiri Slaby
2026-03-03 12:47                                         ` Sasha Levin
2026-03-03 12:58                                           ` James Bottomley
2026-03-03 13:08                                             ` Jürgen Groß
2026-03-03  8:09                                   ` Geert Uytterhoeven
2026-03-03 22:44                                   ` Helge Deller
2026-03-03 22:47                                     ` Sasha Levin
2026-03-01 16:01                             ` slowly decommission bugzilla? James Bottomley
2026-03-01 16:16                               ` Sasha Levin
2026-03-01 16:25                                 ` James Bottomley
2026-03-01 16:33                                   ` Sasha Levin
2026-03-06 10:37                 ` Richard Weinberger
2026-03-06 10:44                   ` Geert Uytterhoeven
2026-03-15 14:58                     ` Richard Weinberger
2026-03-16 11:28                       ` Greg KH
2026-03-16 21:56                         ` Richard Weinberger
2026-03-17  7:51                           ` Greg Kroah-Hartman
2026-04-02  4:59   ` slowly decommission bugzilla? (was: Re: kernel.org tooling update) Konstantin Ryabitsev
2026-04-02 13:07     ` Theodore Tso
2026-04-02 13:28       ` Konstantin Ryabitsev
2026-04-02 14:08         ` Theodore Tso
2026-04-02 14:21           ` Konstantin Ryabitsev
2026-04-02 14:49         ` Steven Rostedt
2026-04-02 13:51       ` James Bottomley
2026-04-02 13:42     ` slowly decommission bugzilla? Thorsten Leemhuis
2026-04-02 14:04       ` Konstantin Ryabitsev
2026-04-02 14:15         ` Richard Weinberger
2026-04-02 15:45       ` Laurent Pinchart
2026-04-02 16:04         ` Thorsten Leemhuis

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=20260306150124.GD2879901@killaraus.ideasonboard.com \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=akpm@linux-foundation.org \
    --cc=geert@linux-m68k.org \
    --cc=konstantin@linuxfoundation.org \
    --cc=ksummit@lists.linux.dev \
    --cc=linux@leemhuis.info \
    --cc=richard@nod.at \
    --cc=rostedt@goodmis.org \
    --cc=sashal@kernel.org \
    --cc=torvalds@linuxfoundation.org \
    --cc=users@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox