[Kernel-packages] [Bug 1796292] Re: Tight timeout for bcache removal causes spurious failures

2019-07-10 Thread Ryan Harper
The newer kernel went about 16 runs and then popped this: [ 2137.810559] md: md0: resync done. [ 2296.795633] INFO: task python3:11639 blocked for more than 120 seconds. [ 2296.800320] Tainted: P O 4.15.0-55-generic #60+lp1796292+1 [ 2296.805097] "echo 0 >

[Kernel-packages] [Bug 1796292] Re: Tight timeout for bcache removal causes spurious failures

2019-07-10 Thread Ryan Harper
Andrea, thanks for the updated kernels. On the first one, I got 23 installs before I ran into an issue; I'll test the newer kernel next. https://paste.ubuntu.com/p/2B4Kk3wbvQ/ [ 5436.870482] BUG: unable to handle kernel NULL pointer dereference at 09b8 [ 5436.873374] IP:

[Kernel-packages] [Bug 1796292] Re: Tight timeout for bcache removal causes spurious failures

2019-07-03 Thread Ryan Harper
Without the patch, I can reproduce the hang fairly frequently, in one or two loops, which fails in this way: [ 1069.711956] bcache: cancel_writeback_rate_update_dwork() give up waiting for dc->writeback_write_update to quit [ 1088.583986] INFO: task kworker/0:2:436 blocked for more than 120

[Kernel-packages] [Bug 1796292] Re: Tight timeout for bcache removal causes spurious failures

2019-07-03 Thread Ryan Harper
I've setup our integration test that runs the the CDO-QA bcache/ceph setup. On the updated kernel I got through 10 loops on the deployment before it stacktraced: http://paste.ubuntu.com/p/zVrtvKBfCY/ [ 3939.846908] bcache: bch_cached_dev_attach() Caching vdd as bcache5 on set

Re: [Kernel-packages] [Bug 1796292] Re: Tight timeout for bcache removal causes spurious failures

2019-06-03 Thread Ryan Harper
On Mon, Jun 3, 2019 at 2:05 PM Andrey Grebennikov < agrebennikov1...@gmail.com> wrote: > Is there an estimate on getting this package in bionic-updates please? > We are starting an SRU of curtin this week. SRU's take at least 7 days from when they hit -proposed possibly longer depending on test

Re: [Kernel-packages] [Bug 1796292] Re: Tight timeout for bcache removal causes spurious failures

2019-05-09 Thread Ryan Harper
On Wed, May 8, 2019 at 11:55 PM Trent Lloyd wrote: > I have been running into this (curtin 18.1-17-gae48e86f- > 0ubuntu1~16.04.1) > > I think this commit basically agrees with my thoughts but I just wanted > to share them explicitly in case they are interesting > > (1) If you *unregister* the

[Kernel-packages] [Bug 1796292] Re: Tight timeout for bcache removal causes spurious failures

2019-05-09 Thread Ryan Harper
Xenial GA kernel bcache unregister oops: http://paste.ubuntu.com/p/BzfHFjzZ8y/ -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1796292 Title: Tight timeout for bcache removal causes

[Kernel-packages] [Bug 1825413] Re: mdadm, mkfs, other io commands hang, stuck task, bad rip

2019-05-06 Thread Ryan Harper
Sorry, I missed responding. This were run in separate VMs, this is under our curtin vmtest integration testing. Yes, let me get the q35 trace; it doesn't happen as often. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1825413] Re: mdadm, mkfs, other io commands hang, stuck task, bad rip

2019-04-22 Thread Ryan Harper
Hi Seth, notice only one of the stack tracks have the floppy, the mdadm one does not. I've also recreated this on a qemu q35 machine type which does not include the floppy device. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in

[Kernel-packages] [Bug 1825413] Re: mdadm, mkfs, other io commands hang, stuck task, bad rip

2019-04-18 Thread Ryan Harper
root@ubuntu:~# lspci -v -nn 00:00.0 Host bridge [0600]: Intel Corporation 440FX - 82441FX PMC [Natoma] [8086:1237] (rev 02) Subsystem: Red Hat, Inc. Qemu virtual machine [1af4:1100] Flags: fast devsel 00:01.0 ISA bridge [0601]: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton

[Kernel-packages] [Bug 1825413] [NEW] mdadm, mkfs, other io commands hang, stuck task, bad rip

2019-04-18 Thread Ryan Harper
Public bug reported: 1. disco 2. # apt-cache policy linux-image-virtual linux-image-virtual: Installed: 5.0.0.13.14 Candidate: 5.0.0.13.14 Version table: *** 5.0.0.13.14 500 500 http://archive.ubuntu.com/ubuntu disco/main amd64 Packages 100 /var/lib/dpkg/status 3.

[Kernel-packages] [Bug 1820754] [NEW] bcache null pointer exception , recursive fault

2019-03-18 Thread Ryan Harper
Public bug reported: 1) # cat /proc/version_signature Ubuntu 3.13.0-166.216-generic 3.13.11-ckt39 ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: linux-image-generic 3.13.0.167.178 ProcVersionSignature: Ubuntu 3.13.0-166.216-generic 3.13.11-ckt39 Uname: Linux 3.13.0-166-generic x86_64

[Kernel-packages] [Bug 1820754] Re: bcache null pointer exception , recursive fault

2019-03-18 Thread Ryan Harper
Kernel oops when attempting to stop an online bcache device. ** Attachment added: "trusty-bcache-null.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1820754/+attachment/5247406/+files/trusty-bcache-null.txt ** Tags added: curtin -- You received this bug notification because you

[Kernel-packages] [Bug 1779156] Re: lxc 'delete' fails to destroy ZFS filesystem 'dataset is busy'

2019-02-21 Thread Ryan Harper
https://github.com/lxc/lxd/issues/4656 ** Bug watch added: LXD bug tracker #4656 https://github.com/lxc/lxd/issues/4656 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1779156 Title:

[Kernel-packages] [Bug 1565029] Re: bcache doesn't register/recognize devices on s390x

2019-02-12 Thread Ryan Harper
This still fails on s390x. I've an LPAR with 18.04 and kernel 4.15.0-39-generic. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1565029 Title: bcache doesn't register/recognize devices

[Kernel-packages] [Bug 1779156] Re: lxc 'delete' fails to destroy ZFS filesystem 'dataset is busy'

2019-02-05 Thread Ryan Harper
This is still around. Scott wrote up a script to handle cleaning this up. https://gist.github.com/smoser/2c78cf54a1e22b6f05270bd3fead8a5c -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

Re: [Kernel-packages] [Bug 1797581] Re: Composing a VM in MAAS with exactly 2048 MB RAM causes the VM to kernel panic

2019-01-14 Thread Ryan Harper
On Mon, Jan 14, 2019 at 1:55 PM Thiago Martins wrote: > @Ryan, > > The working XML file is attached here, with 2048 MB of RAM. > > NOTE: This XML was created using Virt-Manager, then, MaaS took it over > after being "refreshed". > Thanks! If you drop the section (which is what tells libvirt

[Kernel-packages] [Bug 1797581] Re: Composing a VM in MAAS with exactly 2048 MB RAM causes the VM to kernel panic

2019-01-14 Thread Ryan Harper
@Thiago, Can you attach your guest XML that's working successfully with 2048MB? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1797581 Title: Composing a VM in MAAS with exactly 2048

Re: [Kernel-packages] [Bug 1797581] Re: Composing a VM in MAAS with exactly 2048 MB RAM causes the VM to kernel panic

2018-12-17 Thread Ryan Harper
One other oddity in the xml is the cgroup construction in the "bad" case. /machine > > > To manage notifications about this bug go to: > https://bugs.launchpad.net/maas/+bug/1797581/+subscriptions > -- You received this bug notification because you are a member of Kernel Packages,

[Kernel-packages] [Bug 1806015] Re: bcache: performance regression without tuning under bionic

2018-12-11 Thread Ryan Harper
I confirmed that the underlying block devices (SAS, NVME) perform the same on the 4.4 and 4.15 kernels. Roughly 170 IOP/s direct to the SAS device and 570 IOP/s direct to the bcache infront of the SAS device. The block scheduler has no effect, due to the use of O_DIRECT.

[Kernel-packages] [Bug 1806015] Re: bcache: performance regression without tuning under bionic

2018-11-30 Thread Ryan Harper
Can you collect the following: Backing device baseline (it's possible the underlying disks regressed instead of the bcache layer). the same fio randrw test against the underlying backing device with bcache disabled And with bcache enabled on both setups before and after tuning: 1) grep -r .

[Kernel-packages] [Bug 1784665] Re: mkfs.ext4 over /dev/bcache0 hangs

2018-11-27 Thread Ryan Harper
v4.13 shows the same search_free stack as 4.14, but doesn't appear to be fatal (it doesn't result in a hung process nor a block device that cannot be wiped. I suspect we've got a new upstream issue since 4.20 didn't fix things. Re-running 4.20 to see if we had a stack trace, we don't NULL pointer

[Kernel-packages] [Bug 1784665] Re: mkfs.ext4 over /dev/bcache0 hangs

2018-11-27 Thread Ryan Harper
I also tested v4.15-rc5, which failed with the same stack trace. Then I returned to 4.14 mainline, and got this one: [ 953.659489] BUG: unable to handle kernel NULL pointer dereference at 0d40 [ 953.668707] IP:

Re: [Kernel-packages] [Bug 1784665] Re: mkfs.ext4 over /dev/bcache0 hangs

2018-11-27 Thread Ryan Harper
It took a while, but v4.15-rc6 fails; so we need to move back a bit. [ 2541.139904] bcache: bcache_device_free() bcache0 stopped [ 2541.141848] BUG: unable to handle kernel NULL pointer dereference at 0d38 [ 2541.143813] IP: search_free+0ex01-b6435-e1/5f0x40 [bcache] [ 2541.145676]

[Kernel-packages] [Bug 1784665] Re: mkfs.ext4 over /dev/bcache0 hangs

2018-11-26 Thread Ryan Harper
The 4.15.0-39 kernel FAILs: + make-bcache -C /dev/sdb Can't open dev /dev/sdb: Device or resource busy + exit 1 Successful runs: 24 root@ubuntu:~# [ 242.655013] INFO: task kworker/3:103:2610 blocked for more than 120 seconds. [ 242.665486] Not tainted 4.15.0-39-generic #43~lp1784665 [

[Kernel-packages] [Bug 1784665] Re: mkfs.ext4 over /dev/bcache0 hangs

2018-11-26 Thread Ryan Harper
4.20-rc3 also fails. Successful runs: 95 root@ubuntu:~# [ 484.565298] INFO: task kworker/3:206:2091 blocked for more than 120 seconds. [ 484.566976] Not tainted 4.20.0-042000rc3-generic #201811182231 [ 484.568069] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this

[Kernel-packages] [Bug 1799791] Re: linux-kvm: please support kexec

2018-10-25 Thread Ryan Harper
Could you re-apply the KEXEC config changes to the linux-kvm tree build? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1799791 Title: linux-kvm: please support kexec Status in

[Kernel-packages] [Bug 1799791] Re: linux-kvm: please support kexec

2018-10-25 Thread Ryan Harper
The virtio configuration in this new kernel build changed, can it get reverted to what the -kvm kernel currently has? % grep VIRTIO /boot/config-*kvm CONFIG_BLK_MQ_VIRTIO=y CONFIG_HW_RANDOM_VIRTIO=y CONFIG_NET_9P_VIRTIO=y # CONFIG_RPMSG_VIRTIO is not set CONFIG_SCSI_VIRTIO=y CONFIG_VIRTIO=y

[Kernel-packages] [Bug 1797581] Re: Composing a VM in MAAS with exactly 2048 MB RAM causes the VM to kernel panic

2018-10-16 Thread Ryan Harper
Does this fail with other releases? like trusty? I was wondering if initrd size plays a factor here: precise/hwe-t: 25M trusty/hwe-x: 35M xenial/ga: 39M xenial/hwe:53M xenial/edge: 53M bionic/ga: 55M cosmic/ga: 57M That might be faster for you to test than for us to replicate

[Kernel-packages] [Bug 1797581] Re: Composing a VM in MAAS with exactly 2048 MB RAM causes the VM to kernel panic

2018-10-15 Thread Ryan Harper
[0.943808] Unpacking initramfs... [ 20.690329] Initramfs unpacking failed: junk in compressed archive [ 20.703673] Freeing initrd memory: 56612K Looks like the initrd was compromised, possibly a networking hiccup? Can you confirm the checksums on the source and attempt to download the URL

[Kernel-packages] [Bug 1797581] Re: Composing a VM in MAAS with exactly 2048 MB RAM causes the VM to kernel panic

2018-10-12 Thread Ryan Harper
I'm unable to recreate with a daily bionic cloud-image on a bionic host with the same versions. % sudo apt install uvtool libvirt % uvt-simplestreams-libvirt -vv sync --source http://cloud-images.ubuntu.com/daily 'supported=True' arch=amd64 release=bionic % uvt-kvm create --memory 2048 --cpu 1

[Kernel-packages] [Bug 1797581] Re: Composing a VM in MAAS with exactly 2048 MB RAM causes the VM to kernel panic

2018-10-12 Thread Ryan Harper
The backing image: /var/lib/libvirt/maas-images/e5d185a9-8ccb-4ca6-959a-bd8eff0ee184 What boot image is that? Can I get a copy of that from maas-images? or how is it created? On the node with the vm that fails, can you: virsh start --console Assuming it's a normal ubuntu image which has

[Kernel-packages] [Bug 1797581] Re: Composing a VM in MAAS with exactly 2048 MB RAM causes the VM to kernel panic

2018-10-12 Thread Ryan Harper
And /var/log/libvirt/qemu/.log ? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1797581 Title: Composing a VM in MAAS with exactly 2048 MB RAM causes the VM to kernel panic Status in

[Kernel-packages] [Bug 1797581] Re: Composing a VM in MAAS with exactly 2048 MB RAM causes the VM to kernel panic

2018-10-12 Thread Ryan Harper
Can you attach the guest xml and host kernel/qemu/libvirt packages? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1797581 Title: Composing a VM in MAAS with exactly 2048 MB RAM causes

[Kernel-packages] [Bug 1789758] [NEW] bluetooth headphones a2dp profile does not function after suspend

2018-08-29 Thread Ryan Harper
Public bug reported: 1) lsb_release -rd Description:Ubuntu 18.04.1 LTS Release:18.04 2) $ apt-cache policy bluez bluez: Installed: 5.48-0ubuntu3.1 Candidate: 5.48-0ubuntu3.1 Version table: *** 5.48-0ubuntu3.1 500 500 http://us.archive.ubuntu.com/ubuntu

Re: [Kernel-packages] [Bug 1784665] Re: mkfs.ext4 over /dev/bcache0 hangs

2018-08-29 Thread Ryan Harper
On Wed, Aug 29, 2018 at 12:01 PM Joseph Salisbury wrote: > > Thanks for digging up this additional information. I'll investigate > further. While I do that, the v4.19-rc1 kernel is now out. It might be > worthwhile to give that one a go, and see if the fix was already > committed to mainline:

Re: [Kernel-packages] [Bug 1784665] Re: mkfs.ext4 over /dev/bcache0 hangs

2018-08-28 Thread Ryan Harper
https://www.spinics.net/lists/linux-bcache/msg04869.html https://www.spinics.net/lists/linux-bcache/msg05774.html On Tue, Aug 28, 2018 at 2:30 PM Ryan Harper wrote: > > It's always been a locking issue, so either misuse (or missing) locks > in the bcache attach/detach path, or generi

Re: [Kernel-packages] [Bug 1784665] Re: mkfs.ext4 over /dev/bcache0 hangs

2018-08-28 Thread Ryan Harper
https://patchwork.kernel.org/patch/10094201/ diff --git a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts b/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts index d4f80786e7c2..3890468678ce 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts +++

Re: [Kernel-packages] [Bug 1784665] Re: mkfs.ext4 over /dev/bcache0 hangs

2018-08-28 Thread Ryan Harper
It's always been a locking issue, so either misuse (or missing) locks in the bcache attach/detach path, or generic locking changes to block layer path I'd think. I'll see if I can find any hits on those oops tracebacks too On Tue, Aug 28, 2018 at 2:29 PM Ryan Harper wrote: > >

[Kernel-packages] [Bug 1784665] Re: mkfs.ext4 over /dev/bcache0 hangs

2018-08-28 Thread Ryan Harper
FAILED: Kernel 4.15-rc1 up to bc631943faba6fc3f755748091ada31798fb7d50 Attached is the oops of the failure. ** Attachment added: "rc1-bisect7-oops.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1784665/+attachment/5181823/+files/rc1-bisect7-oops.txt -- You received this bug

[Kernel-packages] [Bug 1784665] Re: mkfs.ext4 over /dev/bcache0 hangs

2018-08-28 Thread Ryan Harper
PASS: Kernel 4.15-rc1 (bisect6) up to 87eba0716011e528f7841026f2cc65683219d0ad -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1784665 Title: mkfs.ext4 over /dev/bcache0 hangs Status in

[Kernel-packages] [Bug 1784665] Re: mkfs.ext4 over /dev/bcache0 hangs

2018-08-27 Thread Ryan Harper
PASS: Kernel 4.15-rc1 (bisect5) up to 6b457409169b7686d293b408da0b6446ccb57a76 I've 2600 seconds of uptime with over 800 loops in the test-case. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1784665] Re: mkfs.ext4 over /dev/bcache0 hangs

2018-08-27 Thread Ryan Harper
FAILED: Kernel 4.15-rc1 up to f48f66a962a54c3d26d688c3df5441c9d1ba8730 Attached is the oops of the failure. ** Attachment added: "rc1-bisect4-oops.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1784665/+attachment/5181417/+files/rc1-bisect4-oops.txt -- You received this bug

[Kernel-packages] [Bug 1784665] Re: mkfs.ext4 over /dev/bcache0 hangs

2018-08-21 Thread Ryan Harper
FAILED: Kernel 4.15-rc1 up to f17b9e764dfcd838dab51572d620a371c05a8e60 Attached is the oops of the failure. ** Attachment added: "rc1-bisect3-ops.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1784665/+attachment/5178807/+files/rc1-bisect3-ops.txt -- You received this bug

[Kernel-packages] [Bug 1784665] Re: mkfs.ext4 over /dev/bcache0 hangs

2018-08-15 Thread Ryan Harper
test kernel 4.15-rc1 up to abb62c46d4949d44979fa647740feff3f7538799 FAILED ** Attachment added: "kernel oops for 4.15-rc1 up to abb62c46d4949d44979fa647740feff3f7538799" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1784665/+attachment/5175947/+files/rc1-bisect2-oops.txt -- You

[Kernel-packages] [Bug 1784665] Re: mkfs.ext4 over /dev/bcache0 hangs

2018-08-14 Thread Ryan Harper
test kernel 4.15-rc6 up to d8887f1c7289848e74c92bd4322789a9cd7de699 FAILED ** Attachment added: "kernel oops for 4.15-rc6-up-to-d8887f1c7289848e74c92bd4322789a9cd7de699" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1784665/+attachment/5175379/+files/rc6-bisect1-oops.txt -- You

[Kernel-packages] [Bug 1784665] Re: mkfs.ext4 over /dev/bcache0 hangs

2018-08-14 Thread Ryan Harper
test kernel 4.15-rc6 up to d8887f1c7289848e74c92bd4322789a9cd7de699 FAILED Attaching oops. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1784665 Title: mkfs.ext4 over /dev/bcache0

[Kernel-packages] [Bug 1784665] Re: mkfs.ext4 over /dev/bcache0 hangs

2018-08-13 Thread Ryan Harper
4.14 Final: OK 4.15-rc1:OK I started a further bisect: 4.15-rc9:FAIL 4.15-rc5:OK 4.15-rc7:FAIL 4.15-rc6:OK So, it appears something between rc6 (last known good) and rc7 (FAIL) -- You received this bug notification because you are a member of Kernel Packages, which is

[Kernel-packages] [Bug 1784665] Re: mkfs.ext4 over /dev/bcache0 hangs

2018-08-13 Thread Ryan Harper
4.10: Status: OK Comment: Survived 30 minute loop over recreating with no issues. 4.13: Status: OK Comment: Survived 30 minute loop over recreating with no issues. 4.15: Status: FAIL Comment: triggered within less than a minute of the loop. Kernel Trace: [ 122.500943] Oops:

[Kernel-packages] [Bug 1784665] Re: mkfs.ext4 over /dev/bcache0 hangs

2018-08-01 Thread Ryan Harper
I can recreate on upstream: # uname -r; dmesg | tail -n 16 4.18.0-041800rc7-generic [ 967.657492] INFO: task bcache_allocato:14240 blocked for more than 120 seconds. [ 967.664138] Not tainted 4.18.0-041800rc7-generic #201807292230 [ 967.669641] "echo 0 >

[Kernel-packages] [Bug 1784665] Re: mkfs.ext4 over /dev/bcache0 hangs

2018-08-01 Thread Ryan Harper
I'll see if I can reproduce on the mainline kernel. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1784665 Title: mkfs.ext4 over /dev/bcache0 hangs Status in linux package in Ubuntu:

[Kernel-packages] [Bug 1784665] Re: mkfs.ext4 over /dev/bcache0 hangs

2018-08-01 Thread Ryan Harper
** Attachment added: "bcache-basic-repro.sh" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1784665/+attachment/5170528/+files/bcache-basic-repro.sh -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1784665] Re: mkfs.ext4 over /dev/bcache0 hangs

2018-08-01 Thread Ryan Harper
I think I've got one. It doesn't always hang the mkfs, but it does wedge bcache in a few ways. [ 484.322546] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 484.326230] INFO: task bcache_allocato:32503 blocked for more than 120 seconds. 1) when it occurs, a

[Kernel-packages] [Bug 1784665] Re: mkfs.ext4 over /dev/bcache0 hangs

2018-08-01 Thread Ryan Harper
We've just had a second occurrence of this, same kernel, but with Xenial. (Xenial HWE Edge kernel 4.15.0-29) with the same scenario, mkfs.ext4 a /dev/bcache0. I'll see if I can recreate by stressing things. -- You received this bug notification because you are a member of Kernel Packages,

[Kernel-packages] [Bug 1784665] Re: mkfs.ext4 over /dev/bcache0 hangs

2018-07-31 Thread Ryan Harper
> Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem? We've had plenty of successful runs on this kernel. I suspect io load or something else may trigger this. We've only seen it once out of tens of not

[Kernel-packages] [Bug 1784665] [NEW] mkfs.ext4 over /dev/bcache0 hangs

2018-07-31 Thread Ryan Harper
Public bug reported: $ cat /proc/version_signature Ubuntu 4.15.0-29.31-generic 4.15.18 $ lsb_release -rd Description:Ubuntu Cosmic Cuttlefish (development branch) Release:18.10 $ apt-cache policy linux-image-`uname -r` linux-image-4.15.0-29-generic: Installed: 4.15.0-29.31

Re: [Kernel-packages] [Bug 1772490] Re: 'Deploying' timed out after 40 minutes / Failedbcache: register_bcache() error

2018-05-23 Thread Ryan Harper
*** This bug is a duplicate of bug 1768893 *** https://bugs.launchpad.net/bugs/1768893 The bcache message is *NOT* a failure in the kernel; That message is emitted when a bcache device is reregistered, the kernel will emit the changed event to ensure that udev will create

Re: [Kernel-packages] [Bug 1772490] Re: bcache: register_bcache() error

2018-05-21 Thread Ryan Harper
On Mon, May 21, 2018 at 3:59 PM, Andres Rodriguez wrote: > @Ryan, > > I'm marking this as incomplete for curtin provided that after further > debugging, I can see that the late command that's supposed to send the > "netboot_off" operation is not being sent. > > This could

[Kernel-packages] [Bug 1772490] Re: bcache: register_bcache() error

2018-05-21 Thread Ryan Harper
May 21 11:00:42 geodude cloud-init[1643]: curtin: Installation finished. >From the rsyslog, curtin finished the install without error. ** Changed in: curtin Status: Incomplete => Invalid -- You received this bug notification because you are a member of Kernel Packages, which is

Re: [Kernel-packages] [Bug 1772490] Re: bcache: register_bcache() error

2018-05-21 Thread Ryan Harper
Thanks for the log. Curtin installed without error, I'll mark invalid. AFAICT, it booted fine and was instructed to power off. May 21 13:18:51 geodude cloud-init[1676]: Powering node off. May 21 13:18:51 geodude ec2: May 21 13:18:51 geodude ec2:

[Kernel-packages] [Bug 1772490] Re: bcache: register_bcache() error

2018-05-21 Thread Ryan Harper
ay 21 10:57:05 geodude kernel: [ 49.126408] bcache: register_bcache() error /dev/sda3: device already registered (emitting change event) These are not curtin or kernel errors but expected output. I looked at the qa link but I didn't find the install.log debug output. ** Changed in: curtin

Re: [Kernel-packages] [Bug 1768777] Re: libnvpair1linux doc contents have busted symlinks

2018-05-03 Thread Ryan Harper
Yes; this was a an upgraded system. On Thu, May 3, 2018 at 5:28 PM, Colin Ian King <1768...@bugs.launchpad.net> wrote: > This seems to only occur with a Xenial -> Artful or Xenial -> Bionic > upgrades and not Artful -> Bionic. > > -- > You received this bug notification because you are subscribed

[Kernel-packages] [Bug 1768777] [NEW] libnvpair1linux doc contents have busted symlinks

2018-05-03 Thread Ryan Harper
Public bug reported: % apt-cache policy libnvpair1linux libnvpair1linux: Installed: 0.7.5-1ubuntu15 Candidate: 0.7.5-1ubuntu15 Version table: *** 0.7.5-1ubuntu15 500 500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages 100 /var/lib/dpkg/status % lsb_release -rd

Re: [Kernel-packages] [Bug 1760173] Re: zfs, zpool commands hangs for 10 seconds without a /dev/zfs

2018-04-30 Thread Ryan Harper
On Mon, Apr 30, 2018 at 12:14 PM, Colin Ian King <1760...@bugs.launchpad.net> wrote: > The code actually polls /dev/zfs until it appears. The issue here is > that it does not appear after 10 seconds, and then it gives up. Yes, you're right. Would it make sense to have zfsutils know it's running

[Kernel-packages] [Bug 1760173] Re: zfs, zpool commands hangs for 10 seconds without a /dev/zfs

2018-04-30 Thread Ryan Harper
If they're going to modprobe and are waiting on udev, then I would like them to do something like udevadm settle --exit-if-exists=/dev/zfs That means they can exit early without paying the 10s by default value. -- You received this bug notification because you are a member of Kernel Packages,

[Kernel-packages] [Bug 1739672] Re: Regression in getaddrinfo(): calls block for much longer on Bionic (compared to Xenial), please disable LLMNR

2018-04-10 Thread Ryan Harper
ubuntu@foufoune:~$ lsb_release -rd Description:Ubuntu 17.10 Release:17.10 ubuntu@foufoune:~$ apt-cache policy systemd systemd: Installed: 234-2ubuntu12.3 Candidate: 234-2ubuntu12.3 Version table: *** 234-2ubuntu12.3 500 500 http://azure.archive.ubuntu.com/ubuntu

[Kernel-packages] [Bug 1739672] Re: Regression in getaddrinfo(): calls block for much longer on Bionic (compared to Xenial), please disable LLMNR

2018-04-10 Thread Ryan Harper
I'm seeing this on Artful as well, in Azure cloud. ** Also affects: glibc (Ubuntu Artful) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Artful) Importance: Undecided Status: New ** Also affects: systemd (Ubuntu Artful) Importance: Undecided

[Kernel-packages] [Bug 1757565] Re: btrfs and tar sparse truncate archives

2018-04-10 Thread Ryan Harper
Verified artful-proposed. root@ubuntu:~# cat /etc/cloud/build.info build_name: server serial: 20180404 root@ubuntu:~# uname -a Linux ubuntu 4.13.0-38-generic #43-Ubuntu SMP Wed Mar 14 15:20:44 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux root@ubuntu:~# mount /dev/sda /mnt root@ubuntu:~# grep sda

Re: [Kernel-packages] [Bug 1760173] Re: zfs, zpool commands hangs for 10 seconds without a /dev/zfs

2018-04-10 Thread Ryan Harper
On Tue, Apr 10, 2018 at 2:44 AM, Colin Ian King <1760...@bugs.launchpad.net> wrote: > Would an immediate return with some error/warning message be more > appropriate that a 10 second delay? Yes. I would think that the amount of time to wait could be an option. I've read that in some scenarios

Re: [Kernel-packages] [Bug 1729145] Re: /dev/bcache/by-uuid links not created after reboot

2018-04-03 Thread Ryan Harper
Is this also fixed in bionic yet? On Tue, Apr 3, 2018 at 9:10 AM, Launchpad Bug Tracker <1729...@bugs.launchpad.net> wrote: > This bug was fixed in the package linux - 4.13.0-38.43 > > --- > linux (4.13.0-38.43) artful; urgency=medium > > * linux: 4.13.0-38.43 -proposed tracker (LP:

[Kernel-packages] [Bug 1760173] [NEW] zfs, zpool commands hangs for 10 seconds without a /dev/zfs

2018-03-30 Thread Ryan Harper
Public bug reported: 1. # lsb_release -rd Description:Ubuntu 16.04.4 LTS Release:16.04 2. # apt-cache policy zfsutils-linux zfsutils-linux: Installed: 0.6.5.6-0ubuntu19 Candidate: 0.6.5.6-0ubuntu19 Version table: *** 0.6.5.6-0ubuntu19 500 500

[Kernel-packages] [Bug 1757565] Re: btrfs and tar sparse truncate archives

2018-03-23 Thread Ryan Harper
Test kernel: GOOD root@ubuntu:~# cat /proc/version_signature Ubuntu 4.13.0-37.42~lp1757565-generic 4.13.13 root@ubuntu:~# mount /dev/sda /mnt root@ubuntu:~# grep sda /proc/mounts /dev/sda /mnt btrfs rw,relatime,space_cache,subvolid=5,subvol=/ 0 0 root@ubuntu:~# SPARSE="-S"; rm -rf /mnt/tmp;

[Kernel-packages] [Bug 1757565] Re: btrfs and tar sparse truncate archives

2018-03-23 Thread Ryan Harper
Yeah, rc2 was fine. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1757565 Title: btrfs and tar sparse truncate archives Status in linux package in Ubuntu: Triaged Status in tar

[Kernel-packages] [Bug 1757565] Re: btrfs and tar sparse truncate archives

2018-03-23 Thread Ryan Harper
This looks promising and landed in -rc2: Btrfs: fix reported number of inode blocks after buffered append writes https://www.spinics.net/lists/linux-btrfs/msg71274.html -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1757565] Re: btrfs and tar sparse truncate archives

2018-03-23 Thread Ryan Harper
v4.15-rc6: GOOD root@ubuntu:~# uname -r 4.15.0-041500rc6-generic root@ubuntu:~# mount /dev/sda /mnt root@ubuntu:~# grep sda /proc/mounts /dev/sda /mnt btrfs rw,relatime,space_cache,subvolid=5,subvol=/ 0 0 root@ubuntu:~# SPARSE="-S"; rm -rf /mnt/tmp; md5sum /usr/bin/python3.6; mkdir -p /mnt/tmp;

[Kernel-packages] [Bug 1757565] Re: btrfs and tar sparse truncate archives

2018-03-22 Thread Ryan Harper
v4.15 Final: GOOD root@ubuntu:~# uname -r 4.15.0-041500-generic root@ubuntu:~# mount /dev/sda /mnt root@ubuntu:~# grep sda /proc/mounts /dev/sda /mnt btrfs rw,relatime,space_cache,subvolid=5,subvol=/ 0 0 root@ubuntu:~# SPARSE="-S"; rm -rf /mnt/tmp; md5sum /usr/bin/python3.6; mkdir -p /mnt/tmp;

Re: [Kernel-packages] [Bug 1757565] Re: btrfs and tar sparse truncate archives

2018-03-22 Thread Ryan Harper
On Thu, Mar 22, 2018 at 2:56 PM, Joseph Salisbury wrote: > @Scott, will that upstream commit make it so the kernel fix we are > looking for is not required? This is a curtin workaround; we're not using the sparse flag when invoking tar; However, the bug/issue

[Kernel-packages] [Bug 1757565] Re: btrfs and tar sparse truncate archives

2018-03-22 Thread Ryan Harper
v4.15.7: GOOD root@ubuntu:~# uname -r 4.15.7-041507-generic root@ubuntu:~# mount /dev/sda /mnt root@ubuntu:~# grep sda /proc/mounts /dev/sda /mnt btrfs rw,relatime,space_cache,subvolid=5,subvol=/ 0 0 root@ubuntu:~# SPARSE="-S"; rm -rf /mnt/tmp; md5sum /usr/bin/python3.6; mkdir -p /mnt/tmp; cp

[Kernel-packages] [Bug 1757565] Re: btrfs and tar sparse truncate archives

2018-03-22 Thread Ryan Harper
v4.14-rc1: BAD ubuntu@ubuntu:~$ uname -r 4.14.0-041400rc1-generic ubuntu@ubuntu:~$ sudo bash root@ubuntu:~# mount /dev/sda /mnt root@ubuntu:~# grep sda /proc/mounts /dev/sda /mnt btrfs rw,relatime,space_cache,subvolid=5,subvol=/ 0 0 root@ubuntu:~# SPARSE="-S"; rm -rf /mnt/tmp; md5sum

[Kernel-packages] [Bug 1757565] Re: btrfs and tar sparse truncate archives

2018-03-22 Thread Ryan Harper
** Also affects: tar (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1757565 Title: btrfs and tar sparse truncate archives Status in

[Kernel-packages] [Bug 1757565] [NEW] btrfs and tar sparse truncate archives

2018-03-21 Thread Ryan Harper
Public bug reported: root@ubuntu:~# lsb_release -rd Description:Ubuntu 17.10 Release:17.10 root@ubuntu:~# apt-cache policy linux-image-virtual linux-image-virtual: Installed: 4.13.0.37.40 Candidate: 4.13.0.37.40 Version table: *** 4.13.0.37.40 500 500

[Kernel-packages] [Bug 1729145] Re: /dev/bcache/by-uuid links not created after reboot

2018-03-19 Thread Ryan Harper
Xenial verified. root@ubuntu:~# lsb_release -rd Description:Ubuntu 16.04.4 LTS Release:16.04 root@ubuntu:~# uname -a Linux ubuntu 4.4.0-117-generic #141-Ubuntu SMP Tue Mar 13 11:58:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux root@ubuntu:~# apt-cache policy linux-image-virtual

[Kernel-packages] [Bug 1729145] Re: /dev/bcache/by-uuid links not created after reboot

2018-03-19 Thread Ryan Harper
Artful verified: ubuntu@ubuntu:~$ lsb_release -rd Description:Ubuntu 17.10 Release:17.10 ubuntu@ubuntu:~$ uname -a Linux ubuntu 4.13.0-38-generic #43-Ubuntu SMP Wed Mar 14 15:20:44 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux ubuntu@ubuntu:~$ apt-cache policy linux-image-virtual

Re: [Kernel-packages] [Bug 1729145] Re: /dev/bcache/by-uuid links not created after reboot

2018-03-19 Thread Ryan Harper
Not sure if this was supposed to also be fixed in bionic-proposed yet, but I assumed so and it's not working there; I'll test -proposed in artful and xenial next. ubuntu@ubuntu:~$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=18.04 DISTRIB_CODENAME=bionic DISTRIB_DESCRIPTION="Ubuntu

[Kernel-packages] [Bug 1754581] Re: trusty bcache NULL pointer exception

2018-03-19 Thread Ryan Harper
I think it may have always been present; I can recreate this on Trusty GA kernels; we've changed how we clean/remove bcache devices which I believe is triggering a new path on Trusty kernels. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed

Re: [Kernel-packages] [Bug 1754581] Re: trusty bcache NULL pointer exception

2018-03-09 Thread Ryan Harper
On Fri, Mar 9, 2018 at 9:49 AM, Joseph Salisbury wrote: > Did this issue start happening after an update/upgrade? Was there a > prior kernel version where you were not having this particular problem? I don't think so; how we're using/clearing/stopping bcache has

[Kernel-packages] [Bug 1754581] [NEW] trusty bcache NULL pointer exception

2018-03-09 Thread Ryan Harper
Public bug reported: successfully wiped device /dev/md0 on attempt 1/4 shutdown running on holder type: 'bcache' syspath: '/sys/class/block/bcache0' stopping bcache cacheset at: /sys/fs/bcache/7834b3df-d029-49a3-9c1b-3fd628db10f2 waiting for /sys/fs/bcache/7834b3df-d029-49a3-9c1b-3fd628db10f2 to

Re: [Kernel-packages] [Bug 1729145] Re: /dev/bcache/by-uuid links not created after reboot

2018-02-16 Thread Ryan Harper
On Fri, Feb 16, 2018 at 12:14 PM, Joseph Salisbury < joseph.salisb...@canonical.com> wrote: > @raharper, I got side tracked and it got pushed down on my list. I can > still send it upstream if you want. It's currently in Ubuntu as a SAUCE > patch. > That would be great! Thanks, > > -- > You

[Kernel-packages] [Bug 1729145] Re: /dev/bcache/by-uuid links not created after reboot

2018-02-16 Thread Ryan Harper
@jsalisbury Did you get a chance to forward the patch upstream? We've a userspace fix in the bcache-tools package for now; I've sent that upstream here: https://github.com/koverstreet/bcache-tools/pull/1 Kent was asking about the kernel fix, to which I pointed to the patch here. -- You

[Kernel-packages] [Bug 1742560] [NEW] zfsutils-linux recommends dkms when it's not needed

2018-01-10 Thread Ryan Harper
Public bug reported: 1. $ lsb_release -rd Description:Ubuntu 16.04.3 LTS Release:16.04 2. $ apt-cache policy zfsutils-linux zfsutils-linux: Installed: 0.6.5.6-0ubuntu18 Candidate: 0.6.5.6-0ubuntu18 Version table: *** 0.6.5.6-0ubuntu18 500 500

[Kernel-packages] [Bug 1737817] [NEW] artful bcache NULL pointer defererence

2017-12-12 Thread Ryan Harper
Public bug reported: [ 20.935396] BUG: unable to handle kernel NULL pointer dereference at 0b84 [ 20.936130] IP: _raw_spin_lock_irqsave+0x22/0x40 [ 20.936540] PGD 0 [ 20.936540] P4D 0 [ 20.936725] [ 20.937117] Oops: 0002 [#1] SMP [ 20.937570] Modules linked in:

Re: [Kernel-packages] [Bug 1729145] Re: /dev/bcache/by-uuid links not created after reboot

2017-12-12 Thread Ryan Harper
On Tue, Dec 12, 2017 at 5:52 AM, Dimitri John Ledkov wrote: > Once the kernel is fixed, are there any changes that are required to > systemd/udev? > No changes needed. > > ** Changed in: systemd (Ubuntu Bionic) >Status: New => Incomplete > > -- > You received

Re: [Kernel-packages] [Bug 1722311] Re: softlockups/rcu sched

2017-12-11 Thread Ryan Harper
On Tue, Oct 10, 2017 at 2:30 PM, Joseph Salisbury < joseph.salisb...@canonical.com> wrote: > Did this issue start happening after an update/upgrade? Was there a > prior kernel version where you were not having this particular problem? > Around, September this year is when we started noticing

Re: [Kernel-packages] [Bug 1729145] Re: /dev/bcache/by-uuid links not created after reboot

2017-12-07 Thread Ryan Harper
Confirmed bionic works as expected. I suspect you can send that upstream with my SoB faster than I can. Definitely interested in seeing if they'll take something like that. On Thu, Dec 7, 2017 at 1:21 PM, Joseph Salisbury < joseph.salisb...@canonical.com> wrote: > Thanks for testing and the

Re: [Kernel-packages] [Bug 1729145] Re: /dev/bcache/by-uuid links not created after reboot

2017-12-07 Thread Ryan Harper
Tested the xenial update. I had one boot where the links didn't get created, but I cannot recreate that issue now. On Thu, Dec 7, 2017 at 9:56 AM, Ryan Harper <ryan.har...@canonical.com> wrote: > Here's the Zesty test; all looks good. > > ubuntu@ubuntu:~$ cat /etc/cloud/build.in

Re: [Kernel-packages] [Bug 1729145] Re: /dev/bcache/by-uuid links not created after reboot

2017-12-07 Thread Ryan Harper
Here's the Zesty test; all looks good. ubuntu@ubuntu:~$ cat /etc/cloud/build.info build_name: server serial: 20171207 ubuntu@ubuntu:~$ uname -a Linux ubuntu 4.10.0-40-generic #44~lp1729145 SMP Wed Dec 6 16:21:45 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux ubuntu@ubuntu:~$ tree /dev/bcache /dev/bcache

Re: [Kernel-packages] [Bug 1729145] Re: /dev/bcache/by-uuid links not created after reboot

2017-12-05 Thread Ryan Harper
Thanks for doing the cleanup; Patch looks good and I approve. Signed-off-by: Ryan Harper <ryan.har...@canonical.com> On Tue, Dec 5, 2017 at 4:59 PM, Joseph Salisbury < joseph.salisb...@canonical.com> wrote: > In the final patch we submit for SRU, it will also include your Sign

Re: [Kernel-packages] [Bug 1729145] Re: /dev/bcache/by-uuid links not created after reboot

2017-12-05 Thread Ryan Harper
333685 -> ../../bcache2 ├── 57e009b1-6bf4-42ea-abe0-334b10941a0b -> ../../bcache0 ├── 7ce7dc32-7da9-42a8-899a-5d21ed7ea714 -> ../../bcache3 └── 92d882d8-38cd-4537-847b-6f9c40ba67b4 -> ../../bcache1 2 directories, 6 files On Tue, Dec 5, 2017 at 4:00 PM, Ryan Harper <ryan.har...

Re: [Kernel-packages] [Bug 1729145] Re: /dev/bcache/by-uuid links not created after reboot

2017-12-05 Thread Ryan Harper
Thanks! I'll give it a try today. On Tue, Dec 5, 2017 at 3:43 PM, Joseph Salisbury < joseph.salisb...@canonical.com> wrote: > I built an Artful test kernel with the path provided by Ryan. The test > kernel can be downloaded from: > > http://kernel.ubuntu.com/~jsalisbury/lp1729145/ > > Can

[Kernel-packages] [Bug 1729145] Re: /dev/bcache/by-uuid links not created after reboot

2017-12-04 Thread Ryan Harper
Revised patch, should fix error with kfree on env ** Patch added: "bcache_always_emit_backing_dev_change_uevent_v2.diff" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1729145/+attachment/5018329/+files/bcache_always_emit_backing_dev_change_uevent_v2.diff -- You received this bug

  1   2   >