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

[Xen-users] Xen and Promise SATA

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Xen and Promise SATA
From: "John Cianfarani" <jcianfarani@xxxxxxxxxx>
Date: Thu, 2 Mar 2006 21:48:01 -0500
Delivery-date: Fri, 03 Mar 2006 02:49:02 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Subject:MIME-Version:Content-Type:Date:Content-class:Message-ID:X-MimeOLE:X-MS-Has-Attach:X-MS-TNEF-Correlator:Thread-Topic:Thread-Index:From:To; b=HpMPEA/mu5oZK2mceXgVwnE0yGbFggPd/ve+zQHmPjF25V6oNxNXpEY6sefLkUuE/F46JG8hWzpMYoes81zVoylcmPkY3bTN6GaBlUe5o3QX1irR1HfvvgYmezrKhdC7ToqzMblRuizHDY7dLD1+In3NvpUnHc4UwBGQo/Gnc8k= ;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcY+bOL0QmgPzUAzTLGbWBguDZv2ow==
Thread-topic: Xen and Promise SATA

Hey all,

 

I’ve been trying for several days to get my Promise TX4 SATA controller to work properly under xen but I’m running into some road blocks.

I’m running centos 4.2, and have been successful getting it work without issue under a 2.6.9-22.0.2 kernel with the promise gpl’ed driver code.

The main drive is IDE so I have no issues booting the other SATA drives will make a raid 5 mount for my domU’s.

When I try to recompile the driver for the xen kernel it compiles without errors but when I try to “modprobe ulsata2” the system detects the Promise card and the 3 drives but then gives failed and read message and reboots citing a kernel bug. (see log below)

 

Supposedly this card is supported under the sata_promise module but I have tried several times without success.

 

Any help is appreciated

John

 

 

Crash after a modprobe ulsata2

-----------------------------------------------

Mar  2 20:35:04 xen-machine kernel: PROMISE SATA-II 150/300 Series Linux Driver v1.01.0.20

Mar  2 20:35:04 xen-machine kernel: ACPI: PCI Interrupt 0000:02:09.0[A] -> GSI 21 (level, low) -> IRQ 21

Mar  2 20:35:04 xen-machine kernel: ulsata2:[info] Drive 1/0: ST3250823AS            488397167s 250059MB  UDMA6

Mar  2 20:35:04 xen-machine kernel: ulsata2:[info] Drive 3/0: ST3250823AS            488397167s 250059MB  UDMA6

Mar  2 20:35:04 xen-machine kernel: ulsata2:[info] Drive 7/0: ST3250823AS            488397167s 250059MB  UDMA6

Mar  2 20:35:04 xen-machine kernel: scsi0 : ulsata2

Mar  2 20:35:04 xen-machine kernel:   Vendor:           Model: ST3250823AS       Rev:    

Mar  2 20:35:04 xen-machine kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02

Mar  2 20:35:04 xen-machine kernel:   Vendor:           Model: ST3250823AS       Rev:    

Mar  2 20:35:04 xen-machine kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02

Mar  2 20:35:04 xen-machine kernel:   Vendor:           Model: ST3250823AS       Rev:    

Mar  2 20:35:04 xen-machine kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02

Mar  2 20:35:04 xen-machine scsi.agent[4212]: disk at /devices/pci0000:00/0000:00:1e.0/0000:02:09.0/host0/target0:0:2/0:0:2:0

Mar  2 20:35:04 xen-machine kernel: SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)

Mar  2 20:35:04 xen-machine scsi.agent[4205]: disk at /devices/pci0000:00/0000:00:1e.0/0000:02:09.0/host0/target0:0:0/0:0:0:0

Mar  2 20:35:04 xen-machine kernel: SCSI device sda: drive cache: write through

Mar  2 20:35:04 xen-machine kernel: SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)

Mar  2 20:35:04 xen-machine kernel: SCSI device sda: drive cache: write through

Mar  2 20:35:04 xen-machine scsi.agent[4223]: disk at /devices/pci0000:00/0000:00:1e.0/0000:02:09.0/host0/target0:0:6/0:0:6:0

Mar  2 20:35:23 xen-machine kernel:  sda:<4>ulsata2:[warning] disk1 ATA timeoutat LBA 0x0

Mar  2 20:35:41 xen-machine kernel: ulsata2:[info] scsi eh abort - running FAILED

Mar  2 20:35:41 xen-machine kernel: ulsata2:[warning] scsi eh reset disk1 OK

Mar  2 20:35:41 xen-machine kernel: ulsata2:[warning] submit channel 0 busy

Mar  2 20:35:41 xen-machine kernel: SCSI error : <0 0 0 0> return code = 0x50000

Mar  2 20:35:41 xen-machine kernel: end_request: I/O error, dev sda, sector 0

Mar  2 20:35:41 xen-machine kernel: Buffer I/O error on device sda, logical block 0

