WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Possible bug with scsi disk and Xen

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-users] Possible bug with scsi disk and Xen
From: Jordan Pittier <jordan.pittier@xxxxxxxxx>
Date: Wed, 2 Feb 2011 23:43:29 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 02 Feb 2011 14:45:11 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=HOdkPEDoLOUbeDeT4f6ypC08bTiaN48z1rZ0DFWtdwo=; b=dz11FvOmrG6XydF5pJhTthXLAar9QAQUpRKxBJuxxXYT5GUFVQRyPrU7PCHLU3DYrE HdxzFWRL9gF2+4Nlg6uPqUR2mvj6wjq5rXBJ+YBuez5wMstjXG1+1JLWWV2oVUvF46xr 1ztDmCO+UIhCEV8RWL1jeIfJWJHaKxPgr8Dlg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=vz+PFbgH/50nGHWF0M8V27fMDBVDZ/MMYlc6aB2tdFv7+TpiSnTIi9pCwDrcBvtxFz WJKPDt+rCQpBMALEWwBxiIfKFgsZ/bxdv9g2p25I5mtcNlJxoAkscGHzgDQEYlIAb/yL 4sk36K0C0Cl+KFVN4MJZkrinXAD0pZ12RElug=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110129184929.GN2754@xxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTimBUd-Fs+Z2KEx+8+XpLs015QLO5JCXqj066SMx@xxxxxxxxxxxxxx> <20110129170217.GJ2754@xxxxxxxxxxx> <AANLkTi=RuN4TOEoUFmMo8Qb1bJxG+CJGyWNLEU+_yYBQ@xxxxxxxxxxxxxx> <20110129182514.GL2754@xxxxxxxxxxx> <AANLkTimwP68Cv25U8RZfHi8FGDwBa-AqBG994c_fdSW6@xxxxxxxxxxxxxx> <20110129184929.GN2754@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,
Finally I managed to compile the driver LSI MPT Fusion 4.22. I took the source from kernel 2.6.34 shipped with SLES. Then I slightly changed the driver sources to "backport" it on a debian 2.6.32.

Now my servers seem 100% stable, so I am verry happy :) Thanks for your big hint toward a possible depreciated driver.

Jordan 
 
On Sat, Jan 29, 2011 at 7:49 PM, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
On Sat, Jan 29, 2011 at 07:32:31PM +0100, Jordan Pittier wrote:
>    >Xen dom0 kernel does irq handling through Xen hypervisor,
>    >so that might make some drivers behave in a different way baremetal vs.
>    dom0.
>    Ok, so the driver is a good "responsible" for this SCSI crazyness.


I'm not sure if it is, but it *could* be.


>    >What driver version does the squeeze kernel have?
>    3.04. Which seems to be several years old. There is lot of users
>    complaining about LSI drivers all over the Internet.*
>    I will keep you posted as soon as I manage to build the latest driver.

See here for tips how to build updated megaraid_sas driver:
http://lists.xensource.com/archives/html/xen-devel/2010-11/msg00250.html

Maybe it helps also with your driver.

-- Pasi

>    On Sat, Jan 29, 2011 at 7:25 PM, Pasi K*rkk*inen <[1]pasik@xxxxxx> wrote:
>    > On Sat, Jan 29, 2011 at 07:03:16PM +0100, Jordan Pittier wrote:
>    >> Thanks for your reply. LSI has indeed newer driver for the controler;
>    >> but I can't "build" it, there's an error when I try to compile it [see
>    >> attachement]. I will give another try in the next days.
>    >>
>    >> What is puzzling is that the IO errors only occurs with Xen HV. I am
>    >> 100% willing to accept that the problem is the drivers, but how come
>    >> the exact same kernel (the xenified one) could work fine without Xen
>    >> loaded ? I am almost a noob in kernel/driver and stuff; but I thought
>    >> the drivers were entirely in the kernel.
>    >>
>    >
>    > Yep, the driver is entirely in the kernel, but that's not the whole
>    story.
>    >
>    > Xen dom0 kernel does irq handling through Xen hypervisor,
>    > so that might make some drivers behave in a different way baremetal vs.
>    dom0.
>    >
>    > Also remember dom0 is a *vm*, so some timing stuff might happen
>    > differently on baremetal vs. dom0.
>    >
>    >> I will try with the latest kernel in a few days.
>    >>
>    >> SLES11SP1 ships mptfusion 4.22
>    >>
>    ([2]http://www.novell.com/linux/releasenotes/x86_64/SUSE-SLES/11-SP1/#driver-updates-storage)
>    >> I dont know for RHEL
>    >>
>    >
>    > What driver version does the squeeze kernel have?
>    >
>    >
>    > -- Pasi
>    >
>    >
>    >> On Sat, Jan 29, 2011 at 6:02 PM, Pasi K*rkk*inen <[3]pasik@xxxxxx>
>    wrote:
>    >> > On Sat, Jan 29, 2011 at 04:27:25PM +0100, Jordan Pittier wrote:
>    >> >> * *Hi,
>    >> >> * *I have been tracking a bug affecting all my servers running
>    Debian Squeeze
>    >> >> * *for more than a month now, and I*desperately*need your help :)*
>    >> >> * *I have 10 Sun v20z servers (2*66GB SCSI disk in RAID 1 ==
>    mirror). 4 of
>    >> >> * *them are running Debian Squeeze with the latest Xen Debian kernel
>    >> >> * *(2.6.32-5-xen-amd64 ==*2.6.32-29). The rest are running Debian
>    Lenny
>    >> >> * *(2.6.26-2-xen-amd64 ==*2.6.26-26lenny1).
>    >> >> * *On a Squeeze boxe, under very high IO (such as running a IO
>    stress test,
>    >> >> * *ie bonnie++), server starts behaving*weirdly and I see messages
>    like these
>    >> >> * *in kernel.log : [see attachement]. Then the server becomes
>    totally
>    >> >> * *unresponsive (but doesn't "freeze") and commands such as "ls" or
>    "reboot"
>    >> >> * *don't work anymore. I have to do an hard reboot. After the server
>    has
>    >> >> * *reboot, the RAID array seems degraded (I am using the mpt-status
>    command)
>    >> >> * *and starts rebuilding. After several hours, the raid array is
>    "fine"
>    >> >> * *("clean"). The raid controler is "LSI53C1030" U320, with driver
>    "Fusion
>    >> >> * *MPT SPI Host driver 3.04.06". I have attached the result of
>    "lsmod".
>    >> >> * *None of my Lenny boxes are affected by this issue, all of my
>    Squeeze boxes
>    >> >> * *are.
>    >> >> * *What does it have to do with Xen ? When I boot my Squeeze boxes
>    without
>    >> >> * *the Xen hypervisor but the same Xen kernel, bonnie++
>    runs*absolutely*fine.
>    >> >> * *The issue appears only with the Xen hypervisor loaded.*
>    >> >> * *There is a debian bug report for this
>    >> >> * *:*[1][4]http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=603727
>    >> >> * *Any suggestion ?*
>    >> >
>    >> > Did you check if LSI has newer driver version available?
>    >> >
>    >> > Also you might check which driver version for example RHEL6
>    >> > or SLES11SP1 ships with.. both of those distros have 2.6.32 kernels
>    too.
>    >> >
>    >> > On one of my testboxes I need to upgrade the LSI driver
>    >> > to a newer version to make it work. This is SAS based LSI though.
>    >> >
>    >> > Can you try using another disk controller?
>    >> >
>    >> > Also: Did you try using the latest kernel (-30) ?
>    >> >
>    >> > -- Pasi
>    >> >
>    >> >
>    >
>
> References
>
>    Visible links
>    1. mailto:pasik@xxxxxx
>    2. http://www.novell.com/linux/releasenotes/x86_64/SUSE-SLES/11-SP1/#driver-updates-storage
>    3. mailto:pasik@xxxxxx
>    4. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=603727

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>