2008-10-10 08:26:59

by Yudha Harimantoro T

[permalink] [raw]
Subject: Error : Linux-2.6.27

Hi all,

Yesterday I build kernel 2.6.26.6 and it's run well. Today I got
2.6.27 patch and try to build it.

I build with `make oldconfig` and answer any question with default
answer, I just press [enter].
I build with `make`. No error and all compiled.
Then I install with `make modules_install` and `make install`.

After reboot the system I got 'kernel panic'.
This is the error picture :
http://www.ryht.co.cc/wordpress/wp-content/uploads/2008/10/pa101358.jpg
Is it a bugs?

http://www.ryht.co.cc/wordpress/wp-content/uploads/2008/10/pa101353.jpg
[2.6.26.6 run well]



Best regards,
Yudha_HT


2008-10-10 11:51:14

by Alexey Dobriyan

[permalink] [raw]
Subject: Re: Error : Linux-2.6.27

On Fri, Oct 10, 2008 at 03:26:44PM +0700, Yudha Harimantoro T wrote:
> Yesterday I build kernel 2.6.26.6 and it's run well. Today I got
> 2.6.27 patch and try to build it.
>
> I build with `make oldconfig` and answer any question with default
> answer, I just press [enter].

Not wise.

> I build with `make`. No error and all compiled.
> Then I install with `make modules_install` and `make install`.
>
> After reboot the system I got 'kernel panic'.
> This is the error picture :
> http://www.ryht.co.cc/wordpress/wp-content/uploads/2008/10/pa101358.jpg
> Is it a bugs?
>
> http://www.ryht.co.cc/wordpress/wp-content/uploads/2008/10/pa101353.jpg
> [2.6.26.6 run well]

Post diff -U0 between old and new config.

2008-10-10 12:36:50

by Alan Jenkins

[permalink] [raw]
Subject: Re: Error : Linux-2.6.27

Alexey Dobriyan wrote:
> On Fri, Oct 10, 2008 at 03:26:44PM +0700, Yudha Harimantoro T wrote:
>
>> Yesterday I build kernel 2.6.26.6 and it's run well. Today I got
>> 2.6.27 patch and try to build it.
>>
>> I build with `make oldconfig` and answer any question with default
>> answer, I just press [enter].
>>
>
> Not wise.
>
>
>> I build with `make`. No error and all compiled.
>> Then I install with `make modules_install` and `make install`.
>>
>> After reboot the system I got 'kernel panic'.
>> This is the error picture :
>> http://www.ryht.co.cc/wordpress/wp-content/uploads/2008/10/pa101358.jpg
>> Is it a bugs?
>>
>> http://www.ryht.co.cc/wordpress/wp-content/uploads/2008/10/pa101353.jpg
>> [2.6.26.6 run well]
>>
>
> Post diff -U0 between old and new config.
>

There is scripts/diffconfig in the 2.6.27 tree, which you should
probably use. "Using standard diff to compare .config files often
includes extraneous and distracting information".

2008-10-10 20:42:35

by Bill Davidsen

[permalink] [raw]
Subject: Re: Error : Linux-2.6.27



Yudha Harimantoro T wrote:
> Hi all,
>
> Yesterday I build kernel 2.6.26.6 and it's run well. Today I got
> 2.6.27 patch and try to build it.
>
> I build with `make oldconfig` and answer any question with default
> answer, I just press [enter].
> I build with `make`. No error and all compiled.
> Then I install with `make modules_install` and `make install`.
>
I realize that this is a low-probability thought, but did you:
- apply the patch against 2.6.26 NOT 2.6.26.6
- run make clean before applying the patch

> After reboot the system I got 'kernel panic'.
> This is the error picture :
> http://www.ryht.co.cc/wordpress/wp-content/uploads/2008/10/pa101358.jpg
> Is it a bugs?
>
> http://www.ryht.co.cc/wordpress/wp-content/uploads/2008/10/pa101353.jpg
> [2.6.26.6 run well]
>
I keep configs in a separate place. I would first copy a 2.6.26 tree to a new
directory (cp -rl linux-2.6.26 linux2.6.27) then be sure I had a clean copy with
"make distclean" (or "make mrproper") and then apply the 2.6.27 patch. Then I
would copy the 2.6.26 (or maybe 2.6.26.6) config to .config, and make the oldconfig.

None of that is magic, it just keeps me from making common mistakes, lets me
start with a clean 2.6.27, etc, etc.

You mentioned oldconfig, but not starting back with a clean 2.6.26, which made
me think of this.

--
Bill Davidsen <[email protected]>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot