[Kernel-packages] [Bug 1532145] Re: Kernel Panic wrt btrfs while sbuild/schroot

2019-05-22 Thread Bug Watch Updater
Launchpad has imported 7 comments from the remote bug at
https://bugzilla.kernel.org/show_bug.cgi?id=101951.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2015-07-25T23:17:23+00:00 fraph24 wrote:

Created attachment 183641
kernel oops log

How to reproduce:
$ mkdir {lower,upper,work,overlay}
$ uname > lower/uname
# mount overlay -t overlay -o lowerdir=lower,upperdir=upper,workdir=work overlay
$ # edit overlay/uname

Results:
Kernel oops, screen freezes.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1532145/comments/0


On 2015-09-17T15:22:21+00:00 rauter.gabriel wrote:

I have the same problem although i am using overlay while being in a docker 
container. Host fs is btrfs on arch linux kernel 4.2.0, guest docker image 
ubuntu:wily.
kernel oops log can be found here
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1496438/comments/2

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1532145/comments/1


On 2016-02-10T16:51:25+00:00 colin.king wrote:

I've debugged this a bit, the failure occurs on an atomic_inc on root,
when root is NULL, cf:

atomic_inc(&root->log_batch);

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1532145/comments/11


On 2016-02-16T11:01:18+00:00 colin.king wrote:

bisected: 4bacc9c9234c7c8eec44f5ed4e960d9f96fa0f01 is the first bad
commit

commit 4bacc9c9234c7c8eec44f5ed4e960d9f96fa0f01
Author: David Howells 
Date: Thu Jun 18 14:32:31 2015 +0100

overlayfs: Make f_path always point to the overlay and f_inode to
the underlay

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1532145/comments/15


On 2016-02-16T15:24:24+00:00 colin.king wrote:

The following stops the issue. I'm not sure if it is the correct fix
though.

diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c
index 098bb8f..5e5df8b 100644
--- a/fs/btrfs/file.c
+++ b/fs/btrfs/file.c
@@ -1884,7 +1884,7 @@ static int start_ordered_ops(struct inode *inode, loff_t 
start, loff_t end)
 int btrfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync)
 {
struct dentry *dentry = file->f_path.dentry;
-   struct inode *inode = d_inode(dentry);
+   struct inode *inode = file_inode(file);
struct btrfs_root *root = BTRFS_I(inode)->root;
struct btrfs_trans_handle *trans;
struct btrfs_log_ctx ctx;

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1532145/comments/17


On 2016-02-16T15:41:10+00:00 colin.king wrote:


Commit 4bacc9c9234c7c8eec44f5ed4e960d9f96fa0f01 ("overlayfs: Make f_path
always point to the overlay and f_inode to the underlay") resulted in an
issue when using a combination of btrfs and overlayfs.  This is
noticeable when doing a fsync() on a file in a chroot with overlayfs on
top of btrfs; we hit a kernel oops in btrfs_sync_file() on
atomic_inc(&root->log_batch) because root is NULL.

I've debugged this further and found that in btrfs_sync_file():

struct inode *inode = d_inode(dentry);

does not return the inode I expected when using the stacked overlay fs,
where as:

struct inode *inode = file_inode(file);

does.

However, I'm not well at all well versed in btrfs, so I am not confident
this is a actually correct.  Any comments?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1532145/comments/18


On 2019-05-21T12:33:42+00:00 dsterba wrote:

Fixed by de17e793b104d690e1d "btrfs: fix crash/invalid memory access on
fsync when using overlayfs", in 4.6.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1532145/comments/23


** Changed in: linux
   Status: Unknown => Fix Released

** Changed in: linux
   Importance: Unknown => Medium

-- 
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/1532145

Title:
  Kernel Panic wrt btrfs while sbuild/schroot

Status in Linux:
  Fix Released
Status in linux package in Ubuntu:
  Won't Fix

Bug description:
  I'm running ubuntu Wily amd64 on a MSI Ghost Pro laptop.

  I'm running btrfs on top of a bcached dmraid setup(intel software
  raid0).

  I can't use sbuild, cause it crashes.

  I tried to use  a schroot env, and when updating it I got it to crash
  also.

  All the keyboard/mouse/X11 are stalled, but I could ssh to it.
  Trying to

[Kernel-packages] [Bug 1532145] Re: Kernel Panic wrt btrfs while sbuild/schroot

2016-06-10 Thread Colin Ian King
Given that this is stuck waiting for upstream to figure out a way
forward, which looks unlikely at the moment, plus we have a suitable
workaround, I'm going to mark this as Won't Fix.

** Changed in: linux (Ubuntu)
   Status: In Progress => Won't Fix

-- 
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/1532145

Title:
  Kernel Panic wrt btrfs while sbuild/schroot

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  Won't Fix

Bug description:
  I'm running ubuntu Wily amd64 on a MSI Ghost Pro laptop.

  I'm running btrfs on top of a bcached dmraid setup(intel software
  raid0).

  I can't use sbuild, cause it crashes.

  I tried to use  a schroot env, and when updating it I got it to crash
  also.

  All the keyboard/mouse/X11 are stalled, but I could ssh to it.
  Trying to restart lightdm service didn't help.

  I've got a kernel trace in the dmesg:

  [76610.550953] BUG: unable to handle kernel NULL pointer dereference at 
0334
  [76610.550983] IP: [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551025] PGD 160aaf067 PUD 161531067 PMD 0 
  [76610.551039] Oops: 0002 [#1] SMP 
  [76610.551050] Modules linked in: dm_crypt algif_skcipher af_alg drbg 
ansi_cprng ctr ccm rfcomm ipt_REJECT nf_reject_ipv4 nvram msr xt_multiport 
ebtable_filter ebtables ip6table_filter ip6_tables overlay bnep uvcvideo btusb 
videobuf2_vmalloc videobuf2_memops btrtl btbcm videobuf2_core btintel 
v4l2_common bluetooth videodev media xt_addrtype xt_conntrack xt_CHECKSUM 
iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp 
bridge aufs stp llc iptable_filter ip_tables x_tables binfmt_misc arc4 
nls_iso8859_1 msi_wmi sparse_keymap intel_rapl iosf_mbi x86_pkg_temp_thermal 
snd_hda_codec_hdmi intel_powerclamp coretemp crct10dif_pclmul 
snd_hda_codec_realtek snd_hda_codec_generic crc32_pclmul aesni_intel aes_x86_64 
lrw gf128mul
  [76610.551253]  snd_hda_intel iwlmvm glue_helper snd_hda_codec ablk_helper 
mac80211 cryptd snd_hda_core snd_hwdep snd_pcm snd_seq_midi joydev input_leds 
snd_seq_midi_event snd_rawmidi serio_raw iwlwifi lpc_ich mei_me snd_seq mei 
cfg80211 snd_seq_device snd_timer snd ie31200_edac edac_core soundcore shpchp 
mac_hid kvm_intel kvm parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq 
dm_mirror dm_region_hash dm_log uas usb_storage bcache hid_generic usbhid hid 
i915 i2c_algo_bit drm_kms_helper psmouse ahci drm alx libahci mdio wmi video
  [76610.551395] CPU: 1 PID: 32090 Comm: dpkg Not tainted 4.2.0-23-generic 
#28-Ubuntu
  [76610.551414] Hardware name: Micro-Star International Co., Ltd. GS60 2PE 
Ghost Pro/MS-16H2, BIOS E16H2IMS.112 05/05/2015
  [76610.551438] task: 8803cf422940 ti: 8801a0be4000 task.ti: 
8801a0be4000
  [76610.551455] RIP: 0010:[]  [] 
btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551485] RSP: 0018:8801a0be7e28  EFLAGS: 00010292
  [76610.551497] RAX: 8803cf422940 RBX: 880273bff100 RCX: 

  [76610.551513] RDX: 8000 RSI:  RDI: 
88040a2fb178
  [76610.551530] RBP: 8801a0be7eb8 R08: 0001 R09: 

  [76610.551546] R10: 01f6 R11: 0246 R12: 
88040a2fb178
  [76610.551563] R13: 88040a2fb0d0 R14:  R15: 

  [76610.551580] FS:  7f3c27bca800() GS:88041fa4() 
knlGS:
  [76610.551598] CS:  0010 DS:  ES:  CR0: 80050033
  [76610.551611] CR2: 0334 CR3: 00016159a000 CR4: 
001406e0
  [76610.551628] Stack:
  [76610.551633]  80033fffa865 000b 8000 
88008a657e40
  [76610.551652]  7fff  8801a0be7ea8 
8804069544a0
  [76610.551671]  800173bff000 10b6e564  
10b6e564
  [76610.551691] Call Trace:
  [76610.551703]  [] vfs_fsync_range+0x4b/0xb0
  [76610.551718]  [] do_fsync+0x3d/0x70
  [76610.551732]  [] SyS_fsync+0x10/0x20
  [76610.551751]  [] entry_SYSCALL_64_fastpath+0x16/0x75
  [76610.551766] Code: 8b 0e 48 85 c9 75 e8 eb 9e 48 8b 45 90 4c 8b 75 98 4d 8d 
a5 a8 00 00 00 4c 89 e7 4c 29 f0 48 83 c0 01 48 89 45 80 e8 f4 e2 4b c1  41 
ff 87 34 03 00 00 49 8b 85 70 ff ff ff 48 c1 e8 07 83 e0 
  [76610.551845] RIP  [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551871]  RSP 
  [76610.551881] CR2: 0334
  [76610.558028] ---[ end trace 33509d397c46cd18 ]---

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: linux-image-4.2.0-23-generic 4.2.0-23.28
  ProcVersionSignature: Ubuntu 4.2.0-23.28-generic 4.2.6
  Uname: Linux 4.2.0-23-generic x86_64
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  Date: Fri Jan  8 11:02:06 2016
  HibernationDevice: RESUME=UUID=1699e24b-be2c-494d-90ff-0f313a5eed84
  InstallationDate: Installed on 2015-11-24 (44 days ago)

Re: [Kernel-packages] [Bug 1532145] Re: Kernel Panic wrt btrfs while sbuild/schroot

2016-02-17 Thread Kick In
Thanks Colin!

2016-02-16 19:20 GMT+01:00 Colin Ian King <1532...@bugs.launchpad.net>:

