Re: arch/x86/lib/inat.c Error and Kernel Panic

From: Franklin Wei
Date: Sat Sep 29 2012 - 09:36:48 EST


Well, I managed to compile the kernel (3.6rc7) using the code in the
tar.gz. However, when I try to boot it, it gives a kernel panic. I
suspect that it has to do with the initrd I created, judging from the
messages on the screen. Attached are pictures of the error. Sorry fot
the bad quality. You guys are awesome!

On 9/25/12, Franklin Wei <frankhwei536@xxxxxxxxx> wrote:
> I found something:
> My inat-tables.c is blank!
> Going to get the source from Git and try again.
> Thanks for the help!
>
> On 9/25/12, Borislav Petkov <bp@xxxxxxxxx> wrote:
>> On Mon, Sep 24, 2012 at 06:16:50PM -0700, Randy Dunlap wrote:
>>> >> That's because all those _tables thingies are included from a
>>> >> "inat-tables.c" in the same directory but it somehow doesn't get
>>> >> included?!
>>> >>
>>> >> Can we get your .config pls? Also, you're doing a "normal" kernel
>>> >> build
>>> >> on the command line, right?
>>> >>
>>> >> Thanks.
>>>
>>>
>>> Your config builds OK for me.
>>> Do you see this line in your build output before inat.c is built?
>>>
>>>
>>> GEN arch/x86/lib/inat-tables.c
>>
>> Yeah, this looks like stale files from the build or similar are not
>> being properly cleaned. Franklin, do the following:
>>
>> $ cp .config /tmp/
>> $ make mrproper
>> $ cp /tmp/.config .
>> $ make oldconfig
>> $ make -j<num_cpus + 1>
>>
>> to verify that a clean build actually fixes your issue.
>>
>> Thanks.
>>
>> --
>> Regards/Gruss,
>> Boris.
>>
>

Attachment: 0929120920-00.jpg
Description: JPEG image

Attachment: 0929120921-00.jpg
Description: JPEG image