[07:25] <luna_> Kernel 5.9 released
[16:48] <luna_> Hello, where do i report kernel problems ?
[16:49] <gpiccoli> luna_, you mean *Ubuntu kernel* issues? You can use Launchpad, to open a bug: https://bugs.launchpad.net/ubuntu/+source/linux/+filebug
[16:50] <luna_> gpiccoli: alright tried to manually update to kernel 5.9 using these packages: https://kernel.ubuntu.com/~kernel-ppa/mainline/daily/current/amd64/ but dkms did not load the zfs modules so i got stuck with an angry message in busybox, no zfs modules loaded
[16:51] <gpiccoli> hmm...so, did you install the headers packages to allow dkms to build zfs?
[16:52] <luna_> gpiccoli: yep installed the headers_all package
[16:53] <gpiccoli> did you manage to check if dkms built the zfs module for this kernel version? The suggestion I can give you is to reboot in a working kernel, and be sure dkms can build the zfs module for the daily 5.9 kernel luna_ 
[16:54] <luna_> gpiccoli: i did reboot to the 5.8 kernel now, how can i check if dkms can build for 5.9 ?
[16:55] <gpiccoli> try this: find /lib/modules/ | grep -i zfs
[16:55] <gpiccoli> let me know the results
[16:56] <luna_> https://pastebin.com/ivip547w
[16:56] <gpiccoli> ok, clearly you don't have zfs modules to 5.9.x 
[16:56] <gpiccoli> only for 5.8.0-18 and 5.4.0-42
[16:56] <gpiccoli> can you pastebin the output of "dpkg -l | grep -i zfs" ?
[16:57] <luna_> https://pastebin.com/jA6X0zyU
[16:59] <gpiccoli> what is the output of "dkms status" luna_ ?
[17:00] <luna_> virtualbox, 6.1.14, 5.8.0-18-generic, x86_64: installed
[17:00] <luna_> virtualbox, 6.1.14, 5.8.0-19-generic, x86_64: installed
[17:00] <luna_> virtualbox, 6.1.14, 5.8.0-20-generic, x86_64: installed
[17:00] <luna_> virtualbox, 6.1.14, 5.8.0-21-generic, x86_64: installed
[17:03] <gpiccoli> now, last pastebin: "dpkg -l| grep -i dkms"
[17:03] <luna_> https://pastebin.com/suGPB1td
[17:05] <gpiccoli> hmm..you don't have even a dkms zfs package, it seems. Try to run "apt-get install zfs-dkms"
[17:05] <gpiccoli> let's see how it goes
[17:05] <gpiccoli> After if finishes the installation/build, if all goes fine, try again: "find /lib/modules/ | grep -i zfs"
[17:05] <gpiccoli> see if there are zfs files under 5.9.x/ folder
[17:09] <luna_> nope
[17:11] <luna_> still missing
[17:12] <gpiccoli> try "apt-get install zfs-linux" then, please
[17:13] <luna_> apt could not find that package
[17:13] <gpiccoli> yeah, I'm sorry..it's a source package, my bad
[17:13] <gpiccoli> Do you have any logs from dkms ?
[17:14] <gpiccoli> let me try to install the same kernel you're trying and see if I can have zfs installed too
[17:14] <luna_> gpiccoli: sure i guess so but not sure where they are located /var/log/something ?
[17:14] <gpiccoli> BTW, are you using Ubuntu 20.04 luna_ ?
[17:14] <luna_> nope, i am trying out 20.10 
[17:14] <gpiccoli> 20.10, great! 
[17:14] <gpiccoli> let me try here, will get back to you
[17:15] <luna_> using rolling rhino :p 
[17:15] <luna_> alright :)
[17:15] <gpiccoli> dkms logs should be on /var/log
[17:15] <gpiccoli> find /var/log | grep -i dkms get you nothing ?
[17:15] <luna_> nope
[17:16] <gpiccoli> BTW, did you install both headers packages luna_ ?
[17:16] <gpiccoli> There is a _all and a -generic  that must be installed
[17:16] <luna_> ah that might be the problem then
[17:17] <gpiccoli> try that, while I'm trying here hehe
[17:17] <luna_> did not install the -generic one 
[17:18] <gpiccoli> and now, after installed the -generic one, did it work ?
[17:18] <luna_> still installing
[17:19] <luna_> dpkg failed installing it
[17:20] <gpiccoli> uh?
[17:20] <gpiccoli> Why?
[17:20] <gpiccoli> if possible, please pastebin the logs
[17:21] <luna_> got an error message in Swedish so not sure how helpful that is
[17:21] <gpiccoli> hmm..yeah, not useful for me lol
[17:22] <luna_> https://pastebin.com/HnwrbC14
[17:23] <luna_> saying something about dependency problems 
[17:25] <gpiccoli> hmm..odd! So, the steps to make it work are: you need the following packages properly installed : https://pastebin.ubuntu.com/p/wCSSpr6Dn4/
[17:26] <gpiccoli> after that, if zfs-dkms is already installed, it should build you zfs for that kernel
[17:26] <gpiccoli> if not, installing it will trigger the build
[17:26] <luna_> alright
[17:26] <gpiccoli> you can try now to remove/purge the 5.9 kernel of your system and reinstalling it using the "dpkg -i *" in a folder with the 5 necessary DEBs
[17:27] <gpiccoli> I'm still running this process
[17:29] <luna_> making a second try here now too
[17:30] <gpiccoli> ok!
[17:31] <luna_> nah getting some problem while trying to install linux-headers-5.9.0-050900daily20201012-generic and dkms does not want to do its thing :(
[17:32] <luna_> gpiccoli: sticking with 5.8 for now, but thanks for the help in trying to troubleshoot
[17:32] <gpiccoli> my VM is slow and still building dkms, let's see how it goes
[17:33] <luna_> alright i will stick around 
[17:33] <gpiccoli> if you want to continue trying the 5.9, you could change your locale to english and pastebin the outputs, we can try to make that work
[17:33] <gpiccoli> should be a harmless process...
[17:33] <gpiccoli> it's very common to install kernel packages
[17:34] <luna_> getting a bit too tired, will just stay around with 5.8 until you push 5.9 in the repos later
[17:35] <gpiccoli> Hmm..I think the problem is this:
[17:35] <gpiccoli> Loading new zfs-0.8.3 DKMS files...
[17:35] <gpiccoli> Building for 5.4.0-48-generic 5.9.0-050900daily20201012-generic
[17:35] <gpiccoli> [...] <succeeded in building for 5.4.0-48>
[17:35] <gpiccoli> Building initial module for 5.9.0-050900daily20201012-generic
[17:35] <gpiccoli> ERROR (dkms apport): kernel package linux-headers-5.9.0-050900daily20201012-generic is not supported
[17:35] <gpiccoli> Error! Bad return status for module build on kernel: 5.9.0-050900daily20201012-generic (x86_64)
[17:35] <gpiccoli> Consult /var/lib/dkms/zfs/0.8.3/build/make.log for more information
[17:36] <gpiccoli> I'll read the logs, but seems zfs cannot build in this kernel version
[17:36] <luna_>  guess you Kernel, ZFS and Canonical people have something to work on then :D
[17:36] <luna_> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1899515
[17:36] <luna_> if you wanna add something more sensible to my bug
[17:37] <gpiccoli> ok, I'll do!
[17:37] <gpiccoli> thanks for reporting the bug
[17:42] <luna_> no problem, have fun working on it
[17:44] <gpiccoli> thanks luna_ hehe
[17:44] <gpiccoli> Keep following the LP! Let's see how it goes
[17:54] <luna_> will do
[17:56] <gpiccoli> =]
[20:45] <tjaalton> the zfs module always needs porting to a new kernel version
[20:46] <tjaalton> aiui that work has only started for 5.9
[22:39] <JanC> yeah, that's always an issue with out-of-kernel modules