[Bug 1738972] [NEW] [A] KVM Windows BSOD on 4.13.x

2017-12-19 Thread Fabian Grünbichler
Public bug reported:

== SRU Justification ==

Impact: Windows 2016 and 10 VMs running in Qemu VMs using KVM trigger
BSODs under certain memory conditions

Fix: Single follow-up upstream cherry pick which fixes the problem.

Regression Potential: Merged in 4.15 and 4.14.6, tested by multiple
affected users.

---

see https://marc.info/?l=linux-kernel&m=151203441531472&w=2 for the long
writeup

58582f04bc87b9d8d848d9163ce3355dd6f00602 is the cherry-pick in 4.14-6 (only 
context changes outside of the actual diff)
b1394e745b9453dcb5b0671c205b770e87dedb87 is the fix as applied in 4.15-rc3

I'll send the SRU patch as well.

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: New

** Summary changed:

- [Z] KVM Windows BSOD on 4.13.x
+ [A] KVM Windows BSOD on 4.13.x

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1738972

Title:
  [A] KVM Windows BSOD on 4.13.x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1738972/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1738975] [NEW] [A] skb leak in vhost_net / tun / tap

2017-12-19 Thread Fabian Grünbichler
Public bug reported:

== SRU Justification ==

Impact: Up to 30% performance regression for traffic from hypervisor
host to VM, caused by a memory leak

Fix: Cherry-picks from upstream stable tree to fix the memory leak

Regression Potential: Merged in 4.15 and 4.14.7, tested and verified by
multiple people.

--

See 
https://lkml.kernel.org/r/<4c7e2924-b10f-0e97-c388-c8809ecfd...@linux.vnet.ibm.com>
 for the original report and extensive discussion
See 
https://lkml.kernel.org/r/<1512123038-15773-1-git-send-email-w...@redhat.com> 
for the patch series in question

I'll send an SRU patch set with cherry-picks from 4.14.7 .

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: Confirmed

** Changed in: linux (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1738975

Title:
  [A] skb leak in vhost_net / tun / tap

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1738975/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1738972] Re: [A] KVM Windows BSOD on 4.13.x

2017-12-19 Thread Fabian Grünbichler
** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1738972

Title:
  [A] KVM Windows BSOD on 4.13.x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1738972/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1738975] Re: [A] skb leak in vhost_net / tun / tap

2017-12-19 Thread Fabian Grünbichler
patch set sent

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1738975

Title:
  [A] skb leak in vhost_net / tun / tap

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1738975/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1738972] Re: [A] KVM Windows BSOD on 4.13.x

2017-12-19 Thread Fabian Grünbichler
patch sent

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1738972

Title:
  [A] KVM Windows BSOD on 4.13.x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1738972/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1738982] [NEW] [A] KVM module in 4.13 no longer supports old Intel CPUs

2017-12-19 Thread Fabian Grünbichler
Public bug reported:

== SRU Justification ==

Impact: systems with CPUs lacking virtual NMI support are no longer able
to load the kvm_intel module, and thus not able to use KVM functionality

Fix: cherry-pick re-introducing support for software NMI support

Regression Potential: applied upstream in 4.15 and 4.14.3, tested and
verified by multiple people

--

the original dropping of support was (functionally) reverted after
upstream got notified of how many CPUs were actually affected

see 
https://lkml.kernel.org/r/<1509971473-74491-1-git-send-email-pbonz...@redhat.com>
 for upstream patch re-introducing support
see 
https://lkml.kernel.org/r/<1490618297-10581-2-git-send-email-pbonz...@redhat.com>
 for the original upstream patch dropping support and following discusison

I'll send an SRU patch.

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: Confirmed

** Changed in: linux (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1738982

Title:
  [A] KVM module in 4.13 no longer supports old Intel CPUs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1738982/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1738982] Re: [A] KVM module in 4.13 no longer supports old Intel CPUs

2017-12-19 Thread Fabian Grünbichler
patch sent

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1738982

Title:
  [A] KVM module in 4.13 no longer supports old Intel CPUs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1738982/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1738975] Re: [A] skb leak in vhost_net / tun / tap

2018-03-20 Thread Fabian Grünbichler
** Tags removed: verification-needed-artful
** Tags added: verification-done-artful

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1738975

Title:
  [A] skb leak in vhost_net / tun / tap

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1738975/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1738972] Re: [A] KVM Windows BSOD on 4.13.x

2018-03-20 Thread Fabian Grünbichler
** Tags removed: verification-needed-artful
** Tags added: verification-done-artful

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1738972

Title:
  [A] KVM Windows BSOD on 4.13.x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1738972/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1741081] Re: zfs-import-cache.service fails on startup

2018-03-02 Thread Fabian Grünbichler
IMHO this is completely backwards, see
https://github.com/zfsonlinux/zfs/pull/7259 for an upstream discussion
similar to this.

systemd service units are not the proper place to load modules - there
is {/lib,/etc}/modules-load.d/ which gets parsed by systemd-load-
modules.service early in the boot process, and ZoL even ships a
(disabled by default) snippet for /lib that supports. just flip that one
to enabled (admin can override via /etc) and you don't need to introduce
bogus services.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741081

Title:
  zfs-import-cache.service fails on startup

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1741081/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1682368] Re: refcount underflow / kernel NULL dereference after attempting to add basic tc filter

2017-04-14 Thread Fabian Grünbichler
this is easily reproducible and triggers at least a DoS on a freshly
installed 17.04 system, from within an unprivileged LXD container. see
the transcript for the executed commands, and journal-1 and journal-2
for the first and second kernel traces (caused by the second to last and
last "tc" commands executed in the container).

the end result is a complete hang/crash of the system.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1682368

Title:
  refcount underflow / kernel NULL dereference after attempting to add
  basic tc filter

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1682368/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1682368] Re: refcount underflow / kernel NULL dereference after attempting to add basic tc filter

2017-04-14 Thread Fabian Grünbichler
** Attachment added: "journal-1"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1682368/+attachment/4861894/+files/journal-1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1682368

Title:
  refcount underflow / kernel NULL dereference after attempting to add
  basic tc filter

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1682368/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1682368] Re: refcount underflow / kernel NULL dereference after attempting to add basic tc filter

2017-04-14 Thread Fabian Grünbichler
** Attachment added: "transcript"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1682368/+attachment/4861893/+files/transcript

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1682368

Title:
  refcount underflow / kernel NULL dereference after attempting to add
  basic tc filter

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1682368/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1682368] Re: refcount underflow / kernel NULL dereference after attempting to add basic tc filter

2017-04-14 Thread Fabian Grünbichler
** Attachment added: "journal-2"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1682368/+attachment/4861895/+files/journal-2

** Information type changed from Public to Public Security

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1682368

Title:
  refcount underflow / kernel NULL dereference after attempting to add
  basic tc filter

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1682368/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1682368] Re: refcount underflow / kernel NULL dereference after attempting to add basic tc filter

2017-04-18 Thread Fabian Grünbichler
@seth-arnold: no, not yet. shall we request one from Mitre or does
Ubuntu/Canonical have a pool to assign one?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1682368

Title:
  refcount underflow / kernel NULL dereference after attempting to add
  basic tc filter

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1682368/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1682368] Re: refcount underflow / kernel NULL dereference after attempting to add basic tc filter

