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

2012-10-01 Thread Franklin Wei
Copied the .config to the source dir, trying again.

On 10/1/12, Franklin Wei  wrote:
> I'll take your advice. However, this is a MacBook so...
> Thanks anyways!
>
> On 9/29/12, Borislav Petkov  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.
>>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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

2012-10-01 Thread Franklin Wei
I'll take your advice. However, this is a MacBook so...
Thanks anyways!

On 9/29/12, Borislav Petkov  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.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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

2012-10-01 Thread Franklin Wei
I'll take your advice. However, this is a MacBook so...
Thanks anyways!

On 9/29/12, Borislav Petkov b...@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.

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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

2012-10-01 Thread Franklin Wei
Copied the .config to the source dir, trying again.

On 10/1/12, Franklin Wei frankhwei...@gmail.com wrote:
 I'll take your advice. However, this is a MacBook so...
 Thanks anyways!

 On 9/29/12, Borislav Petkov b...@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.


--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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

2012-09-29 Thread Borislav Petkov
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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

2012-09-29 Thread Borislav Petkov
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.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: arch/x86/lib/inat.c Error

2012-09-25 Thread Franklin Wei
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  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
>
> to verify that a clean build actually fixes your issue.
>
> Thanks.
>
> --
> Regards/Gruss,
> Boris.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: arch/x86/lib/inat.c Error

2012-09-25 Thread Borislav Petkov
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

to verify that a clean build actually fixes your issue.

Thanks.

-- 
Regards/Gruss,
Boris.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: arch/x86/lib/inat.c Error

2012-09-25 Thread Borislav Petkov
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 -jnum_cpus + 1

to verify that a clean build actually fixes your issue.

Thanks.

-- 
Regards/Gruss,
Boris.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: arch/x86/lib/inat.c Error

2012-09-25 Thread Franklin Wei
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 b...@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 -jnum_cpus + 1

 to verify that a clean build actually fixes your issue.

 Thanks.

 --
 Regards/Gruss,
 Boris.

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: arch/x86/lib/inat.c Error

2012-09-24 Thread Randy Dunlap
On 09/24/2012 04:04 PM, Franklin Wei wrote:

> Here it is
> 
> On 9/24/12, Borislav Petkov  wrote:
>> On Sun, Sep 23, 2012 at 04:34:24PM -0400, Franklin Wei wrote:
>>> Something wrong with lines 29-86
>>> Error message when compiling:
>>>   CC  arch/x86/lib/inat.o
>>> arch/x86/lib/inat.c: In function ‘inat_get_opcode_attribute’:
>>> arch/x86/lib/inat.c:29: error: ‘inat_primary_table’ undeclared (first
>>> use in this function)
>>> arch/x86/lib/inat.c:29: error: (Each undeclared identifier is reported
>>> only once
>>> arch/x86/lib/inat.c:29: error: for each function it appears in.)
>>> arch/x86/lib/inat.c: In function ‘inat_get_escape_attribute’:
>>> arch/x86/lib/inat.c:48: error: ‘inat_escape_tables’ undeclared (first
>>> use in this function)
>>> arch/x86/lib/inat.c: In function ‘inat_get_group_attribute’:
>>> arch/x86/lib/inat.c:67: error: ‘inat_group_tables’ undeclared (first
>>> use in this function)
>>> arch/x86/lib/inat.c: In function ‘inat_get_avx_attribute’:
>>> arch/x86/lib/inat.c:86: error: ‘inat_avx_tables’ undeclared (first use
>>> in this function)
>>> make[1]: *** [arch/x86/lib/inat.o] Error 1
>>> make: *** [arch/x86/lib] Error 2
>>
>> 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


-- 
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: arch/x86/lib/inat.c Error

