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@lists.xensource.com
http://lists.xensource.com/xen-users