2017-04-19 Thread Fabian Grünbichler
CVE requested, will include once I get a reply.

Note that Canonical is listed as CNA for "Ubuntu/Linux issues" at
http://cve.mitre.org/cve/cna.html - maybe that list needs an update
then?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1682368

Title:
  refcount underflow / kernel NULL dereference after attempting to add
  basic tc filter

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1682368/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1682368] Re: refcount underflow / kernel NULL dereference after attempting to add basic tc filter

2017-04-20 Thread Fabian Grünbichler
2017-7979 was assigned (http://cve.mitre.org/cgi-
bin/cvename.cgi?name=CVE-2017-7979), but is not yet known to LP it
seems..

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2017-7979

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1682368

Title:
  refcount underflow / kernel NULL dereference after attempting to add
  basic tc filter

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1682368/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1684731] Re: zfs-share.service: Failed at step EXEC spawning /usr/bin/rm: No such file or directory

2017-04-20 Thread Fabian Grünbichler
Also tracked in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842237
, where it was prematurely closed.

** Bug watch added: Debian Bug tracker #842237
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842237

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1684731

Title:
  zfs-share.service: Failed at step EXEC spawning /usr/bin/rm: No such
  file or directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1684731/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1682368] Re: refcount underflow / kernel NULL dereference after attempting to add basic tc filter

2017-04-21 Thread Fabian Grünbichler
the proposed fix has been queue for -stable in v3, now as a single patch:
http://marc.info/?t=14926902325

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1682368

Title:
  refcount underflow / kernel NULL dereference after attempting to add
  basic tc filter

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1682368/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1674838] Re: kernel BUG at /build/linux-7LGLH_/linux-4.10.0/include/linux/swapops.h:129

2017-04-24 Thread Fabian Grünbichler
the only big mm changes pulled in from 4.11.x that I could find with a
quick look through the history are related to KSM, but those are missing
a later fixup (from 4.11.x as well):

d75450ff40df0199bf13dfb19f435519ff947138 which fixes ace71a19cec5 ("mm:
introduce page_vma_mapped_walk()")

ace71a19cec5 was first contained in Ubuntu-4.10.0-14.16, which AFAICT
fits nicely into the working/non-working kernels reported by various
users here?

there are also a few other commits by the same upstream author, which do
not explicitly contain any followup/fixes tags but touch similar code,
some of which were picked.

since I cannot reproduce the problem at hand, I cannot tell whether
including that fixup helps, but it might be worth a shot.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1674838

Title:
  kernel BUG at /build/linux-
  7LGLH_/linux-4.10.0/include/linux/swapops.h:129

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1674838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1682368] Re: refcount underflow / kernel NULL dereference after attempting to add basic tc filter

2017-04-24 Thread Fabian Grünbichler
and applied in v4.11-rc8:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e0535ce58b92d7baf0b33284a6c4f8f0338f943e

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1682368

Title:
  refcount underflow / kernel NULL dereference after attempting to add
  basic tc filter

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1682368/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1668594] [NEW] Recent KVM RTC cherry-picks break (some) Windows Live-Migrations

2017-02-28 Thread Fabian Grünbichler
Public bug reported:

== SRU Justification ==

Impact: Windows Live-Migration does not work reliably anymore with
recent KVM RTC cherry-picks.

Fix: Single follow-up upstream cherry pick which fixes the problem.

Regression Potential: The patch has been upstream since 4.8, so it
should be well-tested at this point. Thus regressions are unlikely.

---

The fix for https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1649718
cherry-picked three commits from upstream 4.6 related to RTC interrupt
handling. Unfortunately, the followup commit included in 4.8 was missed.
As a result, Windwos Live-Migration in Qemu is broken on certain
hardware.

Test system's CPU:
 cat /proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 79
model name  : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
stepping: 1
microcode   : 0xb1b
cpu MHz : 1425.621
cache size  : 20480 KB
physical id : 0
siblings: 16
core id : 0
cpu cores   : 8
apicid  : 0
initial apicid  : 0
fpu : yes
fpu_exception   : yes
cpuid level : 20
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb 
rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology 
nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est 
tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt 
tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb 
intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle 
avx2 smep bmi2 erms invpcid rtm cqm rdseed adx smap xsaveopt cqm_llc 
cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm arat pln pts
bugs:
bogomips: 4199.88
clflush size: 64
cache_alignment : 64
address sizes   : 46 bits physical, 48 bits virtual
power management:

Live-Migrating a Windows Server 2016 VM (Qemu commandline below) hangs
the VM in about 1/3 attempts. Interestingly, migrating the VM back to
the original host allows the VM to run normally again (but subsequent
migration attempts might hang it again as well).

non-minimized qemu command line:
/usr/bin/kvm -id 101 -chardev 
'socket,id=qmp,path=/var/run/qemu-server/101.qmp,server,nowait' -mon 
'chardev=qmp,mode=control' -pidfile /var/run/qemu-server/101.pid -daemonize 
-smbios 'type=1,uuid=a6e1bea5-09ab-4f8a-b1c2-3991725892f5' -drive 
'if=pflash,unit=0,format=raw,readonly,file=/usr/share/kvm/OVMF_CODE-pure-efi.fd'
 -drive 'if=pflash,unit=1,format=raw,file=/tmp/101-ovmf.fd' -name Windows2016 
-smp '2,sockets=1,cores=2,maxcpus=2' -nodefaults -boot 
'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg'
 -vga std -vnc unix:/var/run/qemu-server/101.vnc,x509,password -no-hpet -cpu 
'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_spinlocks=0x1fff,hv_vapic,hv_time,hv_reset,hv_vpindex,hv_runtime,hv_relaxed'
 -m 2048 -k de -device 'pci-bridge,id=pci.1,chassis_nr=1,bus=pci.0,addr=0x1e' 
-device 'pci-bridge,id=pci.2,chassis_nr=2,bus=pci.0,addr=0x1f' -device 
'piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2' -device 
'usb-tablet,id=tablet,bus=uhci.0,port=1' -chardev 'socket,path=/va
 r/run/qemu-server/101.qga,server,nowait,id=qga0' -device 
'virtio-serial,id=qga0,bus=pci.0,addr=0x8' -device 
'virtserialport,chardev=qga0,name=org.qemu.guest_agent.0' -device 
'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' -iscsi 
'initiator-name=iqn.1993-08.org.debian:01:98525b424092' -drive 
'file=PATH,if=none,id=drive-ide2,media=cdrom,aio=threads' -device 
'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200' -device 
'virtio-scsi-pci,id=scsihw0,bus=pci.0,addr=0x5' -drive 
'file=PATH,if=none,id=drive-scsi0,cache=writeback,discard=on,format=raw,aio=threads,detect-zeroes=unmap'
 -device 
'scsi-hd,bus=scsihw0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0,id=scsi0,bootindex=100'
 -netdev 
'type=tap,id=net0,ifname=tap101i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on'
 -device 
'virtio-net-pci,mac=32:F5:16:78:A7:F0,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300'
 -rtc 'driftfix=slew,base=localtime' -global 'kvm-pit.lost_tick_p
 olicy=discard'

The causing commits were triaged via git bisect, applying the follow-up
commit b0eaf4506f5f95d15d6731d72c0ddf4a2179eefa fixes the issue with no
observable side-effects. Mainline 4.6 is also affected and triggers the
bug just like Ubuntu kernels >= Ubuntu-4.4.0-63.84

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668594

Title:
  Recent KVM RTC cherry-picks break (some) Windows Live-Migrations

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1668594/+subscr

[Bug 1682368] Re: refcount underflow / kernel NULL dereference after attempting to add basic tc filter

2017-05-25 Thread Fabian Grünbichler
** Tags removed: verification-needed-zesty
** Tags added: verification-done-zesty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1682368

Title:
  refcount underflow / kernel NULL dereference after attempting to add
  basic tc filter

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1682368/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1733230] Re: 'zfs recv' hangs when receiving from a FreeBSD zfs

2017-11-19 Thread Fabian Grünbichler
see https://github.com/zfsonlinux/zfs/pull/6616 for the fix in ZFS on
Linux 0.7.3 (on the sender side). not yet backported to Open-ZFS, and
thus not in FreeBSDs ZFS either.

this is not really a bug in ZFS on the receiver side, it was an
accidental break of backwards compatibility.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1733230

Title:
  'zfs recv' hangs when receiving from a FreeBSD zfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1733230/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1733230] Re: 'zfs recv' hangs when receiving from a FreeBSD zfs

2017-11-19 Thread Fabian Grünbichler
but, upgrading ZFS to 0.7.x would fix it on the receiving side, so that
might be an option for you ;)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1733230

Title:
  'zfs recv' hangs when receiving from a FreeBSD zfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1733230/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1709073] [NEW] [SRU][ZESTY]kernel BUG at /build/linux-H5UzH8/linux-4.10.0/drivers/nvme/host/pci.c:567!

2017-08-07 Thread Fabian Grünbichler
Public bug reported:

SRU Justification:

Impact: reliably reproducible kernel BUG_ON leading to complete system hang
Fix: cherry-pick upstream followup commit
Testcase: mkfs.btrfs on Samsung SM/PM961 no longer triggers the BUG_ON

Detailed description:

the fix for http://bugs.launchpad.net/bugs/1657539 which cherry-picked

729204ef49ec00b788ce23deb9eb922a5769f55d block: relax check on sg gap

is missing a follow-up fix commit

5a8d75a1b8c99bdc926ba69b7b7dbe4fae81a5af block: fix bio_will_gap() for
first bvec with offset

without, the following BUG_ON is triggered using a mkfs.btrfs
/dev/nvme0n1 on a Samsung SM961/PM961 M.2 device:

Aug 07 09:19:09 ubuntu kernel: kernel BUG at 
/build/linux-H5UzH8/linux-4.10.0/drivers/nvme/host/pci.c:567!
Aug 07 09:19:09 ubuntu kernel: invalid opcode:  [#1] SMP
Aug 07 09:19:09 ubuntu kernel: Modules linked in: nls_iso8859_1 ppdev 
snd_hda_intel snd_hda_codec snd_hda_core joydev snd_hwdep snd_pcm snd_ti
Aug 07 09:19:09 ubuntu kernel: CPU: 0 PID: 2071 Comm: mkfs.btrfs Not tainted 
4.10.0-30-generic #34-Ubuntu
Aug 07 09:19:09 ubuntu kernel: Hardware name: QEMU Standard PC (Q35 + ICH9, 
2009), BIOS 0.0.0 02/06/2015
Aug 07 09:19:09 ubuntu kernel: task: 8e537417bfc0 task.stack: 
b580c1698000
Aug 07 09:19:09 ubuntu kernel: RIP: 0010:nvme_queue_rq+0x746/0x8e0 [nvme]
Aug 07 09:19:09 ubuntu kernel: RSP: 0018:b580c169b950 EFLAGS: 00010286
Aug 07 09:19:09 ubuntu kernel: RAX: 0078 RBX: fa00 RCX: 
1000
Aug 07 09:19:09 ubuntu kernel: RDX: 0010 RSI: 0200 RDI: 
0246
Aug 07 09:19:09 ubuntu kernel: RBP: b580c169ba28 R08: 8e53733cb000 R09: 
fa00
Aug 07 09:19:09 ubuntu kernel: R10: 1000 R11: 8e53733d R12: 
000273a8a000
Aug 07 09:19:09 ubuntu kernel: R13: 0002fc00 R14: 8e53733cb000 R15: 
0200
Aug 07 09:19:09 ubuntu kernel: FS:  7f92511ba080() 
GS:8e537fc0() knlGS:
Aug 07 09:19:09 ubuntu kernel: CS:  0010 DS:  ES:  CR0: 80050033
Aug 07 09:19:09 ubuntu kernel: CR2: 7ffeecdc9000 CR3: 000274323000 CR4: 
06f0
Aug 07 09:19:09 ubuntu kernel: DR0:  DR1:  DR2: 

Aug 07 09:19:09 ubuntu kernel: DR3:  DR6: fffe0ff0 DR7: 
0400
Aug 07 09:19:09 ubuntu kernel: Call Trace:
Aug 07 09:19:09 ubuntu kernel:  blk_mq_try_issue_directly+0x7e/0x100
Aug 07 09:19:09 ubuntu kernel:  blk_mq_make_request+0x3cf/0x4e0
Aug 07 09:19:09 ubuntu kernel:  generic_make_request+0x110/0x2d0
Aug 07 09:19:09 ubuntu kernel:  submit_bio+0x73/0x150
Aug 07 09:19:09 ubuntu kernel:  ? __percpu_counter_add+0x4f/0x60
Aug 07 09:19:09 ubuntu kernel:  submit_bh_wbc+0x152/0x180
Aug 07 09:19:09 ubuntu kernel:  __block_write_full_page+0x176/0x360
Aug 07 09:19:09 ubuntu kernel:  ? I_BDEV+0x20/0x20
Aug 07 09:19:09 ubuntu kernel:  ? I_BDEV+0x20/0x20
Aug 07 09:19:09 ubuntu kernel:  block_write_full_page+0x13b/0x160
Aug 07 09:19:09 ubuntu kernel:  blkdev_writepage+0x18/0x20
Aug 07 09:19:09 ubuntu kernel:  __writepage+0x13/0x30
Aug 07 09:19:09 ubuntu kernel:  write_cache_pages+0x205/0x530
Aug 07 09:19:09 ubuntu kernel:  ? wb_position_ratio+0x1f0/0x1f0
Aug 07 09:19:09 ubuntu kernel:  generic_writepages+0x56/0x90
Aug 07 09:19:09 ubuntu kernel:  blkdev_writepages+0x2f/0x40
Aug 07 09:19:09 ubuntu kernel:  do_writepages+0x1e/0x30
Aug 07 09:19:09 ubuntu kernel:  __filemap_fdatawrite_range+0xc6/0x100
Aug 07 09:19:09 ubuntu kernel:  SyS_fadvise64+0x25e/0x290
Aug 07 09:19:09 ubuntu kernel:  entry_SYSCALL_64_fastpath+0x1e/0xad
Aug 07 09:19:09 ubuntu kernel: RIP: 0033:0x7f925066debd
Aug 07 09:19:09 ubuntu kernel: RSP: 002b:7ffeecd46a38 EFLAGS: 0246 
ORIG_RAX: 00dd
Aug 07 09:19:09 ubuntu kernel: RAX: ffda RBX: 7ffeecd45a30 RCX: 
7f925066debd
Aug 07 09:19:09 ubuntu kernel: RDX:  RSI:  RDI: 
0004
Aug 07 09:19:09 ubuntu kernel: RBP:  R08:  R09: 
1001
Aug 07 09:19:09 ubuntu kernel: R10: 0004 R11: 0246 R12: 
0010
Aug 07 09:19:09 ubuntu kernel: R13: 7ffeecd45a40 R14: 0004 R15: 

Aug 07 09:19:09 ubuntu kernel: Code: f1 61 26 d5 8b 95 48 ff ff ff 48 89 85 60 
ff ff ff 4c 8b 50 10 44 8b 48 18 8b 8d 50 ff ff ff 44 8b 9d 58
Aug 07 09:19:09 ubuntu kernel: RIP: nvme_queue_rq+0x746/0x8e0 [nvme] RSP: 
b580c169b950

LKML reference: https://lkml.org/lkml/2017/4/13/105

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: zesty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1709073

Title:
  [SRU][ZESTY]kernel BUG at /build/linux-
  H5UzH8/linux-4.10.0/drivers/nvme/host/pci.c:567!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ub

[Bug 1709073] Re: [SRU][ZESTY]kernel BUG at /build/linux-H5UzH8/linux-4.10.0/drivers/nvme/host/pci.c:567!

2017-08-07 Thread Fabian Grünbichler
** Tags added: zesty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1709073

Title:
  [SRU][ZESTY]kernel BUG at /build/linux-
  H5UzH8/linux-4.10.0/drivers/nvme/host/pci.c:567!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1709073/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1709073] Re: [SRU][ZESTY]kernel BUG at /build/linux-H5UzH8/linux-4.10.0/drivers/nvme/host/pci.c:567!

