drivers/staging: zcache: dynamic page cache/swap compression
Subsystems (2)
v2 cover drivers/staging: zcache: dynamic page cache/swap compression
[PATCH V2 0/3] drivers/staging: zcache: dynamic page cache/swap compression
(Historical note: This "new" zcache patchset supercedes both the kztmem patchset and the "old" zcache patchset as described in:
http://lkml.org/lkml/2011/2/5/148)
HIGH LEVEL OVERVIEW
Zcache doubles RAM efficiency while providing a significant performance boost on many workloads.
Summary for kernel DEVELOPERS: Zcache uses lzo1x compression to increase RAM efficiency for both page cache and swap resulting in a significant performance increase (3-4% or more) on memory-pressured workloads due to a large reduction in disk I/O. To do this, zcache uses an in-kernel (no virtualization required) implementation of transcendent memory ("tmem"), which has other proven uses and intriguing future uses as well.
Summary for kernel MAINTAINERS: Zcache is a fully-functional, in-kernel (non-virtualization) implementation of transcendent memory ("tmem"), providing an in-kernel user for cleancache and frontswap. The patch is based on 2.6.37 and requires either the cleancache patch or the frontswap patch or both. The patch is proposed as a staging driver to obtain broader exposure for further evolution and, GregKH-willing, is merge-able at the next opportunity. Zcache will hopefully also, Linus-and-akpm-willing, remove the barrier to merge-ability for cleancache and frontswap. Please note that there is a dependency on xvmalloc.[ch], currently in drivers/staging/zram.
For kernel USERS seeking a new toy: Want to try it out? A complete monolithic patch for 2.6.37 including zcache, cleancache, and frontswap can be downloaded at:
http://oss.oracle.com/projects/tmem/dist/files/zcache/zcache-linux-2.6.37-110205.patch
(IMPORTANT NOTE: zcache MUST be specified as a kernel boot parameter or nothing happens!) And if you love to see tons of detailed statstics changing dynamically try running the following bash script in a big window with "watch -d":
http://oss.oracle.com/projects/tmem/dist/files/zcache/zcache-stats
VERSION HISTORY
Version 2 is a bit more restrictive of concurrency (disabling irqs in gets and flushes) and fixes a build problem reported by gregkh.
Version 1 changed considerably from V0 thanks to some excellent feedback from Jeremy Fitzhardinge.
Feedback from others would be greatly appreciated. See "SPECIFIC AREAS FOR HELP/FEEDBACK" below.
"ACADEMIC" OVERVIEW
The objective of all of this code (including previously posted cleancache and frontswap patches) is to provide a mechanism by which the kernel can store a potentially huge amount of certain kinds of page-oriented data so that it (the kernel) can be more flexible, dynamic, and/or efficient in the amount of directly-addressable RAM that it uses with little or no loss of performance and, on some workloads and configuration, even a substantial increase in performance.
The data store for this page-oriented data, called "page- addressable memory", or "PAM", is assumed to be cheaper, slower, more plentiful, and/or more idiosyncratic than RAM, but faster, more-expensive, and/or scarcer than disk. Data in this store is page-addressable only, not byte-addressable, which increases flexibility for the methods by which the data can be stored, for example allowing for compression and efficient deduplication. Further, the number of pages that can be stored is entirely dynamic, which allows for multiple independent data sources to share PAM resources effectively and securely.
Cleancache and frontswap are data sources for two types of this page-oriented data: "ephemeral pages" such as clean page cache pages that can be recovered elsewhere if necessary (e.g. from disk); and "persistent" pages which are dirty pages that need a short-term home to survive a brief RAM utilization spike but need not be permanently saved to survive a reboot (e.g. swap). The data source "puts" and "gets" pages and is also responsible for directing coherency, via explicit "flushes" of pages and related-groups of pages called "objects".
Transcendent memory, or "tmem", is a clean API/ABI that provides for an efficient address translation layer and a set of highly concurrent access methods to copy data between the data source and the PAM data store. The first tmem implementation is in Xen. This second tmem implementation is in-kernel (no virtualization required) but is designed to be easily extensible for KVM or possibly for cgroups.
A PAM data store must be fast enough to be accessed synchronously since, when a put/get/flush is invoked by a data source, the data transfer or invalidation is assumed to be completed on return. The first PAM is implemented as a secure pool of Xen hypervisor memory to allow highly-dynamic memory load balancing between guests. This second PAM implementation uses in-kernel compression to roughly halve RAM requirements for some workloads. Future proposed PAM possibilities include: fast NVRAM, memory blades, far-far NUMA. The clean layering provided here should simplify the implementation of these future PAM data stores for Linux.
THIS PATCHSET
(NOTE: use requires cleancache and/or frontswap patches!)
This patchset provides an in-kernel implementation of transcendent memory ("tmem") [1] and a PAM implementation where pages are compressed and kept in kernel space (i.e. no virtualization, neither Xen nor KVM, is required).
This patch is fully functional, but will benefit from some tuning and some "policy" implementation. It demonstrates an in-kernel user for the cleancache and frontswap patches [2,3] and, in many ways, supplements/replaces the zram and "old" zcache patches [4,5] with a more dynamic mechanism. Though some or all of this code may eventually belong in mm or lib, this patch places it with staging drivers so it can obtain exposure as its usage evolves.
The in-kernel transcendent memory implementation (see tmem.c) conforms to the same ABI as the Xen tmem shim [6] but also provides a generic interface to be used by one or more page-addressable memory ("PAM") [7] implementations. This generic tmem code is also designed to support multiple "clients", so should be easily adaptable for KVM or possibly cgroups, allowing multiple guests to more efficiently "timeshare" physical memory.
Zcache (see zcache.c) provides both "host" services (setup and core memory allocation) for a single client for the generic tmem code plus two different PAM implementations:
A. "compression buddies" ("zbud") which mates compression with a
shrinker interface to store ephemeral pages so they can be easily reclaimed; compressed pages are paired and stored in a physical page, resulting in higher internal fragmentation
B. a shim to xvMalloc [8] which is more space-efficient but
less receptive to page reclamation, so is fine for persistent pages
Both of these use lzo1x compression (see linux/lib/lzo/*).
IMHO, it should be relatively easy to plug in other PAM implementations, such as: PRAM [9], disaggregated memory [10], or far-far NUMA.
References:
[1] http://oss.oracle.com/projects/tmem
[2] http://lkml.org/lkml/2010/9/3/383
[3] https://lkml.org/lkml/2010/9/22/337
[4] http://lkml.org/lkml/2010/8/9/226
[5] http://lkml.org/lkml/2010/7/16/161
[6] http://lkml.org/lkml/2010/9/3/405
[7] http://marc.info/?l=linux-mm&m=127811271605009
[8] http://code.google.com/p/compcache/wiki/xvMalloc
[9] http://www.linuxsymposium.org/2010/view_abstract.php?content_kty=35
[10] http://www.eecs.umich.edu/~tnm/trev_test/dissertationsPDF/kevinL.pdf
SPECIFIC REQUESTED AREAS FOR ADVICE/FEEDBACK
1. Some debugging code and extensive sysfs entries have been left in place for this patch so its activity can be easily monitored. We welcome other developers to play with it.
2. Little policy is in place (yet) to limit zcache from eventually absorbing all free memory for compressed frontswap pages or (if the shrinker isn't "fast enough") compressed cleancache pages. On some workloads and some memory sizes, this eventually results in OOMs. (In my testing, the OOM'ing is not worse, just different.) We'd appreciate feedback on or patches that try out various policies.
3. We've studied the GFP flags but am still not fully clear on the best combination to use with zcache memory allocation. In particular, We think "timid" GFP choices result in lower hit rate, while using GFP_ATOMIC might be considered rude, but results in a higher hit rate and may be fine for this usage. We'd appreciate guidance on this.
4. We think we have the irq/softirq/premption code correct but we're definitely not expert in this area, so review would be appreciated.
5. Cleancache works best when the "clean working set" is larger than the active file cache, but smaller than the memory available for cleancache store. This scenario can be difficult to duplicate in a kernel with fixed RAM size. For best results, zcache may benefit from tuning changes to file cache parameters.
6. Benchmarking: Theoretically, zcache should have a negligible worst case performance loss and a substantial best case performance gain. Older processors may show a bigger worst case hit. We'd appreciate any help running workloads on different boxes to better characterize worst case and best case performance.
drivers/staging/Kconfig | 2 drivers/staging/Makefile | 1 drivers/staging/zcache/Kconfig | 13 drivers/staging/zcache/Makefile | 1 drivers/staging/zcache/tmem.c | 710 +++++++++++++++++ drivers/staging/zcache/tmem.h | 195 ++++ drivers/staging/zcache/zcache.c | 1657 ++++++++++++++++++++++++++++++++++++++++ 7 files changed, 2579 insertions(+)
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 3 lines
(Historical note: This "new" zcache patchset supercedes both the kztmem patchset and the "old" zcache patchset as described in:
http://lkml.org/lkml/2011/2/5/148)
(In order to move discussion from the old kztmem patchset to the new zcache patchset, I am replying here to Matt's email sent at: https://lkml.org/lkml/2011/2/4/199 )
Quoted 1 line
From: Matt [mailto:[email protected]]
Hi Matt --
Thanks for all the thoughtful work and questions! Sorry it took me a few days to reply...
Quoted 7 lines
This finally makes Cleancache's functionality usable for desktop and other small device (non-enterprise) users (especially regarding frontswap) :)
2) feedback
WARNING: at kernel/softirq.c:159 local_bh_enable+0xba/0x110()
These should be gone in V2.
Quoted 3 lines
I also observed that it takes some time until volumes (which use kztmem's ephemeral nodes) are unmounted - probably due to emptying slub/slab taking longer - so this should be normal.
If "some time" becomes a problem, I have a design in my head how to fix this. But I'll consider it lower priority for now.
Quoted 2 lines
2.2) a user (32bit box) who's running a pretty similar kernel to mine (details later) has had some
assert_spinlocksthrown while
The specific sequence of asserts indicates a race, but I think a harmless one. I haven't been able to reproduce it and stared at various race possibilities for a couple of hours without luck. (Aha! There it is! Oops, no that's not it. Repeat.) Hopefully getting broader exposure to more experienced kernel developers will help find/fix this one.
Quoted 9 lines
2.3) rsync-operations seemed to speed up quite noticably to say the least (significantly)
:
so job (2) could be cut by 1-2 minutes. Unmounting the drive/partition
:
So kztmem also seems to help where low latency needs to be met, e.g. pro-audio.
:
So productivity is improved quite a lot.
Thanks for running some performance tests on a broader set of test cases! The numbers look very nice!
Quoted 4 lines
Questions:
• What exactly is kztmem?
∘ is it a tmem similar functionality like provided in the project "Xen's Transcent Memory"
Quoted 8 lines
∘ and zmem is simply a "plugin" for memory compression support to tmem ? (is that what zcache does ?)
• so simplified (superficially without taking into account advantages or certain unique characteristics) some equivalents:
∘ frontswap == ramzswap
∘ kztmem == zcache
∘ cleancache == is the "core", "mastermind" or "hypervisor" behind all this, making frontswap and kztmem kind of "plugins" for it ?
This is best described in the "Academic Overview" section of PATCH V2 0/3: https://lkml.org/lkml/2011/2/6/346
Cleancache and frontswap are "data sources" for page-oriented data that can easily be stored in "transcendent memory" (aka "tmem"). Once pages of data are accessible only via tmem, lots of things can be done to the data, including compression, deduplication, being sent to the hypervisor, etc.
Quoted 2 lines
So kztmem (or more accurately: cleancache) is open for adding more functionality in the future ?
Very definitely... I'm working on another interesting use model right now!
Quoted 8 lines
• What are advantages of kztmem compared to ramzswap ("compcache") & zcache ? From what I understood - it's more dynamic in it's nature than compcache & zcache: they need to preallocate predetermined amount of memory, several "ram-drives" would be needed for SMP-scalability ∘ whereas this (pre-allocated RAM and multiple "ram-drives" aren't needed for kztmem, cleancache and frontswap since cleancache, frontswap & kztmem are concurrency-safe and dynamic (according to documentation) ?
Yes, that's a good overview of the differences.
Quoted 6 lines
• Coming back to usage of compcache - how about the problem of 60% memory fragmentation (according to compcache/zcache wiki,
http://code.google.com/p/compcache/wiki/Fragmentation) ? Could the situation be improved with in-kernel "memory compaction" ? I'm not a developer so I don't know exactly how lumpy reclaim/memory compaction and xvmalloc would interact with each other
Nitin is the expert on compcache and xvmalloc, so I will leave this question unanswered for now.
Quoted 4 lines
• According to the Documentation you posted "e.g. a ram-based FS such as tmpfs should not enable cleancache" - so it's not using block i/o layer ? what are the performance or other advantages of that approach ?
Correct, no block i/o layer involved. The block i/o layer is optimized for disks (though it is slowly becoming adapted to faster devices). The real "advantage" is that EVERY put/get has immediate feedback and this is very important to making things as dynamic as possible.
Quoted 2 lines
• Is there support for XFS or reiserfs - how difficult would it be to add that ?
I'm not familiar with either, but most filesystems are easy to add... I'm just not able to do the testing. If zcache moves into upstream, other filesystem experts should be able to try zcache easily on other filesystems.
Quoted 2 lines
• Very interesting would be: support for FUSE (taking into account zfs and ntfs3g, etc.) - would that be possible ?
I don't know enough about those to feel comfortable answering, but would be happy to consult if someone else wants to try it.
Quoted 3 lines
• Was there testing done on 32bit boxes ? How about alternative architectures such as ARM, PPC, etc. ?
∘ I'm especially interested in ARM since surely a lot on the
Sadly, I haven't done any testing on 32-bit boxes. All the code is designed to be entirely architecture-independent though I'm sure a bug or three will be found on other architectures.
Quoted 2 lines
be / Is there a port of cleancache, kztmem and frontswap available for 2.6.32* kernels ? (most android devices are currently running those)
I've found porting cleancache and frontswap to other recent Linux versions to be straightforward. And zcache is just a staging driver so should also port easily.
Quoted 3 lines
• Considerung UP boxes - is the usage even beneficial on those ? ∘ If not - why not (written in the documentation) - due to missing raw CPU power ?
Should work fine on a UP box. The majority of the performance advantage is "converting" disk seek wait time into CPU compress/ decompress time.
Quoted 4 lines
• How is the scaling ? In case of Multiprocessors - are the operations/parallelism or concurrency, how it's called, realized through "work queues" - (there have been lots of changes recently in the kernel [2.6.37, 2.6.38]). ?
Good questions. The concurrency should be pretty good, but in the current version, interrupts are disabled during compression, which could lead to some problems in a more real-time load. This design is fixable but will take some work.
Quoted 3 lines
• Are there higher latencies during high memory pressure or high CPU load situations, e.g. where the latencies would even go down below without usage of kztmem ?
Theoretically, if there is no disk wait time (e.g. CPUs are always loaded even during disk reads) AND there is high disk demand, zcache could cause a reduction in performance.
Quoted 4 lines
• The compression algorithm in use seems to be lzo. Are any additional selectable compressions planned such as lzf, gzip - maybe even bzip2 ?
- Would they be selectable viaKconfig?
∘ are these threaded / scaling with multiple processors - e.g. like pcrypt ?
Good ideas for future enhancements!
Quoted 4 lines
• "Exactly how much memory it provides is entirely dynamic and random." - can maximum limits be set ? ("watermarks" ? - if that is the correct term)
How efficient is the algorithm ? What is it based on ?
For cleancache pages, all can be reclaimed so no maximum needs to be set as long as the kernel reclaim mechanism is working properly. For frontswap pages, there is a maximum currently hardcoded, but this could be changed to be handled through a /sys fs file.
Quoted 2 lines
• Can the operations be sped up even more using
spice()system call or something similar (if existant) - if even applicable ?
Sorry, I don't know the answer to this.
Quoted 2 lines
• Are userland hooks planned ? e.g. for other virtualization solutions such as KVM, qemu, etc.
We've thought of userland hooks, but haven't tried them yet.
KVM should be able to take advantage of zcache with a little effort.
Quoted 11 lines
• How about deduplication support for the ephemeral (filesystem) pools? ∘ in my (humble) opinion this might be really useful - since in the future there will be more and more CPU power but due to available RAM not growing as linear (or fast) as CPU's power this could be a kind of compensation to gain more memory
∘ would that work with "Kernel Samepage Merging"?
∘ is KSM even similar to tmem's deduplication functionality (tmem - which is used or planned for Xen)
Referring to http://marc.info/?l=linux-kernel&m=129683713531791&w=2
slides 20 to 21 on the presentation deduplication would seem much more efficient than KSM.
Deduplication support could be added.
Quoted 1 line
Kztmem seems to be quite useful on memory constrained devices:
You have suggested several interesting possibilities!
If I've missed anything important, please let me know!
Thanks again!
Dan
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 10 lines · Dan Magenheimer
Quoted 3 lines
(Historical note: This "new" zcache patchset supercedes both the kztmem patchset and the "old" zcache patchset as described in:
http://lkml.org/lkml/2011/2/5/148)(In order to move discussion from the old kztmem patchset to the new zcache patchset, I am replying here to Matt's email sent at: https://lkml.org/lkml/2011/2/4/199 )
Quoted 1 line
From: Matt [mailto:[email protected]]
<snip>
Quoted 11 lines
Quoted 7 lines
• Coming back to usage of compcache - how about the problem of 60% memory fragmentation (according to compcache/zcache wiki,
http://code.google.com/p/compcache/wiki/Fragmentation) ? Could the situation be improved with in-kernel "memory compaction" ? I'm not a developer so I don't know exactly how lumpy reclaim/memory compaction and xvmalloc would interact with each otherNitin is the expert on compcache and xvmalloc, so I will leave this question unanswered for now.
I'm currently in the process of designing a new allocator that gives predictable memory fragmentation guarantees (at the expense of extra CPU cycles). I've not yet posted details anywhere but many of the ideas are from the "Compact Fit" allocator: http://www.usenix.org/event/usenix08/tech/full_papers/craciunas/craciunas_html/
I'm not sure how much time it will take since I'm not yet done with some of the design details, and then userspace implementation, testing, profiling and finally kernel port. Add to that extra concurrency issues when integrating with zcache!
Thanks,
Nitin
On Wed, Feb 9, 2011 at 1:03 AM, Dan Magenheimer
<[email protected]> wrote:
[snip]
Quoted 6 lines
If I've missed anything important, please let me know!
Thanks again!
Dan
Hi Dan,
thank you so much for answering my email in such detail !
I shall pick up on that mail in my next email sending to the mailing list :)
currently I've got a problem with btrfs which seems to get triggered by cleancache get-operations:
Feb 14 00:37:19 lupus kernel: [ 2831.297377] device fsid 354120c992a00761-5fa07d400126a895 devid 1 transid 7 /dev/mapper/portage Feb 14 00:37:19 lupus kernel: [ 2831.297698] btrfs: enabling disk space caching Feb 14 00:37:19 lupus kernel: [ 2831.297700] btrfs: force lzo compression Feb 14 00:37:19 lupus kernel: [ 2831.315844] zcache: created ephemeral tmem pool, id=3 Feb 14 00:39:20 lupus kernel: [ 2951.853188] BUG: unable to handle kernel paging request at 0000000001400050 Feb 14 00:39:20 lupus kernel: [ 2951.853219] IP: [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 00:39:20 lupus kernel: [ 2951.853242] PGD 0 Feb 14 00:39:20 lupus kernel: [ 2951.853251] Oops: 0000 [#1] PREEMPT SMP Feb 14 00:39:20 lupus kernel: [ 2951.853275] last sysfs file: /sys/devices/platform/coretemp.3/temp1_input Feb 14 00:39:20 lupus kernel: [ 2951.853295] CPU 4 Feb 14 00:39:20 lupus kernel: [ 2951.853303] Modules linked in: radeon
ttm drm_kms_helper cfbcopyarea cfbimgblt cfbfillrect ipt_REJECT ipt_LOG xt_limit xt_tcpudp xt_state nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack_ftp iptable_filter ipt_addrtype xt_DSCP xt_dscp xt_iprange ip_tables ip6table_filter xt_NFQUEUE xt_owner xt_hashlimit xt_conntrack xt_mark xt_multiport xt_connmark nf_conntrack xt_string ip6_tables x_tables it87 hwmon_vid coretemp snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_timer snd soundcore i2c_i801 wmi e1000e shpchp snd_page_alloc libphy e1000 scsi_wait_scan sl811_hcd ohci_hcd ssb usb_storage ehci_hcd [last unloaded: tg3]
Feb 14 00:39:20 lupus kernel: [ 2951.853682] Feb 14 00:39:20 lupus kernel: [ 2951.853690] Pid: 11394, comm: btrfs-transacti Not tainted 2.6.37-plus_v16_zcache #4 FMP55/ipower G3710 Feb 14 00:39:20 lupus kernel: [ 2951.853725] RIP: 0010:[<ffffffff8133ef1b>] [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 00:39:20 lupus kernel: [ 2951.853751] RSP: 0018:ffff880129a11b00 EFLAGS: 00010246 Feb 14 00:39:20 lupus kernel: [ 2951.853767] RAX: 00000000000000ff RBX: ffff88014a1ce628 RCX: 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853788] RDX: ffff880129a11b3c RSI: ffff880129a11b70 RDI: 0000000000000006 Feb 14 00:39:20 lupus kernel: [ 2951.853808] RBP: 0000000001400000 R08: ffffffff8133eef0 R09: ffff880129a11c68 Feb 14 00:39:20 lupus kernel: [ 2951.853829] R10: 0000000000000001 R11: 0000000000000001 R12: ffff88014a1ce780 Feb 14 00:39:20 lupus kernel: [ 2951.853849] R13: ffff88021fefc000 R14: ffff88021fef9000 R15: 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853870] FS: 0000000000000000(0000) GS:ffff8800bf500000(0000) knlGS:0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853894] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b Feb 14 00:39:20 lupus kernel: [ 2951.853911] CR2: 0000000001400050 CR3: 0000000001c27000 CR4: 00000000000006e0 Feb 14 00:39:20 lupus kernel: [ 2951.853932] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853952] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 00:39:20 lupus kernel: [ 2951.853973] Process btrfs-transacti (pid: 11394, threadinfo ffff880129a10000, task ffff880202e4ac40) Feb 14 00:39:20 lupus kernel: [ 2951.853999] Stack: Feb 14 00:39:20 lupus kernel: [ 2951.854006] ffff880129a11b50 ffff880000000003 ffff88003c60a098 0000000000000003 Feb 14 00:39:20 lupus kernel: [ 2951.854035] ffffffffffffffff ffffffff810e6aaa 0000000000000000 0000000602e4ac40 Feb 14 00:39:20 lupus kernel: [ 2951.854063] ffffffff8133e3f0 ffffffff810e6cee 0000000000001000 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.854092] Call Trace: Feb 14 00:39:20 lupus kernel: [ 2951.854103] [<ffffffff810e6aaa>] ? cleancache_get_key+0x4a/0x60 Feb 14 00:39:20 lupus kernel: [ 2951.854122] [<ffffffff8133e3f0>] ? btrfs_wake_function+0x0/0x20 Feb 14 00:39:20 lupus kernel: [ 2951.854140] [<ffffffff810e6cee>] ? __cleancache_flush_inode+0x3e/0x70 Feb 14 00:39:20 lupus kernel: [ 2951.854161] [<ffffffff810b34d2>] ? truncate_inode_pages_range+0x42/0x440 Feb 14 00:39:20 lupus kernel: [ 2951.854182] [<ffffffff812f115e>] ? btrfs_search_slot+0x89e/0xa00 Feb 14 00:39:20 lupus kernel: [ 2951.854201] [<ffffffff810c3a45>] ? unmap_mapping_range+0xc5/0x2a0 Feb 14 00:39:20 lupus kernel: [ 2951.854220] [<ffffffff810b3930>] ? truncate_pagecache+0x40/0x70 Feb 14 00:39:20 lupus kernel: [ 2951.854240] [<ffffffff813458b1>] ? btrfs_truncate_free_space_cache+0x81/0xe0 Feb 14 00:39:20 lupus kernel: [ 2951.854261] [<ffffffff812fce15>] ? btrfs_write_dirty_block_groups+0x245/0x500 Feb 14 00:39:20 lupus kernel: [ 2951.854283] [<ffffffff812fcb6a>] ? btrfs_run_delayed_refs+0x1ba/0x220 Feb 14 00:39:20 lupus kernel: [ 2951.854304] [<ffffffff8130afff>] ? commit_cowonly_roots+0xff/0x1d0 Feb 14 00:39:20 lupus kernel: [ 2951.854323] [<ffffffff8130c583>] ? btrfs_commit_transaction+0x363/0x760 Feb 14 00:39:20 lupus kernel: [ 2951.854344] [<ffffffff81067ea0>] ? autoremove_wake_function+0x0/0x30 Feb 14 00:39:20 lupus kernel: [ 2951.854364] [<ffffffff81305bc3>] ? transaction_kthread+0x283/0x2a0 Feb 14 00:39:20 lupus kernel: [ 2951.854383] [<ffffffff81305940>] ? transaction_kthread+0x0/0x2a0 Feb 14 00:39:20 lupus kernel: [ 2951.854401] [<ffffffff81305940>] ? transaction_kthread+0x0/0x2a0 Feb 14 00:39:20 lupus kernel: [ 2951.854420] [<ffffffff81067a16>] ? kthread+0x96/0xa0 Feb 14 00:39:20 lupus kernel: [ 2951.854437] [<ffffffff81003514>] ? kernel_thread_helper+0x4/0x10 Feb 14 00:39:20 lupus kernel: [ 2951.854455] [<ffffffff81067980>] ? kthread+0x0/0xa0 Feb 14 00:39:20 lupus kernel: [ 2951.854471] [<ffffffff81003510>] ? kernel_thread_helper+0x0/0x10 Feb 14 00:39:20 lupus kernel: [ 2951.854488] Code: 55 b8 ff 00 00 00 53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00 00 85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00 00 48 89 06 84 c9 48 8b 85 68 fe ff ff Feb 14 00:39:20 lupus kernel: [ 2951.854742] RIP [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 00:39:20 lupus kernel: [ 2951.854762] RSP <ffff880129a11b00> Feb 14 00:39:20 lupus kernel: [ 2951.854773] CR2: 0000000001400050 Feb 14 00:39:20 lupus kernel: [ 2951.860906] ---[ end trace
f831c5ceeaa49287 ]---
in my case I had compress-force with lzo and disk_cache enabled
another user of the kernel I'm currently running has had the same problem with zcache
(http://forums.gentoo.org/viewtopic-p-6571799.html#6571799)
(looks like in his case compression and any other fancy additional features weren't enabled)
changes made by this kernel or patchset to btrfs are from
* io-less dirty throttling patchset (44 patches)
* zcache V2 ("[PATCH] staging: zcache: fix memory leak" should be applied in both cases)
* PATCH] fix (latent?) memory corruption in btrfs_encode_fh()
* btrfs-unstable changes to state of 3a90983dbdcb2f4f48c0d771d8e5b4d88f27fae6 (so practically equals btrfs from 2.6.38-rc4+)
I haven't tried downgrading to vanilla 2.6.37 with zcache only, yet,
but kind of upgraded btrfs to the latest state of the btrfs-unstable repository (http://git.eu.kernel.org/?p=linux/kernel/git/mason/btrfs-unstable.git;a=summary)
namely 3a90983dbdcb2f4f48c0d771d8e5b4d88f27fae6
this also didn't help and seemed to produce the same error-message
so to summarize:
1) error message appearing with all 4 patchsets applied changing btrfs-code and compress-force=lzo and disk_cache enabled
2) error message appearing with default mount-options and btrfs from 2.6.37 and changes for zcache & io-less dirty throttling patchset applied (first 2 patch(sets)) from list)
in my case I tried to extract / play back a 1.7 GiB tarball of my portage-directory (lots of small files and some tar.bzip2 archives) via pbzip2 or 7z when the error happened and the message was shown
Due to KMS sound (webradio streaming) was still running but I couldn't continue work (X switching to kernel output) so I did the magic sysrq combo (reisub)
Does that BUG message ring a bell for anyone ?
(if I should leave out anyone from the CC in the next emails or future, please holler - I don't want to spam your inboxes)
Thanks
Matt
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 188 lines · Matt
On Wed, Feb 9, 2011 at 1:03 AM, Dan Magenheimer
<[email protected]> wrote:
[snip]Quoted 6 lines
If I've missed anything important, please let me know!
Thanks again!
DanHi Dan,
thank you so much for answering my email in such detail !
I shall pick up on that mail in my next email sending to the mailing list :)
currently I've got a problem with btrfs which seems to get triggered by cleancache get-operations:
Feb 14 00:37:19 lupus kernel: [ 2831.297377] device fsid 354120c992a00761-5fa07d400126a895 devid 1 transid 7 /dev/mapper/portage Feb 14 00:37:19 lupus kernel: [ 2831.297698] btrfs: enabling disk space caching Feb 14 00:37:19 lupus kernel: [ 2831.297700] btrfs: force lzo compression Feb 14 00:37:19 lupus kernel: [ 2831.315844] zcache: created ephemeral tmem pool, id=3 Feb 14 00:39:20 lupus kernel: [ 2951.853188] BUG: unable to handle kernel paging request at 0000000001400050 Feb 14 00:39:20 lupus kernel: [ 2951.853219] IP: [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 00:39:20 lupus kernel: [ 2951.853242] PGD 0 Feb 14 00:39:20 lupus kernel: [ 2951.853251] Oops: 0000 [#1] PREEMPT SMP Feb 14 00:39:20 lupus kernel: [ 2951.853275] last sysfs file: /sys/devices/platform/coretemp.3/temp1_input Feb 14 00:39:20 lupus kernel: [ 2951.853295] CPU 4 Feb 14 00:39:20 lupus kernel: [ 2951.853303] Modules linked in: radeonttm
drm_kms_helpercfbcopyarea cfbimgblt cfbfillrectipt_REJECTipt_LOGxt_limitxt_tcpudpxt_statenf_nat_ircnf_conntrack_ircnf_nat_ftpnf_natnf_conntrack_ipv4nf_defrag_ipv4nf_conntrack_ftpiptable_filteript_addrtypext_DSCPxt_dscpxt_iprangeip_tablesip6table_filterxt_NFQUEUExt_ownerxt_hashlimitxt_conntrackxt_markxt_multiportxt_connmarknf_conntrackxt_stringip6_tablesx_tablesit87hwmon_vidcoretempsnd_seq_dummysnd_seq_osssnd_seq_midi_eventsnd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_osssnd_hda_codec_hdmisnd_hda_codec_realteksnd_hda_intelsnd_hda_codecsnd_hwdepsnd_pcmsnd_timersnd soundcorei2c_i801wmi e1000e shpchpsnd_page_alloclibphy e1000scsi_wait_scansl811_hcdohci_hcdssbusb_storageehci_hcd[last unloaded: tg3]Feb 14 00:39:20 lupus kernel: [ 2951.853682] Feb 14 00:39:20 lupus kernel: [ 2951.853690] Pid: 11394, comm: btrfs-transacti Not tainted 2.6.37-plus_v16_zcache #4 FMP55/ipower G3710 Feb 14 00:39:20 lupus kernel: [ 2951.853725] RIP: 0010:[<ffffffff8133ef1b>] [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 00:39:20 lupus kernel: [ 2951.853751] RSP: 0018:ffff880129a11b00 EFLAGS: 00010246 Feb 14 00:39:20 lupus kernel: [ 2951.853767] RAX: 00000000000000ff RBX: ffff88014a1ce628 RCX: 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853788] RDX: ffff880129a11b3c RSI: ffff880129a11b70 RDI: 0000000000000006 Feb 14 00:39:20 lupus kernel: [ 2951.853808] RBP: 0000000001400000 R08: ffffffff8133eef0 R09: ffff880129a11c68 Feb 14 00:39:20 lupus kernel: [ 2951.853829] R10: 0000000000000001 R11: 0000000000000001 R12: ffff88014a1ce780 Feb 14 00:39:20 lupus kernel: [ 2951.853849] R13: ffff88021fefc000 R14: ffff88021fef9000 R15: 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853870] FS: 0000000000000000(0000) GS:ffff8800bf500000(0000) knlGS:0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853894] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b Feb 14 00:39:20 lupus kernel: [ 2951.853911] CR2: 0000000001400050 CR3: 0000000001c27000 CR4: 00000000000006e0 Feb 14 00:39:20 lupus kernel: [ 2951.853932] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853952] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 00:39:20 lupus kernel: [ 2951.853973] Process btrfs-transacti (pid: 11394, threadinfo ffff880129a10000, task ffff880202e4ac40) Feb 14 00:39:20 lupus kernel: [ 2951.853999] Stack: Feb 14 00:39:20 lupus kernel: [ 2951.854006] ffff880129a11b50 ffff880000000003 ffff88003c60a098 0000000000000003 Feb 14 00:39:20 lupus kernel: [ 2951.854035] ffffffffffffffff ffffffff810e6aaa 0000000000000000 0000000602e4ac40 Feb 14 00:39:20 lupus kernel: [ 2951.854063] ffffffff8133e3f0 ffffffff810e6cee 0000000000001000 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.854092] Call Trace: Feb 14 00:39:20 lupus kernel: [ 2951.854103] [<ffffffff810e6aaa>] ? cleancache_get_key+0x4a/0x60 Feb 14 00:39:20 lupus kernel: [ 2951.854122] [<ffffffff8133e3f0>] ? btrfs_wake_function+0x0/0x20 Feb 14 00:39:20 lupus kernel: [ 2951.854140] [<ffffffff810e6cee>] ? __cleancache_flush_inode+0x3e/0x70 Feb 14 00:39:20 lupus kernel: [ 2951.854161] [<ffffffff810b34d2>] ? truncate_inode_pages_range+0x42/0x440 Feb 14 00:39:20 lupus kernel: [ 2951.854182] [<ffffffff812f115e>] ? btrfs_search_slot+0x89e/0xa00 Feb 14 00:39:20 lupus kernel: [ 2951.854201] [<ffffffff810c3a45>] ? unmap_mapping_range+0xc5/0x2a0 Feb 14 00:39:20 lupus kernel: [ 2951.854220] [<ffffffff810b3930>] ? truncate_pagecache+0x40/0x70 Feb 14 00:39:20 lupus kernel: [ 2951.854240] [<ffffffff813458b1>] ? btrfs_truncate_free_space_cache+0x81/0xe0 Feb 14 00:39:20 lupus kernel: [ 2951.854261] [<ffffffff812fce15>] ? btrfs_write_dirty_block_groups+0x245/0x500 Feb 14 00:39:20 lupus kernel: [ 2951.854283] [<ffffffff812fcb6a>] ? btrfs_run_delayed_refs+0x1ba/0x220 Feb 14 00:39:20 lupus kernel: [ 2951.854304] [<ffffffff8130afff>] ? commit_cowonly_roots+0xff/0x1d0 Feb 14 00:39:20 lupus kernel: [ 2951.854323] [<ffffffff8130c583>] ? btrfs_commit_transaction+0x363/0x760 Feb 14 00:39:20 lupus kernel: [ 2951.854344] [<ffffffff81067ea0>] ? autoremove_wake_function+0x0/0x30 Feb 14 00:39:20 lupus kernel: [ 2951.854364] [<ffffffff81305bc3>] ? transaction_kthread+0x283/0x2a0 Feb 14 00:39:20 lupus kernel: [ 2951.854383] [<ffffffff81305940>] ? transaction_kthread+0x0/0x2a0 Feb 14 00:39:20 lupus kernel: [ 2951.854401] [<ffffffff81305940>] ? transaction_kthread+0x0/0x2a0 Feb 14 00:39:20 lupus kernel: [ 2951.854420] [<ffffffff81067a16>] ? kthread+0x96/0xa0 Feb 14 00:39:20 lupus kernel: [ 2951.854437] [<ffffffff81003514>] ? kernel_thread_helper+0x4/0x10 Feb 14 00:39:20 lupus kernel: [ 2951.854455] [<ffffffff81067980>] ? kthread+0x0/0xa0 Feb 14 00:39:20 lupus kernel: [ 2951.854471] [<ffffffff81003510>] ? kernel_thread_helper+0x0/0x10 Feb 14 00:39:20 lupus kernel: [ 2951.854488] Code: 55 b8 ff 00 00 00 53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00 00 85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00 00 48 89 06 84 c9 48 8b 85 68 fe ff ff Feb 14 00:39:20 lupus kernel: [ 2951.854742] RIP [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 00:39:20 lupus kernel: [ 2951.854762] RSP <ffff880129a11b00> Feb 14 00:39:20 lupus kernel: [ 2951.854773] CR2: 0000000001400050 Feb 14 00:39:20 lupus kernel: [ 2951.860906] ---[ end trace
f831c5ceeaa49287]---in my case I had compress-force with lzo and
disk_cacheenabledanother user of the kernel I'm currently running has had the same problem with zcache
(http://forums.gentoo.org/viewtopic-p-6571799.html#6571799)(looks like in his case compression and any other fancy additional features weren't enabled)
changes made by this kernel or patchset to btrfs are from
* io-less dirty throttling patchset (44 patches)
* zcache V2 ("[PATCH] staging: zcache: fix memory leak" should be applied in both cases)
* PATCH] fix (latent?) memory corruption inbtrfs_encode_fh()
* btrfs-unstable changes to state of3a90983dbdcb2f4f48c0d771d8e5b4d88f27fae6(so practically equals btrfs from 2.6.38-rc4+)I haven't tried downgrading to vanilla 2.6.37 with zcache only, yet,
but kind of upgraded btrfs to the latest state of the btrfs-unstable repository (http://git.eu.kernel.org/?p=linux/kernel/git/mason/btrfs-unstable.git;a=summary)
namely3a90983dbdcb2f4f48c0d771d8e5b4d88f27fae6this also didn't help and seemed to produce the same error-message
so to summarize:
1) error message appearing with all 4 patchsets applied changing btrfs-code and compress-force=lzo and
disk_cacheenabled2) error message appearing with default mount-options and btrfs from 2.6.37 and changes for zcache & io-less dirty throttling patchset applied (first 2 patch(sets)) from list)
in my case I tried to extract / play back a 1.7 GiB tarball of my portage-directory (lots of small files and some tar.bzip2 archives) via pbzip2 or 7z when the error happened and the message was shown
Due to KMS sound (webradio streaming) was still running but I couldn't continue work (X switching to kernel output) so I did the magic sysrq combo (reisub)
Quoted 9 lines
Does that BUG message ring a bell for anyone ?
(if I should leave out anyone from the CC in the next emails or future, please holler - I don't want to spam your inboxes)
Thanks
Matt
OK,
here's the output of a kernel -
staying as close to vanilla (2.6.37) as the current situation allows (only including some corruption or leak fixes for zram & zcache and "zram_xvmalloc: 64K page fixes and optimizations" (and 2 reiserfs fixes)):
so in total the following patches are included in this new kernel (2.6.37-zcache):
zram changes:
1 zram: Fix sparse warning 'Using plain integer as NULL pointer' 2 [PATCH] zram: fix data corruption issue
3 [PATCH 0/7][v2] zram_xvmalloc: 64K page fixes and optimizations
zcache:
1 zcache-linux-2.6.37-110205
2 [PATCH] staging: zcache: fix memory leak
3 [PATCH] zcache: Fix build error when sysfs is not defined
reiserfs:
1 [PATCH] reiserfs: Make sure va_end() is always called after 2 [patch] reiserfs: potential ERR_PTR dereference
the same procedure:
trying to extract the mentioned portage-tarball:
time (7z e -so -tbzip2 -mmt=5 /system/portage_backup_022011.tbz2 | tar -xp -C /usr/gentoo/)
this hopefully should make it easier to track down the problem:
Feb 14 01:59:59 lupus kernel: [ 364.777143] device fsid 684a4213565dd3fe-ca991821badc2aac devid 1 transid 7 /dev/mapper/portage Feb 14 01:59:59 lupus kernel: [ 364.844994] zcache: created ephemeral tmem pool, id=2 Feb 14 02:02:49 lupus kernel: [ 534.577573] BUG: unable to handle kernel paging request at 0000000037610050 Feb 14 02:02:49 lupus kernel: [ 534.577605] IP: [<ffffffff81338cbb>] btrfs_encode_fh+0x2b/0x110 Feb 14 02:02:49 lupus kernel: [ 534.577630] PGD 0 Feb 14 02:02:49 lupus kernel: [ 534.577640] Oops: 0000 [#1] PREEMPT SMP Feb 14 02:02:49 lupus kernel: [ 534.577665] last sysfs file: /sys/devices/system/cpu/cpu7/cache/index2/shared_cpu_map Feb 14 02:02:49 lupus kernel: [ 534.577693] CPU 5 Feb 14 02:02:49 lupus kernel: [ 534.577701] Modules linked in: radeon
ttm drm_kms_helper cfbcopyarea cfbimgblt cfbfillrect ipt_REJECT ipt_LOG xt_limit xt_tcpudp xt_state nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack_ftp iptable_filter ipt_addrtype xt_DSCP xt_dscp xt_iprange ip_tables ip6table_filter xt_NFQUEUE xt_owner xt_hashlimit xt_conntrack xt_mark xt_multiport xt_connmark nf_conntrack xt_string ip6_tables x_tables it87 hwmon_vid coretemp snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_timer snd e1000e soundcore i2c_i801 shpchp snd_page_alloc wmi libphy e1000 scsi_wait_scan sl811_hcd ohci_hcd ssb usb_storage ehci_hcd [last unloaded: tg3]
Feb 14 02:02:49 lupus kernel: [ 534.578114] Feb 14 02:02:49 lupus kernel: [ 534.578124] Pid: 8285, comm: tar Not tainted 2.6.37-zcache #2 FMP55/ipower G3710 Feb 14 02:02:49 lupus kernel: [ 534.578146] RIP: 0010:[<ffffffff81338cbb>] [<ffffffff81338cbb>] btrfs_encode_fh+0x2b/0x110 Feb 14 02:02:49 lupus kernel: [ 534.578172] RSP: 0018:ffff88023ea9dcc8 EFLAGS: 00010246 Feb 14 02:02:49 lupus kernel: [ 534.578189] RAX: 00000000000000ff RBX: ffff8800b8643228 RCX: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ 534.578210] RDX: ffff88023ea9dd04 RSI: ffff88023ea9dd38 RDI: 0000000000000006 Feb 14 02:02:49 lupus kernel: [ 534.578230] RBP: 0000000037610000 R08: ffffffff81338c90 R09: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ 534.578251] R10: 0000000000000019 R11: 0000000000000001 R12: ffff8800b8643380 Feb 14 02:02:49 lupus kernel: [ 534.578272] R13: ffff8800b8643258 R14: 00007fff806f1f00 R15: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ 534.578293] FS: 00007f823d7ed700(0000) GS:ffff8800bf540000(0000) knlGS:0000000000000000 Feb 14 02:02:49 lupus kernel: [ 534.578317] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Feb 14 02:02:49 lupus kernel: [ 534.578334] CR2: 0000000037610050 CR3: 000000023dcef000 CR4: 00000000000006e0 Feb 14 02:02:49 lupus kernel: [ 534.578356] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ 534.578377] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 02:02:49 lupus kernel: [ 534.578398] Process tar (pid: 8285, threadinfo ffff88023ea9c000, task ffff88023e8b9d40) Feb 14 02:02:49 lupus kernel: [ 534.578421] Stack: Feb 14 02:02:49 lupus kernel: [ 534.578428] 000000013d096000 ffff88023ed84800 ffff88023ea9c000 0000000000000002 Feb 14 02:02:49 lupus kernel: [ 534.578458] ffffffffffffffff ffffffff810e3b1a 0000000000000001 000000061e1d5240 Feb 14 02:02:49 lupus kernel: [ 534.578486] fffffffffffffffb ffffffff810e3d5e ffff88010f383000 0000001ab86cb908 Feb 14 02:02:49 lupus kernel: [ 534.578514] Call Trace: Feb 14 02:02:49 lupus kernel: [ 534.578525] [<ffffffff810e3b1a>] ? cleancache_get_key+0x4a/0x60 Feb 14 02:02:49 lupus kernel: [ 534.578544] [<ffffffff810e3d5e>] ? __cleancache_flush_inode+0x3e/0x70 Feb 14 02:02:49 lupus kernel: [ 534.578565] [<ffffffff810b0ed2>] ? truncate_inode_pages_range+0x42/0x440 Feb 14 02:02:49 lupus kernel: [ 534.578586] [<ffffffff81338451>] ? btrfs_tree_unlock+0x41/0x50 Feb 14 02:02:49 lupus kernel: [ 534.578605] [<ffffffff812e4ed5>] ? btrfs_release_path+0x15/0x70 Feb 14 02:02:49 lupus kernel: [ 534.578624] [<ffffffff8130bf29>] ? btrfs_run_delayed_iputs+0x49/0x120 Feb 14 02:02:49 lupus kernel: [ 534.578644] [<ffffffff813107e7>] ? btrfs_evict_inode+0x27/0x1e0 Feb 14 02:02:49 lupus kernel: [ 534.578663] [<ffffffff810fc3aa>] ? evict+0x1a/0xa0 Feb 14 02:02:49 lupus kernel: [ 534.578678] [<ffffffff810fc6bd>] ? iput+0x1cd/0x2b0 Feb 14 02:02:49 lupus kernel: [ 534.578694] [<ffffffff810f266f>] ? do_unlinkat+0x12f/0x1d0 Feb 14 02:02:49 lupus kernel: [ 534.578712] [<ffffffff810027bb>] ? system_call_fastpath+0x16/0x1b Feb 14 02:02:49 lupus kernel: [ 534.578730] Code: 55 b8 ff 00 00 00 53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00 00 85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00 00 48 89 06 84 c9 48 8b 85 68 fe ff ff Feb 14 02:02:49 lupus kernel: [ 534.578986] RIP [<ffffffff81338cbb>] btrfs_encode_fh+0x2b/0x110 Feb 14 02:02:49 lupus kernel: [ 534.579081] RSP <ffff88023ea9dcc8> Feb 14 02:02:49 lupus kernel: [ 534.579093] CR2: 0000000037610050 Feb 14 02:02:49 lupus kernel: [ 534.587513] ---[ end trace
c596b12e66c0b360 ]---
for reference I've pasted it to pastebin.com:
"2.6.37_zcache_V2.patch"
http://pastebin.com/cVSkwQ6M
after the reboot I had forgotten to not mount the btrfs volume and it threw a similar error-message again and remounted several partitions read-only (including the system partition)
the partition with btrfs (/usr/gentoo) couldn't be unmounted since the umount process kind of hang
so here's the error message after a reboot (might not be accurate or kind of "skewed" since other patches are included (io-less dirty throttling, PATCH] fix (latent?) memory corruption in btrfs_encode_fh() and latest changes for btrfs)) but might help to get some more evidence:
Feb 14 02:05:46 lupus kernel: [ 63.922648] device fsid 684a4213565dd3fe-ca991821badc2aac devid 1 transid 13 /dev/mapper/portage Feb 14 02:05:46 lupus kernel: [ 64.047118] btrfs: unlinked 1 orphans Feb 14 02:05:46 lupus kernel: [ 64.051956] zcache: created ephemeral tmem pool, id=3 Feb 14 02:05:48 lupus kernel: [ 65.801364] hub 2-1:1.0: hub_suspend Feb 14 02:05:48 lupus kernel: [ 65.801376] usb 2-1: unlink qh256-0001/ffff88023fefd180 start 1 [1/0 us] Feb 14 02:05:48 lupus kernel: [ 65.801559] usb 2-1: usb auto-suspend Feb 14 02:05:50 lupus kernel: [ 67.797929] hub 2-0:1.0: hub_suspend Feb 14 02:05:50 lupus kernel: [ 67.797939] usb usb2: bus auto-suspend Feb 14 02:05:50 lupus kernel: [ 67.797942] ehci_hcd 0000:00:1d.0: suspend root hub Feb 14 02:05:52 lupus kernel: [ 70.050493] BUG: unable to handle kernel paging request at 0000030341ed0050 Feb 14 02:05:52 lupus kernel: [ 70.050670] IP: [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:05:52 lupus kernel: [ 70.050807] PGD 0 Feb 14 02:05:52 lupus kernel: [ 70.050929] Oops: 0000 [#1] PREEMPT SMP Feb 14 02:05:52 lupus kernel: [ 70.051223] last sysfs file: /sys/module/pcie_aspm/parameters/policy Feb 14 02:05:52 lupus kernel: [ 70.051365] CPU 6 Feb 14 02:05:52 lupus kernel: [ 70.051411] Modules linked in:
ipt_REJECT ipt_LOG xt_limit xt_tcpudp xt_state nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack_ftp iptable_filter ipt_addrtype xt_DSCP xt_dscp xt_iprange ip_tables ip6table_filter xt_NFQUEUE xt_owner xt_hashlimit xt_conntrack xt_mark xt_multiport xt_connmark nf_conntrack xt_string ip6_tables x_tables it87 hwmon_vid coretemp snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_timer snd i2c_i801 soundcore wmi shpchp e1000e snd_page_alloc libphy e1000 scsi_wait_scan sl811_hcd ohci_hcd ssb usb_storage ehci_hcd [last unloaded: tg3]
Feb 14 02:05:52 lupus kernel: [ 70.054694] Feb 14 02:05:52 lupus kernel: [ 70.054776] Pid: 7962, comm: umount Not tainted 2.6.37-plus_v16_zcache #4 FMP55/ipower G3710 Feb 14 02:05:52 lupus kernel: [ 70.054912] RIP: 0010:[<ffffffff8133ef1b>] [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:05:52 lupus kernel: [ 70.055084] RSP: 0018:ffff88023c77d6f8 EFLAGS: 00010246 Feb 14 02:05:52 lupus kernel: [ 70.055173] RAX: 00000000000000ff RBX: ffff88023cde0168 RCX: 0000000000000000 Feb 14 02:05:52 lupus kernel: [ 70.055265] RDX: ffff88023c77d734 RSI: ffff88023c77d768 RDI: 0000000000000006 Feb 14 02:05:52 lupus kernel: [ 70.055357] RBP: 0000030341ed0000 R08: ffffffff8133eef0 R09: ffff88023c77d8d8 Feb 14 02:05:52 lupus kernel: [ 70.055448] R10: 0000000000000003 R11: 0000000000000001 R12: 00000000ffffffff Feb 14 02:05:52 lupus kernel: [ 70.055540] R13: ffff88023cde0030 R14: ffffea0007dd39f0 R15: 0000000000000001 Feb 14 02:05:52 lupus kernel: [ 70.055633] FS: 00007fb1cad04760(0000) GS:ffff8800bf580000(0000) knlGS:0000000000000000 Feb 14 02:05:52 lupus kernel: [ 70.055762] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b Feb 14 02:05:52 lupus kernel: [ 70.055851] CR2: 0000030341ed0050 CR3: 000000023c7d5000 CR4: 00000000000006e0 Feb 14 02:05:52 lupus kernel: [ 70.055943] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 02:05:52 lupus kernel: [ 70.056035] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 02:05:52 lupus kernel: [ 70.056128] Process umount (pid: 7962, threadinfo ffff88023c77c000, task ffff88023c7a4260) Feb 14 02:05:52 lupus kernel: [ 70.056257] Stack: Feb 14 02:05:52 lupus kernel: [ 70.056338] 0000000000000000 0000000000000002 ffff880200000000 0000000000000003 Feb 14 02:05:52 lupus kernel: [ 70.056630] ffffea0007dd39f0 ffffffff810e6aaa ffff880200000041 0000000600000246 Feb 14 02:05:52 lupus kernel: [ 70.056922] ffff88023cdcd300 ffffffff810e6b3a 0000000000000001 ffffffff8132bb7c Feb 14 02:05:52 lupus kernel: [ 70.057213] Call Trace: Feb 14 02:05:52 lupus kernel: [ 70.057301] [<ffffffff810e6aaa>] ? cleancache_get_key+0x4a/0x60 Feb 14 02:05:52 lupus kernel: [ 70.057393] [<ffffffff810e6b3a>] ? __cleancache_get_page+0x7a/0xd0 Feb 14 02:05:52 lupus kernel: [ 70.057487] [<ffffffff8132bb7c>] ? merge_state+0x7c/0x150 Feb 14 02:05:52 lupus kernel: [ 70.057579] [<ffffffff8132e4de>] ? __extent_read_full_page+0x52e/0x710 Feb 14 02:05:52 lupus kernel: [ 70.057673] [<ffffffff813bdea4>] ? rb_insert_color+0xa4/0x140 Feb 14 02:05:52 lupus kernel: [ 70.057766] [<ffffffff8134b0b6>] ? tree_insert+0x86/0x1e0 Feb 14 02:05:52 lupus kernel: [ 70.057859] [<ffffffff81058c73>] ? lock_timer_base.clone.22+0x33/0x70 Feb 14 02:05:52 lupus kernel: [ 70.058004] [<ffffffff81305060>] ? btree_get_extent+0x0/0x1c0 Feb 14 02:05:52 lupus kernel: [ 70.058097] [<ffffffff81330b21>] ? read_extent_buffer_pages+0x2d1/0x470 Feb 14 02:05:52 lupus kernel: [ 70.058191] [<ffffffff81305060>] ? btree_get_extent+0x0/0x1c0 Feb 14 02:05:52 lupus kernel: [ 70.058283] [<ffffffff8130674d>] ? btree_read_extent_buffer_pages.clone.65+0x4d/0xa0 Feb 14 02:05:52 lupus kernel: [ 70.058415] [<ffffffff813076f9>] ? read_tree_block+0x39/0x60 Feb 14 02:05:52 lupus kernel: [ 70.058508] [<ffffffff812ed5e6>] ? read_block_for_search.clone.40+0x116/0x410 Feb 14 02:05:52 lupus kernel: [ 70.058638] [<ffffffff812eb228>] ? btrfs_cow_block+0x118/0x2b0 Feb 14 02:05:52 lupus kernel: [ 70.058731] [<ffffffff812f0bc7>] ? btrfs_search_slot+0x307/0xa00 Feb 14 02:05:52 lupus kernel: [ 70.058823] [<ffffffff812f6b18>] ? lookup_inline_extent_backref+0x98/0x4a0 Feb 14 02:05:52 lupus kernel: [ 70.058919] [<ffffffff810e33d7>] ? kmem_cache_alloc+0x87/0xa0 Feb 14 02:05:52 lupus kernel: [ 70.059032] [<ffffffff812f891c>] ? __btrfs_free_extent+0xcc/0x6f0 Feb 14 02:05:52 lupus kernel: [ 70.059125] [<ffffffff812fc4cf>] ? run_clustered_refs+0x39f/0x880 Feb 14 02:05:52 lupus kernel: [ 70.059220] [<ffffffff810b1f98>] ? pagevec_lookup_tag+0x18/0x20 Feb 14 02:05:52 lupus kernel: [ 70.059312] [<ffffffff810a7c81>] ? filemap_fdatawait_range+0x91/0x180 Feb 14 02:05:52 lupus kernel: [ 70.059405] [<ffffffff812fca77>] ? btrfs_run_delayed_refs+0xc7/0x220 Feb 14 02:05:52 lupus kernel: [ 70.059498] [<ffffffff8130c29c>] ? btrfs_commit_transaction+0x7c/0x760 Feb 14 02:05:52 lupus kernel: [ 70.059591] [<ffffffff81067ea0>] ? autoremove_wake_function+0x0/0x30 Feb 14 02:05:52 lupus kernel: [ 70.059683] [<ffffffff8130cdef>] ? start_transaction+0x1bf/0x270 Feb 14 02:05:52 lupus kernel: [ 70.059775] [<ffffffff8110e96a>] ? __sync_filesystem+0x5a/0x90 Feb 14 02:05:52 lupus kernel: [ 70.059867] [<ffffffff810eae8d>] ? generic_shutdown_super+0x2d/0x100 Feb 14 02:05:52 lupus kernel: [ 70.059960] [<ffffffff810eafb9>] ? kill_anon_super+0x9/0x50 Feb 14 02:05:52 lupus kernel: [ 70.060051] [<ffffffff810eb266>] ? deactivate_locked_super+0x26/0x80 Feb 14 02:05:52 lupus kernel: [ 70.060144] [<ffffffff811043ea>] ? sys_umount+0x7a/0x390 Feb 14 02:05:52 lupus kernel: [ 70.060235] [<ffffffff810027bb>] ? system_call_fastpath+0x16/0x1b Feb 14 02:05:52 lupus kernel: [ 70.060325] Code: 55 b8 ff 00 00 00 53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00 00 85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00 00 48 89 06 84 c9 48 8b 85 68 fe ff ff Feb 14 02:05:52 lupus kernel: [ 70.063170] RIP [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:05:52 lupus kernel: [ 70.063302] RSP <ffff88023c77d6f8> Feb 14 02:05:52 lupus kernel: [ 70.063386] CR2: 0000030341ed0050 Feb 14 02:05:52 lupus kernel: [ 70.063528] ---[ end trace 3313552d105b1535 ]--- Feb 14 02:06:16 lupus kernel: [ 93.961960] BUG: unable to handle kernel paging request at 0000030341ed0050 Feb 14 02:06:16 lupus kernel: [ 93.962171] IP: [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:06:16 lupus kernel: [ 93.962307] PGD 0 Feb 14 02:06:16 lupus kernel: [ 93.962430] Oops: 0000 [#2] PREEMPT SMP Feb 14 02:06:16 lupus kernel: [ 93.962637] last sysfs file: /sys/devices/system/cpu/cpu7/cache/index2/shared_cpu_map Feb 14 02:06:16 lupus kernel: [ 93.962766] CPU 5 Feb 14 02:06:16 lupus kernel: [ 93.962812] Modules linked in:
ipt_REJECT ipt_LOG xt_limit xt_tcpudp xt_state nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack_ftp iptable_filter ipt_addrtype xt_DSCP xt_dscp xt_iprange ip_tables ip6table_filter xt_NFQUEUE xt_owner xt_hashlimit xt_conntrack xt_mark xt_multiport xt_connmark nf_conntrack xt_string ip6_tables x_tables it87 hwmon_vid coretemp snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_timer snd i2c_i801 soundcore wmi shpchp e1000e snd_page_alloc libphy e1000 scsi_wait_scan sl811_hcd ohci_hcd ssb usb_storage ehci_hcd [last unloaded: tg3]
Feb 14 02:06:16 lupus kernel: [ 93.966044] Feb 14 02:06:16 lupus kernel: [ 93.966127] Pid: 7915, comm: btrfs-transacti Tainted: G D 2.6.37-plus_v16_zcache #4 FMP55/ipower G3710 Feb 14 02:06:16 lupus kernel: [ 93.966266] RIP: 0010:[<ffffffff8133ef1b>] [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:06:16 lupus kernel: [ 93.966440] RSP: 0018:ffff88023c63b6e0 EFLAGS: 00010246 Feb 14 02:06:16 lupus kernel: [ 93.966528] RAX: 00000000000000ff RBX: ffff88023cde0168 RCX: 0000000000000000 Feb 14 02:06:16 lupus kernel: [ 93.966620] RDX: ffff88023c63b71c RSI: ffff88023c63b750 RDI: 0000000000000006 Feb 14 02:06:16 lupus kernel: [ 93.966713] RBP: 0000030341ed0000 R08: ffffffff8133eef0 R09: ffff88023c63b8c0 Feb 14 02:06:16 lupus kernel: [ 93.966805] R10: 0000000000000003 R11: 0000000000000001 R12: 00000000ffffffff Feb 14 02:06:16 lupus kernel: [ 93.966897] R13: ffff88023cde0030 R14: ffffea0007d59bc8 R15: 0000000000000001 Feb 14 02:06:16 lupus kernel: [ 93.966990] FS: 0000000000000000(0000) GS:ffff8800bf540000(0000) knlGS:0000000000000000 Feb 14 02:06:16 lupus kernel: [ 93.967120] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b Feb 14 02:06:16 lupus kernel: [ 93.967209] CR2: 0000030341ed0050 CR3: 0000000001c27000 CR4: 00000000000006e0 Feb 14 02:06:16 lupus kernel: [ 93.967302] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 02:06:16 lupus kernel: [ 93.967394] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 02:06:16 lupus kernel: [ 93.967500] Process btrfs-transacti (pid: 7915, threadinfo ffff88023c63a000, task ffff88023c7a1620) Feb 14 02:06:16 lupus kernel: [ 93.967630] Stack: Feb 14 02:06:16 lupus kernel: [ 93.967711] 0000000000000000 0000000000000002 0000000000000000 0000000000000003 Feb 14 02:06:16 lupus kernel: [ 93.968057] ffffea0007d59bc8 ffffffff810e6aaa 0000000000000041 0000000600000002 Feb 14 02:06:16 lupus kernel: [ 93.968348] 0000000000000000 ffffffff810e6b3a 0000000000000001 ffffffff00000001 Feb 14 02:06:16 lupus kernel: [ 93.968639] Call Trace: Feb 14 02:06:16 lupus kernel: [ 93.968728] [<ffffffff810e6aaa>] ? cleancache_get_key+0x4a/0x60 Feb 14 02:06:16 lupus kernel: [ 93.968820] [<ffffffff810e6b3a>] ? __cleancache_get_page+0x7a/0xd0 Feb 14 02:06:16 lupus kernel: [ 93.968914] [<ffffffff8132e4de>] ? __extent_read_full_page+0x52e/0x710 Feb 14 02:06:16 lupus kernel: [ 93.969008] [<ffffffff812f3f93>] ? update_reserved_bytes+0xb3/0x140 Feb 14 02:06:16 lupus kernel: [ 93.969102] [<ffffffff81305060>] ? btree_get_extent+0x0/0x1c0 Feb 14 02:06:16 lupus kernel: [ 93.969193] [<ffffffff8132bb7c>] ? merge_state+0x7c/0x150 Feb 14 02:06:16 lupus kernel: [ 93.969285] [<ffffffff81330b21>] ? read_extent_buffer_pages+0x2d1/0x470 Feb 14 02:06:16 lupus kernel: [ 93.969378] [<ffffffff81305060>] ? btree_get_extent+0x0/0x1c0 Feb 14 02:06:16 lupus kernel: [ 93.969470] [<ffffffff8130674d>] ? btree_read_extent_buffer_pages.clone.65+0x4d/0xa0 Feb 14 02:06:16 lupus kernel: [ 93.969602] [<ffffffff813076f9>] ? read_tree_block+0x39/0x60 Feb 14 02:06:16 lupus kernel: [ 93.969694] [<ffffffff812ed5e6>] ? read_block_for_search.clone.40+0x116/0x410 Feb 14 02:06:16 lupus kernel: [ 93.969878] [<ffffffff812f0bc7>] ? btrfs_search_slot+0x307/0xa00 Feb 14 02:06:16 lupus kernel: [ 93.969970] [<ffffffff812f6b18>] ? lookup_inline_extent_backref+0x98/0x4a0 Feb 14 02:06:16 lupus kernel: [ 93.970065] [<ffffffff810e33d7>] ? kmem_cache_alloc+0x87/0xa0 Feb 14 02:06:16 lupus kernel: [ 93.970157] [<ffffffff812f891c>] ? __btrfs_free_extent+0xcc/0x6f0 Feb 14 02:06:16 lupus kernel: [ 93.970249] [<ffffffff812f8434>] ? update_block_group.clone.62+0xc4/0x280 Feb 14 02:06:16 lupus kernel: [ 93.970343] [<ffffffff812fc4cf>] ? run_clustered_refs+0x39f/0x880 Feb 14 02:06:16 lupus kernel: [ 93.970436] [<ffffffff812fca77>] ? btrfs_run_delayed_refs+0xc7/0x220 Feb 14 02:06:16 lupus kernel: [ 93.970529] [<ffffffff810e15f9>] ? new_slab+0x169/0x1f0 Feb 14 02:06:16 lupus kernel: [ 93.970619] [<ffffffff8130c29c>] ? btrfs_commit_transaction+0x7c/0x760 Feb 14 02:06:16 lupus kernel: [ 93.970713] [<ffffffff81067ea0>] ? autoremove_wake_function+0x0/0x30 Feb 14 02:06:16 lupus kernel: [ 93.970806] [<ffffffff81305bc3>] ? transaction_kthread+0x283/0x2a0 Feb 14 02:06:16 lupus kernel: [ 93.970898] [<ffffffff81305940>] ? transaction_kthread+0x0/0x2a0 Feb 14 02:06:16 lupus kernel: [ 93.970990] [<ffffffff81305940>] ? transaction_kthread+0x0/0x2a0 Feb 14 02:06:16 lupus kernel: [ 93.971083] [<ffffffff81067a16>] ? kthread+0x96/0xa0 Feb 14 02:06:16 lupus kernel: [ 93.971174] [<ffffffff81003514>] ? kernel_thread_helper+0x4/0x10 Feb 14 02:06:16 lupus kernel: [ 93.971266] [<ffffffff81067980>] ? kthread+0x0/0xa0 Feb 14 02:06:16 lupus kernel: [ 93.971355] [<ffffffff81003510>] ? kernel_thread_helper+0x0/0x10 Feb 14 02:06:16 lupus kernel: [ 93.971444] Code: 55 b8 ff 00 00 00 53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00 00 85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00 00 48 89 06 84 c9 48 8b 85 68 fe ff ff Feb 14 02:06:16 lupus kernel: [ 93.974280] RIP [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:06:16 lupus kernel: [ 93.974412] RSP <ffff88023c63b6e0> Feb 14 02:06:16 lupus kernel: [ 93.974497] CR2: 0000030341ed0050 Feb 14 02:06:16 lupus kernel: [ 93.974599] ---[ end trace 3313552d105b1536 ]--- Feb 14 02:07:04 lupus kernel: [ 141.906124] zcache: destroyed pool id=2 Feb 14 02:07:17 lupus kernel: [ 154.783358] SysRq : Keyboard mode set to system default Feb 14 02:07:18 lupus kernel: [ 155.486147] SysRq : Terminate All Tasks
That's all for now
Thanks & Regards
Matt
Quoted 639 lines · Matt
Quoted 188 lines · Matt
On Wed, Feb 9, 2011 at 1:03 AM, Dan Magenheimer
<[email protected]> wrote:
[snip]Quoted 6 lines
If I've missed anything important, please let me know!
Thanks again!
DanHi Dan,
thank you so much for answering my email in such detail !
I shall pick up on that mail in my next email sending to the mailing list :)
currently I've got a problem with btrfs which seems to get triggered by cleancache get-operations:
Feb 14 00:37:19 lupus kernel: [ 2831.297377] device fsid 354120c992a00761-5fa07d400126a895 devid 1 transid 7 /dev/mapper/portage Feb 14 00:37:19 lupus kernel: [ 2831.297698] btrfs: enabling disk space caching Feb 14 00:37:19 lupus kernel: [ 2831.297700] btrfs: force lzo compression Feb 14 00:37:19 lupus kernel: [ 2831.315844] zcache: created ephemeral tmem pool, id=3 Feb 14 00:39:20 lupus kernel: [ 2951.853188] BUG: unable to handle kernel paging request at 0000000001400050 Feb 14 00:39:20 lupus kernel: [ 2951.853219] IP: [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 00:39:20 lupus kernel: [ 2951.853242] PGD 0 Feb 14 00:39:20 lupus kernel: [ 2951.853251] Oops: 0000 [#1] PREEMPT SMP Feb 14 00:39:20 lupus kernel: [ 2951.853275] last sysfs file: /sys/devices/platform/coretemp.3/temp1_input Feb 14 00:39:20 lupus kernel: [ 2951.853295] CPU 4 Feb 14 00:39:20 lupus kernel: [ 2951.853303] Modules linked in: radeonttm
drm_kms_helpercfbcopyarea cfbimgblt cfbfillrectipt_REJECTipt_LOGxt_limitxt_tcpudpxt_statenf_nat_ircnf_conntrack_ircnf_nat_ftpnf_natnf_conntrack_ipv4nf_defrag_ipv4nf_conntrack_ftpiptable_filteript_addrtypext_DSCPxt_dscpxt_iprangeip_tablesip6table_filterxt_NFQUEUExt_ownerxt_hashlimitxt_conntrackxt_markxt_multiportxt_connmarknf_conntrackxt_stringip6_tablesx_tablesit87hwmon_vidcoretempsnd_seq_dummysnd_seq_osssnd_seq_midi_eventsnd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_osssnd_hda_codec_hdmisnd_hda_codec_realteksnd_hda_intelsnd_hda_codecsnd_hwdepsnd_pcmsnd_timersnd soundcorei2c_i801wmi e1000e shpchpsnd_page_alloclibphy e1000scsi_wait_scansl811_hcdohci_hcdssbusb_storageehci_hcd[last unloaded: tg3]Feb 14 00:39:20 lupus kernel: [ 2951.853682] Feb 14 00:39:20 lupus kernel: [ 2951.853690] Pid: 11394, comm: btrfs-transacti Not tainted 2.6.37-plus_v16_zcache #4 FMP55/ipower G3710 Feb 14 00:39:20 lupus kernel: [ 2951.853725] RIP: 0010:[<ffffffff8133ef1b>] [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 00:39:20 lupus kernel: [ 2951.853751] RSP: 0018:ffff880129a11b00 EFLAGS: 00010246 Feb 14 00:39:20 lupus kernel: [ 2951.853767] RAX: 00000000000000ff RBX: ffff88014a1ce628 RCX: 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853788] RDX: ffff880129a11b3c RSI: ffff880129a11b70 RDI: 0000000000000006 Feb 14 00:39:20 lupus kernel: [ 2951.853808] RBP: 0000000001400000 R08: ffffffff8133eef0 R09: ffff880129a11c68 Feb 14 00:39:20 lupus kernel: [ 2951.853829] R10: 0000000000000001 R11: 0000000000000001 R12: ffff88014a1ce780 Feb 14 00:39:20 lupus kernel: [ 2951.853849] R13: ffff88021fefc000 R14: ffff88021fef9000 R15: 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853870] FS: 0000000000000000(0000) GS:ffff8800bf500000(0000) knlGS:0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853894] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b Feb 14 00:39:20 lupus kernel: [ 2951.853911] CR2: 0000000001400050 CR3: 0000000001c27000 CR4: 00000000000006e0 Feb 14 00:39:20 lupus kernel: [ 2951.853932] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853952] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 00:39:20 lupus kernel: [ 2951.853973] Process btrfs-transacti (pid: 11394, threadinfo ffff880129a10000, task ffff880202e4ac40) Feb 14 00:39:20 lupus kernel: [ 2951.853999] Stack: Feb 14 00:39:20 lupus kernel: [ 2951.854006] ffff880129a11b50 ffff880000000003 ffff88003c60a098 0000000000000003 Feb 14 00:39:20 lupus kernel: [ 2951.854035] ffffffffffffffff ffffffff810e6aaa 0000000000000000 0000000602e4ac40 Feb 14 00:39:20 lupus kernel: [ 2951.854063] ffffffff8133e3f0 ffffffff810e6cee 0000000000001000 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.854092] Call Trace: Feb 14 00:39:20 lupus kernel: [ 2951.854103] [<ffffffff810e6aaa>] ? cleancache_get_key+0x4a/0x60 Feb 14 00:39:20 lupus kernel: [ 2951.854122] [<ffffffff8133e3f0>] ? btrfs_wake_function+0x0/0x20 Feb 14 00:39:20 lupus kernel: [ 2951.854140] [<ffffffff810e6cee>] ? __cleancache_flush_inode+0x3e/0x70 Feb 14 00:39:20 lupus kernel: [ 2951.854161] [<ffffffff810b34d2>] ? truncate_inode_pages_range+0x42/0x440 Feb 14 00:39:20 lupus kernel: [ 2951.854182] [<ffffffff812f115e>] ? btrfs_search_slot+0x89e/0xa00 Feb 14 00:39:20 lupus kernel: [ 2951.854201] [<ffffffff810c3a45>] ? unmap_mapping_range+0xc5/0x2a0 Feb 14 00:39:20 lupus kernel: [ 2951.854220] [<ffffffff810b3930>] ? truncate_pagecache+0x40/0x70 Feb 14 00:39:20 lupus kernel: [ 2951.854240] [<ffffffff813458b1>] ? btrfs_truncate_free_space_cache+0x81/0xe0 Feb 14 00:39:20 lupus kernel: [ 2951.854261] [<ffffffff812fce15>] ? btrfs_write_dirty_block_groups+0x245/0x500 Feb 14 00:39:20 lupus kernel: [ 2951.854283] [<ffffffff812fcb6a>] ? btrfs_run_delayed_refs+0x1ba/0x220 Feb 14 00:39:20 lupus kernel: [ 2951.854304] [<ffffffff8130afff>] ? commit_cowonly_roots+0xff/0x1d0 Feb 14 00:39:20 lupus kernel: [ 2951.854323] [<ffffffff8130c583>] ? btrfs_commit_transaction+0x363/0x760 Feb 14 00:39:20 lupus kernel: [ 2951.854344] [<ffffffff81067ea0>] ? autoremove_wake_function+0x0/0x30 Feb 14 00:39:20 lupus kernel: [ 2951.854364] [<ffffffff81305bc3>] ? transaction_kthread+0x283/0x2a0 Feb 14 00:39:20 lupus kernel: [ 2951.854383] [<ffffffff81305940>] ? transaction_kthread+0x0/0x2a0 Feb 14 00:39:20 lupus kernel: [ 2951.854401] [<ffffffff81305940>] ? transaction_kthread+0x0/0x2a0 Feb 14 00:39:20 lupus kernel: [ 2951.854420] [<ffffffff81067a16>] ? kthread+0x96/0xa0 Feb 14 00:39:20 lupus kernel: [ 2951.854437] [<ffffffff81003514>] ? kernel_thread_helper+0x4/0x10 Feb 14 00:39:20 lupus kernel: [ 2951.854455] [<ffffffff81067980>] ? kthread+0x0/0xa0 Feb 14 00:39:20 lupus kernel: [ 2951.854471] [<ffffffff81003510>] ? kernel_thread_helper+0x0/0x10 Feb 14 00:39:20 lupus kernel: [ 2951.854488] Code: 55 b8 ff 00 00 00 53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00 00 85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00 00 48 89 06 84 c9 48 8b 85 68 fe ff ff Feb 14 00:39:20 lupus kernel: [ 2951.854742] RIP [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 00:39:20 lupus kernel: [ 2951.854762] RSP <ffff880129a11b00> Feb 14 00:39:20 lupus kernel: [ 2951.854773] CR2: 0000000001400050 Feb 14 00:39:20 lupus kernel: [ 2951.860906] ---[ end trace
f831c5ceeaa49287]---in my case I had compress-force with lzo and
disk_cacheenabledanother user of the kernel I'm currently running has had the same problem with zcache
(http://forums.gentoo.org/viewtopic-p-6571799.html#6571799)(looks like in his case compression and any other fancy additional features weren't enabled)
changes made by this kernel or patchset to btrfs are from
* io-less dirty throttling patchset (44 patches)
* zcache V2 ("[PATCH] staging: zcache: fix memory leak" should be applied in both cases)
* PATCH] fix (latent?) memory corruption inbtrfs_encode_fh()
* btrfs-unstable changes to state of3a90983dbdcb2f4f48c0d771d8e5b4d88f27fae6(so practically equals btrfs from 2.6.38-rc4+)I haven't tried downgrading to vanilla 2.6.37 with zcache only, yet,
but kind of upgraded btrfs to the latest state of the btrfs-unstable repository (http://git.eu.kernel.org/?p=linux/kernel/git/mason/btrfs-unstable.git;a=summary)
namely3a90983dbdcb2f4f48c0d771d8e5b4d88f27fae6this also didn't help and seemed to produce the same error-message
so to summarize:
1) error message appearing with all 4 patchsets applied changing btrfs-code and compress-force=lzo and
disk_cacheenabled2) error message appearing with default mount-options and btrfs from 2.6.37 and changes for zcache & io-less dirty throttling patchset applied (first 2 patch(sets)) from list)
in my case I tried to extract / play back a 1.7 GiB tarball of my portage-directory (lots of small files and some tar.bzip2 archives) via pbzip2 or 7z when the error happened and the message was shown
Due to KMS sound (webradio streaming) was still running but I couldn't continue work (X switching to kernel output) so I did the magic sysrq combo (reisub)
Quoted 9 lines
Does that BUG message ring a bell for anyone ?
(if I should leave out anyone from the CC in the next emails or future, please holler - I don't want to spam your inboxes)
Thanks
Matt
OK,
here's the output of a kernel -
staying as close to vanilla (2.6.37) as the current situation allows (only including some corruption or leak fixes for zram & zcache and "
zram_xvmalloc: 64K page fixes and optimizations" (and 2 reiserfs fixes)):so in total the following patches are included in this new kernel (2.6.37-zcache):
zram changes:
1 zram: Fix sparse warning 'Using plain integer as NULL pointer' 2 [PATCH] zram: fix data corruption issue
3 [PATCH 0/7][v2]zram_xvmalloc: 64K page fixes and optimizationszcache:
1 zcache-linux-2.6.37-110205
2 [PATCH] staging: zcache: fix memory leak
3 [PATCH] zcache: Fix build error when sysfs is not definedreiserfs:
1 [PATCH] reiserfs: Make sureva_end()is always called after 2 [patch] reiserfs: potentialERR_PTRdereferencethe same procedure:
trying to extract the mentioned portage-tarball:
time (7z e -so -tbzip2 -mmt=5 /system/portage_backup_022011.tbz2 | tar -xp -C
/usr/gentoo/)this hopefully should make it easier to track down the problem:
Feb 14 01:59:59 lupus kernel: [ 364.777143] device fsid 684a4213565dd3fe-ca991821badc2aac devid 1 transid 7 /dev/mapper/portage Feb 14 01:59:59 lupus kernel: [ 364.844994] zcache: created ephemeral tmem pool, id=2 Feb 14 02:02:49 lupus kernel: [ 534.577573] BUG: unable to handle kernel paging request at 0000000037610050 Feb 14 02:02:49 lupus kernel: [ 534.577605] IP: [<ffffffff81338cbb>] btrfs_encode_fh+0x2b/0x110 Feb 14 02:02:49 lupus kernel: [ 534.577630] PGD 0 Feb 14 02:02:49 lupus kernel: [ 534.577640] Oops: 0000 [#1] PREEMPT SMP Feb 14 02:02:49 lupus kernel: [ 534.577665] last sysfs file: /sys/devices/system/cpu/cpu7/cache/index2/shared_cpu_map Feb 14 02:02:49 lupus kernel: [ 534.577693] CPU 5 Feb 14 02:02:49 lupus kernel: [ 534.577701] Modules linked in: radeonttm
drm_kms_helpercfbcopyarea cfbimgblt cfbfillrectipt_REJECTipt_LOGxt_limitxt_tcpudpxt_statenf_nat_ircnf_conntrack_ircnf_nat_ftpnf_natnf_conntrack_ipv4nf_defrag_ipv4nf_conntrack_ftpiptable_filteript_addrtypext_DSCPxt_dscpxt_iprangeip_tablesip6table_filterxt_NFQUEUExt_ownerxt_hashlimitxt_conntrackxt_markxt_multiportxt_connmarknf_conntrackxt_stringip6_tablesx_tablesit87hwmon_vidcoretempsnd_seq_dummysnd_seq_osssnd_seq_midi_eventsnd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_osssnd_hda_codec_hdmisnd_hda_codec_realteksnd_hda_intelsnd_hda_codecsnd_hwdepsnd_pcmsnd_timersnd e1000e soundcorei2c_i801shpchpsnd_page_allocwmi libphy e1000scsi_wait_scansl811_hcdohci_hcdssbusb_storageehci_hcd[last unloaded: tg3]Feb 14 02:02:49 lupus kernel: [ 534.578114] Feb 14 02:02:49 lupus kernel: [ 534.578124] Pid: 8285, comm: tar Not tainted 2.6.37-zcache #2 FMP55/ipower G3710 Feb 14 02:02:49 lupus kernel: [ 534.578146] RIP: 0010:[<ffffffff81338cbb>] [<ffffffff81338cbb>] btrfs_encode_fh+0x2b/0x110 Feb 14 02:02:49 lupus kernel: [ 534.578172] RSP: 0018:ffff88023ea9dcc8 EFLAGS: 00010246 Feb 14 02:02:49 lupus kernel: [ 534.578189] RAX: 00000000000000ff RBX: ffff8800b8643228 RCX: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ 534.578210] RDX: ffff88023ea9dd04 RSI: ffff88023ea9dd38 RDI: 0000000000000006 Feb 14 02:02:49 lupus kernel: [ 534.578230] RBP: 0000000037610000 R08: ffffffff81338c90 R09: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ 534.578251] R10: 0000000000000019 R11: 0000000000000001 R12: ffff8800b8643380 Feb 14 02:02:49 lupus kernel: [ 534.578272] R13: ffff8800b8643258 R14: 00007fff806f1f00 R15: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ 534.578293] FS: 00007f823d7ed700(0000) GS:ffff8800bf540000(0000) knlGS:0000000000000000 Feb 14 02:02:49 lupus kernel: [ 534.578317] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Feb 14 02:02:49 lupus kernel: [ 534.578334] CR2: 0000000037610050 CR3: 000000023dcef000 CR4: 00000000000006e0 Feb 14 02:02:49 lupus kernel: [ 534.578356] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ 534.578377] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 02:02:49 lupus kernel: [ 534.578398] Process tar (pid: 8285, threadinfo ffff88023ea9c000, task ffff88023e8b9d40) Feb 14 02:02:49 lupus kernel: [ 534.578421] Stack: Feb 14 02:02:49 lupus kernel: [ 534.578428] 000000013d096000 ffff88023ed84800 ffff88023ea9c000 0000000000000002 Feb 14 02:02:49 lupus kernel: [ 534.578458] ffffffffffffffff ffffffff810e3b1a 0000000000000001 000000061e1d5240 Feb 14 02:02:49 lupus kernel: [ 534.578486] fffffffffffffffb ffffffff810e3d5e ffff88010f383000 0000001ab86cb908 Feb 14 02:02:49 lupus kernel: [ 534.578514] Call Trace: Feb 14 02:02:49 lupus kernel: [ 534.578525] [<ffffffff810e3b1a>] ? cleancache_get_key+0x4a/0x60 Feb 14 02:02:49 lupus kernel: [ 534.578544] [<ffffffff810e3d5e>] ? __cleancache_flush_inode+0x3e/0x70 Feb 14 02:02:49 lupus kernel: [ 534.578565] [<ffffffff810b0ed2>] ? truncate_inode_pages_range+0x42/0x440 Feb 14 02:02:49 lupus kernel: [ 534.578586] [<ffffffff81338451>] ? btrfs_tree_unlock+0x41/0x50 Feb 14 02:02:49 lupus kernel: [ 534.578605] [<ffffffff812e4ed5>] ? btrfs_release_path+0x15/0x70 Feb 14 02:02:49 lupus kernel: [ 534.578624] [<ffffffff8130bf29>] ? btrfs_run_delayed_iputs+0x49/0x120 Feb 14 02:02:49 lupus kernel: [ 534.578644] [<ffffffff813107e7>] ? btrfs_evict_inode+0x27/0x1e0 Feb 14 02:02:49 lupus kernel: [ 534.578663] [<ffffffff810fc3aa>] ? evict+0x1a/0xa0 Feb 14 02:02:49 lupus kernel: [ 534.578678] [<ffffffff810fc6bd>] ? iput+0x1cd/0x2b0 Feb 14 02:02:49 lupus kernel: [ 534.578694] [<ffffffff810f266f>] ? do_unlinkat+0x12f/0x1d0 Feb 14 02:02:49 lupus kernel: [ 534.578712] [<ffffffff810027bb>] ? system_call_fastpath+0x16/0x1b Feb 14 02:02:49 lupus kernel: [ 534.578730] Code: 55 b8 ff 00 00 00 53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00 00 85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00 00 48 89 06 84 c9 48 8b 85 68 fe ff ff Feb 14 02:02:49 lupus kernel: [ 534.578986] RIP [<ffffffff81338cbb>] btrfs_encode_fh+0x2b/0x110 Feb 14 02:02:49 lupus kernel: [ 534.579081] RSP <ffff88023ea9dcc8> Feb 14 02:02:49 lupus kernel: [ 534.579093] CR2: 0000000037610050 Feb 14 02:02:49 lupus kernel: [ 534.587513] ---[ end trace
c596b12e66c0b360]---for reference I've pasted it to pastebin.com:
"2.6.37_zcache_V2.patch"
http://pastebin.com/cVSkwQ6Mafter the reboot I had forgotten to not mount the btrfs volume and it threw a similar error-message again and remounted several partitions read-only (including the system partition)
the partition with btrfs (/usr/gentoo) couldn't be unmounted since the umount process kind of hangso here's the error message after a reboot (might not be accurate or kind of "skewed" since other patches are included (io-less dirty throttling, PATCH] fix (latent?) memory corruption in
btrfs_encode_fh()and latest changes for btrfs)) but might help to get some more evidence:Feb 14 02:05:46 lupus kernel: [ 63.922648] device fsid 684a4213565dd3fe-ca991821badc2aac devid 1 transid 13 /dev/mapper/portage Feb 14 02:05:46 lupus kernel: [ 64.047118] btrfs: unlinked 1 orphans Feb 14 02:05:46 lupus kernel: [ 64.051956] zcache: created ephemeral tmem pool, id=3 Feb 14 02:05:48 lupus kernel: [ 65.801364] hub 2-1:1.0: hub_suspend Feb 14 02:05:48 lupus kernel: [ 65.801376] usb 2-1: unlink qh256-0001/ffff88023fefd180 start 1 [1/0 us] Feb 14 02:05:48 lupus kernel: [ 65.801559] usb 2-1: usb auto-suspend Feb 14 02:05:50 lupus kernel: [ 67.797929] hub 2-0:1.0: hub_suspend Feb 14 02:05:50 lupus kernel: [ 67.797939] usb usb2: bus auto-suspend Feb 14 02:05:50 lupus kernel: [ 67.797942] ehci_hcd 0000:00:1d.0: suspend root hub Feb 14 02:05:52 lupus kernel: [ 70.050493] BUG: unable to handle kernel paging request at 0000030341ed0050 Feb 14 02:05:52 lupus kernel: [ 70.050670] IP: [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:05:52 lupus kernel: [ 70.050807] PGD 0 Feb 14 02:05:52 lupus kernel: [ 70.050929] Oops: 0000 [#1] PREEMPT SMP Feb 14 02:05:52 lupus kernel: [ 70.051223] last sysfs file: /sys/module/pcie_aspm/parameters/policy Feb 14 02:05:52 lupus kernel: [ 70.051365] CPU 6 Feb 14 02:05:52 lupus kernel: [ 70.051411] Modules linked in:
ipt_REJECTipt_LOGxt_limitxt_tcpudpxt_statenf_nat_ircnf_conntrack_ircnf_nat_ftpnf_natnf_conntrack_ipv4nf_defrag_ipv4nf_conntrack_ftpiptable_filteript_addrtypext_DSCPxt_dscpxt_iprangeip_tablesip6table_filterxt_NFQUEUExt_ownerxt_hashlimitxt_conntrackxt_markxt_multiportxt_connmarknf_conntrackxt_stringip6_tablesx_tablesit87hwmon_vidcoretempsnd_seq_dummysnd_seq_osssnd_seq_midi_eventsnd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_osssnd_hda_codec_hdmisnd_hda_codec_realteksnd_hda_intelsnd_hda_codecsnd_hwdepsnd_pcmsnd_timersndi2c_i801soundcore wmi shpchp e1000esnd_page_alloclibphy e1000scsi_wait_scansl811_hcdohci_hcdssbusb_storageehci_hcd[last unloaded: tg3]Feb 14 02:05:52 lupus kernel: [ 70.054694] Feb 14 02:05:52 lupus kernel: [ 70.054776] Pid: 7962, comm: umount Not tainted 2.6.37-plus_v16_zcache #4 FMP55/ipower G3710 Feb 14 02:05:52 lupus kernel: [ 70.054912] RIP: 0010:[<ffffffff8133ef1b>] [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:05:52 lupus kernel: [ 70.055084] RSP: 0018:ffff88023c77d6f8 EFLAGS: 00010246 Feb 14 02:05:52 lupus kernel: [ 70.055173] RAX: 00000000000000ff RBX: ffff88023cde0168 RCX: 0000000000000000 Feb 14 02:05:52 lupus kernel: [ 70.055265] RDX: ffff88023c77d734 RSI: ffff88023c77d768 RDI: 0000000000000006 Feb 14 02:05:52 lupus kernel: [ 70.055357] RBP: 0000030341ed0000 R08: ffffffff8133eef0 R09: ffff88023c77d8d8 Feb 14 02:05:52 lupus kernel: [ 70.055448] R10: 0000000000000003 R11: 0000000000000001 R12: 00000000ffffffff Feb 14 02:05:52 lupus kernel: [ 70.055540] R13: ffff88023cde0030 R14: ffffea0007dd39f0 R15: 0000000000000001 Feb 14 02:05:52 lupus kernel: [ 70.055633] FS: 00007fb1cad04760(0000) GS:ffff8800bf580000(0000) knlGS:0000000000000000 Feb 14 02:05:52 lupus kernel: [ 70.055762] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b Feb 14 02:05:52 lupus kernel: [ 70.055851] CR2: 0000030341ed0050 CR3: 000000023c7d5000 CR4: 00000000000006e0 Feb 14 02:05:52 lupus kernel: [ 70.055943] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 02:05:52 lupus kernel: [ 70.056035] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 02:05:52 lupus kernel: [ 70.056128] Process umount (pid: 7962, threadinfo ffff88023c77c000, task ffff88023c7a4260) Feb 14 02:05:52 lupus kernel: [ 70.056257] Stack: Feb 14 02:05:52 lupus kernel: [ 70.056338] 0000000000000000 0000000000000002 ffff880200000000 0000000000000003 Feb 14 02:05:52 lupus kernel: [ 70.056630] ffffea0007dd39f0 ffffffff810e6aaa ffff880200000041 0000000600000246 Feb 14 02:05:52 lupus kernel: [ 70.056922] ffff88023cdcd300 ffffffff810e6b3a 0000000000000001 ffffffff8132bb7c Feb 14 02:05:52 lupus kernel: [ 70.057213] Call Trace: Feb 14 02:05:52 lupus kernel: [ 70.057301] [<ffffffff810e6aaa>] ? cleancache_get_key+0x4a/0x60 Feb 14 02:05:52 lupus kernel: [ 70.057393] [<ffffffff810e6b3a>] ? __cleancache_get_page+0x7a/0xd0 Feb 14 02:05:52 lupus kernel: [ 70.057487] [<ffffffff8132bb7c>] ? merge_state+0x7c/0x150 Feb 14 02:05:52 lupus kernel: [ 70.057579] [<ffffffff8132e4de>] ? __extent_read_full_page+0x52e/0x710 Feb 14 02:05:52 lupus kernel: [ 70.057673] [<ffffffff813bdea4>] ? rb_insert_color+0xa4/0x140 Feb 14 02:05:52 lupus kernel: [ 70.057766] [<ffffffff8134b0b6>] ? tree_insert+0x86/0x1e0 Feb 14 02:05:52 lupus kernel: [ 70.057859] [<ffffffff81058c73>] ? lock_timer_base.clone.22+0x33/0x70 Feb 14 02:05:52 lupus kernel: [ 70.058004] [<ffffffff81305060>] ? btree_get_extent+0x0/0x1c0 Feb 14 02:05:52 lupus kernel: [ 70.058097] [<ffffffff81330b21>] ? read_extent_buffer_pages+0x2d1/0x470 Feb 14 02:05:52 lupus kernel: [ 70.058191] [<ffffffff81305060>] ? btree_get_extent+0x0/0x1c0 Feb 14 02:05:52 lupus kernel: [ 70.058283] [<ffffffff8130674d>] ? btree_read_extent_buffer_pages.clone.65+0x4d/0xa0 Feb 14 02:05:52 lupus kernel: [ 70.058415] [<ffffffff813076f9>] ? read_tree_block+0x39/0x60 Feb 14 02:05:52 lupus kernel: [ 70.058508] [<ffffffff812ed5e6>] ? read_block_for_search.clone.40+0x116/0x410 Feb 14 02:05:52 lupus kernel: [ 70.058638] [<ffffffff812eb228>] ? btrfs_cow_block+0x118/0x2b0 Feb 14 02:05:52 lupus kernel: [ 70.058731] [<ffffffff812f0bc7>] ? btrfs_search_slot+0x307/0xa00 Feb 14 02:05:52 lupus kernel: [ 70.058823] [<ffffffff812f6b18>] ? lookup_inline_extent_backref+0x98/0x4a0 Feb 14 02:05:52 lupus kernel: [ 70.058919] [<ffffffff810e33d7>] ? kmem_cache_alloc+0x87/0xa0 Feb 14 02:05:52 lupus kernel: [ 70.059032] [<ffffffff812f891c>] ? __btrfs_free_extent+0xcc/0x6f0 Feb 14 02:05:52 lupus kernel: [ 70.059125] [<ffffffff812fc4cf>] ? run_clustered_refs+0x39f/0x880 Feb 14 02:05:52 lupus kernel: [ 70.059220] [<ffffffff810b1f98>] ? pagevec_lookup_tag+0x18/0x20 Feb 14 02:05:52 lupus kernel: [ 70.059312] [<ffffffff810a7c81>] ? filemap_fdatawait_range+0x91/0x180 Feb 14 02:05:52 lupus kernel: [ 70.059405] [<ffffffff812fca77>] ? btrfs_run_delayed_refs+0xc7/0x220 Feb 14 02:05:52 lupus kernel: [ 70.059498] [<ffffffff8130c29c>] ? btrfs_commit_transaction+0x7c/0x760 Feb 14 02:05:52 lupus kernel: [ 70.059591] [<ffffffff81067ea0>] ? autoremove_wake_function+0x0/0x30 Feb 14 02:05:52 lupus kernel: [ 70.059683] [<ffffffff8130cdef>] ? start_transaction+0x1bf/0x270 Feb 14 02:05:52 lupus kernel: [ 70.059775] [<ffffffff8110e96a>] ? __sync_filesystem+0x5a/0x90 Feb 14 02:05:52 lupus kernel: [ 70.059867] [<ffffffff810eae8d>] ? generic_shutdown_super+0x2d/0x100 Feb 14 02:05:52 lupus kernel: [ 70.059960] [<ffffffff810eafb9>] ? kill_anon_super+0x9/0x50 Feb 14 02:05:52 lupus kernel: [ 70.060051] [<ffffffff810eb266>] ? deactivate_locked_super+0x26/0x80 Feb 14 02:05:52 lupus kernel: [ 70.060144] [<ffffffff811043ea>] ? sys_umount+0x7a/0x390 Feb 14 02:05:52 lupus kernel: [ 70.060235] [<ffffffff810027bb>] ? system_call_fastpath+0x16/0x1b Feb 14 02:05:52 lupus kernel: [ 70.060325] Code: 55 b8 ff 00 00 00 53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00 00 85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00 00 48 89 06 84 c9 48 8b 85 68 fe ff ff Feb 14 02:05:52 lupus kernel: [ 70.063170] RIP [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:05:52 lupus kernel: [ 70.063302] RSP <ffff88023c77d6f8> Feb 14 02:05:52 lupus kernel: [ 70.063386] CR2: 0000030341ed0050 Feb 14 02:05:52 lupus kernel: [ 70.063528] ---[ end trace 3313552d105b1535 ]--- Feb 14 02:06:16 lupus kernel: [ 93.961960] BUG: unable to handle kernel paging request at 0000030341ed0050 Feb 14 02:06:16 lupus kernel: [ 93.962171] IP: [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:06:16 lupus kernel: [ 93.962307] PGD 0 Feb 14 02:06:16 lupus kernel: [ 93.962430] Oops: 0000 [#2] PREEMPT SMP Feb 14 02:06:16 lupus kernel: [ 93.962637] last sysfs file: /sys/devices/system/cpu/cpu7/cache/index2/shared_cpu_map Feb 14 02:06:16 lupus kernel: [ 93.962766] CPU 5 Feb 14 02:06:16 lupus kernel: [ 93.962812] Modules linked in:
ipt_REJECTipt_LOGxt_limitxt_tcpudpxt_statenf_nat_ircnf_conntrack_ircnf_nat_ftpnf_natnf_conntrack_ipv4nf_defrag_ipv4nf_conntrack_ftpiptable_filteript_addrtypext_DSCPxt_dscpxt_iprangeip_tablesip6table_filterxt_NFQUEUExt_ownerxt_hashlimitxt_conntrackxt_markxt_multiportxt_connmarknf_conntrackxt_stringip6_tablesx_tablesit87hwmon_vidcoretempsnd_seq_dummysnd_seq_osssnd_seq_midi_eventsnd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_osssnd_hda_codec_hdmisnd_hda_codec_realteksnd_hda_intelsnd_hda_codecsnd_hwdepsnd_pcmsnd_timersndi2c_i801soundcore wmi shpchp e1000esnd_page_alloclibphy e1000scsi_wait_scansl811_hcdohci_hcdssbusb_storageehci_hcd[last unloaded: tg3]Feb 14 02:06:16 lupus kernel: [ 93.966044] Feb 14 02:06:16 lupus kernel: [ 93.966127] Pid: 7915, comm: btrfs-transacti Tainted: G D 2.6.37-plus_v16_zcache #4 FMP55/ipower G3710 Feb 14 02:06:16 lupus kernel: [ 93.966266] RIP: 0010:[<ffffffff8133ef1b>] [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:06:16 lupus kernel: [ 93.966440] RSP: 0018:ffff88023c63b6e0 EFLAGS: 00010246 Feb 14 02:06:16 lupus kernel: [ 93.966528] RAX: 00000000000000ff RBX: ffff88023cde0168 RCX: 0000000000000000 Feb 14 02:06:16 lupus kernel: [ 93.966620] RDX: ffff88023c63b71c RSI: ffff88023c63b750 RDI: 0000000000000006 Feb 14 02:06:16 lupus kernel: [ 93.966713] RBP: 0000030341ed0000 R08: ffffffff8133eef0 R09: ffff88023c63b8c0 Feb 14 02:06:16 lupus kernel: [ 93.966805] R10: 0000000000000003 R11: 0000000000000001 R12: 00000000ffffffff Feb 14 02:06:16 lupus kernel: [ 93.966897] R13: ffff88023cde0030 R14: ffffea0007d59bc8 R15: 0000000000000001 Feb 14 02:06:16 lupus kernel: [ 93.966990] FS: 0000000000000000(0000) GS:ffff8800bf540000(0000) knlGS:0000000000000000 Feb 14 02:06:16 lupus kernel: [ 93.967120] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b Feb 14 02:06:16 lupus kernel: [ 93.967209] CR2: 0000030341ed0050 CR3: 0000000001c27000 CR4: 00000000000006e0 Feb 14 02:06:16 lupus kernel: [ 93.967302] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 02:06:16 lupus kernel: [ 93.967394] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 02:06:16 lupus kernel: [ 93.967500] Process btrfs-transacti (pid: 7915, threadinfo ffff88023c63a000, task ffff88023c7a1620) Feb 14 02:06:16 lupus kernel: [ 93.967630] Stack: Feb 14 02:06:16 lupus kernel: [ 93.967711] 0000000000000000 0000000000000002 0000000000000000 0000000000000003 Feb 14 02:06:16 lupus kernel: [ 93.968057] ffffea0007d59bc8 ffffffff810e6aaa 0000000000000041 0000000600000002 Feb 14 02:06:16 lupus kernel: [ 93.968348] 0000000000000000 ffffffff810e6b3a 0000000000000001 ffffffff00000001 Feb 14 02:06:16 lupus kernel: [ 93.968639] Call Trace: Feb 14 02:06:16 lupus kernel: [ 93.968728] [<ffffffff810e6aaa>] ? cleancache_get_key+0x4a/0x60 Feb 14 02:06:16 lupus kernel: [ 93.968820] [<ffffffff810e6b3a>] ? __cleancache_get_page+0x7a/0xd0 Feb 14 02:06:16 lupus kernel: [ 93.968914] [<ffffffff8132e4de>] ? __extent_read_full_page+0x52e/0x710 Feb 14 02:06:16 lupus kernel: [ 93.969008] [<ffffffff812f3f93>] ? update_reserved_bytes+0xb3/0x140 Feb 14 02:06:16 lupus kernel: [ 93.969102] [<ffffffff81305060>] ? btree_get_extent+0x0/0x1c0 Feb 14 02:06:16 lupus kernel: [ 93.969193] [<ffffffff8132bb7c>] ? merge_state+0x7c/0x150 Feb 14 02:06:16 lupus kernel: [ 93.969285] [<ffffffff81330b21>] ? read_extent_buffer_pages+0x2d1/0x470 Feb 14 02:06:16 lupus kernel: [ 93.969378] [<ffffffff81305060>] ? btree_get_extent+0x0/0x1c0 Feb 14 02:06:16 lupus kernel: [ 93.969470] [<ffffffff8130674d>] ? btree_read_extent_buffer_pages.clone.65+0x4d/0xa0 Feb 14 02:06:16 lupus kernel: [ 93.969602] [<ffffffff813076f9>] ? read_tree_block+0x39/0x60 Feb 14 02:06:16 lupus kernel: [ 93.969694] [<ffffffff812ed5e6>] ? read_block_for_search.clone.40+0x116/0x410 Feb 14 02:06:16 lupus kernel: [ 93.969878] [<ffffffff812f0bc7>] ? btrfs_search_slot+0x307/0xa00 Feb 14 02:06:16 lupus kernel: [ 93.969970] [<ffffffff812f6b18>] ? lookup_inline_extent_backref+0x98/0x4a0 Feb 14 02:06:16 lupus kernel: [ 93.970065] [<ffffffff810e33d7>] ? kmem_cache_alloc+0x87/0xa0 Feb 14 02:06:16 lupus kernel: [ 93.970157] [<ffffffff812f891c>] ? __btrfs_free_extent+0xcc/0x6f0 Feb 14 02:06:16 lupus kernel: [ 93.970249] [<ffffffff812f8434>] ? update_block_group.clone.62+0xc4/0x280 Feb 14 02:06:16 lupus kernel: [ 93.970343] [<ffffffff812fc4cf>] ? run_clustered_refs+0x39f/0x880 Feb 14 02:06:16 lupus kernel: [ 93.970436] [<ffffffff812fca77>] ? btrfs_run_delayed_refs+0xc7/0x220 Feb 14 02:06:16 lupus kernel: [ 93.970529] [<ffffffff810e15f9>] ? new_slab+0x169/0x1f0 Feb 14 02:06:16 lupus kernel: [ 93.970619] [<ffffffff8130c29c>] ? btrfs_commit_transaction+0x7c/0x760 Feb 14 02:06:16 lupus kernel: [ 93.970713] [<ffffffff81067ea0>] ? autoremove_wake_function+0x0/0x30 Feb 14 02:06:16 lupus kernel: [ 93.970806] [<ffffffff81305bc3>] ? transaction_kthread+0x283/0x2a0 Feb 14 02:06:16 lupus kernel: [ 93.970898] [<ffffffff81305940>] ? transaction_kthread+0x0/0x2a0 Feb 14 02:06:16 lupus kernel: [ 93.970990] [<ffffffff81305940>] ? transaction_kthread+0x0/0x2a0 Feb 14 02:06:16 lupus kernel: [ 93.971083] [<ffffffff81067a16>] ? kthread+0x96/0xa0 Feb 14 02:06:16 lupus kernel: [ 93.971174] [<ffffffff81003514>] ? kernel_thread_helper+0x4/0x10 Feb 14 02:06:16 lupus kernel: [ 93.971266] [<ffffffff81067980>] ? kthread+0x0/0xa0 Feb 14 02:06:16 lupus kernel: [ 93.971355] [<ffffffff81003510>] ? kernel_thread_helper+0x0/0x10 Feb 14 02:06:16 lupus kernel: [ 93.971444] Code: 55 b8 ff 00 00 00 53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00 00 85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00 00 48 89 06 84 c9 48 8b 85 68 fe ff ff Feb 14 02:06:16 lupus kernel: [ 93.974280] RIP [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:06:16 lupus kernel: [ 93.974412] RSP <ffff88023c63b6e0> Feb 14 02:06:16 lupus kernel: [ 93.974497] CR2: 0000030341ed0050 Feb 14 02:06:16 lupus kernel: [ 93.974599] ---[ end trace 3313552d105b1536 ]--- Feb 14 02:07:04 lupus kernel: [ 141.906124] zcache: destroyed pool id=2 Feb 14 02:07:17 lupus kernel: [ 154.783358] SysRq : Keyboard mode set to system default Feb 14 02:07:18 lupus kernel: [ 155.486147] SysRq : Terminate All Tasks
Quoted 6 lines
That's all for now
Thanks & Regards
Matt
(leaving out several folks from the CC to avoid spamming - if I left out someone wrongfully please re-add)
running an addr2line reveals:
addr2line -e /usr/src/linux-2.6.37_vanilla/vmlinux -i ffffffff81338cbb export.c:0
hope that helps
Regards
Matt
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 657 lines · Matt
Quoted 639 lines · Matt
Quoted 188 lines · Matt
On Wed, Feb 9, 2011 at 1:03 AM, Dan Magenheimer
<[email protected]> wrote:
[snip]Quoted 6 lines
If I've missed anything important, please let me know!
Thanks again!
DanHi Dan,
thank you so much for answering my email in such detail !
I shall pick up on that mail in my next email sending to the mailing list :)
currently I've got a problem with btrfs which seems to get triggered by cleancache get-operations:
Feb 14 00:37:19 lupus kernel: [ 2831.297377] device fsid 354120c992a00761-5fa07d400126a895 devid 1 transid 7 /dev/mapper/portage Feb 14 00:37:19 lupus kernel: [ 2831.297698] btrfs: enabling disk space caching Feb 14 00:37:19 lupus kernel: [ 2831.297700] btrfs: force lzo compression Feb 14 00:37:19 lupus kernel: [ 2831.315844] zcache: created ephemeral tmem pool, id=3 Feb 14 00:39:20 lupus kernel: [ 2951.853188] BUG: unable to handle kernel paging request at 0000000001400050 Feb 14 00:39:20 lupus kernel: [ 2951.853219] IP: [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 00:39:20 lupus kernel: [ 2951.853242] PGD 0 Feb 14 00:39:20 lupus kernel: [ 2951.853251] Oops: 0000 [#1] PREEMPT SMP Feb 14 00:39:20 lupus kernel: [ 2951.853275] last sysfs file: /sys/devices/platform/coretemp.3/temp1_input Feb 14 00:39:20 lupus kernel: [ 2951.853295] CPU 4 Feb 14 00:39:20 lupus kernel: [ 2951.853303] Modules linked in: radeonttm
drm_kms_helpercfbcopyarea cfbimgblt cfbfillrectipt_REJECTipt_LOGxt_limitxt_tcpudpxt_statenf_nat_ircnf_conntrack_ircnf_nat_ftpnf_natnf_conntrack_ipv4nf_defrag_ipv4nf_conntrack_ftpiptable_filteript_addrtypext_DSCPxt_dscpxt_iprangeip_tablesip6table_filterxt_NFQUEUExt_ownerxt_hashlimitxt_conntrackxt_markxt_multiportxt_connmarknf_conntrackxt_stringip6_tablesx_tablesit87hwmon_vidcoretempsnd_seq_dummysnd_seq_osssnd_seq_midi_eventsnd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_osssnd_hda_codec_hdmisnd_hda_codec_realteksnd_hda_intelsnd_hda_codecsnd_hwdepsnd_pcmsnd_timersnd soundcorei2c_i801wmi e1000e shpchpsnd_page_alloclibphy e1000scsi_wait_scansl811_hcdohci_hcdssbusb_storageehci_hcd[last unloaded: tg3]Feb 14 00:39:20 lupus kernel: [ 2951.853682] Feb 14 00:39:20 lupus kernel: [ 2951.853690] Pid: 11394, comm: btrfs-transacti Not tainted 2.6.37-plus_v16_zcache #4 FMP55/ipower G3710 Feb 14 00:39:20 lupus kernel: [ 2951.853725] RIP: 0010:[<ffffffff8133ef1b>] [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 00:39:20 lupus kernel: [ 2951.853751] RSP: 0018:ffff880129a11b00 EFLAGS: 00010246 Feb 14 00:39:20 lupus kernel: [ 2951.853767] RAX: 00000000000000ff RBX: ffff88014a1ce628 RCX: 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853788] RDX: ffff880129a11b3c RSI: ffff880129a11b70 RDI: 0000000000000006 Feb 14 00:39:20 lupus kernel: [ 2951.853808] RBP: 0000000001400000 R08: ffffffff8133eef0 R09: ffff880129a11c68 Feb 14 00:39:20 lupus kernel: [ 2951.853829] R10: 0000000000000001 R11: 0000000000000001 R12: ffff88014a1ce780 Feb 14 00:39:20 lupus kernel: [ 2951.853849] R13: ffff88021fefc000 R14: ffff88021fef9000 R15: 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853870] FS: 0000000000000000(0000) GS:ffff8800bf500000(0000) knlGS:0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853894] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b Feb 14 00:39:20 lupus kernel: [ 2951.853911] CR2: 0000000001400050 CR3: 0000000001c27000 CR4: 00000000000006e0 Feb 14 00:39:20 lupus kernel: [ 2951.853932] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853952] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 00:39:20 lupus kernel: [ 2951.853973] Process btrfs-transacti (pid: 11394, threadinfo ffff880129a10000, task ffff880202e4ac40) Feb 14 00:39:20 lupus kernel: [ 2951.853999] Stack: Feb 14 00:39:20 lupus kernel: [ 2951.854006] ffff880129a11b50 ffff880000000003 ffff88003c60a098 0000000000000003 Feb 14 00:39:20 lupus kernel: [ 2951.854035] ffffffffffffffff ffffffff810e6aaa 0000000000000000 0000000602e4ac40 Feb 14 00:39:20 lupus kernel: [ 2951.854063] ffffffff8133e3f0 ffffffff810e6cee 0000000000001000 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.854092] Call Trace: Feb 14 00:39:20 lupus kernel: [ 2951.854103] [<ffffffff810e6aaa>] ? cleancache_get_key+0x4a/0x60 Feb 14 00:39:20 lupus kernel: [ 2951.854122] [<ffffffff8133e3f0>] ? btrfs_wake_function+0x0/0x20 Feb 14 00:39:20 lupus kernel: [ 2951.854140] [<ffffffff810e6cee>] ? __cleancache_flush_inode+0x3e/0x70 Feb 14 00:39:20 lupus kernel: [ 2951.854161] [<ffffffff810b34d2>] ? truncate_inode_pages_range+0x42/0x440 Feb 14 00:39:20 lupus kernel: [ 2951.854182] [<ffffffff812f115e>] ? btrfs_search_slot+0x89e/0xa00 Feb 14 00:39:20 lupus kernel: [ 2951.854201] [<ffffffff810c3a45>] ? unmap_mapping_range+0xc5/0x2a0 Feb 14 00:39:20 lupus kernel: [ 2951.854220] [<ffffffff810b3930>] ? truncate_pagecache+0x40/0x70 Feb 14 00:39:20 lupus kernel: [ 2951.854240] [<ffffffff813458b1>] ? btrfs_truncate_free_space_cache+0x81/0xe0 Feb 14 00:39:20 lupus kernel: [ 2951.854261] [<ffffffff812fce15>] ? btrfs_write_dirty_block_groups+0x245/0x500 Feb 14 00:39:20 lupus kernel: [ 2951.854283] [<ffffffff812fcb6a>] ? btrfs_run_delayed_refs+0x1ba/0x220 Feb 14 00:39:20 lupus kernel: [ 2951.854304] [<ffffffff8130afff>] ? commit_cowonly_roots+0xff/0x1d0 Feb 14 00:39:20 lupus kernel: [ 2951.854323] [<ffffffff8130c583>] ? btrfs_commit_transaction+0x363/0x760 Feb 14 00:39:20 lupus kernel: [ 2951.854344] [<ffffffff81067ea0>] ? autoremove_wake_function+0x0/0x30 Feb 14 00:39:20 lupus kernel: [ 2951.854364] [<ffffffff81305bc3>] ? transaction_kthread+0x283/0x2a0 Feb 14 00:39:20 lupus kernel: [ 2951.854383] [<ffffffff81305940>] ? transaction_kthread+0x0/0x2a0 Feb 14 00:39:20 lupus kernel: [ 2951.854401] [<ffffffff81305940>] ? transaction_kthread+0x0/0x2a0 Feb 14 00:39:20 lupus kernel: [ 2951.854420] [<ffffffff81067a16>] ? kthread+0x96/0xa0 Feb 14 00:39:20 lupus kernel: [ 2951.854437] [<ffffffff81003514>] ? kernel_thread_helper+0x4/0x10 Feb 14 00:39:20 lupus kernel: [ 2951.854455] [<ffffffff81067980>] ? kthread+0x0/0xa0 Feb 14 00:39:20 lupus kernel: [ 2951.854471] [<ffffffff81003510>] ? kernel_thread_helper+0x0/0x10 Feb 14 00:39:20 lupus kernel: [ 2951.854488] Code: 55 b8 ff 00 00 00 53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00 00 85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00 00 48 89 06 84 c9 48 8b 85 68 fe ff ff Feb 14 00:39:20 lupus kernel: [ 2951.854742] RIP [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 00:39:20 lupus kernel: [ 2951.854762] RSP <ffff880129a11b00> Feb 14 00:39:20 lupus kernel: [ 2951.854773] CR2: 0000000001400050 Feb 14 00:39:20 lupus kernel: [ 2951.860906] ---[ end trace
f831c5ceeaa49287]---in my case I had compress-force with lzo and
disk_cacheenabledanother user of the kernel I'm currently running has had the same problem with zcache
(http://forums.gentoo.org/viewtopic-p-6571799.html#6571799)(looks like in his case compression and any other fancy additional features weren't enabled)
changes made by this kernel or patchset to btrfs are from
* io-less dirty throttling patchset (44 patches)
* zcache V2 ("[PATCH] staging: zcache: fix memory leak" should be applied in both cases)
* PATCH] fix (latent?) memory corruption inbtrfs_encode_fh()
* btrfs-unstable changes to state of3a90983dbdcb2f4f48c0d771d8e5b4d88f27fae6(so practically equals btrfs from 2.6.38-rc4+)I haven't tried downgrading to vanilla 2.6.37 with zcache only, yet,
but kind of upgraded btrfs to the latest state of the btrfs-unstable repository (http://git.eu.kernel.org/?p=linux/kernel/git/mason/btrfs-unstable.git;a=summary)
namely3a90983dbdcb2f4f48c0d771d8e5b4d88f27fae6this also didn't help and seemed to produce the same error-message
so to summarize:
1) error message appearing with all 4 patchsets applied changing btrfs-code and compress-force=lzo and
disk_cacheenabled2) error message appearing with default mount-options and btrfs from 2.6.37 and changes for zcache & io-less dirty throttling patchset applied (first 2 patch(sets)) from list)
in my case I tried to extract / play back a 1.7 GiB tarball of my portage-directory (lots of small files and some tar.bzip2 archives) via pbzip2 or 7z when the error happened and the message was shown
Due to KMS sound (webradio streaming) was still running but I couldn't continue work (X switching to kernel output) so I did the magic sysrq combo (reisub)
Quoted 9 lines
Does that BUG message ring a bell for anyone ?
(if I should leave out anyone from the CC in the next emails or future, please holler - I don't want to spam your inboxes)
Thanks
Matt
OK,
here's the output of a kernel -
staying as close to vanilla (2.6.37) as the current situation allows (only including some corruption or leak fixes for zram & zcache and "
zram_xvmalloc: 64K page fixes and optimizations" (and 2 reiserfs fixes)):so in total the following patches are included in this new kernel (2.6.37-zcache):
zram changes:
1 zram: Fix sparse warning 'Using plain integer as NULL pointer' 2 [PATCH] zram: fix data corruption issue
3 [PATCH 0/7][v2]zram_xvmalloc: 64K page fixes and optimizationszcache:
1 zcache-linux-2.6.37-110205
2 [PATCH] staging: zcache: fix memory leak
3 [PATCH] zcache: Fix build error when sysfs is not definedreiserfs:
1 [PATCH] reiserfs: Make sureva_end()is always called after 2 [patch] reiserfs: potentialERR_PTRdereferencethe same procedure:
trying to extract the mentioned portage-tarball:
time (7z e -so -tbzip2 -mmt=5 /system/portage_backup_022011.tbz2 | tar -xp -C
/usr/gentoo/)this hopefully should make it easier to track down the problem:
Feb 14 01:59:59 lupus kernel: [ 364.777143] device fsid 684a4213565dd3fe-ca991821badc2aac devid 1 transid 7 /dev/mapper/portage Feb 14 01:59:59 lupus kernel: [ 364.844994] zcache: created ephemeral tmem pool, id=2 Feb 14 02:02:49 lupus kernel: [ 534.577573] BUG: unable to handle kernel paging request at 0000000037610050 Feb 14 02:02:49 lupus kernel: [ 534.577605] IP: [<ffffffff81338cbb>] btrfs_encode_fh+0x2b/0x110 Feb 14 02:02:49 lupus kernel: [ 534.577630] PGD 0 Feb 14 02:02:49 lupus kernel: [ 534.577640] Oops: 0000 [#1] PREEMPT SMP Feb 14 02:02:49 lupus kernel: [ 534.577665] last sysfs file: /sys/devices/system/cpu/cpu7/cache/index2/shared_cpu_map Feb 14 02:02:49 lupus kernel: [ 534.577693] CPU 5 Feb 14 02:02:49 lupus kernel: [ 534.577701] Modules linked in: radeonttm
drm_kms_helpercfbcopyarea cfbimgblt cfbfillrectipt_REJECTipt_LOGxt_limitxt_tcpudpxt_statenf_nat_ircnf_conntrack_ircnf_nat_ftpnf_natnf_conntrack_ipv4nf_defrag_ipv4nf_conntrack_ftpiptable_filteript_addrtypext_DSCPxt_dscpxt_iprangeip_tablesip6table_filterxt_NFQUEUExt_ownerxt_hashlimitxt_conntrackxt_markxt_multiportxt_connmarknf_conntrackxt_stringip6_tablesx_tablesit87hwmon_vidcoretempsnd_seq_dummysnd_seq_osssnd_seq_midi_eventsnd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_osssnd_hda_codec_hdmisnd_hda_codec_realteksnd_hda_intelsnd_hda_codecsnd_hwdepsnd_pcmsnd_timersnd e1000e soundcorei2c_i801shpchpsnd_page_allocwmi libphy e1000scsi_wait_scansl811_hcdohci_hcdssbusb_storageehci_hcd[last unloaded: tg3]Feb 14 02:02:49 lupus kernel: [ 534.578114] Feb 14 02:02:49 lupus kernel: [ 534.578124] Pid: 8285, comm: tar Not tainted 2.6.37-zcache #2 FMP55/ipower G3710 Feb 14 02:02:49 lupus kernel: [ 534.578146] RIP: 0010:[<ffffffff81338cbb>] [<ffffffff81338cbb>] btrfs_encode_fh+0x2b/0x110 Feb 14 02:02:49 lupus kernel: [ 534.578172] RSP: 0018:ffff88023ea9dcc8 EFLAGS: 00010246 Feb 14 02:02:49 lupus kernel: [ 534.578189] RAX: 00000000000000ff RBX: ffff8800b8643228 RCX: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ 534.578210] RDX: ffff88023ea9dd04 RSI: ffff88023ea9dd38 RDI: 0000000000000006 Feb 14 02:02:49 lupus kernel: [ 534.578230] RBP: 0000000037610000 R08: ffffffff81338c90 R09: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ 534.578251] R10: 0000000000000019 R11: 0000000000000001 R12: ffff8800b8643380 Feb 14 02:02:49 lupus kernel: [ 534.578272] R13: ffff8800b8643258 R14: 00007fff806f1f00 R15: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ 534.578293] FS: 00007f823d7ed700(0000) GS:ffff8800bf540000(0000) knlGS:0000000000000000 Feb 14 02:02:49 lupus kernel: [ 534.578317] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Feb 14 02:02:49 lupus kernel: [ 534.578334] CR2: 0000000037610050 CR3: 000000023dcef000 CR4: 00000000000006e0 Feb 14 02:02:49 lupus kernel: [ 534.578356] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ 534.578377] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 02:02:49 lupus kernel: [ 534.578398] Process tar (pid: 8285, threadinfo ffff88023ea9c000, task ffff88023e8b9d40) Feb 14 02:02:49 lupus kernel: [ 534.578421] Stack: Feb 14 02:02:49 lupus kernel: [ 534.578428] 000000013d096000 ffff88023ed84800 ffff88023ea9c000 0000000000000002 Feb 14 02:02:49 lupus kernel: [ 534.578458] ffffffffffffffff ffffffff810e3b1a 0000000000000001 000000061e1d5240 Feb 14 02:02:49 lupus kernel: [ 534.578486] fffffffffffffffb ffffffff810e3d5e ffff88010f383000 0000001ab86cb908 Feb 14 02:02:49 lupus kernel: [ 534.578514] Call Trace: Feb 14 02:02:49 lupus kernel: [ 534.578525] [<ffffffff810e3b1a>] ? cleancache_get_key+0x4a/0x60 Feb 14 02:02:49 lupus kernel: [ 534.578544] [<ffffffff810e3d5e>] ? __cleancache_flush_inode+0x3e/0x70 Feb 14 02:02:49 lupus kernel: [ 534.578565] [<ffffffff810b0ed2>] ? truncate_inode_pages_range+0x42/0x440 Feb 14 02:02:49 lupus kernel: [ 534.578586] [<ffffffff81338451>] ? btrfs_tree_unlock+0x41/0x50 Feb 14 02:02:49 lupus kernel: [ 534.578605] [<ffffffff812e4ed5>] ? btrfs_release_path+0x15/0x70 Feb 14 02:02:49 lupus kernel: [ 534.578624] [<ffffffff8130bf29>] ? btrfs_run_delayed_iputs+0x49/0x120 Feb 14 02:02:49 lupus kernel: [ 534.578644] [<ffffffff813107e7>] ? btrfs_evict_inode+0x27/0x1e0 Feb 14 02:02:49 lupus kernel: [ 534.578663] [<ffffffff810fc3aa>] ? evict+0x1a/0xa0 Feb 14 02:02:49 lupus kernel: [ 534.578678] [<ffffffff810fc6bd>] ? iput+0x1cd/0x2b0 Feb 14 02:02:49 lupus kernel: [ 534.578694] [<ffffffff810f266f>] ? do_unlinkat+0x12f/0x1d0 Feb 14 02:02:49 lupus kernel: [ 534.578712] [<ffffffff810027bb>] ? system_call_fastpath+0x16/0x1b Feb 14 02:02:49 lupus kernel: [ 534.578730] Code: 55 b8 ff 00 00 00 53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00 00 85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00 00 48 89 06 84 c9 48 8b 85 68 fe ff ff Feb 14 02:02:49 lupus kernel: [ 534.578986] RIP [<ffffffff81338cbb>] btrfs_encode_fh+0x2b/0x110 Feb 14 02:02:49 lupus kernel: [ 534.579081] RSP <ffff88023ea9dcc8> Feb 14 02:02:49 lupus kernel: [ 534.579093] CR2: 0000000037610050 Feb 14 02:02:49 lupus kernel: [ 534.587513] ---[ end trace
c596b12e66c0b360]---for reference I've pasted it to pastebin.com:
"2.6.37_zcache_V2.patch"
http://pastebin.com/cVSkwQ6Mafter the reboot I had forgotten to not mount the btrfs volume and it threw a similar error-message again and remounted several partitions read-only (including the system partition)
the partition with btrfs (/usr/gentoo) couldn't be unmounted since the umount process kind of hangso here's the error message after a reboot (might not be accurate or kind of "skewed" since other patches are included (io-less dirty throttling, PATCH] fix (latent?) memory corruption in
btrfs_encode_fh()and latest changes for btrfs)) but might help to get some more evidence:Feb 14 02:05:46 lupus kernel: [ 63.922648] device fsid 684a4213565dd3fe-ca991821badc2aac devid 1 transid 13 /dev/mapper/portage Feb 14 02:05:46 lupus kernel: [ 64.047118] btrfs: unlinked 1 orphans Feb 14 02:05:46 lupus kernel: [ 64.051956] zcache: created ephemeral tmem pool, id=3 Feb 14 02:05:48 lupus kernel: [ 65.801364] hub 2-1:1.0: hub_suspend Feb 14 02:05:48 lupus kernel: [ 65.801376] usb 2-1: unlink qh256-0001/ffff88023fefd180 start 1 [1/0 us] Feb 14 02:05:48 lupus kernel: [ 65.801559] usb 2-1: usb auto-suspend Feb 14 02:05:50 lupus kernel: [ 67.797929] hub 2-0:1.0: hub_suspend Feb 14 02:05:50 lupus kernel: [ 67.797939] usb usb2: bus auto-suspend Feb 14 02:05:50 lupus kernel: [ 67.797942] ehci_hcd 0000:00:1d.0: suspend root hub Feb 14 02:05:52 lupus kernel: [ 70.050493] BUG: unable to handle kernel paging request at 0000030341ed0050 Feb 14 02:05:52 lupus kernel: [ 70.050670] IP: [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:05:52 lupus kernel: [ 70.050807] PGD 0 Feb 14 02:05:52 lupus kernel: [ 70.050929] Oops: 0000 [#1] PREEMPT SMP Feb 14 02:05:52 lupus kernel: [ 70.051223] last sysfs file: /sys/module/pcie_aspm/parameters/policy Feb 14 02:05:52 lupus kernel: [ 70.051365] CPU 6 Feb 14 02:05:52 lupus kernel: [ 70.051411] Modules linked in:
ipt_REJECTipt_LOGxt_limitxt_tcpudpxt_statenf_nat_ircnf_conntrack_ircnf_nat_ftpnf_natnf_conntrack_ipv4nf_defrag_ipv4nf_conntrack_ftpiptable_filteript_addrtypext_DSCPxt_dscpxt_iprangeip_tablesip6table_filterxt_NFQUEUExt_ownerxt_hashlimitxt_conntrackxt_markxt_multiportxt_connmarknf_conntrackxt_stringip6_tablesx_tablesit87hwmon_vidcoretempsnd_seq_dummysnd_seq_osssnd_seq_midi_eventsnd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_osssnd_hda_codec_hdmisnd_hda_codec_realteksnd_hda_intelsnd_hda_codecsnd_hwdepsnd_pcmsnd_timersndi2c_i801soundcore wmi shpchp e1000esnd_page_alloclibphy e1000scsi_wait_scansl811_hcdohci_hcdssbusb_storageehci_hcd[last unloaded: tg3]Feb 14 02:05:52 lupus kernel: [ 70.054694] Feb 14 02:05:52 lupus kernel: [ 70.054776] Pid: 7962, comm: umount Not tainted 2.6.37-plus_v16_zcache #4 FMP55/ipower G3710 Feb 14 02:05:52 lupus kernel: [ 70.054912] RIP: 0010:[<ffffffff8133ef1b>] [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:05:52 lupus kernel: [ 70.055084] RSP: 0018:ffff88023c77d6f8 EFLAGS: 00010246 Feb 14 02:05:52 lupus kernel: [ 70.055173] RAX: 00000000000000ff RBX: ffff88023cde0168 RCX: 0000000000000000 Feb 14 02:05:52 lupus kernel: [ 70.055265] RDX: ffff88023c77d734 RSI: ffff88023c77d768 RDI: 0000000000000006 Feb 14 02:05:52 lupus kernel: [ 70.055357] RBP: 0000030341ed0000 R08: ffffffff8133eef0 R09: ffff88023c77d8d8 Feb 14 02:05:52 lupus kernel: [ 70.055448] R10: 0000000000000003 R11: 0000000000000001 R12: 00000000ffffffff Feb 14 02:05:52 lupus kernel: [ 70.055540] R13: ffff88023cde0030 R14: ffffea0007dd39f0 R15: 0000000000000001 Feb 14 02:05:52 lupus kernel: [ 70.055633] FS: 00007fb1cad04760(0000) GS:ffff8800bf580000(0000) knlGS:0000000000000000 Feb 14 02:05:52 lupus kernel: [ 70.055762] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b Feb 14 02:05:52 lupus kernel: [ 70.055851] CR2: 0000030341ed0050 CR3: 000000023c7d5000 CR4: 00000000000006e0 Feb 14 02:05:52 lupus kernel: [ 70.055943] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 02:05:52 lupus kernel: [ 70.056035] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 02:05:52 lupus kernel: [ 70.056128] Process umount (pid: 7962, threadinfo ffff88023c77c000, task ffff88023c7a4260) Feb 14 02:05:52 lupus kernel: [ 70.056257] Stack: Feb 14 02:05:52 lupus kernel: [ 70.056338] 0000000000000000 0000000000000002 ffff880200000000 0000000000000003 Feb 14 02:05:52 lupus kernel: [ 70.056630] ffffea0007dd39f0 ffffffff810e6aaa ffff880200000041 0000000600000246 Feb 14 02:05:52 lupus kernel: [ 70.056922] ffff88023cdcd300 ffffffff810e6b3a 0000000000000001 ffffffff8132bb7c Feb 14 02:05:52 lupus kernel: [ 70.057213] Call Trace: Feb 14 02:05:52 lupus kernel: [ 70.057301] [<ffffffff810e6aaa>] ? cleancache_get_key+0x4a/0x60 Feb 14 02:05:52 lupus kernel: [ 70.057393] [<ffffffff810e6b3a>] ? __cleancache_get_page+0x7a/0xd0 Feb 14 02:05:52 lupus kernel: [ 70.057487] [<ffffffff8132bb7c>] ? merge_state+0x7c/0x150 Feb 14 02:05:52 lupus kernel: [ 70.057579] [<ffffffff8132e4de>] ? __extent_read_full_page+0x52e/0x710 Feb 14 02:05:52 lupus kernel: [ 70.057673] [<ffffffff813bdea4>] ? rb_insert_color+0xa4/0x140 Feb 14 02:05:52 lupus kernel: [ 70.057766] [<ffffffff8134b0b6>] ? tree_insert+0x86/0x1e0 Feb 14 02:05:52 lupus kernel: [ 70.057859] [<ffffffff81058c73>] ? lock_timer_base.clone.22+0x33/0x70 Feb 14 02:05:52 lupus kernel: [ 70.058004] [<ffffffff81305060>] ? btree_get_extent+0x0/0x1c0 Feb 14 02:05:52 lupus kernel: [ 70.058097] [<ffffffff81330b21>] ? read_extent_buffer_pages+0x2d1/0x470 Feb 14 02:05:52 lupus kernel: [ 70.058191] [<ffffffff81305060>] ? btree_get_extent+0x0/0x1c0 Feb 14 02:05:52 lupus kernel: [ 70.058283] [<ffffffff8130674d>] ? btree_read_extent_buffer_pages.clone.65+0x4d/0xa0 Feb 14 02:05:52 lupus kernel: [ 70.058415] [<ffffffff813076f9>] ? read_tree_block+0x39/0x60 Feb 14 02:05:52 lupus kernel: [ 70.058508] [<ffffffff812ed5e6>] ? read_block_for_search.clone.40+0x116/0x410 Feb 14 02:05:52 lupus kernel: [ 70.058638] [<ffffffff812eb228>] ? btrfs_cow_block+0x118/0x2b0 Feb 14 02:05:52 lupus kernel: [ 70.058731] [<ffffffff812f0bc7>] ? btrfs_search_slot+0x307/0xa00 Feb 14 02:05:52 lupus kernel: [ 70.058823] [<ffffffff812f6b18>] ? lookup_inline_extent_backref+0x98/0x4a0 Feb 14 02:05:52 lupus kernel: [ 70.058919] [<ffffffff810e33d7>] ? kmem_cache_alloc+0x87/0xa0 Feb 14 02:05:52 lupus kernel: [ 70.059032] [<ffffffff812f891c>] ? __btrfs_free_extent+0xcc/0x6f0 Feb 14 02:05:52 lupus kernel: [ 70.059125] [<ffffffff812fc4cf>] ? run_clustered_refs+0x39f/0x880 Feb 14 02:05:52 lupus kernel: [ 70.059220] [<ffffffff810b1f98>] ? pagevec_lookup_tag+0x18/0x20 Feb 14 02:05:52 lupus kernel: [ 70.059312] [<ffffffff810a7c81>] ? filemap_fdatawait_range+0x91/0x180 Feb 14 02:05:52 lupus kernel: [ 70.059405] [<ffffffff812fca77>] ? btrfs_run_delayed_refs+0xc7/0x220 Feb 14 02:05:52 lupus kernel: [ 70.059498] [<ffffffff8130c29c>] ? btrfs_commit_transaction+0x7c/0x760 Feb 14 02:05:52 lupus kernel: [ 70.059591] [<ffffffff81067ea0>] ? autoremove_wake_function+0x0/0x30 Feb 14 02:05:52 lupus kernel: [ 70.059683] [<ffffffff8130cdef>] ? start_transaction+0x1bf/0x270 Feb 14 02:05:52 lupus kernel: [ 70.059775] [<ffffffff8110e96a>] ? __sync_filesystem+0x5a/0x90 Feb 14 02:05:52 lupus kernel: [ 70.059867] [<ffffffff810eae8d>] ? generic_shutdown_super+0x2d/0x100 Feb 14 02:05:52 lupus kernel: [ 70.059960] [<ffffffff810eafb9>] ? kill_anon_super+0x9/0x50 Feb 14 02:05:52 lupus kernel: [ 70.060051] [<ffffffff810eb266>] ? deactivate_locked_super+0x26/0x80 Feb 14 02:05:52 lupus kernel: [ 70.060144] [<ffffffff811043ea>] ? sys_umount+0x7a/0x390 Feb 14 02:05:52 lupus kernel: [ 70.060235] [<ffffffff810027bb>] ? system_call_fastpath+0x16/0x1b Feb 14 02:05:52 lupus kernel: [ 70.060325] Code: 55 b8 ff 00 00 00 53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00 00 85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00 00 48 89 06 84 c9 48 8b 85 68 fe ff ff Feb 14 02:05:52 lupus kernel: [ 70.063170] RIP [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:05:52 lupus kernel: [ 70.063302] RSP <ffff88023c77d6f8> Feb 14 02:05:52 lupus kernel: [ 70.063386] CR2: 0000030341ed0050 Feb 14 02:05:52 lupus kernel: [ 70.063528] ---[ end trace 3313552d105b1535 ]--- Feb 14 02:06:16 lupus kernel: [ 93.961960] BUG: unable to handle kernel paging request at 0000030341ed0050 Feb 14 02:06:16 lupus kernel: [ 93.962171] IP: [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:06:16 lupus kernel: [ 93.962307] PGD 0 Feb 14 02:06:16 lupus kernel: [ 93.962430] Oops: 0000 [#2] PREEMPT SMP Feb 14 02:06:16 lupus kernel: [ 93.962637] last sysfs file: /sys/devices/system/cpu/cpu7/cache/index2/shared_cpu_map Feb 14 02:06:16 lupus kernel: [ 93.962766] CPU 5 Feb 14 02:06:16 lupus kernel: [ 93.962812] Modules linked in:
ipt_REJECTipt_LOGxt_limitxt_tcpudpxt_statenf_nat_ircnf_conntrack_ircnf_nat_ftpnf_natnf_conntrack_ipv4nf_defrag_ipv4nf_conntrack_ftpiptable_filteript_addrtypext_DSCPxt_dscpxt_iprangeip_tablesip6table_filterxt_NFQUEUExt_ownerxt_hashlimitxt_conntrackxt_markxt_multiportxt_connmarknf_conntrackxt_stringip6_tablesx_tablesit87hwmon_vidcoretempsnd_seq_dummysnd_seq_osssnd_seq_midi_eventsnd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_osssnd_hda_codec_hdmisnd_hda_codec_realteksnd_hda_intelsnd_hda_codecsnd_hwdepsnd_pcmsnd_timersndi2c_i801soundcore wmi shpchp e1000esnd_page_alloclibphy e1000scsi_wait_scansl811_hcdohci_hcdssbusb_storageehci_hcd[last unloaded: tg3]Feb 14 02:06:16 lupus kernel: [ 93.966044] Feb 14 02:06:16 lupus kernel: [ 93.966127] Pid: 7915, comm: btrfs-transacti Tainted: G D 2.6.37-plus_v16_zcache #4 FMP55/ipower G3710 Feb 14 02:06:16 lupus kernel: [ 93.966266] RIP: 0010:[<ffffffff8133ef1b>] [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:06:16 lupus kernel: [ 93.966440] RSP: 0018:ffff88023c63b6e0 EFLAGS: 00010246 Feb 14 02:06:16 lupus kernel: [ 93.966528] RAX: 00000000000000ff RBX: ffff88023cde0168 RCX: 0000000000000000 Feb 14 02:06:16 lupus kernel: [ 93.966620] RDX: ffff88023c63b71c RSI: ffff88023c63b750 RDI: 0000000000000006 Feb 14 02:06:16 lupus kernel: [ 93.966713] RBP: 0000030341ed0000 R08: ffffffff8133eef0 R09: ffff88023c63b8c0 Feb 14 02:06:16 lupus kernel: [ 93.966805] R10: 0000000000000003 R11: 0000000000000001 R12: 00000000ffffffff Feb 14 02:06:16 lupus kernel: [ 93.966897] R13: ffff88023cde0030 R14: ffffea0007d59bc8 R15: 0000000000000001 Feb 14 02:06:16 lupus kernel: [ 93.966990] FS: 0000000000000000(0000) GS:ffff8800bf540000(0000) knlGS:0000000000000000 Feb 14 02:06:16 lupus kernel: [ 93.967120] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b Feb 14 02:06:16 lupus kernel: [ 93.967209] CR2: 0000030341ed0050 CR3: 0000000001c27000 CR4: 00000000000006e0 Feb 14 02:06:16 lupus kernel: [ 93.967302] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 02:06:16 lupus kernel: [ 93.967394] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 02:06:16 lupus kernel: [ 93.967500] Process btrfs-transacti (pid: 7915, threadinfo ffff88023c63a000, task ffff88023c7a1620) Feb 14 02:06:16 lupus kernel: [ 93.967630] Stack: Feb 14 02:06:16 lupus kernel: [ 93.967711] 0000000000000000 0000000000000002 0000000000000000 0000000000000003 Feb 14 02:06:16 lupus kernel: [ 93.968057] ffffea0007d59bc8 ffffffff810e6aaa 0000000000000041 0000000600000002 Feb 14 02:06:16 lupus kernel: [ 93.968348] 0000000000000000 ffffffff810e6b3a 0000000000000001 ffffffff00000001 Feb 14 02:06:16 lupus kernel: [ 93.968639] Call Trace: Feb 14 02:06:16 lupus kernel: [ 93.968728] [<ffffffff810e6aaa>] ? cleancache_get_key+0x4a/0x60 Feb 14 02:06:16 lupus kernel: [ 93.968820] [<ffffffff810e6b3a>] ? __cleancache_get_page+0x7a/0xd0 Feb 14 02:06:16 lupus kernel: [ 93.968914] [<ffffffff8132e4de>] ? __extent_read_full_page+0x52e/0x710 Feb 14 02:06:16 lupus kernel: [ 93.969008] [<ffffffff812f3f93>] ? update_reserved_bytes+0xb3/0x140 Feb 14 02:06:16 lupus kernel: [ 93.969102] [<ffffffff81305060>] ? btree_get_extent+0x0/0x1c0 Feb 14 02:06:16 lupus kernel: [ 93.969193] [<ffffffff8132bb7c>] ? merge_state+0x7c/0x150 Feb 14 02:06:16 lupus kernel: [ 93.969285] [<ffffffff81330b21>] ? read_extent_buffer_pages+0x2d1/0x470 Feb 14 02:06:16 lupus kernel: [ 93.969378] [<ffffffff81305060>] ? btree_get_extent+0x0/0x1c0 Feb 14 02:06:16 lupus kernel: [ 93.969470] [<ffffffff8130674d>] ? btree_read_extent_buffer_pages.clone.65+0x4d/0xa0 Feb 14 02:06:16 lupus kernel: [ 93.969602] [<ffffffff813076f9>] ? read_tree_block+0x39/0x60 Feb 14 02:06:16 lupus kernel: [ 93.969694] [<ffffffff812ed5e6>] ? read_block_for_search.clone.40+0x116/0x410 Feb 14 02:06:16 lupus kernel: [ 93.969878] [<ffffffff812f0bc7>] ? btrfs_search_slot+0x307/0xa00 Feb 14 02:06:16 lupus kernel: [ 93.969970] [<ffffffff812f6b18>] ? lookup_inline_extent_backref+0x98/0x4a0 Feb 14 02:06:16 lupus kernel: [ 93.970065] [<ffffffff810e33d7>] ? kmem_cache_alloc+0x87/0xa0 Feb 14 02:06:16 lupus kernel: [ 93.970157] [<ffffffff812f891c>] ? __btrfs_free_extent+0xcc/0x6f0 Feb 14 02:06:16 lupus kernel: [ 93.970249] [<ffffffff812f8434>] ? update_block_group.clone.62+0xc4/0x280 Feb 14 02:06:16 lupus kernel: [ 93.970343] [<ffffffff812fc4cf>] ? run_clustered_refs+0x39f/0x880 Feb 14 02:06:16 lupus kernel: [ 93.970436] [<ffffffff812fca77>] ? btrfs_run_delayed_refs+0xc7/0x220 Feb 14 02:06:16 lupus kernel: [ 93.970529] [<ffffffff810e15f9>] ? new_slab+0x169/0x1f0 Feb 14 02:06:16 lupus kernel: [ 93.970619] [<ffffffff8130c29c>] ? btrfs_commit_transaction+0x7c/0x760 Feb 14 02:06:16 lupus kernel: [ 93.970713] [<ffffffff81067ea0>] ? autoremove_wake_function+0x0/0x30 Feb 14 02:06:16 lupus kernel: [ 93.970806] [<ffffffff81305bc3>] ? transaction_kthread+0x283/0x2a0 Feb 14 02:06:16 lupus kernel: [ 93.970898] [<ffffffff81305940>] ? transaction_kthread+0x0/0x2a0 Feb 14 02:06:16 lupus kernel: [ 93.970990] [<ffffffff81305940>] ? transaction_kthread+0x0/0x2a0 Feb 14 02:06:16 lupus kernel: [ 93.971083] [<ffffffff81067a16>] ? kthread+0x96/0xa0 Feb 14 02:06:16 lupus kernel: [ 93.971174] [<ffffffff81003514>] ? kernel_thread_helper+0x4/0x10 Feb 14 02:06:16 lupus kernel: [ 93.971266] [<ffffffff81067980>] ? kthread+0x0/0xa0 Feb 14 02:06:16 lupus kernel: [ 93.971355] [<ffffffff81003510>] ? kernel_thread_helper+0x0/0x10 Feb 14 02:06:16 lupus kernel: [ 93.971444] Code: 55 b8 ff 00 00 00 53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00 00 85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00 00 48 89 06 84 c9 48 8b 85 68 fe ff ff Feb 14 02:06:16 lupus kernel: [ 93.974280] RIP [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:06:16 lupus kernel: [ 93.974412] RSP <ffff88023c63b6e0> Feb 14 02:06:16 lupus kernel: [ 93.974497] CR2: 0000030341ed0050 Feb 14 02:06:16 lupus kernel: [ 93.974599] ---[ end trace 3313552d105b1536 ]--- Feb 14 02:07:04 lupus kernel: [ 141.906124] zcache: destroyed pool id=2 Feb 14 02:07:17 lupus kernel: [ 154.783358] SysRq : Keyboard mode set to system default Feb 14 02:07:18 lupus kernel: [ 155.486147] SysRq : Terminate All TasksQuoted 6 lines
That's all for now
Thanks & Regards
Matt
(leaving out several folks from the CC to avoid spamming - if I left out someone wrongfully please re-add)
running an addr2line reveals:
addr2line -e
/usr/src/linux-2.6.37_vanilla/vmlinux-iffffffff81338cbbexport.c:0
Quoted 7 lines
hope that helps
Regards
Matt
Just my guessing. I might be wrong.
__cleancache_flush_inode calls cleancache_get_key with cleancache_filekey. cleancache_file_key's size is just 6 * u32.cleancache_get_key calls btrfs_encode_fh with the key.
but btrfs_encode_fh does typecasting the key to btrfs_fid which is bigger size than cleancache_filekey's one so it should not access fields beyond cleancache_get_key.
I think some file systems use extend fid so in there, this problem can happen. I don't know why we can't find it earlier. Maybe Dan and others test it for a long time.
Am I missing something?
Signature · 9 lines
Kind regards, Minchan Kim -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 13 lines · Minchan Kim
Quoted 12 lines · Matt
Quoted 11 lines · Matt
Quoted 10 lines · Matt
On Wed, Feb 9, 2011 at 1:03 AM, Dan Magenheimer
<[email protected]> wrote:
[snip]Quoted 6 lines
If I've missed anything important, please let me know!
Thanks again!
Dan
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Hi Dan,
thank you so much for answering my email in such detail !
I shall pick up on that mail in my next email sending to the mailing l=
ist :)
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
currently I've got a problem with btrfs which seems to get triggered by cleancache get-operations:
Feb 14 00:37:19 lupus kernel: [ 2831.297377] device fsid 354120c992a00761-5fa07d400126a895 devid 1 transid 7 /dev/mapper/portage Feb 14 00:37:19 lupus kernel: [ 2831.297698] btrfs: enabling disk spac=
e caching
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Feb 14 00:37:19 lupus kernel: [ 2831.297700] btrfs: force lzo compress=
ion
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Feb 14 00:37:19 lupus kernel: [ 2831.315844] zcache: created ephemeral tmem pool, id=3D3 Feb 14 00:39:20 lupus kernel: [ 2951.853188] BUG: unable to handle kernel paging request at 0000000001400050 Feb 14 00:39:20 lupus kernel: [ 2951.853219] IP: [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 00:39:20 lupus kernel: [ 2951.853242] PGD 0 Feb 14 00:39:20 lupus kernel: [ 2951.853251] Oops: 0000 [#1] PREEMPT S=
MP
Quoted 101 lines
Quoted 93 lines
Quoted 93 lines
Quoted 93 lines
Feb 14 00:39:20 lupus kernel: [ 2951.853275] last sysfs file: /sys/devices/platform/coretemp.3/temp1_input Feb 14 00:39:20 lupus kernel: [ 2951.853295] CPU 4 Feb 14 00:39:20 lupus kernel: [ 2951.853303] Modules linked in: radeonttm
drm_kms_helpercfbcopyarea cfbimgblt cfbfillrectipt_REJECTipt_LOGxt_limitxt_tcpudpxt_statenf_nat_ircnf_conntrack_ircnf_nat_ftpnf_natnf_conntrack_ipv4nf_defrag_ipv4nf_conntrack_ftpiptable_filteript_addrtypext_DSCPxt_dscpxt_iprangeip_tablesip6table_filterxt_NFQUEUExt_ownerxt_hashlimitxt_conntrackxt_markxt_multiportxt_connmarknf_conntrackxt_stringip6_tablesx_tablesit87hwmon_vidcoretempsnd_seq_dummysnd_seq_osssnd_seq_midi_eventsnd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_osssnd_hda_codec_hdmisnd_hda_codec_realteksnd_hda_intelsnd_hda_codecsnd_hwdepsnd_pcmsnd_timersnd soundcorei2c_i801wmi e1000e shpchpsnd_page_alloclibphy e1000scsi_wait_scansl811_hcdohci_hcdssbusb_storageehci_hcd[last unloaded: tg3]Feb 14 00:39:20 lupus kernel: [ 2951.853682] Feb 14 00:39:20 lupus kernel: [ 2951.853690] Pid: 11394, comm: btrfs-transacti Not tainted 2.6.37-plus_v16_zcache #4 FMP55/ipower G3710 Feb 14 00:39:20 lupus kernel: [ 2951.853725] RIP: 0010:[<ffffffff8133ef1b>] =A0[<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 00:39:20 lupus kernel: [ 2951.853751] RSP: 0018:ffff880129a11b00 =A0EFLAGS: 00010246 Feb 14 00:39:20 lupus kernel: [ 2951.853767] RAX: 00000000000000ff RBX: ffff88014a1ce628 RCX: 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853788] RDX: ffff880129a11b3c RSI: ffff880129a11b70 RDI: 0000000000000006 Feb 14 00:39:20 lupus kernel: [ 2951.853808] RBP: 0000000001400000 R08: ffffffff8133eef0 R09: ffff880129a11c68 Feb 14 00:39:20 lupus kernel: [ 2951.853829] R10: 0000000000000001 R11: 0000000000000001 R12: ffff88014a1ce780 Feb 14 00:39:20 lupus kernel: [ 2951.853849] R13: ffff88021fefc000 R14: ffff88021fef9000 R15: 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853870] FS: 0000000000000000(0000) GS:ffff8800bf500000(0000) knlGS:0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853894] CS: =A00010 DS: 0000 ES: 0000 CR0: 000000008005003b Feb 14 00:39:20 lupus kernel: [ 2951.853911] CR2: 0000000001400050 CR3: 0000000001c27000 CR4: 00000000000006e0 Feb 14 00:39:20 lupus kernel: [ 2951.853932] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853952] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 00:39:20 lupus kernel: [ 2951.853973] Process btrfs-transacti (pid: 11394, threadinfo ffff880129a10000, task ffff880202e4ac40) Feb 14 00:39:20 lupus kernel: [ 2951.853999] Stack: Feb 14 00:39:20 lupus kernel: [ 2951.854006] =A0ffff880129a11b50 ffff880000000003 ffff88003c60a098 0000000000000003 Feb 14 00:39:20 lupus kernel: [ 2951.854035] =A0ffffffffffffffff ffffffff810e6aaa 0000000000000000 0000000602e4ac40 Feb 14 00:39:20 lupus kernel: [ 2951.854063] =A0ffffffff8133e3f0 ffffffff810e6cee 0000000000001000 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.854092] Call Trace: Feb 14 00:39:20 lupus kernel: [ 2951.854103] =A0[<ffffffff810e6aaa>] ? cleancache_get_key+0x4a/0x60 Feb 14 00:39:20 lupus kernel: [ 2951.854122] =A0[<ffffffff8133e3f0>] ? btrfs_wake_function+0x0/0x20 Feb 14 00:39:20 lupus kernel: [ 2951.854140] =A0[<ffffffff810e6cee>] ? __cleancache_flush_inode+0x3e/0x70 Feb 14 00:39:20 lupus kernel: [ 2951.854161] =A0[<ffffffff810b34d2>] ? truncate_inode_pages_range+0x42/0x440 Feb 14 00:39:20 lupus kernel: [ 2951.854182] =A0[<ffffffff812f115e>] ? btrfs_search_slot+0x89e/0xa00 Feb 14 00:39:20 lupus kernel: [ 2951.854201] =A0[<ffffffff810c3a45>] ? unmap_mapping_range+0xc5/0x2a0 Feb 14 00:39:20 lupus kernel: [ 2951.854220] =A0[<ffffffff810b3930>] ? truncate_pagecache+0x40/0x70 Feb 14 00:39:20 lupus kernel: [ 2951.854240] =A0[<ffffffff813458b1>] ? btrfs_truncate_free_space_cache+0x81/0xe0 Feb 14 00:39:20 lupus kernel: [ 2951.854261] =A0[<ffffffff812fce15>] ? btrfs_write_dirty_block_groups+0x245/0x500 Feb 14 00:39:20 lupus kernel: [ 2951.854283] =A0[<ffffffff812fcb6a>] ? btrfs_run_delayed_refs+0x1ba/0x220 Feb 14 00:39:20 lupus kernel: [ 2951.854304] =A0[<ffffffff8130afff>] ? commit_cowonly_roots+0xff/0x1d0 Feb 14 00:39:20 lupus kernel: [ 2951.854323] =A0[<ffffffff8130c583>] ? btrfs_commit_transaction+0x363/0x760 Feb 14 00:39:20 lupus kernel: [ 2951.854344] =A0[<ffffffff81067ea0>] ? autoremove_wake_function+0x0/0x30 Feb 14 00:39:20 lupus kernel: [ 2951.854364] =A0[<ffffffff81305bc3>] ? transaction_kthread+0x283/0x2a0 Feb 14 00:39:20 lupus kernel: [ 2951.854383] =A0[<ffffffff81305940>] ? transaction_kthread+0x0/0x2a0 Feb 14 00:39:20 lupus kernel: [ 2951.854401] =A0[<ffffffff81305940>] ? transaction_kthread+0x0/0x2a0 Feb 14 00:39:20 lupus kernel: [ 2951.854420] =A0[<ffffffff81067a16>] ? kthread+0x96/0xa0 Feb 14 00:39:20 lupus kernel: [ 2951.854437] =A0[<ffffffff81003514>] ? kernel_thread_helper+0x4/0x10 Feb 14 00:39:20 lupus kernel: [ 2951.854455] =A0[<ffffffff81067980>] ?Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
kthread+0x0/0xa0Feb 14 00:39:20 lupus kernel: [ 2951.854471] =A0[<ffffffff81003510>] ? kernel_thread_helper+0x0/0x10 Feb 14 00:39:20 lupus kernel: [ 2951.854488] Code: 55 b8 ff 00 00 00 53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00 00 85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00 00 48 89 06 84 c9 48 8b 85 68 fe ff ff Feb 14 00:39:20 lupus kernel: [ 2951.854742] RIP =A0[<ffffffff8133ef1b=
Quoted 31 lines
]
Quoted 30 lines
Quoted 30 lines
Quoted 30 lines
btrfs_encode_fh+0x2b/0x120Feb 14 00:39:20 lupus kernel: [ 2951.854762] =A0RSP <ffff880129a11b00> Feb 14 00:39:20 lupus kernel: [ 2951.854773] CR2: 0000000001400050 Feb 14 00:39:20 lupus kernel: [ 2951.860906] ---[ end trace
f831c5ceeaa49287]---in my case I had compress-force with lzo and
disk_cacheenabledanother user of the kernel I'm currently running has had the same problem with zcache
(http://forums.gentoo.org/viewtopic-p-6571799.html#6571799)(looks like in his case compression and any other fancy additional features weren't enabled)
changes made by this kernel or patchset to btrfs are from
* io-less dirty throttling patchset (44 patches)
* zcache V2 ("[PATCH] staging: zcache: fix memory leak" should be applied in both cases)
* PATCH] fix (latent?) memory corruption inbtrfs_encode_fh()
* btrfs-unstable changes to state of3a90983dbdcb2f4f48c0d771d8e5b4d88f27fae6(so practically equals btrfs from 2.6.38-rc4+)I haven't tried downgrading to vanilla 2.6.37 with zcache only, yet,
but kind of upgraded btrfs to the latest state of the btrfs-unstable repository (http://git.eu.kernel.org/?p=3Dlinux/kernel/git/mason/btrfs=
-unstable.git;a=3Dsummary)
Quoted 61 lines
Quoted 61 lines
Quoted 61 lines
Quoted 23 lines
namely
3a90983dbdcb2f4f48c0d771d8e5b4d88f27fae6this also didn't help and seemed to produce the same error-message
so to summarize:
1) error message appearing with all 4 patchsets applied changing btrfs-code and compress-force=3Dlzo and
disk_cacheenabled2) error message appearing with default mount-options and btrfs from 2.6.37 and changes for zcache & io-less dirty throttling patchset applied (first 2 patch(sets)) from list)
in my case I tried to extract / play back a 1.7 GiB tarball of my portage-directory (lots of small files and some tar.bzip2 archives) via pbzip2 or 7z when the error happened and the message was shown
Due to KMS sound (webradio streaming) was still running but I couldn't continue work (X switching to kernel output) so I did the magic sysrq combo (reisub)
Quoted 9 lines
Does that BUG message ring a bell for anyone ?
(if I should leave out anyone from the CC in the next emails or future, please holler - I don't want to spam your inboxes)
Thanks
Matt
OK,
here's the output of a kernel -
staying as close to vanilla (2.6.37) as the current situation allows (only including some corruption or leak fixes for zram & zcache and "
zram_xvmalloc: 64K page fixes and optimizations" (and 2 reiserfs fixes)):so in total the following patches are included in this new kernel (2.6.37-zcache):
zram changes:
1 zram: Fix sparse warning 'Using plain integer as NULL pointer' 2 [PATCH] zram: fix data corruption issue
3 [PATCH 0/7][v2]zram_xvmalloc: 64K page fixes and optimizationszcache:
1 zcache-linux-2.6.37-110205
2 [PATCH] staging: zcache: fix memory leak
3 [PATCH] zcache: Fix build error when sysfs is not definedreiserfs:
1 [PATCH] reiserfs: Make sureva_end()is always called after 2 [patch] reiserfs: potentialERR_PTRdereference
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
the same procedure:
trying to extract the mentioned portage-tarball:
time (7z e -so -tbzip2 -mmt=3D5 /system/portage_backup_022011.tbz2 | ta=
r
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
-xp -C
/usr/gentoo/)this hopefully should make it easier to track down the problem:
Feb 14 01:59:59 lupus kernel: [ =A0364.777143] device fsid 684a4213565dd3fe-ca991821badc2aac devid 1 transid 7 /dev/mapper/portage Feb 14 01:59:59 lupus kernel: [ =A0364.844994] zcache: created ephemera=
l
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
tmem pool, id=3D2
Feb 14 02:02:49 lupus kernel: [ =A0534.577573] BUG: unable to handle kernel paging request at 0000000037610050 Feb 14 02:02:49 lupus kernel: [ =A0534.577605] IP: [<ffffffff81338cbb>] btrfs_encode_fh+0x2b/0x110 Feb 14 02:02:49 lupus kernel: [ =A0534.577630] PGD 0 Feb 14 02:02:49 lupus kernel: [ =A0534.577640] Oops: 0000 [#1] PREEMPT =
SMP
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Feb 14 02:02:49 lupus kernel: [ =A0534.577665] last sysfs file: /sys/devices/system/cpu/cpu7/cache/index2/shared_cpu_map Feb 14 02:02:49 lupus kernel: [ =A0534.577693] CPU 5 Feb 14 02:02:49 lupus kernel: [ =A0534.577701] Modules linked in: radeo=
n
Quoted 44 lines
Quoted 44 lines
Quoted 44 lines
ttm
drm_kms_helpercfbcopyarea cfbimgblt cfbfillrectipt_REJECTipt_LOGxt_limitxt_tcpudpxt_statenf_nat_ircnf_conntrack_ircnf_nat_ftpnf_natnf_conntrack_ipv4nf_defrag_ipv4nf_conntrack_ftpiptable_filteript_addrtypext_DSCPxt_dscpxt_iprangeip_tablesip6table_filterxt_NFQUEUExt_ownerxt_hashlimitxt_conntrackxt_markxt_multiportxt_connmarknf_conntrackxt_stringip6_tablesx_tablesit87hwmon_vidcoretempsnd_seq_dummysnd_seq_osssnd_seq_midi_eventsnd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_osssnd_hda_codec_hdmisnd_hda_codec_realteksnd_hda_intelsnd_hda_codecsnd_hwdepsnd_pcmsnd_timersnd e1000e soundcorei2c_i801shpchpsnd_page_allocwmi libphy e1000scsi_wait_scansl811_hcdohci_hcdssbusb_storageehci_hcd[last unloaded: tg3]Feb 14 02:02:49 lupus kernel: [ =A0534.578114] Feb 14 02:02:49 lupus kernel: [ =A0534.578124] Pid: 8285, comm: tar Not tainted 2.6.37-zcache #2 FMP55/ipower G3710 Feb 14 02:02:49 lupus kernel: [ =A0534.578146] RIP: 0010:[<ffffffff81338cbb>] =A0[<ffffffff81338cbb>] btrfs_encode_fh+0x2b/0x110 Feb 14 02:02:49 lupus kernel: [ =A0534.578172] RSP: 0018:ffff88023ea9dcc8 =A0EFLAGS: 00010246 Feb 14 02:02:49 lupus kernel: [ =A0534.578189] RAX: 00000000000000ff RBX: ffff8800b8643228 RCX: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ =A0534.578210] RDX: ffff88023ea9dd04 RSI: ffff88023ea9dd38 RDI: 0000000000000006 Feb 14 02:02:49 lupus kernel: [ =A0534.578230] RBP: 0000000037610000 R08: ffffffff81338c90 R09: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ =A0534.578251] R10: 0000000000000019 R11: 0000000000000001 R12: ffff8800b8643380 Feb 14 02:02:49 lupus kernel: [ =A0534.578272] R13: ffff8800b8643258 R14: 00007fff806f1f00 R15: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ =A0534.578293] FS: 00007f823d7ed700(0000) GS:ffff8800bf540000(0000) knlGS:0000000000000000 Feb 14 02:02:49 lupus kernel: [ =A0534.578317] CS: =A00010 DS: 0000 ES: 0000 CR0: 0000000080050033 Feb 14 02:02:49 lupus kernel: [ =A0534.578334] CR2: 0000000037610050 CR3: 000000023dcef000 CR4: 00000000000006e0 Feb 14 02:02:49 lupus kernel: [ =A0534.578356] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ =A0534.578377] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 02:02:49 lupus kernel: [ =A0534.578398] Process tar (pid: 8285, threadinfo ffff88023ea9c000, task ffff88023e8b9d40) Feb 14 02:02:49 lupus kernel: [ =A0534.578421] Stack:
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Feb 14 02:02:49 lupus kernel: [ =A0534.578428] =A0000000013d096000 ffff88023ed84800 ffff88023ea9c000 0000000000000002 Feb 14 02:02:49 lupus kernel: [ =A0534.578458] =A0ffffffffffffffff ffffffff810e3b1a 0000000000000001 000000061e1d5240 Feb 14 02:02:49 lupus kernel: [ =A0534.578486] =A0fffffffffffffffb ffffffff810e3d5e ffff88010f383000 0000001ab86cb908 Feb 14 02:02:49 lupus kernel: [ =A0534.578514] Call Trace: Feb 14 02:02:49 lupus kernel: [ =A0534.578525] =A0[<ffffffff810e3b1a>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
cleancache_get_key+0x4a/0x60Feb 14 02:02:49 lupus kernel: [ =A0534.578544] =A0[<ffffffff810e3d5e>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__cleancache_flush_inode+0x3e/0x70Feb 14 02:02:49 lupus kernel: [ =A0534.578565] =A0[<ffffffff810b0ed2>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
truncate_inode_pages_range+0x42/0x440Feb 14 02:02:49 lupus kernel: [ =A0534.578586] =A0[<ffffffff81338451>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_tree_unlock+0x41/0x50Feb 14 02:02:49 lupus kernel: [ =A0534.578605] =A0[<ffffffff812e4ed5>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_release_path+0x15/0x70Feb 14 02:02:49 lupus kernel: [ =A0534.578624] =A0[<ffffffff8130bf29>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_run_delayed_iputs+0x49/0x120Feb 14 02:02:49 lupus kernel: [ =A0534.578644] =A0[<ffffffff813107e7>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_evict_inode+0x27/0x1e0Feb 14 02:02:49 lupus kernel: [ =A0534.578663] =A0[<ffffffff810fc3aa>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
evict+0x1a/0xa0Feb 14 02:02:49 lupus kernel: [ =A0534.578678] =A0[<ffffffff810fc6bd>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
iput+0x1cd/0x2b0Feb 14 02:02:49 lupus kernel: [ =A0534.578694] =A0[<ffffffff810f266f>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
do_unlinkat+0x12f/0x1d0Feb 14 02:02:49 lupus kernel: [ =A0534.578712] =A0[<ffffffff810027bb>] =
?
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
system_call_fastpath+0x16/0x1bFeb 14 02:02:49 lupus kernel: [ =A0534.578730] Code: 55 b8 ff 00 00 00 53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00 00 85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00 00 48 89 06 84 c9 48 8b 85 68 fe ff ff Feb 14 02:02:49 lupus kernel: [ =A0534.578986] RIP =A0[<ffffffff81338cb=
b>]
Quoted 30 lines
Quoted 30 lines
Quoted 30 lines
btrfs_encode_fh+0x2b/0x110Feb 14 02:02:49 lupus kernel: [ =A0534.579081] =A0RSP <ffff88023ea9dcc8=Feb 14 02:02:49 lupus kernel: [ =A0534.579093] CR2: 0000000037610050 Feb 14 02:02:49 lupus kernel: [ =A0534.587513] ---[ end trace
c596b12e66c0b360]---for reference I've pasted it to pastebin.com:
"2.6.37_zcache_V2.patch"
http://pastebin.com/cVSkwQ6Mafter the reboot I had forgotten to not mount the btrfs volume and it threw a similar error-message again and remounted several partitions read-only (including the system partition)
the partition with btrfs (/usr/gentoo) couldn't be unmounted since the umount process kind of hangso here's the error message after a reboot (might not be accurate or kind of "skewed" since other patches are included (io-less dirty throttling, PATCH] fix (latent?) memory corruption in
btrfs_encode_fh()and latest changes for btrfs)) but might help to get some more evidence:
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Feb 14 02:05:46 lupus kernel: [ =A0 63.922648] device fsid 684a4213565dd3fe-ca991821badc2aac devid 1 transid 13 /dev/mapper/portage Feb 14 02:05:46 lupus kernel: [ =A0 64.047118] btrfs: unlinked 1 orphan=
s
Quoted 1 line
Quoted 1 line
Quoted 1 line
Feb 14 02:05:46 lupus kernel: [ =A0 64.051956] zcache: created ephemera=
l
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
tmem pool, id=3D3
Feb 14 02:05:48 lupus kernel: [ =A0 65.801364] hub 2-1:1.0: hub_suspend Feb 14 02:05:48 lupus kernel: [ =A0 65.801376] usb 2-1: unlink qh256-0001/ffff88023fefd180 start 1 [1/0 us] Feb 14 02:05:48 lupus kernel: [ =A0 65.801559] usb 2-1: usb auto-suspen=
d
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Feb 14 02:05:50 lupus kernel: [ =A0 67.797929] hub 2-0:1.0: hub_suspend Feb 14 02:05:50 lupus kernel: [ =A0 67.797939] usb usb2: bus auto-suspe=
nd
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Feb 14 02:05:50 lupus kernel: [ =A0 67.797942] ehci_hcd 0000:00:1d.0: suspend root hub Feb 14 02:05:52 lupus kernel: [ =A0 70.050493] BUG: unable to handle kernel paging request at 0000030341ed0050 Feb 14 02:05:52 lupus kernel: [ =A0 70.050670] IP: [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:05:52 lupus kernel: [ =A0 70.050807] PGD 0 Feb 14 02:05:52 lupus kernel: [ =A0 70.050929] Oops: 0000 [#1] PREEMPT =
SMP
Quoted 47 lines
Quoted 47 lines
Quoted 47 lines
Feb 14 02:05:52 lupus kernel: [ =A0 70.051223] last sysfs file: /sys/module/pcie_aspm/parameters/policy Feb 14 02:05:52 lupus kernel: [ =A0 70.051365] CPU 6 Feb 14 02:05:52 lupus kernel: [ =A0 70.051411] Modules linked in:
ipt_REJECTipt_LOGxt_limitxt_tcpudpxt_statenf_nat_ircnf_conntrack_ircnf_nat_ftpnf_natnf_conntrack_ipv4nf_defrag_ipv4nf_conntrack_ftpiptable_filteript_addrtypext_DSCPxt_dscpxt_iprangeip_tablesip6table_filterxt_NFQUEUExt_ownerxt_hashlimitxt_conntrackxt_markxt_multiportxt_connmarknf_conntrackxt_stringip6_tablesx_tablesit87hwmon_vidcoretempsnd_seq_dummysnd_seq_osssnd_seq_midi_eventsnd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_osssnd_hda_codec_hdmisnd_hda_codec_realteksnd_hda_intelsnd_hda_codecsnd_hwdepsnd_pcmsnd_timersndi2c_i801soundcore wmi shpchp e1000esnd_page_alloclibphy e1000scsi_wait_scansl811_hcdohci_hcdssbusb_storageehci_hcd[last unloaded: tg3]Feb 14 02:05:52 lupus kernel: [ =A0 70.054694] Feb 14 02:05:52 lupus kernel: [ =A0 70.054776] Pid: 7962, comm: umount Not tainted 2.6.37-plus_v16_zcache #4 FMP55/ipower G3710 Feb 14 02:05:52 lupus kernel: [ =A0 70.054912] RIP: 0010:[<ffffffff8133ef1b>] =A0[<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:05:52 lupus kernel: [ =A0 70.055084] RSP: 0018:ffff88023c77d6f8 =A0EFLAGS: 00010246 Feb 14 02:05:52 lupus kernel: [ =A0 70.055173] RAX: 00000000000000ff RBX: ffff88023cde0168 RCX: 0000000000000000 Feb 14 02:05:52 lupus kernel: [ =A0 70.055265] RDX: ffff88023c77d734 RSI: ffff88023c77d768 RDI: 0000000000000006 Feb 14 02:05:52 lupus kernel: [ =A0 70.055357] RBP: 0000030341ed0000 R08: ffffffff8133eef0 R09: ffff88023c77d8d8 Feb 14 02:05:52 lupus kernel: [ =A0 70.055448] R10: 0000000000000003 R11: 0000000000000001 R12: 00000000ffffffff Feb 14 02:05:52 lupus kernel: [ =A0 70.055540] R13: ffff88023cde0030 R14: ffffea0007dd39f0 R15: 0000000000000001 Feb 14 02:05:52 lupus kernel: [ =A0 70.055633] FS: 00007fb1cad04760(0000) GS:ffff8800bf580000(0000) knlGS:0000000000000000 Feb 14 02:05:52 lupus kernel: [ =A0 70.055762] CS: =A00010 DS: 0000 ES: 0000 CR0: 000000008005003b Feb 14 02:05:52 lupus kernel: [ =A0 70.055851] CR2: 0000030341ed0050 CR3: 000000023c7d5000 CR4: 00000000000006e0 Feb 14 02:05:52 lupus kernel: [ =A0 70.055943] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 02:05:52 lupus kernel: [ =A0 70.056035] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 02:05:52 lupus kernel: [ =A0 70.056128] Process umount (pid: 7962, threadinfo ffff88023c77c000, task ffff88023c7a4260) Feb 14 02:05:52 lupus kernel: [ =A0 70.056257] Stack:
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Feb 14 02:05:52 lupus kernel: [ =A0 70.056338] =A00000000000000000 0000000000000002 ffff880200000000 0000000000000003 Feb 14 02:05:52 lupus kernel: [ =A0 70.056630] =A0ffffea0007dd39f0 ffffffff810e6aaa ffff880200000041 0000000600000246 Feb 14 02:05:52 lupus kernel: [ =A0 70.056922] =A0ffff88023cdcd300 ffffffff810e6b3a 0000000000000001 ffffffff8132bb7c Feb 14 02:05:52 lupus kernel: [ =A0 70.057213] Call Trace: Feb 14 02:05:52 lupus kernel: [ =A0 70.057301] =A0[<ffffffff810e6aaa>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
cleancache_get_key+0x4a/0x60Feb 14 02:05:52 lupus kernel: [ =A0 70.057393] =A0[<ffffffff810e6b3a>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__cleancache_get_page+0x7a/0xd0Feb 14 02:05:52 lupus kernel: [ =A0 70.057487] =A0[<ffffffff8132bb7c>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
merge_state+0x7c/0x150Feb 14 02:05:52 lupus kernel: [ =A0 70.057579] =A0[<ffffffff8132e4de>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__extent_read_full_page+0x52e/0x710Feb 14 02:05:52 lupus kernel: [ =A0 70.057673] =A0[<ffffffff813bdea4>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
rb_insert_color+0xa4/0x140Feb 14 02:05:52 lupus kernel: [ =A0 70.057766] =A0[<ffffffff8134b0b6>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
tree_insert+0x86/0x1e0Feb 14 02:05:52 lupus kernel: [ =A0 70.057859] =A0[<ffffffff81058c73>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
lock_timer_base.clone.22+0x33/0x70
Feb 14 02:05:52 lupus kernel: [ =A0 70.058004] =A0[<ffffffff81305060>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btree_get_extent+0x0/0x1c0Feb 14 02:05:52 lupus kernel: [ =A0 70.058097] =A0[<ffffffff81330b21>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
read_extent_buffer_pages+0x2d1/0x470Feb 14 02:05:52 lupus kernel: [ =A0 70.058191] =A0[<ffffffff81305060>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btree_get_extent+0x0/0x1c0Feb 14 02:05:52 lupus kernel: [ =A0 70.058283] =A0[<ffffffff8130674d>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btree_read_extent_buffer_pages.clone.65+0x4d/0xa0
Feb 14 02:05:52 lupus kernel: [ =A0 70.058415] =A0[<ffffffff813076f9>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
read_tree_block+0x39/0x60Feb 14 02:05:52 lupus kernel: [ =A0 70.058508] =A0[<ffffffff812ed5e6>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
read_block_for_search.clone.40+0x116/0x410
Feb 14 02:05:52 lupus kernel: [ =A0 70.058638] =A0[<ffffffff812eb228>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_cow_block+0x118/0x2b0Feb 14 02:05:52 lupus kernel: [ =A0 70.058731] =A0[<ffffffff812f0bc7>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_search_slot+0x307/0xa00Feb 14 02:05:52 lupus kernel: [ =A0 70.058823] =A0[<ffffffff812f6b18>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
lookup_inline_extent_backref+0x98/0x4a0Feb 14 02:05:52 lupus kernel: [ =A0 70.058919] =A0[<ffffffff810e33d7>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kmem_cache_alloc+0x87/0xa0Feb 14 02:05:52 lupus kernel: [ =A0 70.059032] =A0[<ffffffff812f891c>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__btrfs_free_extent+0xcc/0x6f0Feb 14 02:05:52 lupus kernel: [ =A0 70.059125] =A0[<ffffffff812fc4cf>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
run_clustered_refs+0x39f/0x880Feb 14 02:05:52 lupus kernel: [ =A0 70.059220] =A0[<ffffffff810b1f98>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
pagevec_lookup_tag+0x18/0x20Feb 14 02:05:52 lupus kernel: [ =A0 70.059312] =A0[<ffffffff810a7c81>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
filemap_fdatawait_range+0x91/0x180Feb 14 02:05:52 lupus kernel: [ =A0 70.059405] =A0[<ffffffff812fca77>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_run_delayed_refs+0xc7/0x220Feb 14 02:05:52 lupus kernel: [ =A0 70.059498] =A0[<ffffffff8130c29c>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_commit_transaction+0x7c/0x760Feb 14 02:05:52 lupus kernel: [ =A0 70.059591] =A0[<ffffffff81067ea0>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
autoremove_wake_function+0x0/0x30Feb 14 02:05:52 lupus kernel: [ =A0 70.059683] =A0[<ffffffff8130cdef>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
start_transaction+0x1bf/0x270Feb 14 02:05:52 lupus kernel: [ =A0 70.059775] =A0[<ffffffff8110e96a>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__sync_filesystem+0x5a/0x90Feb 14 02:05:52 lupus kernel: [ =A0 70.059867] =A0[<ffffffff810eae8d>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
generic_shutdown_super+0x2d/0x100Feb 14 02:05:52 lupus kernel: [ =A0 70.059960] =A0[<ffffffff810eafb9>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kill_anon_super+0x9/0x50Feb 14 02:05:52 lupus kernel: [ =A0 70.060051] =A0[<ffffffff810eb266>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
deactivate_locked_super+0x26/0x80Feb 14 02:05:52 lupus kernel: [ =A0 70.060144] =A0[<ffffffff811043ea>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
sys_umount+0x7a/0x390Feb 14 02:05:52 lupus kernel: [ =A0 70.060235] =A0[<ffffffff810027bb>] =
?
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
system_call_fastpath+0x16/0x1bFeb 14 02:05:52 lupus kernel: [ =A0 70.060325] Code: 55 b8 ff 00 00 00 53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00 00 85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00 00 48 89 06 84 c9 48 8b 85 68 fe ff ff Feb 14 02:05:52 lupus kernel: [ =A0 70.063170] RIP =A0[<ffffffff8133ef1=
b>]
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
btrfs_encode_fh+0x2b/0x120Feb 14 02:05:52 lupus kernel: [ =A0 70.063302] =A0RSP <ffff88023c77d6f8=Feb 14 02:05:52 lupus kernel: [ =A0 70.063386] CR2: 0000030341ed0050 Feb 14 02:05:52 lupus kernel: [ =A0 70.063528] ---[ end trace 3313552d105b1535 ]--- Feb 14 02:06:16 lupus kernel: [ =A0 93.961960] BUG: unable to handle kernel paging request at 0000030341ed0050 Feb 14 02:06:16 lupus kernel: [ =A0 93.962171] IP: [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:06:16 lupus kernel: [ =A0 93.962307] PGD 0 Feb 14 02:06:16 lupus kernel: [ =A0 93.962430] Oops: 0000 [#2] PREEMPT =
SMP
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Feb 14 02:06:16 lupus kernel: [ =A0 93.962637] last sysfs file: /sys/devices/system/cpu/cpu7/cache/index2/shared_cpu_map Feb 14 02:06:16 lupus kernel: [ =A0 93.962766] CPU 5 Feb 14 02:06:16 lupus kernel: [ =A0 93.962812] Modules linked in:
ipt_REJECTipt_LOGxt_limitxt_tcpudpxt_statenf_nat_ircnf_conntrack_ircnf_nat_ftpnf_natnf_conntrack_ipv4nf_defrag_ipv4nf_conntrack_ftpiptable_filteript_addrtypext_DSCPxt_dscpxt_iprangeip_tablesip6table_filterxt_NFQUEUExt_ownerxt_hashlimitxt_conntrackxt_markxt_multiportxt_connmarknf_conntrackxt_stringip6_tablesx_tablesit87hwmon_vidcoretempsnd_seq_dummysnd_seq_oss
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
snd_seq_midi_eventsnd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_osssnd_hda_codec_hdmisnd_hda_codec_realteksnd_hda_intelsnd_hda_codecsnd_hwdepsnd_pcmsnd_timersndi2c_i801soundcore wmi shpchp e1000esnd_page_alloclibphy e1000scsi_wait_scansl811_hcdohci_hcdssbusb_storageehci_hcd[last unloaded: tg3]Feb 14 02:06:16 lupus kernel: [ =A0 93.966044] Feb 14 02:06:16 lupus kernel: [ =A0 93.966127] Pid: 7915, comm:btrfs-transacti Tainted: G =A0 =A0 =A0D =A0 =A0 2.6.37-plus_v16_zcache =
#4
Quoted 30 lines
Quoted 30 lines
Quoted 30 lines
FMP55/ipower G3710
Feb 14 02:06:16 lupus kernel: [ =A0 93.966266] RIP: 0010:[<ffffffff8133ef1b>] =A0[<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:06:16 lupus kernel: [ =A0 93.966440] RSP: 0018:ffff88023c63b6e0 =A0EFLAGS: 00010246 Feb 14 02:06:16 lupus kernel: [ =A0 93.966528] RAX: 00000000000000ff RBX: ffff88023cde0168 RCX: 0000000000000000 Feb 14 02:06:16 lupus kernel: [ =A0 93.966620] RDX: ffff88023c63b71c RSI: ffff88023c63b750 RDI: 0000000000000006 Feb 14 02:06:16 lupus kernel: [ =A0 93.966713] RBP: 0000030341ed0000 R08: ffffffff8133eef0 R09: ffff88023c63b8c0 Feb 14 02:06:16 lupus kernel: [ =A0 93.966805] R10: 0000000000000003 R11: 0000000000000001 R12: 00000000ffffffff Feb 14 02:06:16 lupus kernel: [ =A0 93.966897] R13: ffff88023cde0030 R14: ffffea0007d59bc8 R15: 0000000000000001 Feb 14 02:06:16 lupus kernel: [ =A0 93.966990] FS: 0000000000000000(0000) GS:ffff8800bf540000(0000) knlGS:0000000000000000 Feb 14 02:06:16 lupus kernel: [ =A0 93.967120] CS: =A00010 DS: 0000 ES: 0000 CR0: 000000008005003b Feb 14 02:06:16 lupus kernel: [ =A0 93.967209] CR2: 0000030341ed0050 CR3: 0000000001c27000 CR4: 00000000000006e0 Feb 14 02:06:16 lupus kernel: [ =A0 93.967302] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 02:06:16 lupus kernel: [ =A0 93.967394] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 02:06:16 lupus kernel: [ =A0 93.967500] Process btrfs-transacti (pid: 7915, threadinfo ffff88023c63a000, task ffff88023c7a1620) Feb 14 02:06:16 lupus kernel: [ =A0 93.967630] Stack:
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Feb 14 02:06:16 lupus kernel: [ =A0 93.967711] =A00000000000000000 0000000000000002 0000000000000000 0000000000000003 Feb 14 02:06:16 lupus kernel: [ =A0 93.968057] =A0ffffea0007d59bc8 ffffffff810e6aaa 0000000000000041 0000000600000002 Feb 14 02:06:16 lupus kernel: [ =A0 93.968348] =A00000000000000000 ffffffff810e6b3a 0000000000000001 ffffffff00000001 Feb 14 02:06:16 lupus kernel: [ =A0 93.968639] Call Trace: Feb 14 02:06:16 lupus kernel: [ =A0 93.968728] =A0[<ffffffff810e6aaa>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
cleancache_get_key+0x4a/0x60Feb 14 02:06:16 lupus kernel: [ =A0 93.968820] =A0[<ffffffff810e6b3a>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__cleancache_get_page+0x7a/0xd0Feb 14 02:06:16 lupus kernel: [ =A0 93.968914] =A0[<ffffffff8132e4de>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__extent_read_full_page+0x52e/0x710Feb 14 02:06:16 lupus kernel: [ =A0 93.969008] =A0[<ffffffff812f3f93>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
update_reserved_bytes+0xb3/0x140Feb 14 02:06:16 lupus kernel: [ =A0 93.969102] =A0[<ffffffff81305060>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btree_get_extent+0x0/0x1c0Feb 14 02:06:16 lupus kernel: [ =A0 93.969193] =A0[<ffffffff8132bb7c>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
merge_state+0x7c/0x150Feb 14 02:06:16 lupus kernel: [ =A0 93.969285] =A0[<ffffffff81330b21>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
read_extent_buffer_pages+0x2d1/0x470Feb 14 02:06:16 lupus kernel: [ =A0 93.969378] =A0[<ffffffff81305060>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btree_get_extent+0x0/0x1c0Feb 14 02:06:16 lupus kernel: [ =A0 93.969470] =A0[<ffffffff8130674d>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btree_read_extent_buffer_pages.clone.65+0x4d/0xa0
Feb 14 02:06:16 lupus kernel: [ =A0 93.969602] =A0[<ffffffff813076f9>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
read_tree_block+0x39/0x60Feb 14 02:06:16 lupus kernel: [ =A0 93.969694] =A0[<ffffffff812ed5e6>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
read_block_for_search.clone.40+0x116/0x410
Feb 14 02:06:16 lupus kernel: [ =A0 93.969878] =A0[<ffffffff812f0bc7>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_search_slot+0x307/0xa00Feb 14 02:06:16 lupus kernel: [ =A0 93.969970] =A0[<ffffffff812f6b18>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
lookup_inline_extent_backref+0x98/0x4a0Feb 14 02:06:16 lupus kernel: [ =A0 93.970065] =A0[<ffffffff810e33d7>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kmem_cache_alloc+0x87/0xa0Feb 14 02:06:16 lupus kernel: [ =A0 93.970157] =A0[<ffffffff812f891c>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__btrfs_free_extent+0xcc/0x6f0Feb 14 02:06:16 lupus kernel: [ =A0 93.970249] =A0[<ffffffff812f8434>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
update_block_group.clone.62+0xc4/0x280
Feb 14 02:06:16 lupus kernel: [ =A0 93.970343] =A0[<ffffffff812fc4cf>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
run_clustered_refs+0x39f/0x880Feb 14 02:06:16 lupus kernel: [ =A0 93.970436] =A0[<ffffffff812fca77>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_run_delayed_refs+0xc7/0x220Feb 14 02:06:16 lupus kernel: [ =A0 93.970529] =A0[<ffffffff810e15f9>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
new_slab+0x169/0x1f0Feb 14 02:06:16 lupus kernel: [ =A0 93.970619] =A0[<ffffffff8130c29c>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_commit_transaction+0x7c/0x760Feb 14 02:06:16 lupus kernel: [ =A0 93.970713] =A0[<ffffffff81067ea0>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
autoremove_wake_function+0x0/0x30Feb 14 02:06:16 lupus kernel: [ =A0 93.970806] =A0[<ffffffff81305bc3>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
transaction_kthread+0x283/0x2a0Feb 14 02:06:16 lupus kernel: [ =A0 93.970898] =A0[<ffffffff81305940>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
transaction_kthread+0x0/0x2a0Feb 14 02:06:16 lupus kernel: [ =A0 93.970990] =A0[<ffffffff81305940>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
transaction_kthread+0x0/0x2a0Feb 14 02:06:16 lupus kernel: [ =A0 93.971083] =A0[<ffffffff81067a16>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kthread+0x96/0xa0Feb 14 02:06:16 lupus kernel: [ =A0 93.971174] =A0[<ffffffff81003514>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kernel_thread_helper+0x4/0x10Feb 14 02:06:16 lupus kernel: [ =A0 93.971266] =A0[<ffffffff81067980>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kthread+0x0/0xa0Feb 14 02:06:16 lupus kernel: [ =A0 93.971355] =A0[<ffffffff81003510>] =
?
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
kernel_thread_helper+0x0/0x10Feb 14 02:06:16 lupus kernel: [ =A0 93.971444] Code: 55 b8 ff 00 00 00 53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00 00 85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00 00 48 89 06 84 c9 48 8b 85 68 fe ff ff Feb 14 02:06:16 lupus kernel: [ =A0 93.974280] RIP =A0[<ffffffff8133ef1=
b>]
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
btrfs_encode_fh+0x2b/0x120Feb 14 02:06:16 lupus kernel: [ =A0 93.974412] =A0RSP <ffff88023c63b6e0=Feb 14 02:06:16 lupus kernel: [ =A0 93.974497] CR2: 0000030341ed0050 Feb 14 02:06:16 lupus kernel: [ =A0 93.974599] ---[ end trace 3313552d105b1536 ]--- Feb 14 02:07:04 lupus kernel: [ =A0141.906124] zcache: destroyed pool i=
d=3D2
Quoted 1 line
Quoted 1 line
Quoted 1 line
Feb 14 02:07:17 lupus kernel: [ =A0154.783358] SysRq : Keyboard mode se=
t
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
to system default
Feb 14 02:07:18 lupus kernel: [ =A0155.486147] SysRq : Terminate All Ta=
sks
Quoted 30 lines
Quoted 19 lines
Quoted 8 lines
That's all for now
Thanks & Regards
Matt
(leaving out several folks from the CC to avoid spamming - if I left out someone wrongfully please re-add)
running an addr2line reveals:
addr2line -e
/usr/src/linux-2.6.37_vanilla/vmlinux-iffffffff81338cbbexport.c:0Quoted 7 lines
hope that helps
Regards
Matt
Just my guessing. I might be wrong.
__cleancache_flush_inodecallscleancache_get_keywith cleancache_filekey=
Quoted 334 lines
-----Original Message-----
From: Matt [mailto:[email protected]]
Sent: Tuesday, February 15, 2011 5:12 PM
To: Minchan Kim
Cc: Dan Magenheimer; [email protected]; Chris Mason; linux- [email protected]; [email protected]; [email protected]; linux- [email protected]; Josef Bacik; Dan Rosenberg; Yan Zheng; [email protected]; Li Zefan
Subject: Re: [PATCH V2 0/3]drivers/staging: zcache: dynamic page cache/swap compression
=20Quoted 3 lines · Minchan Kim
Quoted 2 lines · Matt
Quoted 1 line · Matt
On Mon, Feb 14, 2011 at 12:08 AM, Matt <[email protected]>
Quoted 10 lines · wrote:
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
On Wed, Feb 9, 2011 at 1:03 AM, Dan Magenheimer
<[email protected]> wrote:
[snip]Quoted 6 lines
If I've missed anything important, please let me know!
Thanks again!
DanQuoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Hi Dan,
thank you so much for answering my email in such detail !
I shall pick up on that mail in my next email sending to the
mailing list :)
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
currently I've got a problem with btrfs which seems to get
triggered
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
by cleancache get-operations:
Feb 14 00:37:19 lupus kernel: [ 2831.297377] device fsid 354120c992a00761-5fa07d400126a895 devid 1 transid 7 /dev/mapper/portage Feb 14 00:37:19 lupus kernel: [ 2831.297698] btrfs: enabling diskspace caching
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Feb 14 00:37:19 lupus kernel: [ 2831.297700] btrfs: force lzocompression
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Feb 14 00:37:19 lupus kernel: [ 2831.315844] zcache: createdephemeral
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
tmem pool, id=3D3
Feb 14 00:39:20 lupus kernel: [ 2951.853188] BUG: unable to handle kernel paging request at 0000000001400050 Feb 14 00:39:20 lupus kernel: [ 2951.853219] IP:[<
ffffffff8133ef1b>]Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
btrfs_encode_fh+0x2b/0x120Feb 14 00:39:20 lupus kernel: [ 2951.853242] PGD 0 Feb 14 00:39:20 lupus kernel: [ 2951.853251] Oops: 0000 [#1]PREEMPT SMP
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Feb 14 00:39:20 lupus kernel: [ 2951.853275] last sysfs file: /sys/devices/platform/coretemp.3/temp1_input Feb 14 00:39:20 lupus kernel: [ 2951.853295] CPU 4 Feb 14 00:39:20 lupus kernel: [ 2951.853303] Modules linked in:radeon
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
ttm
drm_kms_helpercfbcopyarea cfbimgblt cfbfillrectipt_REJECTipt_LOGxt_limitxt_tcpudpxt_statenf_nat_ircnf_conntrack_ircnf_nat_ftpnf_natnf_conntrack_ipv4nf_defrag_ipv4
nf_conntrack_ftpQuoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
iptable_filteript_addrtypext_DSCPxt_dscpxt_iprangeip_tablesip6table_filterxt_NFQUEUExt_ownerxt_hashlimitxt_conntrack
xt_markQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
xt_multiportxt_connmarknf_conntrackxt_stringip6_tables
x_tablesQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
it87
hwmon_vidcoretempsnd_seq_dummysnd_seq_oss
snd_seq_midi_eventQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
snd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_oss
snd_hda_codec_hdmiQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
snd_hda_codec_realteksnd_hda_intelsnd_hda_codecsnd_hwdep
snd_pcmQuoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
snd_timersnd soundcorei2c_i801wmi e1000e shpchpsnd_page_alloclibphy e1000scsi_wait_scansl811_hcdohci_hcdssbusb_storageehci_hcd[last unloaded: tg3]Feb 14 00:39:20 lupus kernel: [ 2951.853682] Feb 14 00:39:20 lupus kernel: [ 2951.853690] Pid: 11394, comm: btrfs-transacti Not tainted 2.6.37-plus_v16_zcache #4 FMP55/ipower G3710 Feb 14 00:39:20 lupus kernel: [ 2951.853725] RIP: 0010:[<ffffffff8133ef1b>] =A0[<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 00:39:20 lupus kernel: [ 2951.853751] RSP: 0018:ffff880129a11b00 =A0EFLAGS: 00010246 Feb 14 00:39:20 lupus kernel: [ 2951.853767] RAX: 00000000000000ff RBX: ffff88014a1ce628 RCX: 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853788] RDX: ffff880129a11b3c RSI: ffff880129a11b70 RDI: 0000000000000006 Feb 14 00:39:20 lupus kernel: [ 2951.853808] RBP: 0000000001400000R08:
ffffffff8133eef0R09:ffff880129a11c68Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Feb 14 00:39:20 lupus kernel: [ 2951.853829] R10: 0000000000000001 R11: 0000000000000001 R12: ffff88014a1ce780 Feb 14 00:39:20 lupus kernel: [ 2951.853849] R13: ffff88021fefc000 R14: ffff88021fef9000 R15: 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853870] FS: 0000000000000000(0000) GS:ffff8800bf500000(0000) knlGS:0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853894] CS: =A00010 DS: 0000ES:
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
0000 CR0:
000000008005003bFeb 14 00:39:20 lupus kernel: [ 2951.853911] CR2: 0000000001400050 CR3: 0000000001c27000 CR4: 00000000000006e0 Feb 14 00:39:20 lupus kernel: [ 2951.853932] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853952] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 00:39:20 lupus kernel: [ 2951.853973] Process btrfs-transacti
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
(pid: 11394, threadinfo
ffff880129a10000, taskffff880202e4ac40)Feb 14 00:39:20 lupus kernel: [ 2951.853999] Stack: Feb 14 00:39:20 lupus kernel: [ 2951.854006] =A0ffff880129a11b50 ffff880000000003 ffff88003c60a098 0000000000000003 Feb 14 00:39:20 lupus kernel: [ 2951.854035] =A0ffffffffffffffff ffffffff810e6aaa 0000000000000000 0000000602e4ac40 Feb 14 00:39:20 lupus kernel: [ 2951.854063] =A0ffffffff8133e3f0 ffffffff810e6cee 0000000000001000 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.854092] Call Trace: Feb 14 00:39:20 lupus kernel: [ 2951.854103] =A0[<ffffffff810e6aaa>]?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
cleancache_get_key+0x4a/0x60Feb 14 00:39:20 lupus kernel: [ 2951.854122] =A0[<ffffffff8133e3f0>]?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_wake_function+0x0/0x20Feb 14 00:39:20 lupus kernel: [ 2951.854140] =A0[<ffffffff810e6cee>]?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__cleancache_flush_inode+0x3e/0x70Feb 14 00:39:20 lupus kernel: [ 2951.854161] =A0[<ffffffff810b34d2>]?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
truncate_inode_pages_range+0x42/0x440Feb 14 00:39:20 lupus kernel: [ 2951.854182] =A0[<ffffffff812f115e>]?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_search_slot+0x89e/0xa00Feb 14 00:39:20 lupus kernel: [ 2951.854201] =A0[<ffffffff810c3a45>]?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
unmap_mapping_range+0xc5/0x2a0Feb 14 00:39:20 lupus kernel: [ 2951.854220] =A0[<ffffffff810b3930>]?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
truncate_pagecache+0x40/0x70Feb 14 00:39:20 lupus kernel: [ 2951.854240] =A0[<ffffffff813458b1>]?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_truncate_free_space_cache+0x81/0xe0Feb 14 00:39:20 lupus kernel: [ 2951.854261] =A0[<ffffffff812fce15>]?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_write_dirty_block_groups+0x245/0x500Feb 14 00:39:20 lupus kernel: [ 2951.854283] =A0[<ffffffff812fcb6a>]?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_run_delayed_refs+0x1ba/0x220Feb 14 00:39:20 lupus kernel: [ 2951.854304] =A0[<ffffffff8130afff>]?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
commit_cowonly_roots+0xff/0x1d0Feb 14 00:39:20 lupus kernel: [ 2951.854323] =A0[<ffffffff8130c583>]?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_commit_transaction+0x363/0x760Feb 14 00:39:20 lupus kernel: [ 2951.854344] =A0[<ffffffff81067ea0>]?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
autoremove_wake_function+0x0/0x30Feb 14 00:39:20 lupus kernel: [ 2951.854364] =A0[<ffffffff81305bc3>]?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
transaction_kthread+0x283/0x2a0Feb 14 00:39:20 lupus kernel: [ 2951.854383] =A0[<ffffffff81305940>]?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
transaction_kthread+0x0/0x2a0Feb 14 00:39:20 lupus kernel: [ 2951.854401] =A0[<ffffffff81305940>]?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
transaction_kthread+0x0/0x2a0Feb 14 00:39:20 lupus kernel: [ 2951.854420] =A0[<ffffffff81067a16>]?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kthread+0x96/0xa0Feb 14 00:39:20 lupus kernel: [ 2951.854437] =A0[<ffffffff81003514>]?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kernel_thread_helper+0x4/0x10Feb 14 00:39:20 lupus kernel: [ 2951.854455] =A0[<ffffffff81067980>]?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kthread+0x0/0xa0Feb 14 00:39:20 lupus kernel: [ 2951.854471] =A0[<ffffffff81003510>]?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kernel_thread_helper+0x0/0x10Feb 14 00:39:20 lupus kernel: [ 2951.854488] Code: 55 b8 ff 00 0000
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00
00
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00
00 00
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
48 89 06 84 c9 48 8b 85 68 fe ff ff
Feb 14 00:39:20 lupus kernel: [ 2951.854742] RIP=A0[<ffffffff8133ef1b>]
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_encode_fh+0x2b/0x120Feb 14 00:39:20 lupus kernel: [ 2951.854762] =A0RSP<
ffff880129a11b00>Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
Feb 14 00:39:20 lupus kernel: [ 2951.854773] CR2: 0000000001400050 Feb 14 00:39:20 lupus kernel: [ 2951.860906] ---[ end trace
f831c5ceeaa49287]---in my case I had compress-force with lzo and
disk_cacheenabledanother user of the kernel I'm currently running has had the same problem with zcache
(http://forums.gentoo.org/viewtopic-p-6571799.html#6571799)(looks like in his case compression and any other fancy additional features weren't enabled)
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
changes made by this kernel or patchset to btrfs are from
* io-less dirty throttling patchset (44 patches)
* zcache V2 ("[PATCH] staging: zcache: fix memory leak" should be applied in both cases)
* PATCH] fix (latent?) memory corruption inbtrfs_encode_fh()
* btrfs-unstable changes to state of3a90983dbdcb2f4f48c0d771d8e5b4d88f27fae6(so practically equalsbtrfs
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
from 2.6.38-rc4+)
I haven't tried downgrading to vanilla 2.6.37 with zcache only,
yet,
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
but kind of upgraded btrfs to the latest state of the btrfs-
unstable
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
repository
(http://git.eu.kernel.org/?p=3Dlinux/kernel/git/mason/btrfs-
unstable.git;a=3Dsummary)Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
namely
3a90983dbdcb2f4f48c0d771d8e5b4d88f27fae6this also didn't help and seemed to produce the same error-message
so to summarize:
1) error message appearing with all 4 patchsets applied changing btrfs-code and compress-force=3Dlzo and
disk_cacheenabled2) error message appearing with default mount-options and btrfs
from
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
2.6.37 and changes for zcache & io-less dirty throttling patchset applied (first 2 patch(sets)) from list)
in my case I tried to extract / play back a 1.7 GiB tarball of my portage-directory (lots of small files and some tar.bzip2
archives)
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
via pbzip2 or 7z when the error happened and the message was shown
Due to KMS sound (webradio streaming) was still running but I
couldn't
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
continue work (X switching to kernel output) so I did the magic
sysrq
Quoted 14 lines
Quoted 14 lines
Quoted 14 lines
Quoted 12 lines
combo (reisub)
Does that BUG message ring a bell for anyone ?
(if I should leave out anyone from the CC in the next emails or future, please holler - I don't want to spam your inboxes)
Thanks
Matt
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
OK,
here's the output of a kernel -
staying as close to vanilla (2.6.37) as the current situation
allows
Quoted 22 lines
Quoted 22 lines
Quoted 22 lines
(only including some corruption or leak fixes for zram & zcache and "
zram_xvmalloc: 64K page fixes and optimizations" (and 2 reiserfs fixes)):so in total the following patches are included in this new kernel (2.6.37-zcache):
zram changes:
1 zram: Fix sparse warning 'Using plain integer as NULL pointer' 2 [PATCH] zram: fix data corruption issue
3 [PATCH 0/7][v2]zram_xvmalloc: 64K page fixes and optimizationszcache:
1 zcache-linux-2.6.37-110205
2 [PATCH] staging: zcache: fix memory leak
3 [PATCH] zcache: Fix build error when sysfs is not definedreiserfs:
1 [PATCH] reiserfs: Make sureva_end()is always called after 2 [patch] reiserfs: potentialERR_PTRdereferenceQuoted 5 lines
Quoted 5 lines
Quoted 5 lines
the same procedure:
trying to extract the mentioned portage-tarball:
time (7z e -so -tbzip2 -mmt=3D5 /system/portage_backup_022011.tbz2 |
tar
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
-xp -C
/usr/gentoo/)this hopefully should make it easier to track down the problem:
Feb 14 01:59:59 lupus kernel: [ =A0364.777143] device fsid 684a4213565dd3fe-ca991821badc2aac devid 1 transid 7 /dev/mapper/portage Feb 14 01:59:59 lupus kernel: [ =A0364.844994] zcache: createdephemeral
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
tmem pool, id=3D2
Feb 14 02:02:49 lupus kernel: [ =A0534.577573] BUG: unable to handle kernel paging request at 0000000037610050 Feb 14 02:02:49 lupus kernel: [ =A0534.577605] IP:[<
ffffffff81338cbb>]Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
btrfs_encode_fh+0x2b/0x110Feb 14 02:02:49 lupus kernel: [ =A0534.577630] PGD 0 Feb 14 02:02:49 lupus kernel: [ =A0534.577640] Oops: 0000 [#1]PREEMPT SMP
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Feb 14 02:02:49 lupus kernel: [ =A0534.577665] last sysfs file: /sys/devices/system/cpu/cpu7/cache/index2/shared_cpu_map Feb 14 02:02:49 lupus kernel: [ =A0534.577693] CPU 5 Feb 14 02:02:49 lupus kernel: [ =A0534.577701] Modules linked in:radeon
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
ttm
drm_kms_helpercfbcopyarea cfbimgblt cfbfillrectipt_REJECTipt_LOGxt_limitxt_tcpudpxt_statenf_nat_ircnf_conntrack_ircnf_nat_ftpnf_natnf_conntrack_ipv4nf_defrag_ipv4nf_conntrack_ftpiptable_filteript_addrtypext_DSCPxt_dscpxt_iprangeip_tablesip6table_filterxt_NFQUEUExt_ownerxt_hashlimitxt_conntrack
xt_markQuoted 2 lines
Quoted 2 lines
Quoted 2 lines
xt_multiportxt_connmarknf_conntrackxt_stringip6_tablesx_tablesit87hwmon_vidcoretempsnd_seq_dummysnd_seq_oss
snd_seq_midi_event
Quoted 28 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
snd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_osssnd_hda_codec_hdmisnd_hda_codec_realteksnd_hda_intelsnd_hda_codecsnd_hwdepsnd_pcmsnd_timersnd e1000e soundcorei2c_i801shpchpsnd_page_allocwmi libphy e1000scsi_wait_scansl811_hcdohci_hcdssbusb_storageehci_hcd[last unloaded: tg3]Feb 14 02:02:49 lupus kernel: [ =A0534.578114] Feb 14 02:02:49 lupus kernel: [ =A0534.578124] Pid: 8285, comm: tarNot
Quoted 20 lines
Quoted 20 lines
Quoted 20 lines
tainted 2.6.37-zcache #2 FMP55/ipower G3710
Feb 14 02:02:49 lupus kernel: [ =A0534.578146] RIP: 0010:[<ffffffff81338cbb>] =A0[<ffffffff81338cbb>] btrfs_encode_fh+0x2b/0x110 Feb 14 02:02:49 lupus kernel: [ =A0534.578172] RSP: 0018:ffff88023ea9dcc8 =A0EFLAGS: 00010246 Feb 14 02:02:49 lupus kernel: [ =A0534.578189] RAX: 00000000000000ff RBX: ffff8800b8643228 RCX: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ =A0534.578210] RDX: ffff88023ea9dd04 RSI: ffff88023ea9dd38 RDI: 0000000000000006 Feb 14 02:02:49 lupus kernel: [ =A0534.578230] RBP: 0000000037610000 R08: ffffffff81338c90 R09: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ =A0534.578251] R10: 0000000000000019 R11: 0000000000000001 R12: ffff8800b8643380 Feb 14 02:02:49 lupus kernel: [ =A0534.578272] R13: ffff8800b8643258 R14: 00007fff806f1f00 R15: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ =A0534.578293] FS: 00007f823d7ed700(0000) GS:ffff8800bf540000(0000) knlGS:0000000000000000 Feb 14 02:02:49 lupus kernel: [ =A0534.578317] CS: =A00010 DS: 0000 E=
S:
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
0000 CR0: 0000000080050033
Feb 14 02:02:49 lupus kernel: [ =A0534.578334] CR2: 0000000037610050 CR3: 000000023dcef000 CR4: 00000000000006e0 Feb 14 02:02:49 lupus kernel: [ =A0534.578356] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ =A0534.578377] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 02:02:49 lupus kernel: [ =A0534.578398] Process tar (pid:
Quoted 11 lines
8285,
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
threadinfo
ffff88023ea9c000, taskffff88023e8b9d40)Feb 14 02:02:49 lupus kernel: [ =A0534.578421] Stack: Feb 14 02:02:49 lupus kernel: [ =A0534.578428] =A0000000013d096000 ffff88023ed84800 ffff88023ea9c000 0000000000000002 Feb 14 02:02:49 lupus kernel: [ =A0534.578458] =A0ffffffffffffffff ffffffff810e3b1a 0000000000000001 000000061e1d5240 Feb 14 02:02:49 lupus kernel: [ =A0534.578486] =A0fffffffffffffffb ffffffff810e3d5e ffff88010f383000 0000001ab86cb908 Feb 14 02:02:49 lupus kernel: [ =A0534.578514] Call Trace: Feb 14 02:02:49 lupus kernel: [ =A0534.578525] =A0[<ffffffff810e3b1a>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
cleancache_get_key+0x4a/0x60Feb 14 02:02:49 lupus kernel: [ =A0534.578544] =A0[<ffffffff810e3d5e>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__cleancache_flush_inode+0x3e/0x70Feb 14 02:02:49 lupus kernel: [ =A0534.578565] =A0[<ffffffff810b0ed2>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
truncate_inode_pages_range+0x42/0x440Feb 14 02:02:49 lupus kernel: [ =A0534.578586] =A0[<ffffffff81338451>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_tree_unlock+0x41/0x50Feb 14 02:02:49 lupus kernel: [ =A0534.578605] =A0[<ffffffff812e4ed5>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_release_path+0x15/0x70Feb 14 02:02:49 lupus kernel: [ =A0534.578624] =A0[<ffffffff8130bf29>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_run_delayed_iputs+0x49/0x120Feb 14 02:02:49 lupus kernel: [ =A0534.578644] =A0[<ffffffff813107e7>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_evict_inode+0x27/0x1e0Feb 14 02:02:49 lupus kernel: [ =A0534.578663] =A0[<ffffffff810fc3aa>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
evict+0x1a/0xa0Feb 14 02:02:49 lupus kernel: [ =A0534.578678] =A0[<ffffffff810fc6bd>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
iput+0x1cd/0x2b0Feb 14 02:02:49 lupus kernel: [ =A0534.578694] =A0[<ffffffff810f266f>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
do_unlinkat+0x12f/0x1d0Feb 14 02:02:49 lupus kernel: [ =A0534.578712] =A0[<ffffffff810027bb>=
]
Quoted 89 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
system_call_fastpath+0x16/0x1bFeb 14 02:02:49 lupus kernel: [ =A0534.578730] Code: 55 b8 ff 00 0000
Quoted 1 line
Quoted 1 line
Quoted 1 line
53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00
00
Quoted 1 line
Quoted 1 line
Quoted 1 line
85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00
00
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
48 89 06 84 c9 48 8b 85 68 fe ff ff
Feb 14 02:02:49 lupus kernel: [ =A0534.578986] RIP=A0[<ffffffff81338cbb>]
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_encode_fh+0x2b/0x110Feb 14 02:02:49 lupus kernel: [ =A0534.579081] =A0RSP<
ffff88023ea9dcc8>Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Feb 14 02:02:49 lupus kernel: [ =A0534.579093] CR2: 0000000037610050 Feb 14 02:02:49 lupus kernel: [ =A0534.587513] ---[ end trace
c596b12e66c0b360]---for reference I've pasted it to pastebin.com:
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
"2.6.37_zcache_V2.patch"
http://pastebin.com/cVSkwQ6Mafter the reboot I had forgotten to not mount the btrfs volume and
it
Quoted 1 line
Quoted 1 line
Quoted 1 line
threw a similar error-message again and remounted several
partitions
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
read-only (including the system partition)
the partition with btrfs (/usr/gentoo) couldn't be unmounted sincethe
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
umount process kind of hang
so here's the error message after a reboot (might not be accurate
or
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
kind of "skewed" since other patches are included (io-less dirty throttling, PATCH] fix (latent?) memory corruption in
btrfs_encode_fh()and latest changes for btrfs)) but might help toget
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
some more evidence:
Feb 14 02:05:46 lupus kernel: [ =A0 63.922648] device fsid 684a4213565dd3fe-ca991821badc2aac devid 1 transid 13 /dev/mapper/portage Feb 14 02:05:46 lupus kernel: [ =A0 64.047118] btrfs: unlinked 1orphans
Quoted 1 line
Quoted 1 line
Quoted 1 line
Feb 14 02:05:46 lupus kernel: [ =A0 64.051956] zcache: createdephemeral
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
tmem pool, id=3D3
Feb 14 02:05:48 lupus kernel: [ =A0 65.801364] hub 2-1:1.0:
hub_suspendQuoted 3 lines
Quoted 3 lines
Quoted 3 lines
Feb 14 02:05:48 lupus kernel: [ =A0 65.801376] usb 2-1: unlink qh256-0001/ffff88023fefd180 start 1 [1/0 us] Feb 14 02:05:48 lupus kernel: [ =A0 65.801559] usb 2-1: usb auto-suspend
Quoted 1 line
Quoted 1 line
Quoted 1 line
Feb 14 02:05:50 lupus kernel: [ =A0 67.797929] hub 2-0:1.0:
hub_suspendQuoted 1 line
Quoted 1 line
Quoted 1 line
Feb 14 02:05:50 lupus kernel: [ =A0 67.797939] usb usb2: bus auto-suspend
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Feb 14 02:05:50 lupus kernel: [ =A0 67.797942] ehci_hcd 0000:00:1d.0: suspend root hub Feb 14 02:05:52 lupus kernel: [ =A0 70.050493] BUG: unable to handle kernel paging request at 0000030341ed0050 Feb 14 02:05:52 lupus kernel: [ =A0 70.050670] IP:[<
ffffffff8133ef1b>]Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
btrfs_encode_fh+0x2b/0x120Feb 14 02:05:52 lupus kernel: [ =A0 70.050807] PGD 0 Feb 14 02:05:52 lupus kernel: [ =A0 70.050929] Oops: 0000 [#1]PREEMPT SMP
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Feb 14 02:05:52 lupus kernel: [ =A0 70.051223] last sysfs file: /sys/module/pcie_aspm/parameters/policy Feb 14 02:05:52 lupus kernel: [ =A0 70.051365] CPU 6 Feb 14 02:05:52 lupus kernel: [ =A0 70.051411] Modules linked in:
ipt_REJECTipt_LOGxt_limitxt_tcpudpxt_statenf_nat_ircnf_conntrack_ircnf_nat_ftpnf_natnf_conntrack_ipv4nf_defrag_ipv4nf_conntrack_ftpiptable_filteript_addrtypext_DSCPxt_dscpxt_iprangeip_tablesip6table_filterxt_NFQUEUExt_owner
xt_hashlimitQuoted 1 line
Quoted 1 line
Quoted 1 line
xt_conntrackxt_markxt_multiportxt_connmarknf_conntrack
xt_stringQuoted 1 line
Quoted 1 line
Quoted 1 line
ip6_tablesx_tablesit87hwmon_vidcoretempsnd_seq_dummy
snd_seq_ossQuoted 2 lines
Quoted 2 lines
Quoted 2 lines
snd_seq_midi_eventsnd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_osssnd_hda_codec_hdmisnd_hda_codec_realteksnd_hda_intel
Quoted 28 lines
snd_hda_codecQuoted 1 line
Quoted 1 line
Quoted 1 line
snd_hwdepsnd_pcmsnd_timersndi2c_i801soundcore wmi shpchpe1000e
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
snd_page_alloclibphy e1000scsi_wait_scansl811_hcdohci_hcdssbusb_storageehci_hcd[last unloaded: tg3]Feb 14 02:05:52 lupus kernel: [ =A0 70.054694] Feb 14 02:05:52 lupus kernel: [ =A0 70.054776] Pid: 7962, comm:umount
Quoted 20 lines
Quoted 20 lines
Quoted 20 lines
Not tainted 2.6.37-plus_v16_zcache #4 FMP55/ipower G3710
Feb 14 02:05:52 lupus kernel: [ =A0 70.054912] RIP: 0010:[<ffffffff8133ef1b>] =A0[<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:05:52 lupus kernel: [ =A0 70.055084] RSP: 0018:ffff88023c77d6f8 =A0EFLAGS: 00010246 Feb 14 02:05:52 lupus kernel: [ =A0 70.055173] RAX: 00000000000000ff RBX: ffff88023cde0168 RCX: 0000000000000000 Feb 14 02:05:52 lupus kernel: [ =A0 70.055265] RDX: ffff88023c77d734 RSI: ffff88023c77d768 RDI: 0000000000000006 Feb 14 02:05:52 lupus kernel: [ =A0 70.055357] RBP: 0000030341ed0000 R08: ffffffff8133eef0 R09: ffff88023c77d8d8 Feb 14 02:05:52 lupus kernel: [ =A0 70.055448] R10: 0000000000000003 R11: 0000000000000001 R12: 00000000ffffffff Feb 14 02:05:52 lupus kernel: [ =A0 70.055540] R13: ffff88023cde0030 R14: ffffea0007dd39f0 R15: 0000000000000001 Feb 14 02:05:52 lupus kernel: [ =A0 70.055633] FS: 00007fb1cad04760(0000) GS:ffff8800bf580000(0000) knlGS:0000000000000000 Feb 14 02:05:52 lupus kernel: [ =A0 70.055762] CS: =A00010 DS: 0000 E=
S:
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
0000 CR0:
000000008005003bFeb 14 02:05:52 lupus kernel: [ =A0 70.055851] CR2: 0000030341ed0050 CR3: 000000023c7d5000 CR4: 00000000000006e0 Feb 14 02:05:52 lupus kernel: [ =A0 70.055943] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 02:05:52 lupus kernel: [ =A0 70.056035] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 02:05:52 lupus kernel: [ =A0 70.056128] Process umount (pid: 7962, threadinfo ffff88023c77c000, task ffff88023c7a4260) Feb 14 02:05:52 lupus kernel: [ =A0 70.056257] Stack:
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Feb 14 02:05:52 lupus kernel: [ =A0 70.056338] =A00000000000000000 0000000000000002 ffff880200000000 0000000000000003 Feb 14 02:05:52 lupus kernel: [ =A0 70.056630] =A0ffffea0007dd39f0 ffffffff810e6aaa ffff880200000041 0000000600000246 Feb 14 02:05:52 lupus kernel: [ =A0 70.056922] =A0ffff88023cdcd300 ffffffff810e6b3a 0000000000000001 ffffffff8132bb7c Feb 14 02:05:52 lupus kernel: [ =A0 70.057213] Call Trace: Feb 14 02:05:52 lupus kernel: [ =A0 70.057301] =A0[<ffffffff810e6aaa>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
cleancache_get_key+0x4a/0x60Feb 14 02:05:52 lupus kernel: [ =A0 70.057393] =A0[<ffffffff810e6b3a>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__cleancache_get_page+0x7a/0xd0Feb 14 02:05:52 lupus kernel: [ =A0 70.057487] =A0[<ffffffff8132bb7c>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
merge_state+0x7c/0x150Feb 14 02:05:52 lupus kernel: [ =A0 70.057579] =A0[<ffffffff8132e4de>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__extent_read_full_page+0x52e/0x710Feb 14 02:05:52 lupus kernel: [ =A0 70.057673] =A0[<ffffffff813bdea4>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
rb_insert_color+0xa4/0x140Feb 14 02:05:52 lupus kernel: [ =A0 70.057766] =A0[<ffffffff8134b0b6>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
tree_insert+0x86/0x1e0Feb 14 02:05:52 lupus kernel: [ =A0 70.057859] =A0[<ffffffff81058c73>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
lock_timer_base.clone.22+0x33/0x70
Feb 14 02:05:52 lupus kernel: [ =A0 70.058004] =A0[<ffffffff81305060>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btree_get_extent+0x0/0x1c0Feb 14 02:05:52 lupus kernel: [ =A0 70.058097] =A0[<ffffffff81330b21>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
read_extent_buffer_pages+0x2d1/0x470Feb 14 02:05:52 lupus kernel: [ =A0 70.058191] =A0[<ffffffff81305060>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btree_get_extent+0x0/0x1c0Feb 14 02:05:52 lupus kernel: [ =A0 70.058283] =A0[<ffffffff8130674d>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btree_read_extent_buffer_pages.clone.65+0x4d/0xa0
Feb 14 02:05:52 lupus kernel: [ =A0 70.058415] =A0[<ffffffff813076f9>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
read_tree_block+0x39/0x60Feb 14 02:05:52 lupus kernel: [ =A0 70.058508] =A0[<ffffffff812ed5e6>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
read_block_for_search.clone.40+0x116/0x410
Feb 14 02:05:52 lupus kernel: [ =A0 70.058638] =A0[<ffffffff812eb228>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_cow_block+0x118/0x2b0Feb 14 02:05:52 lupus kernel: [ =A0 70.058731] =A0[<ffffffff812f0bc7>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_search_slot+0x307/0xa00Feb 14 02:05:52 lupus kernel: [ =A0 70.058823] =A0[<ffffffff812f6b18>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
lookup_inline_extent_backref+0x98/0x4a0Feb 14 02:05:52 lupus kernel: [ =A0 70.058919] =A0[<ffffffff810e33d7>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kmem_cache_alloc+0x87/0xa0Feb 14 02:05:52 lupus kernel: [ =A0 70.059032] =A0[<ffffffff812f891c>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__btrfs_free_extent+0xcc/0x6f0Feb 14 02:05:52 lupus kernel: [ =A0 70.059125] =A0[<ffffffff812fc4cf>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
run_clustered_refs+0x39f/0x880Feb 14 02:05:52 lupus kernel: [ =A0 70.059220] =A0[<ffffffff810b1f98>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
pagevec_lookup_tag+0x18/0x20Feb 14 02:05:52 lupus kernel: [ =A0 70.059312] =A0[<ffffffff810a7c81>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
filemap_fdatawait_range+0x91/0x180Feb 14 02:05:52 lupus kernel: [ =A0 70.059405] =A0[<ffffffff812fca77>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_run_delayed_refs+0xc7/0x220Feb 14 02:05:52 lupus kernel: [ =A0 70.059498] =A0[<ffffffff8130c29c>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_commit_transaction+0x7c/0x760Feb 14 02:05:52 lupus kernel: [ =A0 70.059591] =A0[<ffffffff81067ea0>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
autoremove_wake_function+0x0/0x30Feb 14 02:05:52 lupus kernel: [ =A0 70.059683] =A0[<ffffffff8130cdef>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
start_transaction+0x1bf/0x270Feb 14 02:05:52 lupus kernel: [ =A0 70.059775] =A0[<ffffffff8110e96a>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__sync_filesystem+0x5a/0x90Feb 14 02:05:52 lupus kernel: [ =A0 70.059867] =A0[<ffffffff810eae8d>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
generic_shutdown_super+0x2d/0x100Feb 14 02:05:52 lupus kernel: [ =A0 70.059960] =A0[<ffffffff810eafb9>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kill_anon_super+0x9/0x50Feb 14 02:05:52 lupus kernel: [ =A0 70.060051] =A0[<ffffffff810eb266>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
deactivate_locked_super+0x26/0x80Feb 14 02:05:52 lupus kernel: [ =A0 70.060144] =A0[<ffffffff811043ea>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
sys_umount+0x7a/0x390Feb 14 02:05:52 lupus kernel: [ =A0 70.060235] =A0[<ffffffff810027bb>=
]
Quoted 35 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
system_call_fastpath+0x16/0x1bFeb 14 02:05:52 lupus kernel: [ =A0 70.060325] Code: 55 b8 ff 00 0000
Quoted 1 line
Quoted 1 line
Quoted 1 line
53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00
00
Quoted 1 line
Quoted 1 line
Quoted 1 line
85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00
00
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
48 89 06 84 c9 48 8b 85 68 fe ff ff
Feb 14 02:05:52 lupus kernel: [ =A0 70.063170] RIP=A0[<ffffffff8133ef1b>]
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_encode_fh+0x2b/0x120Feb 14 02:05:52 lupus kernel: [ =A0 70.063302] =A0RSP<
ffff88023c77d6f8>Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Feb 14 02:05:52 lupus kernel: [ =A0 70.063386] CR2: 0000030341ed0050 Feb 14 02:05:52 lupus kernel: [ =A0 70.063528] ---[ end trace 3313552d105b1535 ]--- Feb 14 02:06:16 lupus kernel: [ =A0 93.961960] BUG: unable to handle kernel paging request at 0000030341ed0050 Feb 14 02:06:16 lupus kernel: [ =A0 93.962171] IP:[<
ffffffff8133ef1b>]Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
btrfs_encode_fh+0x2b/0x120Feb 14 02:06:16 lupus kernel: [ =A0 93.962307] PGD 0 Feb 14 02:06:16 lupus kernel: [ =A0 93.962430] Oops: 0000 [#2]PREEMPT SMP
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Feb 14 02:06:16 lupus kernel: [ =A0 93.962637] last sysfs file: /sys/devices/system/cpu/cpu7/cache/index2/shared_cpu_map Feb 14 02:06:16 lupus kernel: [ =A0 93.962766] CPU 5 Feb 14 02:06:16 lupus kernel: [ =A0 93.962812] Modules linked in:
ipt_REJECTipt_LOGxt_limitxt_tcpudpxt_statenf_nat_ircnf_conntrack_ircnf_nat_ftpnf_natnf_conntrack_ipv4nf_defrag_ipv4nf_conntrack_ftpiptable_filteript_addrtypext_DSCPxt_dscpxt_iprangeip_tablesip6table_filterxt_NFQUEUExt_owner
xt_hashlimitQuoted 1 line
Quoted 1 line
Quoted 1 line
xt_conntrackxt_markxt_multiportxt_connmarknf_conntrack
Quoted 13 lines
xt_stringQuoted 1 line
Quoted 1 line
Quoted 1 line
ip6_tablesx_tablesit87hwmon_vidcoretempsnd_seq_dummy
snd_seq_ossQuoted 2 lines
Quoted 2 lines
Quoted 2 lines
snd_seq_midi_eventsnd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_osssnd_hda_codec_hdmisnd_hda_codec_realteksnd_hda_intel
snd_hda_codecQuoted 1 line
Quoted 1 line
Quoted 1 line
snd_hwdepsnd_pcmsnd_timersndi2c_i801soundcore wmi shpchpe1000e
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
snd_page_alloclibphy e1000scsi_wait_scansl811_hcdohci_hcdssbusb_storageehci_hcd[last unloaded: tg3]Feb 14 02:06:16 lupus kernel: [ =A0 93.966044] Feb 14 02:06:16 lupus kernel: [ =A0 93.966127] Pid: 7915, comm:btrfs-transacti Tainted: G =A0 =A0 =A0D =A0 =A0 2.6.37-plus_v16_zcach=
e #4
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
FMP55/ipower G3710
Feb 14 02:06:16 lupus kernel: [ =A0 93.966266] RIP: 0010:[<ffffffff8133ef1b>] =A0[<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:06:16 lupus kernel: [ =A0 93.966440] RSP: 0018:ffff88023c63b6e0 =A0EFLAGS: 00010246 Feb 14 02:06:16 lupus kernel: [ =A0 93.966528] RAX: 00000000000000ff RBX: ffff88023cde0168 RCX: 0000000000000000 Feb 14 02:06:16 lupus kernel: [ =A0 93.966620] RDX: ffff88023c63b71c RSI: ffff88023c63b750 RDI: 0000000000000006 Feb 14 02:06:16 lupus kernel: [ =A0 93.966713] RBP: 0000030341ed0000R08:
ffffffff8133eef0R09:ffff88023c63b8c0
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Feb 14 02:06:16 lupus kernel: [ =A0 93.966805] R10: 0000000000000003 R11: 0000000000000001 R12: 00000000ffffffff Feb 14 02:06:16 lupus kernel: [ =A0 93.966897] R13: ffff88023cde0030 R14: ffffea0007d59bc8 R15: 0000000000000001 Feb 14 02:06:16 lupus kernel: [ =A0 93.966990] FS: 0000000000000000(0000) GS:ffff8800bf540000(0000) knlGS:0000000000000000 Feb 14 02:06:16 lupus kernel: [ =A0 93.967120] CS: =A00010 DS: 0000 E=
S:
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
0000 CR0:
000000008005003bFeb 14 02:06:16 lupus kernel: [ =A0 93.967209] CR2: 0000030341ed0050 CR3: 0000000001c27000 CR4: 00000000000006e0 Feb 14 02:06:16 lupus kernel: [ =A0 93.967302] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 02:06:16 lupus kernel: [ =A0 93.967394] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 02:06:16 lupus kernel: [ =A0 93.967500] Process btrfs-
Quoted 11 lines
transacti
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
(pid: 7915, threadinfo
ffff88023c63a000, taskffff88023c7a1620)Feb 14 02:06:16 lupus kernel: [ =A0 93.967630] Stack: Feb 14 02:06:16 lupus kernel: [ =A0 93.967711] =A00000000000000000 0000000000000002 0000000000000000 0000000000000003 Feb 14 02:06:16 lupus kernel: [ =A0 93.968057] =A0ffffea0007d59bc8 ffffffff810e6aaa 0000000000000041 0000000600000002 Feb 14 02:06:16 lupus kernel: [ =A0 93.968348] =A00000000000000000 ffffffff810e6b3a 0000000000000001 ffffffff00000001 Feb 14 02:06:16 lupus kernel: [ =A0 93.968639] Call Trace: Feb 14 02:06:16 lupus kernel: [ =A0 93.968728] =A0[<ffffffff810e6aaa>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
cleancache_get_key+0x4a/0x60Feb 14 02:06:16 lupus kernel: [ =A0 93.968820] =A0[<ffffffff810e6b3a>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__cleancache_get_page+0x7a/0xd0Feb 14 02:06:16 lupus kernel: [ =A0 93.968914] =A0[<ffffffff8132e4de>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__extent_read_full_page+0x52e/0x710Feb 14 02:06:16 lupus kernel: [ =A0 93.969008] =A0[<ffffffff812f3f93>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
update_reserved_bytes+0xb3/0x140Feb 14 02:06:16 lupus kernel: [ =A0 93.969102] =A0[<ffffffff81305060>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btree_get_extent+0x0/0x1c0Feb 14 02:06:16 lupus kernel: [ =A0 93.969193] =A0[<ffffffff8132bb7c>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
merge_state+0x7c/0x150Feb 14 02:06:16 lupus kernel: [ =A0 93.969285] =A0[<ffffffff81330b21>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
read_extent_buffer_pages+0x2d1/0x470Feb 14 02:06:16 lupus kernel: [ =A0 93.969378] =A0[<ffffffff81305060>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btree_get_extent+0x0/0x1c0Feb 14 02:06:16 lupus kernel: [ =A0 93.969470] =A0[<ffffffff8130674d>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btree_read_extent_buffer_pages.clone.65+0x4d/0xa0
Feb 14 02:06:16 lupus kernel: [ =A0 93.969602] =A0[<ffffffff813076f9>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
read_tree_block+0x39/0x60Feb 14 02:06:16 lupus kernel: [ =A0 93.969694] =A0[<ffffffff812ed5e6>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
read_block_for_search.clone.40+0x116/0x410
Feb 14 02:06:16 lupus kernel: [ =A0 93.969878] =A0[<ffffffff812f0bc7>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_search_slot+0x307/0xa00Feb 14 02:06:16 lupus kernel: [ =A0 93.969970] =A0[<ffffffff812f6b18>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
lookup_inline_extent_backref+0x98/0x4a0Feb 14 02:06:16 lupus kernel: [ =A0 93.970065] =A0[<ffffffff810e33d7>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kmem_cache_alloc+0x87/0xa0Feb 14 02:06:16 lupus kernel: [ =A0 93.970157] =A0[<ffffffff812f891c>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__btrfs_free_extent+0xcc/0x6f0Feb 14 02:06:16 lupus kernel: [ =A0 93.970249] =A0[<ffffffff812f8434>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
update_block_group.clone.62+0xc4/0x280
Feb 14 02:06:16 lupus kernel: [ =A0 93.970343] =A0[<ffffffff812fc4cf>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
run_clustered_refs+0x39f/0x880Feb 14 02:06:16 lupus kernel: [ =A0 93.970436] =A0[<ffffffff812fca77>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_run_delayed_refs+0xc7/0x220Feb 14 02:06:16 lupus kernel: [ =A0 93.970529] =A0[<ffffffff810e15f9>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
new_slab+0x169/0x1f0Feb 14 02:06:16 lupus kernel: [ =A0 93.970619] =A0[<ffffffff8130c29c>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_commit_transaction+0x7c/0x760Feb 14 02:06:16 lupus kernel: [ =A0 93.970713] =A0[<ffffffff81067ea0>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
autoremove_wake_function+0x0/0x30Feb 14 02:06:16 lupus kernel: [ =A0 93.970806] =A0[<ffffffff81305bc3>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
transaction_kthread+0x283/0x2a0Feb 14 02:06:16 lupus kernel: [ =A0 93.970898] =A0[<ffffffff81305940>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
transaction_kthread+0x0/0x2a0Feb 14 02:06:16 lupus kernel: [ =A0 93.970990] =A0[<ffffffff81305940>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
transaction_kthread+0x0/0x2a0Feb 14 02:06:16 lupus kernel: [ =A0 93.971083] =A0[<ffffffff81067a16>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kthread+0x96/0xa0Feb 14 02:06:16 lupus kernel: [ =A0 93.971174] =A0[<ffffffff81003514>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kernel_thread_helper+0x4/0x10Feb 14 02:06:16 lupus kernel: [ =A0 93.971266] =A0[<ffffffff81067980>=
]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kthread+0x0/0xa0Feb 14 02:06:16 lupus kernel: [ =A0 93.971355] =A0[<ffffffff81003510>=
]
Quoted 75 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kernel_thread_helper+0x0/0x10Feb 14 02:06:16 lupus kernel: [ =A0 93.971444] Code: 55 b8 ff 00 0000
Quoted 1 line
Quoted 1 line
Quoted 1 line
53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00
00
Quoted 1 line
Quoted 1 line
Quoted 1 line
85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00
00
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
48 89 06 84 c9 48 8b 85 68 fe ff ff
Feb 14 02:06:16 lupus kernel: [ =A0 93.974280] RIP=A0[<ffffffff8133ef1b>]
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_encode_fh+0x2b/0x120Feb 14 02:06:16 lupus kernel: [ =A0 93.974412] =A0RSP<
ffff88023c63b6e0>Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Feb 14 02:06:16 lupus kernel: [ =A0 93.974497] CR2: 0000030341ed0050 Feb 14 02:06:16 lupus kernel: [ =A0 93.974599] ---[ end trace 3313552d105b1536 ]--- Feb 14 02:07:04 lupus kernel: [ =A0141.906124] zcache: destroyed poolid=3D2
Quoted 1 line
Quoted 1 line
Quoted 1 line
Feb 14 02:07:17 lupus kernel: [ =A0154.783358] SysRq : Keyboard modeset
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
to system default
Feb 14 02:07:18 lupus kernel: [ =A0155.486147] SysRq : Terminate AllTasks
Quoted 9 lines
Quoted 9 lines
Quoted 8 lines
That's all for now
Thanks & Regards
Matt
Quoted 7 lines
Quoted 7 lines
(leaving out several folks from the CC to avoid spamming - if I left out someone wrongfully please re-add)
running an addr2line reveals:
addr2line -e
/usr/src/linux-2.6.37_vanilla/vmlinux-i
ffffffff81338cbbQuoted 6 lines
Quoted 6 lines
export.c:0
hope that helps
Quoted 8 lines
Quoted 4 lines
Regards
Matt
Just my guessing. I might be wrong.
__cleancache_flush_inodecallscleancache_get_keywith
cleancache_filekey.Quoted 7 lines
cleancache_file_key's size is just 6 * u32.
cleancache_get_keycallsbtrfs_encode_fhwith the key. butbtrfs_encode_fhdoes typecasting the key tobtrfs_fidwhich is bigger size than cleancache_filekey's one so it should not access fields beyondcleancache_get_key.I think some file systems use extend fid so in there, this problem
can
Quoted 11 lines
happen. I don't know why we can't find it earlier. Maybe Dan and others test it for a long time.
Am I missing something?
--
Kind regards,
Minchan Kim
Quoted 9 lines
=20
reposting Minchan's message for reference to the btrfs mailing list while also adding
=20
Li Zefan, Miao Xie, Yan Zheng, Dan Rosenberg and Josef Bacik to CC =20
Regards
=20
Matt
Hi Matt and Minchan --
(BTRFS EXPERTS SEE *** BELOW)
I definitely see a bug in cleancache_get_key in the monolithic zcache+cleancache+frontswap patch I posted on oss.oracle.com that is corrected in linux-next but I don't see how it could get provoked by btrfs.
The bug is that, in cleancache_get_key, the return value of fhfn should be checked against 255. If the return value is 255, cleancache_get_key should return -1. This should disable cleancache for any filesystem where KEY_MAX is too large.
But cleancache_get_key always calls fhfn with connectable =3D=3D 0 and CLEANCACHE_KEY_MAX=3D=3D6 should be greater than BTRFS_FID_SIZE_CONNECTABLE (which I think should be 5?). And the elements written into the typecast btrfs_fid should be only writing the first 5 32-bit words.
So if the problem is the one Minchan suggests, I am confused. Matt, can you first confirm that you are using the cleancache patches from my monolithic patch from oss.oracle.com (which I think you are)?
***
Looking over the stacktrace and the code, I have an alternate theory. I wonder if it is ever possible the inode->dentry list is empty (or corrupt)? list_first_entry() assumes the list is non-empty. If this is possible and unusual, maybe my testing didn't see the problem?
Thanks,
Dan
P.S. For those new to cleancache, the code is in linux-next here:
http://git.kernel.org/?p=3Dlinux/kernel/git/sfr/linux-next.git;a=3Dblob;f=
=3Dmm/cleancache.c;h=3Df545eb8f11180cfb3aaf3f4f85a5255be8f9f881;hb=3Da57cb3= bc013d2e262a663df50af6a9e7cc88bdad=20
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 114 lines · Dan Magenheimer
Quoted 114 lines
-----Original Message-----
From: Matt [mailto:[email protected]]
Sent: Tuesday, February 15, 2011 5:12 PM
To: Minchan Kim
Cc: Dan Magenheimer; [email protected]; Chris Mason; linux- [email protected]; [email protected]; [email protected]; linux- [email protected]; Josef Bacik; Dan Rosenberg; Yan Zheng; [email protected]; Li Zefan
Subject: Re: [PATCH V2 0/3]drivers/staging: zcache: dynamic page cache/swap compressionQuoted 3 lines · Minchan Kim
Quoted 2 lines · Matt
Quoted 1 line · Matt
On Mon, Feb 14, 2011 at 12:08 AM, Matt <[email protected]>
Quoted 10 lines · wrote:
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
On Wed, Feb 9, 2011 at 1:03 AM, Dan Magenheimer
<[email protected]> wrote:
[snip]Quoted 6 lines
If I've missed anything important, please let me know!
Thanks again!
DanQuoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Hi Dan,
thank you so much for answering my email in such detail !
I shall pick up on that mail in my next email sending to the
mailing list :)
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
currently I've got a problem with btrfs which seems to get
triggered
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
by cleancache get-operations:
Feb 14 00:37:19 lupus kernel: [ 2831.297377] device fsid 354120c992a00761-5fa07d400126a895 devid 1 transid 7 /dev/mapper/portage Feb 14 00:37:19 lupus kernel: [ 2831.297698] btrfs: enabling diskspace caching
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Feb 14 00:37:19 lupus kernel: [ 2831.297700] btrfs: force lzocompression
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Feb 14 00:37:19 lupus kernel: [ 2831.315844] zcache: createdephemeral
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
tmem pool, id=3D3
Feb 14 00:39:20 lupus kernel: [ 2951.853188] BUG: unable to handle kernel paging request at 0000000001400050 Feb 14 00:39:20 lupus kernel: [ 2951.853219] IP:[<
ffffffff8133ef1b>]Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
btrfs_encode_fh+0x2b/0x120Feb 14 00:39:20 lupus kernel: [ 2951.853242] PGD 0 Feb 14 00:39:20 lupus kernel: [ 2951.853251] Oops: 0000 [#1]PREEMPT SMP
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Feb 14 00:39:20 lupus kernel: [ 2951.853275] last sysfs file: /sys/devices/platform/coretemp.3/temp1_input Feb 14 00:39:20 lupus kernel: [ 2951.853295] CPU 4 Feb 14 00:39:20 lupus kernel: [ 2951.853303] Modules linked in:radeon
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
ttm
drm_kms_helpercfbcopyarea cfbimgblt cfbfillrectipt_REJECTipt_LOGxt_limitxt_tcpudpxt_statenf_nat_ircnf_conntrack_ircnf_nat_ftpnf_natnf_conntrack_ipv4nf_defrag_ipv4
nf_conntrack_ftpQuoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
iptable_filteript_addrtypext_DSCPxt_dscpxt_iprangeip_tablesip6table_filterxt_NFQUEUExt_ownerxt_hashlimitxt_conntrack
xt_markQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
xt_multiportxt_connmarknf_conntrackxt_stringip6_tables
x_tablesQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
it87
hwmon_vidcoretempsnd_seq_dummysnd_seq_oss
snd_seq_midi_eventQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
snd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_oss
snd_hda_codec_hdmiQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
snd_hda_codec_realteksnd_hda_intelsnd_hda_codecsnd_hwdep
snd_pcmQuoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
snd_timersnd soundcorei2c_i801wmi e1000e shpchpsnd_page_alloclibphy e1000scsi_wait_scansl811_hcdohci_hcdssbusb_storageehci_hcd[last unloaded: tg3]Feb 14 00:39:20 lupus kernel: [ 2951.853682] Feb 14 00:39:20 lupus kernel: [ 2951.853690] Pid: 11394, comm: btrfs-transacti Not tainted 2.6.37-plus_v16_zcache #4 FMP55/ipower G3710 Feb 14 00:39:20 lupus kernel: [ 2951.853725] RIP: 0010:[<ffffffff8133ef1b>] =A0[<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 00:39:20 lupus kernel: [ 2951.853751] RSP: 0018:ffff880129a11b00 =A0EFLAGS: 00010246 Feb 14 00:39:20 lupus kernel: [ 2951.853767] RAX: 00000000000000ff RBX: ffff88014a1ce628 RCX: 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853788] RDX: ffff880129a11b3c RSI: ffff880129a11b70 RDI: 0000000000000006 Feb 14 00:39:20 lupus kernel: [ 2951.853808] RBP: 0000000001400000R08:
ffffffff8133eef0R09:ffff880129a11c68Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Feb 14 00:39:20 lupus kernel: [ 2951.853829] R10: 0000000000000001 R11: 0000000000000001 R12: ffff88014a1ce780 Feb 14 00:39:20 lupus kernel: [ 2951.853849] R13: ffff88021fefc000 R14: ffff88021fef9000 R15: 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853870] FS: 0000000000000000(0000) GS:ffff8800bf500000(0000) knlGS:0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853894] CS: =A00010 DS: 0000ES:
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
0000 CR0:
000000008005003bFeb 14 00:39:20 lupus kernel: [ 2951.853911] CR2: 0000000001400050 CR3: 0000000001c27000 CR4: 00000000000006e0 Feb 14 00:39:20 lupus kernel: [ 2951.853932] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853952] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 00:39:20 lupus kernel: [ 2951.853973] Process btrfs-transacti
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
(pid: 11394, threadinfo
ffff880129a10000, taskffff880202e4ac40)Feb 14 00:39:20 lupus kernel: [ 2951.853999] Stack: Feb 14 00:39:20 lupus kernel: [ 2951.854006] =A0ffff880129a11b50 ffff880000000003 ffff88003c60a098 0000000000000003 Feb 14 00:39:20 lupus kernel: [ 2951.854035] =A0ffffffffffffffff ffffffff810e6aaa 0000000000000000 0000000602e4ac40 Feb 14 00:39:20 lupus kernel: [ 2951.854063] =A0ffffffff8133e3f0 ffffffff810e6cee 0000000000001000 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.854092] Call Trace: Feb 14 00:39:20 lupus kernel: [ 2951.854103] =A0[<ffffffff810e6aaa>=
]
Quoted 3 lines
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
cleancache_get_key+0x4a/0x60Feb 14 00:39:20 lupus kernel: [ 2951.854122] =A0[<ffffffff8133e3f0>=
]
Quoted 3 lines
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_wake_function+0x0/0x20Feb 14 00:39:20 lupus kernel: [ 2951.854140] =A0[<ffffffff810e6cee>=
]
Quoted 3 lines
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__cleancache_flush_inode+0x3e/0x70Feb 14 00:39:20 lupus kernel: [ 2951.854161] =A0[<ffffffff810b34d2>=
]
Quoted 3 lines
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
truncate_inode_pages_range+0x42/0x440Feb 14 00:39:20 lupus kernel: [ 2951.854182] =A0[<ffffffff812f115e>=
]
Quoted 3 lines
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_search_slot+0x89e/0xa00Feb 14 00:39:20 lupus kernel: [ 2951.854201] =A0[<ffffffff810c3a45>=
]
Quoted 3 lines
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
unmap_mapping_range+0xc5/0x2a0Feb 14 00:39:20 lupus kernel: [ 2951.854220] =A0[<ffffffff810b3930>=
]
Quoted 3 lines
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
truncate_pagecache+0x40/0x70Feb 14 00:39:20 lupus kernel: [ 2951.854240] =A0[<ffffffff813458b1>=
]
Quoted 3 lines
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_truncate_free_space_cache+0x81/0xe0Feb 14 00:39:20 lupus kernel: [ 2951.854261] =A0[<ffffffff812fce15>=
]
Quoted 3 lines
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_write_dirty_block_groups+0x245/0x500Feb 14 00:39:20 lupus kernel: [ 2951.854283] =A0[<ffffffff812fcb6a>=
]
Quoted 3 lines
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_run_delayed_refs+0x1ba/0x220Feb 14 00:39:20 lupus kernel: [ 2951.854304] =A0[<ffffffff8130afff>=
]
Quoted 3 lines
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
commit_cowonly_roots+0xff/0x1d0Feb 14 00:39:20 lupus kernel: [ 2951.854323] =A0[<ffffffff8130c583>=
]
Quoted 3 lines
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_commit_transaction+0x363/0x760Feb 14 00:39:20 lupus kernel: [ 2951.854344] =A0[<ffffffff81067ea0>=
]
Quoted 3 lines
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
autoremove_wake_function+0x0/0x30Feb 14 00:39:20 lupus kernel: [ 2951.854364] =A0[<ffffffff81305bc3>=
]
Quoted 3 lines
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
transaction_kthread+0x283/0x2a0Feb 14 00:39:20 lupus kernel: [ 2951.854383] =A0[<ffffffff81305940>=
]
Quoted 3 lines
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
transaction_kthread+0x0/0x2a0Feb 14 00:39:20 lupus kernel: [ 2951.854401] =A0[<ffffffff81305940>=
]
Quoted 3 lines
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
transaction_kthread+0x0/0x2a0Feb 14 00:39:20 lupus kernel: [ 2951.854420] =A0[<ffffffff81067a16>=
]
Quoted 3 lines
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kthread+0x96/0xa0Feb 14 00:39:20 lupus kernel: [ 2951.854437] =A0[<ffffffff81003514>=
]
Quoted 3 lines
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kernel_thread_helper+0x4/0x10Feb 14 00:39:20 lupus kernel: [ 2951.854455] =A0[<ffffffff81067980>=
]
Quoted 3 lines
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kthread+0x0/0xa0Feb 14 00:39:20 lupus kernel: [ 2951.854471] =A0[<ffffffff81003510>=
]
Quoted 173 lines
Quoted 173 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kernel_thread_helper+0x0/0x10Feb 14 00:39:20 lupus kernel: [ 2951.854488] Code: 55 b8 ff 00 0000
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00
00
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00
00 00
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
48 89 06 84 c9 48 8b 85 68 fe ff ff
Feb 14 00:39:20 lupus kernel: [ 2951.854742] RIP=A0[<ffffffff8133ef1b>]
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_encode_fh+0x2b/0x120Feb 14 00:39:20 lupus kernel: [ 2951.854762] =A0RSP<
ffff880129a11b00>Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
Feb 14 00:39:20 lupus kernel: [ 2951.854773] CR2: 0000000001400050 Feb 14 00:39:20 lupus kernel: [ 2951.860906] ---[ end trace
f831c5ceeaa49287]---in my case I had compress-force with lzo and
disk_cacheenabledanother user of the kernel I'm currently running has had the same problem with zcache
(http://forums.gentoo.org/viewtopic-p-6571799.html#6571799)(looks like in his case compression and any other fancy additional features weren't enabled)
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
changes made by this kernel or patchset to btrfs are from
* io-less dirty throttling patchset (44 patches)
* zcache V2 ("[PATCH] staging: zcache: fix memory leak" should be applied in both cases)
* PATCH] fix (latent?) memory corruption inbtrfs_encode_fh()
* btrfs-unstable changes to state of3a90983dbdcb2f4f48c0d771d8e5b4d88f27fae6(so practically equalsbtrfs
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
from 2.6.38-rc4+)
I haven't tried downgrading to vanilla 2.6.37 with zcache only,
yet,
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
but kind of upgraded btrfs to the latest state of the btrfs-
unstable
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
repository
(http://git.eu.kernel.org/?p=3Dlinux/kernel/git/mason/btrfs-
unstable.git;a=3Dsummary)Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
namely
3a90983dbdcb2f4f48c0d771d8e5b4d88f27fae6this also didn't help and seemed to produce the same error-message
so to summarize:
1) error message appearing with all 4 patchsets applied changing btrfs-code and compress-force=3Dlzo and
disk_cacheenabled2) error message appearing with default mount-options and btrfs
from
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
2.6.37 and changes for zcache & io-less dirty throttling patchset applied (first 2 patch(sets)) from list)
in my case I tried to extract / play back a 1.7 GiB tarball of my portage-directory (lots of small files and some tar.bzip2
archives)
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
via pbzip2 or 7z when the error happened and the message was shown
Due to KMS sound (webradio streaming) was still running but I
couldn't
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
continue work (X switching to kernel output) so I did the magic
sysrq
Quoted 14 lines
Quoted 14 lines
Quoted 14 lines
Quoted 12 lines
combo (reisub)
Does that BUG message ring a bell for anyone ?
(if I should leave out anyone from the CC in the next emails or future, please holler - I don't want to spam your inboxes)
Thanks
Matt
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
OK,
here's the output of a kernel -
staying as close to vanilla (2.6.37) as the current situation
allows
Quoted 22 lines
Quoted 22 lines
Quoted 22 lines
(only including some corruption or leak fixes for zram & zcache and "
zram_xvmalloc: 64K page fixes and optimizations" (and 2 reiserfs fixes)):so in total the following patches are included in this new kernel (2.6.37-zcache):
zram changes:
1 zram: Fix sparse warning 'Using plain integer as NULL pointer' 2 [PATCH] zram: fix data corruption issue
3 [PATCH 0/7][v2]zram_xvmalloc: 64K page fixes and optimizationszcache:
1 zcache-linux-2.6.37-110205
2 [PATCH] staging: zcache: fix memory leak
3 [PATCH] zcache: Fix build error when sysfs is not definedreiserfs:
1 [PATCH] reiserfs: Make sureva_end()is always called after 2 [patch] reiserfs: potentialERR_PTRdereferenceQuoted 5 lines
Quoted 5 lines
Quoted 5 lines
the same procedure:
trying to extract the mentioned portage-tarball:
time (7z e -so -tbzip2 -mmt=3D5 /system/portage_backup_022011.tbz2 |
tar
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
-xp -C
/usr/gentoo/)this hopefully should make it easier to track down the problem:
Feb 14 01:59:59 lupus kernel: [ =A0364.777143] device fsid 684a4213565dd3fe-ca991821badc2aac devid 1 transid 7 /dev/mapper/portage Feb 14 01:59:59 lupus kernel: [ =A0364.844994] zcache: createdephemeral
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
tmem pool, id=3D2
Feb 14 02:02:49 lupus kernel: [ =A0534.577573] BUG: unable to handle kernel paging request at 0000000037610050 Feb 14 02:02:49 lupus kernel: [ =A0534.577605] IP:[<
ffffffff81338cbb>]Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
btrfs_encode_fh+0x2b/0x110Feb 14 02:02:49 lupus kernel: [ =A0534.577630] PGD 0 Feb 14 02:02:49 lupus kernel: [ =A0534.577640] Oops: 0000 [#1]PREEMPT SMP
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Feb 14 02:02:49 lupus kernel: [ =A0534.577665] last sysfs file: /sys/devices/system/cpu/cpu7/cache/index2/shared_cpu_map Feb 14 02:02:49 lupus kernel: [ =A0534.577693] CPU 5 Feb 14 02:02:49 lupus kernel: [ =A0534.577701] Modules linked in:radeon
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
ttm
drm_kms_helpercfbcopyarea cfbimgblt cfbfillrectipt_REJECTipt_LOGxt_limitxt_tcpudpxt_statenf_nat_ircnf_conntrack_ircnf_nat_ftpnf_natnf_conntrack_ipv4nf_defrag_ipv4nf_conntrack_ftpiptable_filteript_addrtypext_DSCPxt_dscpxt_iprangeip_tablesip6table_filterxt_NFQUEUExt_ownerxt_hashlimitxt_conntrack
xt_markQuoted 2 lines
Quoted 2 lines
Quoted 2 lines
xt_multiportxt_connmarknf_conntrackxt_stringip6_tablesx_tablesit87hwmon_vidcoretempsnd_seq_dummysnd_seq_oss
snd_seq_midi_eventQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
snd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_osssnd_hda_codec_hdmisnd_hda_codec_realteksnd_hda_intelsnd_hda_codecsnd_hwdepsnd_pcmsnd_timersnd e1000e soundcorei2c_i801shpchpsnd_page_allocwmi libphy e1000scsi_wait_scansl811_hcdohci_hcdssbusb_storageehci_hcd[last unloaded: tg3]Feb 14 02:02:49 lupus kernel: [ =A0534.578114] Feb 14 02:02:49 lupus kernel: [ =A0534.578124] Pid: 8285, comm: tarNot
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
tainted 2.6.37-zcache #2 FMP55/ipower G3710
Feb 14 02:02:49 lupus kernel: [ =A0534.578146] RIP: 0010:[<ffffffff81338cbb>] =A0[<ffffffff81338cbb>] btrfs_encode_fh+0x2b/0x110 Feb 14 02:02:49 lupus kernel: [ =A0534.578172] RSP: 0018:ffff88023ea9dcc8 =A0EFLAGS: 00010246 Feb 14 02:02:49 lupus kernel: [ =A0534.578189] RAX: 00000000000000ff RBX: ffff8800b8643228 RCX: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ =A0534.578210] RDX: ffff88023ea9dd04 RSI: ffff88023ea9dd38 RDI: 0000000000000006 Feb 14 02:02:49 lupus kernel: [ =A0534.578230] RBP: 0000000037610000R08:
ffffffff81338c90R09: 0000000000000000
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Feb 14 02:02:49 lupus kernel: [ =A0534.578251] R10: 0000000000000019 R11: 0000000000000001 R12: ffff8800b8643380 Feb 14 02:02:49 lupus kernel: [ =A0534.578272] R13: ffff8800b8643258 R14: 00007fff806f1f00 R15: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ =A0534.578293] FS: 00007f823d7ed700(0000) GS:ffff8800bf540000(0000) knlGS:0000000000000000 Feb 14 02:02:49 lupus kernel: [ =A0534.578317] CS: =A00010 DS: 0000 =
ES:
Quoted 52 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
0000 CR0: 0000000080050033
Feb 14 02:02:49 lupus kernel: [ =A0534.578334] CR2: 0000000037610050 CR3: 000000023dcef000 CR4: 00000000000006e0 Feb 14 02:02:49 lupus kernel: [ =A0534.578356] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ =A0534.578377] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 02:02:49 lupus kernel: [ =A0534.578398] Process tar (pid:Quoted 11 lines
8285,
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
threadinfo
ffff88023ea9c000, taskffff88023e8b9d40)Feb 14 02:02:49 lupus kernel: [ =A0534.578421] Stack: Feb 14 02:02:49 lupus kernel: [ =A0534.578428] =A0000000013d096000 ffff88023ed84800 ffff88023ea9c000 0000000000000002 Feb 14 02:02:49 lupus kernel: [ =A0534.578458] =A0ffffffffffffffff ffffffff810e3b1a 0000000000000001 000000061e1d5240 Feb 14 02:02:49 lupus kernel: [ =A0534.578486] =A0fffffffffffffffb ffffffff810e3d5e ffff88010f383000 0000001ab86cb908 Feb 14 02:02:49 lupus kernel: [ =A0534.578514] Call Trace: Feb 14 02:02:49 lupus kernel: [ =A0534.578525] =A0[<ffffffff810e3b1a=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
cleancache_get_key+0x4a/0x60Feb 14 02:02:49 lupus kernel: [ =A0534.578544] =A0[<ffffffff810e3d5e=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__cleancache_flush_inode+0x3e/0x70Feb 14 02:02:49 lupus kernel: [ =A0534.578565] =A0[<ffffffff810b0ed2=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
truncate_inode_pages_range+0x42/0x440Feb 14 02:02:49 lupus kernel: [ =A0534.578586] =A0[<ffffffff81338451=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_tree_unlock+0x41/0x50Feb 14 02:02:49 lupus kernel: [ =A0534.578605] =A0[<ffffffff812e4ed5=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_release_path+0x15/0x70Feb 14 02:02:49 lupus kernel: [ =A0534.578624] =A0[<ffffffff8130bf29=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_run_delayed_iputs+0x49/0x120Feb 14 02:02:49 lupus kernel: [ =A0534.578644] =A0[<ffffffff813107e7=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_evict_inode+0x27/0x1e0Feb 14 02:02:49 lupus kernel: [ =A0534.578663] =A0[<ffffffff810fc3aa=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
evict+0x1a/0xa0Feb 14 02:02:49 lupus kernel: [ =A0534.578678] =A0[<ffffffff810fc6bd=]
Quoted 73 lines
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
iput+0x1cd/0x2b0Feb 14 02:02:49 lupus kernel: [ =A0534.578694] =A0[<ffffffff810f266f=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
do_unlinkat+0x12f/0x1d0Feb 14 02:02:49 lupus kernel: [ =A0534.578712] =A0[<ffffffff810027bb=]
Quoted 65 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
system_call_fastpath+0x16/0x1bFeb 14 02:02:49 lupus kernel: [ =A0534.578730] Code: 55 b8 ff 00 0000
Quoted 1 line
Quoted 1 line
Quoted 1 line
53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00
00
Quoted 1 line
Quoted 1 line
Quoted 1 line
85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00
00
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
48 89 06 84 c9 48 8b 85 68 fe ff ff
Feb 14 02:02:49 lupus kernel: [ =A0534.578986] RIP=A0[<ffffffff81338cbb>]
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_encode_fh+0x2b/0x110Feb 14 02:02:49 lupus kernel: [ =A0534.579081] =A0RSP<
ffff88023ea9dcc8>Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Feb 14 02:02:49 lupus kernel: [ =A0534.579093] CR2: 0000000037610050 Feb 14 02:02:49 lupus kernel: [ =A0534.587513] ---[ end trace
c596b12e66c0b360]---for reference I've pasted it to pastebin.com:
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
"2.6.37_zcache_V2.patch"
http://pastebin.com/cVSkwQ6Mafter the reboot I had forgotten to not mount the btrfs volume and
it
Quoted 1 line
Quoted 1 line
Quoted 1 line
threw a similar error-message again and remounted several
partitions
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
read-only (including the system partition)
the partition with btrfs (/usr/gentoo) couldn't be unmounted sincethe
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
umount process kind of hang
so here's the error message after a reboot (might not be accurate
or
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
kind of "skewed" since other patches are included (io-less dirty throttling, PATCH] fix (latent?) memory corruption in
btrfs_encode_fh()and latest changes for btrfs)) but might help toget
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
some more evidence:
Feb 14 02:05:46 lupus kernel: [ =A0 63.922648] device fsid 684a4213565dd3fe-ca991821badc2aac devid 1 transid 13 /dev/mapper/portage Feb 14 02:05:46 lupus kernel: [ =A0 64.047118] btrfs: unlinked 1orphans
Quoted 1 line
Quoted 1 line
Quoted 1 line
Feb 14 02:05:46 lupus kernel: [ =A0 64.051956] zcache: createdephemeral
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
tmem pool, id=3D3
Feb 14 02:05:48 lupus kernel: [ =A0 65.801364] hub 2-1:1.0:
hub_suspendQuoted 3 lines
Quoted 3 lines
Quoted 3 lines
Feb 14 02:05:48 lupus kernel: [ =A0 65.801376] usb 2-1: unlink qh256-0001/ffff88023fefd180 start 1 [1/0 us] Feb 14 02:05:48 lupus kernel: [ =A0 65.801559] usb 2-1: usb auto-suspend
Quoted 1 line
Quoted 1 line
Quoted 1 line
Feb 14 02:05:50 lupus kernel: [ =A0 67.797929] hub 2-0:1.0:
hub_suspendQuoted 1 line
Quoted 1 line
Quoted 1 line
Feb 14 02:05:50 lupus kernel: [ =A0 67.797939] usb usb2: bus auto-suspend
Quoted 1 line
Quoted 1 line
Quoted 1 line
Feb 14 02:05:50 lupus kernel: [ =A0 67.797942] ehci_hcd 0000:00:1d.0=
:
Quoted 44 lines
Quoted 44 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
suspend root hub
Feb 14 02:05:52 lupus kernel: [ =A0 70.050493] BUG: unable to handle kernel paging request at 0000030341ed0050 Feb 14 02:05:52 lupus kernel: [ =A0 70.050670] IP:[<
ffffffff8133ef1b>]Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
btrfs_encode_fh+0x2b/0x120Feb 14 02:05:52 lupus kernel: [ =A0 70.050807] PGD 0 Feb 14 02:05:52 lupus kernel: [ =A0 70.050929] Oops: 0000 [#1]PREEMPT SMP
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Feb 14 02:05:52 lupus kernel: [ =A0 70.051223] last sysfs file: /sys/module/pcie_aspm/parameters/policy Feb 14 02:05:52 lupus kernel: [ =A0 70.051365] CPU 6 Feb 14 02:05:52 lupus kernel: [ =A0 70.051411] Modules linked in:
ipt_REJECTipt_LOGxt_limitxt_tcpudpxt_statenf_nat_ircnf_conntrack_ircnf_nat_ftpnf_natnf_conntrack_ipv4nf_defrag_ipv4nf_conntrack_ftpiptable_filteript_addrtypext_DSCPxt_dscpxt_iprangeip_tablesip6table_filterxt_NFQUEUExt_owner
xt_hashlimitQuoted 1 line
Quoted 1 line
Quoted 1 line
xt_conntrackxt_markxt_multiportxt_connmarknf_conntrack
xt_stringQuoted 1 line
Quoted 1 line
Quoted 1 line
ip6_tablesx_tablesit87hwmon_vidcoretempsnd_seq_dummy
snd_seq_ossQuoted 2 lines
Quoted 2 lines
Quoted 2 lines
snd_seq_midi_eventsnd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_osssnd_hda_codec_hdmisnd_hda_codec_realteksnd_hda_intel
snd_hda_codecQuoted 1 line
Quoted 1 line
Quoted 1 line
snd_hwdepsnd_pcmsnd_timersndi2c_i801soundcore wmi shpchpe1000e
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
snd_page_alloclibphy e1000scsi_wait_scansl811_hcdohci_hcdssbusb_storageehci_hcd[last unloaded: tg3]Feb 14 02:05:52 lupus kernel: [ =A0 70.054694] Feb 14 02:05:52 lupus kernel: [ =A0 70.054776] Pid: 7962, comm:umount
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Not tainted 2.6.37-plus_v16_zcache #4 FMP55/ipower G3710
Feb 14 02:05:52 lupus kernel: [ =A0 70.054912] RIP: 0010:[<ffffffff8133ef1b>] =A0[<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:05:52 lupus kernel: [ =A0 70.055084] RSP: 0018:ffff88023c77d6f8 =A0EFLAGS: 00010246 Feb 14 02:05:52 lupus kernel: [ =A0 70.055173] RAX: 00000000000000ff RBX: ffff88023cde0168 RCX: 0000000000000000 Feb 14 02:05:52 lupus kernel: [ =A0 70.055265] RDX: ffff88023c77d734 RSI: ffff88023c77d768 RDI: 0000000000000006 Feb 14 02:05:52 lupus kernel: [ =A0 70.055357] RBP: 0000030341ed0000R08:
ffffffff8133eef0R09:ffff88023c77d8d8
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Feb 14 02:05:52 lupus kernel: [ =A0 70.055448] R10: 0000000000000003 R11: 0000000000000001 R12: 00000000ffffffff Feb 14 02:05:52 lupus kernel: [ =A0 70.055540] R13: ffff88023cde0030 R14: ffffea0007dd39f0 R15: 0000000000000001 Feb 14 02:05:52 lupus kernel: [ =A0 70.055633] FS: 00007fb1cad04760(0000) GS:ffff8800bf580000(0000) knlGS:0000000000000000 Feb 14 02:05:52 lupus kernel: [ =A0 70.055762] CS: =A00010 DS: 0000 =
ES:
Quoted 131 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
0000 CR0:
000000008005003bFeb 14 02:05:52 lupus kernel: [ =A0 70.055851] CR2: 0000030341ed0050 CR3: 000000023c7d5000 CR4: 00000000000006e0 Feb 14 02:05:52 lupus kernel: [ =A0 70.055943] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 02:05:52 lupus kernel: [ =A0 70.056035] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 02:05:52 lupus kernel: [ =A0 70.056128] Process umount (pid: 7962, threadinfo ffff88023c77c000, task ffff88023c7a4260) Feb 14 02:05:52 lupus kernel: [ =A0 70.056257] Stack:Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Feb 14 02:05:52 lupus kernel: [ =A0 70.056338] =A00000000000000000 0000000000000002 ffff880200000000 0000000000000003 Feb 14 02:05:52 lupus kernel: [ =A0 70.056630] =A0ffffea0007dd39f0 ffffffff810e6aaa ffff880200000041 0000000600000246 Feb 14 02:05:52 lupus kernel: [ =A0 70.056922] =A0ffff88023cdcd300 ffffffff810e6b3a 0000000000000001 ffffffff8132bb7c Feb 14 02:05:52 lupus kernel: [ =A0 70.057213] Call Trace: Feb 14 02:05:52 lupus kernel: [ =A0 70.057301] =A0[<ffffffff810e6aaa=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
cleancache_get_key+0x4a/0x60Feb 14 02:05:52 lupus kernel: [ =A0 70.057393] =A0[<ffffffff810e6b3a=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__cleancache_get_page+0x7a/0xd0Feb 14 02:05:52 lupus kernel: [ =A0 70.057487] =A0[<ffffffff8132bb7c=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
merge_state+0x7c/0x150Feb 14 02:05:52 lupus kernel: [ =A0 70.057579] =A0[<ffffffff8132e4de=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__extent_read_full_page+0x52e/0x710Feb 14 02:05:52 lupus kernel: [ =A0 70.057673] =A0[<ffffffff813bdea4=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
rb_insert_color+0xa4/0x140Feb 14 02:05:52 lupus kernel: [ =A0 70.057766] =A0[<ffffffff8134b0b6=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
tree_insert+0x86/0x1e0Feb 14 02:05:52 lupus kernel: [ =A0 70.057859] =A0[<ffffffff81058c73=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
lock_timer_base.clone.22+0x33/0x70
Feb 14 02:05:52 lupus kernel: [ =A0 70.058004] =A0[<ffffffff81305060=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btree_get_extent+0x0/0x1c0Feb 14 02:05:52 lupus kernel: [ =A0 70.058097] =A0[<ffffffff81330b21=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
read_extent_buffer_pages+0x2d1/0x470Feb 14 02:05:52 lupus kernel: [ =A0 70.058191] =A0[<ffffffff81305060=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btree_get_extent+0x0/0x1c0Feb 14 02:05:52 lupus kernel: [ =A0 70.058283] =A0[<ffffffff8130674d=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btree_read_extent_buffer_pages.clone.65+0x4d/0xa0
Feb 14 02:05:52 lupus kernel: [ =A0 70.058415] =A0[<ffffffff813076f9=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
read_tree_block+0x39/0x60Feb 14 02:05:52 lupus kernel: [ =A0 70.058508] =A0[<ffffffff812ed5e6=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
read_block_for_search.clone.40+0x116/0x410
Feb 14 02:05:52 lupus kernel: [ =A0 70.058638] =A0[<ffffffff812eb228=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_cow_block+0x118/0x2b0Feb 14 02:05:52 lupus kernel: [ =A0 70.058731] =A0[<ffffffff812f0bc7=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_search_slot+0x307/0xa00Feb 14 02:05:52 lupus kernel: [ =A0 70.058823] =A0[<ffffffff812f6b18=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
lookup_inline_extent_backref+0x98/0x4a0Feb 14 02:05:52 lupus kernel: [ =A0 70.058919] =A0[<ffffffff810e33d7=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kmem_cache_alloc+0x87/0xa0Feb 14 02:05:52 lupus kernel: [ =A0 70.059032] =A0[<ffffffff812f891c=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__btrfs_free_extent+0xcc/0x6f0Feb 14 02:05:52 lupus kernel: [ =A0 70.059125] =A0[<ffffffff812fc4cf=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
run_clustered_refs+0x39f/0x880Feb 14 02:05:52 lupus kernel: [ =A0 70.059220] =A0[<ffffffff810b1f98=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
pagevec_lookup_tag+0x18/0x20Feb 14 02:05:52 lupus kernel: [ =A0 70.059312] =A0[<ffffffff810a7c81=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
filemap_fdatawait_range+0x91/0x180Feb 14 02:05:52 lupus kernel: [ =A0 70.059405] =A0[<ffffffff812fca77=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_run_delayed_refs+0xc7/0x220Feb 14 02:05:52 lupus kernel: [ =A0 70.059498] =A0[<ffffffff8130c29c=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_commit_transaction+0x7c/0x760Feb 14 02:05:52 lupus kernel: [ =A0 70.059591] =A0[<ffffffff81067ea0=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
autoremove_wake_function+0x0/0x30Feb 14 02:05:52 lupus kernel: [ =A0 70.059683] =A0[<ffffffff8130cdef=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
start_transaction+0x1bf/0x270Feb 14 02:05:52 lupus kernel: [ =A0 70.059775] =A0[<ffffffff8110e96a=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__sync_filesystem+0x5a/0x90Feb 14 02:05:52 lupus kernel: [ =A0 70.059867] =A0[<ffffffff810eae8d=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
generic_shutdown_super+0x2d/0x100Feb 14 02:05:52 lupus kernel: [ =A0 70.059960] =A0[<ffffffff810eafb9=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kill_anon_super+0x9/0x50Feb 14 02:05:52 lupus kernel: [ =A0 70.060051] =A0[<ffffffff810eb266=]
Quoted 56 lines
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
deactivate_locked_super+0x26/0x80Feb 14 02:05:52 lupus kernel: [ =A0 70.060144] =A0[<ffffffff811043ea=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
sys_umount+0x7a/0x390Feb 14 02:05:52 lupus kernel: [ =A0 70.060235] =A0[<ffffffff810027bb=]
Quoted 48 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
system_call_fastpath+0x16/0x1bFeb 14 02:05:52 lupus kernel: [ =A0 70.060325] Code: 55 b8 ff 00 0000
Quoted 1 line
Quoted 1 line
Quoted 1 line
53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00
00
Quoted 1 line
Quoted 1 line
Quoted 1 line
85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00
00
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
48 89 06 84 c9 48 8b 85 68 fe ff ff
Feb 14 02:05:52 lupus kernel: [ =A0 70.063170] RIP=A0[<ffffffff8133ef1b>]
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_encode_fh+0x2b/0x120Feb 14 02:05:52 lupus kernel: [ =A0 70.063302] =A0RSP<
ffff88023c77d6f8>Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Feb 14 02:05:52 lupus kernel: [ =A0 70.063386] CR2: 0000030341ed0050 Feb 14 02:05:52 lupus kernel: [ =A0 70.063528] ---[ end trace 3313552d105b1535 ]--- Feb 14 02:06:16 lupus kernel: [ =A0 93.961960] BUG: unable to handle kernel paging request at 0000030341ed0050 Feb 14 02:06:16 lupus kernel: [ =A0 93.962171] IP:[<
ffffffff8133ef1b>]Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
btrfs_encode_fh+0x2b/0x120Feb 14 02:06:16 lupus kernel: [ =A0 93.962307] PGD 0 Feb 14 02:06:16 lupus kernel: [ =A0 93.962430] Oops: 0000 [#2]PREEMPT SMP
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Feb 14 02:06:16 lupus kernel: [ =A0 93.962637] last sysfs file: /sys/devices/system/cpu/cpu7/cache/index2/shared_cpu_map Feb 14 02:06:16 lupus kernel: [ =A0 93.962766] CPU 5 Feb 14 02:06:16 lupus kernel: [ =A0 93.962812] Modules linked in:
ipt_REJECTipt_LOGxt_limitxt_tcpudpxt_statenf_nat_ircnf_conntrack_ircnf_nat_ftpnf_natnf_conntrack_ipv4nf_defrag_ipv4nf_conntrack_ftpiptable_filteript_addrtypext_DSCPxt_dscpxt_iprangeip_tablesip6table_filterxt_NFQUEUExt_owner
xt_hashlimitQuoted 1 line
Quoted 1 line
Quoted 1 line
xt_conntrackxt_markxt_multiportxt_connmarknf_conntrack
xt_stringQuoted 1 line
Quoted 1 line
Quoted 1 line
ip6_tablesx_tablesit87hwmon_vidcoretempsnd_seq_dummy
snd_seq_ossQuoted 2 lines
Quoted 2 lines
Quoted 2 lines
snd_seq_midi_eventsnd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_osssnd_hda_codec_hdmisnd_hda_codec_realteksnd_hda_intel
snd_hda_codecQuoted 1 line
Quoted 1 line
Quoted 1 line
snd_hwdepsnd_pcmsnd_timersndi2c_i801soundcore wmi shpchpe1000e
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
snd_page_alloclibphy e1000scsi_wait_scansl811_hcdohci_hcdssbusb_storageehci_hcd[last unloaded: tg3]Feb 14 02:06:16 lupus kernel: [ =A0 93.966044] Feb 14 02:06:16 lupus kernel: [ =A0 93.966127] Pid: 7915, comm:btrfs-transacti Tainted: G =A0 =A0 =A0D =A0 =A0 2.6.37-plus_v16_zcac=
he #4
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
FMP55/ipower G3710
Feb 14 02:06:16 lupus kernel: [ =A0 93.966266] RIP: 0010:[<ffffffff8133ef1b>] =A0[<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:06:16 lupus kernel: [ =A0 93.966440] RSP: 0018:ffff88023c63b6e0 =A0EFLAGS: 00010246 Feb 14 02:06:16 lupus kernel: [ =A0 93.966528] RAX: 00000000000000ff RBX: ffff88023cde0168 RCX: 0000000000000000 Feb 14 02:06:16 lupus kernel: [ =A0 93.966620] RDX: ffff88023c63b71c RSI: ffff88023c63b750 RDI: 0000000000000006 Feb 14 02:06:16 lupus kernel: [ =A0 93.966713] RBP: 0000030341ed0000R08:
ffffffff8133eef0R09:ffff88023c63b8c0
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Feb 14 02:06:16 lupus kernel: [ =A0 93.966805] R10: 0000000000000003 R11: 0000000000000001 R12: 00000000ffffffff Feb 14 02:06:16 lupus kernel: [ =A0 93.966897] R13: ffff88023cde0030 R14: ffffea0007d59bc8 R15: 0000000000000001 Feb 14 02:06:16 lupus kernel: [ =A0 93.966990] FS: 0000000000000000(0000) GS:ffff8800bf540000(0000) knlGS:0000000000000000 Feb 14 02:06:16 lupus kernel: [ =A0 93.967120] CS: =A00010 DS: 0000 =
ES:
Quoted 120 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
0000 CR0:
000000008005003bFeb 14 02:06:16 lupus kernel: [ =A0 93.967209] CR2: 0000030341ed0050 CR3: 0000000001c27000 CR4: 00000000000006e0 Feb 14 02:06:16 lupus kernel: [ =A0 93.967302] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 02:06:16 lupus kernel: [ =A0 93.967394] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 02:06:16 lupus kernel: [ =A0 93.967500] Process btrfs-Quoted 11 lines
transacti
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
(pid: 7915, threadinfo
ffff88023c63a000, taskffff88023c7a1620)Feb 14 02:06:16 lupus kernel: [ =A0 93.967630] Stack: Feb 14 02:06:16 lupus kernel: [ =A0 93.967711] =A00000000000000000 0000000000000002 0000000000000000 0000000000000003 Feb 14 02:06:16 lupus kernel: [ =A0 93.968057] =A0ffffea0007d59bc8 ffffffff810e6aaa 0000000000000041 0000000600000002 Feb 14 02:06:16 lupus kernel: [ =A0 93.968348] =A00000000000000000 ffffffff810e6b3a 0000000000000001 ffffffff00000001 Feb 14 02:06:16 lupus kernel: [ =A0 93.968639] Call Trace: Feb 14 02:06:16 lupus kernel: [ =A0 93.968728] =A0[<ffffffff810e6aaa=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
cleancache_get_key+0x4a/0x60Feb 14 02:06:16 lupus kernel: [ =A0 93.968820] =A0[<ffffffff810e6b3a=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__cleancache_get_page+0x7a/0xd0Feb 14 02:06:16 lupus kernel: [ =A0 93.968914] =A0[<ffffffff8132e4de=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__extent_read_full_page+0x52e/0x710Feb 14 02:06:16 lupus kernel: [ =A0 93.969008] =A0[<ffffffff812f3f93=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
update_reserved_bytes+0xb3/0x140Feb 14 02:06:16 lupus kernel: [ =A0 93.969102] =A0[<ffffffff81305060=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btree_get_extent+0x0/0x1c0Feb 14 02:06:16 lupus kernel: [ =A0 93.969193] =A0[<ffffffff8132bb7c=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
merge_state+0x7c/0x150Feb 14 02:06:16 lupus kernel: [ =A0 93.969285] =A0[<ffffffff81330b21=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
read_extent_buffer_pages+0x2d1/0x470Feb 14 02:06:16 lupus kernel: [ =A0 93.969378] =A0[<ffffffff81305060=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btree_get_extent+0x0/0x1c0Feb 14 02:06:16 lupus kernel: [ =A0 93.969470] =A0[<ffffffff8130674d=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btree_read_extent_buffer_pages.clone.65+0x4d/0xa0
Feb 14 02:06:16 lupus kernel: [ =A0 93.969602] =A0[<ffffffff813076f9=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
read_tree_block+0x39/0x60Feb 14 02:06:16 lupus kernel: [ =A0 93.969694] =A0[<ffffffff812ed5e6=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
read_block_for_search.clone.40+0x116/0x410
Feb 14 02:06:16 lupus kernel: [ =A0 93.969878] =A0[<ffffffff812f0bc7=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_search_slot+0x307/0xa00Feb 14 02:06:16 lupus kernel: [ =A0 93.969970] =A0[<ffffffff812f6b18=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
lookup_inline_extent_backref+0x98/0x4a0Feb 14 02:06:16 lupus kernel: [ =A0 93.970065] =A0[<ffffffff810e33d7=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kmem_cache_alloc+0x87/0xa0Feb 14 02:06:16 lupus kernel: [ =A0 93.970157] =A0[<ffffffff812f891c=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__btrfs_free_extent+0xcc/0x6f0Feb 14 02:06:16 lupus kernel: [ =A0 93.970249] =A0[<ffffffff812f8434=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
update_block_group.clone.62+0xc4/0x280
Feb 14 02:06:16 lupus kernel: [ =A0 93.970343] =A0[<ffffffff812fc4cf=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
run_clustered_refs+0x39f/0x880Feb 14 02:06:16 lupus kernel: [ =A0 93.970436] =A0[<ffffffff812fca77=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_run_delayed_refs+0xc7/0x220Feb 14 02:06:16 lupus kernel: [ =A0 93.970529] =A0[<ffffffff810e15f9=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
new_slab+0x169/0x1f0Feb 14 02:06:16 lupus kernel: [ =A0 93.970619] =A0[<ffffffff8130c29c=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_commit_transaction+0x7c/0x760Feb 14 02:06:16 lupus kernel: [ =A0 93.970713] =A0[<ffffffff81067ea0=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
autoremove_wake_function+0x0/0x30Feb 14 02:06:16 lupus kernel: [ =A0 93.970806] =A0[<ffffffff81305bc3=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
transaction_kthread+0x283/0x2a0Feb 14 02:06:16 lupus kernel: [ =A0 93.970898] =A0[<ffffffff81305940=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
transaction_kthread+0x0/0x2a0Feb 14 02:06:16 lupus kernel: [ =A0 93.970990] =A0[<ffffffff81305940=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
transaction_kthread+0x0/0x2a0Feb 14 02:06:16 lupus kernel: [ =A0 93.971083] =A0[<ffffffff81067a16=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kthread+0x96/0xa0Feb 14 02:06:16 lupus kernel: [ =A0 93.971174] =A0[<ffffffff81003514=]
Quoted 26 lines
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kernel_thread_helper+0x4/0x10Feb 14 02:06:16 lupus kernel: [ =A0 93.971266] =A0[<ffffffff81067980=]
Quoted 3 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kthread+0x0/0xa0Feb 14 02:06:16 lupus kernel: [ =A0 93.971355] =A0[<ffffffff81003510=]
Quoted 18 lines
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kernel_thread_helper+0x0/0x10Feb 14 02:06:16 lupus kernel: [ =A0 93.971444] Code: 55 b8 ff 00 0000
Quoted 1 line
Quoted 1 line
Quoted 1 line
53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00
00
Quoted 1 line
Quoted 1 line
Quoted 1 line
85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00
00
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
48 89 06 84 c9 48 8b 85 68 fe ff ff
Feb 14 02:06:16 lupus kernel: [ =A0 93.974280] RIP=A0[<ffffffff8133ef1b>]
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_encode_fh+0x2b/0x120Feb 14 02:06:16 lupus kernel: [ =A0 93.974412] =A0RSP<
ffff88023c63b6e0>Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Feb 14 02:06:16 lupus kernel: [ =A0 93.974497] CR2: 0000030341ed0050 Feb 14 02:06:16 lupus kernel: [ =A0 93.974599] ---[ end trace 3313552d105b1536 ]--- Feb 14 02:07:04 lupus kernel: [ =A0141.906124] zcache: destroyed poo=
l
Quoted 76 lines
Quoted 58 lines
id=3D2
Quoted 1 line
Quoted 1 line
Quoted 1 line
Feb 14 02:07:17 lupus kernel: [ =A0154.783358] SysRq : Keyboard modeset
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
to system default
Feb 14 02:07:18 lupus kernel: [ =A0155.486147] SysRq : Terminate AllTasks
Quoted 9 lines
Quoted 9 lines
Quoted 8 lines
That's all for now
Thanks & Regards
Matt
Quoted 7 lines
Quoted 7 lines
(leaving out several folks from the CC to avoid spamming - if I left out someone wrongfully please re-add)
running an addr2line reveals:
addr2line -e
/usr/src/linux-2.6.37_vanilla/vmlinux-i
ffffffff81338cbbQuoted 6 lines
Quoted 6 lines
export.c:0
hope that helps
Quoted 8 lines
Quoted 4 lines
Regards
Matt
Just my guessing. I might be wrong.
__cleancache_flush_inodecallscleancache_get_keywith
cleancache_filekey.Quoted 7 lines
cleancache_file_key's size is just 6 * u32.
cleancache_get_keycallsbtrfs_encode_fhwith the key. butbtrfs_encode_fhdoes typecasting the key tobtrfs_fidwhich is bigger size than cleancache_filekey's one so it should not access fields beyondcleancache_get_key.I think some file systems use extend fid so in there, this problem
can
Quoted 11 lines
happen. I don't know why we can't find it earlier. Maybe Dan and others test it for a long time.
Am I missing something?
--
Kind regards,
Minchan KimQuoted 8 lines
reposting Minchan's message for reference to the btrfs mailing list while also adding
Li Zefan, Miao Xie, Yan Zheng, Dan Rosenberg and Josef Bacik to CC
Regards
Matt
Hi Matt and Minchan --
(BTRFS EXPERTS SEE *** BELOW)
I definitely see a bug in
cleancache_get_keyin the monolithic zcache+cleancache+frontswap patch I posted on oss.oracle.com that is corrected in linux-next but I don't see how it could get provoked by btrfs.
Quoted 7 lines
The bug is that, in
cleancache_get_key, the return value of fhfn should be checked against 255. =A0If the return value is 255,cleancache_get_keyshould return -1. =A0This should disable cleancache for any filesystem whereKEY_MAXis too large.But
cleancache_get_keyalways calls fhfn with connectable =3D=3D 0 and CLEANCACHE_KEY_MAX=3D=3D6 should be greater than BTRFS_FID_SIZE_CONNECTAB=
LE
Quoted 15 lines
(which I think should be 5?). =A0And the elements written into the typecast
btrfs_fidshould be only writing the first 5 32-bit words.So if the problem is the one Minchan suggests, I am confused. =A0Matt, can you first confirm that you are using the cleancache patches from my monolithic patch from oss.oracle.com (which I think you are)?
***
Looking over the stacktrace and the code, I have an alternate theory. I wonder if it is ever possible the
inode->dentrylist is empty (or corrupt)? =A0list_first_entry() assumes the list is non-empty. If this is possible and unusual, maybe my testing didn't see the problem?
Quoted 5 lines
Thanks,
Dan
P.S. For those new to cleancache, the code is in linux-next here:
http://git.kernel.org/?p=3Dlinux/kernel/git/sfr/linux-next.git;a=3Dblob;f=
=3Dmm/cleancache.c;h=3Df545eb8f11180cfb3aaf3f4f85a5255be8f9f881;hb=3Da57cb3= bc013d2e262a663df50af6a9e7cc88bdad
Quoted 1 line
Hi Dan,
yeah,
I downloaded the monolithic patch you mentioned in the original message (http://marc.info/?l=3Dlinux-kernel&m=3D129705217700769&w=3D2) and use that.
Just checked the file's md5sum on my harddrive against the one from
http://oss.oracle.com/projects/tmem/files/zcache/ and it's the same file (119d91d81d99fdf3b95919e6012d5fa8).
If you could point out where to download the latest versions of each of the (broken-out) patches for frontswap, cleancache and zcache - or simply the updated ones needed - I'd give them another test run (read:
try to use them for everyday tasks).
Currently I've V5 of Cleancache, and V3 of Frontswap in addition to V2 of Zcache on my harddrive - I don't know if those are the most current ones available.
Thanks
Matt
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 6 lines · Dan Magenheimer
Quoted 6 lines
-----Original Message-----
From: Matt [mailto:[email protected]]
Sent: Tuesday, February 15, 2011 5:12 PM
To: Minchan Kim
Cc: Dan Magenheimer; [email protected]; Chris Mason; linux- [email protected]; [email protected]; [email protected]; linux=
-
Quoted 41 lines
Quoted 30 lines
[email protected]; Josef Bacik; Dan Rosenberg; Yan Zheng; [email protected]; Li Zefan
Subject: Re: [PATCH V2 0/3]drivers/staging: zcache: dynamic page cache/swap compressionOn Mon, Feb 14, 2011 at 4:35 AM, Minchan Kim <[email protected]>
Quoted 3 lines
Just my guessing. I might be wrong.
__cleancache_flush_inodecallscleancache_get_keywith
cleancache_filekey.Quoted 7 lines
cleancache_file_key's size is just 6 * u32.
cleancache_get_keycallsbtrfs_encode_fhwith the key. butbtrfs_encode_fhdoes typecasting the key tobtrfs_fidwhich is bigger size than cleancache_filekey's one so it should not access fields beyondcleancache_get_key.I think some file systems use extend fid so in there, this problem
can
Quoted 11 lines
happen. I don't know why we can't find it earlier. Maybe Dan and others test it for a long time.
Am I missing something?
--
Kind regards,
Minchan KimQuoted 8 lines
reposting Minchan's message for reference to the btrfs mailing list while also adding
Li Zefan, Miao Xie, Yan Zheng, Dan Rosenberg and Josef Bacik to CC
Regards
Matt
Hi Matt and Minchan --
Quoted 8 lines
(BTRFS EXPERTS SEE *** BELOW)
I definitely see a bug in
cleancache_get_keyin the monolithic zcache+cleancache+frontswap patch I posted on oss.oracle.com that is corrected in linux-next but I don't see how it could get provoked by btrfs.The bug is that, in
cleancache_get_key, the return value of fhfn shou=
ld
Quoted 1 line
be checked against 255. =C2=A0If the return value is 255, cleancache_=
get_key
Quoted 1 line
should return -1. =C2=A0This should disable cleancache for any filesy=
stem
Quoted 3 lines
where
KEY_MAXis too large.But
cleancache_get_keyalways calls fhfn with connectable =3D=3D 0 an=
d
Quoted 1 line
CLEANCACHE_KEY_MAX=3D=3D6 should be greater than BTRFS_FID_SIZE_CONNE=
CTABLE
Quoted 2 lines
(which I think should be 5?). =C2=A0And the elements written into the typecast
btrfs_fidshould be only writing the first 5 32-bit words.
BTRFS_FID_SIZE_NON_CONNECTALBE is 5, not BTRFS_FID_SIZE_CONNECTABLE. Anyway, you passed connectable with 0 so it should be only writing the first 5 32-bit words as you said.
That's one I missed. ;-)
Thanks.
--=20
Kind regards,
Minchan Kim
Quoted 10 lines
Quoted 6 lines
I definitely see a bug in
cleancache_get_keyin the monolithic zcache+cleancache+frontswap patch I posted on oss.oracle.com that is corrected in linux-next but I don't see how it could get provoked by btrfs.The bug is that, in
cleancache_get_key, the return value of fhfnshould
Quoted 1 line
be checked against 255. =C2=A0If the return value is 255,
cleancache_get_keyQuoted 1 line
should return -1. =C2=A0This should disable cleancache for any filesyst=
em
Quoted 7 lines
Quoted 4 lines
where
KEY_MAXis too large.But
cleancache_get_keyalways calls fhfn with connectable =3D=3D 0 and CLEANCACHE_KEY_MAX=3D=3D6 should be greater than
BTRFS_FID_SIZE_CONNECTABLEQuoted 2 lines
(which I think should be 5?). =C2=A0And the elements written into the typecast
btrfs_fidshould be only writing the first 5 32-bit words.
Quoted 10 lines
=20
BTRFS_FID_SIZE_NON_CONNECTALBEis 5, notBTRFS_FID_SIZE_CONNECTABLE. Anyway, you passed connectable with 0 so it should be only writing the first 5 32-bit words as you said.
That's one I missed. ;-)
=20
Thanks.
--
Kind regards,
Minchan Kim
Sorry, I realized that I solved this with Matt offlist and never posted the solution on-list, so for the archives:
This patch applies on top of the cleancache patch. It is really a horrible hack but solving it correctly requires the interface to encode_fh ops to change, which would require changes to many filesystems, so best saved for a later time. If/when cleancache gets merged, this patch will need to be applied on top of it for btrfs to work properly when cleancache is enabled.
Basically, the problem is that, in all current filesystems, obtaining the filehandle requires a dentry ONLY if connectable is set. Otherwise, the dentry is only used to get the inode. But cleancache_get_key only has an inode, and the alias list of dentries associated with the inode may be empty. So either the encode_fh interface would need to be changed or, in this hack-y solution, a dentry is created temporarily only for the purpose of dereferencing it.
diff -Napur -X linux-2.6.37.1/Documentation/dontdiff linux-2.6.37.1/mm/clea= ncache.c linux-2.6.37.1-fix/mm/cleancache.c
--- linux-2.6.37.1/mm/cleancache.c=092011-02-25 11:38:47.000000000 -0800 +++ linux-2.6.37.1-fix/mm/cleancache.c=092011-02-25 08:53:46.000000000 -080= 0
@@ -78,15 +78,14 @@ static int cleancache_get_key(struct ino
=09int (*fhfn)(struct dentry *, __u32 *fh, int *, int);
=09int maxlen =3D CLEANCACHE_KEY_MAX;
=09struct super_block *sb =3D inode->i_sb;
-=09struct dentry *d;
=20
=09key->u.ino =3D inode->i_ino;
=09if (sb->s_export_op !=3D NULL) {
=09=09fhfn =3D sb->s_export_op->encode_fh;
=09=09if (fhfn) {
-=09=09=09d =3D list_first_entry(&inode->i_dentry, -=09=09=09=09=09=09struct dentry, d_alias); -=09=09=09(void)(*fhfn)(d, &key->u.fh[0], &maxlen, 0);
+=09=09=09struct dentry d; +=09=09=09d.d_inode =3D inode; +=09=09=09(void)(*fhfn)(&d, &key->u.fh[0], &maxlen, 0);
=09=09=09if (maxlen > CLEANCACHE_KEY_MAX)
=09=09=09=09return -1;
=09=09}
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 657 lines · Matt
Quoted 639 lines · Matt
Quoted 188 lines · Matt
On Wed, Feb 9, 2011 at 1:03 AM, Dan Magenheimer
<[email protected]> wrote:
[snip]Quoted 6 lines
If I've missed anything important, please let me know!
Thanks again!
DanHi Dan,
thank you so much for answering my email in such detail !
I shall pick up on that mail in my next email sending to the mailing list :)
currently I've got a problem with btrfs which seems to get triggered by cleancache get-operations:
Feb 14 00:37:19 lupus kernel: [ 2831.297377] device fsid 354120c992a00761-5fa07d400126a895 devid 1 transid 7 /dev/mapper/portage Feb 14 00:37:19 lupus kernel: [ 2831.297698] btrfs: enabling disk space caching Feb 14 00:37:19 lupus kernel: [ 2831.297700] btrfs: force lzo compression Feb 14 00:37:19 lupus kernel: [ 2831.315844] zcache: created ephemeral tmem pool, id=3 Feb 14 00:39:20 lupus kernel: [ 2951.853188] BUG: unable to handle kernel paging request at 0000000001400050 Feb 14 00:39:20 lupus kernel: [ 2951.853219] IP: [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 00:39:20 lupus kernel: [ 2951.853242] PGD 0 Feb 14 00:39:20 lupus kernel: [ 2951.853251] Oops: 0000 [#1] PREEMPT SMP Feb 14 00:39:20 lupus kernel: [ 2951.853275] last sysfs file: /sys/devices/platform/coretemp.3/temp1_input Feb 14 00:39:20 lupus kernel: [ 2951.853295] CPU 4 Feb 14 00:39:20 lupus kernel: [ 2951.853303] Modules linked in: radeonttm
drm_kms_helpercfbcopyarea cfbimgblt cfbfillrectipt_REJECTipt_LOGxt_limitxt_tcpudpxt_statenf_nat_ircnf_conntrack_ircnf_nat_ftpnf_natnf_conntrack_ipv4nf_defrag_ipv4nf_conntrack_ftpiptable_filteript_addrtypext_DSCPxt_dscpxt_iprangeip_tablesip6table_filterxt_NFQUEUExt_ownerxt_hashlimitxt_conntrackxt_markxt_multiportxt_connmarknf_conntrackxt_stringip6_tablesx_tablesit87hwmon_vidcoretempsnd_seq_dummysnd_seq_osssnd_seq_midi_eventsnd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_osssnd_hda_codec_hdmisnd_hda_codec_realteksnd_hda_intelsnd_hda_codecsnd_hwdepsnd_pcmsnd_timersnd soundcorei2c_i801wmi e1000e shpchpsnd_page_alloclibphy e1000scsi_wait_scansl811_hcdohci_hcdssbusb_storageehci_hcd[last unloaded: tg3]Feb 14 00:39:20 lupus kernel: [ 2951.853682] Feb 14 00:39:20 lupus kernel: [ 2951.853690] Pid: 11394, comm: btrfs-transacti Not tainted 2.6.37-plus_v16_zcache #4 FMP55/ipower G3710 Feb 14 00:39:20 lupus kernel: [ 2951.853725] RIP: 0010:[<ffffffff8133ef1b>] [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 00:39:20 lupus kernel: [ 2951.853751] RSP: 0018:ffff880129a11b00 EFLAGS: 00010246 Feb 14 00:39:20 lupus kernel: [ 2951.853767] RAX: 00000000000000ff RBX: ffff88014a1ce628 RCX: 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853788] RDX: ffff880129a11b3c RSI: ffff880129a11b70 RDI: 0000000000000006 Feb 14 00:39:20 lupus kernel: [ 2951.853808] RBP: 0000000001400000 R08: ffffffff8133eef0 R09: ffff880129a11c68 Feb 14 00:39:20 lupus kernel: [ 2951.853829] R10: 0000000000000001 R11: 0000000000000001 R12: ffff88014a1ce780 Feb 14 00:39:20 lupus kernel: [ 2951.853849] R13: ffff88021fefc000 R14: ffff88021fef9000 R15: 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853870] FS: 0000000000000000(0000) GS:ffff8800bf500000(0000) knlGS:0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853894] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b Feb 14 00:39:20 lupus kernel: [ 2951.853911] CR2: 0000000001400050 CR3: 0000000001c27000 CR4: 00000000000006e0 Feb 14 00:39:20 lupus kernel: [ 2951.853932] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853952] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 00:39:20 lupus kernel: [ 2951.853973] Process btrfs-transacti (pid: 11394, threadinfo ffff880129a10000, task ffff880202e4ac40) Feb 14 00:39:20 lupus kernel: [ 2951.853999] Stack: Feb 14 00:39:20 lupus kernel: [ 2951.854006] ffff880129a11b50 ffff880000000003 ffff88003c60a098 0000000000000003 Feb 14 00:39:20 lupus kernel: [ 2951.854035] ffffffffffffffff ffffffff810e6aaa 0000000000000000 0000000602e4ac40 Feb 14 00:39:20 lupus kernel: [ 2951.854063] ffffffff8133e3f0 ffffffff810e6cee 0000000000001000 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.854092] Call Trace: Feb 14 00:39:20 lupus kernel: [ 2951.854103] [<ffffffff810e6aaa>] ? cleancache_get_key+0x4a/0x60 Feb 14 00:39:20 lupus kernel: [ 2951.854122] [<ffffffff8133e3f0>] ? btrfs_wake_function+0x0/0x20 Feb 14 00:39:20 lupus kernel: [ 2951.854140] [<ffffffff810e6cee>] ? __cleancache_flush_inode+0x3e/0x70 Feb 14 00:39:20 lupus kernel: [ 2951.854161] [<ffffffff810b34d2>] ? truncate_inode_pages_range+0x42/0x440 Feb 14 00:39:20 lupus kernel: [ 2951.854182] [<ffffffff812f115e>] ? btrfs_search_slot+0x89e/0xa00 Feb 14 00:39:20 lupus kernel: [ 2951.854201] [<ffffffff810c3a45>] ? unmap_mapping_range+0xc5/0x2a0 Feb 14 00:39:20 lupus kernel: [ 2951.854220] [<ffffffff810b3930>] ? truncate_pagecache+0x40/0x70 Feb 14 00:39:20 lupus kernel: [ 2951.854240] [<ffffffff813458b1>] ? btrfs_truncate_free_space_cache+0x81/0xe0 Feb 14 00:39:20 lupus kernel: [ 2951.854261] [<ffffffff812fce15>] ? btrfs_write_dirty_block_groups+0x245/0x500 Feb 14 00:39:20 lupus kernel: [ 2951.854283] [<ffffffff812fcb6a>] ? btrfs_run_delayed_refs+0x1ba/0x220 Feb 14 00:39:20 lupus kernel: [ 2951.854304] [<ffffffff8130afff>] ? commit_cowonly_roots+0xff/0x1d0 Feb 14 00:39:20 lupus kernel: [ 2951.854323] [<ffffffff8130c583>] ? btrfs_commit_transaction+0x363/0x760 Feb 14 00:39:20 lupus kernel: [ 2951.854344] [<ffffffff81067ea0>] ? autoremove_wake_function+0x0/0x30 Feb 14 00:39:20 lupus kernel: [ 2951.854364] [<ffffffff81305bc3>] ? transaction_kthread+0x283/0x2a0 Feb 14 00:39:20 lupus kernel: [ 2951.854383] [<ffffffff81305940>] ? transaction_kthread+0x0/0x2a0 Feb 14 00:39:20 lupus kernel: [ 2951.854401] [<ffffffff81305940>] ? transaction_kthread+0x0/0x2a0 Feb 14 00:39:20 lupus kernel: [ 2951.854420] [<ffffffff81067a16>] ? kthread+0x96/0xa0 Feb 14 00:39:20 lupus kernel: [ 2951.854437] [<ffffffff81003514>] ? kernel_thread_helper+0x4/0x10 Feb 14 00:39:20 lupus kernel: [ 2951.854455] [<ffffffff81067980>] ? kthread+0x0/0xa0 Feb 14 00:39:20 lupus kernel: [ 2951.854471] [<ffffffff81003510>] ? kernel_thread_helper+0x0/0x10 Feb 14 00:39:20 lupus kernel: [ 2951.854488] Code: 55 b8 ff 00 00 00 53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00 00 85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00 00 48 89 06 84 c9 48 8b 85 68 fe ff ff Feb 14 00:39:20 lupus kernel: [ 2951.854742] RIP [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 00:39:20 lupus kernel: [ 2951.854762] RSP <ffff880129a11b00> Feb 14 00:39:20 lupus kernel: [ 2951.854773] CR2: 0000000001400050 Feb 14 00:39:20 lupus kernel: [ 2951.860906] ---[ end trace
f831c5ceeaa49287]---in my case I had compress-force with lzo and
disk_cacheenabledanother user of the kernel I'm currently running has had the same problem with zcache
(http://forums.gentoo.org/viewtopic-p-6571799.html#6571799)(looks like in his case compression and any other fancy additional features weren't enabled)
changes made by this kernel or patchset to btrfs are from
* io-less dirty throttling patchset (44 patches)
* zcache V2 ("[PATCH] staging: zcache: fix memory leak" should be applied in both cases)
* PATCH] fix (latent?) memory corruption inbtrfs_encode_fh()
* btrfs-unstable changes to state of3a90983dbdcb2f4f48c0d771d8e5b4d88f27fae6(so practically equals btrfs from 2.6.38-rc4+)I haven't tried downgrading to vanilla 2.6.37 with zcache only, yet,
but kind of upgraded btrfs to the latest state of the btrfs-unstable repository (http://git.eu.kernel.org/?p=linux/kernel/git/mason/btrfs-unstable.git;a=summary)
namely3a90983dbdcb2f4f48c0d771d8e5b4d88f27fae6this also didn't help and seemed to produce the same error-message
so to summarize:
1) error message appearing with all 4 patchsets applied changing btrfs-code and compress-force=lzo and
disk_cacheenabled2) error message appearing with default mount-options and btrfs from 2.6.37 and changes for zcache & io-less dirty throttling patchset applied (first 2 patch(sets)) from list)
in my case I tried to extract / play back a 1.7 GiB tarball of my portage-directory (lots of small files and some tar.bzip2 archives) via pbzip2 or 7z when the error happened and the message was shown
Due to KMS sound (webradio streaming) was still running but I couldn't continue work (X switching to kernel output) so I did the magic sysrq combo (reisub)
Quoted 9 lines
Does that BUG message ring a bell for anyone ?
(if I should leave out anyone from the CC in the next emails or future, please holler - I don't want to spam your inboxes)
Thanks
Matt
OK,
here's the output of a kernel -
staying as close to vanilla (2.6.37) as the current situation allows (only including some corruption or leak fixes for zram & zcache and "
zram_xvmalloc: 64K page fixes and optimizations" (and 2 reiserfs fixes)):so in total the following patches are included in this new kernel (2.6.37-zcache):
zram changes:
1 zram: Fix sparse warning 'Using plain integer as NULL pointer' 2 [PATCH] zram: fix data corruption issue
3 [PATCH 0/7][v2]zram_xvmalloc: 64K page fixes and optimizationszcache:
1 zcache-linux-2.6.37-110205
2 [PATCH] staging: zcache: fix memory leak
3 [PATCH] zcache: Fix build error when sysfs is not definedreiserfs:
1 [PATCH] reiserfs: Make sureva_end()is always called after 2 [patch] reiserfs: potentialERR_PTRdereferencethe same procedure:
trying to extract the mentioned portage-tarball:
time (7z e -so -tbzip2 -mmt=5 /system/portage_backup_022011.tbz2 | tar -xp -C
/usr/gentoo/)this hopefully should make it easier to track down the problem:
Feb 14 01:59:59 lupus kernel: [ 364.777143] device fsid 684a4213565dd3fe-ca991821badc2aac devid 1 transid 7 /dev/mapper/portage Feb 14 01:59:59 lupus kernel: [ 364.844994] zcache: created ephemeral tmem pool, id=2 Feb 14 02:02:49 lupus kernel: [ 534.577573] BUG: unable to handle kernel paging request at 0000000037610050 Feb 14 02:02:49 lupus kernel: [ 534.577605] IP: [<ffffffff81338cbb>] btrfs_encode_fh+0x2b/0x110 Feb 14 02:02:49 lupus kernel: [ 534.577630] PGD 0 Feb 14 02:02:49 lupus kernel: [ 534.577640] Oops: 0000 [#1] PREEMPT SMP Feb 14 02:02:49 lupus kernel: [ 534.577665] last sysfs file: /sys/devices/system/cpu/cpu7/cache/index2/shared_cpu_map Feb 14 02:02:49 lupus kernel: [ 534.577693] CPU 5 Feb 14 02:02:49 lupus kernel: [ 534.577701] Modules linked in: radeonttm
drm_kms_helpercfbcopyarea cfbimgblt cfbfillrectipt_REJECTipt_LOGxt_limitxt_tcpudpxt_statenf_nat_ircnf_conntrack_ircnf_nat_ftpnf_natnf_conntrack_ipv4nf_defrag_ipv4nf_conntrack_ftpiptable_filteript_addrtypext_DSCPxt_dscpxt_iprangeip_tablesip6table_filterxt_NFQUEUExt_ownerxt_hashlimitxt_conntrackxt_markxt_multiportxt_connmarknf_conntrackxt_stringip6_tablesx_tablesit87hwmon_vidcoretempsnd_seq_dummysnd_seq_osssnd_seq_midi_eventsnd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_osssnd_hda_codec_hdmisnd_hda_codec_realteksnd_hda_intelsnd_hda_codecsnd_hwdepsnd_pcmsnd_timersnd e1000e soundcorei2c_i801shpchpsnd_page_allocwmi libphy e1000scsi_wait_scansl811_hcdohci_hcdssbusb_storageehci_hcd[last unloaded: tg3]Feb 14 02:02:49 lupus kernel: [ 534.578114] Feb 14 02:02:49 lupus kernel: [ 534.578124] Pid: 8285, comm: tar Not tainted 2.6.37-zcache #2 FMP55/ipower G3710 Feb 14 02:02:49 lupus kernel: [ 534.578146] RIP: 0010:[<ffffffff81338cbb>] [<ffffffff81338cbb>] btrfs_encode_fh+0x2b/0x110 Feb 14 02:02:49 lupus kernel: [ 534.578172] RSP: 0018:ffff88023ea9dcc8 EFLAGS: 00010246 Feb 14 02:02:49 lupus kernel: [ 534.578189] RAX: 00000000000000ff RBX: ffff8800b8643228 RCX: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ 534.578210] RDX: ffff88023ea9dd04 RSI: ffff88023ea9dd38 RDI: 0000000000000006 Feb 14 02:02:49 lupus kernel: [ 534.578230] RBP: 0000000037610000 R08: ffffffff81338c90 R09: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ 534.578251] R10: 0000000000000019 R11: 0000000000000001 R12: ffff8800b8643380 Feb 14 02:02:49 lupus kernel: [ 534.578272] R13: ffff8800b8643258 R14: 00007fff806f1f00 R15: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ 534.578293] FS: 00007f823d7ed700(0000) GS:ffff8800bf540000(0000) knlGS:0000000000000000 Feb 14 02:02:49 lupus kernel: [ 534.578317] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Feb 14 02:02:49 lupus kernel: [ 534.578334] CR2: 0000000037610050 CR3: 000000023dcef000 CR4: 00000000000006e0 Feb 14 02:02:49 lupus kernel: [ 534.578356] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ 534.578377] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 02:02:49 lupus kernel: [ 534.578398] Process tar (pid: 8285, threadinfo ffff88023ea9c000, task ffff88023e8b9d40) Feb 14 02:02:49 lupus kernel: [ 534.578421] Stack: Feb 14 02:02:49 lupus kernel: [ 534.578428] 000000013d096000 ffff88023ed84800 ffff88023ea9c000 0000000000000002 Feb 14 02:02:49 lupus kernel: [ 534.578458] ffffffffffffffff ffffffff810e3b1a 0000000000000001 000000061e1d5240 Feb 14 02:02:49 lupus kernel: [ 534.578486] fffffffffffffffb ffffffff810e3d5e ffff88010f383000 0000001ab86cb908 Feb 14 02:02:49 lupus kernel: [ 534.578514] Call Trace: Feb 14 02:02:49 lupus kernel: [ 534.578525] [<ffffffff810e3b1a>] ? cleancache_get_key+0x4a/0x60 Feb 14 02:02:49 lupus kernel: [ 534.578544] [<ffffffff810e3d5e>] ? __cleancache_flush_inode+0x3e/0x70 Feb 14 02:02:49 lupus kernel: [ 534.578565] [<ffffffff810b0ed2>] ? truncate_inode_pages_range+0x42/0x440 Feb 14 02:02:49 lupus kernel: [ 534.578586] [<ffffffff81338451>] ? btrfs_tree_unlock+0x41/0x50 Feb 14 02:02:49 lupus kernel: [ 534.578605] [<ffffffff812e4ed5>] ? btrfs_release_path+0x15/0x70 Feb 14 02:02:49 lupus kernel: [ 534.578624] [<ffffffff8130bf29>] ? btrfs_run_delayed_iputs+0x49/0x120 Feb 14 02:02:49 lupus kernel: [ 534.578644] [<ffffffff813107e7>] ? btrfs_evict_inode+0x27/0x1e0 Feb 14 02:02:49 lupus kernel: [ 534.578663] [<ffffffff810fc3aa>] ? evict+0x1a/0xa0 Feb 14 02:02:49 lupus kernel: [ 534.578678] [<ffffffff810fc6bd>] ? iput+0x1cd/0x2b0 Feb 14 02:02:49 lupus kernel: [ 534.578694] [<ffffffff810f266f>] ? do_unlinkat+0x12f/0x1d0 Feb 14 02:02:49 lupus kernel: [ 534.578712] [<ffffffff810027bb>] ? system_call_fastpath+0x16/0x1b Feb 14 02:02:49 lupus kernel: [ 534.578730] Code: 55 b8 ff 00 00 00 53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00 00 85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00 00 48 89 06 84 c9 48 8b 85 68 fe ff ff Feb 14 02:02:49 lupus kernel: [ 534.578986] RIP [<ffffffff81338cbb>] btrfs_encode_fh+0x2b/0x110 Feb 14 02:02:49 lupus kernel: [ 534.579081] RSP <ffff88023ea9dcc8> Feb 14 02:02:49 lupus kernel: [ 534.579093] CR2: 0000000037610050 Feb 14 02:02:49 lupus kernel: [ 534.587513] ---[ end trace
c596b12e66c0b360]---for reference I've pasted it to pastebin.com:
"2.6.37_zcache_V2.patch"
http://pastebin.com/cVSkwQ6Mafter the reboot I had forgotten to not mount the btrfs volume and it threw a similar error-message again and remounted several partitions read-only (including the system partition)
the partition with btrfs (/usr/gentoo) couldn't be unmounted since the umount process kind of hangso here's the error message after a reboot (might not be accurate or kind of "skewed" since other patches are included (io-less dirty throttling, PATCH] fix (latent?) memory corruption in
btrfs_encode_fh()and latest changes for btrfs)) but might help to get some more evidence:Feb 14 02:05:46 lupus kernel: [ 63.922648] device fsid 684a4213565dd3fe-ca991821badc2aac devid 1 transid 13 /dev/mapper/portage Feb 14 02:05:46 lupus kernel: [ 64.047118] btrfs: unlinked 1 orphans Feb 14 02:05:46 lupus kernel: [ 64.051956] zcache: created ephemeral tmem pool, id=3 Feb 14 02:05:48 lupus kernel: [ 65.801364] hub 2-1:1.0: hub_suspend Feb 14 02:05:48 lupus kernel: [ 65.801376] usb 2-1: unlink qh256-0001/ffff88023fefd180 start 1 [1/0 us] Feb 14 02:05:48 lupus kernel: [ 65.801559] usb 2-1: usb auto-suspend Feb 14 02:05:50 lupus kernel: [ 67.797929] hub 2-0:1.0: hub_suspend Feb 14 02:05:50 lupus kernel: [ 67.797939] usb usb2: bus auto-suspend Feb 14 02:05:50 lupus kernel: [ 67.797942] ehci_hcd 0000:00:1d.0: suspend root hub Feb 14 02:05:52 lupus kernel: [ 70.050493] BUG: unable to handle kernel paging request at 0000030341ed0050 Feb 14 02:05:52 lupus kernel: [ 70.050670] IP: [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:05:52 lupus kernel: [ 70.050807] PGD 0 Feb 14 02:05:52 lupus kernel: [ 70.050929] Oops: 0000 [#1] PREEMPT SMP Feb 14 02:05:52 lupus kernel: [ 70.051223] last sysfs file: /sys/module/pcie_aspm/parameters/policy Feb 14 02:05:52 lupus kernel: [ 70.051365] CPU 6 Feb 14 02:05:52 lupus kernel: [ 70.051411] Modules linked in:
ipt_REJECTipt_LOGxt_limitxt_tcpudpxt_statenf_nat_ircnf_conntrack_ircnf_nat_ftpnf_natnf_conntrack_ipv4nf_defrag_ipv4nf_conntrack_ftpiptable_filteript_addrtypext_DSCPxt_dscpxt_iprangeip_tablesip6table_filterxt_NFQUEUExt_ownerxt_hashlimitxt_conntrackxt_markxt_multiportxt_connmarknf_conntrackxt_stringip6_tablesx_tablesit87hwmon_vidcoretempsnd_seq_dummysnd_seq_osssnd_seq_midi_eventsnd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_osssnd_hda_codec_hdmisnd_hda_codec_realteksnd_hda_intelsnd_hda_codecsnd_hwdepsnd_pcmsnd_timersndi2c_i801soundcore wmi shpchp e1000esnd_page_alloclibphy e1000scsi_wait_scansl811_hcdohci_hcdssbusb_storageehci_hcd[last unloaded: tg3]Feb 14 02:05:52 lupus kernel: [ 70.054694] Feb 14 02:05:52 lupus kernel: [ 70.054776] Pid: 7962, comm: umount Not tainted 2.6.37-plus_v16_zcache #4 FMP55/ipower G3710 Feb 14 02:05:52 lupus kernel: [ 70.054912] RIP: 0010:[<ffffffff8133ef1b>] [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:05:52 lupus kernel: [ 70.055084] RSP: 0018:ffff88023c77d6f8 EFLAGS: 00010246 Feb 14 02:05:52 lupus kernel: [ 70.055173] RAX: 00000000000000ff RBX: ffff88023cde0168 RCX: 0000000000000000 Feb 14 02:05:52 lupus kernel: [ 70.055265] RDX: ffff88023c77d734 RSI: ffff88023c77d768 RDI: 0000000000000006 Feb 14 02:05:52 lupus kernel: [ 70.055357] RBP: 0000030341ed0000 R08: ffffffff8133eef0 R09: ffff88023c77d8d8 Feb 14 02:05:52 lupus kernel: [ 70.055448] R10: 0000000000000003 R11: 0000000000000001 R12: 00000000ffffffff Feb 14 02:05:52 lupus kernel: [ 70.055540] R13: ffff88023cde0030 R14: ffffea0007dd39f0 R15: 0000000000000001 Feb 14 02:05:52 lupus kernel: [ 70.055633] FS: 00007fb1cad04760(0000) GS:ffff8800bf580000(0000) knlGS:0000000000000000 Feb 14 02:05:52 lupus kernel: [ 70.055762] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b Feb 14 02:05:52 lupus kernel: [ 70.055851] CR2: 0000030341ed0050 CR3: 000000023c7d5000 CR4: 00000000000006e0 Feb 14 02:05:52 lupus kernel: [ 70.055943] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 02:05:52 lupus kernel: [ 70.056035] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 02:05:52 lupus kernel: [ 70.056128] Process umount (pid: 7962, threadinfo ffff88023c77c000, task ffff88023c7a4260) Feb 14 02:05:52 lupus kernel: [ 70.056257] Stack: Feb 14 02:05:52 lupus kernel: [ 70.056338] 0000000000000000 0000000000000002 ffff880200000000 0000000000000003 Feb 14 02:05:52 lupus kernel: [ 70.056630] ffffea0007dd39f0 ffffffff810e6aaa ffff880200000041 0000000600000246 Feb 14 02:05:52 lupus kernel: [ 70.056922] ffff88023cdcd300 ffffffff810e6b3a 0000000000000001 ffffffff8132bb7c Feb 14 02:05:52 lupus kernel: [ 70.057213] Call Trace: Feb 14 02:05:52 lupus kernel: [ 70.057301] [<ffffffff810e6aaa>] ? cleancache_get_key+0x4a/0x60 Feb 14 02:05:52 lupus kernel: [ 70.057393] [<ffffffff810e6b3a>] ? __cleancache_get_page+0x7a/0xd0 Feb 14 02:05:52 lupus kernel: [ 70.057487] [<ffffffff8132bb7c>] ? merge_state+0x7c/0x150 Feb 14 02:05:52 lupus kernel: [ 70.057579] [<ffffffff8132e4de>] ? __extent_read_full_page+0x52e/0x710 Feb 14 02:05:52 lupus kernel: [ 70.057673] [<ffffffff813bdea4>] ? rb_insert_color+0xa4/0x140 Feb 14 02:05:52 lupus kernel: [ 70.057766] [<ffffffff8134b0b6>] ? tree_insert+0x86/0x1e0 Feb 14 02:05:52 lupus kernel: [ 70.057859] [<ffffffff81058c73>] ? lock_timer_base.clone.22+0x33/0x70 Feb 14 02:05:52 lupus kernel: [ 70.058004] [<ffffffff81305060>] ? btree_get_extent+0x0/0x1c0 Feb 14 02:05:52 lupus kernel: [ 70.058097] [<ffffffff81330b21>] ? read_extent_buffer_pages+0x2d1/0x470 Feb 14 02:05:52 lupus kernel: [ 70.058191] [<ffffffff81305060>] ? btree_get_extent+0x0/0x1c0 Feb 14 02:05:52 lupus kernel: [ 70.058283] [<ffffffff8130674d>] ? btree_read_extent_buffer_pages.clone.65+0x4d/0xa0 Feb 14 02:05:52 lupus kernel: [ 70.058415] [<ffffffff813076f9>] ? read_tree_block+0x39/0x60 Feb 14 02:05:52 lupus kernel: [ 70.058508] [<ffffffff812ed5e6>] ? read_block_for_search.clone.40+0x116/0x410 Feb 14 02:05:52 lupus kernel: [ 70.058638] [<ffffffff812eb228>] ? btrfs_cow_block+0x118/0x2b0 Feb 14 02:05:52 lupus kernel: [ 70.058731] [<ffffffff812f0bc7>] ? btrfs_search_slot+0x307/0xa00 Feb 14 02:05:52 lupus kernel: [ 70.058823] [<ffffffff812f6b18>] ? lookup_inline_extent_backref+0x98/0x4a0 Feb 14 02:05:52 lupus kernel: [ 70.058919] [<ffffffff810e33d7>] ? kmem_cache_alloc+0x87/0xa0 Feb 14 02:05:52 lupus kernel: [ 70.059032] [<ffffffff812f891c>] ? __btrfs_free_extent+0xcc/0x6f0 Feb 14 02:05:52 lupus kernel: [ 70.059125] [<ffffffff812fc4cf>] ? run_clustered_refs+0x39f/0x880 Feb 14 02:05:52 lupus kernel: [ 70.059220] [<ffffffff810b1f98>] ? pagevec_lookup_tag+0x18/0x20 Feb 14 02:05:52 lupus kernel: [ 70.059312] [<ffffffff810a7c81>] ? filemap_fdatawait_range+0x91/0x180 Feb 14 02:05:52 lupus kernel: [ 70.059405] [<ffffffff812fca77>] ? btrfs_run_delayed_refs+0xc7/0x220 Feb 14 02:05:52 lupus kernel: [ 70.059498] [<ffffffff8130c29c>] ? btrfs_commit_transaction+0x7c/0x760 Feb 14 02:05:52 lupus kernel: [ 70.059591] [<ffffffff81067ea0>] ? autoremove_wake_function+0x0/0x30 Feb 14 02:05:52 lupus kernel: [ 70.059683] [<ffffffff8130cdef>] ? start_transaction+0x1bf/0x270 Feb 14 02:05:52 lupus kernel: [ 70.059775] [<ffffffff8110e96a>] ? __sync_filesystem+0x5a/0x90 Feb 14 02:05:52 lupus kernel: [ 70.059867] [<ffffffff810eae8d>] ? generic_shutdown_super+0x2d/0x100 Feb 14 02:05:52 lupus kernel: [ 70.059960] [<ffffffff810eafb9>] ? kill_anon_super+0x9/0x50 Feb 14 02:05:52 lupus kernel: [ 70.060051] [<ffffffff810eb266>] ? deactivate_locked_super+0x26/0x80 Feb 14 02:05:52 lupus kernel: [ 70.060144] [<ffffffff811043ea>] ? sys_umount+0x7a/0x390 Feb 14 02:05:52 lupus kernel: [ 70.060235] [<ffffffff810027bb>] ? system_call_fastpath+0x16/0x1b Feb 14 02:05:52 lupus kernel: [ 70.060325] Code: 55 b8 ff 00 00 00 53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00 00 85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00 00 48 89 06 84 c9 48 8b 85 68 fe ff ff Feb 14 02:05:52 lupus kernel: [ 70.063170] RIP [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:05:52 lupus kernel: [ 70.063302] RSP <ffff88023c77d6f8> Feb 14 02:05:52 lupus kernel: [ 70.063386] CR2: 0000030341ed0050 Feb 14 02:05:52 lupus kernel: [ 70.063528] ---[ end trace 3313552d105b1535 ]--- Feb 14 02:06:16 lupus kernel: [ 93.961960] BUG: unable to handle kernel paging request at 0000030341ed0050 Feb 14 02:06:16 lupus kernel: [ 93.962171] IP: [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:06:16 lupus kernel: [ 93.962307] PGD 0 Feb 14 02:06:16 lupus kernel: [ 93.962430] Oops: 0000 [#2] PREEMPT SMP Feb 14 02:06:16 lupus kernel: [ 93.962637] last sysfs file: /sys/devices/system/cpu/cpu7/cache/index2/shared_cpu_map Feb 14 02:06:16 lupus kernel: [ 93.962766] CPU 5 Feb 14 02:06:16 lupus kernel: [ 93.962812] Modules linked in:
ipt_REJECTipt_LOGxt_limitxt_tcpudpxt_statenf_nat_ircnf_conntrack_ircnf_nat_ftpnf_natnf_conntrack_ipv4nf_defrag_ipv4nf_conntrack_ftpiptable_filteript_addrtypext_DSCPxt_dscpxt_iprangeip_tablesip6table_filterxt_NFQUEUExt_ownerxt_hashlimitxt_conntrackxt_markxt_multiportxt_connmarknf_conntrackxt_stringip6_tablesx_tablesit87hwmon_vidcoretempsnd_seq_dummysnd_seq_osssnd_seq_midi_eventsnd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_osssnd_hda_codec_hdmisnd_hda_codec_realteksnd_hda_intelsnd_hda_codecsnd_hwdepsnd_pcmsnd_timersndi2c_i801soundcore wmi shpchp e1000esnd_page_alloclibphy e1000scsi_wait_scansl811_hcdohci_hcdssbusb_storageehci_hcd[last unloaded: tg3]Feb 14 02:06:16 lupus kernel: [ 93.966044] Feb 14 02:06:16 lupus kernel: [ 93.966127] Pid: 7915, comm: btrfs-transacti Tainted: G D 2.6.37-plus_v16_zcache #4 FMP55/ipower G3710 Feb 14 02:06:16 lupus kernel: [ 93.966266] RIP: 0010:[<ffffffff8133ef1b>] [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:06:16 lupus kernel: [ 93.966440] RSP: 0018:ffff88023c63b6e0 EFLAGS: 00010246 Feb 14 02:06:16 lupus kernel: [ 93.966528] RAX: 00000000000000ff RBX: ffff88023cde0168 RCX: 0000000000000000 Feb 14 02:06:16 lupus kernel: [ 93.966620] RDX: ffff88023c63b71c RSI: ffff88023c63b750 RDI: 0000000000000006 Feb 14 02:06:16 lupus kernel: [ 93.966713] RBP: 0000030341ed0000 R08: ffffffff8133eef0 R09: ffff88023c63b8c0 Feb 14 02:06:16 lupus kernel: [ 93.966805] R10: 0000000000000003 R11: 0000000000000001 R12: 00000000ffffffff Feb 14 02:06:16 lupus kernel: [ 93.966897] R13: ffff88023cde0030 R14: ffffea0007d59bc8 R15: 0000000000000001 Feb 14 02:06:16 lupus kernel: [ 93.966990] FS: 0000000000000000(0000) GS:ffff8800bf540000(0000) knlGS:0000000000000000 Feb 14 02:06:16 lupus kernel: [ 93.967120] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b Feb 14 02:06:16 lupus kernel: [ 93.967209] CR2: 0000030341ed0050 CR3: 0000000001c27000 CR4: 00000000000006e0 Feb 14 02:06:16 lupus kernel: [ 93.967302] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 02:06:16 lupus kernel: [ 93.967394] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 02:06:16 lupus kernel: [ 93.967500] Process btrfs-transacti (pid: 7915, threadinfo ffff88023c63a000, task ffff88023c7a1620) Feb 14 02:06:16 lupus kernel: [ 93.967630] Stack: Feb 14 02:06:16 lupus kernel: [ 93.967711] 0000000000000000 0000000000000002 0000000000000000 0000000000000003 Feb 14 02:06:16 lupus kernel: [ 93.968057] ffffea0007d59bc8 ffffffff810e6aaa 0000000000000041 0000000600000002 Feb 14 02:06:16 lupus kernel: [ 93.968348] 0000000000000000 ffffffff810e6b3a 0000000000000001 ffffffff00000001 Feb 14 02:06:16 lupus kernel: [ 93.968639] Call Trace: Feb 14 02:06:16 lupus kernel: [ 93.968728] [<ffffffff810e6aaa>] ? cleancache_get_key+0x4a/0x60 Feb 14 02:06:16 lupus kernel: [ 93.968820] [<ffffffff810e6b3a>] ? __cleancache_get_page+0x7a/0xd0 Feb 14 02:06:16 lupus kernel: [ 93.968914] [<ffffffff8132e4de>] ? __extent_read_full_page+0x52e/0x710 Feb 14 02:06:16 lupus kernel: [ 93.969008] [<ffffffff812f3f93>] ? update_reserved_bytes+0xb3/0x140 Feb 14 02:06:16 lupus kernel: [ 93.969102] [<ffffffff81305060>] ? btree_get_extent+0x0/0x1c0 Feb 14 02:06:16 lupus kernel: [ 93.969193] [<ffffffff8132bb7c>] ? merge_state+0x7c/0x150 Feb 14 02:06:16 lupus kernel: [ 93.969285] [<ffffffff81330b21>] ? read_extent_buffer_pages+0x2d1/0x470 Feb 14 02:06:16 lupus kernel: [ 93.969378] [<ffffffff81305060>] ? btree_get_extent+0x0/0x1c0 Feb 14 02:06:16 lupus kernel: [ 93.969470] [<ffffffff8130674d>] ? btree_read_extent_buffer_pages.clone.65+0x4d/0xa0 Feb 14 02:06:16 lupus kernel: [ 93.969602] [<ffffffff813076f9>] ? read_tree_block+0x39/0x60 Feb 14 02:06:16 lupus kernel: [ 93.969694] [<ffffffff812ed5e6>] ? read_block_for_search.clone.40+0x116/0x410 Feb 14 02:06:16 lupus kernel: [ 93.969878] [<ffffffff812f0bc7>] ? btrfs_search_slot+0x307/0xa00 Feb 14 02:06:16 lupus kernel: [ 93.969970] [<ffffffff812f6b18>] ? lookup_inline_extent_backref+0x98/0x4a0 Feb 14 02:06:16 lupus kernel: [ 93.970065] [<ffffffff810e33d7>] ? kmem_cache_alloc+0x87/0xa0 Feb 14 02:06:16 lupus kernel: [ 93.970157] [<ffffffff812f891c>] ? __btrfs_free_extent+0xcc/0x6f0 Feb 14 02:06:16 lupus kernel: [ 93.970249] [<ffffffff812f8434>] ? update_block_group.clone.62+0xc4/0x280 Feb 14 02:06:16 lupus kernel: [ 93.970343] [<ffffffff812fc4cf>] ? run_clustered_refs+0x39f/0x880 Feb 14 02:06:16 lupus kernel: [ 93.970436] [<ffffffff812fca77>] ? btrfs_run_delayed_refs+0xc7/0x220 Feb 14 02:06:16 lupus kernel: [ 93.970529] [<ffffffff810e15f9>] ? new_slab+0x169/0x1f0 Feb 14 02:06:16 lupus kernel: [ 93.970619] [<ffffffff8130c29c>] ? btrfs_commit_transaction+0x7c/0x760 Feb 14 02:06:16 lupus kernel: [ 93.970713] [<ffffffff81067ea0>] ? autoremove_wake_function+0x0/0x30 Feb 14 02:06:16 lupus kernel: [ 93.970806] [<ffffffff81305bc3>] ? transaction_kthread+0x283/0x2a0 Feb 14 02:06:16 lupus kernel: [ 93.970898] [<ffffffff81305940>] ? transaction_kthread+0x0/0x2a0 Feb 14 02:06:16 lupus kernel: [ 93.970990] [<ffffffff81305940>] ? transaction_kthread+0x0/0x2a0 Feb 14 02:06:16 lupus kernel: [ 93.971083] [<ffffffff81067a16>] ? kthread+0x96/0xa0 Feb 14 02:06:16 lupus kernel: [ 93.971174] [<ffffffff81003514>] ? kernel_thread_helper+0x4/0x10 Feb 14 02:06:16 lupus kernel: [ 93.971266] [<ffffffff81067980>] ? kthread+0x0/0xa0 Feb 14 02:06:16 lupus kernel: [ 93.971355] [<ffffffff81003510>] ? kernel_thread_helper+0x0/0x10 Feb 14 02:06:16 lupus kernel: [ 93.971444] Code: 55 b8 ff 00 00 00 53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00 00 85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00 00 48 89 06 84 c9 48 8b 85 68 fe ff ff Feb 14 02:06:16 lupus kernel: [ 93.974280] RIP [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:06:16 lupus kernel: [ 93.974412] RSP <ffff88023c63b6e0> Feb 14 02:06:16 lupus kernel: [ 93.974497] CR2: 0000030341ed0050 Feb 14 02:06:16 lupus kernel: [ 93.974599] ---[ end trace 3313552d105b1536 ]--- Feb 14 02:07:04 lupus kernel: [ 141.906124] zcache: destroyed pool id=2 Feb 14 02:07:17 lupus kernel: [ 154.783358] SysRq : Keyboard mode set to system default Feb 14 02:07:18 lupus kernel: [ 155.486147] SysRq : Terminate All TasksQuoted 6 lines
That's all for now
Thanks & Regards
Matt
(leaving out several folks from the CC to avoid spamming - if I left out someone wrongfully please re-add)
running an addr2line reveals:
addr2line -e
/usr/src/linux-2.6.37_vanilla/vmlinux-iffffffff81338cbbexport.c:0
Quoted 7 lines
hope that helps
Regards
Matt
ok, maybe it's useful to have some more details how to reproduce it as easily as possible and about my configuration:
preparation steps:
1) 2.6.37 vanilla kernel with the mentioned changes to zram (and xvmalloc), zcache (+ fixes)
configuration specifics:
CONFIG_CRYPTO_PCRYPT=y
2) on a non-btrfs partition or with zcache disable: get a portage-tarball comparable to mine download from one of the gentoo-mirrors (http://www.gentoo.org/main/en/mirrors2.xml), e.g. the University of California:
ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/snapshots/
(weighing only around 40 MiB) then
get that tarball to a decent size by adding the latest changes from a rsync-mirror (http://www.gentoo.org/main/en/mirrors-rsync.xml)
I can also upload my specific tarball weighing at 1.7 GiB at request - just point me a place to drop it
3) creating a tar.bzip2 ball (preferably via 7z or pbzip2 so that it can be extracted later in parallel to create some pressure)
Hardware:
core i7 860 (4 cores - ht -> 8 threads), 8 GiB of RAM, underlying harddrive is a Samsung HD203WI, NCQ is disabled (queue_depth set to "1"), using CFQ as i/o scheduler
echo "13" > /proc/sys/vm/page-cluster
echo "60" > /proc/sys/vm/swappiness
echo "3000" > /proc/sys/vm/dirty_expire_centisecs echo "1500" > /proc/sys/vm/dirty_writeback_centisecs echo "15" > /proc/sys/vm/dirty_background_ratio
echo "50" > /proc/sys/vm/dirty_ratio
echo "50" > /proc/sys/vm/vfs_cache_pressure echo "32768" > /proc/sys/vm/min_free_kbytes
for i in /sys/block/sd*; do
/bin/echo "4096" > $i/queue/read_ahead_kb
/bin/echo "64" > $i/queue/max_sectors_kb
/bin/echo "1" > $i/queue/rq_affinitydone
nr_requests is set to "1024"
slice_sync to "150"fifo_expire_sync to "50"
echo 4096 > /sys/class/bdi/default/read_ahead_kb
steps to get the "result":
1) cryptsetup-partition with aes or twofish-encryption (512 bits) [using cryptsetup 1.1.3* or 1.2*]
2) on top of that btrfs
3) extracting the tarball (usually I'm adding a "time" in front to see how long it took): time (7z e -so -tbzip2 -mmt=5 /system/portage_backup_022011.tbz2 | tar
-xp -C /usr/gentoo/)
"result":
1) it seems to take several seconds or even minutes until that BUG message gets shown so maybe some memory (or other kind of subsystem) pressure is needed to trigger it
I hope that's useful in reproducing the BUG
Thanks & Regards
Matt
Quoted 13 lines · Matt
Quoted 12 lines · Matt
Quoted 11 lines · Matt
Quoted 10 lines · Matt
On Wed, Feb 9, 2011 at 1:03 AM, Dan Magenheimer
<[email protected]> wrote:
[snip]Quoted 6 lines
If I've missed anything important, please let me know!
Thanks again!
Dan
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Hi Dan,
thank you so much for answering my email in such detail !
I shall pick up on that mail in my next email sending to the mailing l=
ist :)
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
currently I've got a problem with btrfs which seems to get triggered by cleancache get-operations:
Feb 14 00:37:19 lupus kernel: [ 2831.297377] device fsid 354120c992a00761-5fa07d400126a895 devid 1 transid 7 /dev/mapper/portage Feb 14 00:37:19 lupus kernel: [ 2831.297698] btrfs: enabling disk spac=
e caching
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Feb 14 00:37:19 lupus kernel: [ 2831.297700] btrfs: force lzo compress=
ion
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Feb 14 00:37:19 lupus kernel: [ 2831.315844] zcache: created ephemeral tmem pool, id=3D3 Feb 14 00:39:20 lupus kernel: [ 2951.853188] BUG: unable to handle kernel paging request at 0000000001400050 Feb 14 00:39:20 lupus kernel: [ 2951.853219] IP: [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 00:39:20 lupus kernel: [ 2951.853242] PGD 0 Feb 14 00:39:20 lupus kernel: [ 2951.853251] Oops: 0000 [#1] PREEMPT S=
MP
Quoted 101 lines
Quoted 93 lines
Quoted 93 lines
Quoted 93 lines
Feb 14 00:39:20 lupus kernel: [ 2951.853275] last sysfs file: /sys/devices/platform/coretemp.3/temp1_input Feb 14 00:39:20 lupus kernel: [ 2951.853295] CPU 4 Feb 14 00:39:20 lupus kernel: [ 2951.853303] Modules linked in: radeonttm
drm_kms_helpercfbcopyarea cfbimgblt cfbfillrectipt_REJECTipt_LOGxt_limitxt_tcpudpxt_statenf_nat_ircnf_conntrack_ircnf_nat_ftpnf_natnf_conntrack_ipv4nf_defrag_ipv4nf_conntrack_ftpiptable_filteript_addrtypext_DSCPxt_dscpxt_iprangeip_tablesip6table_filterxt_NFQUEUExt_ownerxt_hashlimitxt_conntrackxt_markxt_multiportxt_connmarknf_conntrackxt_stringip6_tablesx_tablesit87hwmon_vidcoretempsnd_seq_dummysnd_seq_osssnd_seq_midi_eventsnd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_osssnd_hda_codec_hdmisnd_hda_codec_realteksnd_hda_intelsnd_hda_codecsnd_hwdepsnd_pcmsnd_timersnd soundcorei2c_i801wmi e1000e shpchpsnd_page_alloclibphy e1000scsi_wait_scansl811_hcdohci_hcdssbusb_storageehci_hcd[last unloaded: tg3]Feb 14 00:39:20 lupus kernel: [ 2951.853682] Feb 14 00:39:20 lupus kernel: [ 2951.853690] Pid: 11394, comm: btrfs-transacti Not tainted 2.6.37-plus_v16_zcache #4 FMP55/ipower G3710 Feb 14 00:39:20 lupus kernel: [ 2951.853725] RIP: 0010:[<ffffffff8133ef1b>] =A0[<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 00:39:20 lupus kernel: [ 2951.853751] RSP: 0018:ffff880129a11b00 =A0EFLAGS: 00010246 Feb 14 00:39:20 lupus kernel: [ 2951.853767] RAX: 00000000000000ff RBX: ffff88014a1ce628 RCX: 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853788] RDX: ffff880129a11b3c RSI: ffff880129a11b70 RDI: 0000000000000006 Feb 14 00:39:20 lupus kernel: [ 2951.853808] RBP: 0000000001400000 R08: ffffffff8133eef0 R09: ffff880129a11c68 Feb 14 00:39:20 lupus kernel: [ 2951.853829] R10: 0000000000000001 R11: 0000000000000001 R12: ffff88014a1ce780 Feb 14 00:39:20 lupus kernel: [ 2951.853849] R13: ffff88021fefc000 R14: ffff88021fef9000 R15: 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853870] FS: 0000000000000000(0000) GS:ffff8800bf500000(0000) knlGS:0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853894] CS: =A00010 DS: 0000 ES: 0000 CR0: 000000008005003b Feb 14 00:39:20 lupus kernel: [ 2951.853911] CR2: 0000000001400050 CR3: 0000000001c27000 CR4: 00000000000006e0 Feb 14 00:39:20 lupus kernel: [ 2951.853932] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.853952] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 00:39:20 lupus kernel: [ 2951.853973] Process btrfs-transacti (pid: 11394, threadinfo ffff880129a10000, task ffff880202e4ac40) Feb 14 00:39:20 lupus kernel: [ 2951.853999] Stack: Feb 14 00:39:20 lupus kernel: [ 2951.854006] =A0ffff880129a11b50 ffff880000000003 ffff88003c60a098 0000000000000003 Feb 14 00:39:20 lupus kernel: [ 2951.854035] =A0ffffffffffffffff ffffffff810e6aaa 0000000000000000 0000000602e4ac40 Feb 14 00:39:20 lupus kernel: [ 2951.854063] =A0ffffffff8133e3f0 ffffffff810e6cee 0000000000001000 0000000000000000 Feb 14 00:39:20 lupus kernel: [ 2951.854092] Call Trace: Feb 14 00:39:20 lupus kernel: [ 2951.854103] =A0[<ffffffff810e6aaa>] ? cleancache_get_key+0x4a/0x60 Feb 14 00:39:20 lupus kernel: [ 2951.854122] =A0[<ffffffff8133e3f0>] ? btrfs_wake_function+0x0/0x20 Feb 14 00:39:20 lupus kernel: [ 2951.854140] =A0[<ffffffff810e6cee>] ? __cleancache_flush_inode+0x3e/0x70 Feb 14 00:39:20 lupus kernel: [ 2951.854161] =A0[<ffffffff810b34d2>] ? truncate_inode_pages_range+0x42/0x440 Feb 14 00:39:20 lupus kernel: [ 2951.854182] =A0[<ffffffff812f115e>] ? btrfs_search_slot+0x89e/0xa00 Feb 14 00:39:20 lupus kernel: [ 2951.854201] =A0[<ffffffff810c3a45>] ? unmap_mapping_range+0xc5/0x2a0 Feb 14 00:39:20 lupus kernel: [ 2951.854220] =A0[<ffffffff810b3930>] ? truncate_pagecache+0x40/0x70 Feb 14 00:39:20 lupus kernel: [ 2951.854240] =A0[<ffffffff813458b1>] ? btrfs_truncate_free_space_cache+0x81/0xe0 Feb 14 00:39:20 lupus kernel: [ 2951.854261] =A0[<ffffffff812fce15>] ? btrfs_write_dirty_block_groups+0x245/0x500 Feb 14 00:39:20 lupus kernel: [ 2951.854283] =A0[<ffffffff812fcb6a>] ? btrfs_run_delayed_refs+0x1ba/0x220 Feb 14 00:39:20 lupus kernel: [ 2951.854304] =A0[<ffffffff8130afff>] ? commit_cowonly_roots+0xff/0x1d0 Feb 14 00:39:20 lupus kernel: [ 2951.854323] =A0[<ffffffff8130c583>] ? btrfs_commit_transaction+0x363/0x760 Feb 14 00:39:20 lupus kernel: [ 2951.854344] =A0[<ffffffff81067ea0>] ? autoremove_wake_function+0x0/0x30 Feb 14 00:39:20 lupus kernel: [ 2951.854364] =A0[<ffffffff81305bc3>] ? transaction_kthread+0x283/0x2a0 Feb 14 00:39:20 lupus kernel: [ 2951.854383] =A0[<ffffffff81305940>] ? transaction_kthread+0x0/0x2a0 Feb 14 00:39:20 lupus kernel: [ 2951.854401] =A0[<ffffffff81305940>] ? transaction_kthread+0x0/0x2a0 Feb 14 00:39:20 lupus kernel: [ 2951.854420] =A0[<ffffffff81067a16>] ? kthread+0x96/0xa0 Feb 14 00:39:20 lupus kernel: [ 2951.854437] =A0[<ffffffff81003514>] ? kernel_thread_helper+0x4/0x10 Feb 14 00:39:20 lupus kernel: [ 2951.854455] =A0[<ffffffff81067980>] ?Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
kthread+0x0/0xa0Feb 14 00:39:20 lupus kernel: [ 2951.854471] =A0[<ffffffff81003510>] ? kernel_thread_helper+0x0/0x10 Feb 14 00:39:20 lupus kernel: [ 2951.854488] Code: 55 b8 ff 00 00 00 53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00 00 85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00 00 48 89 06 84 c9 48 8b 85 68 fe ff ff Feb 14 00:39:20 lupus kernel: [ 2951.854742] RIP =A0[<ffffffff8133ef1b=
Quoted 31 lines
]
Quoted 30 lines
Quoted 30 lines
Quoted 30 lines
btrfs_encode_fh+0x2b/0x120Feb 14 00:39:20 lupus kernel: [ 2951.854762] =A0RSP <ffff880129a11b00> Feb 14 00:39:20 lupus kernel: [ 2951.854773] CR2: 0000000001400050 Feb 14 00:39:20 lupus kernel: [ 2951.860906] ---[ end trace
f831c5ceeaa49287]---in my case I had compress-force with lzo and
disk_cacheenabledanother user of the kernel I'm currently running has had the same problem with zcache
(http://forums.gentoo.org/viewtopic-p-6571799.html#6571799)(looks like in his case compression and any other fancy additional features weren't enabled)
changes made by this kernel or patchset to btrfs are from
* io-less dirty throttling patchset (44 patches)
* zcache V2 ("[PATCH] staging: zcache: fix memory leak" should be applied in both cases)
* PATCH] fix (latent?) memory corruption inbtrfs_encode_fh()
* btrfs-unstable changes to state of3a90983dbdcb2f4f48c0d771d8e5b4d88f27fae6(so practically equals btrfs from 2.6.38-rc4+)I haven't tried downgrading to vanilla 2.6.37 with zcache only, yet,
but kind of upgraded btrfs to the latest state of the btrfs-unstable repository (http://git.eu.kernel.org/?p=3Dlinux/kernel/git/mason/btrfs=
-unstable.git;a=3Dsummary)
Quoted 61 lines
Quoted 61 lines
Quoted 61 lines
Quoted 23 lines
namely
3a90983dbdcb2f4f48c0d771d8e5b4d88f27fae6this also didn't help and seemed to produce the same error-message
so to summarize:
1) error message appearing with all 4 patchsets applied changing btrfs-code and compress-force=3Dlzo and
disk_cacheenabled2) error message appearing with default mount-options and btrfs from 2.6.37 and changes for zcache & io-less dirty throttling patchset applied (first 2 patch(sets)) from list)
in my case I tried to extract / play back a 1.7 GiB tarball of my portage-directory (lots of small files and some tar.bzip2 archives) via pbzip2 or 7z when the error happened and the message was shown
Due to KMS sound (webradio streaming) was still running but I couldn't continue work (X switching to kernel output) so I did the magic sysrq combo (reisub)
Quoted 9 lines
Does that BUG message ring a bell for anyone ?
(if I should leave out anyone from the CC in the next emails or future, please holler - I don't want to spam your inboxes)
Thanks
Matt
OK,
here's the output of a kernel -
staying as close to vanilla (2.6.37) as the current situation allows (only including some corruption or leak fixes for zram & zcache and "
zram_xvmalloc: 64K page fixes and optimizations" (and 2 reiserfs fixes)):so in total the following patches are included in this new kernel (2.6.37-zcache):
zram changes:
1 zram: Fix sparse warning 'Using plain integer as NULL pointer' 2 [PATCH] zram: fix data corruption issue
3 [PATCH 0/7][v2]zram_xvmalloc: 64K page fixes and optimizationszcache:
1 zcache-linux-2.6.37-110205
2 [PATCH] staging: zcache: fix memory leak
3 [PATCH] zcache: Fix build error when sysfs is not definedreiserfs:
1 [PATCH] reiserfs: Make sureva_end()is always called after 2 [patch] reiserfs: potentialERR_PTRdereference
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
the same procedure:
trying to extract the mentioned portage-tarball:
time (7z e -so -tbzip2 -mmt=3D5 /system/portage_backup_022011.tbz2 | ta=
r
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
-xp -C
/usr/gentoo/)this hopefully should make it easier to track down the problem:
Feb 14 01:59:59 lupus kernel: [ =A0364.777143] device fsid 684a4213565dd3fe-ca991821badc2aac devid 1 transid 7 /dev/mapper/portage Feb 14 01:59:59 lupus kernel: [ =A0364.844994] zcache: created ephemera=
l
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
tmem pool, id=3D2
Feb 14 02:02:49 lupus kernel: [ =A0534.577573] BUG: unable to handle kernel paging request at 0000000037610050 Feb 14 02:02:49 lupus kernel: [ =A0534.577605] IP: [<ffffffff81338cbb>] btrfs_encode_fh+0x2b/0x110 Feb 14 02:02:49 lupus kernel: [ =A0534.577630] PGD 0 Feb 14 02:02:49 lupus kernel: [ =A0534.577640] Oops: 0000 [#1] PREEMPT =
SMP
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Feb 14 02:02:49 lupus kernel: [ =A0534.577665] last sysfs file: /sys/devices/system/cpu/cpu7/cache/index2/shared_cpu_map Feb 14 02:02:49 lupus kernel: [ =A0534.577693] CPU 5 Feb 14 02:02:49 lupus kernel: [ =A0534.577701] Modules linked in: radeo=
n
Quoted 44 lines
Quoted 44 lines
Quoted 44 lines
ttm
drm_kms_helpercfbcopyarea cfbimgblt cfbfillrectipt_REJECTipt_LOGxt_limitxt_tcpudpxt_statenf_nat_ircnf_conntrack_ircnf_nat_ftpnf_natnf_conntrack_ipv4nf_defrag_ipv4nf_conntrack_ftpiptable_filteript_addrtypext_DSCPxt_dscpxt_iprangeip_tablesip6table_filterxt_NFQUEUExt_ownerxt_hashlimitxt_conntrackxt_markxt_multiportxt_connmarknf_conntrackxt_stringip6_tablesx_tablesit87hwmon_vidcoretempsnd_seq_dummysnd_seq_osssnd_seq_midi_eventsnd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_osssnd_hda_codec_hdmisnd_hda_codec_realteksnd_hda_intelsnd_hda_codecsnd_hwdepsnd_pcmsnd_timersnd e1000e soundcorei2c_i801shpchpsnd_page_allocwmi libphy e1000scsi_wait_scansl811_hcdohci_hcdssbusb_storageehci_hcd[last unloaded: tg3]Feb 14 02:02:49 lupus kernel: [ =A0534.578114] Feb 14 02:02:49 lupus kernel: [ =A0534.578124] Pid: 8285, comm: tar Not tainted 2.6.37-zcache #2 FMP55/ipower G3710 Feb 14 02:02:49 lupus kernel: [ =A0534.578146] RIP: 0010:[<ffffffff81338cbb>] =A0[<ffffffff81338cbb>] btrfs_encode_fh+0x2b/0x110 Feb 14 02:02:49 lupus kernel: [ =A0534.578172] RSP: 0018:ffff88023ea9dcc8 =A0EFLAGS: 00010246 Feb 14 02:02:49 lupus kernel: [ =A0534.578189] RAX: 00000000000000ff RBX: ffff8800b8643228 RCX: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ =A0534.578210] RDX: ffff88023ea9dd04 RSI: ffff88023ea9dd38 RDI: 0000000000000006 Feb 14 02:02:49 lupus kernel: [ =A0534.578230] RBP: 0000000037610000 R08: ffffffff81338c90 R09: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ =A0534.578251] R10: 0000000000000019 R11: 0000000000000001 R12: ffff8800b8643380 Feb 14 02:02:49 lupus kernel: [ =A0534.578272] R13: ffff8800b8643258 R14: 00007fff806f1f00 R15: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ =A0534.578293] FS: 00007f823d7ed700(0000) GS:ffff8800bf540000(0000) knlGS:0000000000000000 Feb 14 02:02:49 lupus kernel: [ =A0534.578317] CS: =A00010 DS: 0000 ES: 0000 CR0: 0000000080050033 Feb 14 02:02:49 lupus kernel: [ =A0534.578334] CR2: 0000000037610050 CR3: 000000023dcef000 CR4: 00000000000006e0 Feb 14 02:02:49 lupus kernel: [ =A0534.578356] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 02:02:49 lupus kernel: [ =A0534.578377] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 02:02:49 lupus kernel: [ =A0534.578398] Process tar (pid: 8285, threadinfo ffff88023ea9c000, task ffff88023e8b9d40) Feb 14 02:02:49 lupus kernel: [ =A0534.578421] Stack:
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Feb 14 02:02:49 lupus kernel: [ =A0534.578428] =A0000000013d096000 ffff88023ed84800 ffff88023ea9c000 0000000000000002 Feb 14 02:02:49 lupus kernel: [ =A0534.578458] =A0ffffffffffffffff ffffffff810e3b1a 0000000000000001 000000061e1d5240 Feb 14 02:02:49 lupus kernel: [ =A0534.578486] =A0fffffffffffffffb ffffffff810e3d5e ffff88010f383000 0000001ab86cb908 Feb 14 02:02:49 lupus kernel: [ =A0534.578514] Call Trace: Feb 14 02:02:49 lupus kernel: [ =A0534.578525] =A0[<ffffffff810e3b1a>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
cleancache_get_key+0x4a/0x60Feb 14 02:02:49 lupus kernel: [ =A0534.578544] =A0[<ffffffff810e3d5e>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__cleancache_flush_inode+0x3e/0x70Feb 14 02:02:49 lupus kernel: [ =A0534.578565] =A0[<ffffffff810b0ed2>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
truncate_inode_pages_range+0x42/0x440Feb 14 02:02:49 lupus kernel: [ =A0534.578586] =A0[<ffffffff81338451>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_tree_unlock+0x41/0x50Feb 14 02:02:49 lupus kernel: [ =A0534.578605] =A0[<ffffffff812e4ed5>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_release_path+0x15/0x70Feb 14 02:02:49 lupus kernel: [ =A0534.578624] =A0[<ffffffff8130bf29>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_run_delayed_iputs+0x49/0x120Feb 14 02:02:49 lupus kernel: [ =A0534.578644] =A0[<ffffffff813107e7>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_evict_inode+0x27/0x1e0Feb 14 02:02:49 lupus kernel: [ =A0534.578663] =A0[<ffffffff810fc3aa>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
evict+0x1a/0xa0Feb 14 02:02:49 lupus kernel: [ =A0534.578678] =A0[<ffffffff810fc6bd>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
iput+0x1cd/0x2b0Feb 14 02:02:49 lupus kernel: [ =A0534.578694] =A0[<ffffffff810f266f>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
do_unlinkat+0x12f/0x1d0Feb 14 02:02:49 lupus kernel: [ =A0534.578712] =A0[<ffffffff810027bb>] =
?
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
system_call_fastpath+0x16/0x1bFeb 14 02:02:49 lupus kernel: [ =A0534.578730] Code: 55 b8 ff 00 00 00 53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00 00 85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00 00 48 89 06 84 c9 48 8b 85 68 fe ff ff Feb 14 02:02:49 lupus kernel: [ =A0534.578986] RIP =A0[<ffffffff81338cb=
b>]
Quoted 30 lines
Quoted 30 lines
Quoted 30 lines
btrfs_encode_fh+0x2b/0x110Feb 14 02:02:49 lupus kernel: [ =A0534.579081] =A0RSP <ffff88023ea9dcc8=Feb 14 02:02:49 lupus kernel: [ =A0534.579093] CR2: 0000000037610050 Feb 14 02:02:49 lupus kernel: [ =A0534.587513] ---[ end trace
c596b12e66c0b360]---for reference I've pasted it to pastebin.com:
"2.6.37_zcache_V2.patch"
http://pastebin.com/cVSkwQ6Mafter the reboot I had forgotten to not mount the btrfs volume and it threw a similar error-message again and remounted several partitions read-only (including the system partition)
the partition with btrfs (/usr/gentoo) couldn't be unmounted since the umount process kind of hangso here's the error message after a reboot (might not be accurate or kind of "skewed" since other patches are included (io-less dirty throttling, PATCH] fix (latent?) memory corruption in
btrfs_encode_fh()and latest changes for btrfs)) but might help to get some more evidence:
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Feb 14 02:05:46 lupus kernel: [ =A0 63.922648] device fsid 684a4213565dd3fe-ca991821badc2aac devid 1 transid 13 /dev/mapper/portage Feb 14 02:05:46 lupus kernel: [ =A0 64.047118] btrfs: unlinked 1 orphan=
s
Quoted 1 line
Quoted 1 line
Quoted 1 line
Feb 14 02:05:46 lupus kernel: [ =A0 64.051956] zcache: created ephemera=
l
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
tmem pool, id=3D3
Feb 14 02:05:48 lupus kernel: [ =A0 65.801364] hub 2-1:1.0: hub_suspend Feb 14 02:05:48 lupus kernel: [ =A0 65.801376] usb 2-1: unlink qh256-0001/ffff88023fefd180 start 1 [1/0 us] Feb 14 02:05:48 lupus kernel: [ =A0 65.801559] usb 2-1: usb auto-suspen=
d
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Feb 14 02:05:50 lupus kernel: [ =A0 67.797929] hub 2-0:1.0: hub_suspend Feb 14 02:05:50 lupus kernel: [ =A0 67.797939] usb usb2: bus auto-suspe=
nd
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Feb 14 02:05:50 lupus kernel: [ =A0 67.797942] ehci_hcd 0000:00:1d.0: suspend root hub Feb 14 02:05:52 lupus kernel: [ =A0 70.050493] BUG: unable to handle kernel paging request at 0000030341ed0050 Feb 14 02:05:52 lupus kernel: [ =A0 70.050670] IP: [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:05:52 lupus kernel: [ =A0 70.050807] PGD 0 Feb 14 02:05:52 lupus kernel: [ =A0 70.050929] Oops: 0000 [#1] PREEMPT =
SMP
Quoted 47 lines
Quoted 47 lines
Quoted 47 lines
Feb 14 02:05:52 lupus kernel: [ =A0 70.051223] last sysfs file: /sys/module/pcie_aspm/parameters/policy Feb 14 02:05:52 lupus kernel: [ =A0 70.051365] CPU 6 Feb 14 02:05:52 lupus kernel: [ =A0 70.051411] Modules linked in:
ipt_REJECTipt_LOGxt_limitxt_tcpudpxt_statenf_nat_ircnf_conntrack_ircnf_nat_ftpnf_natnf_conntrack_ipv4nf_defrag_ipv4nf_conntrack_ftpiptable_filteript_addrtypext_DSCPxt_dscpxt_iprangeip_tablesip6table_filterxt_NFQUEUExt_ownerxt_hashlimitxt_conntrackxt_markxt_multiportxt_connmarknf_conntrackxt_stringip6_tablesx_tablesit87hwmon_vidcoretempsnd_seq_dummysnd_seq_osssnd_seq_midi_eventsnd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_osssnd_hda_codec_hdmisnd_hda_codec_realteksnd_hda_intelsnd_hda_codecsnd_hwdepsnd_pcmsnd_timersndi2c_i801soundcore wmi shpchp e1000esnd_page_alloclibphy e1000scsi_wait_scansl811_hcdohci_hcdssbusb_storageehci_hcd[last unloaded: tg3]Feb 14 02:05:52 lupus kernel: [ =A0 70.054694] Feb 14 02:05:52 lupus kernel: [ =A0 70.054776] Pid: 7962, comm: umount Not tainted 2.6.37-plus_v16_zcache #4 FMP55/ipower G3710 Feb 14 02:05:52 lupus kernel: [ =A0 70.054912] RIP: 0010:[<ffffffff8133ef1b>] =A0[<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:05:52 lupus kernel: [ =A0 70.055084] RSP: 0018:ffff88023c77d6f8 =A0EFLAGS: 00010246 Feb 14 02:05:52 lupus kernel: [ =A0 70.055173] RAX: 00000000000000ff RBX: ffff88023cde0168 RCX: 0000000000000000 Feb 14 02:05:52 lupus kernel: [ =A0 70.055265] RDX: ffff88023c77d734 RSI: ffff88023c77d768 RDI: 0000000000000006 Feb 14 02:05:52 lupus kernel: [ =A0 70.055357] RBP: 0000030341ed0000 R08: ffffffff8133eef0 R09: ffff88023c77d8d8 Feb 14 02:05:52 lupus kernel: [ =A0 70.055448] R10: 0000000000000003 R11: 0000000000000001 R12: 00000000ffffffff Feb 14 02:05:52 lupus kernel: [ =A0 70.055540] R13: ffff88023cde0030 R14: ffffea0007dd39f0 R15: 0000000000000001 Feb 14 02:05:52 lupus kernel: [ =A0 70.055633] FS: 00007fb1cad04760(0000) GS:ffff8800bf580000(0000) knlGS:0000000000000000 Feb 14 02:05:52 lupus kernel: [ =A0 70.055762] CS: =A00010 DS: 0000 ES: 0000 CR0: 000000008005003b Feb 14 02:05:52 lupus kernel: [ =A0 70.055851] CR2: 0000030341ed0050 CR3: 000000023c7d5000 CR4: 00000000000006e0 Feb 14 02:05:52 lupus kernel: [ =A0 70.055943] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 02:05:52 lupus kernel: [ =A0 70.056035] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 02:05:52 lupus kernel: [ =A0 70.056128] Process umount (pid: 7962, threadinfo ffff88023c77c000, task ffff88023c7a4260) Feb 14 02:05:52 lupus kernel: [ =A0 70.056257] Stack:
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Feb 14 02:05:52 lupus kernel: [ =A0 70.056338] =A00000000000000000 0000000000000002 ffff880200000000 0000000000000003 Feb 14 02:05:52 lupus kernel: [ =A0 70.056630] =A0ffffea0007dd39f0 ffffffff810e6aaa ffff880200000041 0000000600000246 Feb 14 02:05:52 lupus kernel: [ =A0 70.056922] =A0ffff88023cdcd300 ffffffff810e6b3a 0000000000000001 ffffffff8132bb7c Feb 14 02:05:52 lupus kernel: [ =A0 70.057213] Call Trace: Feb 14 02:05:52 lupus kernel: [ =A0 70.057301] =A0[<ffffffff810e6aaa>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
cleancache_get_key+0x4a/0x60Feb 14 02:05:52 lupus kernel: [ =A0 70.057393] =A0[<ffffffff810e6b3a>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__cleancache_get_page+0x7a/0xd0Feb 14 02:05:52 lupus kernel: [ =A0 70.057487] =A0[<ffffffff8132bb7c>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
merge_state+0x7c/0x150Feb 14 02:05:52 lupus kernel: [ =A0 70.057579] =A0[<ffffffff8132e4de>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__extent_read_full_page+0x52e/0x710Feb 14 02:05:52 lupus kernel: [ =A0 70.057673] =A0[<ffffffff813bdea4>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
rb_insert_color+0xa4/0x140Feb 14 02:05:52 lupus kernel: [ =A0 70.057766] =A0[<ffffffff8134b0b6>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
tree_insert+0x86/0x1e0Feb 14 02:05:52 lupus kernel: [ =A0 70.057859] =A0[<ffffffff81058c73>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
lock_timer_base.clone.22+0x33/0x70
Feb 14 02:05:52 lupus kernel: [ =A0 70.058004] =A0[<ffffffff81305060>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btree_get_extent+0x0/0x1c0Feb 14 02:05:52 lupus kernel: [ =A0 70.058097] =A0[<ffffffff81330b21>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
read_extent_buffer_pages+0x2d1/0x470Feb 14 02:05:52 lupus kernel: [ =A0 70.058191] =A0[<ffffffff81305060>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btree_get_extent+0x0/0x1c0Feb 14 02:05:52 lupus kernel: [ =A0 70.058283] =A0[<ffffffff8130674d>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btree_read_extent_buffer_pages.clone.65+0x4d/0xa0
Feb 14 02:05:52 lupus kernel: [ =A0 70.058415] =A0[<ffffffff813076f9>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
read_tree_block+0x39/0x60Feb 14 02:05:52 lupus kernel: [ =A0 70.058508] =A0[<ffffffff812ed5e6>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
read_block_for_search.clone.40+0x116/0x410
Feb 14 02:05:52 lupus kernel: [ =A0 70.058638] =A0[<ffffffff812eb228>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_cow_block+0x118/0x2b0Feb 14 02:05:52 lupus kernel: [ =A0 70.058731] =A0[<ffffffff812f0bc7>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_search_slot+0x307/0xa00Feb 14 02:05:52 lupus kernel: [ =A0 70.058823] =A0[<ffffffff812f6b18>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
lookup_inline_extent_backref+0x98/0x4a0Feb 14 02:05:52 lupus kernel: [ =A0 70.058919] =A0[<ffffffff810e33d7>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kmem_cache_alloc+0x87/0xa0Feb 14 02:05:52 lupus kernel: [ =A0 70.059032] =A0[<ffffffff812f891c>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__btrfs_free_extent+0xcc/0x6f0Feb 14 02:05:52 lupus kernel: [ =A0 70.059125] =A0[<ffffffff812fc4cf>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
run_clustered_refs+0x39f/0x880Feb 14 02:05:52 lupus kernel: [ =A0 70.059220] =A0[<ffffffff810b1f98>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
pagevec_lookup_tag+0x18/0x20Feb 14 02:05:52 lupus kernel: [ =A0 70.059312] =A0[<ffffffff810a7c81>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
filemap_fdatawait_range+0x91/0x180Feb 14 02:05:52 lupus kernel: [ =A0 70.059405] =A0[<ffffffff812fca77>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_run_delayed_refs+0xc7/0x220Feb 14 02:05:52 lupus kernel: [ =A0 70.059498] =A0[<ffffffff8130c29c>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_commit_transaction+0x7c/0x760Feb 14 02:05:52 lupus kernel: [ =A0 70.059591] =A0[<ffffffff81067ea0>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
autoremove_wake_function+0x0/0x30Feb 14 02:05:52 lupus kernel: [ =A0 70.059683] =A0[<ffffffff8130cdef>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
start_transaction+0x1bf/0x270Feb 14 02:05:52 lupus kernel: [ =A0 70.059775] =A0[<ffffffff8110e96a>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__sync_filesystem+0x5a/0x90Feb 14 02:05:52 lupus kernel: [ =A0 70.059867] =A0[<ffffffff810eae8d>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
generic_shutdown_super+0x2d/0x100Feb 14 02:05:52 lupus kernel: [ =A0 70.059960] =A0[<ffffffff810eafb9>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kill_anon_super+0x9/0x50Feb 14 02:05:52 lupus kernel: [ =A0 70.060051] =A0[<ffffffff810eb266>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
deactivate_locked_super+0x26/0x80Feb 14 02:05:52 lupus kernel: [ =A0 70.060144] =A0[<ffffffff811043ea>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
sys_umount+0x7a/0x390Feb 14 02:05:52 lupus kernel: [ =A0 70.060235] =A0[<ffffffff810027bb>] =
?
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
system_call_fastpath+0x16/0x1bFeb 14 02:05:52 lupus kernel: [ =A0 70.060325] Code: 55 b8 ff 00 00 00 53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00 00 85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00 00 48 89 06 84 c9 48 8b 85 68 fe ff ff Feb 14 02:05:52 lupus kernel: [ =A0 70.063170] RIP =A0[<ffffffff8133ef1=
b>]
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
btrfs_encode_fh+0x2b/0x120Feb 14 02:05:52 lupus kernel: [ =A0 70.063302] =A0RSP <ffff88023c77d6f8=Feb 14 02:05:52 lupus kernel: [ =A0 70.063386] CR2: 0000030341ed0050 Feb 14 02:05:52 lupus kernel: [ =A0 70.063528] ---[ end trace 3313552d105b1535 ]--- Feb 14 02:06:16 lupus kernel: [ =A0 93.961960] BUG: unable to handle kernel paging request at 0000030341ed0050 Feb 14 02:06:16 lupus kernel: [ =A0 93.962171] IP: [<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:06:16 lupus kernel: [ =A0 93.962307] PGD 0 Feb 14 02:06:16 lupus kernel: [ =A0 93.962430] Oops: 0000 [#2] PREEMPT =
SMP
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Feb 14 02:06:16 lupus kernel: [ =A0 93.962637] last sysfs file: /sys/devices/system/cpu/cpu7/cache/index2/shared_cpu_map Feb 14 02:06:16 lupus kernel: [ =A0 93.962766] CPU 5 Feb 14 02:06:16 lupus kernel: [ =A0 93.962812] Modules linked in:
ipt_REJECTipt_LOGxt_limitxt_tcpudpxt_statenf_nat_ircnf_conntrack_ircnf_nat_ftpnf_natnf_conntrack_ipv4nf_defrag_ipv4nf_conntrack_ftpiptable_filteript_addrtypext_DSCPxt_dscpxt_iprangeip_tablesip6table_filterxt_NFQUEUExt_ownerxt_hashlimitxt_conntrackxt_markxt_multiportxt_connmarknf_conntrackxt_stringip6_tablesx_tablesit87hwmon_vidcoretempsnd_seq_dummysnd_seq_oss
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
snd_seq_midi_eventsnd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_osssnd_hda_codec_hdmisnd_hda_codec_realteksnd_hda_intelsnd_hda_codecsnd_hwdepsnd_pcmsnd_timersndi2c_i801soundcore wmi shpchp e1000esnd_page_alloclibphy e1000scsi_wait_scansl811_hcdohci_hcdssbusb_storageehci_hcd[last unloaded: tg3]Feb 14 02:06:16 lupus kernel: [ =A0 93.966044] Feb 14 02:06:16 lupus kernel: [ =A0 93.966127] Pid: 7915, comm:btrfs-transacti Tainted: G =A0 =A0 =A0D =A0 =A0 2.6.37-plus_v16_zcache =
#4
Quoted 30 lines
Quoted 30 lines
Quoted 30 lines
FMP55/ipower G3710
Feb 14 02:06:16 lupus kernel: [ =A0 93.966266] RIP: 0010:[<ffffffff8133ef1b>] =A0[<ffffffff8133ef1b>] btrfs_encode_fh+0x2b/0x120 Feb 14 02:06:16 lupus kernel: [ =A0 93.966440] RSP: 0018:ffff88023c63b6e0 =A0EFLAGS: 00010246 Feb 14 02:06:16 lupus kernel: [ =A0 93.966528] RAX: 00000000000000ff RBX: ffff88023cde0168 RCX: 0000000000000000 Feb 14 02:06:16 lupus kernel: [ =A0 93.966620] RDX: ffff88023c63b71c RSI: ffff88023c63b750 RDI: 0000000000000006 Feb 14 02:06:16 lupus kernel: [ =A0 93.966713] RBP: 0000030341ed0000 R08: ffffffff8133eef0 R09: ffff88023c63b8c0 Feb 14 02:06:16 lupus kernel: [ =A0 93.966805] R10: 0000000000000003 R11: 0000000000000001 R12: 00000000ffffffff Feb 14 02:06:16 lupus kernel: [ =A0 93.966897] R13: ffff88023cde0030 R14: ffffea0007d59bc8 R15: 0000000000000001 Feb 14 02:06:16 lupus kernel: [ =A0 93.966990] FS: 0000000000000000(0000) GS:ffff8800bf540000(0000) knlGS:0000000000000000 Feb 14 02:06:16 lupus kernel: [ =A0 93.967120] CS: =A00010 DS: 0000 ES: 0000 CR0: 000000008005003b Feb 14 02:06:16 lupus kernel: [ =A0 93.967209] CR2: 0000030341ed0050 CR3: 0000000001c27000 CR4: 00000000000006e0 Feb 14 02:06:16 lupus kernel: [ =A0 93.967302] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 14 02:06:16 lupus kernel: [ =A0 93.967394] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 14 02:06:16 lupus kernel: [ =A0 93.967500] Process btrfs-transacti (pid: 7915, threadinfo ffff88023c63a000, task ffff88023c7a1620) Feb 14 02:06:16 lupus kernel: [ =A0 93.967630] Stack:
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Feb 14 02:06:16 lupus kernel: [ =A0 93.967711] =A00000000000000000 0000000000000002 0000000000000000 0000000000000003 Feb 14 02:06:16 lupus kernel: [ =A0 93.968057] =A0ffffea0007d59bc8 ffffffff810e6aaa 0000000000000041 0000000600000002 Feb 14 02:06:16 lupus kernel: [ =A0 93.968348] =A00000000000000000 ffffffff810e6b3a 0000000000000001 ffffffff00000001 Feb 14 02:06:16 lupus kernel: [ =A0 93.968639] Call Trace: Feb 14 02:06:16 lupus kernel: [ =A0 93.968728] =A0[<ffffffff810e6aaa>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
cleancache_get_key+0x4a/0x60Feb 14 02:06:16 lupus kernel: [ =A0 93.968820] =A0[<ffffffff810e6b3a>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__cleancache_get_page+0x7a/0xd0Feb 14 02:06:16 lupus kernel: [ =A0 93.968914] =A0[<ffffffff8132e4de>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__extent_read_full_page+0x52e/0x710Feb 14 02:06:16 lupus kernel: [ =A0 93.969008] =A0[<ffffffff812f3f93>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
update_reserved_bytes+0xb3/0x140Feb 14 02:06:16 lupus kernel: [ =A0 93.969102] =A0[<ffffffff81305060>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btree_get_extent+0x0/0x1c0Feb 14 02:06:16 lupus kernel: [ =A0 93.969193] =A0[<ffffffff8132bb7c>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
merge_state+0x7c/0x150Feb 14 02:06:16 lupus kernel: [ =A0 93.969285] =A0[<ffffffff81330b21>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
read_extent_buffer_pages+0x2d1/0x470Feb 14 02:06:16 lupus kernel: [ =A0 93.969378] =A0[<ffffffff81305060>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btree_get_extent+0x0/0x1c0Feb 14 02:06:16 lupus kernel: [ =A0 93.969470] =A0[<ffffffff8130674d>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btree_read_extent_buffer_pages.clone.65+0x4d/0xa0
Feb 14 02:06:16 lupus kernel: [ =A0 93.969602] =A0[<ffffffff813076f9>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
read_tree_block+0x39/0x60Feb 14 02:06:16 lupus kernel: [ =A0 93.969694] =A0[<ffffffff812ed5e6>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
read_block_for_search.clone.40+0x116/0x410
Feb 14 02:06:16 lupus kernel: [ =A0 93.969878] =A0[<ffffffff812f0bc7>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_search_slot+0x307/0xa00Feb 14 02:06:16 lupus kernel: [ =A0 93.969970] =A0[<ffffffff812f6b18>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
lookup_inline_extent_backref+0x98/0x4a0Feb 14 02:06:16 lupus kernel: [ =A0 93.970065] =A0[<ffffffff810e33d7>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kmem_cache_alloc+0x87/0xa0Feb 14 02:06:16 lupus kernel: [ =A0 93.970157] =A0[<ffffffff812f891c>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
__btrfs_free_extent+0xcc/0x6f0Feb 14 02:06:16 lupus kernel: [ =A0 93.970249] =A0[<ffffffff812f8434>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
update_block_group.clone.62+0xc4/0x280
Feb 14 02:06:16 lupus kernel: [ =A0 93.970343] =A0[<ffffffff812fc4cf>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
run_clustered_refs+0x39f/0x880Feb 14 02:06:16 lupus kernel: [ =A0 93.970436] =A0[<ffffffff812fca77>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_run_delayed_refs+0xc7/0x220Feb 14 02:06:16 lupus kernel: [ =A0 93.970529] =A0[<ffffffff810e15f9>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
new_slab+0x169/0x1f0Feb 14 02:06:16 lupus kernel: [ =A0 93.970619] =A0[<ffffffff8130c29c>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
btrfs_commit_transaction+0x7c/0x760Feb 14 02:06:16 lupus kernel: [ =A0 93.970713] =A0[<ffffffff81067ea0>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
autoremove_wake_function+0x0/0x30Feb 14 02:06:16 lupus kernel: [ =A0 93.970806] =A0[<ffffffff81305bc3>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
transaction_kthread+0x283/0x2a0Feb 14 02:06:16 lupus kernel: [ =A0 93.970898] =A0[<ffffffff81305940>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
transaction_kthread+0x0/0x2a0Feb 14 02:06:16 lupus kernel: [ =A0 93.970990] =A0[<ffffffff81305940>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
transaction_kthread+0x0/0x2a0Feb 14 02:06:16 lupus kernel: [ =A0 93.971083] =A0[<ffffffff81067a16>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kthread+0x96/0xa0Feb 14 02:06:16 lupus kernel: [ =A0 93.971174] =A0[<ffffffff81003514>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kernel_thread_helper+0x4/0x10Feb 14 02:06:16 lupus kernel: [ =A0 93.971266] =A0[<ffffffff81067980>] =
?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
kthread+0x0/0xa0Feb 14 02:06:16 lupus kernel: [ =A0 93.971355] =A0[<ffffffff81003510>] =
?
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
kernel_thread_helper+0x0/0x10Feb 14 02:06:16 lupus kernel: [ =A0 93.971444] Code: 55 b8 ff 00 00 00 53 48 89 fb 48 83 ec 18 48 8b 6f 10 8b 3a 83 ff 04 0f 86 d5 00 00 00 85 c9 0f 95 c1 83 ff 07 0f 86 d5 00 00 00 <48> 8b 45 50 bf 05 00 00 00 48 89 06 84 c9 48 8b 85 68 fe ff ff Feb 14 02:06:16 lupus kernel: [ =A0 93.974280] RIP =A0[<ffffffff8133ef1=
b>]
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
btrfs_encode_fh+0x2b/0x120Feb 14 02:06:16 lupus kernel: [ =A0 93.974412] =A0RSP <ffff88023c63b6e0=Feb 14 02:06:16 lupus kernel: [ =A0 93.974497] CR2: 0000030341ed0050 Feb 14 02:06:16 lupus kernel: [ =A0 93.974599] ---[ end trace 3313552d105b1536 ]--- Feb 14 02:07:04 lupus kernel: [ =A0141.906124] zcache: destroyed pool i=
d=3D2
Quoted 1 line
Quoted 1 line
Quoted 1 line
Feb 14 02:07:17 lupus kernel: [ =A0154.783358] SysRq : Keyboard mode se=
t
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
to system default
Feb 14 02:07:18 lupus kernel: [ =A0155.486147] SysRq : Terminate All Ta=
sks
Quoted 106 lines
Quoted 19 lines
Quoted 8 lines
That's all for now
Thanks & Regards
Matt
(leaving out several folks from the CC to avoid spamming - if I left out someone wrongfully please re-add)
running an addr2line reveals:
addr2line -e
/usr/src/linux-2.6.37_vanilla/vmlinux-iffffffff81338cbbexport.c:0Quoted 7 lines
hope that helps
Regards
Matt
ok, maybe it's useful to have some more details how to reproduce it as easily as possible and about my configuration:
preparation steps:
1) 2.6.37 vanilla kernel with the mentioned changes to zram (and xvmalloc), zcache (+ fixes)
configuration specifics:
CONFIG_CRYPTO_PCRYPT=3Dy2) on a non-btrfs partition or with zcache disable: get a portage-tarball comparable to mine download from one of the gentoo-mirrors (http://www.gentoo.org/main/en/mirrors2.xml), e.g. the University of California:
ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/snapshots/(weighing only around 40 MiB) then
get that tarball to a decent size by adding the latest changes from a rsync-mirror (http://www.gentoo.org/main/en/mirrors-rsync.xml)
I can also upload my specific tarball weighing at 1.7 GiB at request - just point me a place to drop it
3) creating a tar.bzip2 ball (preferably via 7z or pbzip2 so that it can be extracted later in parallel to create some pressure)
Hardware:
core i7 860 (4 cores - ht -> 8 threads), 8 GiB of RAM, underlying harddrive is a Samsung HD203WI, NCQ is disabled (queue_depthset to "1"), using CFQ as i/o schedulerecho "13" >
/proc/sys/vm/page-cluster
echo "60" >/proc/sys/vm/swappiness
echo "3000" >/proc/sys/vm/dirty_expire_centisecsecho "1500" =A0>/proc/sys/vm/dirty_writeback_centisecsecho "15" >/proc/sys/vm/dirty_background_ratioecho "50" =A0 >/proc/sys/vm/dirty_ratio
echo "50" >/proc/sys/vm/vfs_cache_pressureecho "32768" >/proc/sys/vm/min_free_kbytesfor i in
/sys/block/sd*; do
=A0 =A0 =A0 =A0/bin/echo"4096" > =A0$i/queue/read_ahead_kb =A0 =A0 =A0 =A0/bin/echo"64" > =A0$i/queue/max_sectors_kb =A0 =A0 =A0 =A0/bin/echo"1" =A0 > =A0$i/queue/rq_affinity done
nr_requestsis set to "1024"
slice_syncto "150"fifo_expire_syncto "50"echo 4096 >
/sys/class/bdi/default/read_ahead_kbsteps to get the "result":
1) cryptsetup-partition with aes or twofish-encryption (512 bits) [using cryptsetup 1.1.3* or 1.2*]
2) on top of that btrfs
3) extracting the tarball (usually I'm adding a "time" in front to see how long it took): time (7z e -so -tbzip2 -mmt=3D5 /system/portage_backup_022011.tbz2 | tar
-xp -C/usr/gentoo/)"result":
1) it seems to take several seconds or even minutes until that BUG message gets shown so maybe some memory (or other kind of subsystem) pressure is needed to trigger it
Quoted 7 lines
I hope that's useful in reproducing the BUG
Thanks & Regards
Matt
*bump*
adding: Li Zefan, Miao Xie, Yan Zheng, Dan Rosenberg, Josef Bacik and the btrfs mailing list to CC
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>