From: Stefan Kisdaroczi <kisda@domain.hid>
To: Philippe Gerum <rpm@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] kernel 2.6.32.11 with xenomai 2.5.3 fails to boot on ubuntu lucid system
Date: Mon, 23 Aug 2010 13:59:32 +0200 [thread overview]
Message-ID: <4C7262A4.5030607@domain.hid> (raw)
In-Reply-To: <1282498940.1961.43.camel@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 1483 bytes --]
On 22.08.2010 19:42, Philippe Gerum wrote:
> On Wed, 2010-08-18 at 15:54 +0200, Stefan Kisdaroczi wrote:
>
>> On 18.08.2010 14:11, Stefan Kisdaroczi wrote:
>>
>>> [...]
>>> hi philippe, hope this helps:
>>>
>>>
>>> (gdb) bt
>>> #0 doublefault_fn () at arch/x86/kernel/doublefault_32.c:47
>>> #1 0x00000000 in ?? ()
>>>
>>> I set two breakpoints:
>>> 1) do_test_wp_bit()
>>> 2) zap_low_mappings()
>>>
>>> The second breakpoint is never reached, the fault seems to happen in
>>> do_test_wp_bit().
>>> arch/x86/mm/init_32.c : mem_init() -> test_wp_bit() -> do_test_wp_bit()
>>>
>>>
>> If I got it right, do_test_wp_bit() should fault, and then
>> ipipe_handle_exception gets called.
>> At this point, ipipe_init_early() was called, but ipipe_init() not.
>> So, I currently guess the bug is somewhere in ipipe_handle_exception().
>>
> As mentioned below, you were right:
> http://git.denx.de/?p=ipipe-2.6.git;a=commit;h=d7ed9ab34a265d6486504d20ee794548ce6011d3
>
> Your assumption that the bootloader was involved in this bug was correct
> as well. This is the reason why I could not reproduce the issue over
> kvm, I was bypassing the installed bootloader, passing -kernel to qemu
> to directly load an external image, so no IRQ pending on entry to the
> kernel, ever...
>
> Thanks for your help.
>
>
Tested with 2.6.32.20 and debian squeeze, boots fine, laptop and virtual
machine.
Thanks Philippe.
Stefan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
next prev parent reply other threads:[~2010-08-23 11:59 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-20 7:43 [Xenomai-help] kernel 2.6.32.11 with xenomai 2.5.3 fails to boot on ubuntu lucid system Theo Veenker
2010-07-20 10:14 ` Stefan Kisdaroczi
2010-07-20 11:18 ` Theo Veenker
2010-07-20 11:21 ` Gilles Chanteperdrix
2010-07-20 16:32 ` Theo Veenker
2010-08-16 11:22 ` Theo Veenker
2010-08-16 11:39 ` Gilles Chanteperdrix
2010-08-16 13:48 ` Theo Veenker
2010-08-16 13:53 ` Gilles Chanteperdrix
2010-08-16 14:11 ` Theo Veenker
2010-08-16 11:40 ` Stefan Kisdaroczi
2010-08-16 11:59 ` Gilles Chanteperdrix
2010-08-16 12:00 ` Hemal C.Bavishi
2010-08-16 13:55 ` Theo Veenker
2010-08-16 12:45 ` Gilles Chanteperdrix
2010-08-16 14:26 ` Theo Veenker
2010-08-16 19:14 ` Theo Veenker
2010-08-16 22:39 ` Gilles Chanteperdrix
2010-08-17 10:27 ` Philippe Gerum
2010-08-17 13:51 ` Hemal C.Bavishi
2010-08-17 15:24 ` Stefan Kisdaroczi
2010-08-18 7:09 ` Gilles Chanteperdrix
2010-08-18 9:03 ` Paul
2010-08-18 9:06 ` Gilles Chanteperdrix
2010-08-19 15:21 ` Stefan Kisdaroczi
2010-08-19 15:28 ` Gilles Chanteperdrix
2010-08-19 17:13 ` Stefan Kisdaroczi
2010-08-19 18:49 ` Gilles Chanteperdrix
2010-08-20 16:43 ` Stefan Kisdaroczi
2010-08-18 18:45 ` [Xenomai-help] kernel 2.6.32.11 with xenomai 2.5.3 fails to boot on ubuntu lucid system [PATCH] Stefan Kisdaroczi
2010-08-18 18:58 ` Stefan Kisdaroczi
2010-08-18 21:08 ` Paul
2010-08-17 17:01 ` [Xenomai-help] kernel 2.6.32.11 with xenomai 2.5.3 fails to boot on ubuntu lucid system Philippe Gerum
2010-08-17 17:43 ` Stefan Kisdaroczi
2010-08-17 18:06 ` Jan Kiszka
2010-08-18 12:38 ` Stefan Kisdaroczi
2010-08-18 8:27 ` Philippe Gerum
2010-08-18 12:11 ` Stefan Kisdaroczi
2010-08-18 13:54 ` Stefan Kisdaroczi
2010-08-22 17:42 ` Philippe Gerum
2010-08-23 11:59 ` Stefan Kisdaroczi [this message]
2010-08-18 14:53 ` Philippe Gerum
2010-08-18 18:09 ` Philippe Gerum
2010-08-18 23:21 ` Gilles Chanteperdrix
2010-08-18 23:25 ` Gilles Chanteperdrix
2010-08-19 5:18 ` Philippe Gerum
2010-08-20 12:31 ` Theo Veenker
2010-08-20 12:34 ` Gilles Chanteperdrix
2010-08-20 13:34 ` Theo Veenker
2010-08-20 13:01 ` Philippe Gerum
2010-08-22 17:36 ` Philippe Gerum
2010-08-23 7:15 ` Theo Veenker
2010-08-21 9:32 ` Daniele Nicolodi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C7262A4.5030607@domain.hid \
--to=kisda@domain.hid \
--cc=rpm@xenomai.org \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.