2017-08-07 Thread Fabian Grünbichler
apport-collect does not work after triggering the issue, and I have
included the relevant kernel traces anyway. => confirmed

** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1709073

Title:
  [SRU][ZESTY]kernel BUG at /build/linux-
  H5UzH8/linux-4.10.0/drivers/nvme/host/pci.c:567!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1709073/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1726519] Re: Unable to handle kernel NULL pointer dereference at isci_task_abort_task

2018-01-12 Thread Fabian Grünbichler
the following upstream patch seems like a likely fix:

https://patchwork.kernel.org/patch/10154587/

otherwise, reverting the buggy commit seems to solve the issue as well
as a temporary measure.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1726519

Title:
  Unable to handle kernel NULL pointer dereference at
  isci_task_abort_task

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1726519/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1636517] Re: zfs: importing zpool with vdev on zvol hangs kernel

2016-11-16 Thread Fabian Grünbichler
issue does not occur anymore for xenial (Ubuntu-4.4.0-49.70)

** Tags removed: verification-needed-xenial
** Tags added: verification-done-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1636517

Title:
  zfs: importing zpool with vdev on zvol hangs kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1636517/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1647400] Re: system freeze when swapping to encrypted swap partition

2017-01-13 Thread Fabian Grünbichler
Continuing in
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1655842 ?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1647400

Title:
  system freeze when swapping to encrypted swap partition

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1647400/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1655842] Re: "Out of memory" errors after upgrade to 4.4.0-59

2017-01-13 Thread Fabian Grünbichler
you could also try cherry-picking
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-
stable.git/commit/?id=6b4e3181d7bd5ca5ab6f45929e4a5ffa7ab4ab7f , but
that will probably need some more inbetween patches as well..

reverting the two commits fixed the issue for our users (Proxmox VE,
which uses a kernel based on the 4.4.x one from 16.04)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1655842

Title:
  "Out of memory" errors after upgrade to 4.4.0-59

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1655842/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1647400] Re: system freeze when swapping to encrypted swap partition

2017-01-09 Thread Fabian Grünbichler
cherry-picking these two commits should also be accompanied by cherry-
picking https://git.kernel.org/cgit/linux/kernel/git/stable/linux-
stable.git/commit/?id=6b4e3181d7bd5ca5ab6f45929e4a5ffa7ab4ab7f ,
otherwise users will see a lot of pre-mature OOM kills..

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1647400

Title:
  system freeze when swapping to encrypted swap partition

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1647400/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1668594] Re: Recent KVM RTC cherry-picks break (some) Windows Live-Migrations

2017-03-09 Thread Fabian Grünbichler
works as expected, thanks.

** Tags removed: verification-needed-xenial
** Tags added: verification-done-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668594

Title:
  Recent KVM RTC cherry-picks break (some) Windows Live-Migrations

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1668594/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1709073] Re: [SRU][ZESTY]kernel BUG at /build/linux-H5UzH8/linux-4.10.0/drivers/nvme/host/pci.c:567!

2017-09-01 Thread Fabian Grünbichler
no longer have the test hardware to verify the kernel in -proposed, but
I did verify that the commit in question fixes the problem (hence my
report ;)).

** Tags removed: verification-needed-zesty
** Tags added: verification-done-zesty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1709073

Title:
  [SRU][ZESTY]kernel BUG at /build/linux-
  H5UzH8/linux-4.10.0/drivers/nvme/host/pci.c:567!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1709073/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1682368] [NEW] refcount underflow / kernel NULL dereference after attempting to add basic tc filter

2017-04-13 Thread Fabian Grünbichler
Public bug reported:

== SRU Justification ==

Impact: adding a tc filter sometimes fails, potentially followed by
kernel hangs and kernel NULL pointer dereference

Fix: proposed upstream by Wolfgang Bumiller [1,2]

Regression Potential: Since nobody else noticed this issue in 4.11 >=
rc1 or Ubuntu 4.10 >= 15.17, and the fix only touches the broken code,
the regression potential should be minimal ;)

1: http://marc.info/?l=linux-netdev&m=149200746116365
2: http://marc.info/?l=linux-netdev&m=149200742616349

---

Commit 1045ba77a which was backported for #1674087 in
fc0cef7a8ec1e63ee3405f642983dd86e04ab6cc (first released with
Ubuntu-4.10.0-15.17) introduces the problematic code. Note that while
the traces below were generated using a custom patched kernel, the same
issue is reproducible using Ubuntu Zesty's 4.10.0-15.17 (and later)
kernels.

The full cover letter of the proposed fix by my colleague Wolfgang
Bumiller follows:

Commit 1045ba77a ("net sched actions: Add support for user cookies")
added code to net/sched/act_api.c's tcf_action_init_1 using the `tb`
nlattr array unconditionally, while it was otherwise used as well as
initialized only when `name == NULL`:

