Begin port: LSI Logic MPT Fusion driver
Our Dell PowerEdge server came with a LSI Logic 1030 U320 SCSI driver. It’s not supported by Xen so I’m going to try and port the Linux 2.4.22 driver over. It doesn’t look too difficult, but I’m blindly commenting stuff out and copying missing things from Linux to Xen.
This version finds the card fine and then dies when it tries to scan for SCSI drives. Here’s proof from the Xen bootup:
Fusion MPT base driver 2.05.05+
Copyright (c) 1999-2002 LSI Logic Corporation
mptbase: Initiating ioc0 bringup
ioc0: 53C1030: Capabilities={Initiator}
mptbase: 1 MPT adapter found, 1 installed.
after mpt_pci_scan() fusion_init done
Fusion MPT SCSI Host driver 2.05.05+
scsi0 : ioc0: LSI53C1030, FwRev=01030400h, Ports=1, MaxQ=255, IRQ=29
Vendor: X Model: ,>PK Rev: 1b
Type: Sequential-Access ANSI SCSI revision: 00
Vendor: X Model: ,>PK Rev: 1b
Type: Sequential-Access ANSI SCSI revision: 00
Vendor: X Model: ,>PK Rev: 1b
Type: Sequential-Access ANSI SCSI revision: 00
Vendor: X Model: ,>PK Rev: 1b
Type: Sequential-Access ANSI SCSI revision: 00
Vendor: X Model: ,>PK Rev: 1b
Type: Sequential-Access ANSI SCSI revision: 00
Vendor: X Model: ,>PK Rev: 1b
Type: Sequential-Access ANSI SCSI revision: 00
Vendor: X Model: ,>PK Rev: 1b
Type: Sequential-Access ANSI SCSI revision: 00
Vendor: X Model: ,>PK Rev: 1b
Type: Sequential-Access ANSI SCSI revision: 00
Vendor: X Model: ,>PK Rev: 1b
Type: Sequential-Access ANSI SCSI revision: 00
Vendor: X Model: ,>PK Rev: 1b
Type: Sequential-Access ANSI SCSI revision: 00
Vendor: X Model: ,>PK Rev: 1b
Type: Sequential-Access ANSI SCSI revision: 00
Vendor: X Model: ,>PK Rev: 1b
Type: Sequential-Access ANSI SCSI revision: 00
Vendor: X Model: ,>PK Rev: 1b
Type: Sequential-Access ANSI SCSI revision: 00
Vendor: X Model: ,>PK Rev: 1b
Type: Sequential-Access ANSI SCSI revision: 00
Vendor: X Model: ,>PK Rev: 1b
Type: Sequential-Access ANSI SCSI revision: 00
Device eth0 opened and ready for use.
You can compare this to the Linux bootup (notice the IRQ’s!!):
Linux bootup:
Fusion MPT base driver 2.03.00
Copyright (c) 1999-2002 LSI Logic Corporation
mptbase: Initiating ioc0 bringup
ioc0: 53C1030: Capabilities={Initiator}
mptbase: 1 MPT adapter found, 1 installed.
Fusion MPT SCSI Host driver 2.03.00
scsi0 : ioc0: LSI53C1030, FwRev=01030400h, Ports=1, MaxQ=255, IRQ=29
blk: queue f7be7c18, I/O limit 4294967295Mb (mask 0xffffffffffffffff)
Vendor: MAXTOR Model: ATLAS10K4_36SCA Rev: DFM0
Type: Direct-Access ANSI SCSI revision: 03
blk: queue f7be7a18, I/O limit 4294967295Mb (mask 0xffffffffffffffff)
Vendor: SDR Model: GEM318P Rev: 1
Type: Processor ANSI SCSI revision: 02
blk: queue f7be7818, I/O limit 4294967295Mb (mask 0xffffffffffffffff)
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 71132959 512-byte hdwr sectors (36420 MB)
Partition check:
sda: sda1 sda2 < sda5 sda6 sda7 sda8 >
Cool! I’m making steady progress.