> I suggest a workaround for the moment, using aufs as the overlay to see
> if this helps.
>
> Modify the chroot config and set the union-type to aufs:
>
> union-type=aufs
>
> you may see an error like:
>
> "aufs au_xino_create:778:mount[3600]: xino doesn't support
> /tmp/.aufs.xino(btrfs)"
>
> this is caused by the fact that btrfs cannot store aufs xino files.
> aufs tries to store these files alongside the rw layer. If that fails,
> it tries to store them in /tmp/.aufs.xino, however, if this is btrfs it
> will fail. So the workaround for that is to mount /tmp as something
> other than btrfs,  e.g. tmpfs
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1532145
>
> Title:
>   Kernel Panic wrt btrfs while sbuild/schroot
>
> Status in Linux:
>   Unknown
> Status in linux package in Ubuntu:
>   In Progress
>
> Bug description:
>   I'm running ubuntu Wily amd64 on a MSI Ghost Pro laptop.
>
>   I'm running btrfs on top of a bcached dmraid setup(intel software
>   raid0).
>
>   I can't use sbuild, cause it crashes.
>
>   I tried to use  a schroot env, and when updating it I got it to crash
>   also.
>
>   All the keyboard/mouse/X11 are stalled, but I could ssh to it.
>   Trying to restart lightdm service didn't help.
>
>   I've got a kernel trace in the dmesg:
>
>   [76610.550953] BUG: unable to handle kernel NULL pointer dereference at
> 0334
>   [76610.550983] IP: [] btrfs_sync_file+0xcc/0x360
> [btrfs]
>   [76610.551025] PGD 160aaf067 PUD 161531067 PMD 0
>   [76610.551039] Oops: 0002 [#1] SMP
>   [76610.551050] Modules linked in: dm_crypt algif_skcipher af_alg drbg
> ansi_cprng ctr ccm rfcomm ipt_REJECT nf_reject_ipv4 nvram msr xt_multiport
> ebtable_filter ebtables ip6table_filter ip6_tables overlay bnep uvcvideo
> btusb videobuf2_vmalloc videobuf2_memops btrtl btbcm videobuf2_core btintel
> v4l2_common bluetooth videodev media xt_addrtype xt_conntrack xt_CHECKSUM
> iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat
> nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp
> bridge aufs stp llc iptable_filter ip_tables x_tables binfmt_misc arc4
> nls_iso8859_1 msi_wmi sparse_keymap intel_rapl iosf_mbi
> x86_pkg_temp_thermal snd_hda_codec_hdmi intel_powerclamp coretemp
> crct10dif_pclmul snd_hda_codec_realtek snd_hda_codec_generic crc32_pclmul
> aesni_intel aes_x86_64 lrw gf128mul
>   [76610.551253]  snd_hda_intel iwlmvm glue_helper snd_hda_codec
> ablk_helper mac80211 cryptd snd_hda_core snd_hwdep snd_pcm snd_seq_midi
> joydev input_leds snd_seq_midi_event snd_rawmidi serio_raw iwlwifi lpc_ich
> mei_me snd_seq mei cfg80211 snd_seq_device snd_timer snd ie31200_edac
> edac_core soundcore shpchp mac_hid kvm_intel kvm parport_pc ppdev lp
> parport autofs4 btrfs xor raid6_pq dm_mirror dm_region_hash dm_log uas
> usb_storage bcache hid_generic usbhid hid i915 i2c_algo_bit drm_kms_helper
> psmouse ahci drm alx libahci mdio wmi video
>   [76610.551395] CPU: 1 PID: 32090 Comm: dpkg Not tainted 4.2.0-23-generic
> #28-Ubuntu
>   [76610.551414] Hardware name: Micro-Star International Co., Ltd. GS60
> 2PE Ghost Pro/MS-16H2, BIOS E16H2IMS.112 05/05/2015
>   [76610.551438] task: 8803cf422940 ti: 8801a0be4000 task.ti:
> 8801a0be4000
>   [76610.551455] RIP: 0010:[]  []
> btrfs_sync_file+0xcc/0x360 [btrfs]
>   [76610.551485] RSP: 0018:8801a0be7e28  EFLAGS: 00010292
>   [76610.551497] RAX: 8803cf422940 RBX: 880273bff100 RCX:
> 
>   [76610.551513] RDX: 8000 RSI:  RDI:
> 88040a2fb178
>   [76610.551530] RBP: 8801a0be7eb8 R08: 0001 R09:
> 
>   [76610.551546] R10: 01f6 R11: 0246 R12:
> 88040a2fb178
>   [76610.551563] R13: 88040a2fb0d0 R14:  R15:
> 
>   [76610.551580] FS:  7f3c27bca800() GS:88041fa4()
> knlGS:
>   [76610.551598] CS:  0010 DS:  ES:  CR0: 80050033
>   [76610.551611] CR2: 0334 CR3: 00016159a000 CR4:
> 001406e0
>   [76610.551628] Stack:
>   [76610.551633]  80033fffa865 000b 8000
> 88008a657e40
>   [76610.551652]  7fff  8801a0be7ea8
> 8804069544a0
>   [76610.551671]  800173bff000 10b6e564 
> 10b6e564
>   [76610.551691] Call Trace:
>   [76610.551703]  [] vfs_fsync_range+0x4b/0xb0
>   [76610.551718]  [] do_fsync+0x3d/0x70
>   [76610.551732]  [] SyS_fsync+0x10/0x20
>   [76610.551751]  [] entry_SYSCALL_64_fastpath+0x16/0x75
>   [76610.551766] Code: 8b 0e 48 85 c9 75 e8 eb 9e 48 8b 45 90 4c 8b 75 98
> 4d 8d a5 a8 00 00 00 4c 89 e7 4c 29 f0 48 83 c0 01 48 89 45 80 e8 f4 e2 4b
> c1  41 ff 87 34 03 00 00 49 8b 85 70 ff ff ff 48 c1 e8 07 83 e0
>   [76610.551845] RIP  [] btrfs_sync_f

[Kernel-packages] [Bug 1532145] Re: Kernel Panic wrt btrfs while sbuild/schroot

2016-02-16 Thread Colin Ian King
I suggest a workaround for the moment, using aufs as the overlay to see
if this helps.

Modify the chroot config and set the union-type to aufs:

union-type=aufs

you may see an error like:

"aufs au_xino_create:778:mount[3600]: xino doesn't support
/tmp/.aufs.xino(btrfs)"

this is caused by the fact that btrfs cannot store aufs xino files.
aufs tries to store these files alongside the rw layer. If that fails,
it tries to store them in /tmp/.aufs.xino, however, if this is btrfs it
will fail. So the workaround for that is to mount /tmp as something
other than btrfs,  e.g. tmpfs

-- 
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/1532145

Title:
  Kernel Panic wrt btrfs while sbuild/schroot

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  In Progress

Bug description:
  I'm running ubuntu Wily amd64 on a MSI Ghost Pro laptop.

  I'm running btrfs on top of a bcached dmraid setup(intel software
  raid0).

  I can't use sbuild, cause it crashes.

  I tried to use  a schroot env, and when updating it I got it to crash
  also.

  All the keyboard/mouse/X11 are stalled, but I could ssh to it.
  Trying to restart lightdm service didn't help.

  I've got a kernel trace in the dmesg:

  [76610.550953] BUG: unable to handle kernel NULL pointer dereference at 
0334
  [76610.550983] IP: [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551025] PGD 160aaf067 PUD 161531067 PMD 0 
  [76610.551039] Oops: 0002 [#1] SMP 
  [76610.551050] Modules linked in: dm_crypt algif_skcipher af_alg drbg 
ansi_cprng ctr ccm rfcomm ipt_REJECT nf_reject_ipv4 nvram msr xt_multiport 
ebtable_filter ebtables ip6table_filter ip6_tables overlay bnep uvcvideo btusb 
videobuf2_vmalloc videobuf2_memops btrtl btbcm videobuf2_core btintel 
v4l2_common bluetooth videodev media xt_addrtype xt_conntrack xt_CHECKSUM 
iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp 
bridge aufs stp llc iptable_filter ip_tables x_tables binfmt_misc arc4 
nls_iso8859_1 msi_wmi sparse_keymap intel_rapl iosf_mbi x86_pkg_temp_thermal 
snd_hda_codec_hdmi intel_powerclamp coretemp crct10dif_pclmul 
snd_hda_codec_realtek snd_hda_codec_generic crc32_pclmul aesni_intel aes_x86_64 
lrw gf128mul
  [76610.551253]  snd_hda_intel iwlmvm glue_helper snd_hda_codec ablk_helper 
mac80211 cryptd snd_hda_core snd_hwdep snd_pcm snd_seq_midi joydev input_leds 
snd_seq_midi_event snd_rawmidi serio_raw iwlwifi lpc_ich mei_me snd_seq mei 
cfg80211 snd_seq_device snd_timer snd ie31200_edac edac_core soundcore shpchp 
mac_hid kvm_intel kvm parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq 
dm_mirror dm_region_hash dm_log uas usb_storage bcache hid_generic usbhid hid 
i915 i2c_algo_bit drm_kms_helper psmouse ahci drm alx libahci mdio wmi video
  [76610.551395] CPU: 1 PID: 32090 Comm: dpkg Not tainted 4.2.0-23-generic 
#28-Ubuntu
  [76610.551414] Hardware name: Micro-Star International Co., Ltd. GS60 2PE 
Ghost Pro/MS-16H2, BIOS E16H2IMS.112 05/05/2015
  [76610.551438] task: 8803cf422940 ti: 8801a0be4000 task.ti: 
8801a0be4000
  [76610.551455] RIP: 0010:[]  [] 
btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551485] RSP: 0018:8801a0be7e28  EFLAGS: 00010292
  [76610.551497] RAX: 8803cf422940 RBX: 880273bff100 RCX: 

  [76610.551513] RDX: 8000 RSI:  RDI: 
88040a2fb178
  [76610.551530] RBP: 8801a0be7eb8 R08: 0001 R09: 

  [76610.551546] R10: 01f6 R11: 0246 R12: 
88040a2fb178
  [76610.551563] R13: 88040a2fb0d0 R14:  R15: 

  [76610.551580] FS:  7f3c27bca800() GS:88041fa4() 
knlGS:
  [76610.551598] CS:  0010 DS:  ES:  CR0: 80050033
  [76610.551611] CR2: 0334 CR3: 00016159a000 CR4: 
001406e0
  [76610.551628] Stack:
  [76610.551633]  80033fffa865 000b 8000 
88008a657e40
  [76610.551652]  7fff  8801a0be7ea8 
8804069544a0
  [76610.551671]  800173bff000 10b6e564  
10b6e564
  [76610.551691] Call Trace:
  [76610.551703]  [] vfs_fsync_range+0x4b/0xb0
  [76610.551718]  [] do_fsync+0x3d/0x70
  [76610.551732]  [] SyS_fsync+0x10/0x20
  [76610.551751]  [] entry_SYSCALL_64_fastpath+0x16/0x75
  [76610.551766] Code: 8b 0e 48 85 c9 75 e8 eb 9e 48 8b 45 90 4c 8b 75 98 4d 8d 
a5 a8 00 00 00 4c 89 e7 4c 29 f0 48 83 c0 01 48 89 45 80 e8 f4 e2 4b c1  41 
ff 87 34 03 00 00 49 8b 85 70 ff ff ff 48 c1 e8 07 83 e0 
  [76610.551845] RIP  [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551871]  RSP 
  [76610.551881] CR2: 0334
  [76610.558028] ---[ end trace 33509d397c46cd18 ]---

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: linux-image-4.2.0-23-g

[Kernel-packages] [Bug 1532145] Re: Kernel Panic wrt btrfs while sbuild/schroot

2016-02-16 Thread Colin Ian King
https://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg48131.html

-- 
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/1532145

Title:
  Kernel Panic wrt btrfs while sbuild/schroot

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  In Progress

Bug description:
  I'm running ubuntu Wily amd64 on a MSI Ghost Pro laptop.

  I'm running btrfs on top of a bcached dmraid setup(intel software
  raid0).

  I can't use sbuild, cause it crashes.

  I tried to use  a schroot env, and when updating it I got it to crash
  also.

  All the keyboard/mouse/X11 are stalled, but I could ssh to it.
  Trying to restart lightdm service didn't help.

  I've got a kernel trace in the dmesg:

  [76610.550953] BUG: unable to handle kernel NULL pointer dereference at 
0334
  [76610.550983] IP: [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551025] PGD 160aaf067 PUD 161531067 PMD 0 
  [76610.551039] Oops: 0002 [#1] SMP 
  [76610.551050] Modules linked in: dm_crypt algif_skcipher af_alg drbg 
ansi_cprng ctr ccm rfcomm ipt_REJECT nf_reject_ipv4 nvram msr xt_multiport 
ebtable_filter ebtables ip6table_filter ip6_tables overlay bnep uvcvideo btusb 
videobuf2_vmalloc videobuf2_memops btrtl btbcm videobuf2_core btintel 
v4l2_common bluetooth videodev media xt_addrtype xt_conntrack xt_CHECKSUM 
iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp 
bridge aufs stp llc iptable_filter ip_tables x_tables binfmt_misc arc4 
nls_iso8859_1 msi_wmi sparse_keymap intel_rapl iosf_mbi x86_pkg_temp_thermal 
snd_hda_codec_hdmi intel_powerclamp coretemp crct10dif_pclmul 
snd_hda_codec_realtek snd_hda_codec_generic crc32_pclmul aesni_intel aes_x86_64 
lrw gf128mul
  [76610.551253]  snd_hda_intel iwlmvm glue_helper snd_hda_codec ablk_helper 
mac80211 cryptd snd_hda_core snd_hwdep snd_pcm snd_seq_midi joydev input_leds 
snd_seq_midi_event snd_rawmidi serio_raw iwlwifi lpc_ich mei_me snd_seq mei 
cfg80211 snd_seq_device snd_timer snd ie31200_edac edac_core soundcore shpchp 
mac_hid kvm_intel kvm parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq 
dm_mirror dm_region_hash dm_log uas usb_storage bcache hid_generic usbhid hid 
i915 i2c_algo_bit drm_kms_helper psmouse ahci drm alx libahci mdio wmi video
  [76610.551395] CPU: 1 PID: 32090 Comm: dpkg Not tainted 4.2.0-23-generic 
#28-Ubuntu
  [76610.551414] Hardware name: Micro-Star International Co., Ltd. GS60 2PE 
Ghost Pro/MS-16H2, BIOS E16H2IMS.112 05/05/2015
  [76610.551438] task: 8803cf422940 ti: 8801a0be4000 task.ti: 
8801a0be4000
  [76610.551455] RIP: 0010:[]  [] 
btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551485] RSP: 0018:8801a0be7e28  EFLAGS: 00010292
  [76610.551497] RAX: 8803cf422940 RBX: 880273bff100 RCX: 

  [76610.551513] RDX: 8000 RSI:  RDI: 
88040a2fb178
  [76610.551530] RBP: 8801a0be7eb8 R08: 0001 R09: 

  [76610.551546] R10: 01f6 R11: 0246 R12: 
88040a2fb178
  [76610.551563] R13: 88040a2fb0d0 R14:  R15: 

  [76610.551580] FS:  7f3c27bca800() GS:88041fa4() 
knlGS:
  [76610.551598] CS:  0010 DS:  ES:  CR0: 80050033
  [76610.551611] CR2: 0334 CR3: 00016159a000 CR4: 
001406e0
  [76610.551628] Stack:
  [76610.551633]  80033fffa865 000b 8000 
88008a657e40
  [76610.551652]  7fff  8801a0be7ea8 
8804069544a0
  [76610.551671]  800173bff000 10b6e564  
10b6e564
  [76610.551691] Call Trace:
  [76610.551703]  [] vfs_fsync_range+0x4b/0xb0
  [76610.551718]  [] do_fsync+0x3d/0x70
  [76610.551732]  [] SyS_fsync+0x10/0x20
  [76610.551751]  [] entry_SYSCALL_64_fastpath+0x16/0x75
  [76610.551766] Code: 8b 0e 48 85 c9 75 e8 eb 9e 48 8b 45 90 4c 8b 75 98 4d 8d 
