From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3D914A93.E02456F4@mvista.com> Date: Tue, 24 Sep 2002 22:33:07 -0700 From: Scott Anderson MIME-Version: 1.0 To: jim Cc: linuxppc-embedded@lists.linuxppc.org Subject: Re: Delay on starting init References: <20020911175118.04A9E38E9D@server.weathercom.com> <20020912012457.GX13670@zax> <3D6E4A4A0000123A@charlotte.ccc-dcs.com> (added by charlotte.ccc-dcs.com) Content-Type: text/plain; charset=us-ascii Sender: owner-linuxppc-embedded@lists.linuxppc.org List-Id: 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: stw r3,0(r30) 0xC0345D60: 0xc0010f30 : lwz r9,8(r31) 0xC0345D90: 0xc0028cd4 <__lock_page+192>: lwarx r0,r0,r28 0xC0345DC0: 0xc0028d48 : lwz r0,20(r1) 0xC0345DD0: 0xc002a528 : lwz r0,8(r31) 0xC0345E00: 0xc0025b08 : mr. r31,r3 0xC0345E30: 0xc0025ce0 : b 0xc0025d58 0xC0345E60: 0xc000ea74 : cmpwi r3,1 0xC0345F20: 0xc0004854 : 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: stw r3,0(r30) 0xC0345D60: 0xc0010f30 : lwz r9,8(r31) 0xC0345D90: 0xc0028cd4 <__lock_page+192>: lwarx r0,r0,r28 0xC0345DC0: 0xc0028d48 : lwz r0,20(r1) 0xC0345DD0: 0xc002a528 : lwz r0,8(r31) 0xC0345E00: 0xc0025b08 : mr. r31,r3 0xC0345E30: 0xc0025ce0 : b 0xc0025d58 0xC0345E60: 0xc000ea74 : cmpwi r3,1 0xC0345F20: 0xc0004854 : lwz r3,148(r1) ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/