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/
Home Products Support Community News


Re: [Xen-users] xen-4 + megasas(DELL 6i RAID) = Reject I/O to offline de

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] xen-4 + megasas(DELL 6i RAID) = Reject I/O to offline device
From: Stephan Austermühle <au@xxxxxxx>
Date: Sun, 10 Oct 2010 22:38:49 +0200
Delivery-date: Sun, 10 Oct 2010 13:40:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTilcMUD3xIdqA9MnR0xp23iEAd-iScowjXLuQ21Y@xxxxxxxxxxxxxx>
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: <AANLkTilcMUD3xIdqA9MnR0xp23iEAd-iScowjXLuQ21Y@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv: Gecko/20100802 Thunderbird/3.1.2
Hi all,

Am 20.07.2010 09:27, schrieb Chao-Rui Chang:

> I have problem with xen-4 + megasas driver (dell raid card 6i).
> The raid controller goes offline randomly.
>      ext4-fs error (device dm-0) in ext4_dirty_inode: Journal has aborted
>      sd 0:2:0:0: rejecting I/O to offline device

I faced the very same problem today (Intel RS2BL040 a.k.a. LSI MegaSAS
9260 Xen 4.0.1, Debian Linux Kernel 2.6.32-5-xen-amd64 that includes
megaraid_sas driver 4.01) and I remembered that I solved it for another
server with an Intel SRCSAS18E, Xen 3.3 and some other kernel a while
ago. Last time, it was the megaraid_sas driver that caused the
filesystems to go offline randomly when running in a dom0 under Xen. The
system ran stable when the kernel was running on the bare metal.

I don't now yet if this is a permanent solution but I tried to fix it by
repeating the steps from the last time (server is still running after 7

1. Grabbed latest driver (4.31) from LSI. I took the Ubuntu package
(Ubuntu_10_04_LTS_4_31.zip) because it contains sources adjusted to
kernel 2.6.32. There's also a Debian 5.0.5 driver available containing
the sources and binaries for 2.6.26.

2. Unwrapped the driver sources, compiled with

        cd megaraid_sas-v00.00.04.31-ieee
        make -C /lib/modules/$(uname -r)/build M=$PWD modules

and installed it (you may want so save the old module first) with

        cp -p megaraid_sas.ko /lib/modules/$(uname

3. Updated initrd with

        update-initramfs -u

and rebooted.

The new driver introduces himself with

        megasas: Thur June 17 14:13:02 EST 2010
        megasas: 0x1000:0x0079:0x8086:0x9260: bus 5:slot 0:func 0
        xen: registering gsi 16 triggering 0 polarity 1
        xen_allocate_pirq: returning irq 16 for gsi 16
        xen: --> irq=16
        Already setup the GSI :16
        megaraid_sas 0000:05:00.0: PCI INT A -> GSI 16 (level, low) ->  IRQ 16
        megaraid_sas 0000:05:00.0: setting latency timer to 64
        megasas: FW now in Ready state
        megasas_init_mfi: fw_support_ieee=0
        scsi0 : LSI SAS based MegaRAID driver

4. Updated the RAID controller firmware to the latest available release.


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Xen-users mailing list