Wrong ZFS module version built into eoan kernel

Bug #1835883 reported by Antti Tönkyrä
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Running Ubuntu 18.04 but tested latest ZFS from eoan and discovered the following

1. I installed 5.0.0-21-generic from eoan-proposed (tried eoan as well)
2. I installed zfs userland tools from eoan, no problems here

ii libnvpair1linux 0.8.1-1ubuntu5 amd64 Solaris name-value library for Linux
ii libuutil1linux 0.8.1-1ubuntu5 amd64 Solaris userland utility library for Linux
ii libzfs2linux 0.8.1-1ubuntu5 amd64 OpenZFS filesystem library for Linux
ii libzpool2linux 0.8.1-1ubuntu5 amd64 OpenZFS pool library for Linux
ii zfs-zed 0.8.1-1ubuntu5 amd64 OpenZFS Event Daemon
ii zfsutils-linux 0.8.1-1ubuntu5 amd64 command-line tools to manage OpenZFS filesystems

3. Reboot
4. Expect v0.8.1 ZFS module to be loaded
5. ZFS 0.7.12-1ubuntu5 is loaded instead

Looking at the kmod strings output it seems that the build system is for some reason using old version of the ZFS kernel module?

# strings /lib/modules/5.0.0-21-generic/kernel/zfs/zfs.ko|grep 0.7
0.7.12
/build/linux-RipFyD/linux-5.0.0/debian/build/build-generic/_____________________________________dkms/build/zfs/0.7.12/build/module/zfs/abd.c
...
---
ProblemType: Bug
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116, 1 Jul 9 08:10 seq
 crw-rw---- 1 root audio 116, 33 Jul 9 08:10 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
DistroRelease: Ubuntu 18.04
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
Lsusb:
 Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: QEMU Standard PC (Q35 + ICH9, 2009)
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
Package: linux (not installed)
PciMultimedia:

ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 qxldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.0.0-21-generic root=UUID=2e7a22f4-95e7-11e9-a1bc-525400d6d724 ro
ProcVersionSignature: Ubuntu 5.0.0-21.22-generic 5.0.15
RelatedPackageVersions:
 linux-restricted-modules-5.0.0-21-generic N/A
 linux-backports-modules-5.0.0-21-generic N/A
 linux-firmware 1.173.8
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
Tags: bionic uec-images
Uname: Linux 5.0.0-21-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True
dmi.bios.date: 04/01/2014
dmi.bios.vendor: SeaBIOS
dmi.bios.version: 1.11.0-1.fc28
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.version: pc-q35-3.0
dmi.modalias: dmi:bvnSeaBIOS:bvr1.11.0-1.fc28:bd04/01/2014:svnQEMU:pnStandardPC(Q35+ICH9,2009):pvrpc-q35-3.0:cvnQEMU:ct1:cvrpc-q35-3.0:
dmi.product.name: Standard PC (Q35 + ICH9, 2009)
dmi.product.version: pc-q35-3.0
dmi.sys.vendor: QEMU

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1835883

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: disco
Revision history for this message
Antti Tönkyrä (atonkyra) wrote : CRDA.txt

apport information

tags: added: eoan
tags: added: apport-collected bionic uec-images
description: updated
Revision history for this message
Antti Tönkyrä (atonkyra) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Antti Tönkyrä (atonkyra) wrote : Lspci.txt

apport information

Revision history for this message
Antti Tönkyrä (atonkyra) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Antti Tönkyrä (atonkyra) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Antti Tönkyrä (atonkyra) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Antti Tönkyrä (atonkyra) wrote : ProcModules.txt

apport information

Revision history for this message
Antti Tönkyrä (atonkyra) wrote : UdevDb.txt

apport information

Revision history for this message
Antti Tönkyrä (atonkyra) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
satmandu (satadru-umich) wrote :

FYI 5.2.0-8-generic in eoan/proposed has 0.8.1

strings /lib/modules/5.2.0-8-generic/kernel/zfs/zfs.ko | grep 0.8
version=0.8.1-1ubuntu5

Also you can install zfs-dkms...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.