* kernel oops -> no mount (different problem than others)
@ 2011-08-19 0:40 Liam
2011-08-19 0:52 ` cwillu
0 siblings, 1 reply; 3+ messages in thread
From: Liam @ 2011-08-19 0:40 UTC (permalink / raw)
To: linux-btrfs
[-- Attachment #1: Type: text/plain, Size: 443 bytes --]
Hi.
I''ve been using btrfs on an external drive for >1yr but now I cannot mount it.
>From the logs it is listing a transid error but NOT that it is
expecting a different one, simply
device label 1TB devid 1 transid 248472 /dev/sdb
I've been having this problem now for more than 1 month and have not
managed to get anywhere with it.
Any help would be appreciated.
Attached is the (edited) boot log.
On Fedora 15 w/ updates-testing enabled.
[-- Attachment #2: bootlog.txt --]
[-- Type: text/plain, Size: 13705 bytes --]
[ 84.596465] device label 1TB devid 1 transid 248469 /dev/sdb
[ 226.128630] ------------[ cut here ]------------
[ 226.128666] WARNING: at fs/btrfs/extent-tree.c:5685 btrfs_alloc_free_block+0xca/0x27c [btrfs]()
[ 226.128668] Hardware name: 4384FM4
[ 226.128669] Modules linked in: fuse ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle bridge 8021q garp stp llc sunrpc acpi_cpufreq freq_table mperf ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack rfcomm bnep snd_hda_codec_hdmi snd_hda_codec_conexant snd_hda_intel snd_hda_codec snd_hwdep thinkpad_acpi intel_ips snd_seq snd_seq_device snd_pcm iTCO_wdt iTCO_vendor_support virtio_net snd_timer arc4 iwlagn e1000e uvcvideo videodev media snd_page_alloc v4l2_compat_ioctl32 btusb bluetooth snd mac80211 cfg80211 i2c_i801 rfkill kvm_intel kvm microcode joydev soundcore ipv6 btrfs zlib_deflate libcrc32c usb_storage uas sdhci_pci sdhci firewire_ohci firewire_core mmc_core crc_itu_t mxm_wmi wmi i915 drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: scsi_wait_scan]
[ 226.128706] Pid: 758, comm: mount Not tainted 2.6.40.3-0.fc15.x86_64 #1
[ 226.128707] Call Trace:
[ 226.128716] [<ffffffff81054c8e>] warn_slowpath_common+0x83/0x9b
[ 226.128719] [<ffffffff81054cc0>] warn_slowpath_null+0x1a/0x1c
[ 226.128727] [<ffffffffa01267f4>] btrfs_alloc_free_block+0xca/0x27c [btrfs]
[ 226.128740] [<ffffffffa01508c2>] ? map_extent_buffer+0x6e/0xa8 [btrfs]
[ 226.128747] [<ffffffffa0119933>] __btrfs_cow_block+0xfc/0x30c [btrfs]
[ 226.128756] [<ffffffffa012eba3>] ? btrfs_buffer_uptodate+0x47/0x58 [btrfs]
[ 226.128763] [<ffffffffa011aedf>] ? read_block_for_search+0x94/0x397 [btrfs]
[ 226.128770] [<ffffffffa0119c3e>] btrfs_cow_block+0xfb/0x145 [btrfs]
[ 226.128777] [<ffffffffa011c976>] btrfs_search_slot+0x14d/0x4b6 [btrfs]
[ 226.128785] [<ffffffffa0120936>] lookup_inline_extent_backref+0x99/0x31e [btrfs]
[ 226.128789] [<ffffffff81116a5f>] ? kmem_cache_alloc+0x44/0x10b
[ 226.128797] [<ffffffffa012231c>] __btrfs_free_extent+0xc0/0x558 [btrfs]
[ 226.128802] [<ffffffff814879b6>] ? _raw_spin_lock+0xe/0x10
[ 226.128804] [<ffffffff81114ae8>] ? virt_to_head_page+0xe/0x31
[ 226.128806] [<ffffffff81116c89>] ? kfree+0x4d/0xda
[ 226.128818] [<ffffffffa0165848>] ? btrfs_delayed_ref_lock+0x3f/0x9d [btrfs]
[ 226.128826] [<ffffffffa0124a02>] run_clustered_refs+0x615/0x672 [btrfs]
[ 226.128838] [<ffffffffa0165900>] ? btrfs_find_ref_cluster+0x5a/0x145 [btrfs]
[ 226.128846] [<ffffffffa0124b30>] btrfs_run_delayed_refs+0xd1/0x193 [btrfs]
[ 226.128856] [<ffffffffa0132db5>] __btrfs_end_transaction+0x8e/0x1f0 [btrfs]
[ 226.128866] [<ffffffffa0132f74>] btrfs_end_transaction+0x15/0x17 [btrfs]
[ 226.128877] [<ffffffffa013b223>] btrfs_evict_inode+0x171/0x20e [btrfs]
[ 226.128880] [<ffffffff8113a9c9>] evict+0x77/0x117
[ 226.128882] [<ffffffff8113abd9>] iput+0x130/0x138
[ 226.128893] [<ffffffffa013ba84>] btrfs_orphan_cleanup+0x1ee/0x2c0 [btrfs]
[ 226.128903] [<ffffffffa0131243>] open_ctree+0x11a2/0x13ff [btrfs]
[ 226.128910] [<ffffffffa0117861>] btrfs_mount+0x233/0x496 [btrfs]
[ 226.128913] [<ffffffff810f43fc>] ? pcpu_next_pop+0x3d/0x4a
[ 226.128915] [<ffffffff810f54ca>] ? pcpu_alloc+0x7f7/0x833
[ 226.128919] [<ffffffff81129b74>] mount_fs+0x69/0x155
[ 226.128921] [<ffffffff810f5516>] ? __alloc_percpu+0x10/0x12
[ 226.128923] [<ffffffff8113d905>] vfs_kern_mount+0x63/0x9d
[ 226.128926] [<ffffffff8113e288>] do_kern_mount+0x4d/0xdf
[ 226.128928] [<ffffffff8113f90d>] do_mount+0x63c/0x69f
[ 226.128930] [<ffffffff810f1225>] ? memdup_user+0x55/0x7d
[ 226.128932] [<ffffffff810f1288>] ? strndup_user+0x3b/0x51
[ 226.128934] [<ffffffff8113fbf2>] sys_mount+0x88/0xc2
[ 226.128936] [<ffffffff8148e182>] system_call_fastpath+0x16/0x1b
[ 226.128938] ---[ end trace b471214728831853 ]---
[ 226.128991] ------------[ cut here ]------------
[ 226.129000] WARNING: at fs/btrfs/extent-tree.c:5685 btrfs_alloc_free_block+0xca/0x27c [btrfs]()
[ 226.129002] Hardware name: 4384FM4
[ 226.129002] Modules linked in: fuse ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle bridge 8021q garp stp llc sunrpc acpi_cpufreq freq_table mperf ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack rfcomm bnep snd_hda_codec_hdmi snd_hda_codec_conexant snd_hda_intel snd_hda_codec snd_hwdep thinkpad_acpi intel_ips snd_seq snd_seq_device snd_pcm iTCO_wdt iTCO_vendor_support virtio_net snd_timer arc4 iwlagn e1000e uvcvideo videodev media snd_page_alloc v4l2_compat_ioctl32 btusb bluetooth snd mac80211 cfg80211 i2c_i801 rfkill kvm_intel kvm microcode joydev soundcore ipv6 btrfs zlib_deflate libcrc32c usb_storage uas sdhci_pci sdhci firewire_ohci firewire_core mmc_core crc_itu_t mxm_wmi wmi i915 drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: scsi_wait_scan]
[ 226.129031] Pid: 758, comm: mount Tainted: G W 2.6.40.3-0.fc15.x86_64 #1
[ 226.129032] Call Trace:
[ 226.129035] [<ffffffff81054c8e>] warn_slowpath_common+0x83/0x9b
[ 226.129038] [<ffffffff81054cc0>] warn_slowpath_null+0x1a/0x1c
[ 226.129046] [<ffffffffa01267f4>] btrfs_alloc_free_block+0xca/0x27c [btrfs]
[ 226.129076] [<ffffffffa01508c2>] ? map_extent_buffer+0x6e/0xa8 [btrfs]
[ 226.129084] [<ffffffffa0119933>] __btrfs_cow_block+0xfc/0x30c [btrfs]
[ 226.129096] [<ffffffffa012eba3>] ? btrfs_buffer_uptodate+0x47/0x58 [btrfs]
[ 226.129105] [<ffffffffa011aedf>] ? read_block_for_search+0x94/0x397 [btrfs]
[ 226.129113] [<ffffffffa0119c3e>] btrfs_cow_block+0xfb/0x145 [btrfs]
[ 226.129122] [<ffffffffa011c976>] btrfs_search_slot+0x14d/0x4b6 [btrfs]
[ 226.129131] [<ffffffffa0120936>] lookup_inline_extent_backref+0x99/0x31e [btrfs]
[ 226.129140] [<ffffffffa011b39b>] ? btrfs_leaf_free_space+0x34/0x73 [btrfs]
[ 226.129144] [<ffffffff81116a5f>] ? kmem_cache_alloc+0x44/0x10b
[ 226.129153] [<ffffffffa012231c>] __btrfs_free_extent+0xc0/0x558 [btrfs]
[ 226.129157] [<ffffffff814879b6>] ? _raw_spin_lock+0xe/0x10
[ 226.129166] [<ffffffffa011efc3>] ? block_group_cache_tree_search+0x92/0xa2 [btrfs]
[ 226.129169] [<ffffffff81114ae8>] ? virt_to_head_page+0xe/0x31
[ 226.129172] [<ffffffff81116c89>] ? kfree+0x4d/0xda
[ 226.129185] [<ffffffffa0165848>] ? btrfs_delayed_ref_lock+0x3f/0x9d [btrfs]
[ 226.129195] [<ffffffffa0124a02>] run_clustered_refs+0x615/0x672 [btrfs]
[ 226.129208] [<ffffffffa0165900>] ? btrfs_find_ref_cluster+0x5a/0x145 [btrfs]
[ 226.129218] [<ffffffffa0124b30>] btrfs_run_delayed_refs+0xd1/0x193 [btrfs]
[ 226.129230] [<ffffffffa0132db5>] __btrfs_end_transaction+0x8e/0x1f0 [btrfs]
[ 226.129242] [<ffffffffa0132f74>] btrfs_end_transaction+0x15/0x17 [btrfs]
[ 226.129255] [<ffffffffa013b223>] btrfs_evict_inode+0x171/0x20e [btrfs]
[ 226.129259] [<ffffffff8113a9c9>] evict+0x77/0x117
[ 226.129262] [<ffffffff8113abd9>] iput+0x130/0x138
[ 226.129274] [<ffffffffa013ba84>] btrfs_orphan_cleanup+0x1ee/0x2c0 [btrfs]
[ 226.129286] [<ffffffffa0131243>] open_ctree+0x11a2/0x13ff [btrfs]
[ 226.129295] [<ffffffffa0117861>] btrfs_mount+0x233/0x496 [btrfs]
[ 226.129298] [<ffffffff810f43fc>] ? pcpu_next_pop+0x3d/0x4a
[ 226.129302] [<ffffffff810f54ca>] ? pcpu_alloc+0x7f7/0x833
[ 226.129306] [<ffffffff81129b74>] mount_fs+0x69/0x155
[ 226.129309] [<ffffffff810f5516>] ? __alloc_percpu+0x10/0x12
[ 226.129312] [<ffffffff8113d905>] vfs_kern_mount+0x63/0x9d
[ 226.129316] [<ffffffff8113e288>] do_kern_mount+0x4d/0xdf
[ 226.129319] [<ffffffff8113f90d>] do_mount+0x63c/0x69f
[ 226.129322] [<ffffffff810f1225>] ? memdup_user+0x55/0x7d
[ 226.129325] [<ffffffff810f1288>] ? strndup_user+0x3b/0x51
[ 226.129328] [<ffffffff8113fbf2>] sys_mount+0x88/0xc2
[ 226.129331] [<ffffffff8148e182>] system_call_fastpath+0x16/0x1b
[ 226.129334] ---[ end trace b471214728831854 ]---
[ 226.129343] BUG: unable to handle kernel NULL pointer dereference at 0000000000000030
[ 226.130878] IP: [<ffffffffa012824d>] btrfs_print_leaf+0x19/0x767 [btrfs]
[ 226.132351] PGD 0
[ 226.133758] Oops: 0000 [#1] SMP
[ 226.135084] CPU 2
[ 226.135092] Modules linked in: fuse ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle bridge 8021q garp stp llc sunrpc acpi_cpufreq freq_table mperf ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack rfcomm bnep snd_hda_codec_hdmi snd_hda_codec_conexant snd_hda_intel snd_hda_codec snd_hwdep thinkpad_acpi intel_ips snd_seq snd_seq_device snd_pcm iTCO_wdt iTCO_vendor_support virtio_net snd_timer arc4 iwlagn e1000e uvcvideo videodev media snd_page_alloc v4l2_compat_ioctl32 btusb bluetooth snd mac80211 cfg80211 i2c_i801 rfkill kvm_intel kvm microcode joydev soundcore ipv6 btrfs zlib_deflate libcrc32c usb_storage uas sdhci_pci sdhci firewire_ohci firewire_core mmc_core crc_itu_t mxm_wmi wmi i915 drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: scsi_wait_scan]
[ 226.143284]
[ 226.144739] Pid: 758, comm: mount Tainted: G W 2.6.40.3-0.fc15.x86_64 #1 LENOVO 4384FM4/4384FM4
[ 226.146243] RIP: 0010:[<ffffffffa012824d>] [<ffffffffa012824d>] btrfs_print_leaf+0x19/0x767 [btrfs]
[ 226.147781] RSP: 0018:ffff88012f9ad778 EFLAGS: 00010296
[ 226.149406] RAX: 00000000ffffffe4 RBX: ffff88012f0e22d0 RCX: 0000000000000000
[ 226.150947] RDX: ffff8800a58b09f0 RSI: 0000000000000000 RDI: ffff88012b260800
[ 226.152471] RBP: ffff88012f9ad7f8 R08: 0000000000000000 R09: 0000ffff00066c0a
[ 226.154084] R10: 0000ffff00066c0a R11: 0000000000000003 R12: ffff88012b260800
[ 226.155723] R13: 0000007c5ce13000 R14: 0000000000000002 R15: 0000000000000000
[ 226.157439] FS: 00007f8f5629b820(0000) GS:ffff880137d00000(0000) knlGS:0000000000000000
[ 226.159065] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 226.160602] CR2: 0000000000000030 CR3: 000000012b09f000 CR4: 00000000000006e0
[ 226.162172] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 226.163750] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 226.165333] Process mount (pid: 758, threadinfo ffff88012f9ac000, task ffff88012e77dcc0)
[ 226.166906] Stack:
[ 226.168464] ffff88012f9ad788 0000007c5ce13000 ffff88012f9ad798 ffff88012b260800
[ 226.170045] ffffffff2f9ad7e8 ffffffff81116a5f ffff880100000003 0000000000000090
[ 226.171635] a80000007c5ce130 0000000000001000 0000000000000000 ffff88012f0e22d0
[ 226.173228] Call Trace:
[ 226.174807] [<ffffffff81116a5f>] ? kmem_cache_alloc+0x44/0x10b
[ 226.176386] [<ffffffffa01224a9>] __btrfs_free_extent+0x24d/0x558 [btrfs]
[ 226.177942] [<ffffffff814879b6>] ? _raw_spin_lock+0xe/0x10
[ 226.179533] [<ffffffffa011efc3>] ? block_group_cache_tree_search+0x92/0xa2 [btrfs]
[ 226.181125] [<ffffffff81114ae8>] ? virt_to_head_page+0xe/0x31
[ 226.182688] [<ffffffff81116c89>] ? kfree+0x4d/0xda
[ 226.184248] [<ffffffffa0165848>] ? btrfs_delayed_ref_lock+0x3f/0x9d [btrfs]
[ 226.185788] [<ffffffffa0124a02>] run_clustered_refs+0x615/0x672 [btrfs]
[ 226.187340] [<ffffffffa0165900>] ? btrfs_find_ref_cluster+0x5a/0x145 [btrfs]
[ 226.188897] [<ffffffffa0124b30>] btrfs_run_delayed_refs+0xd1/0x193 [btrfs]
[ 226.190452] [<ffffffffa0132db5>] __btrfs_end_transaction+0x8e/0x1f0 [btrfs]
[ 226.192019] [<ffffffffa0132f74>] btrfs_end_transaction+0x15/0x17 [btrfs]
[ 226.193584] [<ffffffffa013b223>] btrfs_evict_inode+0x171/0x20e [btrfs]
[ 226.195147] [<ffffffff8113a9c9>] evict+0x77/0x117
[ 226.196699] [<ffffffff8113abd9>] iput+0x130/0x138
[ 226.198273] [<ffffffffa013ba84>] btrfs_orphan_cleanup+0x1ee/0x2c0 [btrfs]
[ 226.199837] [<ffffffffa0131243>] open_ctree+0x11a2/0x13ff [btrfs]
[ 226.201414] [<ffffffffa0117861>] btrfs_mount+0x233/0x496 [btrfs]
[ 226.202987] [<ffffffff810f43fc>] ? pcpu_next_pop+0x3d/0x4a
[ 226.204549] [<ffffffff810f54ca>] ? pcpu_alloc+0x7f7/0x833
[ 226.206127] [<ffffffff81129b74>] mount_fs+0x69/0x155
[ 226.207695] [<ffffffff810f5516>] ? __alloc_percpu+0x10/0x12
[ 226.209255] [<ffffffff8113d905>] vfs_kern_mount+0x63/0x9d
[ 226.210810] [<ffffffff8113e288>] do_kern_mount+0x4d/0xdf
[ 226.212379] [<ffffffff8113f90d>] do_mount+0x63c/0x69f
[ 226.213943] [<ffffffff810f1225>] ? memdup_user+0x55/0x7d
[ 226.215470] [<ffffffff810f1288>] ? strndup_user+0x3b/0x51
[ 226.217033] [<ffffffff8113fbf2>] sys_mount+0x88/0xc2
[ 226.218549] [<ffffffff8148e182>] system_call_fastpath+0x16/0x1b
[ 226.220076] Code: 90 65 48 8b 04 25 48 cd 00 00 ff 88 44 e0 ff ff 5d c3 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 58 66 66 66 66 90 49 89 fc
[ 226.220258] 8b 7e 30 48 89 f3 e8 77 ff ff ff 8b 50 60 48 89 c7 89 55 a4
[ 226.223466] RIP [<ffffffffa012824d>] btrfs_print_leaf+0x19/0x767 [btrfs]
[ 226.225051] RSP <ffff88012f9ad778>
[ 226.226555] CR2: 0000000000000030
[ 226.286924] ---[ end trace b471214728831855 ]---
[ 278.264432] SELinux: initialized (dev binfmt_misc, type binfmt_misc), uses genfs_contexts
[ 278.295812] process `sysctl' is using deprecated sysctl (syscall) net.ipv6.neigh.default.retrans_time; Use net.ipv6.neigh.default.retrans_time_ms instead.
[ 829.101718] device label 1TB devid 1 transid 248469 /dev/sdb
[ 1019.968242] device label 1TB devid 1 transid 248469 /dev/sdb
[ 1020.159323] SELinux: initialized (dev hugetlbfs, type hugetlbfs), uses transition SIDs
[ 1279.725218] device label 1TB devid 1 transid 248472 /dev/sdb
[ 1480.785268] device label 1TB devid 1 transid 248472 /dev/sdb
[ 1491.272565] device label 1TB devid 1 transid 248472 /dev/sdb
[ 1720.525354] device label 1TB devid 1 transid 248472 /dev/sdb
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: kernel oops -> no mount (different problem than others)
2011-08-19 0:40 kernel oops -> no mount (different problem than others) Liam
@ 2011-08-19 0:52 ` cwillu
2011-08-20 5:53 ` Liam
0 siblings, 1 reply; 3+ messages in thread
From: cwillu @ 2011-08-19 0:52 UTC (permalink / raw)
To: Liam; +Cc: linux-btrfs
You might try mounting it "-o ro" as a stopgap to regain readonly access.
Judging from the bootlog, the error itself appears to be enospc. In
which case there's no already-available quick fix; I expect a
developer to chime in any second now :p
> From the logs it is listing a transid error but NOT that it is
> expecting a different one, simply
>
> device label 1TB devid 1 transid 248472 /dev/sdb
That particular line is the normal listing of devices, which is
expected and completely normal.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: kernel oops -> no mount (different problem than others)
2011-08-19 0:52 ` cwillu
@ 2011-08-20 5:53 ` Liam
0 siblings, 0 replies; 3+ messages in thread
From: Liam @ 2011-08-20 5:53 UTC (permalink / raw)
To: cwillu; +Cc: linux-btrfs
Thanks for your help, but unfortunately, it wouldn't mount read-only,
either. If you can think of anything else I could try, it would be
greatly appreciated! Thanks!
- Liam
On Thu, Aug 18, 2011 at 8:52 PM, cwillu <cwillu@cwillu.com> wrote:
> You might try mounting it "-o ro" as a stopgap to regain readonly acc=
ess.
>
> Judging from the bootlog, the error itself appears to be enospc. =A0I=
n
> which case there's no already-available quick fix; I expect a
> developer to chime in any second now :p
>
>> From the logs it is listing a transid error but NOT that it is
>> expecting a different one, simply
>>
>> device label 1TB devid 1 transid 248472 /dev/sdb
>
> That particular line is the normal listing of devices, which is
> expected and completely normal.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-08-20 5:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-19 0:40 kernel oops -> no mount (different problem than others) Liam
2011-08-19 0:52 ` cwillu
2011-08-20 5:53 ` Liam
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.