AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:
CFG:
PT:0
S:andy.sharp@lsi.com
RQ:
SSV:mhbs.lsil.com
NSV:
SSH:
R:<Raj.Kumar@lsi.com>,<Larry.Scheer@lsi.com>
MAID:2
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/LSI/INBOX	0	0BAA09DBFAD04A4DBB6CE240807CB3B9010C85E4B7@cosmail03.lsi.com
X-Sylpheed-End-Special-Headers: 1
Date: Thu, 1 Apr 2010 10:57:14 -0700
From: Andrew Sharp <andy.sharp@lsi.com>
To: "Kumar, Raj" <Raj.Kumar@lsi.com>
Cc: "Scheer, Larry" <Larry.Scheer@lsi.com>
Subject: Re: Compact Flash for Tuxstor SSC
Message-ID: <20100401105714.7f69d01c@ripper.onstor.net>
In-Reply-To: <0BAA09DBFAD04A4DBB6CE240807CB3B9010C85E4B7@cosmail03.lsi.com>
References: <DEC609CD0E54B2448DAF023C89AE9755EB50C525@cosmail02.lsi.com>
	<20100329170240.5e48cdd8@ripper.onstor.net>
	<0BAA09DBFAD04A4DBB6CE240807CB3B9010C85E4B7@cosmail03.lsi.com>
Organization: LSI
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

I believe you are using a Cougar SSC kernel on the SSC side, but you
have to use a tuxstor SSC kernel on the SSC side.  That should have
been part of the bundle that Larry gave you.  Larry: any chance I'm
right and what got on that bundle for QA is a cougar SSC kernel rather
than a tuxstor SSC kernel?

On Thu, 1 Apr 2010 11:16:17 -0600 "Kumar, Raj" <Raj.Kumar@lsi.com>
wrote:

