AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20070201203443.4f8a8480@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<brian.stark@onstor.com>,<dl-cougar>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	2969	BB375AF679D4A34E9CA8DFA650E2B04E02444B19@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Thu, 1 Feb 2007 20:43:02 -0800
From: Andrew Sharp <andy.sharp@onstor.com>
To: "Brian Stark" <brian.stark@onstor.com>
Cc: <dl-cougar>
Subject: Re: a baby's first words
Message-ID: <20070201204302.5a2c10f8@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E02444B19@onstor-exch02.onstor.net>
References: <20070201123223.3e056322@ripper.onstor.net>
 <BB375AF679D4A34E9CA8DFA650E2B04E02444B19@onstor-exch02.onstor.net>
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

On Thu, 1 Feb 2007 13:01:13 -0800 "Brian Stark"
<brian.stark@onstor.com> wrote:

> Andy,
> 
> Fantastic progress!  You're gonna need a Cougar motherboard soon!
> 
> I agree that you're probably hitting the UART errata.  Put the
> workaround in, and this will hopefully clear it up.

Switching to our style work around v. the one in the Linux driver
didn't help, but I futzed some more and got it to work.  Something
about hard coding the early console to 115200 baud instead of honoring
the command line.  Fixed that.  Eventually the serial driver was
initialized properly with interrupts, and that was why were getting the
clear output: I had hard coded that section to 57600!  I also fixed up
some bogus code that was wiping out the boot cmdline.  How rude is that.

I tried SMP and it detects the other CPU, but gets hung up trying to
get it going.  I did some hacking and slashing from CFE code and from
PMC Sierra PMON code to get the SMP stuff this far, but it needs more
trickery to get it over the hump.  I doubt I will bother with that
though because of the network problem.

Here is the latest output.  Nice.  Probably as far as we go on Bobcat
TXRX w/o some special help with the LUC chip.  You can see it whining
about not being able to probe the PHY on each ethernet device.



PMON [FP,EL,FP,64]
ONStor Inc. PROM_SIBYTE_BC : prom-2.0.2 : Fri Apr  7 13:13:34 2006
CPU type SB1250.  Rev 17  750 MHz
module: FP, 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 256 KB, 32/line  (4 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
Reinit'ing phb_init.
Linux version 2.6.19.1-sibc-g1a4f9f59-dirty (andys@ripper) (gcc version 4.1.2 20061028 (prerelease) (Debian 4.1.1-19)) #28 Thu Feb 1 20:09:00 PST 2007
CPU revision is: 01040102
FPU revision is: 000f0102
This kernel optimized for Onstor Bobcat board runs without %$^@#&^@ CFE
Determined physical RAM map:
 memory: 0000000000300000 @ 0000000000000000 (ROM data)
 memory: 0000000005000000 @ 0000000000300000 (usable)
Detected 1 available secondary CPU(s)
Built 1 zonelists.  Total pages: 20958
Kernel command line: console=duart,57600n8 root=/dev/nfs nfsroot=10.0.0.117:/var/chroot/etch-mipsel,v3 ip=10.3.2.150:10.0.0.117:10.3.0.1:255.255.255.0:linux-sibc
Primary instruction cache 32kB, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, linesize 32 bytes.
Synthesized TLB refill handler (36 instructions).
Synthesized TLB load handler fastpath (48 instructions).
Synthesized TLB store handler fastpath (43 instructions).
Synthesized TLB modify handler fastpath (42 instructions).
PID hash table entries: 512 (order: 9, 4096 bytes)
Using 1.000 MHz high precision timer.
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
Memory: 31668k/81920k available (1845k kernel code, 50188k reserved, 574k data, 120k init, 0k highmem)
Mount-cache hash table entries: 256
Checking for 'wait' instruction...  unavailable.
Checking for the multiply/shift bug... no.
Checking for the daddi bug... no.
Checking for the daddiu bug... no.
NET: Registered protocol family 16
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 1, 8192 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
io scheduler noop registered
io scheduler deadline registered (default)
eth0: enabling TCP rcv checksum
eth0: SiByte Ethernet at 0x10064000, address: 40:00:00:00:01:00
eth1: enabling TCP rcv checksum
eth1: SiByte Ethernet at 0x10065000, address: 40:00:00:00:01:01
eth2: enabling TCP rcv checksum
eth2: SiByte Ethernet at 0x10066000, address: 40:00:00:00:01:02
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Time: MIPS clocksource has been installed.
eth0: failed to probe PHY.
IP-Config: Failed to open eth0
eth1: failed to probe PHY.
IP-Config: Failed to open eth1
eth2: failed to probe PHY.
IP-Config: Failed to open eth2
IP-Config: No network devices available.
Looking up port of RPC 100003/3 on 10.0.0.117
portmap: server 10.0.0.117 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/3 on 10.0.0.117
portmap: server 10.0.0.117 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
mount: server 10.0.0.117 not responding, timed out
Root-NFS: Server returned error -5 while mounting /var/chroot/etch-mipsel
VFS: Unable to mount root fs via NFS, trying floppy.
No filesystem could mount root, tried:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
 <0>Rebooting in 5 seconds..
