All of lore.kernel.org
 help / color / mirror / Atom feed
* Fwd: AMD Geode LX hardware RNG driver produces regular patterns (geode-rng.c)
@ 2023-09-07 11:37 Bagas Sanjaya
  2023-09-07 14:12 ` which regression to add to the tracking (Was: Fwd: AMD Geode LX hardware RNG driver produces regular patterns (geode-rng.c)) Thorsten Leemhuis
  2023-09-10  8:54 ` Fwd: AMD Geode LX hardware RNG driver produces regular patterns (geode-rng.c) Bagas Sanjaya
  0 siblings, 2 replies; 7+ messages in thread
From: Bagas Sanjaya @ 2023-09-07 11:37 UTC (permalink / raw)
  To: Andres Salomon, Timur I. Davletshin
  Cc: Linux Kernel Mailing List, Linux Regressions, Linux AMD GEODE

Hi,

I notice a regression report on Bugzilla [1]. Quoting from it:

> System: Alix board 2d13 (AMD Geode LX800) running OpenWrt 23.05.0-rc3 (kernel 5.15.127)
> 
> Steps to reproduce:
> 
> cat /dev/hwrng and see output. Output in console shows regular pattern, rngd daemon (from rng-tools) refuses to run because of low entropy from /dev/hwrng. Pattern doesn't change until I reboot system.
> 
> Important notice: This problem started somewhere between 4.14.267 (kernel used in OpenWrt 19.07.9) and my current 5.15.127.
> 
> OpenWrt developers recommended addressing this problem upstream since they did not alter this driver in any way.

See Bugzilla for the full thread.

Anyway, I'm adding it to regzbot:

#regzbot ^introduced: v4.14.267..v5.15.127
#regzbot title: predictable urandom output on Alix 2d13

Thanks.

[1]: https://bugzilla.kernel.org/show_bug.cgi?id=217882

-- 
An old man doll... just what I always wanted! - Clara

^ permalink raw reply	[flat|nested] 7+ messages in thread

* which regression to add to the tracking (Was: Fwd: AMD Geode LX hardware RNG driver produces regular patterns (geode-rng.c))
  2023-09-07 11:37 Fwd: AMD Geode LX hardware RNG driver produces regular patterns (geode-rng.c) Bagas Sanjaya
@ 2023-09-07 14:12 ` Thorsten Leemhuis
  2023-09-07 14:24   ` Bagas Sanjaya
  2023-09-10  8:54 ` Fwd: AMD Geode LX hardware RNG driver produces regular patterns (geode-rng.c) Bagas Sanjaya
  1 sibling, 1 reply; 7+ messages in thread
From: Thorsten Leemhuis @ 2023-09-07 14:12 UTC (permalink / raw)
  To: Bagas Sanjaya
  Cc: Linux kernel regressions list, Linux kernel regressions list

Hi Bagas! Thanks again for all the work your do, it helps a lot. But it
might be better to discuss something related to a message of yours from
earlier today.

> Subject: Fwd: AMD Geode LX hardware RNG driver produces regular
> patterns (geode-rng.c)
> Date: Thu, 7 Sep 2023 18:37:00 +0700
> 
> I notice a regression report on Bugzilla [1]. Quoting from it:
> 
>> System: Alix board 2d13 (AMD Geode LX800) running OpenWrt
>> 23.05.0-rc3 (kernel 5.15.127)
>> 
>> Steps to reproduce:
>> 
>> cat /dev/hwrng and see output. Output in console shows regular
>> pattern, rngd daemon (from rng-tools) refuses to run because of low
>> entropy from /dev/hwrng. Pattern doesn't change until I reboot
>> system.
>> 
>> Important notice: This problem started somewhere between 4.14.267
>> (kernel used in OpenWrt 19.07.9) and my current 5.15.127.

I wonder if it is wise or a good idea at all to (1) forward these
regressions reports to the developers while (2) adding them to the
regression tracking:

* I'm not sure if OpenWrt's kernel is close to vanilla; I guess many
developers won't have an idea either and thus might ignore the report
(which they are free to)[1].
* 5.15.y in ancient for upstream kernel standards, hence mainline
developers might ignore this report (see [1])
* the span (v4.14.267..v5.15.127) is extremely large and the regression
might be caused my a mainline change or by the stable team; hence it's
unclear who has to handle it and thus might be ignored by both camps
(see [1])
* I'm swamped with work already, so I can't follow up to each of those
reports, hence adding them to the tracking is likely of no benefit for
anyone.

I in this case would have asked the reporter to test mainline first
before taking further action.

None of this is a big deal (and with a bit of luck some developer will
look into this), but there were similar things with a few of the other
reports you forwarded. I wonder how we could reach a situation that is
more fruitful for everyone involved (you, me, the reporters, developers
that receive mails like the one quoted above). Which leads to the question:

Are you planning to continue your regression report monitoring work for
the foreseeable future? Then it might be best if I start on a
"contributor guide" or something like that which mentions some basic
quality aspects a report should reach before it is forwarded. Or do you
have a better idea?

Ciao, Thorsten

[1]
https://linux-regtracking.leemhuis.info/post/frequent-reasons-why-linux-kernel-bug-reports-are-ignored/


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: which regression to add to the tracking (Was: Fwd: AMD Geode LX hardware RNG driver produces regular patterns (geode-rng.c))
  2023-09-07 14:12 ` which regression to add to the tracking (Was: Fwd: AMD Geode LX hardware RNG driver produces regular patterns (geode-rng.c)) Thorsten Leemhuis