> The txrx is in reboot loop.
> 
> PowerOn Self Test........OK
> 
> Initializing System......please wait
> 
> HT maxima: 600MHz, 16 bits
> 
> 
> 
> 
> PMON [TXRX,EL,FP,64]
> ONStor Inc. PROM_SIBYTE_CG : prom-2.0.0 : Tue Aug  4 15:34:16 2009
> CPU type SB1480.  Rev 18  900 MHz module: TXRX, Slot 1, CPU 0
> Memory size 4096 MB.
> Icache size  32 KB, 32/line (4 way)
> Dcache size  32 KB, 32/line (4 way)
> Scache size   1 MB, 32/line (8 way)
> debug IP addr =
> debug IP mask = 255.255.255.0
> 
> 
> Initializing Autoloader, hit control-E to
> bypass ................................................................................
> 
> Type ctrl-e to stop autoload.
> Waiting for TXRX image to be loaded...done
> 
> Exception Cause=AdES (0000000000008014)
> EPC = 0xffffffff900200a0
> ERREPC = 0xffffffff83144b98
> BADVADDR = 0x7fff
> RA = 0x0
> ffffffff900200a0 fffffffff6277fff sdc1    $f7,32767(s1)# 0x7fff
> addr=0x7fff ft=r=0x7fff TXRX0-PROM>
> 
> 
> PowerOn Self Test........OK
> 
> Initializing System......please wait
> 
> HT maxima: 600MHz, 16 bits
> 
> 
> 
> 
> PMON [TXRX,EL,FP,64]
> ONStor Inc. PROM_SIBYTE_CG : prom-2.0.0 : Tue Aug  4 15:34:16 2009
> CPU type SB1480.  Rev 18  900 MHz module: TXRX, Slot 1, CPU 0
> Memory size 4096 MB.
> Icache size  32 KB, 32/line (4 way)
> Dcache size  32 KB, 32/line (4 way)
> Scache size   1 MB, 32/line (8 way)
> debug IP addr =
> debug IP mask = 255.255.255.0
> 
> 
> Initializing Autoloader, hit control-E to
> bypass ................................................................................
> 
> Type ctrl-e to stop autoload.
> Waiting for TXRX image to be loaded...done Linux version 2.6.22-tx
> (larry@s20r19-debian) (gcc version 4.1.2 20061115 (prerelease)
> (Debian 4.1.1-21)) #1 SMP Wed Mar 31 11:56:33 PDT 2010 Booting Linux
> kernel...Mips64 TuxRx CPU revision is: 01041100 FPU revision is:
> 000f0103 Broadcom SiByte BCM1480 B1 (pass3) @ 900 MHz (SB-1A rev 0)
> Board type: ONStor TuxRx This kernel optimized for ONStor Cougar
> TuxStor System without CFE Determined physical RAM map: memory:
> 0000000010000000 @ 0000000000000000 (usable) memory: 0000000020000000
> @ 0000000080000000 (usable) memory: 0000000010000000 @
> 00000000c0000000 (usable) memory: 00000000c0000000 @ 0000000140000000
> (usable) Detected 3 available secondary CPU(s) Built 1 zonelists.
> Total pages: 2068480 Kernel command line: console=duart0,57600n8
> root=/dev/nfs nfsroot=10.0.0.143:/var/nfsroot/qa-tuxstor,v3,tcp
> ip=10.3.108.141:10.0.0.143:10.3.0.1:255.255.0.0:g8r208-tuxrx:eth0:none
> Primary instruction cache 32kB, 4-way, linesize 32 bytes. Primary
> data cache 32kB, 4-way, linesize 32 bytes. Secondary cache 1024kB,
> 8-way, linesize 32 bytes. Synthesized TLB refill handler (42
> instructions). Synthesized TLB load handler fastpath (55
> instructions). Synthesized TLB store handler fastpath (55
> instructions). Synthesized TLB modify handler fastpath (54
> instructions). Not waiting for gdb client... rcon not initialized yet
> PID hash table entries: 4096 (order: 12, 32768 bytes) Using 1.000 MHz
> high precision timer. Dentry cache hash table entries: 1048576
> (order: 11, 8388608 bytes) Inode-cache hash table entries: 524288
> (order: 10, 4194304 bytes) Memory: 4046592k/4194304k available (2255k
> kernel code, 147268k reserved, 893k data, 144k init, 0k highmem)
> Mount-cache hash table entries: 256 Checking for the multiply/shift
> bug... no. Checking for the daddi bug... no. Checking for the daddiu
> bug... no. CPU revision is: 03041100 FPU revision is: 000f0103
> Primary instruction cache 32kB, 4-way, linesize 32 bytes. Primary
> data cache 32kB, 4-way, linesize 32 bytes. Secondary cache 1024kB,
> 8-way, linesize 32 bytes. Synthesized TLB refill handler (42
> instructions). CPU revision is: 05041100 FPU revision is: 000f0103
> Primary instruction cache 32kB, 4-way, linesize 32 bytes. Primary
> data cache 32kB, 4-way, linesize 32 bytes. Secondary cache 1024kB,
> 8-way, linesize 32 bytes. Synthesized TLB refill handler (42
> instructions). CPU revision is: 07041100 FPU revision is: 000f0103
> Primary instruction cache 32kB, 4-way, linesize 32 bytes. Primary
> data cache 32kB, 4-way, linesize 32 bytes. Secondary cache 1024kB,
> 8-way, linesize 32 bytes. Synthesized TLB refill handler (42
> instructions). Brought up 4 CPUs NET: Registered protocol family 16
> registering PCI controller with io_map_base unset registering PCI
> controller with io_map_base unset Request for iomem region ONStor
> Mgmtbus (0x1f0000000 - 0x1f0ffffff) granted PCI: shared SSC PCI space
> 0x90000000ae000000, addr 0x00000001f0000000 Time: MIPS clocksource
> has been installed. NET: Registered protocol family 2 IP route cache
> hash table entries: 262144 (order: 9, 2097152 bytes) TCP established
> hash table entries: 131072 (order: 9, 3145728 bytes) TCP bind hash
> table entries: 65536 (order: 8, 1048576 bytes) TCP: Hash tables
> configured (established 131072 bind 65536) TCP reno registered
> Installing knfsd (copyright (C) 1996 okir@monad.swb.de). io scheduler
> noop registered io scheduler anticipatory registered io scheduler
> deadline registered io scheduler cfq registered (default) SiByte User
> Watchdog: timeout is 8.3 secs RAMDISK driver initialized: 16 RAM
> disks of 4096K size 1024 blocksize Ethernet Channel Bonding Driver:
> v3.1.3 (June 13, 2007) bonding: Warning: either miimon or
> arp_interval and arp_ip_target module parameters must be specified,
> otherwise bonding will not detect link failures! see bonding.txt for
> details. DBE physical address: 0010068200 Data bus error, epc ==
> ffffffff8332ab84, ra == ffffffff8332ab7c Oops[#1]: Cpu 0 $ 0   :
> 0000000000000000 0000000014001fe0 0000000001200008 00000000000000ff $
> 4   : a80000000b05bec4 0000000000000007 0000000000000034
> 0000000000000007 $ 8   : 0000000000000000 0000000000000008
> 0000000000000041 0000000000000008 $12   : a80000000b05bee7
> 0000000000000010 0000000000000000 ffffffff83248910 $16   :
> 000000000000000f a80000000b05beda a80000000b05beca 9000000010068208
> $20   : 000000000000003a 000000000000002d 0000000000000005
> a80000000b05beca $24   : 0000000000000000 0000000000000030 $28   :
> a80000000b058000 a80000000b05beb0 a80000000b05bec4 ffffffff8332ab7c
> Hi    : 000000000000000f Lo    : 0000000000000000 epc   :
> ffffffff8332ab84 sbmac_init_module+0x26c/0x5d0     Not tainted
> ra    : ffffffff8332ab7c sbmac_init_module+0x264/0x5d0 Status:
> 14001fe3    KX SX UX KERNEL EXL IE Cause : 0080801c PrId  : 01041100
> Modules linked in: Process swapper (pid: 1,
> threadinfo=a80000000b058000, task=a80000000b057870) Stack :
> 0000000014001fe1 ffffffff83304d60 0734070083307810 3a37303a3030ffff
> 46463a37303a3433 463a323846464646 0034394646464646 ffffffff832b0000
> 0000000000000000 ffffffff833334f0 0000000000000000 fffffffffffffffe
> 0000000000000000 ffffffff832b0000 ffffffff83330000 ffffffff83330000
> ffffffff83330000 ffffffff833147d8 0000000000000000 0000000000000000
> 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> 0000000000000000 0000000000000000 0000000000000000 ffffffff83004b90
> 0000000000000000 ffffffff83004b80 5a5a5a5a5a5a5a5a
> 5a5a5a5a5a5a5a5a ... Call Trace: [<ffffffff8332ab84>]
> sbmac_init_module+0x26c/0x5d0 [<ffffffff833147d8>]
> kernel_init+0x1d0/0x3f8 [<ffffffff83004b90>]
> kernel_thread_helper+0x10/0x18
> 
> 
> Code: 26d60001  fe620000  de620000 <dfa20030> 16c2ff89  66731000
> 3c028338  3c038338  0000a82d Can't open proc stat Crashdump not
> saved, prom device open error primary crash already saved... crash #2
> (Attempted to kill init!) will be ignored Kernel panic - not syncing:
> Attempted to kill init! Rebooting in 5 seconds..
> 
> 
> -----Original Message-----
> From: Andrew Sharp [mailto:andy.sharp@lsi.com] 
> Sent: Monday, March 29, 2010 5:03 PM
> To: Kumar, Raj
> Cc: Scheer, Larry
> Subject: Re: Compact Flash for Tuxstor SSC
> 
> On Mon, 29 Mar 2010 17:47:17 -0600 "Scheer, Larry"
> <Larry.Scheer@lsi.com> wrote:
> 
> > Raj,
> >      I put an CF on your keyboard that is the R5.0.0.0 SSC Tuxstor
> > boot device. It is unconfigured so the FTI will run when you boot it
> > for the first time. 
> > 
> > Your root file system and boot area for the Tuxstor txrx processor
> > is 10.0.0.143:/var/nfsroot/qa-tuxstor. 
> > 
> > I need to leave. I will help you configure things tomorrow and show
> > you how to update both the SSC side and TXRX file systems.
> 
> I realize I might not have fully explained how to build a customized
> tuxstor kernel which you will need to do.
> 
> Here's how:
> 
> ...eh, I'll do it on the wiki so it can be shared.  I'll send you an
> email pointer to that.
