← Back to team overview

kernel-packages team mailing list archive

[Bug 1235521] Re: btrfs general protection fault

 

sorry, at the moment i can't reproduce how i got to this broken state, but after a manual boot to recovery and running btrfsck the problem has gone away for me. 
- had to fix it as it's my production machine -

what i noticed though is i had to manually run btrfsck, even mount and
scan for filesystem errors doesn't run btrfsck automatically. That
should be introduced if btrfs is to be considered stable.

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

Title:
  btrfs general protection fault

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  changed /var to btrfs in saucy
  apt-get update fails with:

  [   79.028494] general protection fault: 0000 [#1] SMP 
  [   79.028527] Modules linked in: pci_stub vboxpci(OF) vboxnetadp(OF) vboxnetflt(OF) bbswitch(OF) vboxdrv(OF) xt_addrtype(F) uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev ipt_MASQUERADE(F) iptable_nat(F) nf_conntrack_ipv4(F) nf_defrag_ipv4(F) nf_nat_ipv4(F) nf_nat(F) nf_conntrack(F) ip_tables(F) x_tables(F) bridge(F) stp(F) llc(F) joydev(F) arc4(F) iwldvm x86_pkg_temp_thermal intel_powerclamp kvm_intel(F) mac80211 kvm(F) crc32_pclmul(F) ghash_clmulni_intel(F) aesni_intel(F) aes_x86_64(F) lrw(F) gf128mul(F) glue_helper(F) ablk_helper(F) cryptd(F) snd_hda_codec_conexant parport_pc(F) ppdev(F) microcode(F) psmouse(F) serio_raw(F) iwlwifi bnep rfcomm bluetooth cfg80211 lpc_ich snd_hda_intel snd_hda_codec snd_hwdep(F) snd_pcm(F) i915 wmi snd_page_alloc(F) snd_seq_midi(F) snd_seq_midi_event(F) drm_kms_helper thinkpad_acpi drm snd_rawmidi(F) nvram(F) snd_seq(F) tpm_tis snd_seq_device(F) snd_timer(F) i2c_algo_bit mei_me video(F) snd(F) mei mac_hid soundcore(F) binfmt_misc(F) coretemp lp(F) parport(F) nfsd(F) auth_rpcgss(F) nfs_acl(F) nfs(F) lockd(F) sunrpc(F) fscache(F) btrfs(F) raid6_pq(F) libcrc32c(F) zlib_deflate(F) xor(F) sdhci_pci sdhci ahci(F) libahci(F) e1000e(F) ptp(F) pps_core(F)
  [   79.029216] CPU: 0 PID: 3997 Comm: http Tainted: GF          O 3.11.0-7-generic #14-Ubuntu
  [   79.029257] Hardware name: LENOVO 4171CTO/4171CTO, BIOS 8CET57WW (1.37 ) 04/11/2013
  [   79.029296] task: ffff88020c0b4650 ti: ffff8801b68fc000 task.ti: ffff8801b68fc000
  [   79.029333] RIP: 0010:[<ffffffff813694a5>]  [<ffffffff813694a5>] memcpy+0xf5/0x110
  [   79.029376] RSP: 0018:ffff8801b68fd968  EFLAGS: 00010246
  [   79.029404] RAX: ffff8801a7861395 RBX: 0000000000000001 RCX: ffff880000000000
  [   79.029439] RDX: 0000000000000000 RSI: 0005080000000000 RDI: ffff8801a7861395
  [   79.029475] RBP: ffff8801b68fd9a0 R08: dfcf8b56f3b7449f R09: 1d7a07fa28eb9c0a
  [   79.029510] R10: fa28eb9c0adfcf8b R11: 00065264a01d7a07 R12: ffff8801cab57110
  [   79.029545] R13: 0000160000000000 R14: ffff8801a7861396 R15: 0000000000000001
  [   79.029581] FS:  00007f0ff42e1740(0000) GS:ffff88023e200000(0000) knlGS:0000000000000000
  [   79.029622] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  [   79.029651] CR2: 000000000172b7e0 CR3: 00000001b6b17000 CR4: 00000000000407f0
  [   79.029686] Stack:
  [   79.029698]  ffffffffa0104d4c 0000000000001000 ffff880231e30000 0000000000000000
  [   79.029741]  ffff8802320d3c60 ffff88020cc1e4e0 ffff8801e2e8cab0 ffff8801b68fda60
  [   79.029782]  ffffffffa00e93b6 0000000000000000 0000000000000bf1 00000000ffffffff
  [   79.029825] Call Trace:
  [   79.029861]  [<ffffffffa0104d4c>] ? read_extent_buffer+0xbc/0x110 [btrfs]
  [   79.029906]  [<ffffffffa00e93b6>] btrfs_get_extent+0x906/0x9b0 [btrfs]
  [   79.029950]  [<ffffffffa010204e>] __extent_read_full_page+0x2ee/0x710 [btrfs]
  [   79.029989]  [<ffffffff8119ccba>] ? __mem_cgroup_commit_charge+0x9a/0x380
  [   79.030033]  [<ffffffffa00e8ab0>] ? btrfs_real_readdir+0x5c0/0x5c0 [btrfs]
  [   79.030069]  [<ffffffff8115bdf3>] ? __inc_zone_page_state+0x33/0x40
  [   79.030110]  [<ffffffffa00e8ab0>] ? btrfs_real_readdir+0x5c0/0x5c0 [btrfs]
  [   79.030155]  [<ffffffffa0103465>] extent_readpages+0x1a5/0x210 [btrfs]
  [   79.030190]  [<ffffffff81183ee9>] ? alloc_pages_current+0xa9/0x160
  [   79.030231]  [<ffffffffa00e6a5f>] btrfs_readpages+0x1f/0x30 [btrfs]
  [   79.030265]  [<ffffffff8114aec8>] __do_page_cache_readahead+0x1a8/0x240
  [   79.030300]  [<ffffffff8114b3d6>] ondemand_readahead+0x126/0x250
  [   79.030332]  [<ffffffff8114b533>] page_cache_sync_readahead+0x33/0x50
  [   79.030365]  [<ffffffff81140ce5>] generic_file_aio_read+0x4b5/0x700
  [   79.030399]  [<ffffffff811a6a00>] do_sync_read+0x80/0xb0
  [   79.030428]  [<ffffffff811a705e>] vfs_read+0x9e/0x170
  [   79.030455]  [<ffffffff811a7b89>] SyS_read+0x49/0xa0
  [   79.030483]  [<ffffffff81702fef>] tracesys+0xe1/0xe6
  [   79.030508] Code: 84 00 00 00 00 00 83 fa 04 72 1b 8b 0e 44 8b 44 16 fc 89 0f 44 89 44 17 fc c3 66 66 66 2e 0f 1f 84 00 00 00 00 00 83 ea 01 72 19 <0f> b6 0e 74 12 4c 0f b6 46 01 4c 0f b6 0c 16 44 88 47 01 44 88 
  [   79.030697] RIP  [<ffffffff813694a5>] memcpy+0xf5/0x110
  [   79.030725]  RSP <ffff8801b68fd968>
  [   79.039465] ---[ end trace 87b59813161a74a0 ]---

  can't run ubuntu-bug after that since every request to /var times out
  after this segfault

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: linux-image-generic 3.11.0.11.12
  ProcVersionSignature: Ubuntu 3.11.0-11.17-generic 3.11.3
  Uname: Linux 3.11.0-11-generic x86_64
  ApportVersion: 2.12.5-0ubuntu1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  zen        2606 F.... pulseaudio
   /dev/snd/pcmC0D0p:   zen        2606 F...m pulseaudio
  Date: Sat Oct  5 02:13:44 2013
  HibernationDevice: RESUME=UUID=3a6273d6-8e35-4cb2-b39c-fd8b60ee7cce
  InstallationDate: Installed on 2012-06-07 (484 days ago)
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
  MachineType: LENOVO 4171CTO
  MarkForUpload: True
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-11-generic root=UUID=31318360-537b-4777-b5ee-5ebf957d373e ro quiet splash
  RelatedPackageVersions:
   linux-restricted-modules-3.11.0-11-generic N/A
   linux-backports-modules-3.11.0-11-generic  N/A
   linux-firmware                             1.116
  RfKill:
   0: phy0: Wireless LAN
   	Soft blocked: no
   	Hard blocked: no
  SourcePackage: linux
  UpgradeStatus: Upgraded to saucy on 2013-05-23 (134 days ago)
  dmi.bios.date: 04/11/2013
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 8CET57WW (1.37 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 4171CTO
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: dmi:bvnLENOVO:bvr8CET57WW(1.37):bd04/11/2013:svnLENOVO:pn4171CTO:pvrThinkPadT420s:rvnLENOVO:rn4171CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 4171CTO
  dmi.product.version: ThinkPad T420s
  dmi.sys.vendor: LENOVO

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


References