kernel crash on Intel 386EX

Philippe Gerum rpm at xenomai.org
Mon Oct 11 14:14:20 CEST 2004


On Mon, 2004-10-11 at 13:01, Edelhard Becker wrote:
> Hi Philippe,
> 
> On Mon, Oct 11, 2004 at 12:09:40PM +0200, Philippe Gerum wrote:
> > Likely a page fault over RTAI which ends up confusing Linux when trying
> > to solve it later in do_page_fault(). To catch the initial failure, try
> > adding the following debug to the very beginning of
> > arch/i386/mm/fault.c:do_page_fault():
> > 
> > #include<linux/kallsyms.h>
> > 
> > if (adp_current != adp_root)	{
> > 	adeos_set_printk_sync(adp_current);
> > 	print_symbol("OOPS: fault over domain RTAI, eip = %s\n",regs->eip);
> > }
> 
> Here's the new message:
> 
> | Adeos: Domain RTAI registered.
> | RTAI[hal]: 3.1 mounted over Adeos 2.6r7/x86.
> | RTAI[hal]: compiled with gcc version 3.3.5 (Debian 1:3.3.5-1).
> | RTAI[malloc]: loaded (global heap size=131072 bytes).
> | OOPS: fault over domain RTAI, eip = rtai_trap_fault+0x80/0xf8 [rtai_hal]

Ah! We've got a winner in the HAL module it seems. Could you send me the
output of "objdump -d" against rtai_hal.ko? TIA.

> | OOPS: fault over domain RTAI, eip = do_page_fault+0x66/0x4e3
> | OOPS: fault over domain RTAI, eip = do_page_fault+0x66/0x4e3
>   ---------- above line 35x in total -------------------------
> | Unable to handle kernel paging request at virtual address 200044f3
> |  printing eip:
> | c0110386
> | *pde = 00000000
> | Oops: 0000 [#1]
> | PREEMPT
> | Modules linked in: rtai_lxrt rtai_hal
> | CPU:    0
> | EIP:    0060:[<c0110386>]    Not tainted
> | EFLAGS: 00010013   (2.6.8-386ex)
> | EIP is at do_page_fault+0x66/0x4e3
> | eax: c0bfa000   ebx: 2c24448b   ecx: 00000082   edx: c0bfa2fc
> | esi: 2000448b   edi: c0110386   ebp: 2c2444f3   esp: c0bfa258
> | ds: 007b   es: 007b   ss: 0068
> | Adeos domain RTAI
> | Stack: 00000046 00000000 00000000 c180d588 00030001 c0bfa2c4 0000000e 00000082
> |        00000001 c0106eec c0bfa2c4 c180d588 c0bfa2fc 0000000e 00000082 00000001
> |        2c2444f3 5f65007b 705f007b ffffff00 c1809866 00000060 00000213 c0bfa2c4
> | Call Trace:
> | Not executing in the root domain, no trace available
> | Code: 8b 56 68 89 54 24 04 8b 50 14 8b 00 8b 40 14 f7 d0 81 e2 ff
> |  <0>Kernel panic: Fatal exception in interrupt
> | In interrupt handler - not syncing
> |  <4>Adeos: Current domain=RTAI on CPU #0 [stackbase=c0542000]
> |     RTAI[cpuid=0]: priority=200, status=0x0, pending_hi=0x0
> |    Linux[cpuid=0]: priority=100, status=0x0, pending_hi=0x1
> 
> HTH and Thanks,
> Edelhard
-- 

Philippe.





More information about the Rtai mailing list