@ 2023-09-07 14:24   ` Bagas Sanjaya
  2023-09-07 14:34     ` Linux regression tracking (Thorsten Leemhuis)
  0 siblings, 1 reply; 7+ messages in thread
From: Bagas Sanjaya @ 2023-09-07 14:24 UTC (permalink / raw)
  To: Thorsten Leemhuis; +Cc: Linux kernel regressions list

On 07/09/2023 21:12, Thorsten Leemhuis wrote:
> Hi Bagas! Thanks again for all the work your do, it helps a lot. But it
> might be better to discuss something related to a message of yours from
> earlier today.
> 

OK, let's see.

>> Subject: Fwd: AMD Geode LX hardware RNG driver produces regular
>> patterns (geode-rng.c)
>> Date: Thu, 7 Sep 2023 18:37:00 +0700
>>
>> I notice a regression report on Bugzilla [1]. Quoting from it:
>>
>>> System: Alix board 2d13 (AMD Geode LX800) running OpenWrt
>>> 23.05.0-rc3 (kernel 5.15.127)
>>>
>>> Steps to reproduce:
>>>
>>> cat /dev/hwrng and see output. Output in console shows regular
>>> pattern, rngd daemon (from rng-tools) refuses to run because of low
>>> entropy from /dev/hwrng. Pattern doesn't change until I reboot
>>> system.
>>>
>>> Important notice: This problem started somewhere between 4.14.267
>>> (kernel used in OpenWrt 19.07.9) and my current 5.15.127.
> 
> I wonder if it is wise or a good idea at all to (1) forward these
> regressions reports to the developers while (2) adding them to the
> regression tracking:
> 

I'm on the err side of adding relevant devs so that they can reach
the reporter.

> * I'm not sure if OpenWrt's kernel is close to vanilla; I guess many
> developers won't have an idea either and thus might ignore the report
> (which they are free to)[1].

FWIK (from what I know), I'm not openwrt kernel hacker, so I don't know
how to build kernels for it and flash it to my router.

> * 5.15.y in ancient for upstream kernel standards, hence mainline
> developers might ignore this report (see [1])
> * the span (v4.14.267..v5.15.127) is extremely large and the regression
> might be caused my a mainline change or by the stable team; hence it's
> unclear who has to handle it and thus might be ignored by both camps
> (see [1])

Yikes! I forgot to ask the reporter to also try mainline (which is mostly
what I do in this case).

> * I'm swamped with work already, so I can't follow up to each of those
> reports, hence adding them to the tracking is likely of no benefit for
> anyone.
> 
> I in this case would have asked the reporter to test mainline first
> before taking further action.
> 

Ack.

> None of this is a big deal (and with a bit of luck some developer will
> look into this), but there were similar things with a few of the other
> reports you forwarded. I wonder how we could reach a situation that is
> more fruitful for everyone involved (you, me, the reporters, developers
> that receive mails like the one quoted above). Which leads to the question:
> 
> Are you planning to continue your regression report monitoring work for
> the foreseeable future? Then it might be best if I start on a
> "contributor guide" or something like that which mentions some basic
> quality aspects a report should reach before it is forwarded. Or do you
> have a better idea?
> 

Likely so.

I think for a good regression report:

* as always, test mainline first
* if it still reproducible on mainline, bisect. When reporting,
  specify commit range as narrow as possible (or better, exact culprit commit)
* provide relevant logs (preferably in LC_ALL=C) and clear description

Thanks for the pro tip!

-- 
An old man doll... just what I always wanted! - Clara


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: which regression to add to the tracking (Was: Fwd: AMD Geode LX hardware RNG driver produces regular patterns (geode-rng.c))
  2023-09-07 14:24   ` Bagas Sanjaya
@ 2023-09-07 14:34     ` Linux regression tracking (Thorsten Leemhuis)
  0 siblings, 0 replies; 7+ messages in thread
