AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20081103130557.01f3c335@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:exch1.onstor.net
NSV:
SSH:
R:<bfisher@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@exch1.onstor.net/INBOX	0	490F5C4C.1080904@onstor.com
X-Sylpheed-End-Special-Headers: 1
Date: Mon, 3 Nov 2008 13:06:31 -0800
From: Andrew Sharp <andy.sharp@onstor.com>
To: Bill Fisher <bfisher@onstor.com>
Subject: Re: booting your kernel;
Message-ID: <20081103130631.05157440@ripper.onstor.net>
In-Reply-To: <490F5C4C.1080904@onstor.com>
References: <490F5C4C.1080904@onstor.com>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

It's dying in kernel_execve, probably I need to do some more work on
it.  Actually, perhaps what I need to do is configure and build a
kernel starting from our SSC repository.  Let me try that....

My guess is it's dying in kernel_execve because it thinks it has CFE to
help it out, when really it doesn't.

On Mon, 3 Nov 2008 12:17:16 -0800 Bill Fisher <bfisher@onstor.com>
wrote:

> Initializing Autoloader, hit control-E to bypass
> ................................................................................
> 
> Type ctrl-e to stop autoload.
> Waiting for TXRX image to be loaded...done
> 
> Exception Cause=Sys (0000000000008020)
> EPC = 0xffffffff8300649c
> ERREPC = 0x26c50d26
> BADVADDR = 0xf6300efeffa0eb1e
> RA = 0x0
> ffffffff8300649c 000000000000000c syscall
> TXRX0-PROM>
> 
> =================
> 
> TXRX0-PROM> l 0xffffffff83006490 16
> ffffffff83006490 0000000003e00008 jr      ra
> ffffffff83006494 000000002402ffa7 li      v0,0xffa7# -89
> ffffffff83006498 00000000240213c1 li      v0,0x13c1# 5057
> ffffffff8300649c 000000000000000c syscall
> ffffffff830064a0 000000000040182d dmove   v1,v0
> ffffffff830064a4 0000000000032000 sll     a0,v1,0x0# 0
> ffffffff830064a8 000000000080102d dmove   v0,a0
> ffffffff830064ac 0000000010e00002 beq     a3,zero,ffffffff830064b8# 
> 0xffffffff830064b8
> ffffffff830064b0 0000000000041823 negu    v1,a0
> ffffffff830064b4 000000000060102d dmove   v0,v1
> ffffffff830064b8 0000000003e00008 jr      ra
> ffffffff830064bc 0000000000000000 nop
> ffffffff830064c0 0000000067bdfff0 daddiu  sp,sp,0xfff0# -16
> ffffffff830064c4 ffffffffffbf0000 sd      ra,0(sp)# 0x0
> ffffffff830064c8 000000000cc0d206 jal     83034818# 0x0000000083034818
> ffffffff830064cc 000000002404000b li      a0,0xb  # 11
> ffffffff830064d0 000000003083ffff andi    v1,a0,0xffff# 65535
> ffffffff830064d4 0000000067bdffd0 daddiu  sp,sp,0xffd0# -48
> ffffffff830064d8 0000000000a0682d dmove   t5,a1
> ffffffff830064dc 0000000000c0702d dmove   t6,a2
> ffffffff830064e0 0000000000042c02 srl     a1,a0,0x10# 16
> ffffffff830064e4 000000000100302d dmove   a2,t0
> 
> ---------------------
> 
> Dumping oout 0x42000000 and comparing to the load at 0x83000000 they 
> appear to be identical.
> 
> DEBUG-PROM-TXRX0:20 > d 0x42006490 16
> 0000000042006490  03e00008 2402ffa7  240213c1
> 0000000c   .......$...$.... 00000000420064a0  0040182d 00032000
> 0080102d 10e00002   -.@.. ..-....... 00000000420064b0  00041823
> 0060102d  03e00008 00000000   #...-.`......... 00000000420064c0
> 67bdfff0 ffbf0000  0cc0d206 2404000b   ...g...........$
> 00000000420064d0  3083ffff 67bdffd0  00a0682d
> 00c0702d   ...0...g-h..-p.. 00000000420064e0  00042c02 0100302d
> 2c620019 ffb00020   .,..-0....b, ... 00000000420064f0  00e0802d
> ffbf0028  1040000b 0120382d   -...(.....@.-8 . 0000000042006500
> 0003103c 3c03831f  0002103e 6463ef30   <......<>...0.cd
> 0000000042006510  000210f8 0043102d  dc440000
> 00800008   ....-.C...D..... 0000000042006520  00000000 00000000
> 2402ffa7 dfbf0028   ...........$(... 0000000042006530  dfb00020
> 03e00008  67bd0030 01a0202d    .......0..g- .. 0000000042006540
> 0100282d 01c0302d  0cc41010 0000382d   -(..-0......-8..
> 0000000042006550  08c0194b 00021000  01a0202d 01c0282d
> K.......- ..-(.. 0000000042006560  0cc4129a 00103000  08c0194b
> 00021000   .....0..K....... 0000000042006570  1100ffee 2402ffea
> 65020008 df830028   .......$...e(... 0000000042006580  01021025
> 00431024  1440ffe8 2402fff2   %...$.C...@....$ 0000000042006590
> 0000102d dd070000  10400054 01a0202d   -.......T.@.- ..
> 00000000420065a0  08c0194b 2402fff2  01a0202d 0100282d
> K......$- ..-(.. 00000000420065b0  0cc41010 01c0302d  08c0194b
> 00021000   ....-0..K....... 00000000420065c0  01a0202d 0100282d
> 01c0302d 0cc40c42   - ..-(..-0..B... 00000000420065d0  00103800
> 08c0194b  00021000 14a00048   .8..K.......H... 00000000420065e0
> 01a0202d 1100ffd1  2402ffea 65020010   - .........$...e
> DEBUG-PROM-TXRX0:21 >
> 
> ===========================
> 
> Hence it is being loaded properly, we are simply dying on the
> first syscall!
> 
> Maybe it's time for the kgdb debugger or some console print statements
> to be enabled on bootup.
> 
> Later,
> 
> -- Bill
> 
