From: Sergei Trofimovich <slyich@gmail.com>
To: Sergei Trofimovich <slyich@gmail.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: v2.6.38-6555-ga44f99c: null pointer dereference on -ENOSPC
Date: Sun, 3 Apr 2011 00:10:28 +0300 [thread overview]
Message-ID: <20110403001028.62341746@sf.home> (raw)
In-Reply-To: <20110329103224.3fecfd32@sf.vba.domain>
[-- Attachment #1: Type: text/plain, Size: 4884 bytes --]
On Tue, 29 Mar 2011 10:32:24 +0300
Sergei Trofimovich <slyich@gmail.com> wrote:
> The partition is a physical ~5GB --mixed lzo compressed partition.
>
> I run large compiles there. During one of those kernel OOpsed
> (It seems to be reproducible). At the time of OOps and after reboot 'du -hs'
> reports 2.5GBs free. Before compiation 'du -hs' reported 3.4GBs free.
>
> kernel version: v2.6.38-6555-ga44f99c (a bit outdated linus's master branch)
This time vanilla 2.6.38. The same type/size of partition, but another box.
Compiled another large project on the FS. df reports 3GB free, btrfs fi df reports:
System: total=4.00MB, used=4.00KB
Data: total=2.66GB, used=1.40GB
[106764.528674] ------------[ cut here ]------------
[106764.528736] kernel BUG at fs/btrfs/extent-tree.c:5452!
[106764.528788] invalid opcode: 0000 [#1] PREEMPT SMP
[106764.528849] last sysfs file: /sys/devices/virtual/backlight/acpi_video0/uevent
[106764.528919] CPU 0
[106764.528942] Modules linked in: sco bnep btusb rfcomm l2cap bluetooth ext2 btrfs zlib_deflate crc32c libcrc32c loop kvm_intel kvm fuse acpi_cpufreq mperf scsi_wait_scan usb_storage tun snd_hda_codec_analog sdhci_pci pcmcia iwlagn sdhci yenta_socket pcmcia_rsrc mmc_core sg snd_hda_intel pcmcia_core snd_hda_codec iwlcore i915 mac80211 cfg80211 rfkill drm_kms_helper sr_mod drm e1000e i2c_algo_bit cdrom processor thermal battery fan container snd_hwdep button ac
[106764.529010]
[106764.529010] Pid: 1642, comm: btrfs-endio-wri Not tainted 2.6.38 #102 Hewlett-Packard HP Compaq 2510p Notebook PC/30C9
[106764.529010] RIP: 0010:[<ffffffffa040d886>] [<ffffffffa040d886>] alloc_reserved_file_extent+0xa2/0x1f3 [btrfs]
[106764.529010] RSP: 0000:ffff8800786cbab0 EFLAGS: 00010286
[106764.529010] RAX: 00000000ffffffe4 RBX: ffff880076b5b750 RCX: ffff8800786cb940
[106764.529010] RDX: ffff8800786cb940 RSI: ffff880076b5b750 RDI: 0000000000000000
[106764.529010] RBP: ffff8800786cbb40 R08: 0000000000000000 R09: ffffffffffffffff
[106764.529010] R10: 0000000000000001 R11: ffff8800786cbbe0 R12: ffff8800786cbbe0
[106764.529010] R13: 00000000000000b2 R14: 0000000000000000 R15: ffff8800763775c0
[106764.529010] FS: 0000000000000000(0000) GS:ffff88007e400000(0000) knlGS:0000000000000000
[106764.529010] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[106764.529010] CR2: 0000000000432065 CR3: 0000000074f12000 CR4: 00000000000006f0
[106764.529010] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[106764.529010] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[106764.529010] Process btrfs-endio-wri (pid: 1642, threadinfo ffff8800786ca000, task ffff880078638000)
[106764.529010] Stack:
[106764.529010] ffff8800786cbae0 ffff8800780f0000 ffff88000000001d 00000000000c4a88
[106764.529010] 0000000000000000 0000000000000005 ffff8800748be800 ffffffff8102fd80
[106764.529010] ffff8800786cbb10 ffffffff8102fd80 ffff8800786cbb20 0000003500000001
[106764.529010] Call Trace:
[106764.529010] [<ffffffff8102fd80>] ? get_parent_ip+0x11/0x41
[106764.529010] [<ffffffff8102fd80>] ? get_parent_ip+0x11/0x41
[106764.529010] [<ffffffffa0413663>] run_clustered_refs+0x650/0x767 [btrfs]
[106764.529010] [<ffffffffa04382b5>] ? map_private_extent_buffer+0xf0/0x149 [btrfs]
[106764.529010] [<ffffffffa0413846>] btrfs_run_delayed_refs+0xcc/0x1d1 [btrfs]
[106764.529010] [<ffffffff810308bc>] ? sub_preempt_count+0x92/0xa5
[106764.529010] [<ffffffffa041e02c>] __btrfs_end_transaction+0x67/0x1ed [btrfs]
[106764.529010] [<ffffffffa041e1e6>] btrfs_end_transaction+0x10/0x12 [btrfs]
[106764.529010] [<ffffffffa04297a6>] btrfs_finish_ordered_io+0x2ac/0x2cf [btrfs]
[106764.529010] [<ffffffff81093204>] ? mempool_free_slab+0x12/0x14
[106764.529010] [<ffffffffa04297de>] btrfs_writepage_end_io_hook+0x15/0x17 [btrfs]
[106764.529010] [<ffffffffa045257a>] end_compressed_bio_write+0x6c/0xcc [btrfs]
[106764.529010] [<ffffffff810f37b0>] bio_endio+0x28/0x2a
[106764.529010] [<ffffffffa041a365>] end_workqueue_fn+0x10c/0x11b [btrfs]
[106764.529010] [<ffffffffa0443b34>] worker_loop+0x19a/0x4e9 [btrfs]
[106764.529010] [<ffffffffa044399a>] ? worker_loop+0x0/0x4e9 [btrfs]
[106764.529010] [<ffffffff8104d6e6>] kthread+0x7d/0x85
[106764.529010] [<ffffffff81002dd4>] kernel_thread_helper+0x4/0x10
[106764.529010] [<ffffffff8104d669>] ? kthread+0x0/0x85
[106764.529010] [<ffffffff81002dd0>] ? kernel_thread_helper+0x0/0x10
[106764.529010] Code: 88 00 00 00 08 83 c2 18 48 8b 71 20 41 b9 01 00 00 00 89 55 cc 4c 8d 45 cc 4c 89 e1 48 89 c2 4c 89 ff e8 fb a6 ff ff 85 c0 74 04 <0f> 0b eb fe 48 8b 03 48 89 45 b8 48 89 c7 48 63 73 40 48 6b f6
[106764.529010] RIP [<ffffffffa040d886>] alloc_reserved_file_extent+0xa2/0x1f3 [btrfs]
[106764.529010] RSP <ffff8800786cbab0>
[106764.590182] ---[ end trace afeb166ab43211d0 ]---
--
Sergei
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2011-04-02 21:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-29 7:32 v2.6.38-6555-ga44f99c: null pointer dereference on -ENOSPC Sergei Trofimovich
2011-04-02 21:10 ` Sergei Trofimovich [this message]
2011-04-11 22:09 ` Sergei Trofimovich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110403001028.62341746@sf.home \
--to=slyich@gmail.com \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).