hwe-5.11 regression: zfs send core dump
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zfs-linux (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
With HWE kernel (5.11.0-
# zfs send -w -I data/home/
internal error: Invalid argument
Aborted (core dumped)
# zfs send -w -nvI data/home/
send from @autosnap_
total estimated size is 274M
Switching back to the 5.8 kernel works:
# uname -a
Linux sdeziel-desktop 5.8.0-63-generic #71~20.04.1-Ubuntu SMP Thu Jul 15 17:46:08 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
# zfs send -w -nvI data/home/
send from @autosnap_
total estimated size is 274M
# zfs send -w -I data/home/
# echo $?
0
Additional information:
$ lsb_release -rd
Description: Ubuntu 20.04.2 LTS
Release: 20.04
$ apt-cache policy linux-image-
linux-image-
Installed: 5.11.0-
Candidate: 5.11.0-
Version table:
*** 5.11.0-
500 http://
500 http://
100 /var/lib/
$ apt-cache policy zfsutils-linux
zfsutils-linux:
Installed: 0.8.3-1ubuntu12.12
Candidate: 0.8.3-1ubuntu12.12
Version table:
*** 0.8.3-1ubuntu12.12 500
500 http://
100 /var/lib/
0.
500 http://
0.
500 http://
I noticed there is also a problem with redirecting to /dev/null, somehow:
# uname -a musique@ laptop- 2020-11- 30 data/simon/ musique@ o > /dev/null
Linux sdeziel-desktop 5.11.0-27-generic #29~20.04.1-Ubuntu SMP Wed Aug 11 15:58:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
# zfs send -I data/simon/
internal error: Invalid argument
Aborted (core dumped)
# dmesg -c
[ 747.837066] kernel write not supported for file /null (pid: 10174 comm: zfs)
Writing to a pipe works though:
# zfs send -I data/simon/ musique@ laptop- 2020-11- 30 data/simon/ musique@ o | wc -c
5660616