if (name == NULL) {
err = nla_parse_nested(tb, TCA_ACT_MAX, nla, NULL);

In the other case `nla` is instead passed over to ->init to be parsed
there (using a different set of TCA_ enum values, iow. TCA_ACT_COOKIE
then "clashes" with some other value). This lead to the following three
example commands resulting in errors (sometimes followed by more traces
and hangups some time later (although the hangups happened seconds or
sometimes minutes later, sometimes not at all - results differed between
different kernel versions (linux git-master vs ubuntu's mainline 4.11
rc6 vs. pve 4.10.5 (based off ubuntu's zesty kernel where the commit is
cherry-picked)...))):

 # ip link add ve0 type veth peer name ve0b
 # tc qdisc add dev ve0 handle : ingress
 # tc filter add dev ve0 parent : prio 50 basic police rate 1000bps burst 
1000b drop

The 3rd command would sometimes succeed, sometimes error with:

 RTNETLINK answers: Invalid argument
 We have an error talking to the kernel

and sometimes error with:

 RTNETLINK answers: Cannot allocate memory
 We have an error talking to the kernel

In the latter case I assume `cklen` became negative, which passes the
TC_COOKIE_MAX_SIZE check since it is signed but becomes unsigned later
in kmemdup() (see the crash dump below)

When the `tc filter add` command fails a backtrace shows up in dmesg,
added below.

I'm not sure why the TC_ACT_COOKIE code was added to tcf_action_init_1
where it is now. It makes me think that it's supposed to be available
universally, but the `name == NULL` check for how nla is used or passed
to ->init() shows that the there are various different TC_ACT_* enums in
use at this point, hence the 'RFC' part of the patches, I'm not that
familiar with the code yet.

Backtrace when running `tc filter add`:

Apr 12 11:31:38 testmachine kernel: [ cut here ]
Apr 12 11:31:38 testmachine kernel: WARNING: CPU: 7 PID: 16596 at 
mm/page_alloc.c:3541 __alloc_pages_slowpath+0x9fe/0xba0
Apr 12 11:31:38 testmachine kernel: Modules linked in: act_police cls_basic 
sch_ingress veth nfsv3 nfs_acl nfs lockd grace ip6t_REJECT nf_reject_ipv6 
nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables xt_mac ipt_REJECT 
nf_reject_ipv4 xt_physdev xt_comment nf_conntrack_ipv4 nf_defrag_ipv4 xt_tcpudp 
xt_mark xt_set xt_addrtype xt_multiport xt_conntrack nf_conntrack 
ip_set_hash_net ip_set arc4 md4 nls_utf8 cifs ccm fscache ipta
Apr 12 11:31:38 testmachine kernel:  snd_hda_codec_realtek 
snd_hda_codec_generic aesni_intel aes_x86_64 crypto_simd drm_kms_helper 
glue_helper cryptd drm snd_hda_intel intel_cstate snd_hda_codec i2c_algo_bit 
fb_sys_fops snd_hda_core joydev syscopyarea snd_hwdep sysfillrect input_leds 
sysimgblt intel_rapl_perf snd_pcm snd_timer snd pcspkr soundcore mei_me lpc_ich 
mei shpchp tpm_infineon mac_hid wmi acpi_pad video vhost_net vhost macv
Apr 12 11:31:38 testmachine kernel: CPU: 7 PID: 16596 Comm: tc Tainted: P   
O4.10.5-1-pve #1
Apr 12 11:31:38 testmachine kernel: Hardware name: ASUS All Series/Z97-A, 
BIOS 2801 11/11/2015
Apr 12 11:31:38 testmachine kernel: Call Trace:
Apr 12 11:31:38 testmachine kernel:  dump_stack+0x63/0x81
Apr 12 11:31:38 testmachine kernel:  __warn+0xcb/0xf0
Apr 12 11:31:38 testmachine kernel:  warn_slowpath_null+0x1d/0x20
Apr 12 11:31:38 testmachine kernel:  __alloc_pages_slowpath+0x9fe/0xba0
Apr 12 11:31:38 testmachine kernel:  ? get_page_from_freelist+0x46a/0xb20
Apr 12 11:31:38 testmachine kernel:  ? schedule+0x36/0x80
Apr 12 11:31:38 testmachine kernel:  ? schedule_timeout+0x22a/0x3f0
Apr 12 11:31:38 testmachine kernel:  __alloc_pages_nodemask+0x209/0x260
Apr 12 11:31:38 testmachine kernel:  alloc_pages_current+0x95/0x140
Apr 12 11:31

[Bug 1682368] Re: refcount underflow / kernel NULL dereference after attempting to add basic tc filter

2017-04-13 Thread Fabian Grünbichler
SRU request sent to kernel-team list.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1682368

Title:
  refcount underflow / kernel NULL dereference after attempting to add
  basic tc filter

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1682368/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1682368] Re: refcount underflow / kernel NULL dereference after attempting to add basic tc filter

2017-04-13 Thread Fabian Grünbichler
** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1682368

Title:
  refcount underflow / kernel NULL dereference after attempting to add
  basic tc filter

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1682368/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1682368] Re: refcount underflow / kernel NULL dereference after attempting to add basic tc filter

2017-04-13 Thread Fabian Grünbichler
See https://bugzilla.proxmox.com/show_bug.cgi?id=1351 and
https://forum.proxmox.com/threads/proxmox-
ve-5-0-beta1-released.33731/page-4#post-167127 for downstream reports by
users.

** Bug watch added: bugzilla.proxmox.com/ #1351
   https://bugzilla.proxmox.com/show_bug.cgi?id=1351

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1682368

Title:
  refcount underflow / kernel NULL dereference after attempting to add
  basic tc filter

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1682368/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1674838] Re: kernel BUG at /build/linux-7LGLH_/linux-4.10.0/include/linux/swapops.h:129

2017-05-09 Thread Fabian Grünbichler
@tasman: it's already slated for inclusion into one of the next kernel
packages: https://lists.ubuntu.com/archives/kernel-
team/2017-May/083976.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1674838

Title:
  kernel BUG at /build/linux-
  7LGLH_/linux-4.10.0/include/linux/swapops.h:129

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1674838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1560869] Re: Concurrent zfs create and rename operations can lock a zpool completely

2016-03-23 Thread Fabian Grünbichler
** Attachment added: "dmesg.log"
   
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1560869/+attachment/4608348/+files/dmesg.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1560869

Title:
  Concurrent zfs create and rename operations can lock a zpool
  completely

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1560869/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1560869] Re: Concurrent zfs create and rename operations can lock a zpool completely

2016-03-23 Thread Fabian Grünbichler
** Attachment added: "uname-a.log"
   
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1560869/+attachment/4608347/+files/uname-a.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1560869

Title:
  Concurrent zfs create and rename operations can lock a zpool
  completely

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1560869/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1560869] Re: Concurrent zfs create and rename operations can lock a zpool completely

2016-03-23 Thread Fabian Grünbichler
Stack traces of hanging processes collected via /proc//stack:

