All of lore.kernel.org
 help / color / mirror / Atom feed
* [Adeos-main] [Vortx86DX] What's wrong with kernels upper than 2.6.30.10 ?
@ 2010-04-15 22:00 Gilles DOFFE
  2010-04-15 22:18 ` Jan Kiszka
  2010-04-16  7:27 ` Philippe Gerum
  0 siblings, 2 replies; 5+ messages in thread
From: Gilles DOFFE @ 2010-04-15 22:00 UTC (permalink / raw)
  To: adeos-main

[-- Attachment #1: Type: text/plain, Size: 1265 bytes --]

Hello,

I try to install a real-time Linux kernel on a Roboard based on a Vortex86DX
(a x486 with TSC).

All works fine with :
Linux Kernel 2.6.30.10
Xenomai 2.5.1
Adeos patch adeos-ipipe-2.6.30.8-x86-2.4-09.patch

But, for all kernels upper or equal to 2.6.31, I always get a double fault
when testing WP bit. I have this double fault just after that :

*Checking if this processor honours the WP bit even in supervisor mode...*

I traced with some simple printk that the problem occurs in this function,
at the end or after the call of fix_to_virt  :

*static noinline int do_test_wp_bit(void)
{
        char tmp_reg;
        int flag;

        __asm__ __volatile__(
                "       movb %0, %1     \n"
                "1:     movb %1, %0     \n"
                "       xorl %2, %2     \n"
                "2:                     \n"
                _ASM_EXTABLE(1b,2b)
                :"=m" (*(char *)fix_to_virt(FIX_WP_TEST)),
                 "=q" (tmp_reg),
                 "=r" (flag)
                :"2" (1)
                :"memory");

        return flag;
}*

I'm (quasi) sure that the problem is not that function, due to it works when
the kernel is not patched.
But where should I search ?

Can you give me some indications ?

Thanks,
Gilles

[-- Attachment #2: Type: text/html, Size: 1559 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-04-16 13:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-15 22:00 [Adeos-main] [Vortx86DX] What's wrong with kernels upper than 2.6.30.10 ? Gilles DOFFE
2010-04-15 22:18 ` Jan Kiszka
2010-04-15 22:24   ` Jan Kiszka
2010-04-16  7:27 ` Philippe Gerum
2010-04-16 13:23   ` Gilles DOFFE

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.