a5 a8 00 00 00 4c 89 e7 4c 29 f0 48 83 c0 01 48 89 45 80 e8 f4 e2 4b c1  41 
ff 87 34 03 00 00 49 8b 85 70 ff ff ff 48 c1 e8 07 83 e0 
  [76610.551845] RIP  [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551871]  RSP 
  [76610.551881] CR2: 0334
  [76610.558028] ---[ end trace 33509d397c46cd18 ]---

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: linux-image-4.2.0-23-generic 4.2.0-23.28
  ProcVersionSignature: Ubuntu 4.2.0-23.28-generic 4.2.6
  Uname: Linux 4.2.0-23-generic x86_64
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  Date: Fri Jan  8 11:02:06 2016
  HibernationDevice: RESUME=UUID=1699e24b-be2c-494d-90ff-0f313a5eed84
  InstallationDate: Installed on 2015-11-24 (44 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20151016)
  MachineType: Micro-Star International Co., Ltd. GS60 2PE Ghost Pro
  ProcEnviron:
   TERM=xterm
   PATH=(

[Kernel-packages] [Bug 1532145] Re: Kernel Panic wrt btrfs while sbuild/schroot

2016-02-16 Thread Colin Ian King
I believe the follow may be the fix we require. I'll discuss this with
upstream

diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c
index 098bb8f..5e5df8b 100644
--- a/fs/btrfs/file.c
+++ b/fs/btrfs/file.c
@@ -1884,7 +1884,7 @@ static int start_ordered_ops(struct inode *inode, loff_t 
start, loff_t end)
 int btrfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync)
 {
struct dentry *dentry = file->f_path.dentry;
-   struct inode *inode = d_inode(dentry);
+   struct inode *inode = file_inode(file);
struct btrfs_root *root = BTRFS_I(inode)->root;
struct btrfs_trans_handle *trans;
struct btrfs_log_ctx ctx;

-- 
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/1532145

Title:
  Kernel Panic wrt btrfs while sbuild/schroot

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  In Progress

Bug description:
  I'm running ubuntu Wily amd64 on a MSI Ghost Pro laptop.

  I'm running btrfs on top of a bcached dmraid setup(intel software
  raid0).

  I can't use sbuild, cause it crashes.

  I tried to use  a schroot env, and when updating it I got it to crash
  also.

  All the keyboard/mouse/X11 are stalled, but I could ssh to it.
  Trying to restart lightdm service didn't help.

  I've got a kernel trace in the dmesg:

  [76610.550953] BUG: unable to handle kernel NULL pointer dereference at 
0334
  [76610.550983] IP: [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551025] PGD 160aaf067 PUD 161531067 PMD 0 
  [76610.551039] Oops: 0002 [#1] SMP 
  [76610.551050] Modules linked in: dm_crypt algif_skcipher af_alg drbg 
ansi_cprng ctr ccm rfcomm ipt_REJECT nf_reject_ipv4 nvram msr xt_multiport 
ebtable_filter ebtables ip6table_filter ip6_tables overlay bnep uvcvideo btusb 
videobuf2_vmalloc videobuf2_memops btrtl btbcm videobuf2_core btintel 
v4l2_common bluetooth videodev media xt_addrtype xt_conntrack xt_CHECKSUM 
iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp 
bridge aufs stp llc iptable_filter ip_tables x_tables binfmt_misc arc4 
nls_iso8859_1 msi_wmi sparse_keymap intel_rapl iosf_mbi x86_pkg_temp_thermal 
snd_hda_codec_hdmi intel_powerclamp coretemp crct10dif_pclmul 
snd_hda_codec_realtek snd_hda_codec_generic crc32_pclmul aesni_intel aes_x86_64 
lrw gf128mul
  [76610.551253]  snd_hda_intel iwlmvm glue_helper snd_hda_codec ablk_helper 
mac80211 cryptd snd_hda_core snd_hwdep snd_pcm snd_seq_midi joydev input_leds 
snd_seq_midi_event snd_rawmidi serio_raw iwlwifi lpc_ich mei_me snd_seq mei 
cfg80211 snd_seq_device snd_timer snd ie31200_edac edac_core soundcore shpchp 
mac_hid kvm_intel kvm parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq 
dm_mirror dm_region_hash dm_log uas usb_storage bcache hid_generic usbhid hid 
i915 i2c_algo_bit drm_kms_helper psmouse ahci drm alx libahci mdio wmi video
  [76610.551395] CPU: 1 PID: 32090 Comm: dpkg Not tainted 4.2.0-23-generic 
#28-Ubuntu
  [76610.551414] Hardware name: Micro-Star International Co., Ltd. GS60 2PE 
Ghost Pro/MS-16H2, BIOS E16H2IMS.112 05/05/2015
  [76610.551438] task: 8803cf422940 ti: 8801a0be4000 task.ti: 
8801a0be4000
  [76610.551455] RIP: 0010:[]  [] 
btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551485] RSP: 0018:8801a0be7e28  EFLAGS: 00010292
  [76610.551497] RAX: 8803cf422940 RBX: 880273bff100 RCX: 

  [76610.551513] RDX: 8000 RSI:  RDI: 
88040a2fb178
  [76610.551530] RBP: 8801a0be7eb8 R08: 0001 R09: 

  [76610.551546] R10: 01f6 R11: 0246 R12: 
88040a2fb178
  [76610.551563] R13: 88040a2fb0d0 R14:  R15: 

  [76610.551580] FS:  7f3c27bca800() GS:88041fa4() 
knlGS:
  [76610.551598] CS:  0010 DS:  ES:  CR0: 80050033
  [76610.551611] CR2: 0334 CR3: 00016159a000 CR4: 
001406e0
  [76610.551628] Stack:
  [76610.551633]  80033fffa865 000b 8000 
88008a657e40
  [76610.551652]  7fff  8801a0be7ea8 
8804069544a0
  [76610.551671]  800173bff000 10b6e564  
10b6e564
  [76610.551691] Call Trace:
  [76610.551703]  [] vfs_fsync_range+0x4b/0xb0
  [76610.551718]  [] do_fsync+0x3d/0x70
  [76610.551732]  [] SyS_fsync+0x10/0x20
  [76610.551751]  [] entry_SYSCALL_64_fastpath+0x16/0x75
  [76610.551766] Code: 8b 0e 48 85 c9 75 e8 eb 9e 48 8b 45 90 4c 8b 75 98 4d 8d 
a5 a8 00 00 00 4c 89 e7 4c 29 f0 48 83 c0 01 48 89 45 80 e8 f4 e2 4b c1  41 
ff 87 34 03 00 00 49 8b 85 70 ff ff ff 48 c1 e8 07 83 e0 
  [76610.551845] RIP  [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551871]  RSP 
  [76610.551881] CR2: 0334
  [76610.558028] ---[ end trace 33509d397c46cd18 ]---

  

[Kernel-packages] [Bug 1532145] Re: Kernel Panic wrt btrfs while sbuild/schroot

2016-02-16 Thread Joseph Salisbury
** Tags removed: kernel-key
** Tags added: kernel-da-key

-- 
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/1532145

Title:
  Kernel Panic wrt btrfs while sbuild/schroot

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  In Progress

Bug description:
  I'm running ubuntu Wily amd64 on a MSI Ghost Pro laptop.

  I'm running btrfs on top of a bcached dmraid setup(intel software
  raid0).

  I can't use sbuild, cause it crashes.

  I tried to use  a schroot env, and when updating it I got it to crash
  also.

  All the keyboard/mouse/X11 are stalled, but I could ssh to it.
  Trying to restart lightdm service didn't help.

  I've got a kernel trace in the dmesg:

  [76610.550953] BUG: unable to handle kernel NULL pointer dereference at 
0334
  [76610.550983] IP: [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551025] PGD 160aaf067 PUD 161531067 PMD 0 
  [76610.551039] Oops: 0002 [#1] SMP 
  [76610.551050] Modules linked in: dm_crypt algif_skcipher af_alg drbg 
ansi_cprng ctr ccm rfcomm ipt_REJECT nf_reject_ipv4 nvram msr xt_multiport 
ebtable_filter ebtables ip6table_filter ip6_tables overlay bnep uvcvideo btusb 
videobuf2_vmalloc videobuf2_memops btrtl btbcm videobuf2_core btintel 
v4l2_common bluetooth videodev media xt_addrtype xt_conntrack xt_CHECKSUM 
iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp 
bridge aufs stp llc iptable_filter ip_tables x_tables binfmt_misc arc4 
nls_iso8859_1 msi_wmi sparse_keymap intel_rapl iosf_mbi x86_pkg_temp_thermal 
snd_hda_codec_hdmi intel_powerclamp coretemp crct10dif_pclmul 
snd_hda_codec_realtek snd_hda_codec_generic crc32_pclmul aesni_intel aes_x86_64 
lrw gf128mul
  [76610.551253]  snd_hda_intel iwlmvm glue_helper snd_hda_codec ablk_helper 
mac80211 cryptd snd_hda_core snd_hwdep snd_pcm snd_seq_midi joydev input_leds 
snd_seq_midi_event snd_rawmidi serio_raw iwlwifi lpc_ich mei_me snd_seq mei 
cfg80211 snd_seq_device snd_timer snd ie31200_edac edac_core soundcore shpchp 
mac_hid kvm_intel kvm parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq 
dm_mirror dm_region_hash dm_log uas usb_storage bcache hid_generic usbhid hid 
i915 i2c_algo_bit drm_kms_helper psmouse ahci drm alx libahci mdio wmi video
  [76610.551395] CPU: 1 PID: 32090 Comm: dpkg Not tainted 4.2.0-23-generic 
#28-Ubuntu
  [76610.551414] Hardware name: Micro-Star International Co., Ltd. GS60 2PE 
Ghost Pro/MS-16H2, BIOS E16H2IMS.112 05/05/2015
  [76610.551438] task: 8803cf422940 ti: 8801a0be4000 task.ti: 
8801a0be4000
  [76610.551455] RIP: 0010:[]  [] 
btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551485] RSP: 0018:8801a0be7e28  EFLAGS: 00010292
  [76610.551497] RAX: 8803cf422940 RBX: 880273bff100 RCX: 

  [76610.551513] RDX: 8000 RSI:  RDI: 
88040a2fb178
  [76610.551530] RBP: 8801a0be7eb8 R08: 0001 R09: 

  [76610.551546] R10: 01f6 R11: 0246 R12: 
88040a2fb178
  [76610.551563] R13: 88040a2fb0d0 R14:  R15: 

  [76610.551580] FS:  7f3c27bca800() GS:88041fa4() 
knlGS:
  [76610.551598] CS:  0010 DS:  ES:  CR0: 80050033
  [76610.551611] CR2: 0334 CR3: 00016159a000 CR4: 
001406e0
  [76610.551628] Stack:
  [76610.551633]  80033fffa865 000b 8000 
88008a657e40
  [76610.551652]  7fff  8801a0be7ea8 
8804069544a0
  [76610.551671]  800173bff000 10b6e564  
10b6e564
  [76610.551691] Call Trace:
  [76610.551703]  [] vfs_fsync_range+0x4b/0xb0
  [76610.551718]  [] do_fsync+0x3d/0x70
  [76610.551732]  [] SyS_fsync+0x10/0x20
  [76610.551751]  [] entry_SYSCALL_64_fastpath+0x16/0x75
  [76610.551766] Code: 8b 0e 48 85 c9 75 e8 eb 9e 48 8b 45 90 4c 8b 75 98 4d 8d 
a5 a8 00 00 00 4c 89 e7 4c 29 f0 48 83 c0 01 48 89 45 80 e8 f4 e2 4b c1  41 
ff 87 34 03 00 00 49 8b 85 70 ff ff ff 48 c1 e8 07 83 e0 
  [76610.551845] RIP  [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551871]  RSP 
  [76610.551881] CR2: 0334
  [76610.558028] ---[ end trace 33509d397c46cd18 ]---

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: linux-image-4.2.0-23-generic 4.2.0-23.28
  ProcVersionSignature: Ubuntu 4.2.0-23.28-generic 4.2.6
  Uname: Linux 4.2.0-23-generic x86_64
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  Date: Fri Jan  8 11:02:06 2016
  HibernationDevice: RESUME=UUID=1699e24b-be2c-494d-90ff-0f313a5eed84
  InstallationDate: Installed on 2015-11-24 (44 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20151016)
  MachineType: Micro-Star International Co., Ltd. GS60 2PE Ghost Pro
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no use

[Kernel-packages] [Bug 1532145] Re: Kernel Panic wrt btrfs while sbuild/schroot

2016-02-15 Thread Colin Ian King
bisected: 4bacc9c9234c7c8eec44f5ed4e960d9f96fa0f01 is the first bad
commit


commit 4bacc9c9234c7c8eec44f5ed4e960d9f96fa0f01
Author: David Howells 
Date:   Thu Jun 18 14:32:31 2015 +0100

overlayfs: Make f_path always point to the overlay and f_inode to the 
underlay

