linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: linux booting problem: init start up very slowly and print kernelinfor character by character
@ 2004-03-25  2:04 Jack Liu
  2004-03-25  8:26 ` linux booting problem: TASK = c0120490[0] 'swapper' Last syscall: 0 John Zhou
  0 siblings, 1 reply; 2+ messages in thread
From: Jack Liu @ 2004-03-25  2:04 UTC (permalink / raw)
  To: Sylvain Munaut; +Cc: linuxppc-embedded@lists.linuxppc.org


Sylvain Munaut
hi,all
 Thanks a lot. I checked my porting code and the answer is yes. After
assigned a right interrupt number, everything is ok.
   Best regards

======= 2004-03-24 18:01:00 Origianl message=======

>>  Booting infomation:
>>		.......
>>		mice: PS/2 mouse device common for all mice
>>		VFS: Mounted root (ext2 filesystem) readonly.
>>		Freeing unused kernel memory: 64k init
>>		~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~before this, everything is OK.
>>		INIT: version 2.84 booting
>>  			              Welcome....
>> From "INIT", system seems to start very slowly. "INIT" and other
>> kernel infomation were printed out character by character with some
>> kind of delay between them.It took even five minutes to mount a proc
>> file system.
>>        What could be the problem?
>>  Is this becuase of disk configuation problem since init is the first
>> program got called from disk?
>
>Well, I suppose that it's on a serial console.
>
>For me it sounds like a serial problem. Everything before the "INIT:
>...." is printed via printk and is then handled by the 'console'
>part of the serial driver. In all the drivers I've used/seen this is
>done the simpliest way, often via busy waiting on the uart, without
>interrupts, ..... When the init program it's called, it doesn't use
>the console stuff ( it's unidirectionnal anyway ... ) but it open
>/dev/ttyS0 ( or the appropriate device ) and it's not at all the same
>code running. Here ( again, in the driver I worked with ), interrupts
>are used to know when the UART is ready or when chars are incoming, ...
>
>What you could try to see if it comes from the serial stuff, is disable
>consoel completely and 'see' the time it takes to boot ( of course you
>need to have another visible effect that you system is fully booted
>like inserting a ping -c 1 at the end of the init scripts ... )

= = = = = = = = = = = = = = = = = = = =

Best regards
Jack Liu
R&D Dept. USI(Shanghai) Inc.
Tel: +86-21-58966996x115
Fax: +86-21-58967931
Email: Jack_liu@usish.com
http://www.usi.com.tw

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* linux booting problem: TASK = c0120490[0] 'swapper' Last syscall: 0
  2004-03-25  2:04 linux booting problem: init start up very slowly and print kernelinfor character by character Jack Liu
@ 2004-03-25  8:26 ` John Zhou
  0 siblings, 0 replies; 2+ messages in thread
From: John Zhou @ 2004-03-25  8:26 UTC (permalink / raw)
  To: linuxppc-embedded


Hi, all,

In the process of porting linux to a mpc8250 board, I got a very strange
thing:

On node 0 totalpages: 32768
zone(0): 32768 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=1F00 init=/rcinit
Calibrating delay loop... 131.89 BogoMIPS
Oops: kernel access of bad area, sig: 11
NIP: C01513CC XER: 00000000 LR: C015162C SP: C01223F0 REGS: c0122340 TRAP: 0300
MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: C01AF040, DSISR: 08000000
TASK = c0120490[0] 'swapper' Last syscall: 0
last math 00000000 last altivec 00000000
GPR00: FFFFFFFF C01223F0 C0120490 C0123698 00000000 00000001 C0160000 00000000
GPR08: 00000001 00000040 C01AF000 00000000 24444028 00422100 006D4A0F 20062000
GPR16: 2D808504 00000000 00000002 007FFF00 003FF000 0041A890 004FFC78 008000B4
GPR24: 00000000 00000001 80000000 00000000 00008000 C0160BA8 00000201 C01BC860
Call backtrace:
C0122438 C015162C C014F9C0 C014E724 00003724
Kernel panic: Attempted to kill the idle task!
In idle task - not syncing
Rebooting in 180 seconds..Kernel is rebooting.....

===========================================================================

But, I have this kernel run another old mpc8250 board. Everying is OK.

have you met the same problems on porting linux kernel? or could you
give me any suggestions?

Tanks in advance!
John

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-25  8:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-25  2:04 linux booting problem: init start up very slowly and print kernelinfor character by character Jack Liu
2004-03-25  8:26 ` linux booting problem: TASK = c0120490[0] 'swapper' Last syscall: 0 John Zhou

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).