Sagar Borikar | 1 Apr 2009 05:06
Picon

ata_check_status_mmio exception kernel panic

Hi,

We are facing random kernel panics on drive removal when IO is
happening to RAID. Note that kernel panic is random and not every time
it happens. This is mips based production system and kernel is 2.6.18.
Unfortunately we can't upgrade the kernel as its on field.

Here is the log that we have got,

Data bus error, epc == 80377358, ra == 80377384
Oops[#1]:
Cpu 0
$ 0   : 00000000 804d0024 c001e0c7 0001000b
$ 4   : 811a829c 811a8d5c 00000260 804d358c
$ 8   : 90008000 1000001f 00000000 852c4000
$12   : 87a2bb80 00006764 00000000 00000000
$16   : 811a8d5c 811a829c 811a829c 00000001
$20   : 80513d98 00000000 00000000 00000000
$24   : 00000000 2b0c2ba0
$28   : 80512000 80513be0 00000000 80377384
Hi    : 00000000
Lo    : 00000000
epc   : 80377358 ata_check_status_mmio+0x4/0x10     Not tainted
ra    : 80377384 ata_check_status+0x20/0x3c
Status: 90008003    KERNEL EXL IE
Cause : 0000201c
PrId  : 000034c1
Modules linked in: aes
Process swapper (pid: 0, threadinfo=80512000, task=80514fc8)
Stack : 00000000 803ff4bc 00000000 00000000 80377240 80364204 8703c6a8 805bccc8
(Continue reading)

Sagar Borikar | 1 Apr 2009 05:08
Picon

Re: ata_check_status_mmio exception kernel panic

Forgot to mention one point that it happens only with SIL3114 SATA controller

Sagar

On Wed, Apr 1, 2009 at 8:36 AM, Sagar Borikar <sagar.borikar <at> gmail.com> wrote:
> Hi,
>
> We are facing random kernel panics on drive removal when IO is
> happening to RAID. Note that kernel panic is random and not every time
> it happens. This is mips based production system and kernel is 2.6.18.
> Unfortunately we can't upgrade the kernel as its on field.
>
> Here is the log that we have got,
>
> Data bus error, epc == 80377358, ra == 80377384
> Oops[#1]:
> Cpu 0
> $ 0   : 00000000 804d0024 c001e0c7 0001000b
> $ 4   : 811a829c 811a8d5c 00000260 804d358c
> $ 8   : 90008000 1000001f 00000000 852c4000
> $12   : 87a2bb80 00006764 00000000 00000000
> $16   : 811a8d5c 811a829c 811a829c 00000001
> $20   : 80513d98 00000000 00000000 00000000
> $24   : 00000000 2b0c2ba0
> $28   : 80512000 80513be0 00000000 80377384
> Hi    : 00000000
> Lo    : 00000000
> epc   : 80377358 ata_check_status_mmio+0x4/0x10     Not tainted
> ra    : 80377384 ata_check_status+0x20/0x3c
> Status: 90008003    KERNEL EXL IE
(Continue reading)

Tejun Heo | 1 Apr 2009 05:37

Re: ata_check_status_mmio exception kernel panic

Hello,

Sagar Borikar wrote:
> We are facing random kernel panics on drive removal when IO is
> happening to RAID. Note that kernel panic is random and not every time
> it happens. This is mips based production system and kernel is 2.6.18.
> Unfortunately we can't upgrade the kernel as its on field.

2.6.18 is way too old and the mentioned function has been removed a
lont time ago in favor of iomem support.  Can you please give a shot
at more recent kernel?

Thanks.

--

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

James Andrewartha | 1 Apr 2009 07:34
Picon

Re: Mysteriously slow writes SiI 3124

Grant Grundler wrote:
> On Tue, Mar 3, 2009 at 11:10 PM, Peter Rabbitson <rabbit+list <at> rabbit.us> wrote:
>> No takers? Can I provide more info/measurements/whatever? I would
>> really like to get to the bottom of this, pretty frustrating.
> 
> Are you ok with wild guesses?
> This sounds remarkable similar to the performance of the equivalent
> PCIe SATA controller from Silicon Image (3132). The 3132 has 1 PCI-E
> lane and should able to move more than 220 MB/s or so. But in fact can
> only read 120MB/s and write 170MB/s.

The hardware is limited:
http://ata.wiki.kernel.org/index.php/Hardware,_driver_status#Silicon_Image_3124
http://www.mail-archive.com/linux-ide <at> vger.kernel.org/msg10143.html
http://markmail.org/message/dkwn2imwkjg7aeyl

--

-- 
James Andrewartha
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Boaz Harrosh | 1 Apr 2009 13:50
Favicon
Gravatar

Re: [PATCHSET pata-2.6] ide: rq->buffer, data, special and misc cleanups

On 03/31/2009 04:43 PM, Tejun Heo wrote:
> Hello, Boaz.
> 
Hi Tejun

> Boaz Harrosh wrote:
>> On 03/31/2009 12:05 PM, Tejun Heo wrote:
>>> Hello, Boaz.
>>>
> 
>>> sgl or bvec doesn't make much of difference.  The only difference
>>> between sgl and bvec is the extra entries for DMA mapping.  
>> Exactly, and in 32bit largemem that part is 200% of the first
>> part, so bvec can be 33% of sgl at times, and 50% usually.
> 
> And why would all that matter for temporary short-lived sgls on a
> relatively cold path?
> 

It's use is un-common yes, but it is not cold. It is very hot for it's
users. Any SG_IO users from sg, bsg and other go threw here sometimes
very hotly.

My benchmarks where done with the sg3_dd utility, going threw sg.c
for direct IO submission. (sg3 utils package)

I will use some such path for the exofs filesystem which is very
hot for me

> 
(Continue reading)

Justin Fletcher | 1 Apr 2009 15:54
Favicon

Problems with >3 drives on an eSATA portmultiplier

Hiya,

I've been having problems recently with my external eSATA drives failing 
to be recognised when there are more than 3 plugged in at one time.

Summary of problem:

When one drive is connected in the external box, everything is fine.

When two are connected, everything is fine.

When three are connected, it can sometimes take a while for them all to 
be detected and mounted.

When four are connected, it almost never detects them properly or mounts 
them. Occassionally I get all 4 mounted, and rarely I get just 1 or 2 of 
the drives mounted.

When five are connected, it's not mounting the drives.

More details:

The kernel I'm using now is 2.6.29 with no patches applied.

The system I'm using is a MSI motherboard, with a SiI eSATA controller 
(a 3132, specifically this 
one: http://www.span.com/catalog/product_info.php?products_id=15995 ) 
connected though the only PCI express card on the MB.

The bridgeboard in my external box is a NA910C, with a SiI3726 onboard 
(Continue reading)

Grant Grundler | 1 Apr 2009 18:45
Picon
Favicon

Re: Problems with >3 drives on an eSATA portmultiplier

On Wed, Apr 1, 2009 at 6:54 AM, Justin Fletcher <gerph <at> gerph.org> wrote:
> Hiya,
>
> I've been having problems recently with my external eSATA drives failing to
> be recognised when there are more than 3 plugged in at one time.
>
> Summary of problem:
>
> When one drive is connected in the external box, everything is fine.
>
> When two are connected, everything is fine.
>
> When three are connected, it can sometimes take a while for them all to be
> detected and mounted.
>
> When four are connected, it almost never detects them properly or mounts
> them. Occassionally I get all 4 mounted, and rarely I get just 1 or 2 of the
> drives mounted.
>
> When five are connected, it's not mounting the drives.
>
>
> More details:
>
> The kernel I'm using now is 2.6.29 with no patches applied.
>
> The system I'm using is a MSI motherboard, with a SiI eSATA controller (a
> 3132, specifically this one:
> http://www.span.com/catalog/product_info.php?products_id=15995 ) connected
> though the only PCI express card on the MB.
(Continue reading)

Justin Fletcher | 1 Apr 2009 19:09
Favicon

Re: Problems with >3 drives on an eSATA portmultiplier

On Wed, 1 Apr 2009, Grant Grundler wrote:

> On Wed, Apr 1, 2009 at 6:54 AM, Justin Fletcher <gerph <at> gerph.org> wrote:
>> Hiya,
>>
>>
>> The system I'm using is a MSI motherboard, with a SiI eSATA controller (a
>> 3132, specifically this one:
>> http://www.span.com/catalog/product_info.php?products_id=15995 ) connected
>> though the only PCI express card on the MB.
>
> 2.6.29 kernel + SII 3132 SATA controller should work fine with 3726 PMP.
>
> I'm skeptical it's a driver problem. But I've not tested recent
> kernels with that config.
> I do know 2.6.26 does work with that config.

I could drop down to 2.6.26 and rebuild my kernel with support for that 
controller - I hadn't done this before because I cannot then use my DVB-S 
card, but... I could live without that for the test.

I'm unsure of where the problem might lie; if it's not a driver problem 
and the PSU isn't the issue, then the only variable left (I think) is the 
bridge board itself. AKA "The expensive bit" :-)

[snip]

>>
>> During testing combinations of drives have been changed, and the bridge
>> board ports that they are plugged in to. This has not appeared to make any
(Continue reading)

Sergei Shtylyov | 1 Apr 2009 19:34

[PATCH] ide-h8300: remove mm_{inw|outw}()

Remove two no longer used functions that I've overlooked...

Signed-off-by: Sergei Shtylyov <sshtylyov <at> ru.mvista.com>

---
The patch is atop of the pata-2.6 series...

 drivers/ide/ide-h8300.c |   22 ----------------------
 1 files changed, 22 deletions(-)

Index: linux-2.6/drivers/ide/ide-h8300.c
===================================================================
--- linux-2.6.orig/drivers/ide/ide-h8300.c
+++ linux-2.6/drivers/ide/ide-h8300.c
 <at>  <at>  -22,28 +22,6  <at>  <at> 
 	(r);				\
 })