Make file->f_path always point to the overlay dentry so that the path in
/proc/pid/fd is correct and to ensure that label-based LSMs have access to 
the
overlay as well as the underlay (path-based LSMs probably don't need it).

Using my union testsuite to set things up, before the patch I see:

[root@andromeda union-testsuite]# bash 5 /a/foo107
[root@andromeda union-testsuite]# stat /mnt/a/foo107
...
Device: 23h/35d Inode: 13381   Links: 1
...
[root@andromeda union-testsuite]# stat -L /proc/$$/fd/5
...
Device: 23h/35d Inode: 13381   Links: 1
...

After the patch:

[root@andromeda union-testsuite]# bash 5 /mnt/a/foo107
[root@andromeda union-testsuite]# stat /mnt/a/foo107
...
Device: 23h/35d Inode: 40346   Links: 1
...
[root@andromeda union-testsuite]# stat -L /proc/$$/fd/5
...
Device: 23h/35d Inode: 40346   Links: 1
...

Note the change in where /proc/$$/fd/5 points to in the ls command.  It was
pointing to /a/foo107 (which doesn't exist) and now points to /mnt/a/foo107
(which is correct).

The inode accessed, however, is the lower layer.  The union layer is on 
device
25h/37d and the upper layer on 24h/36d.

Signed-off-by: David Howells 
Signed-off-by: Al Viro 

-- 
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/1532145

Title:
  Kernel Panic wrt btrfs while sbuild/schroot

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  In Progress

Bug description:
  I'm running ubuntu Wily amd64 on a MSI Ghost Pro laptop.

  I'm running btrfs on top of a bcached dmraid setup(intel software
  raid0).

  I can't use sbuild, cause it crashes.

  I tried to use  a schroot env, and when updating it I got it to crash
  also.

  All the keyboard/mouse/X11 are stalled, but I could ssh to it.
  Trying to restart lightdm service didn't help.

  I've got a kernel trace in the dmesg:

  [76610.550953] BUG: unable to handle kernel NULL pointer dereference at 
0334
  [76610.550983] IP: [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551025] PGD 160aaf067 PUD 161531067 PMD 0 
  [76610.551039] Oops: 0002 [#1] SMP 
  [76610.551050] Modules linked in: dm_crypt algif_skcipher af_alg drbg 
ansi_cprng ctr ccm rfcomm ipt_REJECT nf_reject_ipv4 nvram msr xt_multiport 
ebtable_filter ebtables ip6table_filter ip6_tables overlay bnep uvcvideo btusb 
videobuf2_vmalloc videobuf2_memops btrtl btbcm videobuf2_core btintel 
v4l2_common bluetooth videodev media xt_addrtype xt_conntrack xt_CHECKSUM 
iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp 
bridge aufs stp llc iptable_filter ip_tables x_tables binfmt_misc arc4 
nls_iso8859_1 msi_wmi sparse_keymap intel_rapl iosf_mbi x86_pkg_temp_thermal 
snd_hda_codec_hdmi intel_powerclamp coretemp crct10dif_pclmul 
snd_hda_codec_realtek snd_hda_codec_generic crc32_pclmul aesni_intel aes_x86_64 
lrw gf128mul
  [76610.551253]  snd_hda_intel iwlmvm glue_helper snd_hda_codec ablk_helper 
mac80211 cryptd snd_hda_core snd_hwdep snd_pcm snd_seq_midi joydev input_leds 
snd_seq_midi_event snd_rawmidi serio_raw iwlwifi lpc_ich mei_me snd_seq mei 
cfg80211 snd_seq_device snd_timer snd ie31200_edac edac_core soundcore shpchp 
mac_hid kvm_intel kvm parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq 
dm_mirror dm_region_hash dm_log uas usb_storage bcache hid_generic usbhid hid 
i915 i2c_algo_bit drm_kms_helper psmouse ahci drm alx libahci mdio wmi video
  [76610.551395] CPU: 1 PID: 32090 Comm: dpkg Not tainted 4.2.0-23-generic 
#28-Ubuntu
  [76610.551414] Hardware name: Micro-Star International Co., Ltd. GS60 2PE 
Ghost Pro/MS-16H2, BIOS E16H2IMS.112 05/05/2015
  [76610.551438] task: 8803cf422940 ti: 8801a0be4000 task.ti: 
8801a0be4000
  [76610.551455] RIP: 0010:[]  [] 
btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551485] RSP: 0018:8801a0be7e28  EFLAGS: 00010292
  [76610.551497] RAX: 8803cf422940 RBX: 880273bff100 RCX: 

  [76610.551513] RDX: 8000 RSI:  RDI: 
88040a2fb178
  [76610.551530] RBP: 8801a0be7eb8 R08: 0001 R09: 

  [76610.551546] R10: 01f6 R11: 0246 R12: 
88040a2fb178
  [76610.551563] R13: 88040a2fb0d0 R14:  R15: 

  [76610.551580] FS:  7f3c27bca800() GS:88041fa4() 
knlGS:
  [76610.551598]

[Kernel-packages] [Bug 1532145] Re: Kernel Panic wrt btrfs while sbuild/schroot

2016-02-11 Thread Colin Ian King
3.17 + a forward port of ubuntu utopic overlay fs - works fine, 3.18
with overlayfs has the problem, so now I've got a bisectable range to
work on.

-- 
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/1532145

Title:
  Kernel Panic wrt btrfs while sbuild/schroot

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  In Progress

Bug description:
  I'm running ubuntu Wily amd64 on a MSI Ghost Pro laptop.

  I'm running btrfs on top of a bcached dmraid setup(intel software
  raid0).

  I can't use sbuild, cause it crashes.

  I tried to use  a schroot env, and when updating it I got it to crash
  also.

  All the keyboard/mouse/X11 are stalled, but I could ssh to it.
  Trying to restart lightdm service didn't help.

  I've got a kernel trace in the dmesg:

  [76610.550953] BUG: unable to handle kernel NULL pointer dereference at 
0334
  [76610.550983] IP: [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551025] PGD 160aaf067 PUD 161531067 PMD 0 
  [76610.551039] Oops: 0002 [#1] SMP 
  [76610.551050] Modules linked in: dm_crypt algif_skcipher af_alg drbg 
ansi_cprng ctr ccm rfcomm ipt_REJECT nf_reject_ipv4 nvram msr xt_multiport 
ebtable_filter ebtables ip6table_filter ip6_tables overlay bnep uvcvideo btusb 
videobuf2_vmalloc videobuf2_memops btrtl btbcm videobuf2_core btintel 
v4l2_common bluetooth videodev media xt_addrtype xt_conntrack xt_CHECKSUM 
iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp 
bridge aufs stp llc iptable_filter ip_tables x_tables binfmt_misc arc4 
nls_iso8859_1 msi_wmi sparse_keymap intel_rapl iosf_mbi x86_pkg_temp_thermal 
snd_hda_codec_hdmi intel_powerclamp coretemp crct10dif_pclmul 
snd_hda_codec_realtek snd_hda_codec_generic crc32_pclmul aesni_intel aes_x86_64 
lrw gf128mul
  [76610.551253]  snd_hda_intel iwlmvm glue_helper snd_hda_codec ablk_helper 
mac80211 cryptd snd_hda_core snd_hwdep snd_pcm snd_seq_midi joydev input_leds 
snd_seq_midi_event snd_rawmidi serio_raw iwlwifi lpc_ich mei_me snd_seq mei 
cfg80211 snd_seq_device snd_timer snd ie31200_edac edac_core soundcore shpchp 
mac_hid kvm_intel kvm parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq 
dm_mirror dm_region_hash dm_log uas usb_storage bcache hid_generic usbhid hid 
i915 i2c_algo_bit drm_kms_helper psmouse ahci drm alx libahci mdio wmi video
  [76610.551395] CPU: 1 PID: 32090 Comm: dpkg Not tainted 4.2.0-23-generic 
#28-Ubuntu
  [76610.551414] Hardware name: Micro-Star International Co., Ltd. GS60 2PE 
Ghost Pro/MS-16H2, BIOS E16H2IMS.112 05/05/2015
  [76610.551438] task: 8803cf422940 ti: 8801a0be4000 task.ti: 
8801a0be4000
  [76610.551455] RIP: 0010:[]  [] 
btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551485] RSP: 0018:8801a0be7e28  EFLAGS: 00010292
  [76610.551497] RAX: 8803cf422940 RBX: 880273bff100 RCX: 

  [76610.551513] RDX: 8000 RSI:  RDI: 
88040a2fb178
  [76610.551530] RBP: 8801a0be7eb8 R08: 0001 R09: 

  [76610.551546] R10: 01f6 R11: 0246 R12: 
88040a2fb178
  [76610.551563] R13: 88040a2fb0d0 R14:  R15: 

  [76610.551580] FS:  7f3c27bca800() GS:88041fa4() 
knlGS:
  [76610.551598] CS:  0010 DS:  ES:  CR0: 80050033
  [76610.551611] CR2: 0334 CR3: 00016159a000 CR4: 
001406e0
  [76610.551628] Stack:
  [76610.551633]  80033fffa865 000b 8000 
88008a657e40
  [76610.551652]  7fff  8801a0be7ea8 
8804069544a0
  [76610.551671]  800173bff000 10b6e564  
10b6e564
  [76610.551691] Call Trace:
  [76610.551703]  [] vfs_fsync_range+0x4b/0xb0
  [76610.551718]  [] do_fsync+0x3d/0x70
  [76610.551732]  [] SyS_fsync+0x10/0x20
  [76610.551751]  [] entry_SYSCALL_64_fastpath+0x16/0x75
  [76610.551766] Code: 8b 0e 48 85 c9 75 e8 eb 9e 48 8b 45 90 4c 8b 75 98 4d 8d 
a5 a8 00 00 00 4c 89 e7 4c 29 f0 48 83 c0 01 48 89 45 80 e8 f4 e2 4b c1  41 
ff 87 34 03 00 00 49 8b 85 70 ff ff ff 48 c1 e8 07 83 e0 
  [76610.551845] RIP  [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551871]  RSP 
  [76610.551881] CR2: 0334
  [76610.558028] ---[ end trace 33509d397c46cd18 ]---

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: linux-image-4.2.0-23-generic 4.2.0-23.28
  ProcVersionSignature: Ubuntu 4.2.0-23.28-generic 4.2.6
  Uname: Linux 4.2.0-23-generic x86_64
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  Date: Fri Jan  8 11:02:06 2016
  HibernationDevice: RESUME=UUID=1699e24b-be2c-494d-90ff-0f313a5eed84
  InstallationDate: Installed on 2015-11-24 (44 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20151016)
  MachineType: Micro-Star Inte

[Kernel-packages] [Bug 1532145] Re: Kernel Panic wrt btrfs while sbuild/schroot

2016-02-10 Thread Colin Ian King
OK, bisectable, 3.13 good, 3.19 bad. Test is simple, build the following
and run in a chroot on a btrfs system and it will trip the same bug.

#define _GNU_SOURCE
#include 
#include 
#include 
#include 

int main(void)
{
char buffer[1024] = { 0 };
int fd;

fd = open("test", O_CREAT | O_RDWR, 0777);
if (fd < 0)
return 1;

(void)write(fd, buffer, sizeof(buffer));
fsync(fd);
(void)close(fd);

return 0;
}

-- 
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/1532145

Title:
  Kernel Panic wrt btrfs while sbuild/schroot

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  In Progress

Bug description:
  I'm running ubuntu Wily amd64 on a MSI Ghost Pro laptop.

  I'm running btrfs on top of a bcached dmraid setup(intel software
  raid0).

  I can't use sbuild, cause it crashes.

  I tried to use  a schroot env, and when updating it I got it to crash
  also.

  All the keyboard/mouse/X11 are stalled, but I could ssh to it.
  Trying to restart lightdm service didn't help.

  I've got a kernel trace in the dmesg:

  [76610.550953] BUG: unable to handle kernel NULL pointer dereference at 
0334
  [76610.550983] IP: [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551025] PGD 160aaf067 PUD 161531067 PMD 0 
  [76610.551039] Oops: 0002 [#1] SMP 
  [76610.551050] Modules linked in: dm_crypt algif_skcipher af_alg drbg 
ansi_cprng ctr ccm rfcomm ipt_REJECT nf_reject_ipv4 nvram msr xt_multiport 
ebtable_filter ebtables ip6table_filter ip6_tables overlay bnep uvcvideo btusb 
videobuf2_vmalloc videobuf2_memops btrtl btbcm videobuf2_core btintel 
v4l2_common bluetooth videodev media xt_addrtype xt_conntrack xt_CHECKSUM 
iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp 
bridge aufs stp llc iptable_filter ip_tables x_tables binfmt_misc arc4 
nls_iso8859_1 msi_wmi sparse_keymap intel_rapl iosf_mbi x86_pkg_temp_thermal 
snd_hda_codec_hdmi intel_powerclamp coretemp crct10dif_pclmul 
snd_hda_codec_realtek snd_hda_codec_generic crc32_pclmul aesni_intel aes_x86_64 
lrw gf128mul
  [76610.551253]  snd_hda_intel iwlmvm glue_helper snd_hda_codec ablk_helper 
mac80211 cryptd snd_hda_core snd_hwdep snd_pcm snd_seq_midi joydev input_leds 
snd_seq_midi_event snd_rawmidi serio_raw iwlwifi lpc_ich mei_me snd_seq mei 
cfg80211 snd_seq_device snd_timer snd ie31200_edac edac_core soundcore shpchp 
mac_hid kvm_intel kvm parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq 
dm_mirror dm_region_hash dm_log uas usb_storage bcache hid_generic usbhid hid 
i915 i2c_algo_bit drm_kms_helper psmouse ahci drm alx libahci mdio wmi video
  [76610.551395] CPU: 1 PID: 32090 Comm: dpkg Not tainted 4.2.0-23-generic 
#28-Ubuntu
  [76610.551414] Hardware name: Micro-Star International Co., Ltd. GS60 2PE 
Ghost Pro/MS-16H2, BIOS E16H2IMS.112 05/05/2015
  [76610.551438] task: 8803cf422940 ti: 8801a0be4000 task.ti: 
8801a0be4000
  [76610.551455] RIP: 0010:[]  [] 
btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551485] RSP: 0018:8801a0be7e28  EFLAGS: 00010292
  [76610.551497] RAX: 8803cf422940 RBX: 880273bff100 RCX: 

  [76610.551513] RDX: 8000 RSI:  RDI: 
