Mailing List Archive

Problems with mips-sources-2.6.20
Hi,

I have running an Octane and an Octane2 with a kernel built from mips-sources-2.6.17.10
(2.6.17.10-mipsgit-20060618-ip30r10k+) right after installing the base-system at that time
and they are running fine (currently as LAMP-Servers).
Now I tried to update the kernel to 2.6.20.13-20070415.ip30 and mainly used my old .config (Just did make oldconfig) and
it doesn't boot. I get the same message as in this thread: http://archives.gentoo.org/gentoo-mips/msg_00503.xml

NESTED EXCEPTION #1 (vid 0) at EPC: ffffffff9fc6a0a4; first exception at PC: 0

Several weeks before I tried 2.6.20.6 (which wasn't marked stable) and couldn't get this to boot either.
The system is uptodate. Here is my toolchain:
gcc-config -l
[1] mips64-unknown-linux-gnu-3.4.6 *
[2] mips64-unknown-linux-gnu-4.1.1
[3] mips-unknown-linux-gnu-3.4.6 *
[4] mips-unknown-linux-gnu-3.4.6-hardenednopiessp
[5] mips-unknown-linux-gnu-4.1.1

Any new suggestions to solve this apparently known problem?

--
Mathias Weigt


--
gentoo-mips@gentoo.org mailing list
Re: Problems with mips-sources-2.6.20 [ In reply to ]
> oldconfig) and it doesn't boot. I get the same message as in this
> thread: http://archives.gentoo.org/gentoo-mips/msg_00503.xml
>
> NESTED EXCEPTION #1 (vid 0) at EPC: ffffffff9fc6a0a4; first exception
> at PC: 0
>
> Several weeks before I tried 2.6.20.6 (which wasn't marked stable)
> and couldn't get this to boot either. The system is uptodate. Here is
> my toolchain: gcc-config -l
> [1] mips64-unknown-linux-gnu-3.4.6 *
> [2] mips64-unknown-linux-gnu-4.1.1
> [3] mips-unknown-linux-gnu-3.4.6 *
> [4] mips-unknown-linux-gnu-3.4.6-hardenednopiessp
> [5] mips-unknown-linux-gnu-4.1.1
>
> Any new suggestions to solve this apparently known problem?
>

Have you tried to build your kernel with gcc-4.1.1 instead of 3.4.6?

-Steve
Re: Problems with mips-sources-2.6.20 [ In reply to ]
Stephen P. Becker schrieb:
>> oldconfig) and it doesn't boot. I get the same message as in this
>> thread: http://archives.gentoo.org/gentoo-mips/msg_00503.xml
>>
>> NESTED EXCEPTION #1 (vid 0) at EPC: ffffffff9fc6a0a4; first exception
>> at PC: 0
>>
>> Several weeks before I tried 2.6.20.6 (which wasn't marked stable)
>> and couldn't get this to boot either. The system is uptodate. Here is
>> my toolchain: gcc-config -l
>> [1] mips64-unknown-linux-gnu-3.4.6 *
>> [2] mips64-unknown-linux-gnu-4.1.1
>> [3] mips-unknown-linux-gnu-3.4.6 *
>> [4] mips-unknown-linux-gnu-3.4.6-hardenednopiessp
>> [5] mips-unknown-linux-gnu-4.1.1
>>
>> Any new suggestions to solve this apparently known problem?
>>
>
> Have you tried to build your kernel with gcc-4.1.1 instead of 3.4.6?

Not yet, because this is the only system, where the kernel builds. On the other system(s) I still have problems like
this: http://archives.gentoo.org/gentoo-mips/msg_00571.xml
I know that the bug http://bugs.gentoo.org/show_bug.cgi?id=171486 is fixed with the new binutils-config but I still
don't get a vmlinux on this system because of the same error as in comment 7 of this bug
(http://bugs.gentoo.org/show_bug.cgi?id=171486#c7). And this all happened after switching to gcc-4.1...

But I'll try to do it now and see if it will break.

--
Mathias Weigt


--
gentoo-mips@gentoo.org mailing list
Re: Problems with mips-sources-2.6.20 [ In reply to ]
Mathias W. wrote:
> Stephen P. Becker schrieb:
>>> oldconfig) and it doesn't boot. I get the same message as in this
>>> thread: http://archives.gentoo.org/gentoo-mips/msg_00503.xml
>>>
>>> NESTED EXCEPTION #1 (vid 0) at EPC: ffffffff9fc6a0a4; first exception
>>> at PC: 0
>>>
>>> Several weeks before I tried 2.6.20.6 (which wasn't marked stable)
>>> and couldn't get this to boot either. The system is uptodate. Here is
>>> my toolchain: gcc-config -l
>>> [1] mips64-unknown-linux-gnu-3.4.6 *
>>> [2] mips64-unknown-linux-gnu-4.1.1
>>> [3] mips-unknown-linux-gnu-3.4.6 *
>>> [4] mips-unknown-linux-gnu-3.4.6-hardenednopiessp
>>> [5] mips-unknown-linux-gnu-4.1.1
>>>
>>> Any new suggestions to solve this apparently known problem?
>>>
>> Have you tried to build your kernel with gcc-4.1.1 instead of 3.4.6?
>
> Not yet, because this is the only system, where the kernel builds. On the other system(s) I still have problems like
> this: http://archives.gentoo.org/gentoo-mips/msg_00571.xml
> I know that the bug http://bugs.gentoo.org/show_bug.cgi?id=171486 is fixed with the new binutils-config but I still
> don't get a vmlinux on this system because of the same error as in comment 7 of this bug
> (http://bugs.gentoo.org/show_bug.cgi?id=171486#c7). And this all happened after switching to gcc-4.1...
>
> But I'll try to do it now and see if it will break.

Re-run binutils-config manually, as this will fix the ldscripts bug, and then
source /etc/profile. Binutils-config doesn't do this automatically, so it's
caught a few people off guard.

Second, whenever you use an older config on a newer kernel, _always_ check the
config to make sure it didn't flip something off. Things changed dramatically
from .17 to .20, and relying on oldconfig alone isn't recommended. I usually
run through menuconfig and just check the categories myself.

That all said, nested exceptions sometimes point at ARCS bugs. You may have an
out-of-date PROM. Unfortunately, we're not sure which PROMs are out-of-date,
and which ones aren't.


--Kumba

--
Gentoo/MIPS Team Lead

"Such is oft the course of deeds that move the wheels of the world: small hands
do them because they must, while the eyes of the great are elsewhere." --Elrond
--
gentoo-mips@gentoo.org mailing list
Re: Problems with mips-sources-2.6.20 [ In reply to ]
Kumba wrote:

> Re-run binutils-config manually, as this will fix the ldscripts bug, and
> then source /etc/profile. Binutils-config doesn't do this
> automatically, so it's caught a few people off guard.

Any special parameters to do this?
I've already done this (as this was mentioned in bug 171486) and did it now again.
As I have only one version of binutils I just added the "--mips" parameter.
It finished without error.

I still get this error after compiling the kernel: http://bugs.gentoo.org/show_bug.cgi?id=171486#c7
...
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD vmlinux
lib/lib.a: could not read symbols: Archive has no index; run ranlib to add one

I still have to check the NESTED EXCEPTION bug...
--
Mathias Weigt


--
gentoo-mips@gentoo.org mailing list
Re: Problems with mips-sources-2.6.20 [ In reply to ]
Kumba wrote:
> Mathias W. wrote:
>>>> oldconfig) and it doesn't boot. I get the same message as in this
>>>> thread: http://archives.gentoo.org/gentoo-mips/msg_00503.xml
>>>>
>>>> NESTED EXCEPTION #1 (vid 0) at EPC: ffffffff9fc6a0a4; first exception
>>>> at PC: 0

> Second, whenever you use an older config on a newer kernel, _always_
> check the config to make sure it didn't flip something off. Things
> changed dramatically from .17 to .20, and relying on oldconfig alone
> isn't recommended. I usually run through menuconfig and just check the
> categories myself.

Now I carefully looked through menuconfig and did some additional customization but didn't find anything obvious wrong.
Still the new kernel does not boot.
I'm willing to try a config from you guys if you have one for the octane/octane2

> That all said, nested exceptions sometimes point at ARCS bugs. You may
> have an out-of-date PROM. Unfortunately, we're not sure which PROMs are
> out-of-date, and which ones aren't.

I have "PROM Monitor SGI Version 6.5 Rev 4.8 IP30 Sep 6,2001 - 64 Bit"

--
Mathias Weigt


--
gentoo-mips@gentoo.org mailing list