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:<Bill.Fisher@lsi.com>,<rendell.fong@lsi.com>
MAID:2
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/LSI/INBOX	0	4AF8A0DC.2040804@lsi.com
X-Sylpheed-End-Special-Headers: 1
Date: Mon, 9 Nov 2009 16:05:12 -0800
From: Andrew Sharp <andy.sharp@lsi.com>
To: Rendell Fong <rendell.fong@lsi.com>
Cc: "Fisher, Bill" <Bill.Fisher@lsi.com>
Subject: Re: txrx90l kernel crash with tuxstor
Message-ID: <20091109160512.0738a72f@ripper.onstor.net>
In-Reply-To: <4AF8A0DC.2040804@lsi.com>
References: <4AF8A0DC.2040804@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

On Mon, 9 Nov 2009 16:08:12 -0700 William Fisher <bill.fisher@lsi.com>
wrote:

> Call Trace:
> [<ffffffff830324cc>] __tasklet_schedule+0x44/0x158
> [<ffffffff83037574>] update_process_times+0x5c/0x90
> [<ffffffff83007620>] timer_interrupt+0x138/0x190
> [<ffffffff830076f8>] ll_timer_interrupt+0x80/0xe8
> [<ffffffff83002960>] ret_from_irq+0x0/0x4
> [<ffffffff83085d18>] kmem_cache_alloc+0x90/0xb8
> [<ffffffff83189e0c>] prom_read+0xdc/0x180
                       ^^^^^^^^^
line 1410 of drivers/mgmt-bus/prom.c


mem = kmalloc(FROM_SECTORSIZE, 0);

that needs to be called with GFP_ATOMIC in the flags since this could
be called at exception time or interrupt time.  Otherwise the thread can
get rescheduled, which is a dog that won't hunt.

> [<ffffffff830012fc>] ons_crashdump_save+0x5bc/0x830
> [<ffffffff8302ae28>] panic+0x88/0x1f0
> [<ffffffff83008558>] die+0xd8/0xf0
> [<ffffffff83008f80>] do_cpu+0x0/0x310
> 
> ---------------
> 
> Well attempting to ping the txrx, via the mgmtbus, with a kernel
> built with all the latest
> source from tuxstor branch gets the above.
> 
> Can you ping across the mgmtbus driver after your last
> set of changes?
> 
> This is the first time I have
> attempted running my tests on the txrx side.
> 
> -- Bill
> 
> 
> 
> 
> 
