From: cwillu <cwillu@cwillu.com>
To: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: BUG while writing to USB btrfs filesystem
Date: Tue, 18 Jan 2011 17:06:40 -0600 [thread overview]
Message-ID: <AANLkTim6a_xv7gf-OHbhtV75eJesCF4gLDB-aHxkM-PX@mail.gmail.com> (raw)
In-Reply-To: <AANLkTimjuO=RcVciFCo5MKPnVArvXBLnhs2taS5cOw6f@mail.gmail.com>
On Tue, Jan 18, 2011 at 4:28 PM, cwillu <cwillu@cwillu.com> wrote:
> While untar'ing an image to an sd card via a reader, I got the
> following bug. =A0The system also has a btrfs root, and a whole swath=
of
> processes went into uninterruptable sleep. =A0I was able to poke arou=
nd
> via ssh and sysrq, and already had netconsole set up to capture the
> bug.
>
> Root fs is on /dev/sdi1, and /dev/sdj2 is the card reader which was
> the target of the untar.
>
> [29571.448889] sd 11:0:0:0: [sdj] Assuming drive cache: write through
> [29571.451153] =A0sdj: unknown partition table
> [29572.047390] sd 11:0:0:0: [sdj] Assuming drive cache: write through
> [29572.048149] =A0sdj: sdj1 sdj2
> [29602.642175] device fsid 5648f85292725e76-72190c37da5211b6 devid 1
> transid 7 /dev/sdj2
> [29602.643256] btrfs: use spread ssd allocation scheme
> [36852.550219] sd 11:0:0:0: [sdj] Assuming drive cache: write through
> [36852.552958] =A0sdj: unknown partition table
> [36852.571770] ------------[ cut here ]------------
> [36852.580008] kernel BUG at fs/btrfs/inode.c:1629!
> [36852.580008] invalid opcode: 0000 [#1] SMP [36852.580008] invalid
> opcode: 0000 [#1] SMP
> [36852.580008] last sysfs file:
> /sys/devices/pci0000:00/0000:00:1a.7/usb1/1-2/1-2:1.0/uevent
> [36852.580008] CPU 2
> [36852.580008] Modules linked in: netconsole configfs nls_cp437 vfat
> fat binfmt_misc ppdev configfs ipt_MASQUERADE iptable_nat
> nls_iso8859_1 nf_nat nf_conntrack_ipv4 nls_cp437 nf_defrag_ipv4
> ipt_REJECT aes_generic snd_rawmidi snd_rawmidi snd_seq_midi_event
> snd_seq snd_timer snd_seq_device asus_atk0110 lp snd soundcore
> snd_page_alloc shpchp parport raid10 raid456 snd_page_alloc async_pq
> async_xor xor async_memcpy shpchp async_raid6_recov parport raid6_pq
> async_tx raid10 raid1 raid0 multipath linear raid456 btrfs
> zlib_deflate async_pq async_xor xor async_memcpy async_raid6_recov
> raid6_pq async_tx raid1 raid0 multipath linear btrfs zlib_deflate
> lzo_compress crc32c libcrc32c radeon ttm lzo_compress ohci1394
> drm_kms_helper crc32c usb_storage ieee1394 r8169 libcrc32c drm
> i2c_algo_bit mii radeon pata_jmicron ahci libahci intel_agp ttm
> ohci1394 drm_kms_helper usb_storage ieee1394 r8169 drm i2c_algo_bit
> mii pata_jmicron ahci libahci intel_agp
>
> [36852.580008]
> [36852.580008] Pid: 437, comm: btrfs-endio-wri Not tainted
> 2.6.36-btrfs2 #1 P5Q3/System Product Name
> [36852.580008] RIP: 0010:[<ffffffffa0224120>] [<ffffffffa0224120>]
> T.1224+0x220/0x230 [btrfs]
> [36852.580008] RSP: 0000:ffff880231c7dc30 =A0EFLAGS: 00010286
> [36852.580008] RAX: 00000000ffffffe4 RBX: ffff88023363a7e0 RCX: ffff8=
8023363ad80
> [36852.580008] RDX: 0000000000000000 RSI: ffffea0007b3dcb0 RDI: 00000=
00000000206
> [36852.580008] RBP: ffff880231c7dcc0 R08: 0000000000000005 R09: 00000=
000ffffffe4
> [36852.940017] R10: 0000000000000000 R11: 6db6db6db6db6db7 R12: ffff8=
8022ec8ea80
> [36852.940017] R13: 000000000e19a000 R14: ffff88023173c000 R15: ffff8=
802335fe900
> [36852.940017] FS: =A00000000000000000(0000) GS:ffff880001f00000(0000=
)
> knlGS:0000000000000000
> [36852.940017] CS: =A00010 DS: 0000 ES: 0000 CR0: 000000008005003b
> [36852.940017] CR2: 00000000017ed2d8 CR3: 00000001d42ac000 CR4: 00000=
000000006e0
> [36852.940017] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 00000=
00000000000
> [36852.940017] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 00000=
00000000400
> [36852.940017] Process btrfs-endio-wri (pid: 437, threadinfo
> ffff880231c7c000, task ffff880232738000)
> [36852.940017] Stack:
> [36852.940017] =A0000000000e19a000 0000000000001000 000000494189e000
> 0000000000001000
> [36852.940017] <0> ffff880231c7dc70 ffffffff81582fde ffff8802335fe900
> ffff88023173c000
> [36852.940017] <0> ffff880231c7dcb0 ffffffffa0220e1c 000000000e19a000
> ffff88022ec8ea80
>
> [36853.210013] Call Trace:
> [36853.210013] =A0[<ffffffff81582fde>] ? mutex_lock+0x1e/0x50
> [36853.210013] =A0[<ffffffffa0220e1c>] ? start_transaction+0x1cc/0x27=
0 [btrfs]
> [36853.210013] =A0[<ffffffffa022495b>] btrfs_finish_ordered_io+0x2eb/=
0x330 [btrfs]
> [36853.210013] =A0[<ffffffff81103157>] ? mempool_free_slab+0x17/0x20
> [36853.210013] =A0[<ffffffffa02249ba>]
> btrfs_writepage_end_io_hook+0x1a/0x20 [btrfs]
> [36853.210013] =A0[<ffffffffa024217b>]
> end_bio_extent_writepage+0x13b/0x180 [btrfs]
> [36853.210013] =A0[<ffffffff815828bb>] ? schedule_timeout+0x19b/0x300
> [36853.210013] =A0[<ffffffff8118212d>] bio_endio+0x1d/0x40
> [36853.210013] =A0[<ffffffffa021a1b4>] end_workqueue_fn+0xf4/0x130 [b=
trfs]
> [36853.210013] =A0[<ffffffffa024d1cc>] worker_loop+0x15c/0x640 [btrfs=
]
> [36853.210013] =A0[<ffffffffa024d070>] ? worker_loop+0x0/0x640 [btrfs=
]
> [36853.210013] =A0[<ffffffff81080bf6>] kthread+0x96/0xa0
> [36853.210013] =A0[<ffffffff8100bea4>] kernel_thread_helper+0x4/0x10
> [36853.210013] =A0[<ffffffff81080b60>] ? kthread+0x0/0xa0
> [36853.210013] =A0[<ffffffff8100bea0>] ? kernel_thread_helper+0x0/0x1=
0
> [36853.210013] Code: 68 31 c0 5b 41 5c 41 5d 41 5e 41 5f c9 c3 0f 0b
> eb fe 66 0f 1f 84 00 00 00 00 00 0f 0b eb fe 0f 1f 40 00 0f 0b eb fe
> 0f 1f 40 00 <0f> 0b eb fe 66 66 66 2e 0f 1f 84 00 00 00 00 00 55 48 8=
9
> e5 41
> [36853.210013] RIP =A0[<ffffffffa0224120>] T.1224+0x220/0x230 [btrfs]
> [36853.690010] =A0RSP <ffff880231c7dc30>
> [36853.877226] ---[ end trace 101a91b31ae9f3ff ]---
>
Grumble grumble... this is a 2.6.36 kernel built from cmason's
for-linus branch last night, commit: acce95
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-01-18 23:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-18 22:28 BUG while writing to USB btrfs filesystem cwillu
2011-01-18 23:06 ` cwillu [this message]
2011-01-31 1:33 ` cwillu
2011-01-31 2:57 ` Chris Samuel
2011-01-31 3:11 ` cwillu
2011-01-31 3:35 ` Chris Samuel
2011-01-31 5:18 ` cwillu
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=AANLkTim6a_xv7gf-OHbhtV75eJesCF4gLDB-aHxkM-PX@mail.gmail.com \
--to=cwillu@cwillu.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).