88040a2fb178
  [76610.551530] RBP: 8801a0be7eb8 R08: 0001 R09: 

  [76610.551546] R10: 01f6 R11: 0246 R12: 
88040a2fb178
  [76610.551563] R13: 88040a2fb0d0 R14:  R15: 

  [76610.551580] FS:  7f3c27bca800() GS:88041fa4() 
knlGS:
  [76610.551598] CS:  0010 DS:  ES:  CR0: 80050033
  [76610.551611] CR2: 0334 CR3: 00016159a000 CR4: 
001406e0
  [76610.551628] Stack:
  [76610.551633]  80033fffa865 000b 8000 
88008a657e40
  [76610.551652]  7fff  8801a0be7ea8 
8804069544a0
  [76610.551671]  800173bff000 10b6e564  
10b6e564
  [76610.551691] Call Trace:
  [76610.551703]  [] vfs_fsync_range+0x4b/0xb0
  [76610.551718]  [] do_fsync+0x3d/0x70
  [76610.551732]  [] SyS_fsync+0x10/0x20
  [76610.551751]  [] entry_SYSCALL_64_fastpath+0x16/0x75
  [76610.551766] Code: 8b 0e 48 85 c9 75 e8 eb 9e 48 8b 45 90 4c 8b 75 98 4d 8d 
a5 a8 00 00 00 4c 89 e7 4c 29 f0 48 83 c0 01 48 89 45 80 e8 f4 e2 4b c1  41 
ff 87 34 03 00 00 49 8b 85 70 ff ff ff 48 c1 e8 07 83 e0 
  [76610.551845] RIP  [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551871]  RSP 
  [76610.551881] CR2: 0334
  [76610.558028] ---[ end trace 33509d397c46cd18 ]---

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: linux-image-4.2.0-23-generic 4.2.0-23.28
  ProcVersionSignature: Ubuntu 4.2.0-23.28-generic 4.2.6
  Uname: Linux 4.2.0-23

[Kernel-packages] [Bug 1532145] Re: Kernel Panic wrt btrfs while sbuild/schroot

2016-02-10 Thread Colin Ian King
The failure occurs on an atomic_inc on root, when root is NULL

atomic_inc(&root->log_batch);

-- 
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/1532145

Title:
  Kernel Panic wrt btrfs while sbuild/schroot

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  In Progress

Bug description:
  I'm running ubuntu Wily amd64 on a MSI Ghost Pro laptop.

  I'm running btrfs on top of a bcached dmraid setup(intel software
  raid0).

  I can't use sbuild, cause it crashes.

  I tried to use  a schroot env, and when updating it I got it to crash
  also.

  All the keyboard/mouse/X11 are stalled, but I could ssh to it.
  Trying to restart lightdm service didn't help.

  I've got a kernel trace in the dmesg:

  [76610.550953] BUG: unable to handle kernel NULL pointer dereference at 
0334
  [76610.550983] IP: [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551025] PGD 160aaf067 PUD 161531067 PMD 0 
  [76610.551039] Oops: 0002 [#1] SMP 
  [76610.551050] Modules linked in: dm_crypt algif_skcipher af_alg drbg 
ansi_cprng ctr ccm rfcomm ipt_REJECT nf_reject_ipv4 nvram msr xt_multiport 
ebtable_filter ebtables ip6table_filter ip6_tables overlay bnep uvcvideo btusb 
videobuf2_vmalloc videobuf2_memops btrtl btbcm videobuf2_core btintel 
v4l2_common bluetooth videodev media xt_addrtype xt_conntrack xt_CHECKSUM 
iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp 
bridge aufs stp llc iptable_filter ip_tables x_tables binfmt_misc arc4 
nls_iso8859_1 msi_wmi sparse_keymap intel_rapl iosf_mbi x86_pkg_temp_thermal 
snd_hda_codec_hdmi intel_powerclamp coretemp crct10dif_pclmul 
snd_hda_codec_realtek snd_hda_codec_generic crc32_pclmul aesni_intel aes_x86_64 
lrw gf128mul
  [76610.551253]  snd_hda_intel iwlmvm glue_helper snd_hda_codec ablk_helper 
mac80211 cryptd snd_hda_core snd_hwdep snd_pcm snd_seq_midi joydev input_leds 
snd_seq_midi_event snd_rawmidi serio_raw iwlwifi lpc_ich mei_me snd_seq mei 
cfg80211 snd_seq_device snd_timer snd ie31200_edac edac_core soundcore shpchp 
mac_hid kvm_intel kvm parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq 
dm_mirror dm_region_hash dm_log uas usb_storage bcache hid_generic usbhid hid 
i915 i2c_algo_bit drm_kms_helper psmouse ahci drm alx libahci mdio wmi video
  [76610.551395] CPU: 1 PID: 32090 Comm: dpkg Not tainted 4.2.0-23-generic 
#28-Ubuntu
  [76610.551414] Hardware name: Micro-Star International Co., Ltd. GS60 2PE 
Ghost Pro/MS-16H2, BIOS E16H2IMS.112 05/05/2015
  [76610.551438] task: 8803cf422940 ti: 8801a0be4000 task.ti: 
8801a0be4000
  [76610.551455] RIP: 0010:[]  [] 
btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551485] RSP: 0018:8801a0be7e28  EFLAGS: 00010292
  [76610.551497] RAX: 8803cf422940 RBX: 880273bff100 RCX: 

  [76610.551513] RDX: 8000 RSI:  RDI: 
88040a2fb178
  [76610.551530] RBP: 8801a0be7eb8 R08: 0001 R09: 

  [76610.551546] R10: 01f6 R11: 0246 R12: 
88040a2fb178
  [76610.551563] R13: 88040a2fb0d0 R14:  R15: 

  [76610.551580] FS:  7f3c27bca800() GS:88041fa4() 
knlGS:
  [76610.551598] CS:  0010 DS:  ES:  CR0: 80050033
  [76610.551611] CR2: 0334 CR3: 00016159a000 CR4: 
001406e0
  [76610.551628] Stack:
  [76610.551633]  80033fffa865 000b 8000 
88008a657e40
  [76610.551652]  7fff  8801a0be7ea8 
8804069544a0
  [76610.551671]  800173bff000 10b6e564  
10b6e564
  [76610.551691] Call Trace:
  [76610.551703]  [] vfs_fsync_range+0x4b/0xb0
  [76610.551718]  [] do_fsync+0x3d/0x70
  [76610.551732]  [] SyS_fsync+0x10/0x20
  [76610.551751]  [] entry_SYSCALL_64_fastpath+0x16/0x75
  [76610.551766] Code: 8b 0e 48 85 c9 75 e8 eb 9e 48 8b 45 90 4c 8b 75 98 4d 8d 
a5 a8 00 00 00 4c 89 e7 4c 29 f0 48 83 c0 01 48 89 45 80 e8 f4 e2 4b c1  41 
ff 87 34 03 00 00 49 8b 85 70 ff ff ff 48 c1 e8 07 83 e0 
  [76610.551845] RIP  [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551871]  RSP 
  [76610.551881] CR2: 0334
  [76610.558028] ---[ end trace 33509d397c46cd18 ]---

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: linux-image-4.2.0-23-generic 4.2.0-23.28
  ProcVersionSignature: Ubuntu 4.2.0-23.28-generic 4.2.6
  Uname: Linux 4.2.0-23-generic x86_64
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  Date: Fri Jan  8 11:02:06 2016
  HibernationDevice: RESUME=UUID=1699e24b-be2c-494d-90ff-0f313a5eed84
  InstallationDate: Installed on 2015-11-24 (44 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20151016)
  MachineType: Micro-Star International Co., Ltd. GS60 2PE Ghost Pro
  ProcEnviron:

[Kernel-packages] [Bug 1532145] Re: Kernel Panic wrt btrfs while sbuild/schroot

2016-02-09 Thread Colin Ian King
** Changed in: linux (Ubuntu)
   Status: Confirmed => In Progress

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) => Colin Ian King (colin-king)

-- 
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/1532145

Title:
  Kernel Panic wrt btrfs while sbuild/schroot

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  In Progress

Bug description:
  I'm running ubuntu Wily amd64 on a MSI Ghost Pro laptop.

  I'm running btrfs on top of a bcached dmraid setup(intel software
  raid0).

  I can't use sbuild, cause it crashes.

  I tried to use  a schroot env, and when updating it I got it to crash
  also.

  All the keyboard/mouse/X11 are stalled, but I could ssh to it.
  Trying to restart lightdm service didn't help.

  I've got a kernel trace in the dmesg:

  [76610.550953] BUG: unable to handle kernel NULL pointer dereference at 
0334
  [76610.550983] IP: [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551025] PGD 160aaf067 PUD 161531067 PMD 0 
  [76610.551039] Oops: 0002 [#1] SMP 
  [76610.551050] Modules linked in: dm_crypt algif_skcipher af_alg drbg 
ansi_cprng ctr ccm rfcomm ipt_REJECT nf_reject_ipv4 nvram msr xt_multiport 
ebtable_filter ebtables ip6table_filter ip6_tables overlay bnep uvcvideo btusb 
videobuf2_vmalloc videobuf2_memops btrtl btbcm videobuf2_core btintel 
v4l2_common bluetooth videodev media xt_addrtype xt_conntrack xt_CHECKSUM 
iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp 
bridge aufs stp llc iptable_filter ip_tables x_tables binfmt_misc arc4 
nls_iso8859_1 msi_wmi sparse_keymap intel_rapl iosf_mbi x86_pkg_temp_thermal 
snd_hda_codec_hdmi intel_powerclamp coretemp crct10dif_pclmul 
snd_hda_codec_realtek snd_hda_codec_generic crc32_pclmul aesni_intel aes_x86_64 
lrw gf128mul
  [76610.551253]  snd_hda_intel iwlmvm glue_helper snd_hda_codec ablk_helper 
mac80211 cryptd snd_hda_core snd_hwdep snd_pcm snd_seq_midi joydev input_leds 
snd_seq_midi_event snd_rawmidi serio_raw iwlwifi lpc_ich mei_me snd_seq mei 
cfg80211 snd_seq_device snd_timer snd ie31200_edac edac_core soundcore shpchp 
mac_hid kvm_intel kvm parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq 
dm_mirror dm_region_hash dm_log uas usb_storage bcache hid_generic usbhid hid 
i915 i2c_algo_bit drm_kms_helper psmouse ahci drm alx libahci mdio wmi video
  [76610.551395] CPU: 1 PID: 32090 Comm: dpkg Not tainted 4.2.0-23-generic 
#28-Ubuntu
  [76610.551414] Hardware name: Micro-Star International Co., Ltd. GS60 2PE 
Ghost Pro/MS-16H2, BIOS E16H2IMS.112 05/05/2015
  [76610.551438] task: 8803cf422940 ti: 8801a0be4000 task.ti: 
8801a0be4000
  [76610.551455] RIP: 0010:[]  [] 
btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551485] RSP: 0018:8801a0be7e28  EFLAGS: 00010292
  [76610.551497] RAX: 8803cf422940 RBX: 880273bff100 RCX: 

  [76610.551513] RDX: 8000 RSI:  RDI: 
88040a2fb178
  [76610.551530] RBP: 8801a0be7eb8 R08: 0001 R09: 

  [76610.551546] R10: 01f6 R11: 0246 R12: 
88040a2fb178
  [76610.551563] R13: 88040a2fb0d0 R14:  R15: 

  [76610.551580] FS:  7f3c27bca800() GS:88041fa4() 
knlGS:
  [76610.551598] CS:  0010 DS:  ES:  CR0: 80050033
  [76610.551611] CR2: 0334 CR3: 00016159a000 CR4: 
001406e0
  [76610.551628] Stack:
  [76610.551633]  80033fffa865 000b 8000 
88008a657e40
  [76610.551652]  7fff  8801a0be7ea8 
8804069544a0
  [76610.551671]  800173bff000 10b6e564  
10b6e564
  [76610.551691] Call Trace:
  [76610.551703]  [] vfs_fsync_range+0x4b/0xb0
  [76610.551718]  [] do_fsync+0x3d/0x70
  [76610.551732]  [] SyS_fsync+0x10/0x20
  [76610.551751]  [] entry_SYSCALL_64_fastpath+0x16/0x75
  [76610.551766] Code: 8b 0e 48 85 c9 75 e8 eb 9e 48 8b 45 90 4c 8b 75 98 4d 8d 
a5 a8 00 00 00 4c 89 e7 4c 29 f0 48 83 c0 01 48 89 45 80 e8 f4 e2 4b c1  41 
ff 87 34 03 00 00 49 8b 85 70 ff ff ff 48 c1 e8 07 83 e0 
  [76610.551845] RIP  [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551871]  RSP 
  [76610.551881] CR2: 0334
  [76610.558028] ---[ end trace 33509d397c46cd18 ]---

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: linux-image-4.2.0-23-generic 4.2.0-23.28
  ProcVersionSignature: Ubuntu 4.2.0-23.28-generic 4.2.6
  Uname: Linux 4.2.0-23-generic x86_64
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  Date: Fri Jan  8 11:02:06 2016
  HibernationDevice: RESUME=UUID=1699e24b-be2c-494d-90ff-0f313a5eed84
  InstallationDate: Installed on 2015-11-24 (44 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20151016)
  MachineType: Mic

[Kernel-packages] [Bug 1532145] Re: Kernel Panic wrt btrfs while sbuild/schroot

2016-01-19 Thread Kick In
** Also affects: linux via
   http://bugzilla.kernel.org/show_bug.cgi?id=101951
   Importance: Unknown
   Status: Unknown

-- 
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/1532145

Title:
  Kernel Panic wrt btrfs while sbuild/schroot

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I'm running ubuntu Wily amd64 on a MSI Ghost Pro laptop.

  I'm running btrfs on top of a bcached dmraid setup(intel software
  raid0).

  I can't use sbuild, cause it crashes.

  I tried to use  a schroot env, and when updating it I got it to crash
  also.

  All the keyboard/mouse/X11 are stalled, but I could ssh to it.
  Trying to restart lightdm service didn't help.

  I've got a kernel trace in the dmesg:

  [76610.550953] BUG: unable to handle kernel NULL pointer dereference at 
0334
  [76610.550983] IP: [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551025] PGD 160aaf067 PUD 161531067 PMD 0 
  [76610.551039] Oops: 0002 [#1] SMP 
  [76610.551050] Modules linked in: dm_crypt algif_skcipher af_alg drbg 
ansi_cprng ctr ccm rfcomm ipt_REJECT nf_reject_ipv4 nvram msr xt_multiport 
ebtable_filter ebtables ip6table_filter ip6_tables overlay bnep uvcvideo btusb 
videobuf2_vmalloc videobuf2_memops btrtl btbcm videobuf2_core btintel 
v4l2_common bluetooth videodev media xt_addrtype xt_conntrack xt_CHECKSUM 
iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp 
bridge aufs stp llc iptable_filter ip_tables x_tables binfmt_misc arc4 
nls_iso8859_1 msi_wmi sparse_keymap intel_rapl iosf_mbi x86_pkg_temp_thermal 
snd_hda_codec_hdmi intel_powerclamp coretemp crct10dif_pclmul 
snd_hda_codec_realtek snd_hda_codec_generic crc32_pclmul aesni_intel aes_x86_64 
lrw gf128mul
  [76610.551253]  snd_hda_intel iwlmvm glue_helper snd_hda_codec ablk_helper 
mac80211 cryptd snd_hda_core snd_hwdep snd_pcm snd_seq_midi joydev input_leds 
snd_seq_midi_event snd_rawmidi serio_raw iwlwifi lpc_ich mei_me snd_seq mei 
cfg80211 snd_seq_device snd_timer snd ie31200_edac edac_core soundcore shpchp 
mac_hid kvm_intel kvm parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq 
dm_mirror dm_region_hash dm_log uas usb_storage bcache hid_generic usbhid hid 
i915 i2c_algo_bit drm_kms_helper psmouse ahci drm alx libahci mdio wmi video
  [76610.551395] CPU: 1 PID: 32090 Comm: dpkg Not tainted 4.2.0-23-generic 
#28-Ubuntu
  [76610.551414] Hardware name: Micro-Star International Co., Ltd. GS60 2PE 
Ghost Pro/MS-16H2, BIOS E16H2IMS.112 05/05/2015
  [76610.551438] task: 8803cf422940 ti: 8801a0be4000 task.ti: 
8801a0be4000
  [76610.551455] RIP: 0010:[]  [] 
btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551485] RSP: 0018:8801a0be7e28  EFLAGS: 00010292
  [76610.551497] RAX: 8803cf422940 RBX: 880273bff100 RCX: 

  [76610.551513] RDX: 8000 RSI:  RDI: 
88040a2fb178
  [76610.551530] RBP: 8801a0be7eb8 R08: 0001 R09: 

  [76610.551546] R10: 01f6 R11: 0246 R12: 
88040a2fb178
  [76610.551563] R13: 88040a2fb0d0 R14:  R15: 

  [76610.551580] FS:  7f3c27bca800() GS:88041fa4() 
knlGS:
  [76610.551598] CS:  0010 DS:  ES:  CR0: 80050033
  [76610.551611] CR2: 0334 CR3: 00016159a000 CR4: 
001406e0
  [76610.551628] Stack:
  [76610.551633]  80033fffa865 000b 8000 
88008a657e40
  [76610.551652]  7fff  8801a0be7ea8 
8804069544a0
  [76610.551671]  800173bff000 10b6e564  
10b6e564
  [76610.551691] Call Trace:
  [76610.551703]  [] vfs_fsync_range+0x4b/0xb0
  [76610.551718]  [] do_fsync+0x3d/0x70
  [76610.551732]  [] SyS_fsync+0x10/0x20
  [76610.551751]  [] entry_SYSCALL_64_fastpath+0x16/0x75
  [76610.551766] Code: 8b 0e 48 85 c9 75 e8 eb 9e 48 8b 45 90 4c 8b 75 98 4d 8d 
a5 a8 00 00 00 4c 89 e7 4c 29 f0 48 83 c0 01 48 89 45 80 e8 f4 e2 4b c1  41 
ff 87 34 03 00 00 49 8b 85 70 ff ff ff 48 c1 e8 07 83 e0 
  [76610.551845] RIP  [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551871]  RSP 
  [76610.551881] CR2: 0334
  [76610.558028] ---[ end trace 33509d397c46cd18 ]---

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: linux-image-4.2.0-23-generic 4.2.0-23.28
  ProcVersionSignature: Ubuntu 4.2.0-23.28-generic 4.2.6
  Uname: Linux 4.2.0-23-generic x86_64
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  Date: Fri Jan  8 11:02:06 2016
  HibernationDevice: RESUME=UUID=1699e24b-be2c-494d-90ff-0f313a5eed84
  InstallationDate: Installed on 2015-11-24 (44 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20151016)
  MachineType: Micro-Star International Co., Ltd. GS60

[Kernel-packages] [Bug 1532145] Re: Kernel Panic wrt btrfs while sbuild/schroot

2016-01-19 Thread Kick In
Same bug that I already had with another laptop, it seems to be related
to overlay and btrfs:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1496438

Happens also on coreos:
https://github.com/coreos/rkt/issues/1498

Kernel bug:
https://bugzilla.kernel.org/show_bug.cgi?id=101951

** Bug watch added: Linux Kernel Bug Tracker #101951
   http://bugzilla.kernel.org/show_bug.cgi?id=101951

-- 
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/1532145

Title:
  Kernel Panic wrt btrfs while sbuild/schroot

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I'm running ubuntu Wily amd64 on a MSI Ghost Pro laptop.

  I'm running btrfs on top of a bcached dmraid setup(intel software
  raid0).

  I can't use sbuild, cause it crashes.

  I tried to use  a schroot env, and when updating it I got it to crash
  also.

  All the keyboard/mouse/X11 are stalled, but I could ssh to it.
  Trying to restart lightdm service didn't help.

  I've got a kernel trace in the dmesg:

  [76610.550953] BUG: unable to handle kernel NULL pointer dereference at 
0334
  [76610.550983] IP: [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551025] PGD 160aaf067 PUD 161531067 PMD 0 
  [76610.551039] Oops: 0002 [#1] SMP 
  [76610.551050] Modules linked in: dm_crypt algif_skcipher af_alg drbg 
ansi_cprng ctr ccm rfcomm ipt_REJECT nf_reject_ipv4 nvram msr xt_multiport 
ebtable_filter ebtables ip6table_filter ip6_tables overlay bnep uvcvideo btusb 
videobuf2_vmalloc videobuf2_memops btrtl btbcm videobuf2_core btintel 
v4l2_common bluetooth videodev media xt_addrtype xt_conntrack xt_CHECKSUM 
iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp 
bridge aufs stp llc iptable_filter ip_tables x_tables binfmt_misc arc4 
nls_iso8859_1 msi_wmi sparse_keymap intel_rapl iosf_mbi x86_pkg_temp_thermal 
snd_hda_codec_hdmi intel_powerclamp coretemp crct10dif_pclmul 
snd_hda_codec_realtek snd_hda_codec_generic crc32_pclmul aesni_intel aes_x86_64 
lrw gf128mul
  [76610.551253]  snd_hda_intel iwlmvm glue_helper snd_hda_codec ablk_helper 
mac80211 cryptd snd_hda_core snd_hwdep snd_pcm snd_seq_midi joydev input_leds 
snd_seq_midi_event snd_rawmidi serio_raw iwlwifi lpc_ich mei_me snd_seq mei 
cfg80211 snd_seq_device snd_timer snd ie31200_edac edac_core soundcore shpchp 
mac_hid kvm_intel kvm parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq 
dm_mirror dm_region_hash dm_log uas usb_storage bcache hid_generic usbhid hid 
i915 i2c_algo_bit drm_kms_helper psmouse ahci drm alx libahci mdio wmi video
  [76610.551395] CPU: 1 PID: 32090 Comm: dpkg Not tainted 4.2.0-23-generic 
#28-Ubuntu
  [76610.551414] Hardware name: Micro-Star International Co., Ltd. GS60 2PE 
Ghost Pro/MS-16H2, BIOS E16H2IMS.112 05/05/2015
  [76610.551438] task: 8803cf422940 ti: 8801a0be4000 task.ti: 
8801a0be4000
  [76610.551455] RIP: 0010:[]  [] 
btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551485] RSP: 0018:8801a0be7e28  EFLAGS: 00010292
  [76610.551497] RAX: 8803cf422940 RBX: 880273bff100 RCX: 

  [76610.551513] RDX: 8000 RSI:  RDI: 
88040a2fb178
  [76610.551530] RBP: 8801a0be7eb8 R08: 0001 R09: 

  [76610.551546] R10: 01f6 R11: 0246 R12: 
88040a2fb178
  [76610.551563] R13: 88040a2fb0d0 R14:  R15: 

  [76610.551580] FS:  7f3c27bca800() GS:88041fa4() 
knlGS:
  [76610.551598] CS:  0010 DS:  ES:  CR0: 80050033
  [76610.551611] CR2: 0334 CR3: 00016159a000 CR4: 
001406e0
  [76610.551628] Stack:
  [76610.551633]  80033fffa865 000b 8000 
88008a657e40
  [76610.551652]  7fff  8801a0be7ea8 
8804069544a0
  [76610.551671]  800173bff000 10b6e564  
10b6e564
  [76610.551691] Call Trace:
  [76610.551703]  [] vfs_fsync_range+0x4b/0xb0
  [76610.551718]  [] do_fsync+0x3d/0x70
  [76610.551732]  [] SyS_fsync+0x10/0x20
  [76610.551751]  [] entry_SYSCALL_64_fastpath+0x16/0x75
  [76610.551766] Code: 8b 0e 48 85 c9 75 e8 eb 9e 48 8b 45 90 4c 8b 75 98 4d 8d 
a5 a8 00 00 00 4c 89 e7 4c 29 f0 48 83 c0 01 48 89 45 80 e8 f4 e2 4b c1  41 
ff 87 34 03 00 00 49 8b 85 70 ff ff ff 48 c1 e8 07 83 e0 
  [76610.551845] RIP  [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551871]  RSP 
  [76610.551881] CR2: 0334
  [76610.558028] ---[ end trace 33509d397c46cd18 ]---

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: linux-image-4.2.0-23-generic 4.2.0-23.28
  ProcVersionSignature: Ubuntu 4.2.0-23.28-generic 4.2.6
  Uname: Linux 4.2.0-23-generic x86_64
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  Date: Fri Jan  8 11:02:06 2016
  HibernationDev

[Kernel-packages] [Bug 1532145] Re: Kernel Panic wrt btrfs while sbuild/schroot

2016-01-19 Thread Joseph Salisbury
Did this issue start happening after an update/upgrade? Was there a
kernel version where you were not having this particular problem? This
will help determine if the problem you are seeing is the result of a
regression, and when this regression was introduced.   If this is a
regression, we can perform a kernel bisect to identify the commit that
introduced the problem.

-- 
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/1532145

Title:
  Kernel Panic wrt btrfs while sbuild/schroot

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I'm running ubuntu Wily amd64 on a MSI Ghost Pro laptop.

  I'm running btrfs on top of a bcached dmraid setup(intel software
  raid0).

  I can't use sbuild, cause it crashes.

  I tried to use  a schroot env, and when updating it I got it to crash
  also.

  All the keyboard/mouse/X11 are stalled, but I could ssh to it.
  Trying to restart lightdm service didn't help.

  I've got a kernel trace in the dmesg:

  [76610.550953] BUG: unable to handle kernel NULL pointer dereference at 