2012-09-24 Thread Borislav Petkov
On Sun, Sep 23, 2012 at 04:34:24PM -0400, Franklin Wei wrote:
> Something wrong with lines 29-86
> Error message when compiling:
>   CC  arch/x86/lib/inat.o
> arch/x86/lib/inat.c: In function ‘inat_get_opcode_attribute’:
> arch/x86/lib/inat.c:29: error: ‘inat_primary_table’ undeclared (first
> use in this function)
> arch/x86/lib/inat.c:29: error: (Each undeclared identifier is reported only 
> once
> arch/x86/lib/inat.c:29: error: for each function it appears in.)
> arch/x86/lib/inat.c: In function ‘inat_get_escape_attribute’:
> arch/x86/lib/inat.c:48: error: ‘inat_escape_tables’ undeclared (first
> use in this function)
> arch/x86/lib/inat.c: In function ‘inat_get_group_attribute’:
> arch/x86/lib/inat.c:67: error: ‘inat_group_tables’ undeclared (first
> use in this function)
> arch/x86/lib/inat.c: In function ‘inat_get_avx_attribute’:
> arch/x86/lib/inat.c:86: error: ‘inat_avx_tables’ undeclared (first use
> in this function)
> make[1]: *** [arch/x86/lib/inat.o] Error 1
> make: *** [arch/x86/lib] Error 2

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.

-- 
Regards/Gruss,
Boris.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: arch/x86/lib/inat.c Error

2012-09-24 Thread Borislav Petkov
On Sun, Sep 23, 2012 at 04:34:24PM -0400, Franklin Wei wrote:
 Something wrong with lines 29-86
 Error message when compiling:
   CC  arch/x86/lib/inat.o
 arch/x86/lib/inat.c: In function ‘inat_get_opcode_attribute’:
 arch/x86/lib/inat.c:29: error: ‘inat_primary_table’ undeclared (first
 use in this function)
 arch/x86/lib/inat.c:29: error: (Each undeclared identifier is reported only 
 once
 arch/x86/lib/inat.c:29: error: for each function it appears in.)
 arch/x86/lib/inat.c: In function ‘inat_get_escape_attribute’:
 arch/x86/lib/inat.c:48: error: ‘inat_escape_tables’ undeclared (first
 use in this function)
 arch/x86/lib/inat.c: In function ‘inat_get_group_attribute’:
 arch/x86/lib/inat.c:67: error: ‘inat_group_tables’ undeclared (first
 use in this function)
 arch/x86/lib/inat.c: In function ‘inat_get_avx_attribute’:
 arch/x86/lib/inat.c:86: error: ‘inat_avx_tables’ undeclared (first use
 in this function)
 make[1]: *** [arch/x86/lib/inat.o] Error 1
 make: *** [arch/x86/lib] Error 2

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.

-- 
Regards/Gruss,
Boris.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: arch/x86/lib/inat.c Error

2012-09-24 Thread Randy Dunlap
On 09/24/2012 04:04 PM, Franklin Wei wrote:

 Here it is
 
 On 9/24/12, Borislav Petkov b...@alien8.de wrote:
 On Sun, Sep 23, 2012 at 04:34:24PM -0400, Franklin Wei wrote:
 Something wrong with lines 29-86
 Error message when compiling:
   CC  arch/x86/lib/inat.o
 arch/x86/lib/inat.c: In function ‘inat_get_opcode_attribute’:
 arch/x86/lib/inat.c:29: error: ‘inat_primary_table’ undeclared (first
 use in this function)
 arch/x86/lib/inat.c:29: error: (Each undeclared identifier is reported
 only once
 arch/x86/lib/inat.c:29: error: for each function it appears in.)
 arch/x86/lib/inat.c: In function ‘inat_get_escape_attribute’:
 arch/x86/lib/inat.c:48: error: ‘inat_escape_tables’ undeclared (first
 use in this function)
 arch/x86/lib/inat.c: In function ‘inat_get_group_attribute’:
 arch/x86/lib/inat.c:67: error: ‘inat_group_tables’ undeclared (first
 use in this function)
 arch/x86/lib/inat.c: In function ‘inat_get_avx_attribute’:
 arch/x86/lib/inat.c:86: error: ‘inat_avx_tables’ undeclared (first use
 in this function)
 make[1]: *** [arch/x86/lib/inat.o] Error 1
 make: *** [arch/x86/lib] Error 2

 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


-- 
~Randy
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/