-static void mm_outw(u16 d, unsigned long a)
-{
-	__asm__("mov.b %w0,r2h\n\t"
-		"mov.b %x0,r2l\n\t"
-		"mov.w r2, <at> %1"
-		:
-		:"r"(d),"r"(a)
-		:"er2");
-}
-
-static u16 mm_inw(unsigned long a)
-{
(Continue reading)

Grant Grundler | 1 Apr 2009 19:46
Picon
Favicon

Re: Problems with >3 drives on an eSATA portmultiplier

On Wed, Apr 1, 2009 at 10:09 AM, Justin Fletcher <gerph <at> gerph.org> wrote:
> On Wed, 1 Apr 2009, Grant Grundler wrote:
>
>> On Wed, Apr 1, 2009 at 6:54 AM, Justin Fletcher <gerph <at> gerph.org> wrote:
>>>
>>> Hiya,
>>>
>>>
>>> The system I'm using is a MSI motherboard, with a SiI eSATA controller (a
>>> 3132, specifically this one:
>>> http://www.span.com/catalog/product_info.php?products_id=15995 )
>>> connected
>>> though the only PCI express card on the MB.
>>
>> 2.6.29 kernel + SII 3132 SATA controller should work fine with 3726 PMP.
>>
>> I'm skeptical it's a driver problem. But I've not tested recent
>> kernels with that config.
>> I do know 2.6.26 does work with that config.
>
> I could drop down to 2.6.26 and rebuild my kernel with support for that
> controller - I hadn't done this before because I cannot then use my DVB-S
> card, but... I could live without that for the test.

If someone could comment on  2.6.28 or 2.6.29, you could avoid running
this test.

...
> I've replaced the PSU once already - it was replaced on 6th Feb, with a
> Sumvision 450W 20+4pin SATA PSU. Those 5 drives + the bridge board and fan
(Continue reading)


Gmane