proc-1519-stack.log:
[] cv_wait_common+0x109/0x140 [spl]
[] __cv_wait_sig+0x15/0x20 [spl]
[] txg_quiesce_thread+0x3e1/0x3f0 [zfs]
[] thread_generic_wrapper+0x71/0x80 [spl]
[] kthread+0xd8/0xf0
[] ret_from_fork+0x3f/0x70
[] 0x
proc-1520-stack.log:
[] zvol_rename_minors+0x58/0x190 [zfs]
[] dsl_dir_rename_sync+0x31d/0x5a0 [zfs]
[] dsl_sync_task_sync+0xe9/0xf0 [zfs]
[] dsl_pool_sync+0x327/0x430 [zfs]
[] spa_sync+0x366/0xb30 [zfs]
[] txg_sync_thread+0x3ba/0x630 [zfs]
[] thread_generic_wrapper+0x71/0x80 [spl]
[] kthread+0xd8/0xf0
[] ret_from_fork+0x3f/0x70
[] 0x
proc-1763-stack.log:
[] cv_wait_common+0x109/0x140 [spl]
[] __cv_wait_sig+0x15/0x20 [spl]
[] zfs_zevent_wait+0x88/0xa0 [zfs]
[] zfs_ioc_events_next+0xa6/0xe0 [zfs]
[] zfsdev_ioctl+0x423/0x4b0 [zfs]
[] do_vfs_ioctl+0x29f/0x490
[] SyS_ioctl+0x79/0x90
[] entry_SYSCALL_64_fastpath+0x16/0x71
[] 0x
proc-7027-stack.log:
[] cv_wait_common+0x109/0x140 [spl]
[] __cv_wait+0x15/0x20 [spl]
[] rrw_enter_read_impl+0x4c/0x160 [zfs]
[] rrw_enter+0x1c/0x20 [zfs]
[] dsl_pool_hold+0x5a/0x80 [zfs]
[] dmu_objset_own+0x44/0xd0 [zfs]
[] __zvol_create_minor+0x127/0x640 [zfs]
[] zvol_create_minor+0x33/0x70 [zfs]
[] zvol_create_minors_cb+0xe/0x20 [zfs]
[] dmu_objset_find_impl+0x112/0x3f0 [zfs]
[] dmu_objset_find+0x58/0x90 [zfs]
[] zvol_create_minors+0x29/0x30 [zfs]
[] zfs_ioc_create+0x190/0x2a0 [zfs]
[] zfsdev_ioctl+0x218/0x4b0 [zfs]
[] do_vfs_ioctl+0x29f/0x490
[] SyS_ioctl+0x79/0x90
[] entry_SYSCALL_64_fastpath+0x16/0x71
[] 0x
proc-7038-stack.log:
[] cv_wait_common+0x109/0x140 [spl]
[] __cv_wait+0x15/0x20 [spl]
[] txg_wait_synced+0xe5/0x130 [zfs]
[] dsl_sync_task+0x179/0x260 [zfs]
[] dsl_dir_rename+0x5b/0x80 [zfs]
[] zfs_ioc_rename+0x10d/0x120 [zfs]
[] zfsdev_ioctl+0x423/0x4b0 [zfs]
[] do_vfs_ioctl+0x29f/0x490
[] SyS_ioctl+0x79/0x90
[] entry_SYSCALL_64_fastpath+0x16/0x71
[] 0x


** Also affects: linux (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1560869

Title:
  Concurrent zfs create and rename operations can lock a zpool
  completely

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1560869/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1560869] Re: Concurrent zfs create and rename operations can lock a zpool completely

2016-03-23 Thread Fabian Grünbichler
** Attachment added: "ps-faxl.log"
   
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1560869/+attachment/4608350/+files/ps-faxl.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1560869

Title:
  Concurrent zfs create and rename operations can lock a zpool
  completely

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1560869/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1560869] [NEW] Concurrent zfs create and rename operations can lock a zpool completely

2016-03-23 Thread Fabian Grünbichler
Public bug reported:

When doing "zfs create -V" and "zfs rename" operations on the same zpool
in parallel, there is a high chance for a deadlock leading to a complete
hang of the zpool in question (i.e., all further zfs operations hang
indefinitely).

Attached you find a simple perl script that should trigger the bug (the
pool variable needs to be set to your pool name), if run in two shells
at the same time:

$ for i in `seq 1 100`; do sudo ./zfsrenamebug.pl "A$i"; done

$ for i in `seq 1 100`; do sudo ./zfsrenamebug.pl "B$i"; done

Reported upstream in https://github.com/zfsonlinux/zfs/issues/4404 and
apparently fixed with the linked commits.

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: Incomplete

** Affects: zfs-linux (Ubuntu)
 Importance: Undecided
 Status: New

** Attachment added: "Script to trigger bug"
   
https://bugs.launchpad.net/bugs/1560869/+attachment/4608345/+files/zfsrenamebug.pl

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1560869

Title:
  Concurrent zfs create and rename operations can lock a zpool
  completely

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1560869/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1560869] Re: Concurrent zfs create and rename operations can lock a zpool completely

2016-03-23 Thread Fabian Grünbichler
** Attachment added: "version.log"
   
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1560869/+attachment/4608346/+files/version.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1560869

Title:
  Concurrent zfs create and rename operations can lock a zpool
  completely

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1560869/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1560869] ProcInterrupts.txt

2016-03-23 Thread Fabian Grünbichler
apport information

** Attachment added: "ProcInterrupts.txt"
   
https://bugs.launchpad.net/bugs/1560869/+attachment/4608360/+files/ProcInterrupts.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1560869

Title:
  Concurrent zfs create and rename operations can lock a zpool
  completely

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1560869/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1560869] CurrentDmesg.txt

2016-03-23 Thread Fabian Grünbichler
apport information

** Attachment added: "CurrentDmesg.txt"
   
https://bugs.launchpad.net/bugs/1560869/+attachment/4608355/+files/CurrentDmesg.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1560869

Title:
  Concurrent zfs create and rename operations can lock a zpool
  completely

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1560869/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1560869] WifiSyslog.txt

2016-03-23 Thread Fabian Grünbichler
apport information

** Attachment added: "WifiSyslog.txt"
   
https://bugs.launchpad.net/bugs/1560869/+attachment/4608364/+files/WifiSyslog.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1560869

Title:
  Concurrent zfs create and rename operations can lock a zpool
  completely

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1560869/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1560869] Lspci.txt

2016-03-23 Thread Fabian Grünbichler
apport information

** Attachment added: "Lspci.txt"
   https://bugs.launchpad.net/bugs/1560869/+attachment/4608357/+files/Lspci.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1560869

Title:
  Concurrent zfs create and rename operations can lock a zpool
  completely

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1560869/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1560869] ProcEnviron.txt

2016-03-23 Thread Fabian Grünbichler
apport information

** Attachment added: "ProcEnviron.txt"
   
https://bugs.launchpad.net/bugs/1560869/+attachment/4608359/+files/ProcEnviron.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1560869

Title:
  Concurrent zfs create and rename operations can lock a zpool
  completely

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1560869/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1560869] Re: Concurrent zfs create and rename operations can lock a zpool completely

2016-03-23 Thread Fabian Grünbichler
apport information

** Tags added: apport-collected xenial

** Description changed:

  When doing "zfs create -V" and "zfs rename" operations on the same zpool
  in parallel, there is a high chance for a deadlock leading to a complete
  hang of the zpool in question (i.e., all further zfs operations hang
  indefinitely).
  
  Attached you find a simple perl script that should trigger the bug (the
  pool variable needs to be set to your pool name), if run in two shells
  at the same time:
  
  $ for i in `seq 1 100`; do sudo ./zfsrenamebug.pl "A$i"; done
  
  $ for i in `seq 1 100`; do sudo ./zfsrenamebug.pl "B$i"; done
  
