AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:mail.onstor.net
NSV:
SSH:
R:<Bill.Fisher@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	49D507E7.60702@onstor.com
X-Sylpheed-End-Special-Headers: 1
Date: Thu, 2 Apr 2009 13:19:19 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: Bill Fisher <Bill.Fisher@onstor.com>
Subject: Re: patch file for mgmtbus on ssc
Message-ID: <20090402131919.633ada96@ripper.onstor.net>
In-Reply-To: <49D507E7.60702@onstor.com>
References: <20090401193217.62b824fd@ripper.onstor.net>
	<49D507E7.60702@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=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Thu, 2 Apr 2009 11:45:59 -0700 Bill Fisher <Bill.Fisher@onstor.com>
wrote:

> after applying your changes, I get:
>=20
> > 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 modul=
e parameters must be specified, otherwise bonding will not detect link fail=
ures! see bonding.txt for details.
> > eth0: enabling TCP rcv checksum
> > eth0: SiByte Ethernet at 0x10064000, address: 00:07:34:00:00:00
> > eth1: enabling TCP rcv checksum
> > eth1: SiByte Ethernet at 0x10065000, address: 00:07:34:00:00:01
> > eth2: enabling TCP rcv checksum
> > eth2: SiByte Ethernet at 0x10066000, address: 00:07:34:00:00:02
> > eth3: enabling TCP rcv checksum
> > eth3: SiByte Ethernet at 0x10067000, address: 00:07:34:00:00:03
> > tun: Universal TUN/TAP device driver, 1.6
> > tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
> > mgmtbus_init: ssc_pci_base 0x0000000060000000, ssc_base_offset 0x000000=
01f0000000, ssc_base_phy_addr 0x00000011f0000000
> > mgmtbus_init: ssc <virt,pci_base> 0x90000011f0000000, 0x0000000060000000
> > mgmtbus_init: txrx <virt,pci_base> 0x90000001f0000000, 0x000000001a0000=
00
> > mgmtbus_init: fp <virt,pci_base> 0x900000101b000000, 0x000000001b000000
> > mgmtBus_waitforRingConfig: Waiting for SSC to finish mgmtbus_init; ring=
_config 0x90000011f0000000, magic 0x90000011f0000000
> > DBE physical address: 11f0000000
> > Data bus error, epc =3D=3D ffffffff83182754, ra =3D=3D ffffffff83182748
> > Oops[#1]:
> > Cpu 0
> > $ 0   : 0000000000000000 0000000014001fe0 ffffffffffffffff ffffffffbabe=
cafe
> > $ 4   : ffffffff83306a60 0000000000000001 0000000000000001 000000000000=
0000
> > $ 8   : ffffffff83306a60 0000000000000000 ffffffffffff15c6 ffffffff8336=
0000
> > $12   : ffffffff83370000 ffffffff83360000 0000000000000000 ffffffff8328=
8138
> > $16   : 90000011f0000000 ffffffff83290000 ffffffff83290000 ffffffffffff=
fffe
> > $20   : 0000000000000000 ffffffff832c0000 ffffffff83350000 ffffffff8335=
0000
> > $24   : 0000000000000000 0000000000000030
> > $28   : a80000000b044000 a80000000b047eb0 ffffffff83290000 ffffffff8318=
2748
> > Hi    : 0000000000000000
> > Lo    : 0000000000000000
> > epc   : ffffffff83182754 mgmtBus_waitforRingConfig+0x3c/0x60     Not ta=
inted
> > ra    : ffffffff83182748 mgmtBus_waitforRingConfig+0x30/0x60
> > Status: 14001fe3    KX SX UX KERNEL EXL IE
> > Cause : 0080801c
> > PrId  : 01041100
> > Modules linked in:
> > Process swapper (pid: 1, threadinfo=3Da80000000b044000, task=3Da8000000=
0b041808)
> > Stack : 90000001f0000000 ffffffff83381cd8 ffffffff83342f0c ffffffff8336=
0000
> >         ffffffff00000000 fffffffffffffffe ffffffff832d3330 000000000000=
0000
> >         0000000000000000 ffffffff8334c870 0000000000000000 ffffffffffff=
fffe
> >         0000000000000000 ffffffff832c0000 ffffffff83350000 ffffffff8335=
0000
> >         ffffffff83350000 ffffffff8332c7d0 0000000000000000 000000000000=
0000
> >         0000000000000000 0000000000000000 0000000000000000 000000000000=
0000
> >         0000000000000000 0000000000000000 0000000000000000 000000000000=
0000
> >         0000000000000000 0000000000000000 0000000000000000 000000000000=
0000
> >         0000000000000000 0000000000000000 0000000000000000 ffffffff8300=
4350
> >         0000000000000000 ffffffff83004340 0000000000000000 000000000000=
0000
> >         ...
> > Call Trace:
> > [<ffffffff83182754>] mgmtBus_waitforRingConfig+0x3c/0x60
> > [<ffffffff83342f0c>] mgmtbus_init+0x134/0x580
> > [<ffffffff8332c7d0>] kernel_init+0x1c8/0x3f0
> > [<ffffffff83004350>] kernel_thread_helper+0x10/0x18
> >=20
> >=20
> > Code: 3c03babe  3463cafe  8e020000 <1443fffe> 3c04832d  6625aa20  dfbf0=
010  dfb10008  dfb00000
> > Kernel panic - not syncing: Attempted to kill init!
> > Rebooting in 5 seconds..
> >=20
> >=20
> This says that the configuration block is not at the correct location.
>=20
> Send me the screen dump of your txrx booting, so that I know what is
> the correct address.
>=20


Here is my screenlog:



=0DWaiting for TXRX image to be loaded...done
=0DLinux version 2.6.22-cg-gbc6c5665-dirty (andys@ripper) (gcc version
4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #720 SMP Wed Apr 1
17:40:33 PDT 2009 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 TuxRx Processor 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=3Dduart0,57600n8 root=3D/dev/nfs
nfsroot=3D10.0.0.42:/var/nfsroot/tuxrx,v3,tcp
ip=3D10.3.10.141:10.0.0.42:10.3.0.1:255.255.0.0:tuxrx:eth0:none -s
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 (41 instructions).
Synthesized TLB load handler fastpath (54 instructions). Synthesized
TLB store handler fastpath (54 instructions). Synthesized TLB modify
handler fastpath (53 instructions). 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: 4046848k/4194304k available (2281k kernel code, 146992k
reserved, 691k 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 (41 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 (41 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 (41 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
tuxrx_pci_program_shared_mem_config: vendor:device  bus_no
tuxrx_pci_program_shared_mem_config:   166d:0014      0000
tuxrx_pci_program_shared_mem_config: cfg_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. eth0: enabling TCP rcv
checksum eth0: SiByte Ethernet at 0x10064000, address:
00:07:34:10:01:10 eth1: enabling TCP rcv checksum eth1: SiByte Ethernet
at 0x10065000, address: 00:07:34:10:01:11 eth2: enabling TCP rcv
checksum eth2: SiByte Ethernet at 0x10066000, address: 00:07:34:10:01:12
eth3: enabling TCP rcv checksum
eth3: SiByte Ethernet at 0x10067000, address: 00:07:34:10:01:13
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
mgmtBus_waitforRingConfig: Waiting for SSC to finish mgmtbus init;
ring_config 0x9000001060000000 mgmtBus_waitforRingConfig: Continuing
mgmtbus initialization.... mgmtbus_dumpRingConfig: DUMP START
mgmtbus_dumpRingConfig: table[SSC][SSC] avail 0x0, used 0x0, size 0x3
mgmtbus_dumpRingConfig: table[SSC][TXRX] avail 0x600012e0, used
0x1a018060, size 0x400 mgmtbus_dumpRingConfig: table[SSC][FP] avail
0x60009300, used 0x0, size 0x400 mgmtbus_dumpRingConfig: table[SSC][FC]
avail 0x60011320, used 0x0, size 0x400 mgmtbus_dumpRingConfig:
table[TXRX][SSC] avail 0x1a000000, used 0x60019340, size 0x400
mgmtbus_dumpRingConfig: table[TXRX][TXRX] avail 0x0, used 0x0, size 0x0
mgmtbus_dumpRingConfig: table[TXRX][FP] avail 0x1a008020, used 0x0,
size 0x400 mgmtbus_dumpRingConfig: table[TXRX][FC] avail 0x1a010040,
used 0x0, size 0x400 mgmtbus_dumpRingConfig: table[FP][SSC] avail 0x0,
used 0x60021360, size 0x400 mgmtbus_dumpRingConfig: table[FP][TXRX]
avail 0x0, used 0x1a020080, size 0x400 mgmtbus_dumpRingConfig:
table[FP][FP] avail 0x0, used 0x0, size 0x0 mgmtbus_dumpRingConfig:
table[FP][FC] avail 0x0, used 0x0, size 0x0 mgmtbus_dumpRingConfig:
table[FC][SSC] avail 0x0, used 0x60029380, size 0x400
mgmtbus_dumpRingConfig: table[FC][TXRX] avail 0x0, used 0x1a0280a0,
size 0x400 mgmtbus_dumpRingConfig: table[FC][FP] avail 0x0, used 0x0,
size 0x0 mgmtbus_dumpRingConfig: table[FC][FC] avail 0x0, used 0x0,
size 0x0 mgmtbus_dumpRingConfig: DUMP END mgmtbus: using irq 59
mgmtbus: registered net device: mgmtbus, RingConfig 0x9000001060000000
TCP cubic registered NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
NET: Registered protocol family 30
eth0: found phy 4, vendor 000818 part 0b
eth0: Link speed: 1000BaseT FDX
IP-Config: Complete:
      device=3Deth0, addr=3D10.3.10.141, mask=3D255.255.0.0, gw=3D10.3.0.1,
     host=3Dtuxrx, domain=3D, nis-domain=3D(none),
     bootserver=3D10.0.0.42, rootserver=3D10.0.0.42, rootpath=3D
Looking up port of RPC 100003/3 on 10.0.0.42
Looking up port of RPC 100005/3 on 10.0.0.42
VFS: Mounted root (nfs filesystem) readonly.
Freeing unused kernel memory: 144k freed
=0DINIT: version 2.86 booting
Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...done.
Setting parameters of disc: (none).
Activating swap...done.
Setting the system clock..
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access
method. Cleaning up ifupdown....
Loading kernel modules...done.
Loading device-mapper support.
Checking file systems...fsck 1.40-WIP (14-Nov-2006)
done.
Setting kernel variables...done.
Mounting local filesystems...done.
Activating swapfile swap...done.
Setting up networking....
Configuring network interfaces...done.
Starting portmap daemon....
Starting system log daemon: syslogd.
Give root password for maintenance
(or type Control-D to continue):=20
=0DINIT: Entering runlevel: 2
Starting system log daemon: syslogd.
Starting kernel log daemon: klogd.
Setting NIS domainname to: agilestorage.
Starting NIS services: ypbind.
Starting portmap daemon...Already running..
Starting automounter: done.
Starting HTTP server: boagethostbyname:: Success
=1B[33m*=1B[39;49m Not starting internet superserver: no services enabled.
Starting OpenBSD Secure Shell server: sshd.
Starting NFS common utilities: statd.
Starting NTP server: ntpd.
Starting periodic command scheduler: crond.

ONStor GNU/Linux 4.0 tuxrx0 duart0

tuxrx0 login: root
