From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: megasas stops I/O when running kernel as dom0 under xen4.1/4.2 Date: Fri, 12 Aug 2011 19:25:51 +0300 Message-ID: <20110812162551.GH32373@reaktio.net> References: <4E43E04B.8010401@leuphana.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <4E43E04B.8010401@leuphana.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Andreas Olsowski Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Thu, Aug 11, 2011 at 03:59:39PM +0200, Andreas Olsowski wrote: > Hello xen-devel, > Hello, > as one of the people using Dell Servers i am aware that the LSI megarai= d =20 > drivers are quite old in the current 2.6.32 pvops tree, > but it seems that, once again, i have run into problems that are more =20 > rare than the usual "cant find disk" issues. (Of which i had none, ever= ) > Btw did you see this thread about lsi drivers and 2.6.32:=20 http://lists.xensource.com/archives/html/xen-devel/2010-11/msg00250.html I've been successfully using version 4.3x megaraid_sas drivers..=20 (Latest available from LSI's support site). -- Pasi > > The situation: > -------------- > I have 2 dom0 kernels, 2.6.32.44 and 3.0.1 that work fine when booted =20 > bare-metal. I can run stress -m 40 -d 4 -i 1 for hours on end without =20 > any error occuring. > The 2.6.32.44 kernels use version 00.00.05.30 megasas modules. > > When i boot that kernel on my R610 servers under xen (4.1 and 4.2) the = =20 > kernels work fine too. I create 10 virtual machines, each running 4 =20 > "stress -m 40" and can do disk i/o on my local storage as much as i wan= t=20 > to. > > But on my Dell R710 system things dont look so good. > Booted bare-metal, both kernels work fine. > When i boot them as dom0 under xen, everything seems to be okay at firs= t. > Then i create my 10 virtual machines that put some load on the memory. > And as soon as i do i/o to the local disk, even a "ls /usr/src/" can =20 > suffice, i/o freezes, the system stops to respond to anything that =20 > requires disk acccess. > After a while the kernel will start spewing out error messages: > > #### lots of these > sd 0:2:0:0: [sda] megasas: RESET -83318 cmd=3D2a retries=3D0 > megaraid_sas: HBA reset handler invoked without an internal reset condi= tion. > megasas: [ 0]waiting for 16 commands to complete > megaraid_sas: no more pending commands remain after reset handling. > megasas: reset successful > ### > > ### then some of these > sd 0:2:0:0: Device offlined - not ready after error recovery > ### > > ### goes on to > sd 0:2:0:0: [sda] Unhandled error code > sd 0:2:0:0: [sda] Result: hostbyte=3DDID_OK driverbyte=3DDRIVER_TIMEOUT > sd 0:2:0:0: [sda] CDB: Write(10): 2a 00 08 45 6f 00 00 01 88 00 > end_request: I/O error, dev sda, sector 138768128 > Buffer I/O error on device sda2, logical block 5138912 > lost page write due to I/O error on sda2 > Buffer I/O error on device sda2, logical block 5138913 > ### > > ### and finally these, as often as one tries to access the disk > sd 0:2:0:0: rejecting I/O to offline device > sd 0:2:0:0: rejecting I/O to offline device > sd 0:2:0:0: rejecting I/O to offline device > > > If a kernel works fine on one set of servers (Dell R610 with LSI Logic = / =20 > Symbios Logic LSI MegaSAS 9260 (rev 05) raid controllers) and crashes o= n =20 > another server (Dell R710 with a LSI Logic / Symbios Logic MegaRAID SAS= =20 > 1078 (rev 04) raid controller), > it would seem logical to assume, that the kernel does not support the =20 > hardware properly. > But when run bare-metal, no errors occur. > > I for one ran out of things to try, the R710 worked fine before i =20 > upgraded its firmware to the most current versions and went from =20 > xen4.0.1 to xen4.1/4.2. > > So i put it to you, fine sirs of xen-devel: > is it: > A.) a hardware problem, because the software works on different hardwar= e > or > B.) a xen problem, because the hardware runs fine in a non-virtualized = =20 > scenario with the same kernel > > Or is it something else entirely? > > Help, input, questions and suggestions are, as always, greatly apprecia= ted. > > > With best regards > > --=20 > Andreas Olsowski > Leuphana Universit=E4t L=FCneburg > Rechen- und Medienzentrum > Scharnhorststra=DFe 1, C7.015 > 21335 L=FCneburg > > Tel: ++49 4131 677 1309 > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel