[08:37] <waheedi> i currently have this kernel 4.15.0-1031-raspi2 , how can i upgrade to https://launchpad.net/ubuntu/+source/linux-raspi2/4.15.0-1041.44
[09:05] <ogra> waheedi, "sudo apt update; sudo apt upgrade" should bring it in
[09:05] <waheedi> it didn't
[09:05] <waheedi> ogra: i even tried dist-upgrade
[09:05] <waheedi> everything is up to date
[09:06] <waheedi> not true :)
[09:06] <ogra> try full-upgrade (though normally upgrade should be sufficient , check if you have security and updates enabled in your /etc/apt/sources.list)
[09:10] <waheedi> yes ogra, enabled
[09:11] <waheedi> I will try full-upgrade
[09:11] <waheedi> same
[09:12] <ogra> what kernel is installed ?
[09:13] <waheedi>  4.15.0-1031-raspi2
[09:20] <ogra> and thats a regular armh 18.04 install ?
[09:20] <ogra> *armhf
[09:21] <ogra> root@bionic:~# egrep "bionic-updates|bionic-security" /etc/apt/sources.list | grep -v ^#
[09:21] <ogra> deb http://ports.ubuntu.com/ubuntu-ports bionic-updates main restricted
[09:21] <ogra> deb http://ports.ubuntu.com/ubuntu-ports bionic-updates universe
[09:21] <ogra> deb http://ports.ubuntu.com/ubuntu-ports bionic-updates multiverse
[09:21] <ogra> deb http://ports.ubuntu.com/ubuntu-ports bionic-security main restricted
[09:21] <ogra> deb http://ports.ubuntu.com/ubuntu-ports bionic-security universe
[09:21] <ogra> deb http://ports.ubuntu.com/ubuntu-ports bionic-security multiverse
[09:21] <ogra> this is what you should have ...
[09:21] <ogra> (in your sources.list)
[11:29] <waheedi> thanks ogra: I do have them in my apt sources
[11:29] <waheedi> its not armhf its arm64
[11:35] <waheedi> ogra: could this be the reason i don't see it ? sudo apt remove flash-kernel initramfs-tools
[11:40] <tomreyn> waheedi: what's the name of the kernel pakcga eyou have installed exactly?  dpkg -l | grep ^i...linux-image'
[11:40] <tomreyn> waheedi: what's the name of the kernel pakcga eyou have installed exactly?  dpkg -l | grep '^i...linux-image'
[11:41] <tomreyn> ^typo fixed
[11:41] <waheedi> u can remove the quotes :)
[11:41] <waheedi> linux-image-4.15.0-1031-raspi2
[11:41] <tomreyn> yes, but not have a single only
[11:41] <waheedi> sure
[11:41] <waheedi> :)
[11:41] <waheedi> yeah i do have 4.15.0-1041.44
[11:41] <waheedi> 4.15.0.1041.39
[11:42] <tomreyn> do you have linux-image-raspi2 installed?
[11:43] <waheedi> yes
[11:43] <waheedi> both ii
[11:43] <waheedi> but why name -a still shows i: linux-image-4.15.0-1031
[11:43] <waheedi> uname*
[11:44] <tomreyn> right, linux-image-raspi2 is version 4.15.0.1041.39 for arm64 and depends onlinux-image-4.15.0-1041-raspi2 https://packages.ubuntu.com/bionic-updates/linux-image-raspi2
[11:44] <tomreyn> you will need to reboot, and ensure your boot loader will load the newer kernel image
[11:45] <waheedi> i did reboot and hard shutdown too
[11:45] <tomreyn> i'm not sure which boot loader arm32 uses
[11:45] <tomreyn> *arm64
[11:45] <tomreyn> is it gummiboot or something?
[11:47] <tomreyn> U-Boot apparently
[11:48] <waheedi> in my config.txt i see kernel=kernel8.bin
[11:48] <tomreyn> i'm afraid i know nothing at all about how arm64 boots really, nor what this config.txt is or where it is located, or how it is used.
[11:50] <waheedi> thanks tomreyn
[11:50] <waheedi> i appreciate the help :)
[11:50] <ogra> using arm64 on a Pi is quite a waste (64bit arm binaries allocate 64bit registers in ram but will only use 32bit variables in it ... you just waste ram that way for o benefit)
[11:52] <tomreyn> apparently "flash-kernel" is the equivalent to update-grub / grub-install on arm64.
[11:52] <ogra> ... arm64 makes only sense if you actually have more than 4GB ... these pi images we offer on cdimage are great for develping arm64 stuff for big iron machines ... but thats about it
[11:52] <ogra> yes, flash-kernel should set up u-boot to actually pick the right kernel after install
[11:52] <tomreyn> https://help.ubuntu.com/lts/installation-guide/arm64/ch06s03.html#di-make-bootable
[11:53] <tomreyn> waheedi: see above
[11:54] <ogra> note that the postinst of the linux-raspi2 package calls flash kernel, so it should be all set-up
[11:55] <ogra> (additionally the installer calls it too during installation)
[11:55] <waheedi> thanks ogra
[11:56] <ogra> well, i just stated what "should" happen ... :)
[11:56] <ogra> seems it doesnt or you for some reason
[11:58] <ogra> i sadly havent touched the classic preinstalled images in ages (i' maintaining ubuntu-core for the pi though, but that boots fron snap packages and does not use flash-kernel)
[12:00] <ogra> typically the proprietary botloader would load u-boot which then in turn loads your kernel and initrd based on uEnv.txt ... uEnv.txt should be the file flash-kernel modifies to point to a new kernel binary
[12:00] <ogra> can you "ls -al /boot" and post that to paste.ubuntu.com ?
[12:01] <ogra> (or is it /boot/ubot on classic ? i forgot ... the one that does contain the start.elf file and friends)
[12:14] <ogra> you can install the pastebinit package and pipe into it if you dont use a serial console you can copy/paste from
[19:35] <waheedi> ogra: thanks,  a lot
[19:35] <waheedi> I managed to manually upgrade the kernel
[19:36] <waheedi> now name -a shows 4.15.0.1041
[19:36] <waheedi> uname*
[19:45] <waheedi> I'm going through this bluetooth notes :) https://bugs.launchpad.net/snappy/+bug/1674509
[19:45] <waheedi> ogra: thanks a lot for that too :)
[19:48] <waheedi> im surprised i still see this "Cannot open directory '/etc/firmware': No such file or directory"