i386ex: hangups during initialization

Jürgen Zeller juergen.zeller at argovision.de
Wed Jun 20 07:34:14 UTC 2001


Nick.SIMON at syntegra.com wrote:
> 
> I have no knowledge of the i386ex BSP, but if the problem moves about when
> you add extra code (printk calls) I would suspect an interrupt service is
> causing the problem. Try disabling all your interrupt sources.
> 
> Good luck,
> 
> -- Nick Simon
> 
> > -----Original Message-----
> > From: Jürgen Zeller [mailto:juergen.zeller at argovision.de]
> > Sent: 19 June 2001 13:14
> > To: rtems-users at oarcorp.com
> > Subject: i386ex: hangups during initialization
> >
> >
> > hello everybody,
> >
> > I'm doing my first steps with RTEMS 4.5 and I have big
> > problems building RTEMS for i386ex.
> > During the initialization my system hangs up, so I tried to
> > find out, what the reason is. I've inserted many 'printk's'
> > in the rtems_executive_early function to see, how much code
> > gets processed.
> > But after a while I found out that the error is not constant at the
> > same time or function, it depends for example how much
> > printk's I issue!
> > But in following illogical manner:
> >  so more printk's I use so more code I get processed!
> >
> > I've checked my register settings, my linkcmds and my start.S often
> > but I can't find the error.
> >
> >
> > Has anybody an idea what could go wrong in my application?
> > Could it be a Hardware problem?
> > I use a bootloader for downloading, could this be the reason? And why?
> >
> >
> > I have no experience with RTEMS and I would be obliged for every tip I
> > get.
> >
> >
> >
> >
> > RAM   0x00000000 .. 0x0003ffff
> > Flash   0x00080000 .. 0x000fffff
> >
> >
> >
> > here my printk - results
> >
> >  rtems_initialize_executive_early: 001
> >  rtems_initialize_executive_early: 002
> >  rtems_initialize_executive_early: 003
> >  rtems_initialize_executive_early: 003
> >  rtems_initialize_executive_early: 003
> >  rtems_initialize_executive_early: 003
> >  rtems_initialize_executive_early: 003
> >  rtems_initialize_executive_early: 003
> >  rtems_initialize_executive_early: 003
> >  rtems_initialize_executive_early: 003
> >  rtems_initialize_executive_early: 003
> >  rtems_initialize_executive_early: 003
> >  rtems_initialize_executive_early: 004
> >  rtems_initialize_executive_early: 005
> >  rtems_initialize_executive_early: 006
> >  rtems_initialize_executive_early: 007
> >  rtems_initialize_executive_early: 008
> >  rtems_initialize_executive_early: 009
> >  rtems_initialize_executive_early: 010
> >  rtems_initialize_executive_early: 011
> >  rtems_initialize_executive_early: 012
> >  rtems_initialize_executive_early: 013
> >  rtems_initialize_executive_early: 014
> > ----------------------------------------------------------
> > Exception 13 caught at PC 87F66 by thread -1912602608
> > ----------------------------------------------------------
> > Processor execution context at time of the fault was  :
> > ----------------------------------------------------------
> >  EAX = B624   EBX = 46        ECX = B620      EDX = FFFFFFFF
> >  ESI = 0      EDI = 200144    EBP = B5CC      ESP = B5B0
> > ----------------------------------------------------------
> > Error code pushed by processor itself (if not 0) = 0
> > ----------------------------------------------------------
> >  ************ FAULTY THREAD WILL BE DELETED **************
> > ----------------------------------------------------------
> > Exception 13 caught at PC 87F66 by thread -1912602608
> > ----------------------------------------------------------
> > Processor execution context at time of the fault was  :
> > ----------------------------------------------------------
> >  EAX = B624   EBX = 46        ECX = B620      EDX = FFFFFFFF
> >  ESI = 0      EDI = 200144    EBP = B5CC      ESP = B5B0
> > ----------------------------------------------------------
> > Error code pushed by processor itself (if not 0) = 0
> > ----------------------------------------------------------
> >  ************ FAULTY THREAD WILL BE DELETED **************
> > ----------------------------------------------------------
> > Exception 13 caught at PC 87F66 by thread -1912602608
> > ----------------------------------------------------------
> > Processor execution context at time of the fault was  :
> > ----------------------------------------------------------
> >  EAX = B624   EBX = 46        ECX = B620      EDX = FFFFFFFF
> >  ESI = 0      EDI = 200144    EBP = B5CC      ESP = B5B0
> > ----------------------------------------------------------
> > Error code pushed by processor itself (if not 0) = 0
> > ----------------------------------------------------------
> >  ************ FAULTY THREAD WILL BE DELETED **************
> > ----------------------------------------------------------
> > Exception 13 caught at PC 87F66 by thread -1912602608
> > ----------------------------------------------------------
> > Processor execution context at time of the fault was  :
> > ----------------------------------------------------------
> >  EAX = B624   EBX = 46        ECX = B620      EDX = FFFFFFFF
> >  ESI = 0      EDI = 200144    EBP = B5CC      ESP = B5B0
> > ----------------------------------------------------------
> > Error code pushed by processor itself (if not 0) = 0
> > ----------------------------------------------------------
> >  ************ FAULTY THREAD WILL BE DELETED **************
> > ----------------------------------------------------------
> > Exception 13 caught at PC 87F66 by thread -1912602608
> > ----------------------------------------------------------
> > Processor execution context at time of the fault was  :
> > ----------------------------------------------------------
> >  EAX = B624   EBX = 46        ECX = B620      EDX = FFFFFFFF
> >  ESI = 0      EDI = 200144    EBP = B5CC      ESP = B5B0
> > ----------------------------------------------------------
> > Error code pushed by processor itself (if not 0) = 0
> > ----------------------------------------------------------
> >  ************ FAULTY THREAD WILL BE DELETED **************
> > ----------------------------------------------------------
> >
> > thanks a lot for your help!
> >
> > --
> >  Jürgen Zeller
> >  Entwicklung Software
> >  TVI Lederer GmbH & Co KG
> >  Industriestr. 4, 93161 Sinzing
> >  Tel. 0941-3073761 - Fax 0941-3073737
> >
> 
> ********************************************************************
> 
> This email may contain information which is privileged or confidential. If you are not the intended recipient of this email, please notify the sender immediately and delete it without reading, copying, storing, forwarding or disclosing its contents to any other person
> Thank you
> 
> Check us out at http://www.syntegra.com
> 
> ********************************************************************

-- 
 Jürgen Zeller 
 Entwicklung Software
 TVI Lederer GmbH & Co KG
 Industriestr. 4, 93161 Sinzing
 Tel. 0941-3073761 - Fax 0941-3073737



More information about the users mailing list