linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Peter Mendham <petermendham@computing.dundee.ac.uk>
To: linuxppc-embedded@ozlabs.org
Subject: Kernel Panic During Linux Boot on ML405
Date: Thu, 30 Nov 2006 12:26:17 +0000	[thread overview]
Message-ID: <456ECDE9.2060506@computing.dundee.ac.uk> (raw)

I'm trying to make an uber-simple system on an ML405 board.  I used the 
BSB to create a straight forward system with a PPC, DDR RAM, 
opb_ethernet, a uartlite, and pretty much nothing else.  The BSB threw 
in an interrupt controller, some DCMs and some bridges for me.  That's 
all I have hardware-wise.  I compiled a 2.4.26 kernel because I've had 
one working already on the default hardware setup.  I chose what I think 
is the right options for the kernel, I've cut pretty much everything out 
that I don't need.  The BSP the EDK generated was *extremely* lacking.  
It only generated an xparameters_ml300.h (no other files) which was 
missing all the redefines.  I added these in myself by hand (this may be 
the cause of my woes).  A boot log is given below.  I would appreciate 
any tips that anyone can give me.  Where should I start looking?

Thanks in advance,
-- Peter

loaded at:     00400000 004881E0
board data at: 00485138 00485150
relocated to:  0040530C 00405324
zimage at:     00405811 00484D8F
avail ram:     00489000 04000000

Linux/PPC load: console=ttl0 root=/dev/xsysace/disc0/part2 rw ip=off
Uncompressing Linux...done.
Now booting the kernel
Linux version 2.4.26 (gcc version 3.4.1) #1 Thu Nov 30 11:41:42 GMT 2006
Xilinx Virtex-II Pro port (C) 2002 MontaVista Software, Inc. 
(source@mvista.com)
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttl0 root=/dev/xsysace/disc0/part2 rw ip=off
Xilinx INTC #0 at 0x41200000 mapped to 0xFDFFF000
Calibrating delay loop... 299.82 BogoMIPS
Memory: 63528k available (936k kernel code, 248k data, 48k init, 0k highmem)
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
pty: 256 Unix98 ptys configured
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
Partition check:
 xsysacea: p1 p2 p3 p4
System ACE at 0x41800000 mapped to 0xC5000000, irq=29, 1000440KB
eth0: Scatter gather not supported yet.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Mounted devfs on /dev
Freeing unused kernel memory: 48k init
Oops: kernel access of bad area, sig: 11
NIP: 00000000 XER: A0000076 LR: C0065CE4 SP: C3FE1C70 REGS: c3fe1bc0 
TRAP: 0400    Not tainted
MSR: 00009030 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c3fe0000[1] 'swapper' Last syscall: 11
last math 00000000 last altivec 00000000
GPR00: 00000048 C3FE1C70 C3FE0000 C3FB9D80 0000E58A C01FB6B0 00000000 
C3FB9BA8
GPR08: C0120000 00000000 C3FB9D88 C00FF1E8 95000095 FFFFFFFF FFFFFFFF 
FFFFFFFF
GPR16: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF 00009032 03FE1F10 00000000 
C00038C8
GPR24: C0003620 00000002 00000004 C3FE1CD0 C3F6E440 C3FBE800 C3FB9D80 
C3FE9720
Call backtrace:
C0065C78 C0043AB0 C0044174 C0044B5C C0041100 C0041DB0 C00067A0
C000367C C00024B4 C0005E94
Kernel panic: Attempted to kill init!
Oops: kernel access of bad area, sig: 11
NIP: C0050940 XER: A0000076 LR: C00393AC SP: C3FE1980 REGS: c3fe18d0 
TRAP: 0800    Not tainted
MSR: 00009030 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
DEAR: 00000000, ESR: 00000000
TASK = c3fe0000[1] 'swapper' Last syscall: 11
last math 00000000 last altivec 00000000
GPR00: C3FBE864 C3FE1980 C3FE0000 00000000 00000002 00000000 00000008 
00000001
GPR08: C0104758 C3FBE85C 00000000 C3FBE864 59009035 FFFFFFFF FFFFFFFF 
FFFFFFFF
GPR16: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF 00009032 03FE1BB0 00000000 
C00038C8
GPR24: 00000000 0000000B 00030001 C0110000 C0104758 C0100000 C00EDA48 
00000000
Call backtrace:
C003922C C00393AC C00393E8 C00138B8 C0015968 C0003A6C C000DD54
C000DF64 C00038C8 C0065C78 C0043AB0 C0044174 C0044B5C C0041100
C0041DB0 C00067A0 C000367C C00024B4 C0005E94
Kernel panic: Attempted to kill init!
Oops: kernel access of bad area, sig: 11
<repeat ad inifitum...>

             reply	other threads:[~2006-11-30 12:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-30 12:26 Peter Mendham [this message]
2006-11-30 13:21 ` RE : Kernel Panic During Linux Boot on ML405 alayrac
2006-11-30 14:31   ` Peter Mendham
2006-11-30 15:08     ` RE : " alayrac
     [not found] <8506C3905ED0764F889ADEB33E3A9E8062CF5D@MAIA.scopus.net>
2006-11-30 15:32 ` Peter Mendham

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=456ECDE9.2060506@computing.dundee.ac.uk \
    --to=petermendham@computing.dundee.ac.uk \
    --cc=linuxppc-embedded@ozlabs.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).