2012-02-22 07:17:38

by Hitoshi Mitake

[permalink] [raw]
Subject: segmentation fault of modpost

Hi,

I tried to build tip-tree with allmodconfig and ARCH=i386 on x86_64 machine.
And modpost caused segmentation fault like this:
modpost[23652]: segfault at 2b53bece3000 ip 00000000004030bb sp
00007ffffad8d260 error 4 in modpost[400000+d000]
# from dmesg

The commit of -tip tree is 64256eb8e9f8cd53100ee6142968df336c54eb32.

Is this problem already reported or solved?
If not, I'd like to solve this because I need to build all{mod,yes}config
kernel for testing readq/writeq of x86.

Thanks,

--
Hitoshi Mitake
[email protected]


2012-02-23 00:14:26

by H. Peter Anvin

[permalink] [raw]
Subject: Re: segmentation fault of modpost

On 02/21/2012 11:17 PM, Hitoshi Mitake wrote:
> Hi,
>
> I tried to build tip-tree with allmodconfig and ARCH=i386 on x86_64 machine.
> And modpost caused segmentation fault like this:
> modpost[23652]: segfault at 2b53bece3000 ip 00000000004030bb sp
> 00007ffffad8d260 error 4 in modpost[400000+d000]
> # from dmesg
>
> The commit of -tip tree is 64256eb8e9f8cd53100ee6142968df336c54eb32.
>
> Is this problem already reported or solved?
> If not, I'd like to solve this because I need to build all{mod,yes}config
> kernel for testing readq/writeq of x86.
>

I cannot reproduce this on a Fedora 15 development system. I have to
turn off two modules:

CONFIG_SCx200HR_TIMER=n
CONFIG_ANDROID_BINDER_IPC=n

... but modpost runs just fine. It would be good if you could compile
modpost with -g and see where in the code the failure happens.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.