Mar  2 20:35:41 xen-machine kernel: ulsata2:[warning] submit channel 0 busy

Mar  2 20:35:41 xen-machine kernel: SCSI error : <0 0 0 0> return code = 0x50000

Mar  2 20:35:41 xen-machine kernel: end_request: I/O error, dev sda, sector 0

Mar  2 20:35:41 xen-machine kernel: Buffer I/O error on device sda, logical block 0

Mar  2 20:35:41 xen-machine kernel:  unable to read partition table

Mar  2 20:35:41 xen-machine kernel: Attached scsi disk sda at scsi0, channel 0, id 0, lun 0

Mar  2 20:35:41 xen-machine kernel: ------------[ cut here ]------------

Mar  2 20:35:41 xen-machine kernel: kernel BUG at include/asm/dma-mapping.h:44!

Mar  2 20:35:41 xen-machine kernel: invalid operand: 0000 [#1]

Mar  2 20:35:41 xen-machine kernel: Modules linked in: sd_mod ulsata2 scsi_mod vmnet vmmon video thermal processor fan button battery

ac intel_agp agpgart

Mar  2 20:35:41 xen-machine kernel: CPU:    0

Mar  2 20:35:41 xen-machine kernel: EIP:    0061:[<f49d612c>]    Tainted: P      VLI

Mar  2 20:35:41 xen-machine kernel: EFLAGS: 00010046   (2.6.12.6-xen0)

-----------------------------------

 

 

 

 

2.6.9-22.0.2 Working Kernel

-----------------------------------

Extract from an lsmod

 

ulsata2               120060  3

scsi_mod              117260  2 sd_mod,ulsata2

 

After a modprobe ulsata2

-----------------------------------

 

 

Mar  2 20:57:45 xen-machine kernel: PROMISE SATA-II 150/300 Series Linux Driver v1.01.0.20

Mar  2 20:57:45 xen-machine kernel: ACPI: PCI interrupt 0000:02:09.0[A] -> GSI 21 (level, low) -> IRQ 217

Mar  2 20:57:47 xen-machine kernel: ulsata2:[info] Drive 1/0: ST3250823AS            488397167s 250059MB  UDMA6

Mar  2 20:57:47 xen-machine kernel: ulsata2:[info] Drive 3/0: ST3250823AS            488397167s 250059MB  UDMA6

Mar  2 20:57:47 xen-machine kernel: ulsata2:[info] Drive 7/0: ST3250823AS            488397167s 250059MB  UDMA6

Mar  2 20:57:47 xen-machine kernel: scsi0 : ulsata2

Mar  2 20:57:47 xen-machine kernel:   Vendor:           Model: ST3250823AS       Rev:    

Mar  2 20:57:47 xen-machine kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02

Mar  2 20:57:47 xen-machine kernel:   Vendor:           Model: ST3250823AS       Rev:    

Mar  2 20:57:47 xen-machine kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02

Mar  2 20:57:47 xen-machine kernel:   Vendor:           Model: ST3250823AS       Rev:    

Mar  2 20:57:47 xen-machine kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02

Mar  2 20:57:47 xen-machine scsi.agent[3090]: disk at /devices/pci0000:00/0000:00:1e.0/0000:02:09.0/host0/target0:0:6/0:0:6:0

Mar  2 20:57:47 xen-machine scsi.agent[3063]: disk at /devices/pci0000:00/0000:00:1e.0/0000:02:09.0/host0/target0:0:0/0:0:0:0

Mar  2 20:57:47 xen-machine kernel: SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)

Mar  2 20:57:47 xen-machine kernel: SCSI device sda: drive cache: write through

Mar  2 20:57:47 xen-machine kernel:  sda: sda1

Mar  2 20:57:47 xen-machine kernel: Attached scsi disk sda at scsi0, channel 0, id 0, lun 0

Mar  2 20:57:47 xen-machine kernel: SCSI device sdb: 488397168 512-byte hdwr sectors (250059 MB)

Mar  2 20:57:47 xen-machine kernel: SCSI device sdb: drive cache: write through

Mar  2 20:57:47 xen-machine kernel:  sdb: sdb1

Mar  2 20:57:47 xen-machine kernel: Attached scsi disk sdb at scsi0, channel 0, id 2, lun 0

Mar  2 20:57:47 xen-machine kernel: SCSI device sdc: 488397168 512-byte hdwr sectors (250059 MB)

Mar  2 20:57:47 xen-machine kernel: SCSI device sdc: drive cache: write through

Mar  2 20:57:47 xen-machine kernel:  sdc: sdc1

Mar  2 20:57:47 xen-machine kernel: Attached scsi disk sdc at scsi0, channel 0, id 6, lun 0

Mar  2 20:57:47 xen-machine scsi.agent[3078]: disk at /devices/pci0000:00/0000:00:1e.0/0000:02:09.0/host0/target0:0:2/0:0:2:0

 

 

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