From: Linux regression tracking (Thorsten Leemhuis) @ 2023-09-07 14:34 UTC (permalink / raw)
  To: Bagas Sanjaya; +Cc: Linux kernel regressions list

On 07.09.23 16:24, Bagas Sanjaya wrote:
> On 07/09/2023 21:12, Thorsten Leemhuis wrote:
>> Hi Bagas! Thanks again for all the work your do, it helps a lot. But it
>> might be better to discuss something related to a message of yours from
>> earlier today.
> OK, let's see.

thx for your reply.

>>> Subject: Fwd: AMD Geode LX hardware RNG driver produces regular
>>> patterns (geode-rng.c)
>>> Date: Thu, 7 Sep 2023 18:37:00 +0700
>>>
>>> I notice a regression report on Bugzilla [1]. Quoting from it:
>>>
>>>> System: Alix board 2d13 (AMD Geode LX800) running OpenWrt
>>>> 23.05.0-rc3 (kernel 5.15.127)
>>>>
>>>> Steps to reproduce:
>>>>
>>>> cat /dev/hwrng and see output. Output in console shows regular
>>>> pattern, rngd daemon (from rng-tools) refuses to run because of low
>>>> entropy from /dev/hwrng. Pattern doesn't change until I reboot
>>>> system.
>>>>
>>>> Important notice: This problem started somewhere between 4.14.267
>>>> (kernel used in OpenWrt 19.07.9) and my current 5.15.127.
>>
>> I wonder if it is wise or a good idea at all to (1) forward these
>> regressions reports to the developers while (2) adding them to the
>> regression tracking:
> 
> I'm on the err side of adding relevant devs so that they can reach
> the reporter.

That might or might not be a good idea, as devs might start to ignore
your mails (and mine maybe, too) if too many of them contained reports
that didn't reach certain standards.

>> * I'm not sure if OpenWrt's kernel is close to vanilla; I guess many
>> developers won't have an idea either and thus might ignore the report
>> (which they are free to)[1].
> FWIK (from what I know), I'm not openwrt kernel hacker, so I don't know
> how to build kernels for it and flash it to my router.

Yeah, same here. In that case simply asking the reporter to check that
and mention the answer when forwarding is best.

>> * 5.15.y in ancient for upstream kernel standards, hence mainline
>> developers might ignore this report (see [1])
>> * the span (v4.14.267..v5.15.127) is extremely large and the regression
>> might be caused my a mainline change or by the stable team; hence it's
>> unclear who has to handle it and thus might be ignored by both camps
>> (see [1])
> Yikes! I forgot to ask the reporter to also try mainline (which is mostly
> what I do in this case).

+1

>> * I'm swamped with work already, so I can't follow up to each of those
>> reports, hence adding them to the tracking is likely of no benefit for
>> anyone.
>> I in this case would have asked the reporter to test mainline first
>> before taking further action.
> Ack.
> 
>> None of this is a big deal (and with a bit of luck some developer will
>> look into this), but there were similar things with a few of the other
>> reports you forwarded. I wonder how we could reach a situation that is
>> more fruitful for everyone involved (you, me, the reporters, developers
>> that receive mails like the one quoted above). Which leads to the question:
>>
>> Are you planning to continue your regression report monitoring work for
>> the foreseeable future? Then it might be best if I start on a
>> "contributor guide" or something like that which mentions some basic
>> quality aspects a report should reach before it is forwarded. Or do you
>> have a better idea?
>>
> 
> Likely so.
> 
> I think for a good regression report:
> 
> * as always, test mainline first
> * if it still reproducible on mainline, bisect. When reporting,
>   specify commit range as narrow as possible (or better, exact culprit commit)
> * provide relevant logs (preferably in LC_ALL=C) and clear description

yeah; but fwiw, forwarding after testing mainline is fine, as sometimes
the devs will known about the problem already and then reports don't
have to waste time on a bisection.

Anyway, thx again for your work. I guess sooner or later I might find
the time to work on that contributor guide. Or would a checklist be
better (might help myself, as I sometimes forgot to check certain
aspects myself...)?

