2015-07-14 13:27:12

by Huang, Ying

[permalink] [raw]
Subject: [lkp] [block] 86ecb9456ac:

FYI, we noticed the below changes on

git://git.kernel.org/pub/scm/linux/kernel/git/mlin/linux.git block-generic-req
commit 86ecb9456ac74ba3996d05ca1b09a7756a31bfd7 ("block: make generic_make_request handle arbitrarily sized bios")

We found the following new message in kernel log, do you increase vmalloc usage in your patch?

[ 6.939422] vmap allocation for size 16384 failed: use vmalloc=<size> to increase size.


Thanks,
Ying Huang


Attachments:
config-4.2.0-rc1-00001-g86ecb94 (107.60 kB)
dmesg.xz (16.17 kB)
Download all attachments

2015-07-14 14:09:05

by Kent Overstreet

[permalink] [raw]
Subject: Re: [lkp] [block] 86ecb9456ac:

On Tue, Jul 14, 2015 at 09:26:57PM +0800, Huang Ying wrote:
> FYI, we noticed the below changes on
>
> git://git.kernel.org/pub/scm/linux/kernel/git/mlin/linux.git block-generic-req
> commit 86ecb9456ac74ba3996d05ca1b09a7756a31bfd7 ("block: make generic_make_request handle arbitrarily sized bios")
>
> We found the following new message in kernel log, do you increase vmalloc usage in your patch?

not that I know of, use dump_stack() to get a backtrace when it happens

2015-07-14 17:31:25

by Ming Lin

[permalink] [raw]
Subject: Re: [lkp] [block] 86ecb9456ac:

On Tue, Jul 14, 2015 at 6:26 AM, Huang Ying <[email protected]> wrote:
> FYI, we noticed the below changes on
>
> git://git.kernel.org/pub/scm/linux/kernel/git/mlin/linux.git block-generic-req
> commit 86ecb9456ac74ba3996d05ca1b09a7756a31bfd7 ("block: make generic_make_request handle arbitrarily sized bios")
>
> We found the following new message in kernel log, do you increase vmalloc usage in your patch?
>
> [ 6.939422] vmap allocation for size 16384 failed: use vmalloc=<size> to increase size.

[ 6.939422] vmap allocation for size 16384 failed: use
vmalloc=<size> to increase size.
[ 6.955278] lguest: could not map switcher pages high

This actually comes from lguest.

Several weeks ago I tried lguest on qemu-kvm-i386 and saw similar problem.
I didn't debug it further, but it's OK if disable CONFIG_SMP.

I just double-checked it with v4.2-rc1(without this patchset)
CONFIG_SMP: see the vmalloc error
!CONFIG_SMP: no problem

Could you confirm?

BTW, it seams "qemu-kvm-i386 guest" as "lguest host" doesn't work.
Need to run lguest on bare metal.

Thanks.

>
>
> Thanks,
> Ying Huang