linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Scott Anderson <scott_anderson@mvista.com>
To: jim <jduey@ccc-dcs.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Delay on starting init
Date: Tue, 24 Sep 2002 22:33:07 -0700	[thread overview]
Message-ID: <3D914A93.E02456F4@mvista.com> (raw)
In-Reply-To: 3D6E4A4A0000123A@charlotte.ccc-dcs.com


jim wrote:
> If anyone finds the cause of the delay on starting init with NFS root file
> systems, please post to the list.

I don't know the cause of the delay, but as I was debugging another
kernel problem, I remembered this and hit ^C in gdb a few times to see what
was going on.  In both cases, it was handling mm faults.  I attached
the output from my gdb macros just in case it jogs anyone's brain cells.
To really figure out what is going on, we may have to compare old vs.
new.
  Scott

(gdb) ps
Address      PID State      User NIP  Kernel NIP device comm
0xC013DFD0     0<Running              0xC00060E4        swapper
0xC0344000     1 Disksleep 0x30003578 0xC0006FD8        init
0xC03DA000     2 Sleeping             0xC0006FD8        keventd
0xC03D6000     3 Sleeping             0xC0006FD8        ksoftirqd_CPU0
0xC03D4000     4 Sleeping             0xC0006FD8        kswapd
0xC03D2000     5 Sleeping             0xC0006FD8        bdflush
0xC03D0000     6 Sleeping             0xC0006FD8        kupdated
0xC7DD4000     7 Sleeping             0xC0006FD8        rpciod
(gdb) kbt 1
Task "init":
0xC0345D40: 0xc0006fd8 <_switch_to+96>: stw     r3,0(r30)
0xC0345D60: 0xc0010f30 <schedule+1368>: lwz     r9,8(r31)
0xC0345D90: 0xc0028cd4 <__lock_page+192>:       lwarx   r0,r0,r28
0xC0345DC0: 0xc0028d48 <lock_page+52>:  lwz     r0,20(r1)
0xC0345DD0: 0xc002a528 <filemap_nopage+376>:    lwz     r0,8(r31)
0xC0345E00: 0xc0025b08 <do_no_page+116>:        mr.     r31,r3
0xC0345E30: 0xc0025ce0 <handle_mm_fault+112>:
    b   0xc0025d58 <handle_mm_fault+232>
0xC0345E60: 0xc000ea74 <do_page_fault+652>:     cmpwi   r3,1
0xC0345F20: 0xc0004854 <ret_from_except>:       lwz     r3,148(r1)
(gdb) cont
Continuing.

Program received signal SIGSTOP, Stopped (signal).
idled () at idle.c:110
110                     if (current->need_resched) {
(gdb) ps
Address      PID State      User NIP  Kernel NIP device comm
0xC013DFD0     0<Running              0xC00060E4        swapper
0xC0344000     1 Disksleep 0x30003578 0xC0006FD8        init
0xC03DA000     2 Sleeping             0xC0006FD8        keventd
0xC03D6000     3 Sleeping             0xC0006FD8        ksoftirqd_CPU0
0xC03D4000     4 Sleeping             0xC0006FD8        kswapd
0xC03D2000     5 Sleeping             0xC0006FD8        bdflush
0xC03D0000     6 Sleeping             0xC0006FD8        kupdated
0xC7DD4000     7 Sleeping             0xC0006FD8        rpciod
(gdb) kbt 1
Task "init":
0xC0345D40: 0xc0006fd8 <_switch_to+96>: stw     r3,0(r30)
0xC0345D60: 0xc0010f30 <schedule+1368>: lwz     r9,8(r31)
0xC0345D90: 0xc0028cd4 <__lock_page+192>:       lwarx   r0,r0,r28
0xC0345DC0: 0xc0028d48 <lock_page+52>:  lwz     r0,20(r1)
0xC0345DD0: 0xc002a528 <filemap_nopage+376>:    lwz     r0,8(r31)
0xC0345E00: 0xc0025b08 <do_no_page+116>:        mr.     r31,r3
0xC0345E30: 0xc0025ce0 <handle_mm_fault+112>:
    b   0xc0025d58 <handle_mm_fault+232>
0xC0345E60: 0xc000ea74 <do_page_fault+652>:     cmpwi   r3,1
0xC0345F20: 0xc0004854 <ret_from_except>:       lwz     r3,148(r1)

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

      reply	other threads:[~2002-09-25  5:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-11 12:34 Delay on starting init jim
2002-09-12  1:24 ` David Gibson
2002-09-12  1:32   ` Jin Cheng
2002-09-12 10:27   ` jim
2002-09-25  5:33     ` Scott Anderson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D914A93.E02456F4@mvista.com \
    --to=scott_anderson@mvista.com \
    --cc=jduey@ccc-dcs.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).