0334
  [76610.550983] IP: [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551025] PGD 160aaf067 PUD 161531067 PMD 0 
  [76610.551039] Oops: 0002 [#1] SMP 
  [76610.551050] Modules linked in: dm_crypt algif_skcipher af_alg drbg 
ansi_cprng ctr ccm rfcomm ipt_REJECT nf_reject_ipv4 nvram msr xt_multiport 
ebtable_filter ebtables ip6table_filter ip6_tables overlay bnep uvcvideo btusb 
videobuf2_vmalloc videobuf2_memops btrtl btbcm videobuf2_core btintel 
v4l2_common bluetooth videodev media xt_addrtype xt_conntrack xt_CHECKSUM 
iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp 
bridge aufs stp llc iptable_filter ip_tables x_tables binfmt_misc arc4 
nls_iso8859_1 msi_wmi sparse_keymap intel_rapl iosf_mbi x86_pkg_temp_thermal 
snd_hda_codec_hdmi intel_powerclamp coretemp crct10dif_pclmul 
snd_hda_codec_realtek snd_hda_codec_generic crc32_pclmul aesni_intel aes_x86_64 
lrw gf128mul
  [76610.551253]  snd_hda_intel iwlmvm glue_helper snd_hda_codec ablk_helper 
mac80211 cryptd snd_hda_core snd_hwdep snd_pcm snd_seq_midi joydev input_leds 
snd_seq_midi_event snd_rawmidi serio_raw iwlwifi lpc_ich mei_me snd_seq mei 
cfg80211 snd_seq_device snd_timer snd ie31200_edac edac_core soundcore shpchp 
mac_hid kvm_intel kvm parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq 
dm_mirror dm_region_hash dm_log uas usb_storage bcache hid_generic usbhid hid 
i915 i2c_algo_bit drm_kms_helper psmouse ahci drm alx libahci mdio wmi video
  [76610.551395] CPU: 1 PID: 32090 Comm: dpkg Not tainted 4.2.0-23-generic 
#28-Ubuntu
  [76610.551414] Hardware name: Micro-Star International Co., Ltd. GS60 2PE 
Ghost Pro/MS-16H2, BIOS E16H2IMS.112 05/05/2015
  [76610.551438] task: 8803cf422940 ti: 8801a0be4000 task.ti: 
8801a0be4000
  [76610.551455] RIP: 0010:[]  [] 
btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551485] RSP: 0018:8801a0be7e28  EFLAGS: 00010292
  [76610.551497] RAX: 8803cf422940 RBX: 880273bff100 RCX: 

  [76610.551513] RDX: 8000 RSI:  RDI: 
88040a2fb178
  [76610.551530] RBP: 8801a0be7eb8 R08: 0001 R09: 

  [76610.551546] R10: 01f6 R11: 0246 R12: 
88040a2fb178
  [76610.551563] R13: 88040a2fb0d0 R14:  R15: 

  [76610.551580] FS:  7f3c27bca800() GS:88041fa4() 
knlGS:
  [76610.551598] CS:  0010 DS:  ES:  CR0: 80050033
  [76610.551611] CR2: 0334 CR3: 00016159a000 CR4: 
001406e0
  [76610.551628] Stack:
  [76610.551633]  80033fffa865 000b 8000 
88008a657e40
  [76610.551652]  7fff  8801a0be7ea8 
8804069544a0
  [76610.551671]  800173bff000 10b6e564  
10b6e564
  [76610.551691] Call Trace:
  [76610.551703]  [] vfs_fsync_range+0x4b/0xb0
  [76610.551718]  [] do_fsync+0x3d/0x70
  [76610.551732]  [] SyS_fsync+0x10/0x20
  [76610.551751]  [] entry_SYSCALL_64_fastpath+0x16/0x75
  [76610.551766] Code: 8b 0e 48 85 c9 75 e8 eb 9e 48 8b 45 90 4c 8b 75 98 4d 8d 
a5 a8 00 00 00 4c 89 e7 4c 29 f0 48 83 c0 01 48 89 45 80 e8 f4 e2 4b c1  41 
ff 87 34 03 00 00 49 8b 85 70 ff ff ff 48 c1 e8 07 83 e0 
  [76610.551845] RIP  [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551871]  RSP 
  [76610.551881] CR2: 0334
  [76610.558028] ---[ end trace 33509d397c46cd18 ]---

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: linux-image-4.2.0-23-generic 4.2.0-23.28
  ProcVersionSignature: Ubuntu 4.2.0-23.28-generic 4.2.6
  Uname: Linux 4.2.0-23-generic x86_64
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  Date: Fri Jan  8 11:02:06 2016
  HibernationDevice: RESUME=UUID=1699e2

[Kernel-packages] [Bug 1532145] Re: Kernel Panic wrt btrfs while sbuild/schroot

2016-01-19 Thread Chris J Arges
** Tags added: kernel-key

-- 
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/1532145

Title:
  Kernel Panic wrt btrfs while sbuild/schroot

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I'm running ubuntu Wily amd64 on a MSI Ghost Pro laptop.

  I'm running btrfs on top of a bcached dmraid setup(intel software
  raid0).

  I can't use sbuild, cause it crashes.

  I tried to use  a schroot env, and when updating it I got it to crash
  also.

  All the keyboard/mouse/X11 are stalled, but I could ssh to it.
  Trying to restart lightdm service didn't help.

  I've got a kernel trace in the dmesg:

  [76610.550953] BUG: unable to handle kernel NULL pointer dereference at 
0334
  [76610.550983] IP: [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551025] PGD 160aaf067 PUD 161531067 PMD 0 
  [76610.551039] Oops: 0002 [#1] SMP 
  [76610.551050] Modules linked in: dm_crypt algif_skcipher af_alg drbg 
ansi_cprng ctr ccm rfcomm ipt_REJECT nf_reject_ipv4 nvram msr xt_multiport 
ebtable_filter ebtables ip6table_filter ip6_tables overlay bnep uvcvideo btusb 
videobuf2_vmalloc videobuf2_memops btrtl btbcm videobuf2_core btintel 
v4l2_common bluetooth videodev media xt_addrtype xt_conntrack xt_CHECKSUM 
iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp 
bridge aufs stp llc iptable_filter ip_tables x_tables binfmt_misc arc4 
nls_iso8859_1 msi_wmi sparse_keymap intel_rapl iosf_mbi x86_pkg_temp_thermal 
snd_hda_codec_hdmi intel_powerclamp coretemp crct10dif_pclmul 
snd_hda_codec_realtek snd_hda_codec_generic crc32_pclmul aesni_intel aes_x86_64 
lrw gf128mul
  [76610.551253]  snd_hda_intel iwlmvm glue_helper snd_hda_codec ablk_helper 
mac80211 cryptd snd_hda_core snd_hwdep snd_pcm snd_seq_midi joydev input_leds 
snd_seq_midi_event snd_rawmidi serio_raw iwlwifi lpc_ich mei_me snd_seq mei 
cfg80211 snd_seq_device snd_timer snd ie31200_edac edac_core soundcore shpchp 
mac_hid kvm_intel kvm parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq 
dm_mirror dm_region_hash dm_log uas usb_storage bcache hid_generic usbhid hid 
i915 i2c_algo_bit drm_kms_helper psmouse ahci drm alx libahci mdio wmi video
  [76610.551395] CPU: 1 PID: 32090 Comm: dpkg Not tainted 4.2.0-23-generic 
#28-Ubuntu
  [76610.551414] Hardware name: Micro-Star International Co., Ltd. GS60 2PE 
Ghost Pro/MS-16H2, BIOS E16H2IMS.112 05/05/2015
  [76610.551438] task: 8803cf422940 ti: 8801a0be4000 task.ti: 
8801a0be4000
  [76610.551455] RIP: 0010:[]  [] 
btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551485] RSP: 0018:8801a0be7e28  EFLAGS: 00010292
  [76610.551497] RAX: 8803cf422940 RBX: 880273bff100 RCX: 

  [76610.551513] RDX: 8000 RSI:  RDI: 
88040a2fb178
  [76610.551530] RBP: 8801a0be7eb8 R08: 0001 R09: 

  [76610.551546] R10: 01f6 R11: 0246 R12: 
88040a2fb178
  [76610.551563] R13: 88040a2fb0d0 R14:  R15: 

  [76610.551580] FS:  7f3c27bca800() GS:88041fa4() 
knlGS:
  [76610.551598] CS:  0010 DS:  ES:  CR0: 80050033
  [76610.551611] CR2: 0334 CR3: 00016159a000 CR4: 
001406e0
  [76610.551628] Stack:
  [76610.551633]  80033fffa865 000b 8000 
88008a657e40
  [76610.551652]  7fff  8801a0be7ea8 
8804069544a0
  [76610.551671]  800173bff000 10b6e564  
10b6e564
  [76610.551691] Call Trace:
  [76610.551703]  [] vfs_fsync_range+0x4b/0xb0
  [76610.551718]  [] do_fsync+0x3d/0x70
  [76610.551732]  [] SyS_fsync+0x10/0x20
  [76610.551751]  [] entry_SYSCALL_64_fastpath+0x16/0x75
  [76610.551766] Code: 8b 0e 48 85 c9 75 e8 eb 9e 48 8b 45 90 4c 8b 75 98 4d 8d 
a5 a8 00 00 00 4c 89 e7 4c 29 f0 48 83 c0 01 48 89 45 80 e8 f4 e2 4b c1  41 
ff 87 34 03 00 00 49 8b 85 70 ff ff ff 48 c1 e8 07 83 e0 
  [76610.551845] RIP  [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551871]  RSP 
  [76610.551881] CR2: 0334
  [76610.558028] ---[ end trace 33509d397c46cd18 ]---

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: linux-image-4.2.0-23-generic 4.2.0-23.28
  ProcVersionSignature: Ubuntu 4.2.0-23.28-generic 4.2.6
  Uname: Linux 4.2.0-23-generic x86_64
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  Date: Fri Jan  8 11:02:06 2016
  HibernationDevice: RESUME=UUID=1699e24b-be2c-494d-90ff-0f313a5eed84
  InstallationDate: Installed on 2015-11-24 (44 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20151016)
  MachineType: Micro-Star International Co., Ltd. GS60 2PE Ghost Pro
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=fr_FR.UTF-8
   SHELL=/bin/bas

[Kernel-packages] [Bug 1532145] Re: Kernel Panic wrt btrfs while sbuild/schroot

2016-01-11 Thread Kick In
I tried with the upstream v4.4-wily kernel.

kick@kick-gs60:~/work/merges/freeipmi$ uname -a
Linux kick-gs60 4.4.0-040400-generic #201601101930 SMP Mon Jan 11 00:32:41 UTC 
2016 x86_64 x86_64 x86_64 GNU/Linux

I couldn't re-use my previous schroot (couldn't mount with overlayfs).
I've created a new one with --type=btrfs-snapshot.

My latop didn't freeze, but I still got traces in the syslog:

