AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20080118112332.0816c85a@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<vikas.saini@onstor.com>,<larry.scheer@onstor.com>,<dl-Cougar@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	BB375AF679D4A34E9CA8DFA650E2B04E07BBFE45@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Fri, 18 Jan 2008 11:23:35 -0800
From: Andrew Sharp <andy.sharp@onstor.com>
To: "Vikas Saini" <vikas.saini@onstor.com>
Cc: "Larry Scheer" <larry.scheer@onstor.com>, "dl-Cougar"
 <dl-Cougar@onstor.com>
Subject: Re: Kernel never oopes... wel almost never.
Message-ID: <20080118112335.01f7e37a@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E07BBFE45@onstor-exch02.onstor.net>
References: <BB375AF679D4A34E9CA8DFA650E2B04E056C92D8@onstor-exch02.onstor.net>
	<BB375AF679D4A34E9CA8DFA650E2B04E07BBFE45@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

Has a bug been filed against the kernel?  Please do so.  Paste all this
into the bug report.

Thanks,

a


On Thu, 17 Jan 2008 19:08:45 -0800 "Vikas Saini"
<vikas.saini@onstor.com> wrote:

> We have seen that...
> 
> 
> _____________________________________________
> From: Larry Scheer 
> Sent: Thursday, January 17, 2008 6:57 PM
> To: Andy Sharp
> Cc: dl-Cougar
> Subject: Kernel never oopes... wel almost never.
> 
> PMON [SSC,EL,FP,64]
> ONStor Inc. PROM_SIBYTE_CG : Cougar-prom-1.0.3 : Thu Jan 17 15:57:20
> 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 = 10.2.204.10
> debug IP mask = 255.255.0.0
> 
> 
> Initializing Autoloader, hit control-E to bypass
> ........................................................................
> ........
> 
> Type ctrl-e to stop autoload.
> Waiting for SSC to enter autoload init state...done.
> tftp server addr = 10.0.0.143
> load, ip addr = 0xa00008f, fname = 10.2.204.10/vmlinux.bin
> loading 10.2.204.10/vmlinux.bin from 0xa00008f at 0xffffffff82000000
> tpl_findBindCb prot=17 lport=9736
> tpl_allocBindCb
> tftp_tplAddConnInd
> TFTP transfer completed.
> tftp_tplDelConnInd
> binary load, 3079568 bytes (0x2efd90)
> Type ctrl-e to stop autoload.
> Waiting for TXRX to enter autoload init state...done.
> tftp server addr = 10.0.0.143
> load, ip addr = 0xa00008f, fname = 10.2.204.10/txrx_cg.bin
> loading 10.2.204.10/txrx_cg.bin from 0xa00008f at 0x42000000
> tftp_tplAddConnInd
> TFTP transfer completed.
> tftp_tplDelConnInd
> binary load, 10047456 bytes (0x994fe0)
> Type ctrl-e to stop autoload.
> Waiting for FP to enter autoload init state...done.
> tftp server addr = 10.0.0.143
> load, ip addr = 0xa00008f, fname = 10.2.204.10/fp_cg.bin
> loading 10.2.204.10/fp_cg.bin from 0xa00008f at 0x44000000
> tftp_tplAddConnInd
> TFTP transfer completed.
> tftp_tplDelConnInd
> binary load, 8318656 bytes (0x7eeec0)
>  -- Do BSD launch (argc = 0)
> 
> env[0] = 0xffffffff80b7c5b0:.cpuclock=4894967296.
> env[1] = 0xffffffff80b7c600:.memsize=512.
> env[2] = 0xffffffff80b7c650:.osloadoptions=mAt.
> env[3] = 0xffffffff80b7c6a0:.boot=cold.
> env[4] = 0xffffffff80b7c6f0:.busclock=600.
> env[5] = 0xffffffff80b7c740:.ipaddr=10.2.204.10.
> env[6] = 0xffffffff80b7c790:.netmask=255.255.0.0.
> env[7] = 0xffffffff80b7c7e0:.macaddr0=.00:07:34:07:59:00.
> env[8] = 0xffffffff80b7c830:.macaddr1=.00:07:34:07:59:01.
>  pointer to Prom Util routines = 0x0 
>  Command should be  (addr)(argc, argv, env_strings,
> ptr_prom_util_routines) 
> 
> 
> Linux version 2.6.22-cg (larrys@linux-compile.onstor.net) (gcc version
> 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #2 Mon Jan 14 13:11:03
> PST 2008
> Booting Linux kernel...Mips64 Cougar
> cougar_pmon_init: argc=1, arg=ffffffff80bf4910, env=ffffffff80b7c530
> 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=10.2.204.10'
> prom_init: env[6] = 'netmask=255.255.0.0'
> prom_init: env[7] = 'macaddr0=00:07:34:07:59:00'
> prom_init: env[8] = 'macaddr1=00:07:34:07:59:01'
> 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 ip=dhcp
> 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:59:80
> eth1: enabling TCP rcv checksum
> eth1: SiByte Ethernet at 0x10065000, address: 00:07:34:07:59:81
> 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: 30000006
> 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: 30000006
> pcmcia: parent PCI bridge I/O window: 0x0 - 0x1ffffff
> cs: IO port probe 0x0-0x1ffffff: clean.
> pcmcia: parent PCI bridge Memory window: 0x41000000 - 0x5fffffff
> ds1511 ds1511: rtc core: registered ds1511 as rtc0
> MGMTBUS: using irq 28
> 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 3055-01-17 19:56:55
> (4175966343)
> eth0: sbmac_open() irq 19.
> eth0: found phy 1, vendor 000818 part 0c
> eth0: Link speed: 100BaseT FDX
> eth1: sbmac_open() irq 20.
> eth1: found phy 2, vendor 000818 part 0c
> Sending DHCP requests .,Unknown ARP type 0xfffe for device mgmtbus
> Unknown ARP type 0xffff for device bp0
> CPU 0 Unable to handle kernel paging request at virtual address
> 0000000000000018, epc == ffffffff8222003c, ra == ffffffff821a9eb4
> Oops[#1]:
> Cpu 0
> $ 0   : 0000000000000000 0000000014001fe0 ffffffff82330000
> a80000000498ba00
> $ 4   : a80000008ecacc00 ffffffff822d1f20 0000000000000800
> 0000000000000000
> $ 8   : 0000000000000000 0000000000000240 0000000000000000
> ffffffff82300000
> $12   : ffffffff82310000 ffffffff82300000 0000000000000000
> ffffffff8223b508
> $16   : a80000008ecacc00 ffffffff822d1f20 a80000008ecacc00
> a80000008ecacc00
> $20   : ffffffff822b0000 ffffffff822f0000 ffffffff822d1f20
> 0000000000000001
> $24   : 0000000000000000 ffffffff82220000
> 
> $28   : a8000000048c4000 a8000000048c7e10 ffffffff822d0000
> ffffffff821a9eb4
> Hi    : 000000000000001a
> Lo    : c083126e978d4fff
> epc   : ffffffff8222003c relay_hard_start_xmit+0x3c/0x1e0     Not
> tainted
> ra    : ffffffff821a9eb4 dev_queue_xmit+0x30c/0x458
> Status: 14001fe3    KX SX UX KERNEL EXL IE 
> Cause : 00808008
> BadVA : 0000000000000018
> PrId  : 00040103
> Modules linked in:
> Process swapper (pid: 1, threadinfo=a8000000048c4000,
> task=a8000000048c1768)
> Stack : a80000008ecacc00 ffffffff822d1f20 a8000000049bf480
> a80000008ecacc00
>         ffffffff822b0000 ffffffff821a9eb4 a8000000049ac14d
> a8000000049ac030
>         a8000000049bf480 ffffffff822e97b4 0000000000000905
> ffffffff822f0000
>         0000000000000000 ffffffff8202539c a8000000048c7ea8
> a8000000048c7f00
>         ffffffff822e6120 ffffffff82270000 a8000000048c7ef0
> ffffffff8227d9d8
>         a8000000049a2940 0000000000000bef a8000000048c7ef0
> a8000000049ac400
>         ffffffff822e6128 ffffffff822e6128 ffffffff822d2120
> 0000000000000006
>         00000000fffb8dda 000000001dcd6500 0000000000000000
> ffffffff822ef638
>         0000000000000000 fffffffffffffffe 0000000000000000
> ffffffff82270000
>         ffffffff822f0000 ffffffff822f0000 0000000000000000
> ffffffff822d46a8
>         ...
> Call Trace:
> [<ffffffff8222003c>] relay_hard_start_xmit+0x3c/0x1e0
> [<ffffffff821a9eb4>] dev_queue_xmit+0x30c/0x458
> [<ffffffff822e97b4>] ip_auto_config+0x784/0x1088
> [<ffffffff822d46a8>] kernel_init+0xd0/0x2f8
> [<ffffffff82003930>] kernel_thread_helper+0x10/0x18
> 
> 
> Code: dc432438  0080902d  8c890070 <dd450018> 0c86d964  dc740028
> de5100b8  8e420070  6631fff2 
> Kernel panic - not syncing: Fatal exception in interrupt
> Rebooting in 5 seconds.. 
> 
> I think this was some bone head move on my part.. but we'll see
> 
> Cheers! ;-)
> 
> Larry
