Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #75558 > unrolled thread

Bug#711592: Current x86 linux kernel is misconfigured.

Started byDiederik de Haas <didi.debian@cknow.org>
First post2022-06-11 01:50 +0200
Last post2022-06-14 14:30 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.debian.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#711592: Current x86 linux kernel is misconfigured. Diederik de Haas <didi.debian@cknow.org> - 2022-06-11 01:50 +0200
    Bug#711592: Current x86 linux kernel is misconfigured. Ben Hutchings <ben@decadent.org.uk> - 2022-06-14 00:20 +0200
      Bug#711592: Current x86 linux kernel is misconfigured. Diederik de Haas <didi.debian@cknow.org> - 2022-06-14 14:30 +0200

#75558 — Bug#711592: Current x86 linux kernel is misconfigured.

FromDiederik de Haas <didi.debian@cknow.org>
Date2022-06-11 01:50 +0200
SubjectBug#711592: Current x86 linux kernel is misconfigured.
Message-ID<EwWy5-3Zme-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Control: notfound -1 linux/5.18.2-1
Control: retitle -1 kernel 3.2: WCHAN column for procps is NOT working

On 8 Jun 2013 09:32:48 +0100 Robert de Bath <robert$@debath.co.uk> wrote:
> Package: linux-image-686-pae
> 
> On current Debian kernels the the WCHAN column for procps is NOT working.
> Run this command:
> # cat /proc/*/wchan
> 
> For current Debian kernels you get all zeros

# cat /proc/*/wchan
do_epoll_waitdo_selectdo_sys_polldo_sys_polldo_epoll_waitdo_epoll_waitdo_select

And the output was a WHOLE lot longer, but I omitted that as it didn't seem 
useful to paste it all.
I have no idea when this was fixed as the mentioned kernel config options didn't 
seem to have changed? Not (yet) closing this as the output is on an amd64 
kernel and maybe that's different.

[toc] | [next] | [standalone]


#75591

FromBen Hutchings <ben@decadent.org.uk>
Date2022-06-14 00:20 +0200
Message-ID<Ey0zD-4CVd-1@gated-at.bofh.it>
In reply to#75558

[Multipart message — attachments visible in raw view] — view raw

On Sat, 2022-06-11 at 01:29 +0200, Diederik de Haas wrote:
> Control: notfound -1 linux/5.18.2-1

This doesn't do anything - it would remove a "found" version, but this
bug was never found there.

> Control: retitle -1 kernel 3.2: WCHAN column for procps is NOT working
>

> On 8 Jun 2013 09:32:48 +0100 Robert de Bath <robert$@debath.co.uk> wrote:
> > Package: linux-image-686-pae
> > 
> > On current Debian kernels the the WCHAN column for procps is NOT working.
> > Run this command:
> > # cat /proc/*/wchan
> > 
> > For current Debian kernels you get all zeros
> 
> # cat /proc/*/wchan
> do_epoll_waitdo_selectdo_sys_polldo_sys_polldo_epoll_waitdo_epoll_waitdo_select
> 
> And the output was a WHOLE lot longer, but I omitted that as it didn't seem 
> useful to paste it all.
> I have no idea when this was fixed as the mentioned kernel config options didn't 
> seem to have changed? Not (yet) closing this as the output is on an amd64 
> kernel and maybe that's different.

I was able to narrow this down a bit with snapshots of each release:

- broken in squeeze, wheezy, and jessie
- partly fixed in stretch and buster (wchan shows function names for
  most sleeping threads, subject to privilege check)
- broken again in bullseye
- fully fixed in 5.16.14-1 (wchan shows function names for all sleeping
  threads, subject to privilege check)

Given that, I think this can be closed with version 5.16.14-1.  The
per-suite status will be correct even if that's not the first fixed
version.

Ben.

-- 
Ben Hutchings
It's easier to fight for one's principles than to live up to them.

[toc] | [prev] | [next] | [standalone]


#75598

FromDiederik de Haas <didi.debian@cknow.org>
Date2022-06-14 14:30 +0200
Message-ID<EydQe-4KTm-25@gated-at.bofh.it>
In reply to#75591

[Multipart message — attachments visible in raw view] — view raw

Control: tag -1 moreinfo

> > On 8 Jun 2013 09:32:48 +0100 Robert de Bath <robert$@debath.co.uk> wrote:
> > > Package: linux-image-686-pae
> > > 
> > > On current Debian kernels the the WCHAN column for procps is NOT
> > > working.
> > > Run this command:
> > > # cat /proc/*/wchan
> > > 
> > > For current Debian kernels you get all zeros
> > 
> > # cat /proc/*/wchan
> > do_epoll_waitdo_selectdo_sys_polldo_sys_polldo_epoll_waitdo_epoll_waitdo_s
> > elect
> > 
> > [IOW: working for me on an amd64 5.18.2-1 kernel]
> 
> I was able to narrow this down a bit with snapshots of each release:
> 
> - broken in squeeze, wheezy, and jessie
> - partly fixed in stretch and buster (wchan shows function names for
>   most sleeping threads, subject to privilege check)
> - broken again in bullseye
> - fully fixed in 5.16.14-1 (wchan shows function names for all sleeping
>   threads, subject to privilege check)
> 
> Given that, I think this can be closed with version 5.16.14-1.

Robert: can you confirm that the issue is fixed for you with a 5.16.14-1 kernel 
or later?
Currently, Stable Backports has version 5.16.12-1~bpo11+1, which should still 
have the issue, but IIUC a new Stable Backports kernel is in the works.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web