Announcement

Collapse
No announcement yet.

What is the current kernel for 18.04?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] What is the current kernel for 18.04?

    I'm a bit confused. I use the command line up update a couple of times a week

    Code:
    sudo apt-get update && time sudo apt-get dist-upgrade
    I've seen messages that a generic kernel is being downloaded, and I assume installed. Today is was "-36-generic".
    But the current kernel doesn't change when I reboot. uname -a gives me
    "Linux l-k1804 4.15.0-32-generic #35-Ubuntu SMP Fri Aug 10 17:58:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux"

    Is that the current one? I am using the current NVIDIA drivers if that makes a difference.

    #2
    I also use an Nvidia driver (390) and I get:

    Code:
    Linux specialed-Aspire-VN7-791 4.15.0-34-generic #37-Ubuntu SMP Mon Aug 27 15:21:48 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
    If you think Education is expensive, try ignorance.

    The difference between genius and stupidity is genius has limits.

    Comment


      #3
      Not sure why you have "time" in your
      Code:
      sudo apt-get update && time sudo apt-get dist-upgrade
      entry. The usual process is
      Code:
      sudo apt-get update && sudo apt-get dist-upgrade
      The dist-upgrade will wait for the the update to complete before starting. Are you sure that the
      Code:
      sudo apt-get dist-upgrade
      actually runs?

      If you're not sure just run
      Code:
      sudo apt-get update && sudo apt-get dist-upgrade
      without "time" and see what happens.
      The next brick house on the left
      Intel i7 11th Gen | 16GB | 1TB | KDE Plasma 5.27.11​| Kubuntu 24.04 | 6.8.0-31-generic



      Comment


        #4
        I get:
        $ uname -a
        Linux GreyGeek 4.15.0-34-generic #37-Ubuntu SMP Mon Aug 27 15:21:48 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
        I also use the Nvidia-390 and its dkms-nvidia driver, which I've locked against change (It's not broken so I'm not going to fix it!)

        When I updated a while ago I saw that -36 header come down and install, BUT, it did not compile. So, the source code is setting in
        $ vdir /usr/src
        total 0
        drwxr-xr-x 1 root root 300 Aug 17 12:33 linux-headers-4.15.0-33
        drwxr-xr-x 1 root root 462 Aug 17 12:34 linux-headers-4.15.0-33-generic
        drwxr-xr-x 1 root root 300 Aug 30 13:46 linux-headers-4.15.0-34
        drwxr-xr-x 1 root root 460 Aug 30 13:47 linux-headers-4.15.0-34-generic
        drwxr-xr-x 1 root root 300 Sep 26 12:17 linux-headers-4.15.0-36
        drwxr-xr-x 1 root root 460 Sep 26 12:18 linux-headers-4.15.0-36-generic
        drwxr-xr-x 1 root root 174 Sep 6 17:10 nvidia-390.77
        but since it hasn't been compiled "update-grub" won't list it in /boot and it is not available for selection in the grub menu. Probably because Bionic's utilities and other apps haven't been modified to run under that kernel is my WAG. When it's ready the devs will probably trigger the compile commands.

        $ vdir /usr/src
        total 0
        drwxr-xr-x 1 root root 300 Aug 17 12:33 linux-headers-4.15.0-33
        drwxr-xr-x 1 root root 462 Aug 17 12:34 linux-headers-4.15.0-33-generic
        drwxr-xr-x 1 root root 300 Aug 30 13:46 linux-headers-4.15.0-34
        drwxr-xr-x 1 root root 460 Aug 30 13:47 linux-headers-4.15.0-34-generic
        drwxr-xr-x 1 root root 300 Sep 26 12:17 linux-headers-4.15.0-36
        drwxr-xr-x 1 root root 460 Sep 26 12:18 linux-headers-4.15.0-36-generic
        drwxr-xr-x 1 root root 174 Sep 6 17:10 nvidia-390.77

        $ vdir /boot
        total 152568
        -rw-r--r-- 1 root root 1537455 Aug 15 07:50 abi-4.15.0-33-generic
        -rw-r--r-- 1 root root 1537610 Aug 27 09:45 abi-4.15.0-34-generic
        -rw-r--r-- 1 root root 216905 Aug 15 07:50 config-4.15.0-33-generic
        -rw-r--r-- 1 root root 216905 Aug 27 09:45 config-4.15.0-34-generic
        drwxr-xr-x 1 root root 120 Sep 26 12:40 grub
        -rw-r--r-- 1 root root 64553819 Aug 30 13:48 initrd.img-4.15.0-33-generic
        -rw-r--r-- 1 root root 62968846 Sep 26 12:18 initrd.img-4.15.0-34-generic
        -rw-r--r-- 1 root root 182704 Jan 28 2016 memtest86+.bin
        -rw-r--r-- 1 root root 184380 Jan 28 2016 memtest86+.elf
        -rw-r--r-- 1 root root 184840 Jan 28 2016 memtest86+_multiboot.bin
        -rw-r--r-- 1 root root 0 Aug 15 07:50 retpoline-4.15.0-33-generic
        -rw-r--r-- 1 root root 0 Aug 27 09:45 retpoline-4.15.0-34-generic
        -rw------- 1 root root 4042247 Aug 15 07:50 System.map-4.15.0-33-generic
        -rw------- 1 root root 4044038 Aug 27 09:45 System.map-4.15.0-34-generic
        -rw------- 1 root root 8265464 Aug 15 07:57 vmlinuz-4.15.0-33-generic
        -rw------- 1 root root 8269560 Aug 27 10:06 vmlinuz-4.15.0-34-generic

        $ vdir /boot/grub
        total 2364
        drwxr-xr-x 1 root root 22 Jul 27 20:01 fonts
        -rw-r--r-- 1 root root 712 Apr 26 13:26 gfxblacklist.txt
        -r--r--r-- 1 root root 9713 Sep 26 12:40 grub.cfg
        -rw-r--r-- 1 root root 1024 Sep 26 12:42 grubenv
        drwxr-xr-x 1 root root 6212 Aug 27 18:38 i386-pc
        drwxr-xr-x 1 root root 68 Aug 27 18:38 locale
        -rw-r--r-- 1 root root 2397557 Aug 27 18:38 unicode.pf2
        "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
        – John F. Kennedy, February 26, 1962.

        Comment


          #5
          Thnaks GreyGeek, that makes sense. The output for "vdir /usr/src" for me looks just like yours.

          Comment

          Working...
          X