[  458.091294] BUG: unable to handle kernel NULL pointer dereference at 
0334
[  458.091320] IP: [] btrfs_sync_file+0xcc/0x350 [btrfs]
[  458.091363] PGD 3e8de9067 PUD 3e8de8067 PMD 0 
[  458.091374] Oops: 0002 [#1] SMP 
[  458.091383] Modules linked in: overlay drbg ansi_cprng ctr ccm rfcomm nvram 
msr xt_multiport ipt_REJECT nf_reject_ipv4 ebtable_filter ebtables 
ip6table_filter ip6_tables xt_addrtype xt_conntrack xt_CHECKSUM iptable_mangle 
ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_conntrack_ipv4 
nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp bridge stp llc 
iptable_filter ip_tables x_tables binfmt_misc bnep uvcvideo videobuf2_vmalloc 
videobuf2_memops videobuf2_v4l2 videobuf2_core btusb btrtl v4l2_common btbcm 
btintel videodev bluetooth media arc4 nls_iso8859_1 intel_rapl iwlmvm 
x86_pkg_temp_thermal intel_powerclamp coretemp msi_wmi sparse_keymap 
crct10dif_pclmul snd_hda_codec_realtek crc32_pclmul snd_hda_codec_hdmi 
snd_hda_codec_generic aesni_intel aes_x86_64 mac80211 lrw gf128mul glue_helper 
ablk_helper
[  458.091575]  cryptd snd_hda_intel input_leds snd_hda_codec iwlwifi 
snd_hda_core snd_hwdep joydev snd_seq_midi snd_seq_midi_event serio_raw snd_pcm 
snd_rawmidi snd_seq snd_seq_device snd_timer lpc_ich cfg80211 mei_me snd mei 
soundcore ie31200_edac shpchp edac_core mac_hid kvm_intel kvm irqbypass 
parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq dm_mirror dm_region_hash 
dm_log bcache hid_generic usbhid hid i915 i2c_algo_bit drm_kms_helper 
syscopyarea sysfillrect sysimgblt fb_sys_fops psmouse drm ahci alx libahci mdio 
wmi video fjes
[  458.091711] CPU: 1 PID: 5615 Comm: debconf-set-sel Not tainted 
4.4.0-040400-generic #201601101930
[  458.091731] Hardware name: Micro-Star International Co., Ltd. GS60 2PE Ghost 
Pro/MS-16H2, BIOS E16H2IMS.112 05/05/2015
[  458.091755] task: 8803e1013700 ti: 8803e8d38000 task.ti: 
8803e8d38000
[  458.091771] RIP: 0010:[]  [] 
btrfs_sync_file+0xcc/0x350 [btrfs]
[  458.091804] RSP: 0018:8803e8d3be48  EFLAGS: 00010246
[  458.091815] RAX: 8803e1013700 RBX: 8803af242700 RCX: 
[  458.091831] RDX: 8000 RSI:  RDI: 880409d9c988
[  458.091846] RBP: 8803e8d3bec8 R08: 0001 R09: 021f5338
[  458.091861] R10: 009c R11: 0246 R12: 880409d9c988
[  458.091876] R13: 880409d9c8e0 R14:  R15: 
[  458.091892] FS:  7f31a0444700() GS:88041fa4() 
knlGS:
[  458.091910] CS:  0010 DS:  ES:  CR0: 80050033
[  458.091922] CR2: 0334 CR3: 0003e8f05000 CR4: 001406e0
[  458.091937] Stack:
[  458.091942]  027bf270 0001 8000 
8803bbc02540
[  458.091960]  7fff   

[  458.091978]   92eff2d8 92eff2d8 
8803af242700
[  458.091995] Call Trace:
[  458.092006]  [] vfs_fsync_range+0x4b/0xb0
[  458.092019]  [] do_fsync+0x3d/0x70
[  458.092030]  [] SyS_fsync+0x10/0x20
[  458.092043]  [] entry_SYSCALL_64_fastpath+0x16/0x75
[  458.092057] Code: 8b 0e 48 85 c9 75 e8 eb 9e 48 8b 45 a0 4c 8b 75 a8 4d 8d 
a5 a8 00 00 00 4c 89 e7 4c 29 f0 48 83 c0 01 48 89 45 90 e8 d4 48 4b c1  41 
ff 87 34 03 00 00 49 8b 85 70 ff ff ff 48 c1 e8 07 83 e0 
[  458.092132] RIP  [] btrfs_sync_file+0xcc/0x350 [btrfs]
[  458.092155]  RSP 
[  458.092163] CR2: 0334
[  458.097834] ---[ end trace ff869f7e0dc1efc8 ]---
[  467.516336] general protection fault:  [#2] SMP 
[  467.516353] Modules linked in: overlay drbg ansi_cprng ctr ccm rfcomm nvram 
msr xt_multiport ipt_REJECT nf_reject_ipv4 ebtable_filter ebtables 
ip6table_filter ip6_tables xt_addrtype xt_conntrack xt_CHECKSUM iptable_mangle 
ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_conntrack_ipv4 
nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp bridge stp llc 
iptable_filter ip_tables x_tables binfmt_misc bnep uvcvideo videobuf2_vmalloc 
videobuf2_memops videobuf2_v4l2 videobuf2_core btusb btrtl v4l2_common btbcm 
btintel videodev bluetooth media arc4 nls_iso8859_1 intel_rapl iwlmvm 
x86_pkg_temp_thermal intel_powerclamp coretemp msi_wmi sparse_keymap 
crct10dif_pclmul snd_hda_codec_realtek crc32_pclmul snd_hda_codec_hdmi 
snd_hda_codec_generic aesni_intel aes_x86_64 mac80211 lrw gf128mul glue_helper 
ablk_helper
[  467.516558]  cryptd snd_hda_intel input_leds snd_hda_codec iwlwifi 
snd_hda_core snd_hwdep joydev snd_seq_midi snd_seq_midi_event serio_raw snd_pcm 
s

[Kernel-packages] [Bug 1532145] Re: Kernel Panic wrt btrfs while sbuild/schroot

2016-01-11 Thread Kick In
output of lsblk:
http://paste.ubuntu.com/14468218/

-- 
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/1532145

Title:
  Kernel Panic wrt btrfs while sbuild/schroot

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I'm running ubuntu Wily amd64 on a MSI Ghost Pro laptop.

  I'm running btrfs on top of a bcached dmraid setup(intel software
  raid0).

  I can't use sbuild, cause it crashes.

  I tried to use  a schroot env, and when updating it I got it to crash
  also.

  All the keyboard/mouse/X11 are stalled, but I could ssh to it.
  Trying to restart lightdm service didn't help.

  I've got a kernel trace in the dmesg:

  [76610.550953] BUG: unable to handle kernel NULL pointer dereference at 
0334
  [76610.550983] IP: [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551025] PGD 160aaf067 PUD 161531067 PMD 0 
  [76610.551039] Oops: 0002 [#1] SMP 
  [76610.551050] Modules linked in: dm_crypt algif_skcipher af_alg drbg 
ansi_cprng ctr ccm rfcomm ipt_REJECT nf_reject_ipv4 nvram msr xt_multiport 
ebtable_filter ebtables ip6table_filter ip6_tables overlay bnep uvcvideo btusb 
videobuf2_vmalloc videobuf2_memops btrtl btbcm videobuf2_core btintel 
v4l2_common bluetooth videodev media xt_addrtype xt_conntrack xt_CHECKSUM 
iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp 
bridge aufs stp llc iptable_filter ip_tables x_tables binfmt_misc arc4 
nls_iso8859_1 msi_wmi sparse_keymap intel_rapl iosf_mbi x86_pkg_temp_thermal 
snd_hda_codec_hdmi intel_powerclamp coretemp crct10dif_pclmul 
snd_hda_codec_realtek snd_hda_codec_generic crc32_pclmul aesni_intel aes_x86_64 
lrw gf128mul
  [76610.551253]  snd_hda_intel iwlmvm glue_helper snd_hda_codec ablk_helper 
mac80211 cryptd snd_hda_core snd_hwdep snd_pcm snd_seq_midi joydev input_leds 
snd_seq_midi_event snd_rawmidi serio_raw iwlwifi lpc_ich mei_me snd_seq mei 
cfg80211 snd_seq_device snd_timer snd ie31200_edac edac_core soundcore shpchp 
mac_hid kvm_intel kvm parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq 
dm_mirror dm_region_hash dm_log uas usb_storage bcache hid_generic usbhid hid 
i915 i2c_algo_bit drm_kms_helper psmouse ahci drm alx libahci mdio wmi video
  [76610.551395] CPU: 1 PID: 32090 Comm: dpkg Not tainted 4.2.0-23-generic 
#28-Ubuntu
  [76610.551414] Hardware name: Micro-Star International Co., Ltd. GS60 2PE 
Ghost Pro/MS-16H2, BIOS E16H2IMS.112 05/05/2015
  [76610.551438] task: 8803cf422940 ti: 8801a0be4000 task.ti: 
8801a0be4000
  [76610.551455] RIP: 0010:[]  [] 
btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551485] RSP: 0018:8801a0be7e28  EFLAGS: 00010292
  [76610.551497] RAX: 8803cf422940 RBX: 880273bff100 RCX: 

  [76610.551513] RDX: 8000 RSI:  RDI: 
88040a2fb178
  [76610.551530] RBP: 8801a0be7eb8 R08: 0001 R09: 

  [76610.551546] R10: 01f6 R11: 0246 R12: 
88040a2fb178
  [76610.551563] R13: 88040a2fb0d0 R14:  R15: 

  [76610.551580] FS:  7f3c27bca800() GS:88041fa4() 
knlGS:
  [76610.551598] CS:  0010 DS:  ES:  CR0: 80050033
  [76610.551611] CR2: 0334 CR3: 00016159a000 CR4: 
001406e0
  [76610.551628] Stack:
  [76610.551633]  80033fffa865 000b 8000 
88008a657e40
  [76610.551652]  7fff  8801a0be7ea8 
8804069544a0
  [76610.551671]  800173bff000 10b6e564  
10b6e564
  [76610.551691] Call Trace:
  [76610.551703]  [] vfs_fsync_range+0x4b/0xb0
  [76610.551718]  [] do_fsync+0x3d/0x70
  [76610.551732]  [] SyS_fsync+0x10/0x20
  [76610.551751]  [] entry_SYSCALL_64_fastpath+0x16/0x75
  [76610.551766] Code: 8b 0e 48 85 c9 75 e8 eb 9e 48 8b 45 90 4c 8b 75 98 4d 8d 
a5 a8 00 00 00 4c 89 e7 4c 29 f0 48 83 c0 01 48 89 45 80 e8 f4 e2 4b c1  41 
ff 87 34 03 00 00 49 8b 85 70 ff ff ff 48 c1 e8 07 83 e0 
  [76610.551845] RIP  [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551871]  RSP 
  [76610.551881] CR2: 0334
  [76610.558028] ---[ end trace 33509d397c46cd18 ]---

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: linux-image-4.2.0-23-generic 4.2.0-23.28
  ProcVersionSignature: Ubuntu 4.2.0-23.28-generic 4.2.6
  Uname: Linux 4.2.0-23-generic x86_64
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  Date: Fri Jan  8 11:02:06 2016
  HibernationDevice: RESUME=UUID=1699e24b-be2c-494d-90ff-0f313a5eed84
  InstallationDate: Installed on 2015-11-24 (44 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20151016)
  MachineType: Micro-Star International Co., Ltd. GS60 2PE Ghost Pro
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=fr_F

[Kernel-packages] [Bug 1532145] Re: Kernel Panic wrt btrfs while sbuild/schroot

2016-01-08 Thread Joseph Salisbury
Did this issue start happening after an update/upgrade?  Was there a
prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer
to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
v4.4 kernel[0].

If this bug is fixed in the mainline kernel, please add the following
tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag:
'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as
"Confirmed".


Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4-rc8-wily


** Changed in: linux (Ubuntu)
   Importance: Undecided => High

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

-- 
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/1532145

Title:
  Kernel Panic wrt btrfs while sbuild/schroot

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I'm running ubuntu Wily amd64 on a MSI Ghost Pro laptop.

  I'm running btrfs on top of a bcached dmraid setup(intel software
  raid0).

  I can't use sbuild, cause it crashes.

  I tried to use  a schroot env, and when updating it I got it to crash
  also.

  All the keyboard/mouse/X11 are stalled, but I could ssh to it.
  Trying to restart lightdm service didn't help.

  I've got a kernel trace in the dmesg:

  [76610.550953] BUG: unable to handle kernel NULL pointer dereference at 
0334
  [76610.550983] IP: [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551025] PGD 160aaf067 PUD 161531067 PMD 0 
  [76610.551039] Oops: 0002 [#1] SMP 
  [76610.551050] Modules linked in: dm_crypt algif_skcipher af_alg drbg 
ansi_cprng ctr ccm rfcomm ipt_REJECT nf_reject_ipv4 nvram msr xt_multiport 
ebtable_filter ebtables ip6table_filter ip6_tables overlay bnep uvcvideo btusb 
videobuf2_vmalloc videobuf2_memops btrtl btbcm videobuf2_core btintel 
v4l2_common bluetooth videodev media xt_addrtype xt_conntrack xt_CHECKSUM 
iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp 
bridge aufs stp llc iptable_filter ip_tables x_tables binfmt_misc arc4 
nls_iso8859_1 msi_wmi sparse_keymap intel_rapl iosf_mbi x86_pkg_temp_thermal 
snd_hda_codec_hdmi intel_powerclamp coretemp crct10dif_pclmul 
snd_hda_codec_realtek snd_hda_codec_generic crc32_pclmul aesni_intel aes_x86_64 
lrw gf128mul
  [76610.551253]  snd_hda_intel iwlmvm glue_helper snd_hda_codec ablk_helper 
mac80211 cryptd snd_hda_core snd_hwdep snd_pcm snd_seq_midi joydev input_leds 
snd_seq_midi_event snd_rawmidi serio_raw iwlwifi lpc_ich mei_me snd_seq mei 
cfg80211 snd_seq_device snd_timer snd ie31200_edac edac_core soundcore shpchp 
mac_hid kvm_intel kvm parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq 
dm_mirror dm_region_hash dm_log uas usb_storage bcache hid_generic usbhid hid 
i915 i2c_algo_bit drm_kms_helper psmouse ahci drm alx libahci mdio wmi video
  [76610.551395] CPU: 1 PID: 32090 Comm: dpkg Not tainted 4.2.0-23-generic 
#28-Ubuntu
  [76610.551414] Hardware name: Micro-Star International Co., Ltd. GS60 2PE 
Ghost Pro/MS-16H2, BIOS E16H2IMS.112 05/05/2015
  [76610.551438] task: 8803cf422940 ti: 8801a0be4000 task.ti: 
8801a0be4000
  [76610.551455] RIP: 0010:[]  [] 
btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551485] RSP: 0018:8801a0be7e28  EFLAGS: 00010292
  [76610.551497] RAX: 8803cf422940 RBX: 880273bff100 RCX: 

  [76610.551513] RDX: 8000 RSI:  RDI: 
88040a2fb178
  [76610.551530] RBP: 8801a0be7eb8 R08: 0001 R09: 

  [76610.551546] R10: 01f6 R11: 0246 R12: 
88040a2fb178
  [76610.551563] R13: 88040a2fb0d0 R14:  R15: 

  [76610.551580] FS:  7f3c27bca800() GS:88041fa4() 
knlGS:
  [76610.551598] CS:  0010 DS:  ES:  CR0: 80050033
  [76610.551611] CR2: 0334 CR3: 00016159a000 CR4: 
001406e0
  [76610.551628] Stack:
  [76610.551633]  80033fffa865 000b 8000 
88008a657e40
  [76610.551652]  7fff  8801a0be7ea8 
8804069544a0
  [76610.551671]  800173bff000 10b6e564  
10b6e564
  [76610.551691] Call Trace:
  [76610.551703]  [] vfs_fsync_range+0x4b/0xb0
  [76610.551718]  [] do_fsync+0x3d/0x70
  [76610.551732]  [] SyS_fsync+0x10/0x20
  [76610.551751]  [] entry_SYSCALL_64_fastpath+0x16/0x75
  [76610.551766] Code: 8b 0e 48 85 c9 75 e8 eb 9e 48 8b 45 90 4c 8b 75 98 4d 8d 
a5 a8 00 00 00 4c 89 e7 4c 29 f0 48 83 c0 01 48 89 45 80 e8 f4 e2 4b c1  41 
ff 87 34 03 00 00 49 8b 85 70 ff ff ff 48 c1 e8 07 83 e0 
  [76610.551845] RIP  [] btrfs_sync_file+0xcc/0x360 [btrfs]
  [7