Ciao, Thorsten

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Fwd: AMD Geode LX hardware RNG driver produces regular patterns (geode-rng.c)
  2023-09-07 11:37 Fwd: AMD Geode LX hardware RNG driver produces regular patterns (geode-rng.c) Bagas Sanjaya
  2023-09-07 14:12 ` which regression to add to the tracking (Was: Fwd: AMD Geode LX hardware RNG driver produces regular patterns (geode-rng.c)) Thorsten Leemhuis
@ 2023-09-10  8:54 ` Bagas Sanjaya
  2023-09-26  0:45   ` Bagas Sanjaya
  1 sibling, 1 reply; 7+ messages in thread
From: Bagas Sanjaya @ 2023-09-10  8:54 UTC (permalink / raw)
  To: Andres Salomon, Timur I. Davletshin
  Cc: Linux Kernel Mailing List, Linux Regressions, Linux AMD GEODE

[-- Attachment #1: Type: text/plain, Size: 327 bytes --]

On Thu, Sep 07, 2023 at 06:37:00PM +0700, Bagas Sanjaya wrote:
> #regzbot ^introduced: v4.14.267..v5.15.127
> #regzbot title: predictable urandom output on Alix 2d13
> 

#regzbot fix: https://lore.kernel.org/lkml/20230910083418.8990-1-jonas.gorski@gmail.com/

-- 
An old man doll... just what I always wanted! - Clara

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Fwd: AMD Geode LX hardware RNG driver produces regular patterns (geode-rng.c)
  2023-09-10  8:54 ` Fwd: AMD Geode LX hardware RNG driver produces regular patterns (geode-rng.c) Bagas Sanjaya
@ 2023-09-26  0:45   ` Bagas Sanjaya
  2023-09-26  4:39     ` Linux regression tracking #update (Thorsten Leemhuis)
  0 siblings, 1 reply; 7+ messages in thread
From: Bagas Sanjaya @ 2023-09-26  0:45 UTC (permalink / raw)
  To: Andres Salomon, Timur I. Davletshin
  Cc: Linux Kernel Mailing List, Linux Regressions, Linux AMD GEODE

[-- Attachment #1: Type: text/plain, Size: 473 bytes --]

On Sun, Sep 10, 2023 at 03:54:28PM +0700, Bagas Sanjaya wrote:
> On Thu, Sep 07, 2023 at 06:37:00PM +0700, Bagas Sanjaya wrote:
> > #regzbot ^introduced: v4.14.267..v5.15.127
> > #regzbot title: predictable urandom output on Alix 2d13
> > 
> 
> #regzbot fix: https://lore.kernel.org/lkml/20230910083418.8990-1-jonas.gorski@gmail.com/
> 

Fix up:

#regzbot fix: hwrng: geode: fix accessing registers

-- 
An old man doll... just what I always wanted! - Clara

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Fwd: AMD Geode LX hardware RNG driver produces regular patterns (geode-rng.c)
  2023-09-26  0:45   ` Bagas Sanjaya
@ 2023-09-26  4:39     ` Linux regression tracking #update (Thorsten Leemhuis)
  0 siblings, 0 replies; 7+ messages in thread
From: Linux regression tracking #update (Thorsten Leemhuis) @ 2023-09-26  4:39 UTC (permalink / raw)
  To: Bagas Sanjaya, Andres Salomon, Timur I. Davletshin
  Cc: Linux Kernel Mailing List, Linux Regressions, Linux AMD GEODE

[TLDR: This mail in primarily relevant for Linux kernel regression
tracking. See link in footer if these mails annoy you.]

On 26.09.23 02:45, Bagas Sanjaya wrote:
> On Sun, Sep 10, 2023 at 03:54:28PM +0700, Bagas Sanjaya wrote:
>> On Thu, Sep 07, 2023 at 06:37:00PM +0700, Bagas Sanjaya wrote:
>>> #regzbot ^introduced: v4.14.267..v5.15.127
>>> #regzbot title: predictable urandom output on Alix 2d13
>>>
>>
>> #regzbot fix: https://lore.kernel.org/lkml/20230910083418.8990-1-jonas.gorski@gmail.com/
>>
> 
> Fix up:
> 
> #regzbot fix: hwrng: geode: fix accessing registers

Fix afaics was slightly renamed on merge, hence:

#regzbot fix: hwrng: geode - fix accessing registers
#regzbot ignore-activity

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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-09-26  4:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-07 11:37 Fwd: AMD Geode LX hardware RNG driver produces regular patterns (geode-rng.c) Bagas Sanjaya
2023-09-07 14:12 ` which regression to add to the tracking (Was: Fwd: AMD Geode LX hardware RNG driver produces regular patterns (geode-rng.c)) Thorsten Leemhuis
2023-09-07 14:24   ` Bagas Sanjaya
2023-09-07 14:34     ` Linux regression tracking (Thorsten Leemhuis)
2023-09-10  8:54 ` Fwd: AMD Geode LX hardware RNG driver produces regular patterns (geode-rng.c) Bagas Sanjaya
2023-09-26  0:45   ` Bagas Sanjaya
2023-09-26  4:39     ` Linux regression tracking #update (Thorsten Leemhuis)

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.