linux-mips
[Top] [All Lists]

Re: Exception while loading kernel

To: Ricardo Mendoza <mendoza.ricardo@gmail.com>
Subject: Re: Exception while loading kernel
From: Markus Gothe <markus.gothe@27m.se>
Date: Wed, 29 Aug 2007 18:51:59 +0200
Cc: Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>, linux-mips@linux-mips.org
In-reply-to: <816d36d30708290305i4b34ae11s4b469cc48fb999aa@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1188030215.13999.14.camel@scarafaggio> <1188196563.2177.13.camel@scarafaggio> <46D2CB0F.7020505@27m.se> <1188321514.6882.3.camel@scarafaggio> <F288AA63-099B-4140-81B2-6A8E21887057@27m.se> <20070829084622.156798b4.giuseppe@eppesuigoccas.homedns.org> <816d36d30708290133w677756bbla8b8b2b25fe005f1@mail.gmail.com> <1188377693.7270.1.camel@scarafaggio> <816d36d30708290305i4b34ae11s4b469cc48fb999aa@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Icedove 1.5.0.12 (X11/20070730)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Ricardo Mendoza wrote:
> On 8/29/07, Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>
> wrote:
>
>> I already tried the 32bit kernel and I found the same problem.
>> Are you telling me that I should use 32bit for debugging instead
>> of 64?
>
> No, what I'm telling you to do is to try and build it with
> CONFIG_BUILD_ELF64 disabled, more explicitly that is under
> Executable file formats or something like that. About kgdb
> debugging, what I am telling you is that ip32 has no hook ups coded
> for it yet, in other words, no support.
>
>
> Ricardo
>
You're all wrong build it with -g (i.e. enable 'Kernel
Hacking'-options), then strip it and saved the copy with debugging
symbols. Then you run gdb on the one with debugging symbols and voila
you get the function.

//Markus

- --
_______________________________________

Mr Markus Gothe
Software Engineer

Phone: +46 (0)13 21 81 20 (ext. 1046)
Fax: +46 (0)13 21 21 15
Mobile: +46 (0)73 718 72 80
Diskettgatan 11, SE-583 35 Linköping, Sweden
www.27m.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFG1aQt6I0XmJx2NrwRCAi+AJ9mpYqqEFnRPl9+f9MDRPUhAGHBBwCgkYXL
U0ltGP7+Y+2xj9itgyjfJ6E=
=fgJH
-----END PGP SIGNATURE-----


<Prev in Thread] Current Thread [Next in Thread>