Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 43

Thread: Kernel 5.8 RC (Release Canidate) series

  1. #21
    Join Date
    Feb 2011
    Location
    Coquitlam, B.C. Canada
    Beans
    2,854
    Distro
    Ubuntu Development Release

    Re: Kernel 5.8 RC (Release Canidate) series

    Quote Originally Posted by Doug S View Post
    @corradoventu : I saw that you added to bug 1873441. About this error:

    Code:
    modinfo: ERROR: could not get modinfo from 'da903x': No such file or directory
    That fix was done downstream from mainline.
    I get the same error also, and have done for a a couple of kernels now.
    Actually, I was wrong there. This error is somehow Ubuntu only, I don't get it on the kernels I build myself. I also observe that it went away and came back. So, when I did an update today I got (I misssed a few -rc's, and deleted all of my own kernels):

    Code:
    update-initramfs: Generating /boot/initrd.img-5.8.0-050800-lowlatency
    modinfo: ERROR: could not get modinfo from 'da903x': No such file or directory  <<<< Problem returned
    ...
    update-initramfs: Generating /boot/initrd.img-5.7.0-050700rc6-lowlatency   <<< No problem
    update-initramfs: Generating /boot/initrd.img-5.7.0-050700rc3-lowlatency
    modinfo: ERROR: could not get modinfo from 'da903x': No such file or directory
    update-initramfs: Generating /boot/initrd.img-5.7.0-050700rc1-lowlatency
    modinfo: ERROR: could not get modinfo from 'da903x': No such file or directory
    update-initramfs: Generating /boot/initrd.img-5.7.0-050700-lowlatency
    ...
    update-initramfs: Generating /boot/initrd.img-5.6.0-050600rc4-lowlatency
    modinfo: ERROR: could not get modinfo from 'da903x': No such file or directory
    update-initramfs: Generating /boot/initrd.img-5.6.0-050600rc2-lowlatency
    modinfo: ERROR: could not get modinfo from 'da903x': No such file or directory
    update-initramfs: Generating /boot/initrd.img-5.6.0-050600rc1-lowlatency
    modinfo: ERROR: could not get modinfo from 'da903x': No such file or directory  <<<< first time
    update-initramfs: Generating /boot/initrd.img-5.6.0-050600-lowlatency
    modinfo: ERROR: could not get modinfo from 'da903x': No such file or directory
    ...
    update-initramfs: Generating /boot/initrd.img-5.5.0-050500rc1-lowlatency
    ...
    update-initramfs: Generating /boot/initrd.img-5.4.0-050400rc1-lowlatency
    update-initramfs: Generating /boot/initrd.img-5.4.0-050400-lowlatency
    update-initramfs: Generating /boot/initrd.img-5.4.0-37-generic
    update-initramfs: Generating /boot/initrd.img-5.4.0-33-generic
    update-initramfs: Generating /boot/initrd.img-5.4.0-29-generic
    update-initramfs: Generating /boot/initrd.img-5.4.0-26-generic
    update-initramfs: Generating /boot/initrd.img-5.4.0-24-generic
    update-initramfs: Generating /boot/initrd.img-5.4.0-21-generic
    update-initramfs: Generating /boot/initrd.img-5.4.0-18-generic
    update-initramfs: Generating /boot/initrd.img-5.4.0-14-generic
    update-initramfs: Generating /boot/initrd.img-5.4.0-12-generic
    update-initramfs: Generating /boot/initrd.img-5.4.0-9-generic
    update-initramfs: Generating /boot/initrd.img-5.2.0-050200-lowlatency
    update-initramfs: Generating /boot/initrd.img-5.2.0-rc1-stock
    update-initramfs: Generating /boot/initrd.img-5.1.0-050100-lowlatency
    Setting up libglib2.0-0:amd64 (2.64.3-1~ubuntu20.04.1) ...
    Any follow-up information on your issue would be appreciated. Please have the courtesy to report back.

  2. #22
    Join Date
    Jun 2009
    Location
    0:0:0:0:0:0:0:1
    Beans
    4,999
    Distro
    Xubuntu

    Re: Kernel 5.8 RC (Release Canidate) series

    So what exactly is this reading?
    Code:
    $ sensors amd_energy-*
    amd_energy-isa-0000
    Adapter: ISA adapter
    Ecore000:    594.13 kJ
    Ecore001:    594.10 kJ
    Ecore002:    594.18 kJ
    Ecore003:    594.24 kJ
    Ecore004:    594.08 kJ
    Ecore005:    594.05 kJ
    Esocket0:      3.51 MJ
    I think it may be total reading power consumed, but getting usable data out of that would require post processing across at least 2 snapshots
    Laptop: ASUS A54C-NB91 (Storage: WD3200BEKT + MKNSSDCR60GB-DX); Desktop: Custom Build - Images included; rPi Server
    Putting your Networked Printer's scanner software to shame PHP Scanner Server
    I frequently edit my post when I have the last post

  3. #23
    Join Date
    Feb 2011
    Location
    Coquitlam, B.C. Canada
    Beans
    2,854
    Distro
    Ubuntu Development Release

    Re: Kernel 5.8 RC (Release Canidate) series

    Quote Originally Posted by pqwoerituytrueiwoq View Post
    So what exactly is this reading?
    Code:
    $ sensors amd_energy-*
    amd_energy-isa-0000
    Adapter: ISA adapter
    Ecore000:    594.13 kJ
    Ecore001:    594.10 kJ
    Ecore002:    594.18 kJ
    Ecore003:    594.24 kJ
    Ecore004:    594.08 kJ
    Ecore005:    594.05 kJ
    Esocket0:      3.51 MJ
    I think it may be total reading power consumed, but getting usable data out of that would require post processing across at least 2 snapshots
    I am not familiar with AMD processors and their MSRs (Machine Specific Registers). But yes, I think you would have to take two samples and subtract. I assume your uptime is significant, otherwise that is a lot of energy.

    Anyway, yes it looks like energy per core and total energy, likely since boot, or since the last wrap around. 3.51 Mega Joules. At a wild guess of 10 watts processor package power that's like an uptime of 98 hours or 98 hours since the last joule counter wrap around.

    I know there has been work done on turbostat (an Intel tool, but in the kernel source tree) to support AMD processors. Try it, because if it knows about the AMD energy MSRs, it will do the math for you.

    Here is my computer:

    Code:
    doug@s18:~$ sudo ~/turbostat --Summary --quiet --show Busy%,Bzy_MHz,PkgTmp,PkgWatt,GFXWatt,IRQ --interval 6
    Busy%   Bzy_MHz IRQ     PkgTmp  PkgWatt GFXWatt
    0.03    800     190     30      1.93    0.00
    0.02    800     96      29      1.92    0.00
    0.02    800     122     29      1.93    0.00
    0.02    800     109     29      1.93    0.00
    and using energy instead of power:

    Code:
    doug@s18:~$ sudo ~/turbostat --Summary --quiet --Joules --show Busy%,Bzy_MHz,PkgTmp,Pkg_J,GFXWatt,IRQ --interval 6
    Busy%   Bzy_MHz IRQ     PkgTmp  Pkg_J
    0.04    800     240     30      11.47
    0.03    800     133     30      11.49
    0.03    800     151     29      11.50
    0.02    800     98      29      11.63
    0.02    800     105     29      11.58
    and 11.50 / 6 = 1.917 watts. I often use joules as a way to get an extra digit, even though the counters aren't really that accurate at such low power.

    And just for completeness, here is the same, but adding some load:
    Code:
    doug@s18:~$ sudo ~/turbostat --Summary --quiet --Joules --show Busy%,Bzy_MHz,PkgTmp,Pkg_J,GFXWatt,IRQ --interval 6
    Busy%   Bzy_MHz IRQ     PkgTmp  Pkg_J
    0.03    1047    328     30      11.58
    0.02    800     173     30      11.49
    9.00    4580    5239    45      82.57
    25.31   4600    15590   49      182.96
    39.87   4600    24567   51      245.12
    50.22   4600    29669   50      286.86
    62.36   4600    35775   50      322.80
    73.98   4600    41415   49      352.23
    92.98   4600    48704   50      394.95
    100.26  4600    51085   50      408.75
    100.26  4600    51241   52      409.85
    100.26  4600    51136   52      412.53
    100.26  4600    51124   51      414.59
    EDIT: Actually, I wonder if turbostat knows about your relatively new processor. Looking at its history in git shows the last AMD related edit as:

    Code:
    commit 3316f99a9f1b68c578c57e76792bd19da1c7d423
    Author: Calvin Walton <calvin.walton@kepstin.ca>
    Date:   Fri Aug 17 12:34:42 2018 -0400
    
        tools/power turbostat: Also read package power on AMD F17h (Zen)
    
        The package power can also be read from an MSR...
    Last edited by Doug S; 3 Weeks Ago at 07:33 PM.
    Any follow-up information on your issue would be appreciated. Please have the courtesy to report back.

  4. #24
    Join Date
    Jun 2009
    Location
    0:0:0:0:0:0:0:1
    Beans
    4,999
    Distro
    Xubuntu

    Re: Kernel 5.8 RC (Release Canidate) series

    so yea there is a issue with this, but idk how much power the system pulls in sleep mode, now how muck power this is, i assume this in in joules, only place i have ever seen that is on surge protectors
    before going to sleep (*puts computer to sleep mode*)
    Code:
    $ sensors -Au amd_energy-*
    amd_energy-isa-0000
    Ecore000:
      energy1_input: 660251.872
    Ecore001:
      energy2_input: 660354.366
    Ecore002:
      energy3_input: 660292.309
    Ecore003:
      energy4_input: 660340.455
    Ecore004:
      energy5_input: 660280.489
    Ecore005:
      energy6_input: 660188.385
    Esocket0:
      energy7_input: 3938647.414
    in the morning (woken from sleep mode)
    *7-8 hours later
    Code:
    $ sensors -Au amd_energy-*
    amd_energy-isa-0000
    Ecore000:
      energy1_input: 720980.453
    Ecore001:
      energy2_input: 720966.457
    Ecore002:
      energy3_input: 720981.142
    Ecore003:
      energy4_input: 720984.914
    Ecore004:
      energy5_input: 720965.693
    Ecore005:
      energy6_input: 720992.887
    Esocket0:
      energy7_input: 4000923.488
    Laptop: ASUS A54C-NB91 (Storage: WD3200BEKT + MKNSSDCR60GB-DX); Desktop: Custom Build - Images included; rPi Server
    Putting your Networked Printer's scanner software to shame PHP Scanner Server
    I frequently edit my post when I have the last post

  5. #25
    Join Date
    Feb 2011
    Location
    Coquitlam, B.C. Canada
    Beans
    2,854
    Distro
    Ubuntu Development Release

    Re: Kernel 5.8 RC (Release Canidate) series

    So 2 watts in sleep mode, seems high, but reasonable to me.

    (4000923.488 - 3938647.414) / 3600 / 8 = 2.16 watts

    If readers are wondering why this stuff is on this thread, it is because some of this stuff is new in kernel 5.8 (I think).
    Any follow-up information on your issue would be appreciated. Please have the courtesy to report back.

  6. #26
    Join Date
    Jun 2009
    Location
    0:0:0:0:0:0:0:1
    Beans
    4,999
    Distro
    Xubuntu

    Re: Kernel 5.8 RC (Release Canidate) series

    that was only 2 watts!?, ok that is nothing, probably just the wake process there
    amd_energy new in linux 5.8: https://www.phoronix.com/scan.php?pa...r-Working-Well
    Laptop: ASUS A54C-NB91 (Storage: WD3200BEKT + MKNSSDCR60GB-DX); Desktop: Custom Build - Images included; rPi Server
    Putting your Networked Printer's scanner software to shame PHP Scanner Server
    I frequently edit my post when I have the last post

  7. #27
    Join Date
    Feb 2011
    Location
    Coquitlam, B.C. Canada
    Beans
    2,854
    Distro
    Ubuntu Development Release

    Re: Kernel 5.8 RC (Release Canidate) series

    Kernel 5.8-rc5 is available, but still with the incorrect files names.
    If someone wants to go on IRC and ask about the file names, please do, referring to the last time.

    I am getting some error:
    Code:
    Jul 13 07:01:08 s18 kernel: [    9.429363] bpfilter: Loaded bpfilter_umh pid 826
    Jul 13 07:01:08 s18 kernel: [    9.432623] bpfilter: write fail -22
    Jul 13 07:01:08 s18 kernel: [    9.432676] bpfilter: write fail -22
    Jul 13 07:01:08 s18 kernel: [    9.458993] bpfilter: Loaded bpfilter_umh pid 836
    Jul 13 07:01:08 s18 kernel: [    9.459132] bpfilter: write fail -22
    Jul 13 07:01:08 s18 kernel: [    9.459185] bpfilter: write fail -22
    And I do observe a possibly related change

    Code:
    commit 6955a76fbcd56d27c84c01353101048e366d070f
    Author: Christoph Hellwig <hch@lst.de>
    Date:   Wed May 13 08:46:58 2020 +0200
    
        bpfilter: switch to kernel_write
    
        While pipes don't really need sb_writers projection, __kernel_write is an
        interface better kept private, and the additional rw_verify_area does not
        hurt here.
    
        Signed-off-by: Christoph Hellwig <hch@lst.de>
    
    diff --git a/net/bpfilter/bpfilter_kern.c b/net/bpfilter/bpfilter_kern.c
    index c0f0990f30b6..1905e01c3aa9 100644
    --- a/net/bpfilter/bpfilter_kern.c
    +++ b/net/bpfilter/bpfilter_kern.c
    @@ -50,7 +50,7 @@ static int __bpfilter_process_sockopt(struct sock *sk, int optname,
            req.len = optlen;
            if (!bpfilter_ops.info.pid)
                    goto out;
    -       n = __kernel_write(bpfilter_ops.info.pipe_to_umh, &req, sizeof(req),
    +       n = kernel_write(bpfilter_ops.info.pipe_to_umh, &req, sizeof(req),
                               &pos);
            if (n != sizeof(req)) {
                    pr_err("write fail %zd\n", n);
    I doubt that this is the exact problem commit, but that is actually part of the whole set of 17 commits.

    EDIT: Hmmm... dmesg seems to require root (sudo) privileges now. It didn't for kernel 5.8-rc1, but does for 5.8-rc4 (I missed -rc2 and -rc3). (here is a good example of why the files names should keep the -rc designations.)
    Last edited by Doug S; 3 Weeks Ago at 11:55 PM. Reason: added something
    Any follow-up information on your issue would be appreciated. Please have the courtesy to report back.

  8. #28
    Join Date
    Oct 2008
    Location
    ExodusHair<Čubura
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Kernel 5.8 RC (Release Canidate) series

    Not a solution but a workaround:
    Code:
    sudo nano /etc/modprobe.d/blacklist-pfilter.conf
    insert:
    Code:
    install bpfilter /bin/false
    close and refresh initramfs:
    Code:
    sudo update-initramfs -ckall
    (if You want to refresh all, in other case just put the name of kernel You want to refresh)...
    As far as name of kernel is concerened, I kind of like it because this way it spares me from removing previous rc... Dmesg shoul ask for sudo pass for numerous safety reasons...
    Last edited by zika; 3 Weeks Ago at 12:21 PM.
    Ignota nulla curatio morbi.

  9. #29
    Join Date
    Feb 2011
    Location
    Coquitlam, B.C. Canada
    Beans
    2,854
    Distro
    Ubuntu Development Release

    Re: Kernel 5.8 RC (Release Canidate) series

    Quote Originally Posted by zika View Post
    As far as name of kernel is concerned, I kind of like it because this way it spares me from removing previous rc...
    Well, sorry zika, I wined on IRC again and now it is fixed...
    Any follow-up information on your issue would be appreciated. Please have the courtesy to report back.

  10. #30
    Join Date
    Feb 2011
    Location
    Coquitlam, B.C. Canada
    Beans
    2,854
    Distro
    Ubuntu Development Release

    Re: Kernel 5.8 RC (Release Canidate) series

    Quote Originally Posted by zika View Post
    Dmesg should ask for sudo pass for numerous safety reasons...
    Well, the same information is also in /var/log/kern.log, available to anyone. One problem I observe with linux is no concern for backwards compatibility. These type of changes create a cascading ton of work as documentation becomes obsolete.
    Any follow-up information on your issue would be appreciated. Please have the courtesy to report back.

Page 3 of 5 FirstFirst 12345 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •