AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20080802131731.23a28e5e@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<raj.kumar@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	BB375AF679D4A34E9CA8DFA650E2B04E0B2442A5@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Sat, 2 Aug 2008 13:17:40 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: "Raj Kumar" <raj.kumar@onstor.com>
Subject: Re: Defect  TED00025013 CSS (G1R8): "system show ch" & "system sh
 version" shows 4 FP cores on 6520 system
Message-ID: <20080802131740.2716b12a@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E0B2442A5@onstor-exch02.onstor.net>
References: <ONSTOR-EXCH01lqjiPb0000370f@onstor-exch01.onstor.net>
	<BB375AF679D4A34E9CA8DFA650E2B04E0B2442A1@onstor-exch02.onstor.net>
	<20080802125716.0578276e@ripper.onstor.net>
	<BB375AF679D4A34E9CA8DFA650E2B04E0B2442A2@onstor-exch02.onstor.net>
	<20080802130635.72c9e3b3@ripper.onstor.net>
	<BB375AF679D4A34E9CA8DFA650E2B04E0B2442A5@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

Well, the kernel's doing it's job.  What does nfxsh say now about how
many cores?

On Sat, 2 Aug 2008 13:13:44 -0700 "Raj Kumar" <raj.kumar@onstor.com>
wrote:

> MGMTBUS: Onstor model family ONS-SYS-6500
> 
> Complete log:
> 
> 
> 
> PowerOn Self Test........OK
> 
> Initializing System......please wait
> 
> 
> 
> 
> 
> PMON [SSC,EL,FP,64]
> ONStor Inc. PROM_SIBYTE_CG : Cougar-prom-1.0.8 : Thu Jul 31 17:59:23
> 2008
> CPU type SB1125.  Rev 35  600 MHz
> module: SSC, Slot 0, CPU 0
> Memory size 512 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 SSC to enter autoload init state...done.
>  ext2_load_file /dev/sdb1/boot/vmlinux.bin at location
> ffffffff82000000 disk model: CF 1GB
> disk geometry: cylinders=2044 heads=16 sectors=63
> Type ctrl-e to stop autoload.
> Waiting for TXRX to enter autoload init state...done.
>  ext2_load_file /dev/sdb1/boot/txrx_cg.bin at location 42000000
> disk model: CF 1GB
> disk geometry: cylinders=2044 heads=16 sectors=63
> Type ctrl-e to stop autoload.
> Waiting for FP to enter autoload init state...done.
>  ext2_load_file /dev/sdb1/boot/fp_cg.bin at location 44000000
> disk model: CF 1GB
> disk geometry: cylinders=2044 heads=16 sectors=63
>  do_bsd_launch argc = 6 argv[6] = NULL
> 
> env[0] = 0xffffffff80b90900:.cpuclock=4894967296.
> env[1] = 0xffffffff80b90950:.memsize=512.
> env[2] = 0xffffffff80b909a0:.osloadoptions=mAt.
> env[3] = 0xffffffff80b909f0:.boot=cold.
> env[4] = 0xffffffff80b90a40:.busclock=600.
> env[5] = 0xffffffff80b90a90:.ipaddr=.
> env[6] = 0xffffffff80b90ae0:.netmask=255.255.255.0.
> env[7] = 0xffffffff80b90b30:.macaddr0=.00:07:34:07:90:00.
> env[8] = 0xffffffff80b90b80:.macaddr1=.00:07:34:07:90:01.
> env[9] = 0xffffffff80b90bd0:.bootdev=/dev/sdb1.
>  Load options and params for [g]
>   Address 0xffffffff82000000 argc = 6
>    argv [0] = g
>    argv [1] = root=/dev/sdb1
>    argv [2] = ip=none
>    argv [3] = rootdelay=1
>    argv [4] = onstor_model=ONS-SYS-6500
>    argv [5] = NULL
>  pointer to Prom Util routines = 0x0
>  Command should be  (addr)(argc, argv, env_strings,
> ptr_prom_util_routines)
> 
> 
> Linux version 2.6.22-cg-g34fad011-dirty (andys@ripper) (gcc version
> 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 Sat Aug 2 13:04:16
> PDT 2008
> Booting Linux kernel...Mips64 Cougar
> cougar_pmon_init: argc=6, arg=ffffffff80c09380, env=ffffffff80b90880
> prom_init: env[0] = 'cpuclock=4894967296'
> prom_init: env[1] = 'memsize=512'
> prom_init: env[2] = 'osloadoptions=mAt'
> prom_init: env[3] = 'boot=cold'
> prom_init: env[4] = 'busclock=600'
> prom_init: env[5] = 'ipaddr='
> prom_init: env[6] = 'netmask=255.255.255.0'
> prom_init: env[7] = 'macaddr0=00:07:34:07:90:00'
> prom_init: env[8] = 'macaddr1=00:07:34:07:90:01'
> prom_init: env[9] = 'bootdev=/dev/sdb1'
> CPU revision is: 00040103
> FPU revision is: 000f0103
> Broadcom SiByte BCM1125H A4 @ 600 MHz (SB1 rev 3)
> Board type: ONStor Cougar
> This kernel optimized for ONStor Cougar board without CFE
> Determined physical RAM map:
>  memory: 0000000002000000 @ 0000000000000000 (ROM data)
>  memory: 000000000e000000 @ 0000000002000000 (usable)
>  memory: 000000000f000000 @ 0000000080000000 (usable)
>  memory: 0000000001000000 @ 000000008f000000 (reserved)
> Wasting 458752 bytes for tracking 8192 unused pages
> Built 1 zonelists.  Total pages: 577720
> Kernel command line: console=duart0,57600n8 root=/dev/sda1
> root=/dev/sdb1 ip=none rootdelay=1 onstor_model=ONS-SYS-6500  NULL
> MGMTBUS: Onstor model family ONS-SYS-6500
> Primary instruction cache 32kB, 4-way, linesize 32 bytes.
> Primary data cache 32kB, 4-way, linesize 32 bytes.
> Secondary cache 256kB, 4-way, linesize 32 bytes.
> Synthesized TLB refill handler (38 instructions).
> Synthesized TLB load handler fastpath (49 instructions).
> Synthesized TLB store handler fastpath (49 instructions).
> Synthesized TLB modify handler fastpath (48 instructions).
> PID hash table entries: 4096 (order: 12, 32768 bytes)
> Using 1.000 MHz high precision timer.
> Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
> Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
> Memory: 433408k/475136k available (2202k kernel code, 41556k reserved,
> 690k data, 112k 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.
> NET: Registered protocol family 16
> SCSI subsystem initialized
> PCI: Bus 1, cardbus bridge: 0000:00:07.0
>   IO window: 00008000-000080ff
>   IO window: 00008400-000084ff
>   PREFETCH window: 44000000-47ffffff
>   MEM window: 48000000-4bffffff
> PCI: Bus 5, cardbus bridge: 0000:00:07.1
>   IO window: 00008800-000088ff
>   IO window: 00008c00-00008cff
>   PREFETCH window: 4c000000-4fffffff
>   MEM window: 50000000-53ffffff
> Time: MIPS clocksource has been installed.
> NET: Registered protocol family 2
> IP route cache hash table entries: 32768 (order: 6, 262144 bytes)
> TCP established hash table entries: 131072 (order: 9, 2097152 bytes)
> TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
> TCP: Hash tables configured (established 131072 bind 65536)
> TCP reno registered
> io scheduler noop registered
> io scheduler anticipatory registered
> io scheduler deadline registered
> io scheduler cfq registered (default)
> SiByte Watchdog: timeout is 8.3 secs
> eth0: enabling TCP rcv checksum
> eth0: SiByte Ethernet at 0x10064000, address: 00:07:34:07:90:00
> eth1: enabling TCP rcv checksum
> eth1: SiByte Ethernet at 0x10065000, address: 00:07:34:07:90:01
> Yenta: CardBus bridge found at 0000:00:07.0 [0000:0000]
> Yenta: Enabling burst memory read transactions
> Yenta: Using INTVAL to route CSC interrupts to PCI
> Yenta: Routing CardBus interrupts to PCI
> Yenta TI: socket 0000:00:07.0, mfunc 0x00000022, devctl 0x60
> Yenta: ISA IRQ mask 0x0000, PCI irq 56
> Socket status: 30000059
> pcmcia: parent PCI bridge I/O window: 0x0 - 0x1ffffff
> cs: IO port probe 0x0-0x1ffffff: clean.
> pcmcia: parent PCI bridge Memory window: 0x41000000 - 0x5fffffff
> Yenta: CardBus bridge found at 0000:00:07.1 [0000:0000]
> Yenta: Using INTVAL to route CSC interrupts to PCI
> Yenta: Routing CardBus interrupts to PCI
> Yenta TI: socket 0000:00:07.1, mfunc 0x00000022, devctl 0x60
> Yenta: ISA IRQ mask 0x0000, PCI irq 57
> Socket status: 30000059
> pcmcia: parent PCI bridge I/O window: 0x0 - 0x1ffffff
> cs: IO port probe 0x0-0x1ffffff: clean.
> pcmcia: parent PCI bridge Memory window: 0x41000000 - 0x5fffffff
> pccard: PCMCIA card inserted into slot 0
> cs: memory probe 0x41000000-0x5fffffff: excluding
> 0x41000000-0x417fffff 0x44000000-0x53ffffff
> pcmcia: registering new device pcmcia0.0
> scsi0 : pata_pcmcia
> ata1: PATA max PIO0 cmd 0x90000000dc000000 ctl 0x90000000dc00000e
> bmdma 0x0000000000000000 irq 56
> ds1511 ds1511: rtc core: registered ds1511 as rtc0
> MGMTBUS: using irq 29
> MGMTBUS: registered net device mgmtbus @ 900000008f000000
> rcon device will be in the hizzy @ 900000008f0000e0
> TCP cubic registered
> NET: Registered protocol family 1
> NET: Registered protocol family 17
> NET: Registered protocol family 30
> ds1511 ds1511: setting the system clock to 2008-08-02 20:11:20
> (1217707880)
> Waiting 1sec before mounting root device...
> ata1.00: CFA: CF 1GB, 06/07/29, max PIO2
> ata1.00: 2060352 sectors, multi 0: LBA
> ata1.00: configured for PIO0
> scsi 0:0:0:0: Direct-Access     ATA      CF 1GB           06/0 PQ: 0
> ANSI: 5
> sd 0:0:0:0: [sda] 2060352 512-byte hardware sectors (1055 MB)
> sd 0:0:0:0: [sda] Write Protect is off
> sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't
> support DPO or FUA
> sd 0:0:0:0: [sda] 2060352 512-byte hardware sectors (1055 MB)
> sd 0:0:0:0: [sda] Write Protect is off
> sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't
> support DPO or FUA
>  sda: sda1 sda2 sda3 sda4
> sd 0:0:0:0: [sda] Attached SCSI removable disk
> pccard: PCMCIA card inserted into slot 1
> cs: memory probe 0x41000000-0x5fffffff: excluding
> 0x41000000-0x41ffffff 0x44000000-0x53ffffff
> pcmcia: registering new device pcmcia1.0
> scsi1 : pata_pcmcia
> ata2: PATA max PIO0 cmd 0x90000000dc000010 ctl 0x90000000dc00001e
> bmdma 0x0000000000000000 irq 57
> ata2.00: CFA: CF 1GB, 06/07/29, max PIO2
> ata2.00: 2060352 sectors, multi 0: LBA
> ata2.00: configured for PIO0
> scsi 1:0:0:0: Direct-Access     ATA      CF 1GB           06/0 PQ: 0
> ANSI: 5
> sd 1:0:0:0: [sdb] 2060352 512-byte hardware sectors (1055 MB)
> sd 1:0:0:0: [sdb] Write Protect is off
> sd 1:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't
> support DPO or FUA
> sd 1:0:0:0: [sdb] 2060352 512-byte hardware sectors (1055 MB)
> sd 1:0:0:0: [sdb] Write Protect is off
> sd 1:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't
> support DPO or FUA
>  sdb: sdb1 sdb2 sdb3 sdb4
> sd 1:0:0:0: [sdb] Attached SCSI removable disk
> kjournald starting.  Commit interval 5 seconds
> EXT3-fs: mounted filesystem with ordered data mode.
> VFS: Mounted root (ext3 filesystem) readonly.
> Freeing unused kernel memory: 112k freed
> modprobe: FATAL: Could not load
> /lib/modules/2.6.22-cg-g34fad011-dirty/modules.dep: No such file or
> directory
> 
> modprobe: FATAL: Could not load
> /lib/modules/2.6.22-cg-g34fad011-dirty/modules.dep: No such file or
> directory
> 
> INIT: 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).
> Setting kernel variables...done.
> Activating swap...done.
> Checking root file system...fsck 1.40-WIP (14-Nov-2006)
> /dev/sdb1: clean, 9663/89088 files, 75351/178156 blocks
> done.
> Setting the system clock..
> Cleaning up ifupdown....
> Loading kernel modules...FATAL: Could not load
> /lib/modules/2.6.22-cg-g34fad011-dirty/modules.dep: No such file or
> directory
> Loading device-mapper support.
> Checking file systems...fsck 1.40-WIP (14-Nov-2006)
> /dev/sdb3: clean, 1368/43648 files, 57092/174384 blocks (check in 4
> mounts)
> /dev/sdb4: clean, 27/28224 files, 11790/112896 blocks (check in 4
> mounts)
> done.
> Mounting local filesystems...done.
> Activating swapfile swap...done.
> Starting ONStor initial configuration utility:.
> Setting up networking....
> Configuring network interfaces...done.
> Starting portmap daemon....
> INIT: Entering runlevel: 2
> Starting system log daemon: syslogd.
> Starting kernel log daemon: klogd.
> Starting portmap daemon...Already running..
> Starting MTA: exim4.
> Starting internet superserver: inetd.
> Starting OpenBSD Secure Shell server: sshd.
> Starting NFS common utilities: statd.
> Starting automounter: loading autofs4 kernel module,FATAL: Could not
> load /lib/modules/2.6.22-cg-g34fad011-dirty/modules.dep: No such file
> or directory
>  no automount maps defined.
> Starting NTP server: ntpd.
> Starting deferred execution scheduler: atd.
> Starting periodic command scheduler: crond.
> Starting ONStor services: mgmtbus emrscron /onstor/bin/pm.
> 
> -----Original Message-----
> From: Andy Sharp 
> Sent: Saturday, August 02, 2008 1:07 PM
> To: Raj Kumar
> Subject: Re: Defect TED00025013 CSS (G1R8): "system show ch" & "system
> sh version" shows 4 FP cores on 6520 system
> 
> OK, I'v attached a debug vmlinux.bin.  Go to /boot on your machine and
> save the original, and copy this one there, and reboot.  See what
> kernel boot up messages you get that start with 'MGMTBUS:'
> 
> 
> On Sat, 2 Aug 2008 12:57:57 -0700 "Raj Kumar" <raj.kumar@onstor.com>
> wrote:
> 
> > Sure.
> > 
> > -----Original Message-----
> > From: Andy Sharp 
> > Sent: Saturday, August 02, 2008 12:57 PM
> > To: Raj Kumar
> > Cc: Jonathan Goldick
> > Subject: Re: Defect TED00025013 CSS (G1R8): "system show ch" &
> > "system sh version" shows 4 FP cores on 6520 system
> > 
> > I didn't think that you did.  I was thinking of making a debug
> > kernel for you really fast, would that be OK?
> > 
> > On Sat, 2 Aug 2008 12:54:17 -0700 "Raj Kumar" <raj.kumar@onstor.com>
> > wrote:
> > 
> > > I didn't program chassis seep. Do I need to?
> > > 
> > > -----Original Message-----
> > > From: andy.sharp@onstor.com [mailto:andy.sharp@onstor.com] 
> > > Sent: Saturday, August 02, 2008 12:53 PM
> > > To: Andy Sharp; Andy Sharp; Raj Kumar
> > > Cc: Raj Kumar; Jonathan Goldick
> > > Subject: Defect TED00025013 CSS (G1R8): "system show ch" & "system
> > > sh version" shows 4 FP cores on 6520 system
> > > 
> > > Headline: CSS (G1R8): "system show ch" & "system sh version"
> > > shows 4 FP cores on 6520 system
> > > id: TED00025013
> > > Note_Entry: 
> > > Well, everything looks right from the kernel's point of view, so
> > > perhaps it's an issue with nfxsh somehow.  It's kind of strange
> > > that the chassis seep seems to be reading out 6700.  So that
> > > might be affecting nfxsh somehow.
> > > 
> > > 
> > > State: Assigned
> > > history: 33766224	Aug  2 2008 12:36PM	rajk
> > > Submit	no_value Opened
> > > 33766225	Aug  2 2008 12:43PM	andrews
> > > Need_more_info	Opened More_Info
> > > 33766226	Aug  2 2008 12:45PM	rajk	Back_to_dev
> > > More_Info	Assigned
> > > 33766228	08/02/2008 12:53:11 PM	andrews
> > > Modify	Assigned Assigned
> > > 
