All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Rhodes Clymer <david-LEGOU7lN1jbY0TyS/+Ba5Q@public.gmane.org>
To: Kent Overstreet
	<kent.overstreet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: bcache lockup
Date: Tue, 24 Jan 2012 08:56:52 -0500	[thread overview]
Message-ID: <CAB7K1hEp6Kk+th3DZnMbPhMOmo1peRuT_-mNRTVdpofW7C+Jsg@mail.gmail.com> (raw)
In-Reply-To: <CAC7rs0vCkk5QFBKm3TghZdkeOJETF4mrgUZJ-UEmSR2-gXtC9Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On Sun, Dec 18, 2011 at 11:01 PM, Kent Overstreet
<kent.overstreet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Appears I didn't push the fix to the public tree...
>
> Give me a day or so, I'll need to merge the latest fixes into the 3.1
> tree, test it and make sure I haven't missed anything else...


Looks like commit 7c3e597ca0f5c87767548d1e9aced024aa558b2a
resolved this issue for me.

-davidc


>
> On Sun, Dec 18, 2011 at 5:22 PM, David Rhodes Clymer
> <david-LEGOU7lN1jbY0TyS/+Ba5Q@public.gmane.org> wrote:
>> On Sat, Dec 17, 2011 at 11:46 PM, Kent Overstreet
>> <kent.overstreet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>>> Argh, it's always something.
>>>
>>> That looks like you hit the BUG_ON(!req->nr_phys_segments). I thought
>>> I fixed that.
>>>
>>> Are you running the latest code? There should be a commit that says
>>> "bcache: Always initialize bi_max_vecs".
>>
>> Yeah, I'm running the latest. The last commit is:
>>
>>        ffca635f2efb8e091c469ffcc86d4def2d5c381d: Open block device exclusively
>>
>> The only 2 commit messages referencing bi_max_vecs that I could find
>> didn't seem to be bcache specific (they were from 2006).
>>
>> I have no local modifications.
>>
>> -davidc.
>>
>>
>>>
>>> On Sat, Dec 17, 2011 at 5:00 AM, David Rhodes Clymer
>>> <david-LEGOU7lN1jbY0TyS/+Ba5Q@public.gmane.org> wrote:
>>>> On Fri, Dec 16, 2011 at 1:56 PM, Kent Overstreet
>>>> <kent.overstreet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>>>>> On Fri, Dec 16, 2011 at 9:41 AM, David Rhodes Clymer
>>>>> <david-LEGOU7lN1jbY0TyS/+Ba5Q@public.gmane.org> wrote:
>>>>>> Is there any reason bcache would not work with LVM in particular, or
>>>>>> did I do something else that was silly?
>>>>>
>>>>> Certainly ought to work, but I'm not sure what the last time I tested
>>>>> it was. I'll see if I can reproduce it.
>>>>
>>>> Well, just for kicks, I setup bcache with a regular disk as the
>>>> backing device. Everything seemed to go ok...I was able to create an
>>>> ext4 filesystem on it and mount it. I remembered I had forgotten to
>>>> attach the cache, so I attached the cache, and tried copying an ISO to
>>>> the mounted fs, and it immediately crashed.
>>>>
>>>>  I was doing this remotely, and now I can't get to the box. So I'm not
>>>> certain this is the full traceback, but it's what I got before I lost
>>>> connection:
>>>>
>>>>  kernel:[50655.044130] ------------[ cut here ]------------
>>>> Message from syslogd@zapazoid at Dec 17 07:39:06 ...
>>>> kernel:[50655.048019] invalid opcode: 0000 [#1] SMP
>>>> Message from syslogd@zapazoid at Dec 17 07:39:06 ...
>>>> kernel:[50655.048019] Process kworker/5:0 (pid: 5699, ti=c78c2000
>>>> task=f27db5f0 task.ti=c78c2000)
>>>> Message from syslogd@zapazoid at Dec 17 07:39:06 ...
>>>> kernel:[50655.048019] Stack:
>>>> Message from syslogd@zapazoid at Dec 17 07:39:06 ...
>>>> kernel:[50655.048019] Call Trace:
>>>> Message from syslogd@zapazoid at Dec 17 07:39:06 ...
>>>> kernel:[50655.048019] Code: 8b 87 88 03 00 00 85 c0 74 17 8b 00 85 c0
>>>> 74 11 8b 48 28 85 c9 74 0a 89 f2 89 f8 ff d1 85 c0 75 6b 66 83 be 84
>>>> 00 00 00 00 75 04 <0f> 0b eb fe 8b 9e 90 00 00 00 85 db 75 1d ba 20 00
>>>> 00 00 89 f8
>>>> Message from syslogd@zapazoid at Dec 17 07:39:06 ...
>>>> kernel:[50655.048019] EIP: [<f8c759de>] scsi_setup_fs_cmnd+0x3f/0xa4
>>>> [scsi_mod] SS:ESP 0068:c78c3ed0
>>>>
>>>>
>>>> This box has a Phenom II X6 (1035T??). I'm not exactly certain of the
>>>> model number.
>>>>
>>>> -davidc

      parent reply	other threads:[~2012-01-24 13:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-16 17:41 bcache lockup David Rhodes Clymer
     [not found] ` <CAB7K1hG7mYqGhrn1Uy9D0DGPJJVK8T0QOX8O26BXgcJHLxZESA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-12-16 18:56   ` Kent Overstreet
     [not found]     ` <CAC7rs0tzAuxyokzAru=KDnPJjFmMhrFjAopH7NJnQiGxi05s3w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-12-17 13:00       ` David Rhodes Clymer
     [not found]         ` <CAB7K1hEBJhe1xU5J5saVw4DFz_Oh_JCS7cvqLx++SdadCTtkNA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-12-18  4:46           ` Kent Overstreet
     [not found]             ` <CAC7rs0uPp6Y41zQ7DS5ROBJn8rcT7Jqmb9P0gF-O-ct3-zPcgw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-12-19  1:22               ` David Rhodes Clymer
     [not found]                 ` <CAB7K1hGgX5qEfZU+5SY04JM0woT48oNy-sC5+FZg=QKnB7EwMg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-12-19  4:01                   ` Kent Overstreet
     [not found]                     ` <CAC7rs0vCkk5QFBKm3TghZdkeOJETF4mrgUZJ-UEmSR2-gXtC9Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-01-24 13:56                       ` David Rhodes Clymer [this message]

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=CAB7K1hEp6Kk+th3DZnMbPhMOmo1peRuT_-mNRTVdpofW7C+Jsg@mail.gmail.com \
    --to=david-legou7ln1jby0tys/+ba5q@public.gmane.org \
    --cc=kent.overstreet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.