mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: arch/x86/lib/inat.c Error and Kernel Panic
@ 2012-09-29 13:36 Franklin Wei
  2012-09-29 22:31 ` Borislav Petkov
  0 siblings, 1 reply; 4+ messages in thread
From: Franklin Wei @ 2012-09-29 13:36 UTC (permalink / raw)
  To: Borislav Petkov, Randy Dunlap, Franklin Wei, linux-kernel,
	Masami Hiramatsu

[-- Attachment #1: Type: text/plain, Size: 1450 bytes --]

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@gmail.com> 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@alien8.de> 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 #2: 0929120920-00.jpg --]
[-- Type: image/jpeg, Size: 248152 bytes --]

[-- Attachment #3: 0929120921-00.jpg --]
[-- Type: image/jpeg, Size: 166257 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: arch/x86/lib/inat.c Error and Kernel Panic
  2012-09-29 13:36 arch/x86/lib/inat.c Error and Kernel Panic Franklin Wei
@ 2012-09-29 22:31 ` Borislav Petkov
  2012-10-01 22:22   ` Franklin Wei
  0 siblings, 1 reply; 4+ messages in thread
From: Borislav Petkov @ 2012-09-29 22:31 UTC (permalink / raw)
  To: Franklin Wei; +Cc: Randy Dunlap, linux-kernel, Masami Hiramatsu

On Sat, Sep 29, 2012 at 09:36:36AM -0400, Franklin Wei wrote:
> 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!

Not yet, we haven't fixed your issue yet :)

But judging from the screenshots, you don't have the required drivers
for the kernel to find your root partition.

Make sure you've compiled in the SATA/IDE driver for your motherboard
and the driver for your root filesystem (ext2,3,4). When you have all
those compiled into the kernel you don't need an initrd AFAICT.

Simply try booting a live cd, see what SATA/IDE driver gets detected,
enable it in your kernel and then try again.

Or take the .config from an older kernel which boots on your box.

HTH.

-- 
Regards/Gruss,
    Boris.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: arch/x86/lib/inat.c Error and Kernel Panic
  2012-09-29 22:31 ` Borislav Petkov
@ 2012-10-01 22:22   ` Franklin Wei
  2012-10-01 22:27     ` Franklin Wei
  0 siblings, 1 reply; 4+ messages in thread
From: Franklin Wei @ 2012-10-01 22:22 UTC (permalink / raw)
  To: Borislav Petkov, Franklin Wei, Randy Dunlap, linux-kernel,
	Masami Hiramatsu

I'll take your advice. However, this is a MacBook so...
Thanks anyways!

On 9/29/12, Borislav Petkov <bp@alien8.de> wrote:
> On Sat, Sep 29, 2012 at 09:36:36AM -0400, Franklin Wei wrote:
>> 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!
>
> Not yet, we haven't fixed your issue yet :)
>
> But judging from the screenshots, you don't have the required drivers
> for the kernel to find your root partition.
>
> Make sure you've compiled in the SATA/IDE driver for your motherboard
> and the driver for your root filesystem (ext2,3,4). When you have all
> those compiled into the kernel you don't need an initrd AFAICT.
>
> Simply try booting a live cd, see what SATA/IDE driver gets detected,
> enable it in your kernel and then try again.
>
> Or take the .config from an older kernel which boots on your box.
>
> HTH.
>
> --
> Regards/Gruss,
>     Boris.
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: arch/x86/lib/inat.c Error and Kernel Panic
  2012-10-01 22:22   ` Franklin Wei
@ 2012-10-01 22:27     ` Franklin Wei
  0 siblings, 0 replies; 4+ messages in thread
From: Franklin Wei @ 2012-10-01 22:27 UTC (permalink / raw)
  To: Borislav Petkov, Franklin Wei, Randy Dunlap, linux-kernel,
	Masami Hiramatsu

Copied the .config to the source dir, trying again.

On 10/1/12, Franklin Wei <frankhwei536@gmail.com> wrote:
> I'll take your advice. However, this is a MacBook so...
> Thanks anyways!
>
> On 9/29/12, Borislav Petkov <bp@alien8.de> wrote:
>> On Sat, Sep 29, 2012 at 09:36:36AM -0400, Franklin Wei wrote:
>>> 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!
>>
>> Not yet, we haven't fixed your issue yet :)
>>
>> But judging from the screenshots, you don't have the required drivers
>> for the kernel to find your root partition.
>>
>> Make sure you've compiled in the SATA/IDE driver for your motherboard
>> and the driver for your root filesystem (ext2,3,4). When you have all
>> those compiled into the kernel you don't need an initrd AFAICT.
>>
>> Simply try booting a live cd, see what SATA/IDE driver gets detected,
>> enable it in your kernel and then try again.
>>
>> Or take the .config from an older kernel which boots on your box.
>>
>> HTH.
>>
>> --
>> Regards/Gruss,
>>     Boris.
>>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-10-01 22:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-29 13:36 arch/x86/lib/inat.c Error and Kernel Panic Franklin Wei
2012-09-29 22:31 ` Borislav Petkov
2012-10-01 22:22   ` Franklin Wei
2012-10-01 22:27     ` Franklin Wei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®