- Reported upstream in https://github.com/zfsonlinux/zfs/issues/4404 and
- apparently fixed with the linked commits.
+ Reported upstream in https://github.com/zfsonlinux/zfs/issues/4404 and 
apparently fixed with the linked commits.
+ --- 
+ ApportVersion: 2.20-0ubuntu3
+ Architecture: amd64
+ AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
+ CurrentDesktop: Unity
+ DistroRelease: Ubuntu 16.04
+ HibernationDevice: RESUME=UUID=41b79831-ff2c-4d62-8d09-0fd00a3fafad
+ InstallationDate: Installed on 2016-03-18 (4 days ago)
+ InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160307)
+ IwConfig:
+  ens18 no wireless extensions.
+  
+  lono wireless extensions.
+ Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
+ MachineType: QEMU Standard PC (i440FX + PIIX, 1996)
+ NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
+ Package: zfs-linux
+ ProcFB: 0 qxldrmfb
+ ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic 
root=UUID=ff5bf1a3-8ced-46a8-9e2e-e3e7d0e522c0 ro quiet splash vt.handoff=7
+ ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6
+ RelatedPackageVersions:
+  linux-restricted-modules-4.4.0-15-generic N/A
+  linux-backports-modules-4.4.0-15-generic  N/A
+  linux-firmware1.157
+ RfKill:
+  
+ Tags:  xenial
+ Uname: Linux 4.4.0-15-generic x86_64
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
+ _MarkForUpload: True
+ dmi.bios.date: 04/01/2014
+ dmi.bios.vendor: SeaBIOS
+ dmi.bios.version: rel-1.8.2-0-g33fbe13 by qemu-project.org
+ dmi.chassis.type: 1
+ dmi.chassis.vendor: QEMU
+ dmi.chassis.version: pc-i440fx-2.5
+ dmi.modalias: 
dmi:bvnSeaBIOS:bvrrel-1.8.2-0-g33fbe13byqemu-project.org:bd04/01/2014:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-2.5:cvnQEMU:ct1:cvrpc-i440fx-2.5:
+ dmi.product.name: Standard PC (i440FX + PIIX, 1996)
+ dmi.product.version: pc-i440fx-2.5
+ dmi.sys.vendor: QEMU

** Attachment added: "AlsaInfo.txt"
   
https://bugs.launchpad.net/bugs/1560869/+attachment/4608353/+files/AlsaInfo.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1560869

Title:
  Concurrent zfs create and rename operations can lock a zpool
  completely

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1560869/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1560869] ProcModules.txt

2016-03-23 Thread Fabian Grünbichler
apport information

** Attachment added: "ProcModules.txt"
   
https://bugs.launchpad.net/bugs/1560869/+attachment/4608361/+files/ProcModules.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1560869

Title:
  Concurrent zfs create and rename operations can lock a zpool
  completely

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1560869/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1560869] UdevDb.txt

2016-03-23 Thread Fabian Grünbichler
apport information

** Attachment added: "UdevDb.txt"
   https://bugs.launchpad.net/bugs/1560869/+attachment/4608363/+files/UdevDb.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1560869

Title:
  Concurrent zfs create and rename operations can lock a zpool
  completely

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1560869/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1560869] CRDA.txt

2016-03-23 Thread Fabian Grünbichler
apport information

** Attachment added: "CRDA.txt"
   https://bugs.launchpad.net/bugs/1560869/+attachment/4608354/+files/CRDA.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1560869

Title:
  Concurrent zfs create and rename operations can lock a zpool
  completely

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1560869/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1560869] ProcCpuinfo.txt

2016-03-23 Thread Fabian Grünbichler
apport information

** Attachment added: "ProcCpuinfo.txt"
   
https://bugs.launchpad.net/bugs/1560869/+attachment/4608358/+files/ProcCpuinfo.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1560869

Title:
  Concurrent zfs create and rename operations can lock a zpool
  completely

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1560869/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1560869] PulseList.txt

2016-03-23 Thread Fabian Grünbichler
apport information

** Attachment added: "PulseList.txt"
   
https://bugs.launchpad.net/bugs/1560869/+attachment/4608362/+files/PulseList.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1560869

Title:
  Concurrent zfs create and rename operations can lock a zpool
  completely

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1560869/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1560869] JournalErrors.txt

2016-03-23 Thread Fabian Grünbichler
apport information

** Attachment added: "JournalErrors.txt"
   
https://bugs.launchpad.net/bugs/1560869/+attachment/4608356/+files/JournalErrors.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1560869

Title:
  Concurrent zfs create and rename operations can lock a zpool
  completely

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1560869/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1560869] Re: Concurrent zfs create and rename operations can lock a zpool completely

2016-03-23 Thread Fabian Grünbichler
Another note: this can also be triggered only with rename operations on
zvols:

$ sudo zfs create -V 4096k pool1/zfsrename 1
$ sudo zfs create -V 4096k pool1/zfsrename 3

and then in two shells in parallel:

$ while : ; do echo "RENAME" `date`; sudo zfs rename pool1/testrename3
pool1/testrename4; sudo zfs rename pool1/testrename4 pool1/testrename3;
done

$ while : ; do echo "RENAME" `date`; sudo zfs rename pool1/testrename1
pool1/testrename2; sudo zfs rename pool1/testrename2 pool1/testrename1;
done

takes a bit longer than with the create rename destroy script from
above, but triggers after 10-15 seconds in the same test VM:

user@test:~$ sudo cat /proc/6338/stack
[] spa_open_common+0x61/0x480 [zfs]
[] spa_open+0x13/0x20 [zfs]
[] pool_status_check.part.24+0x32/0xa0 [zfs]
[] zfsdev_ioctl+0x389/0x4b0 [zfs]
[] do_vfs_ioctl+0x29f/0x490
[] SyS_ioctl+0x79/0x90
[] entry_SYSCALL_64_fastpath+0x16/0x71
[] 0x
user@test:~$ sudo cat /proc/6333/stack
[] cv_wait_common+0x109/0x140 [spl]
[] __cv_wait+0x15/0x20 [spl]
[] txg_wait_synced+0xe5/0x130 [zfs]
[] dsl_sync_task+0x179/0x260 [zfs]
[] dsl_dir_rename+0x5b/0x80 [zfs]
[] zfs_ioc_rename+0x10d/0x120 [zfs]
[] zfsdev_ioctl+0x423/0x4b0 [zfs]
[] do_vfs_ioctl+0x29f/0x490
[] SyS_ioctl+0x79/0x90
[] entry_SYSCALL_64_fastpath+0x16/0x71
[] 0x


** Attachment added: "ps faxl output"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1560869/+attachment/4608435/+files/psfaxl.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1560869

Title:
  Concurrent zfs create and rename operations can lock a zpool
  completely

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1560869/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1636517] [NEW] zfs: importing zpool with vdev on zvol hangs kernel

2016-10-25 Thread Fabian Grünbichler
Public bug reported:

if a zvol of an existing, already imported zpool is a vdev of another
zpool, a call to "zpool import" will everything zfs related. the stack
trace is as follows:

[] taskq_wait+0x74/0xe0 [spl]
[] taskq_destroy+0x4b/0x100 [spl]
[] vdev_open_children+0x12d/0x180 [zfs]
[] vdev_root_open+0x3c/0xc0 [zfs]
[] vdev_open+0xf5/0x4d0 [zfs]
[] spa_load+0x39e/0x1c60 [zfs]
[] spa_tryimport+0xad/0x450 [zfs]
[] zfs_ioc_pool_tryimport+0x64/0xa0 [zfs]
[] zfsdev_ioctl+0x44b/0x4e0 [zfs]
[] do_vfs_ioctl+0x29f/0x490
[] SyS_ioctl+0x79/0x90
[] entry_SYSCALL_64_fastpath+0x16/0x71
[] 0x

I traced this back to 193fb6a2c94fab8eb8ce70a5da4d21c7d4023bee (merged
in 4.4.0-6.21), which added a second parameter to lookup_bdev without
patching the zfs module (which needs to special case the vdev-on-zvol
case, and uses this exact method only in this special casing code path).

