2008-01-22 16:22:47     tinylogin broken?

Document created by Aaronwu Employee on Aug 5, 2013
Version 1Show Document
  • View in full screen mode

2008-01-22 16:22:47     tinylogin broken?

Jason Holden (UNITED STATES)

Message: 49964    Is tinylogin broken in SVN?  If I enable the tinylogin apps (login, getty, etc), disable the initial console, I have the following problems:

 

As soon as I telnet into the board I get kernel panics (COMM:  login)immediately.  However, I can start up login just fine from the serial prompt.  The documentation on tinylogin seems to have been removed from the wiki.  I was wondering if this was related?

 

By the way, this isn't related to any of the memory protection stuff I was asking about earlier in the week.  I am not enabling that feature.

-Jason

 

NULL pointer access (probably)

Defered Exception context

CURRENT PROCESS:

COMM=login PID=100

TEXT = 0x00680040-0x0068d700  DATA = 0x0068d704-0x00690da4

BSS = 0x00690da4-0x006a3994   USER-STACK = 0x006a4f28

 

return address: [0x00688bd6]; contents of:

0x00688bb0:  0000  0528  0010  434b  c682  8043  5603  c682

0x00688bc0:  8280  e146  7efe  e147  8101  3212  5748  e106

0x00688bd0:  feff  e107  0100 [9012] 5032  43d1  5808  5438

0x00688be0:  0c00  1408  5815  5070  43c0  5841  5479  0c01

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00000027  IPEND: 0030  SYSCFG: 0006

  HWERRCAUSE: 0x0

  EXCAUSE   : 0x27

RETE: <0x00000000> /* Maybe null pointer? */

RETN: <0x07eaa000> /* unknown address */

RETX: <0x00688bd6> [ login + 0x8b96 ]

RETS: <0x006890a8> [ login + 0x9068 ]

PC  : <0x00688bd6> [ login + 0x8b96 ]

DCPLB_FAULT_ADDR: <0x00000000> /* Maybe null pointer? */

ICPLB_FAULT_ADDR: <0x00688bd6> [ login + 0x8b96 ]

 

PROCESSOR STATE:

R0 : 00002f2f    R1 : 2f2f0000    R2 : 00000000    R3 : 0000002f

R4 : 0068014c    R5 : 2f2f2f2f    R6 : 7efefeff    R7 : 81010100

P0 : 006a4ea1    P1 : 00000003    P2 : 00000000    P3 : 006a4f2c

P4 : 07acbfd0    P5 : 0068d704    FP : 006a4eac    SP : 07ea9f24

LB0: 00688abd    LT0: 00688abc    LC0: 00000000

LB1: 07ac2023    LT1: 07ac2022    LC1: 00000000

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 006a4e41

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 07ab1000

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 00000000

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 00000000

A0.w: 00000000   A0.x: 00000000   A1.w: 00000000   A1.x: 00000000

USP : 006a4eac  ASTAT: 02002020

 

Hardware Trace:

   0 Target : <0x000047e0> { _trap_c + 0x0 }

     Source : <0xffa00744> { _exception_to_level5 + 0xb4 }

   1 Target : <0xffa00690> { _exception_to_level5 + 0x0 }

     Source : <0xffa005e8> { _ex_trap_c + 0x5c }

   2 Target : <0xffa0058c> { _ex_trap_c + 0x0 }

     Source : <0xffa007e4> { _trap + 0x28 }

   3 Target : <0xffa007bc> { _trap + 0x0 }

     Source : <0x00688bd2> [ login + 0x8b92 ]

   4 Target : <0x00688bb6> [ login + 0x8b76 ]

     Source : <0x00688b86> [ login + 0x8b46 ]

   5 Target : <0x00688b78> [ login + 0x8b38 ]

     Source : <0x006890a4> [ login + 0x9064 ]

   6 Target : <0x006890a0> [ login + 0x9060 ]

     Source : <0x00689098> [ login + 0x9058 ]

   7 Target : <0x00689088> [ login + 0x9048 ]

     Source : <0x0068acc6> [ login + 0xac86 ]

   8 Target : <0x0068acaa> [ login + 0xac6a ]

     Source : <0x00687518> [ login + 0x74d8 ]

   9 Target : <0x00687506> [ login + 0x74c6 ]

     Source : <0x0068930c> [ login + 0x92cc ]

  10 Target : <0x00689304> [ login + 0x92c4 ]

     Source : <0x0068935c> [ login + 0x931c ]

  11 Target : <0x00689354> [ login + 0x9314 ]

     Source : <0x00688abe> [ login + 0x8a7e ]

  12 Target : <0x00688aac> [ login + 0x8a6c ]

     Source : <0x00688aa8> [ login + 0x8a68 ]

  13 Target : <0x00688a7c> [ login + 0x8a3c ]

     Source : <0x00689350> [ login + 0x9310 ]

  14 Target : <0x0068934c> [ login + 0x930c ]

     Source : <0x0068c458> [ login + 0xc418 ]

  15 Target : <0x0068c450> [ login + 0xc410 ]

     Source : <0x00688a04> [ login + 0x89c4 ]

Stack from 07ea9f04:

        00000000 ffa00748 00144564 00144564 00144560 006a4ea0 0068014c 00685144

        00688bd6 00000030 00000027 00000000 07eaa000 00688bd6 00688bd6 006890a8

        00002f2f 02002020 07ac2023 00688abd 07ac2022 00688abc 00000000 00000000

        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

        00000000 00000000 07ab1000 006a4e41 006a4eac 006a4eac 0068d704 07acbfd0

 

Call Trace:

[<00002f2f>] _do_signal+0x2df/0xd74

[<00002f2f>] _do_signal+0x2df/0xd74

 

 

 

QuoteReplyEditDelete

 

 

2008-01-22 17:38:32     Re: tinylogin broken?

Mike Frysinger (UNITED STATES)

Message: 49973    that isnt a bug in tinylogin, it's a bug in execlp()

 

ive been testing a fix for it, but havent committed it yet

QuoteReplyEditDelete

 

 

2008-01-23 11:08:10     Re: tinylogin broken?

Jason Holden (UNITED STATES)

Message: 50039    If you want to post your fix as a patch, I can try and test it as well.

QuoteReplyEditDelete

 

 

2008-01-23 11:58:26     Re: tinylogin broken?

Mike Frysinger (UNITED STATES)

Message: 50044    ive committed it to svn

QuoteReplyEditDelete

 

 

2008-01-26 09:06:21     Re: tinylogin broken?

Jason Holden (UNITED STATES)

Message: 50182    Yep, fixed it.  I will let you know if I have any problems. Thanks!

-Jason

Attachments

    Outcomes