I have done some minor debugging and it fails on the call
rt_task_make_periodic during
the insmod function.   I tried to put in some printk but that didn't work I
noticed a 
conpr function which I assume is a console print but didn't know how to use
it.   I tried and was unsuccessful.  Also where is the source for switch.o .
Any help in how to troubleshoot this would be appreciated.

> -----Original Message-----
> From: Herbel, Rick [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, February 15, 1999 8:12 AM
> To:   'Kay-Ulrich Scholl'; rtl
> Subject:      RE: [rtl] irq interrupted by rt-sched ?
> 
>  I was trying to get the rt_task_periodic functions to run using the
> 2.0.36  applying patch .9J.
> I got the following stack trace when I tried to run the example under fp
> (have other app where I was
> also getting core dumps when I try to start periodic function).
> 
> /sbin/insmod trigmod
> [root@simpc15 fp]# ./trigapp
> Starting
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> !!
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> !!
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Done!
> 
> got
> 
> Feb 12 15:55:08 simpc15 kernel: invalid operand: 0000
> Feb 12 15:55:08 simpc15 kernel: CPU:    0
> Feb 12 15:55:08 simpc15 kernel: EIP:    0010:[<00000004>]
> Feb 12 15:55:08 simpc15 kernel: EFLAGS: 00010202
> Feb 12 15:55:08 simpc15 kernel: eax: 00000000   ebx: 1356041e   ecx:
> 08037244                                 edx: 080372e0
> Feb 12 15:55:08 simpc15 kernel: esi: 00000000   edi: 08037244   ebp:
> 00000000                                 esp: 056e0bc8
> Feb 12 15:55:08 simpc15 kernel: ds: 0018   es: 0018   fs: 002b   gs:
> 0018   ss:                               0018
> Feb 12 15:55:08 simpc15 kernel: Process swapper (pid: 0, process nr: 0,
> stackpa                               e=001d8968)
> Feb 12 15:55:08 simpc15 kernel: Stack: 08037010 00000001 00000000
> 00000000 0000                               000 00000000 00000000
> 00000000
> Feb 12 15:55:08 simpc15 kernel:        00000000 00000000 00000000
> 00000000 0000                               000 00000000 00000000
> 00000000
> Feb 12 15:55:08 simpc15 kernel:        00000000 00000000 00000000
> 00000000 0000                               000 00000000 00000000
> 00000000
> Feb 12 15:55:08 simpc15 kernel: Call Trace:
> [3c509:el3_probe+-36852/5336]
> Feb 12 15:55:08 simpc15 kernel: Code: c6 e7 00 f0 c3 e2 00 f0 c6 e7 00
> f0 c6 e7                               00 f0 54 ff 00 f0
> Feb 12 15:55:08 simpc15 kernel: kfree of non-kmalloced memory: 001da9b0,
> next=                                0000000, order=0
> Feb 12 15:55:08 simpc15 kernel: kfree of non-kmalloced memory: 001da9a0,
> next=                                0000000, order=0
> Feb 12 15:55:08 simpc15 kernel: kfree of non-kmalloced memory: 001daeb4,
> next=                                0000000, order=0
> Feb 12 15:55:08 simpc15 kernel: idle task may not sleep
> Feb 12 15:55:08 simpc15 last message repeated 4 times
> 
> I did mod  "rt_task_make_periodic (&tasks[0], rt_get_time ()+1000,
> 5000); " I added the 1000
> because it crashed without it tried to initiate it right away I guess
> anyways crashes with or without
> it.    If you tell me what to look for in the kernel code would be happy
> to do some
> debugging if you could give me some guidance where to look  3c509 is my
> ethernet card
> 
> Rick Herbel  [EMAIL PROTECTED]
> also [EMAIL PROTECTED]
> > -----Original Message-----
> > From:       Kay-Ulrich Scholl [SMTP:[EMAIL PROTECTED]]
> > Sent:       Monday, February 15, 1999 1:20 AM
> > To: rtl
> > Subject:    [rtl] irq interrupted by rt-sched ?
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > Hi,
> > 
> > can irq-functions (installed with request_RTirq())
> > be interrupted by the rt-scheduler ?
> > if yes, how can I avoid it ?
> > 
> > Kay =8^)
> > -- 
> >      |\/\/\/|    
> >      |      |        Kay-Ulrich Scholl               |
> >      |      |        [EMAIL PROTECTED]                   |
> >      | (o)(o)       Forschungszentrum Informatik     |
> >      C      _)      Haid-und Neu-Str. 10-14          |
> >      | ,___|        D-76131 Karlsruhe                |
> >      |   /          0721/9654-218                    |
> >     /____\          FAX: 0721 / 9654 - 209           |
> >    /      \ -----------------------------------------+
> > --- [rtl] ---
> > To unsubscribe:
> > echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> > echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> > ----
> > For more information on Real-Time Linux see:
> > http://www.rtlinux.org/~rtlinux/
> --- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> ----
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/~rtlinux/
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to