attached you can find the output of "zfs send -R" ing such a zvol
("brokenvol.raw"), running "zfs receive POOL/TARGET < FILE" followed by
"zpool import" should reproduce the hang.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-45-generic 4.4.0-45.66
ProcVersionSignature: Ubuntu 4.4.0-45.66-generic 4.4.21
Uname: Linux 4.4.0-45-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
AlsaDevices:
 total 0
 crw-rw 1 root audio 116,  1 Oct 25 15:46 seq
 crw-rw 1 root audio 116, 33 Oct 25 15:46 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
Date: Tue Oct 25 15:49:51 2016
HibernationDevice: RESUME=/dev/mapper/xenial--vg-swap_1
InstallationDate: Installed on 2016-10-25 (0 days ago)
InstallationMedia: Ubuntu-Server 16.04.1 LTS "Xenial Xerus" - Release amd64 
(20160719)
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: QEMU Standard PC (i440FX + PIIX, 1996)
PciMultimedia:
 
ProcFB: 0 qxldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-45-generic 
root=/dev/mapper/hostname--vg-root ro
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-45-generic N/A
 linux-backports-modules-4.4.0-45-generic  N/A
 linux-firmware1.157.4
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/01/2014
dmi.bios.vendor: SeaBIOS
dmi.bios.version: rel-1.9.3-0-ge2fc41e-prebuilt.qemu-project.org
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.version: pc-i440fx-2.7
dmi.modalias: 
dmi:bvnSeaBIOS:bvrrel-1.9.3-0-ge2fc41e-prebuilt.qemu-project.org:bd04/01/2014:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-2.7:cvnQEMU:ct1:cvrpc-i440fx-2.7:
dmi.product.name: Standard PC (i440FX + PIIX, 1996)
dmi.product.version: pc-i440fx-2.7
dmi.sys.vendor: QEMU

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: Confirmed


** Tags: amd64 apport-bug xenial

** Attachment added: "brokenvol.raw"
   
https://bugs.launchpad.net/bugs/1636517/+attachment/4767000/+files/brokenvol.raw

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1636517

Title:
  zfs: importing zpool with vdev on zvol hangs kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1636517/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1636517] Re: zfs: importing zpool with vdev on zvol hangs kernel

2016-10-25 Thread Fabian Grünbichler
attached patch with fix tested with 4.4.0-45.66

note that instead of hardcoding the patched variant of lookup_bdev, it
might make sense to adapt the zfs automake files to autodetect and
handle both one parameter and two parameter variants?

that way, all three variations of building the zfs module would work:

dkms source with either an Ubuntu or upstream kernel
Ubuntu kernel with zfs module source in module/zfs/

** Patch added: "zfs-fix-zpool-import-bug-with-nested-pools.patch"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1636517/+attachment/4767015/+files/zfs-fix-zpool-import-bug-with-nested-pools.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1636517

Title:
  zfs: importing zpool with vdev on zvol hangs kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1636517/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1636517] Re: zfs: importing zpool with vdev on zvol hangs kernel

2016-10-25 Thread Fabian Grünbichler
** Also affects: zfs-linux (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1636517

Title:
  zfs: importing zpool with vdev on zvol hangs kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1636517/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1636517] Re: zfs: importing zpool with vdev on zvol hangs kernel

2016-10-27 Thread Fabian Grünbichler
can confirm that the test packages correctly allow importing of such
pools. thanks for the quick reaction!

minor nitpick since you referenced me in the changelog, please either
spell my last name "Grünbichler" (with 'ü'), or transcribed with 'ue',
and not with an 'i' - thanks! :)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1636517

Title:
  zfs: importing zpool with vdev on zvol hangs kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1636517/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1560869] Re: Concurrent zfs create and rename operations can lock a zpool completely

2016-03-24 Thread Fabian Grünbichler
Should be fixed with upstream version 0.6.5.6, so I guess this can be
closed once that version hits the archive.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1560869

Title:
  Concurrent zfs create and rename operations can lock a zpool
  completely

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1560869/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1560869] Re: Concurrent zfs create and rename operations can lock a zpool completely

2016-03-30 Thread Fabian Grünbichler
Does not trigger anymore with linux-image-4.4.0-16-generic 4.4.0-16.32 /
zfs.ko v0.6.5.6-0ubuntu1. zfsutils-linux and friends are still on
0.6.5.4-0ubuntu6.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1560869

Title:
  Concurrent zfs create and rename operations can lock a zpool
  completely

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1560869/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1566465] Re: [regression]: Failed to call clock_adjtime(): Invalid argument

2016-04-14 Thread Fabian Grünbichler
This seems to be caused by the call to "timeval_inject_offset_valid()"
introduced in kernel/time/ntp.c (in "ntp_validate_timex()") by
2ed8b5bac95a96e2334a6b9bcbe99eabaf83f931. timeval_inject_offset_valid
only handles timevals with microseconds, but systemd-timesyncd uses the
ADJ_NANO mode which stores nanosecond values in tv_usec. upstream 4.5
already has a fix to handle this situation by copying the tv content to
a (temporary) timespec and validating that iff ADJ_NANO is used.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1566465

Title:
  [regression]: Failed to call clock_adjtime(): Invalid argument

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1566465/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1857040] Re: zfs: upstream support for hardware-accelerated encryption

2020-01-08 Thread Fabian Grünbichler
the following backport from the 0.8.3 queue should be what you are
looking for:

https://github.com/zfsonlinux/zfs/pull/9776/commits/ed3d9f4420dcb04d2b78de4e4adb25797dc93b0d

it does not include/depend on either of the problematic commits, but
does contain all known squashed follow-up fixes.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1857040

Title:
  zfs: upstream support for hardware-accelerated encryption

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1857040/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1852047] Re: [Bionic][Regression] Disabling EPT results in KVM guests that won't start

2019-11-12 Thread Fabian Grünbichler
*** This bug is a duplicate of bug 1851709 ***
https://bugs.launchpad.net/bugs/1851709

** This bug has been marked a duplicate of bug 1851709
   Ubuntu-5.0.0-33.35 introduces KVM regression with old Intel CPUs and Linux 
guests

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1852047

Title:
  [Bionic][Regression] Disabling EPT results in KVM guests that won't
  start

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1852047/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1851709] Re: Ubuntu-5.0.0-33.35 introduces KVM regression with old Intel CPUs and Linux guests

2019-11-12 Thread Fabian Grünbichler
https://lore.kernel.org/lkml/2019225423.29309-1-sean.j.christopher...@intel.com/
is the fix for 4.19

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1851709

Title:
  Ubuntu-5.0.0-33.35 introduces KVM regression with old Intel CPUs and
  Linux guests

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1851709/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1851709] Re: Ubuntu-5.0.0-33.35 introduces KVM regression with old Intel CPUs and Linux guests

2019-11-12 Thread Fabian Grünbichler
https://lore.kernel.org/lkml/68d02406-b9cc-2fc1-848c-
5d272d9a3...@proxmox.com/ contains upstream discussion, with mention of
a backported fix for 4.14 and 4.19..

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1851709

Title:
  Ubuntu-5.0.0-33.35 introduces KVM regression with old Intel CPUs and
  Linux guests

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1851709/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs