* RE: As of 2.6.13-rc1 Fusion-MPT very slow
@ 2005-08-01 15:31 Moore, Eric Dean
2005-08-01 15:40 ` Holger Kiehl
0 siblings, 1 reply; 14+ messages in thread
From: Moore, Eric Dean @ 2005-08-01 15:31 UTC (permalink / raw)
To: Holger Kiehl, Andrew Morton; +Cc: linux-kernel, linux-scsi
I provided an application called getspeed as an attachment
in the email I sent last Friday. Did you receive that, or do
I need to resend? If possible, can run that application
and send me the output.
Regards,
Eric Moore
On Monday, August 01, 2005 4:16 AM, Holger Kiehl wrote:
> On Fri, 29 Jul 2005, Andrew Morton wrote:
>
> > "Moore, Eric Dean" <Eric.Moore@lsil.com> wrote:
> >>
> >> Regarding the 1st issue, can you try this patch out. It
> maybe in the
> >> -mm branch. Andrew cc'd on this email can confirm.
> >>
> >>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/
> 2.6.13-rc3/2.6
> >> .13-rc3-mm3/broken-out/mpt-fusion-dv-fixes.patch
> >
> > Yes, that's part of 2.6.13-rc3-mm3.
> >
> The patch makes no difference. Still get the following
> results when fusion
> is compiled in:
>
> sdc 74MB/s
> sdd 2MB/s
> sde 2MB/s
> sdf 2MB/s
>
> On second channel:
>
> sdg 74MB/s
> sdh 74MB/s
> sdi 74MB/s
> sdj 74MB/s
>
> The patch was applied to linux-2.6.13-rc4-git3.
>
> Here part of dmesg output:
>
> Fusion MPT base driver 3.03.02
> Copyright (c) 1999-2005 LSI Logic Corporation
> Fusion MPT SPI Host driver 3.03.02
> ACPI: PCI Interrupt 0000:02:04.0[A] -> GSI 24 (level,
> low) -> IRQ 217
> mptbase: Initiating ioc0 bringup
> ioc0: 53C1030: Capabilities={Initiator,Target}
> scsi4 : ioc0: LSI53C1030, FwRev=01032700h, Ports=1,
> MaxQ=255, IRQ=217
> Vendor: FUJITSU Model: MAS3735NP Rev: 0104
> Type: Direct-Access ANSI SCSI
> revision: 03
> SCSI device sdc: 143552136 512-byte hdwr sectors (73499 MB)
> SCSI device sdc: drive cache: write back
> SCSI device sdc: 143552136 512-byte hdwr sectors (73499 MB)
> SCSI device sdc: drive cache: write back
> sdc: sdc1
> Attached scsi disk sdc at scsi4, channel 0, id 0, lun 0
> Vendor: FUJITSU Model: MAS3735NP Rev: 0104
> Type: Direct-Access ANSI SCSI
> revision: 03
> SCSI device sdd: 143552136 512-byte hdwr sectors (73499 MB)
> SCSI device sdd: drive cache: write back
> SCSI device sdd: 143552136 512-byte hdwr sectors (73499 MB)
> SCSI device sdd: drive cache: write back
> sdd: sdd1
> Attached scsi disk sdd at scsi4, channel 0, id 1, lun 0
> Vendor: FUJITSU Model: MAS3735NP Rev: 0104
> Type: Direct-Access ANSI SCSI
> revision: 03
> SCSI device sde: 143552136 512-byte hdwr sectors (73499 MB)
> SCSI device sde: drive cache: write back
> SCSI device sde: 143552136 512-byte hdwr sectors (73499 MB)
> SCSI device sde: drive cache: write back
> sde: sde1
> Attached scsi disk sde at scsi4, channel 0, id 2, lun 0
> Vendor: FUJITSU Model: MAS3735NP Rev: 0104
> Type: Direct-Access ANSI SCSI
> revision: 03
> SCSI device sdf: 143552136 512-byte hdwr sectors (73499 MB)
> SCSI device sdf: drive cache: write back
> SCSI device sdf: 143552136 512-byte hdwr sectors (73499 MB)
> SCSI device sdf: drive cache: write back
> sdf: sdf1
> Attached scsi disk sdf at scsi4, channel 0, id 3, lun 0
> ACPI: PCI Interrupt 0000:02:04.1[B] -> GSI 25 (level,
> low) -> IRQ 225
> mptbase: Initiating ioc1 bringup
> ioc1: 53C1030: Capabilities={Initiator,Target}
> scsi5 : ioc1: LSI53C1030, FwRev=01032700h, Ports=1,
> MaxQ=255, IRQ=225
> Vendor: FUJITSU Model: MAS3735NP Rev: 0104
> Type: Direct-Access ANSI SCSI
> revision: 03
> SCSI device sdg: 143552136 512-byte hdwr sectors (73499 MB)
> SCSI device sdg: drive cache: write back
> SCSI device sdg: 143552136 512-byte hdwr sectors (73499 MB)
> SCSI device sdg: drive cache: write back
> sdg: sdg1
> Attached scsi disk sdg at scsi5, channel 0, id 0, lun 0
> Vendor: FUJITSU Model: MAS3735NP Rev: 0104
> Type: Direct-Access ANSI SCSI
> revision: 03
> SCSI device sdh: 143552136 512-byte hdwr sectors (73499 MB)
> SCSI device sdh: drive cache: write back
> SCSI device sdh: 143552136 512-byte hdwr sectors (73499 MB)
> SCSI device sdh: drive cache: write back
> sdh: sdh1
> Attached scsi disk sdh at scsi5, channel 0, id 1, lun 0
> Vendor: FUJITSU Model: MAS3735NP Rev: 0104
> Type: Direct-Access ANSI SCSI
> revision: 03
> SCSI device sdi: 143552136 512-byte hdwr sectors (73499 MB)
> SCSI device sdi: drive cache: write back
> SCSI device sdi: 143552136 512-byte hdwr sectors (73499 MB)
> SCSI device sdi: drive cache: write back
> sdi: sdi1
> Attached scsi disk sdi at scsi5, channel 0, id 2, lun 0
> Vendor: FUJITSU Model: MAS3735NP Rev: 0104
> Type: Direct-Access ANSI SCSI
> revision: 03
> SCSI device sdj: 143552136 512-byte hdwr sectors (73499 MB)
> SCSI device sdj: drive cache: write back
> SCSI device sdj: 143552136 512-byte hdwr sectors (73499 MB)
> SCSI device sdj: drive cache: write back
> sdj: sdj1
> Attached scsi disk sdj at scsi5, channel 0, id 3, lun 0
>
> Anything else I can try or provide?
>
> Holger
>
^ permalink raw reply [flat|nested] 14+ messages in thread* RE: As of 2.6.13-rc1 Fusion-MPT very slow 2005-08-01 15:31 As of 2.6.13-rc1 Fusion-MPT very slow Moore, Eric Dean @ 2005-08-01 15:40 ` Holger Kiehl 2005-08-06 17:53 ` James Bottomley 0 siblings, 1 reply; 14+ messages in thread From: Holger Kiehl @ 2005-08-01 15:40 UTC (permalink / raw) To: Moore, Eric Dean; +Cc: Holger Kiehl, Andrew Morton, linux-kernel, linux-scsi No I did not get it. Can you please send it to me or tell me where I can download it? Thanks, Holger -- On Mon, 1 Aug 2005, Moore, Eric Dean wrote: > I provided an application called getspeed as an attachment > in the email I sent last Friday. Did you receive that, or do > I need to resend? If possible, can run that application > and send me the output. > > Regards, > Eric Moore > > On Monday, August 01, 2005 4:16 AM, Holger Kiehl wrote: > >> On Fri, 29 Jul 2005, Andrew Morton wrote: >> >>> "Moore, Eric Dean" <Eric.Moore@lsil.com> wrote: >>>> >>>> Regarding the 1st issue, can you try this patch out. It >> maybe in the >>>> -mm branch. Andrew cc'd on this email can confirm. >>>> >>>> >> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/ >> 2.6.13-rc3/2.6 >>>> .13-rc3-mm3/broken-out/mpt-fusion-dv-fixes.patch >>> >>> Yes, that's part of 2.6.13-rc3-mm3. >>> >> The patch makes no difference. Still get the following >> results when fusion >> is compiled in: >> >> sdc 74MB/s >> sdd 2MB/s >> sde 2MB/s >> sdf 2MB/s >> >> On second channel: >> >> sdg 74MB/s >> sdh 74MB/s >> sdi 74MB/s >> sdj 74MB/s >> >> The patch was applied to linux-2.6.13-rc4-git3. >> >> Here part of dmesg output: >> >> Fusion MPT base driver 3.03.02 >> Copyright (c) 1999-2005 LSI Logic Corporation >> Fusion MPT SPI Host driver 3.03.02 >> ACPI: PCI Interrupt 0000:02:04.0[A] -> GSI 24 (level, >> low) -> IRQ 217 >> mptbase: Initiating ioc0 bringup >> ioc0: 53C1030: Capabilities={Initiator,Target} >> scsi4 : ioc0: LSI53C1030, FwRev=01032700h, Ports=1, >> MaxQ=255, IRQ=217 >> Vendor: FUJITSU Model: MAS3735NP Rev: 0104 >> Type: Direct-Access ANSI SCSI >> revision: 03 >> SCSI device sdc: 143552136 512-byte hdwr sectors (73499 MB) >> SCSI device sdc: drive cache: write back >> SCSI device sdc: 143552136 512-byte hdwr sectors (73499 MB) >> SCSI device sdc: drive cache: write back >> sdc: sdc1 >> Attached scsi disk sdc at scsi4, channel 0, id 0, lun 0 >> Vendor: FUJITSU Model: MAS3735NP Rev: 0104 >> Type: Direct-Access ANSI SCSI >> revision: 03 >> SCSI device sdd: 143552136 512-byte hdwr sectors (73499 MB) >> SCSI device sdd: drive cache: write back >> SCSI device sdd: 143552136 512-byte hdwr sectors (73499 MB) >> SCSI device sdd: drive cache: write back >> sdd: sdd1 >> Attached scsi disk sdd at scsi4, channel 0, id 1, lun 0 >> Vendor: FUJITSU Model: MAS3735NP Rev: 0104 >> Type: Direct-Access ANSI SCSI >> revision: 03 >> SCSI device sde: 143552136 512-byte hdwr sectors (73499 MB) >> SCSI device sde: drive cache: write back >> SCSI device sde: 143552136 512-byte hdwr sectors (73499 MB) >> SCSI device sde: drive cache: write back >> sde: sde1 >> Attached scsi disk sde at scsi4, channel 0, id 2, lun 0 >> Vendor: FUJITSU Model: MAS3735NP Rev: 0104 >> Type: Direct-Access ANSI SCSI >> revision: 03 >> SCSI device sdf: 143552136 512-byte hdwr sectors (73499 MB) >> SCSI device sdf: drive cache: write back >> SCSI device sdf: 143552136 512-byte hdwr sectors (73499 MB) >> SCSI device sdf: drive cache: write back >> sdf: sdf1 >> Attached scsi disk sdf at scsi4, channel 0, id 3, lun 0 >> ACPI: PCI Interrupt 0000:02:04.1[B] -> GSI 25 (level, >> low) -> IRQ 225 >> mptbase: Initiating ioc1 bringup >> ioc1: 53C1030: Capabilities={Initiator,Target} >> scsi5 : ioc1: LSI53C1030, FwRev=01032700h, Ports=1, >> MaxQ=255, IRQ=225 >> Vendor: FUJITSU Model: MAS3735NP Rev: 0104 >> Type: Direct-Access ANSI SCSI >> revision: 03 >> SCSI device sdg: 143552136 512-byte hdwr sectors (73499 MB) >> SCSI device sdg: drive cache: write back >> SCSI device sdg: 143552136 512-byte hdwr sectors (73499 MB) >> SCSI device sdg: drive cache: write back >> sdg: sdg1 >> Attached scsi disk sdg at scsi5, channel 0, id 0, lun 0 >> Vendor: FUJITSU Model: MAS3735NP Rev: 0104 >> Type: Direct-Access ANSI SCSI >> revision: 03 >> SCSI device sdh: 143552136 512-byte hdwr sectors (73499 MB) >> SCSI device sdh: drive cache: write back >> SCSI device sdh: 143552136 512-byte hdwr sectors (73499 MB) >> SCSI device sdh: drive cache: write back >> sdh: sdh1 >> Attached scsi disk sdh at scsi5, channel 0, id 1, lun 0 >> Vendor: FUJITSU Model: MAS3735NP Rev: 0104 >> Type: Direct-Access ANSI SCSI >> revision: 03 >> SCSI device sdi: 143552136 512-byte hdwr sectors (73499 MB) >> SCSI device sdi: drive cache: write back >> SCSI device sdi: 143552136 512-byte hdwr sectors (73499 MB) >> SCSI device sdi: drive cache: write back >> sdi: sdi1 >> Attached scsi disk sdi at scsi5, channel 0, id 2, lun 0 >> Vendor: FUJITSU Model: MAS3735NP Rev: 0104 >> Type: Direct-Access ANSI SCSI >> revision: 03 >> SCSI device sdj: 143552136 512-byte hdwr sectors (73499 MB) >> SCSI device sdj: drive cache: write back >> SCSI device sdj: 143552136 512-byte hdwr sectors (73499 MB) >> SCSI device sdj: drive cache: write back >> sdj: sdj1 >> Attached scsi disk sdj at scsi5, channel 0, id 3, lun 0 >> >> Anything else I can try or provide? >> >> Holger >> > ^ permalink raw reply [flat|nested] 14+ messages in thread
* RE: As of 2.6.13-rc1 Fusion-MPT very slow 2005-08-01 15:40 ` Holger Kiehl @ 2005-08-06 17:53 ` James Bottomley 2005-08-06 21:12 ` Holger Kiehl 0 siblings, 1 reply; 14+ messages in thread From: James Bottomley @ 2005-08-06 17:53 UTC (permalink / raw) To: Holger Kiehl Cc: Moore, Eric Dean, Andrew Morton, linux-kernel, SCSI Mailing List On Mon, 2005-08-01 at 15:40 +0000, Holger Kiehl wrote: > No I did not get it. Can you please send it to me or tell me where I can > download it? OK, since this has stalled, how about trying a different approach. If you apply the attached patch it will cause fusion to use the transport class domain validation. That should show us which parameters are causing the problem and exactly what the negotiations said. We can also tell you how to tweak the parameters. It should apply to any recent -mm (unless Andrew does a turn to pick up the fusion module rework). Thanks, James diff --git a/drivers/message/fusion/Kconfig b/drivers/message/fusion/Kconfig --- a/drivers/message/fusion/Kconfig +++ b/drivers/message/fusion/Kconfig @@ -9,6 +9,7 @@ config FUSION_SPI tristate "Fusion MPT ScsiHost drivers for SPI" depends on PCI && SCSI select FUSION + select SCSI_SPI_ATTRS ---help--- SCSI HOST support for a parallel SCSI host adapters. diff --git a/drivers/message/fusion/mptscsih.c b/drivers/message/fusion/mptscsih.c --- a/drivers/message/fusion/mptscsih.c +++ b/drivers/message/fusion/mptscsih.c @@ -149,8 +149,6 @@ int mptscsih_ioc_reset(MPT_ADAPTER *ioc int mptscsih_event_process(MPT_ADAPTER *ioc, EventNotificationReply_t *pEvReply); static void mptscsih_initTarget(MPT_SCSI_HOST *hd, int bus_id, int target_id, u8 lun, char *data, int dlen); -static void mptscsih_setTargetNegoParms(MPT_SCSI_HOST *hd, VirtDevice *target, char byte56); -static void mptscsih_set_dvflags(MPT_SCSI_HOST *hd, SCSIIORequest_t *pReq); static void mptscsih_setDevicePage1Flags (u8 width, u8 factor, u8 offset, int *requestedPtr, int *configurationPtr, u8 flags); static void mptscsih_no_negotiate(MPT_SCSI_HOST *hd, int target_id); static int mptscsih_writeSDP1(MPT_SCSI_HOST *hd, int portnum, int target, int flags); @@ -955,8 +953,6 @@ mptscsih_remove(struct pci_dev *pdev) MPT_ADAPTER *ioc = pci_get_drvdata(pdev); struct Scsi_Host *host = ioc->sh; MPT_SCSI_HOST *hd; - int count; - unsigned long flags; int sz1; if(!host) @@ -2502,7 +2498,7 @@ mptscsih_ioc_reset(MPT_ADAPTER *ioc, int /* 4. Renegotiate to all devices, if SCSI */ if (ioc->bus_type == SCSI) { - dnegoprintk(("writeSDP1: ALL_IDS USE_NVRAM\n")); + printk("writeSDP1: ALL_IDS USE_NVRAM\n"); mptscsih_writeSDP1(hd, 0, 0, MPT_SCSICFG_ALL_IDS | MPT_SCSICFG_USE_NVRAM); } @@ -2761,7 +2757,6 @@ mptscsih_initTarget(MPT_SCSI_HOST *hd, i vdev->tflags |= MPT_TARGET_FLAGS_VALID_56; } } - mptscsih_setTargetNegoParms(hd, vdev, data_56); } else { /* Initial Inquiry may not request enough data bytes to * obtain byte 57. DV will; if target doesn't return @@ -2772,7 +2767,6 @@ mptscsih_initTarget(MPT_SCSI_HOST *hd, i */ data_56 = data[56]; vdev->tflags |= MPT_TARGET_FLAGS_VALID_56; - mptscsih_setTargetNegoParms(hd, vdev, data_56); } } } @@ -2781,225 +2775,6 @@ mptscsih_initTarget(MPT_SCSI_HOST *hd, i /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ /* - * Update the target negotiation parameters based on the - * the Inquiry data, adapter capabilities, and NVRAM settings. - * - */ -static void -mptscsih_setTargetNegoParms(MPT_SCSI_HOST *hd, VirtDevice *target, char byte56) -{ - ScsiCfgData *pspi_data = &hd->ioc->spi_data; - int id = (int) target->target_id; - int nvram; - VirtDevice *vdev; - int ii; - u8 width = MPT_NARROW; - u8 factor = MPT_ASYNC; - u8 offset = 0; - u8 version, nfactor; - u8 noQas = 1; - - target->negoFlags = pspi_data->noQas; - - /* noQas == 0 => device supports QAS. Need byte 56 of Inq to determine - * support. If available, default QAS to off and allow enabling. - * If not available, default QAS to on, turn off for non-disks. - */ - - /* Set flags based on Inquiry data - */ - version = target->inq_data[2] & 0x07; - if (version < 2) { - width = 0; - factor = MPT_ULTRA2; - offset = pspi_data->maxSyncOffset; - target->tflags &= ~MPT_TARGET_FLAGS_Q_YES; - } else { - if (target->inq_data[7] & 0x20) { - width = 1; - } - - if (target->inq_data[7] & 0x10) { - factor = pspi_data->minSyncFactor; - if (target->tflags & MPT_TARGET_FLAGS_VALID_56) { - /* bits 2 & 3 show Clocking support */ - if ((byte56 & 0x0C) == 0) - factor = MPT_ULTRA2; - else { - if ((byte56 & 0x03) == 0) - factor = MPT_ULTRA160; - else { - factor = MPT_ULTRA320; - if (byte56 & 0x02) - { - ddvtprintk((KERN_INFO "Enabling QAS due to byte56=%02x on id=%d!\n", byte56, id)); - noQas = 0; - } - if (target->inq_data[0] == TYPE_TAPE) { - if (byte56 & 0x01) - target->negoFlags |= MPT_TAPE_NEGO_IDP; - } - } - } - } else { - ddvtprintk((KERN_INFO "Enabling QAS on id=%d due to ~TARGET_FLAGS_VALID_56!\n", id)); - noQas = 0; - } - - offset = pspi_data->maxSyncOffset; - - /* If RAID, never disable QAS - * else if non RAID, do not disable - * QAS if bit 1 is set - * bit 1 QAS support, non-raid only - * bit 0 IU support - */ - if (target->raidVolume == 1) { - noQas = 0; - } - } else { - factor = MPT_ASYNC; - offset = 0; - } - } - - if ( (target->inq_data[7] & 0x02) == 0) { - target->tflags &= ~MPT_TARGET_FLAGS_Q_YES; - } - - /* Update tflags based on NVRAM settings. (SCSI only) - */ - if (pspi_data->nvram && (pspi_data->nvram[id] != MPT_HOST_NVRAM_INVALID)) { - nvram = pspi_data->nvram[id]; - nfactor = (nvram & MPT_NVRAM_SYNC_MASK) >> 8; - - if (width) - width = nvram & MPT_NVRAM_WIDE_DISABLE ? 0 : 1; - - if (offset > 0) { - /* Ensure factor is set to the - * maximum of: adapter, nvram, inquiry - */ - if (nfactor) { - if (nfactor < pspi_data->minSyncFactor ) - nfactor = pspi_data->minSyncFactor; - - factor = max(factor, nfactor); - if (factor == MPT_ASYNC) - offset = 0; - } else { - offset = 0; - factor = MPT_ASYNC; - } - } else { - factor = MPT_ASYNC; - } - } - - /* Make sure data is consistent - */ - if ((!width) && (factor < MPT_ULTRA2)) { - factor = MPT_ULTRA2; - } - - /* Save the data to the target structure. - */ - target->minSyncFactor = factor; - target->maxOffset = offset; - target->maxWidth = width; - - target->tflags |= MPT_TARGET_FLAGS_VALID_NEGO; - - /* Disable unused features. - */ - if (!width) - target->negoFlags |= MPT_TARGET_NO_NEGO_WIDE; - - if (!offset) - target->negoFlags |= MPT_TARGET_NO_NEGO_SYNC; - - if ( factor > MPT_ULTRA320 ) - noQas = 0; - - /* GEM, processor WORKAROUND - */ - if ((target->inq_data[0] == TYPE_PROCESSOR) || (target->inq_data[0] > 0x08)) { - target->negoFlags |= (MPT_TARGET_NO_NEGO_WIDE | MPT_TARGET_NO_NEGO_SYNC); - pspi_data->dvStatus[id] |= MPT_SCSICFG_BLK_NEGO; - } else { - if (noQas && (pspi_data->noQas == 0)) { - pspi_data->noQas |= MPT_TARGET_NO_NEGO_QAS; - target->negoFlags |= MPT_TARGET_NO_NEGO_QAS; - - /* Disable QAS in a mixed configuration case - */ - - ddvtprintk((KERN_INFO "Disabling QAS due to noQas=%02x on id=%d!\n", noQas, id)); - for (ii = 0; ii < id; ii++) { - if ( (vdev = hd->Targets[ii]) ) { - vdev->negoFlags |= MPT_TARGET_NO_NEGO_QAS; - mptscsih_writeSDP1(hd, 0, ii, vdev->negoFlags); - } - } - } - } - - /* Write SDP1 on this I/O to this target */ - if (pspi_data->dvStatus[id] & MPT_SCSICFG_NEGOTIATE) { - ddvtprintk((KERN_INFO "MPT_SCSICFG_NEGOTIATE on id=%d!\n", id)); - mptscsih_writeSDP1(hd, 0, id, hd->negoNvram); - pspi_data->dvStatus[id] &= ~MPT_SCSICFG_NEGOTIATE; - } else if (pspi_data->dvStatus[id] & MPT_SCSICFG_BLK_NEGO) { - ddvtprintk((KERN_INFO "MPT_SCSICFG_BLK_NEGO on id=%d!\n", id)); - mptscsih_writeSDP1(hd, 0, id, MPT_SCSICFG_BLK_NEGO); - pspi_data->dvStatus[id] &= ~MPT_SCSICFG_BLK_NEGO; - } -} - -/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ -/* If DV disabled (negoNvram set to USE_NVARM) or if not LUN 0, return. - * Else set the NEED_DV flag after Read Capacity Issued (disks) - * or Mode Sense (cdroms). - * - * Tapes, initTarget will set this flag on completion of Inquiry command. - * Called only if DV_NOT_DONE flag is set - */ -static void -mptscsih_set_dvflags(MPT_SCSI_HOST *hd, SCSIIORequest_t *pReq) -{ - u8 cmd; - ScsiCfgData *pSpi; - - ddvtprintk((" set_dvflags: id=%d lun=%d negoNvram=%x cmd=%x\n", - pReq->TargetID, pReq->LUN[1], hd->negoNvram, pReq->CDB[0])); - - if ((pReq->LUN[1] != 0) || (hd->negoNvram != 0)) - return; - - cmd = pReq->CDB[0]; - - if ((cmd == READ_CAPACITY) || (cmd == MODE_SENSE)) { - pSpi = &hd->ioc->spi_data; - if ((pSpi->isRaid & (1 << pReq->TargetID)) && pSpi->pIocPg3) { - /* Set NEED_DV for all hidden disks - */ - Ioc3PhysDisk_t *pPDisk = pSpi->pIocPg3->PhysDisk; - int numPDisk = pSpi->pIocPg3->NumPhysDisks; - - while (numPDisk) { - pSpi->dvStatus[pPDisk->PhysDiskID] |= MPT_SCSICFG_NEED_DV; - ddvtprintk(("NEED_DV set for phys disk id %d\n", pPDisk->PhysDiskID)); - pPDisk++; - numPDisk--; - } - } - pSpi->dvStatus[pReq->TargetID] |= MPT_SCSICFG_NEED_DV; - ddvtprintk(("NEED_DV set for visible disk id %d\n", pReq->TargetID)); - } -} - -/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ -/* * If no Target, bus reset on 1st I/O. Set the flag to * prevent any future negotiations to this device. */ @@ -3100,6 +2875,8 @@ mptscsih_writeSDP1(MPT_SCSI_HOST *hd, in u8 negoFlags; u8 maxwidth, maxoffset, maxfactor; + printk("HERE2\n"); + if (ioc->spi_data.sdp1length == 0) return 0; @@ -3199,8 +2976,8 @@ mptscsih_writeSDP1(MPT_SCSI_HOST *hd, in return -EAGAIN; } - ddvprintk((MYIOC_s_INFO_FMT "WriteSDP1 (mf=%p, id=%d, req=0x%x, cfg=0x%x)\n", - hd->ioc->name, mf, id, requested, configuration)); + printk(MYIOC_s_INFO_FMT "WriteSDP1 (mf=%p, id=%d, req=0x%x, cfg=0x%x)\n", + hd->ioc->name, mf, id, requested, configuration); /* Set the request and the data pointers. @@ -4223,12 +4000,12 @@ mptscsih_qas_check(MPT_SCSI_HOST *hd, in if ((pTarget != NULL) && (!pTarget->raidVolume)) { if ((pTarget->negoFlags & hd->ioc->spi_data.noQas) == 0) { pTarget->negoFlags |= hd->ioc->spi_data.noQas; - dnegoprintk(("writeSDP1: id=%d flags=0\n", id)); + printk("writeSDP1: id=%d flags=0\n", id); mptscsih_writeSDP1(hd, 0, ii, 0); } } else { if (mptscsih_is_phys_disk(hd->ioc, ii) == 1) { - dnegoprintk(("writeSDP1: id=%d SCSICFG_USE_NVRAM\n", id)); + printk("writeSDP1: id=%d SCSICFG_USE_NVRAM\n", id); mptscsih_writeSDP1(hd, 0, ii, MPT_SCSICFG_USE_NVRAM); } } diff --git a/drivers/message/fusion/mptscsih.h b/drivers/message/fusion/mptscsih.h --- a/drivers/message/fusion/mptscsih.h +++ b/drivers/message/fusion/mptscsih.h @@ -67,7 +67,7 @@ * capabilities. */ -#define MPTSCSIH_ENABLE_DOMAIN_VALIDATION +#undef MPTSCSIH_ENABLE_DOMAIN_VALIDATION /* SCSI driver setup structure. Settings can be overridden diff --git a/drivers/message/fusion/mptspi.c b/drivers/message/fusion/mptspi.c --- a/drivers/message/fusion/mptspi.c +++ b/drivers/message/fusion/mptspi.c @@ -62,6 +62,8 @@ #include <scsi/scsi_device.h> #include <scsi/scsi_host.h> #include <scsi/scsi_tcq.h> +#include <scsi/scsi_transport.h> +#include <scsi/scsi_transport_spi.h> #include "mptbase.h" #include "mptscsih.h" @@ -98,10 +100,130 @@ static int mpt_pq_filter = 0; module_param(mpt_pq_filter, int, 0); MODULE_PARM_DESC(mpt_pq_filter, " Enable peripheral qualifier filter: enable=1 (default=0)"); +static struct scsi_transport_template *mptspi_transport_template = NULL; + static int mptspiDoneCtx = -1; static int mptspiTaskCtx = -1; static int mptspiInternalCtx = -1; /* Used only for internal commands */ +static int mptspi_target_alloc(struct scsi_target *starget) +{ + struct Scsi_Host *shost = dev_to_shost(&starget->dev); + struct _MPT_SCSI_HOST *hd = (struct _MPT_SCSI_HOST *)shost->hostdata; + static void mptspi_write_offset(struct scsi_target *, int); + static void mptspi_write_width(struct scsi_target *, int); + + if (hd == NULL) + return -ENODEV; + + if (hd->ioc->spi_data.nvram && + hd->ioc->spi_data.nvram[starget->id] != MPT_HOST_NVRAM_INVALID) { + u32 nvram = hd->ioc->spi_data.nvram[starget->id]; + spi_min_period(starget) = (nvram & MPT_NVRAM_SYNC_MASK) >> MPT_NVRAM_SYNC_SHIFT; + spi_max_width(starget) = nvram & MPT_NVRAM_WIDE_DISABLE ? 0 : 1; + } else { + spi_min_period(starget) = hd->ioc->spi_data.minSyncFactor; + spi_max_width(starget) = hd->ioc->spi_data.maxBusWidth; + } + spi_max_offset(starget) = hd->ioc->spi_data.maxSyncOffset; + + spi_offset(starget) = 0; + mptspi_write_width(starget, 0); + + return 0; +} + +static int mptspi_read_page0(struct scsi_target *starget, + struct _CONFIG_PAGE_SCSI_DEVICE_0 *pass_pg0) +{ + struct Scsi_Host *shost = dev_to_shost(&starget->dev); + struct _MPT_SCSI_HOST *hd = (struct _MPT_SCSI_HOST *)shost->hostdata; + struct _MPT_ADAPTER *ioc = hd->ioc; + struct _CONFIG_PAGE_SCSI_DEVICE_0 *pg0; + dma_addr_t pg0_dma; + int size; + struct _x_config_parms cfg; + struct _CONFIG_PAGE_HEADER hdr; + int err = -EBUSY; + + size = ioc->spi_data.sdp0length * 4; + /* + if (ioc->spi_data.sdp0length & 1) + size += size + 4; + size += 2048; + */ + + pg0 = dma_alloc_coherent(&ioc->pcidev->dev, size, &pg0_dma, GFP_KERNEL); + if (pg0 == NULL) { + dev_printk(KERN_ERR, &starget->dev, "dma_alloc_coherent for parameters failed\n"); + return -EINVAL; + } + + memset(&hdr, 0, sizeof(hdr)); + + hdr.PageVersion = ioc->spi_data.sdp0version; + hdr.PageLength = ioc->spi_data.sdp0length; + hdr.PageNumber = 0; + hdr.PageType = MPI_CONFIG_PAGETYPE_SCSI_DEVICE; + + memset(&cfg, 0, sizeof(cfg)); + + cfg.hdr = &hdr; + cfg.physAddr = pg0_dma; + cfg.action = MPI_CONFIG_ACTION_PAGE_READ_CURRENT; + cfg.dir = 0; + cfg.pageAddr = (starget->channel << 8) | starget->id; + + if (mpt_config(ioc, &cfg)) { + dev_printk(KERN_ERR, &starget->dev, "mpt_config failed\n"); + goto out_free; + } + err = 0; + memcpy(pass_pg0, pg0, size); + + out_free: + dma_free_coherent(&ioc->pcidev->dev, size, pg0, pg0_dma); + return err; +} + +static void mptspi_read_parameters(struct scsi_target *starget) +{ + int nego; + struct _CONFIG_PAGE_SCSI_DEVICE_0 pg0; + + mptspi_read_page0(starget, &pg0); + + nego = le32_to_cpu(pg0.NegotiatedParameters); + + spi_iu(starget) = (nego & MPI_SCSIDEVPAGE0_NP_IU) ? 1 : 0; + spi_dt(starget) = (nego & MPI_SCSIDEVPAGE0_NP_DT) ? 1 : 0; + spi_qas(starget) = (nego & MPI_SCSIDEVPAGE0_NP_QAS) ? 1 : 0; + //spi_hold_mcs(starget) = (nego & MPI_SCSIDEVPAGE0_NP_HOLD_MCS) ? 1 : 0; + spi_wr_flow(starget) = (nego & MPI_SCSIDEVPAGE0_NP_WR_FLOW) ? 1 : 0; + spi_rd_strm(starget) = (nego & MPI_SCSIDEVPAGE0_NP_RD_STRM) ? 1 : 0; + spi_rti(starget) = (nego & MPI_SCSIDEVPAGE0_NP_RTI) ? 1 : 0; + spi_pcomp_en(starget) = (nego & MPI_SCSIDEVPAGE0_NP_PCOMP_EN) ? 1 : 0; + spi_period(starget) = (nego & MPI_SCSIDEVPAGE0_NP_NEG_SYNC_PERIOD_MASK) >> MPI_SCSIDEVPAGE0_NP_SHIFT_SYNC_PERIOD; + spi_offset(starget) = (nego & MPI_SCSIDEVPAGE0_NP_NEG_SYNC_OFFSET_MASK) >> MPI_SCSIDEVPAGE0_NP_SHIFT_SYNC_OFFSET; + spi_width(starget) = (nego & MPI_SCSIDEVPAGE0_NP_WIDE) ? 1 : 0; +} + +static int mptspi_slave_configure(struct scsi_device *sdev) +{ + int ret = mptscsih_slave_configure(sdev); + + if (ret) + return ret; + + if (!spi_initial_dv(sdev->sdev_target)) { + spi_dv_device(sdev); + mptspi_read_parameters(sdev->sdev_target); + spi_display_xfer_agreement(sdev->sdev_target); + } + + return 0; +} + static struct scsi_host_template mptspi_driver_template = { .proc_name = "mptspi", .proc_info = mptscsih_proc_info, @@ -109,8 +231,9 @@ static struct scsi_host_template mptspi_ .info = mptscsih_info, .queuecommand = mptscsih_qcmd, .slave_alloc = mptscsih_slave_alloc, - .slave_configure = mptscsih_slave_configure, + .slave_configure = mptspi_slave_configure, .slave_destroy = mptscsih_slave_destroy, + .target_alloc = mptspi_target_alloc, .change_queue_depth = mptscsih_change_queue_depth, .eh_abort_handler = mptscsih_abort, .eh_device_reset_handler = mptscsih_dev_reset, @@ -125,6 +248,265 @@ static struct scsi_host_template mptspi_ .use_clustering = ENABLE_CLUSTERING, }; +static int mptspi_write_page1(struct scsi_target *starget, + struct _CONFIG_PAGE_SCSI_DEVICE_1 *pass_pg1) +{ + struct Scsi_Host *shost = dev_to_shost(&starget->dev); + struct _MPT_SCSI_HOST *hd = (struct _MPT_SCSI_HOST *)shost->hostdata; + struct _MPT_ADAPTER *ioc = hd->ioc; + struct _CONFIG_PAGE_SCSI_DEVICE_1 *pg1; + dma_addr_t pg1_dma; + int size; + struct _x_config_parms cfg; + struct _CONFIG_PAGE_HEADER hdr; + int err = -EBUSY; + + size = ioc->spi_data.sdp1length * 4; + + pg1 = dma_alloc_coherent(&ioc->pcidev->dev, size, &pg1_dma, GFP_KERNEL); + if (pg1 == NULL) { + dev_printk(KERN_ERR, &starget->dev, "dma_alloc_coherent for parameters failed\n"); + return -EINVAL; + } + + memset(&hdr, 0, sizeof(hdr)); + + hdr.PageVersion = ioc->spi_data.sdp1version; + hdr.PageLength = ioc->spi_data.sdp1length; + hdr.PageNumber = 1; + hdr.PageType = MPI_CONFIG_PAGETYPE_SCSI_DEVICE; + + memset(&cfg, 0, sizeof(cfg)); + + cfg.hdr = &hdr; + cfg.physAddr = pg1_dma; + cfg.action = MPI_CONFIG_ACTION_PAGE_WRITE_CURRENT; + cfg.dir = 1; + cfg.pageAddr = (starget->channel << 8) | starget->id; + + memcpy(pg1, pass_pg1, size); + + pg1->Header.PageVersion = hdr.PageVersion; + pg1->Header.PageLength = hdr.PageLength; + pg1->Header.PageNumber = hdr.PageNumber; + pg1->Header.PageType = hdr.PageType; + + if (mpt_config(ioc, &cfg)) { + dev_printk(KERN_ERR, &starget->dev, "mpt_config failed\n"); + goto out_free; + } + err = 0; + + out_free: + dma_free_coherent(&ioc->pcidev->dev, size, pg1, pg1_dma); + return err; +} + +static u32 mptspi_getRP(struct scsi_target *starget) +{ + u32 nego = 0; + + nego |= spi_iu(starget) ? MPI_SCSIDEVPAGE1_RP_IU : 0; + nego |= spi_dt(starget) ? MPI_SCSIDEVPAGE1_RP_DT : 0; + nego |= spi_qas(starget) ? MPI_SCSIDEVPAGE1_RP_QAS : 0; + //nego |= spi_hold_mcs(starget) ? MPI_SCSIDEVPAGE1_RP_HOLD_MCS : 0; + nego |= spi_wr_flow(starget) ? MPI_SCSIDEVPAGE1_RP_WR_FLOW : 0; + nego |= spi_rd_strm(starget) ? MPI_SCSIDEVPAGE1_RP_RD_STRM : 0; + nego |= spi_rti(starget) ? MPI_SCSIDEVPAGE1_RP_RTI : 0; + nego |= spi_pcomp_en(starget) ? MPI_SCSIDEVPAGE1_RP_PCOMP_EN : 0; + + nego |= (spi_period(starget) << MPI_SCSIDEVPAGE1_RP_SHIFT_MIN_SYNC_PERIOD) & MPI_SCSIDEVPAGE1_RP_MIN_SYNC_PERIOD_MASK; + nego |= (spi_offset(starget) << MPI_SCSIDEVPAGE1_RP_SHIFT_MAX_SYNC_OFFSET) & MPI_SCSIDEVPAGE1_RP_MAX_SYNC_OFFSET_MASK; + nego |= spi_width(starget) ? MPI_SCSIDEVPAGE1_RP_WIDE : 0; + + return nego; +} + +static void mptspi_write_offset(struct scsi_target *starget, int offset) +{ + struct _CONFIG_PAGE_SCSI_DEVICE_1 pg1; + u32 nego; + + if (offset < 0) + offset = 0; + + if (offset > 255) + offset = 255; + + if (spi_offset(starget) == -1) + mptspi_read_parameters(starget); + + spi_offset(starget) = offset; + + nego = mptspi_getRP(starget); + + pg1.RequestedParameters = cpu_to_le32(nego); + pg1.Reserved = 0; + pg1.Configuration = 0; + + mptspi_write_page1(starget, &pg1); +} + +static void mptspi_write_period(struct scsi_target *starget, int period) +{ + struct _CONFIG_PAGE_SCSI_DEVICE_1 pg1; + u32 nego; + + if (period < 8) + period = 8; + + if (period > 255) + period = 255; + + if (spi_period(starget) == -1) + mptspi_read_parameters(starget); + + if (period == 8) { + spi_iu(starget) = 1; + spi_dt(starget) = 1; + } else if (period == 9) { + spi_dt(starget) = 1; + } + + spi_period(starget) = period; + + nego = mptspi_getRP(starget); + + pg1.RequestedParameters = cpu_to_le32(nego); + pg1.Reserved = 0; + pg1.Configuration = 0; + + mptspi_write_page1(starget, &pg1); +} + +static void mptspi_write_dt(struct scsi_target *starget, int dt) +{ + struct _CONFIG_PAGE_SCSI_DEVICE_1 pg1; + u32 nego; + + if (spi_period(starget) == -1) + mptspi_read_parameters(starget); + + if (!dt && spi_period(starget) < 10) + spi_period(starget) = 10; + + spi_dt(starget) = dt; + + nego = mptspi_getRP(starget); + + + pg1.RequestedParameters = cpu_to_le32(nego); + pg1.Reserved = 0; + pg1.Configuration = 0; + + mptspi_write_page1(starget, &pg1); +} + +static void mptspi_write_iu(struct scsi_target *starget, int iu) +{ + struct _CONFIG_PAGE_SCSI_DEVICE_1 pg1; + u32 nego; + + if (spi_period(starget) == -1) + mptspi_read_parameters(starget); + + if (!iu && spi_period(starget) < 9) + spi_period(starget) = 9; + + spi_iu(starget) = iu; + + nego = mptspi_getRP(starget); + + + pg1.RequestedParameters = cpu_to_le32(nego); + pg1.Reserved = 0; + pg1.Configuration = 0; + + mptspi_write_page1(starget, &pg1); +} + +#define MPTSPI_SIMPLE_TRANSPORT_PARM(parm) \ +static void mptspi_write_##parm(struct scsi_target *starget, int parm)\ +{ \ + struct _CONFIG_PAGE_SCSI_DEVICE_1 pg1; \ + u32 nego; \ + \ + spi_rd_strm(starget) = parm; \ + \ + nego = mptspi_getRP(starget); \ + \ + pg1.RequestedParameters = cpu_to_le32(nego); \ + pg1.Reserved = 0; \ + pg1.Configuration = 0; \ + \ + mptspi_write_page1(starget, &pg1); \ +} + +MPTSPI_SIMPLE_TRANSPORT_PARM(qas) +MPTSPI_SIMPLE_TRANSPORT_PARM(rd_strm) +MPTSPI_SIMPLE_TRANSPORT_PARM(wr_flow) +MPTSPI_SIMPLE_TRANSPORT_PARM(rti) +MPTSPI_SIMPLE_TRANSPORT_PARM(hold_mcs) +MPTSPI_SIMPLE_TRANSPORT_PARM(pcomp_en) + +static void mptspi_write_width(struct scsi_target *starget, int width) +{ + struct _CONFIG_PAGE_SCSI_DEVICE_1 pg1; + u32 nego; + + if (!width) { + spi_dt(starget) = 0; + if (spi_period(starget) < 10) + spi_period(starget) = 10; + } + + spi_width(starget) = width; + + nego = mptspi_getRP(starget); + + pg1.RequestedParameters = cpu_to_le32(nego); + pg1.Reserved = 0; + pg1.Configuration = 0; + + mptspi_write_page1(starget, &pg1); +} + +static struct spi_function_template mptspi_transport_functions = { + .get_offset = mptspi_read_parameters, + .set_offset = mptspi_write_offset, + .show_offset = 1, + .get_period = mptspi_read_parameters, + .set_period = mptspi_write_period, + .show_period = 1, + .get_width = mptspi_read_parameters, + .set_width = mptspi_write_width, + .show_width = 1, + .get_iu = mptspi_read_parameters, + .set_iu = mptspi_write_iu, + .show_iu = 1, + .get_dt = mptspi_read_parameters, + .set_dt = mptspi_write_dt, + .show_dt = 1, + .get_qas = mptspi_read_parameters, + .set_qas = mptspi_write_qas, + .show_qas = 1, + .get_wr_flow = mptspi_read_parameters, + .set_wr_flow = mptspi_write_wr_flow, + .show_wr_flow = 1, + .get_rd_strm = mptspi_read_parameters, + .set_rd_strm = mptspi_write_rd_strm, + .show_rd_strm = 1, + .get_rti = mptspi_read_parameters, + .set_rti = mptspi_write_rti, + .show_rti = 1, + .get_pcomp_en = mptspi_read_parameters, + .set_pcomp_en = mptspi_write_pcomp_en, + .show_pcomp_en = 1, + .get_hold_mcs = mptspi_read_parameters, + .set_hold_mcs = mptspi_write_hold_mcs, + .show_hold_mcs = 1, +}; + /**************************************************************************** * Supported hardware @@ -365,7 +747,6 @@ mptspi_probe(struct pci_dev *pdev, const mpt_saf_te, mpt_pq_filter)); #endif - ioc->spi_data.forceDv = 0; ioc->spi_data.noQas = 0; @@ -381,6 +762,11 @@ mptspi_probe(struct pci_dev *pdev, const hd->scandv_wait_done = 0; hd->last_queue_full = 0; + /* Some versions of the firmware don't support page 0; without + * that we can't get the parameters */ + if (hd->ioc->spi_data.sdp0length != 0) + sh->transportt = mptspi_transport_template; + error = scsi_add_host (sh, &ioc->pcidev->dev); if(error) { dprintk((KERN_ERR MYNAM @@ -422,6 +808,10 @@ mptspi_init(void) show_mptmod_ver(my_NAME, my_VERSION); + mptspi_transport_template = spi_attach_transport(&mptspi_transport_functions); + if (!mptspi_transport_template) + return -ENODEV; + mptspiDoneCtx = mpt_register(mptscsih_io_done, MPTSPI_DRIVER); mptspiTaskCtx = mpt_register(mptscsih_taskmgmt_complete, MPTSPI_DRIVER); mptspiInternalCtx = mpt_register(mptscsih_scandv_complete, MPTSPI_DRIVER); ^ permalink raw reply [flat|nested] 14+ messages in thread
* RE: As of 2.6.13-rc1 Fusion-MPT very slow 2005-08-06 17:53 ` James Bottomley @ 2005-08-06 21:12 ` Holger Kiehl 2005-08-06 22:07 ` James Bottomley 0 siblings, 1 reply; 14+ messages in thread From: Holger Kiehl @ 2005-08-06 21:12 UTC (permalink / raw) To: James Bottomley Cc: Moore, Eric Dean, Andrew Morton, linux-kernel, SCSI Mailing List [-- Attachment #1: Type: TEXT/PLAIN, Size: 3031 bytes --] On Sat, 6 Aug 2005, James Bottomley wrote: > On Mon, 2005-08-01 at 15:40 +0000, Holger Kiehl wrote: >> No I did not get it. Can you please send it to me or tell me where I can >> download it? > > OK, since this has stalled, how about trying a different approach. > > If you apply the attached patch it will cause fusion to use the > transport class domain validation. That should show us which parameters > are causing the problem and exactly what the negotiations said. We can > also tell you how to tweak the parameters. > > It should apply to any recent -mm (unless Andrew does a turn to pick up > the fusion module rework). > I tried from 2.6.13-rc2-mm2 up to 2.6.13-rc4-mm1 and always get the following error when applying this patch: CC drivers/message/fusion/mptbase.o CC drivers/message/fusion/mptscsih.o CC drivers/message/fusion/mptspi.o drivers/message/fusion/mptspi.c: In function â..mptspi_target_allocâ..: drivers/message/fusion/mptspi.c:113: error: invalid storage class for function â..mptspi_write_offsetâ.. drivers/message/fusion/mptspi.c:114: error: invalid storage class for function â..mptspi_write_widthâ.. drivers/message/fusion/mptspi.c:131: warning: implicit declaration of function â..mptspi_write_widthâ.. drivers/message/fusion/mptspi.c: At top level: drivers/message/fusion/mptspi.c:453: warning: conflicting types for â..mptspi_write_widthâ.. drivers/message/fusion/mptspi.c:453: error: static declaration of â..mptspi_write_widthâ.. follows non-static declaration drivers/message/fusion/mptspi.c:131: error: previous implicit declaration of â..mptspi_write_widthâ.. was here drivers/message/fusion/mptspi.c:505: error: unknown field â..get_hold_mcsâ.. specified in initializer drivers/message/fusion/mptspi.c:505: warning: excess elements in struct initializer drivers/message/fusion/mptspi.c:505: warning: (near initialization for â..mptspi_transport_functionsâ..) drivers/message/fusion/mptspi.c:506: error: unknown field â..set_hold_mcsâ.. specified in initializer drivers/message/fusion/mptspi.c:506: warning: excess elements in struct initializer drivers/message/fusion/mptspi.c:506: warning: (near initialization for â..mptspi_transport_functionsâ..) drivers/message/fusion/mptspi.c:507: error: unknown field â..show_hold_mcsâ.. specified in initializer drivers/message/fusion/mptspi.c:507: warning: excess elements in struct initializer drivers/message/fusion/mptspi.c:507: warning: (near initialization for â..mptspi_transport_functionsâ..) make[3]: *** [drivers/message/fusion/mptspi.o] Error 1 make[2]: *** [drivers/message/fusion] Error 2 make[1]: *** [drivers/message] Error 2 make: *** [drivers] Error 2 The first errors I was able to resolve by placing the function prototype definitions (line 113 and 114) outside the function. I am using gcc 4.0.1. But the errors in line 505 onwards I don't know what to do. Should I take an earlier -mm release? Thanks, Holger ^ permalink raw reply [flat|nested] 14+ messages in thread
* RE: As of 2.6.13-rc1 Fusion-MPT very slow 2005-08-06 21:12 ` Holger Kiehl @ 2005-08-06 22:07 ` James Bottomley 2005-08-07 5:59 ` Holger Kiehl 0 siblings, 1 reply; 14+ messages in thread From: James Bottomley @ 2005-08-06 22:07 UTC (permalink / raw) To: Holger Kiehl Cc: Moore, Eric Dean, Andrew Morton, linux-kernel, SCSI Mailing List On Sat, 2005-08-06 at 21:12 +0000, Holger Kiehl wrote: > I tried from 2.6.13-rc2-mm2 up to 2.6.13-rc4-mm1 and always get the following > error when applying this patch: > > CC drivers/message/fusion/mptbase.o > CC drivers/message/fusion/mptscsih.o > CC drivers/message/fusion/mptspi.o > drivers/message/fusion/mptspi.c: In function â..mptspi_target_allocâ..: > drivers/message/fusion/mptspi.c:113: error: invalid storage class for function â..mptspi_write_offsetâ.. > drivers/message/fusion/mptspi.c:114: error: invalid storage class for function â..mptspi_write_widthâ.. > drivers/message/fusion/mptspi.c:131: warning: implicit declaration of function â..mptspi_write_widthâ.. > drivers/message/fusion/mptspi.c: At top level: > drivers/message/fusion/mptspi.c:453: warning: conflicting types for â..mptspi_write_widthâ.. > drivers/message/fusion/mptspi.c:453: error: static declaration of â..mptspi_write_widthâ.. follows non-static declaration > drivers/message/fusion/mptspi.c:131: error: previous implicit declaration of â..mptspi_write_widthâ.. was here This lot are all gcc-4 being silly about a declaration, as you noticed. Still, there's no reason not to make the static functions declared at the top of the file. > drivers/message/fusion/mptspi.c:505: error: unknown field â..get_hold_mcsâ.. specified in initializer > drivers/message/fusion/mptspi.c:505: warning: excess elements in struct initializer > drivers/message/fusion/mptspi.c:505: warning: (near initialization for â..mptspi_transport_functionsâ..) > drivers/message/fusion/mptspi.c:506: error: unknown field â..set_hold_mcsâ.. specified in initializer > drivers/message/fusion/mptspi.c:506: warning: excess elements in struct initializer > drivers/message/fusion/mptspi.c:506: warning: (near initialization for â..mptspi_transport_functionsâ..) > drivers/message/fusion/mptspi.c:507: error: unknown field â..show_hold_mcsâ.. specified in initializer > drivers/message/fusion/mptspi.c:507: warning: excess elements in struct initializer > drivers/message/fusion/mptspi.c:507: warning: (near initialization for â..mptspi_transport_functionsâ..) This is actually because -mm is slightly behind the scsi-misc tree. It looks like the hold_mcs parameters haven't propagated into the -mm tree yet. You should be able to correct this by cutting these three lines: .get_hold_mcs = mptspi_read_parameters, .set_hold_mcs = mptspi_write_hold_mcs, .show_hold_mcs = 1, Out of the code at lines 505-507. You'll get a warning about mptspi_write_hold_mcs() being defined but not used which you can ignore. James ^ permalink raw reply [flat|nested] 14+ messages in thread
* RE: As of 2.6.13-rc1 Fusion-MPT very slow 2005-08-06 22:07 ` James Bottomley @ 2005-08-07 5:59 ` Holger Kiehl 2005-08-07 14:29 ` James Bottomley 0 siblings, 1 reply; 14+ messages in thread From: Holger Kiehl @ 2005-08-07 5:59 UTC (permalink / raw) To: James Bottomley Cc: Moore, Eric Dean, Andrew Morton, linux-kernel, SCSI Mailing List [-- Attachment #1: Type: TEXT/PLAIN, Size: 9273 bytes --] On Sat, 6 Aug 2005, James Bottomley wrote: > On Sat, 2005-08-06 at 21:12 +0000, Holger Kiehl wrote: >> drivers/message/fusion/mptspi.c:505: error: unknown field â..get_hold_mcsâ.. specified in initializer >> drivers/message/fusion/mptspi.c:505: warning: excess elements in struct initializer >> drivers/message/fusion/mptspi.c:505: warning: (near initialization for â..mptspi_transport_functionsâ..) >> drivers/message/fusion/mptspi.c:506: error: unknown field â..set_hold_mcsâ.. specified in initializer >> drivers/message/fusion/mptspi.c:506: warning: excess elements in struct initializer >> drivers/message/fusion/mptspi.c:506: warning: (near initialization for â..mptspi_transport_functionsâ..) >> drivers/message/fusion/mptspi.c:507: error: unknown field â..show_hold_mcsâ.. specified in initializer >> drivers/message/fusion/mptspi.c:507: warning: excess elements in struct initializer >> drivers/message/fusion/mptspi.c:507: warning: (near initialization for â..mptspi_transport_functionsâ..) > > This is actually because -mm is slightly behind the scsi-misc tree. It > looks like the hold_mcs parameters haven't propagated into the -mm tree > yet. You should be able to correct this by cutting these three lines: > > .get_hold_mcs = mptspi_read_parameters, > .set_hold_mcs = mptspi_write_hold_mcs, > .show_hold_mcs = 1, > > Out of the code at lines 505-507. You'll get a warning about > mptspi_write_hold_mcs() being defined but not used which you can ignore. > Thanks, removing those it compiles fine. This patch also solves my problem, here the output of dmesg: Fusion MPT base driver 3.03.02 Copyright (c) 1999-2005 LSI Logic Corporation Fusion MPT SPI Host driver 3.03.02 ACPI: PCI Interrupt 0000:02:04.0[A] -> GSI 24 (level, low) -> IRQ 217 mptbase: Initiating ioc0 bringup ioc0: 53C1030: Capabilities={Initiator,Target} scsi4 : ioc0: LSI53C1030, FwRev=01032700h, Ports=1, MaxQ=255, IRQ=217 Vendor: FUJITSU Model: MAS3735NP Rev: 0104 Type: Direct-Access ANSI SCSI revision: 03 target4:0:0: Beginning Domain Validation target4:0:0: Ending Domain Validation target4:0:0: FAST-160 WIDE SCSI 320.0 MB/s DT IU (6.25 ns, offset 127) SCSI device sdc: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sdc: drive cache: write back SCSI device sdc: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sdc: drive cache: write back sdc: sdc1 Attached scsi disk sdc at scsi4, channel 0, id 0, lun 0 Vendor: FUJITSU Model: MAS3735NP Rev: 0104 Type: Direct-Access ANSI SCSI revision: 03 target4:0:1: Beginning Domain Validation target4:0:1: Ending Domain Validation target4:0:1: FAST-160 WIDE SCSI 320.0 MB/s DT IU (6.25 ns, offset 127) SCSI device sdd: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sdd: drive cache: write back SCSI device sdd: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sdd: drive cache: write back sdd: sdd1 Attached scsi disk sdd at scsi4, channel 0, id 1, lun 0 Vendor: FUJITSU Model: MAS3735NP Rev: 0104 Type: Direct-Access ANSI SCSI revision: 03 target4:0:2: Beginning Domain Validation target4:0:2: Ending Domain Validation target4:0:2: FAST-160 WIDE SCSI 320.0 MB/s DT IU (6.25 ns, offset 127) SCSI device sde: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sde: drive cache: write back SCSI device sde: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sde: drive cache: write back sde: sde1 Attached scsi disk sde at scsi4, channel 0, id 2, lun 0 Vendor: FUJITSU Model: MAS3735NP Rev: 0104 Type: Direct-Access ANSI SCSI revision: 03 target4:0:3: Beginning Domain Validation target4:0:3: Ending Domain Validation target4:0:3: FAST-160 WIDE SCSI 320.0 MB/s DT IU (6.25 ns, offset 127) SCSI device sdf: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sdf: drive cache: write back SCSI device sdf: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sdf: drive cache: write back sdf: sdf1 Attached scsi disk sdf at scsi4, channel 0, id 3, lun 0 ACPI: PCI Interrupt 0000:02:04.1[B] -> GSI 25 (level, low) -> IRQ 225 mptbase: Initiating ioc1 bringup ioc1: 53C1030: Capabilities={Initiator,Target} scsi5 : ioc1: LSI53C1030, FwRev=01032700h, Ports=1, MaxQ=255, IRQ=225 Vendor: FUJITSU Model: MAS3735NP Rev: 0104 Type: Direct-Access ANSI SCSI revision: 03 target5:0:0: Beginning Domain Validation target5:0:0: Ending Domain Validation target5:0:0: FAST-160 WIDE SCSI 320.0 MB/s DT IU (6.25 ns, offset 127) SCSI device sdg: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sdg: drive cache: write back SCSI device sdg: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sdg: drive cache: write back sdg: sdg1 Attached scsi disk sdg at scsi5, channel 0, id 0, lun 0 Vendor: FUJITSU Model: MAS3735NP Rev: 0104 Type: Direct-Access ANSI SCSI revision: 03 target5:0:1: Beginning Domain Validation target5:0:1: Ending Domain Validation target5:0:1: FAST-160 WIDE SCSI 320.0 MB/s DT IU (6.25 ns, offset 127) SCSI device sdh: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sdh: drive cache: write back SCSI device sdh: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sdh: drive cache: write back sdh: sdh1 Attached scsi disk sdh at scsi5, channel 0, id 1, lun 0 Vendor: FUJITSU Model: MAS3735NP Rev: 0104 Type: Direct-Access ANSI SCSI revision: 03 target5:0:2: Beginning Domain Validation target5:0:2: Ending Domain Validation target5:0:2: FAST-160 WIDE SCSI 320.0 MB/s DT IU (6.25 ns, offset 127) SCSI device sdi: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sdi: drive cache: write back SCSI device sdi: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sdi: drive cache: write back sdi: sdi1 Attached scsi disk sdi at scsi5, channel 0, id 2, lun 0 Vendor: FUJITSU Model: MAS3735NP Rev: 0104 Type: Direct-Access ANSI SCSI revision: 03 target5:0:3: Beginning Domain Validation target5:0:3: Ending Domain Validation target5:0:3: FAST-160 WIDE SCSI 320.0 MB/s DT IU (6.25 ns, offset 127) SCSI device sdj: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sdj: drive cache: write back SCSI device sdj: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sdj: drive cache: write back sdj: sdj1 Attached scsi disk sdj at scsi5, channel 0, id 3, lun 0 What I like a lot is that I now can see what speed disk has been selected for each disk. Great! I tested all eight disks and they all now have approx. 74MB/s with hdparm. This is what getspeed reports that Eric Moore has send me: ./getspeed.x86_64 0 Compiled with Fusion-MPT 2.05.03 Driver Header Files Data Transfer Rate on IOC 0: Id 0x0: Wide, Synchronous: Offset=0x7f, Factor=0x8 (Ultra320) Special Features Enabled: IU DT RTI PCOMP_EN Id 0x1: Wide, Synchronous: Offset=0x7f, Factor=0x8 (Ultra320) Special Features Enabled: IU DT RTI PCOMP_EN Id 0x2: Wide, Synchronous: Offset=0x7f, Factor=0x8 (Ultra320) Special Features Enabled: IU DT RTI PCOMP_EN Id 0x3: Wide, Synchronous: Offset=0x7f, Factor=0x8 (Ultra320) Special Features Enabled: IU DT RTI PCOMP_EN Id 0x4: Narrow, Asynchronous. Id 0x5: Narrow, Asynchronous. Id 0x6: Narrow, Asynchronous. Id 0x7: Narrow, Asynchronous. Id 0x8: Narrow, Asynchronous. Id 0x9: Narrow, Asynchronous. Id 0xa: Narrow, Asynchronous. Id 0xb: Narrow, Asynchronous. Id 0xc: Narrow, Asynchronous. Id 0xd: Narrow, Asynchronous. Id 0xe: Narrow, Asynchronous. Id 0xf: Narrow, Asynchronous ./getspeed.x86_64 1 Compiled with Fusion-MPT 2.05.03 Driver Header Files Data Transfer Rate on IOC 1: Id 0x0: Wide, Synchronous: Offset=0x7f, Factor=0x8 (Ultra320) Special Features Enabled: IU DT RTI PCOMP_EN Id 0x1: Wide, Synchronous: Offset=0x7f, Factor=0x8 (Ultra320) Special Features Enabled: IU DT RTI PCOMP_EN Id 0x2: Wide, Synchronous: Offset=0x7f, Factor=0x8 (Ultra320) Special Features Enabled: IU DT RTI PCOMP_EN Id 0x3: Wide, Synchronous: Offset=0x7f, Factor=0x8 (Ultra320) Special Features Enabled: IU DT RTI PCOMP_EN Id 0x4: Narrow, Asynchronous. Id 0x5: Narrow, Asynchronous. Id 0x6: Narrow, Asynchronous. Id 0x7: Narrow, Asynchronous. Id 0x8: Narrow, Asynchronous. Id 0x9: Narrow, Asynchronous. Id 0xa: Narrow, Asynchronous. Id 0xb: Narrow, Asynchronous. Id 0xc: Narrow, Asynchronous. Id 0xd: Narrow, Asynchronous. Id 0xe: Narrow, Asynchronous. Id 0xf: Narrow, Asynchronous. If there is anything else I can provide or test please tell me. Thanks, Holger ^ permalink raw reply [flat|nested] 14+ messages in thread
* RE: As of 2.6.13-rc1 Fusion-MPT very slow 2005-08-07 5:59 ` Holger Kiehl @ 2005-08-07 14:29 ` James Bottomley 0 siblings, 0 replies; 14+ messages in thread From: James Bottomley @ 2005-08-07 14:29 UTC (permalink / raw) To: Holger Kiehl Cc: Moore, Eric Dean, Andrew Morton, linux-kernel, SCSI Mailing List On Sun, 2005-08-07 at 05:59 +0000, Holger Kiehl wrote: > Thanks, removing those it compiles fine. This patch also solves my problem, > here the output of dmesg: Well ... the transport class was supposed to help diagnose the problem rather than fix it. However, what it shows is that the original problem is in the fusion internal domain validation somewhere, but that we still don't know where... James ^ permalink raw reply [flat|nested] 14+ messages in thread
* RE: As of 2.6.13-rc1 Fusion-MPT very slow
@ 2005-08-08 18:27 Moore, Eric Dean
2005-08-09 12:16 ` Holger Kiehl
0 siblings, 1 reply; 14+ messages in thread
From: Moore, Eric Dean @ 2005-08-08 18:27 UTC (permalink / raw)
To: James Bottomley, Holger Kiehl
Cc: Andrew Morton, linux-kernel, SCSI Mailing List
On Sunday, August 07, 2005 8:30 AM, James Bottomley wrote:
> On Sun, 2005-08-07 at 05:59 +0000, Holger Kiehl wrote:
> > Thanks, removing those it compiles fine. This patch also
> solves my problem,
> > here the output of dmesg:
>
> Well ... the transport class was supposed to help diagnose the problem
> rather than fix it.
>
> However, what it shows is that the original problem is in the fusion
> internal domain validation somewhere, but that we still don't know
> where...
>
> James
>
I was corresponding to Mr Holger Hiehl in private email.
What I understood the problem to be was when he compiled the drivers into
the kernel, instead of as modules, we would get some drives negotiating as
asyn narrow on the 2nd channel. What I was trying to do was reproduce the
issue here, and I was unable to. Has Mr Holger Hiehl tried compiling
your patch with the drivers compiled statically into the kernel, instead
of modules?
Anyways - My last suggesting was that he change the scsi cable, and reset
the parameters in the bios configuration utility. I don't believe
that fixed it.
Here's my next suggestion. Recompile the driver with domain validation
debugging enabled. Then send me the output dmesg so I can analyze it.
That is done by modifying the driver makefile, adding the following lines:
CFLAGS_mptscsih.o += DMPT_DEBUG_DV
CFLAGS_mptscsih.o += DMPT_DEBUG_NEGO
^ permalink raw reply [flat|nested] 14+ messages in thread* RE: As of 2.6.13-rc1 Fusion-MPT very slow 2005-08-08 18:27 Moore, Eric Dean @ 2005-08-09 12:16 ` Holger Kiehl 2005-08-30 15:28 ` tony.luck 0 siblings, 1 reply; 14+ messages in thread From: Holger Kiehl @ 2005-08-09 12:16 UTC (permalink / raw) To: Moore, Eric Dean Cc: James Bottomley, Andrew Morton, linux-kernel, SCSI Mailing List On Mon, 8 Aug 2005, Moore, Eric Dean wrote: > On Sunday, August 07, 2005 8:30 AM, James Bottomley wrote: > >> On Sun, 2005-08-07 at 05:59 +0000, Holger Kiehl wrote: >>> Thanks, removing those it compiles fine. This patch also >> solves my problem, >>> here the output of dmesg: >> >> Well ... the transport class was supposed to help diagnose the problem >> rather than fix it. >> >> However, what it shows is that the original problem is in the fusion >> internal domain validation somewhere, but that we still don't know >> where... >> >> James >> > > > I was corresponding to Mr Holger Hiehl in private email. > What I understood the problem to be was when he compiled the drivers into > the kernel, instead of as modules, we would get some drives negotiating as > asyn narrow on the 2nd channel. > It's always the first channel that has the problem. There are four disks and the first always negotiated as wide and has the full speed. Disk 2 to 4 are always narrow and give me only 2MB/s. On the 2nd channel everything is always ok, here all 4 disks have the full speed. > What I was trying to do was reproduce the > issue here, and I was unable to. Has Mr Holger Hiehl tried compiling > your patch with the drivers compiled statically into the kernel, instead > of modules? > It was compilled in statically into the kernel. > Anyways - My last suggesting was that he change the scsi cable, and reset > the parameters in the bios configuration utility. I don't believe > that fixed it. > No. I exchanged cables still always the same results. Also on a second system that has identical hardware, as soon as I put kernel 2.6.13-rc1 I get the same problem. > Here's my next suggestion. Recompile the driver with domain validation > debugging enabled. Then send me the output dmesg so I can analyze it. > This brings us closer to the root of the problem, I think. With domain validation debugging enabled, this problem is no longer reliably reproducable. I once even saw that only the forth disk on the first channel had the slow performance. Booting several times, gave me most the time full speed for all four disk on the first channel. But the results where not stable. I then took out some unused drivers (hardware watchdog and IPMI) and the system would always come up with all four disk at full speed. I then removed domain validation debugging but then the problem was there again. So I put in a msleep(2000) in ./drivers/block/elevator.c just after it prints out what elevator it used and enabled domain validation debugging again. Booting with this kernel I managed to capture the debugging output with disk 2 to 4 having only 2MB/s. So I think there is some timing problem, somewhere. I also have the output without the msleep(), that is with all four disk having full speed on the first channel. Please tell me if this is of intrest, then I will post it as well. Thanks, Holger --- Bootdata ok (command line is ro root=/dev/md0) Linux version 2.6.13-rc5-git3 (root@helena.dwd.de) (gcc version 4.0.1 20050727 (Red Hat 4.0.1-5)) #6 SMP Tue Aug 9 11:14:17 GMT 2005 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009a000 (usable) BIOS-e820: 000000000009a000 - 00000000000a0000 (reserved) BIOS-e820: 00000000000d2000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 00000000f7f70000 (usable) BIOS-e820: 00000000f7f70000 - 00000000f7f76000 (ACPI data) BIOS-e820: 00000000f7f76000 - 00000000f7f80000 (ACPI NVS) BIOS-e820: 00000000f7f80000 - 00000000f8000000 (reserved) BIOS-e820: 00000000fec00000 - 00000000fec00400 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved) BIOS-e820: 0000000100000000 - 0000000200000000 (usable) ACPI: RSDP (v002 PTLTD ) @ 0x00000000000f6a70 ACPI: XSDT (v001 PTLTD XSDT 0x06040000 LTP 0x00000000) @ 0x00000000f7f72e3b ACPI: FADT (v003 AMD HAMMER 0x06040000 PTEC 0x000f4240) @ 0x00000000f7f72f97 ACPI: SRAT (v001 AMD HAMMER 0x06040000 AMD 0x00000001) @ 0x00000000f7f75904 ACPI: SSDT (v001 PTLTD POWERNOW 0x06040000 LTP 0x00000001) @ 0x00000000f7f75a3c ACPI: HPET (v001 AMD HAMMER 0x06040000 PTEC 0x00000000) @ 0x00000000f7f75dac ACPI: SSDT (v001 AMD-K8 AMD-ACPI 0x06040000 AMD 0x00000001) @ 0x00000000f7f75de4 ACPI: SSDT (v001 AMD-K8 AMD-ACPI 0x06040000 AMD 0x00000001) @ 0x00000000f7f75e81 ACPI: MADT (v001 PTLTD APIC 0x06040000 LTP 0x00000000) @ 0x00000000f7f75f1e ACPI: SPCR (v001 PTLTD $UCRTBL$ 0x06040000 PTL 0x00000001) @ 0x00000000f7f75fb0 ACPI: DSDT (v001 AMD-K8 AMDACPI 0x06040000 MSFT 0x0100000e) @ 0x0000000000000000 SRAT: PXM 0 -> APIC 0 -> CPU 0 -> Node 0 SRAT: PXM 1 -> APIC 1 -> CPU 1 -> Node 1 SRAT: PXM 2 -> APIC 2 -> CPU 2 -> Node 2 SRAT: PXM 3 -> APIC 3 -> CPU 3 -> Node 3 SRAT: Node 0 PXM 0 0-9ffff SRAT: Node 0 PXM 0 0-7fffffff SRAT: Node 1 PXM 1 80000000-f7ffffff SRAT: Node 2 PXM 2 100000000-17fffffff SRAT: Node 3 PXM 3 180000000-1ffffffff Using 26 for the hash shift. Max adder is 1ffffffff Bootmem setup node 0 0000000000000000-000000007fffffff Bootmem setup node 1 0000000080000000-00000000f7ffffff Bootmem setup node 2 0000000100000000-000000017fffffff Bootmem setup node 3 0000000180000000-00000001ffffffff On node 0 totalpages: 524287 DMA zone: 4096 pages, LIFO batch:1 Normal zone: 520191 pages, LIFO batch:31 HighMem zone: 0 pages, LIFO batch:1 On node 1 totalpages: 491519 DMA zone: 0 pages, LIFO batch:1 Normal zone: 491519 pages, LIFO batch:31 HighMem zone: 0 pages, LIFO batch:1 On node 2 totalpages: 524287 DMA zone: 0 pages, LIFO batch:1 Normal zone: 524287 pages, LIFO batch:31 HighMem zone: 0 pages, LIFO batch:1 On node 3 totalpages: 524287 DMA zone: 0 pages, LIFO batch:1 Normal zone: 524287 pages, LIFO batch:31 HighMem zone: 0 pages, LIFO batch:1 ACPI: PM-Timer IO Port: 0xc008 ACPI: Local APIC address 0xfee00000 ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) Processor #0 15:5 APIC version 16 ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled) Processor #1 15:5 APIC version 16 ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled) Processor #2 15:5 APIC version 16 ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] enabled) Processor #3 15:5 APIC version 16 ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1]) ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1]) ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1]) ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1]) ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0]) IOAPIC[0]: apic_id 4, version 17, address 0xfec00000, GSI 0-23 ACPI: IOAPIC (id[0x05] address[0xfc000000] gsi_base[24]) IOAPIC[1]: apic_id 5, version 17, address 0xfc000000, GSI 24-27 ACPI: IOAPIC (id[0x06] address[0xfc001000] gsi_base[28]) IOAPIC[2]: apic_id 6, version 17, address 0xfc001000, GSI 28-31 ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge) ACPI: IRQ0 used by override. ACPI: IRQ2 used by override. ACPI: IRQ9 used by override. Setting APIC routing to flat ACPI: HPET id: 0x102282a0 base: 0xfed00000 Using ACPI (MADT) for SMP configuration information Allocating PCI resources starting at f8000000 (gap: f8000000:6c00000) Checking aperture... CPU 0: aperture @ 0 size 256 MB No AGP bridge found Your BIOS doesn't leave a aperture memory hole Please enable the IOMMU option in the BIOS setup This costs you 64 MB of RAM Mapping aperture over 65536 KB of RAM @ 4000000 Built 4 zonelists Kernel command line: ro root=/dev/md0 Initializing CPU#0 PID hash table entries: 4096 (order: 12, 131072 bytes) time.c: Using 14.318180 MHz HPET timer. time.c: Detected 2205.357 MHz processor. Console: colour VGA+ 80x25 Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes) Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes) Memory: 8061336k/8388608k available (2219k kernel code, 0k reserved, 1120k data, 208k init) Calibrating delay using timer specific routine.. 4415.21 BogoMIPS (lpj=22076074) Mount-cache hash table entries: 256 CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 1024K (64 bytes/line) CPU 0(1) -> Node 0 -> Core 0 mtrr: v2.0 (20020519) Using local APIC timer interrupts. Detected 12.530 MHz APIC timer. Booting processor 1/4 APIC 0x1 Initializing CPU#1 Calibrating delay using timer specific routine.. 4410.04 BogoMIPS (lpj=22050240) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 1024K (64 bytes/line) CPU 1(1) -> Node 1 -> Core 0 AMD Opteron(tm) Processor 848 stepping 0a CPU 1: Syncing TSC to CPU 0. Booting processor 2/4 APIC 0x2 CPU 1: synchronized TSC with CPU 0 (last diff -131 cycles, maxerr 941 cycles) Initializing CPU#2 Calibrating delay using timer specific routine.. 4410.04 BogoMIPS (lpj=22050228) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 1024K (64 bytes/line) CPU 2(1) -> Node 2 -> Core 0 AMD Opteron(tm) Processor 848 stepping 0a CPU 2: Syncing TSC to CPU 0. Booting processor 3/4 APIC 0x3 CPU 2: synchronized TSC with CPU 0 (last diff -127 cycles, maxerr 932 cycles) Initializing CPU#3 Calibrating delay using timer specific routine.. 4410.14 BogoMIPS (lpj=22050706) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 1024K (64 bytes/line) CPU 3(1) -> Node 3 -> Core 0 AMD Opteron(tm) Processor 848 stepping 0a CPU 3: Syncing TSC to CPU 0. Brought up 4 CPUs CPU 3: synchronized TSC with CPU 0 (last diff -171 cycles, maxerr 1594 cycles) time.c: Using HPET based timekeeping. testing NMI watchdog ... OK. NET: Registered protocol family 16 ACPI: bus type pci registered PCI: Using configuration type 1 ACPI: Subsystem revision 20050408 ACPI: Interpreter enabled ACPI: Using IOAPIC for interrupt routing ACPI: PCI Root Bridge [PCI0] (0000:00) PCI: Probing PCI hardware (bus 00) ACPI: Assume root bridge [\_SB_.PCI0] segment is 0 Boot video device is 0000:01:06.0 ACPI: PCI Interrupt Link [LNKA] (IRQs 3 5 10 *11) ACPI: PCI Interrupt Link [LNKB] (IRQs 3 *5 10 11) ACPI: PCI Interrupt Link [LNKC] (IRQs 3 5 *10 11) ACPI: PCI Interrupt Link [LNKD] (IRQs 3 5 10 *11) ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.TP2P._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.G0PA._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.G0PB._PRT] Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI init pnp: PnP ACPI: found 11 devices SCSI subsystem initialized PCI: Using ACPI for IRQ routing PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report PCI: Bridge: 0000:00:06.0 IO window: 2000-2fff MEM window: fc100000-fdffffff PREFETCH window: f8000000-f80fffff PCI: Bridge: 0000:00:0a.0 IO window: 3000-3fff MEM window: fe000000-fe0fffff PREFETCH window: f8100000-f82fffff PCI: Bridge: 0000:03:01.0 IO window: 4000-4fff MEM window: fe100000-fe1fffff PREFETCH window: disabled. PCI: Bridge: 0000:00:0b.0 IO window: 4000-4fff MEM window: fe100000-fe1fffff PREFETCH window: disabled. hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0 hpet0: 69ns tick, 3 32-bit timers PCI-DMA: Disabling AGP. PCI-DMA: aperture base @ 4000000 size 65536 KB PCI-DMA: Reserving 64MB of IOMMU area in the AGP aperture pnp: 00:04: ioport range 0x4d0-0x4d1 has been reserved IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $ Initializing Cryptographic API PCI: MSI quirk detected. pci_msi_quirk set. PCI: MSI quirk detected. pci_msi_quirk set. ACPI: PCI Interrupt 0000:01:06.0[A] -> GSI 18 (level, low) -> IRQ 169 atyfb: using auxiliary register aperture atyfb: 3D RAGE XL (Mach64 GR, PCI-33MHz) [0x4752 rev 0x27] atyfb: 8M SDRAM (2:1) (32-bit), 14.31818 MHz XTAL, 230 MHz PLL, 83 Mhz MCLK, 63 MHz XCLK Console: switching to colour frame buffer device 80x30 atyfb: fb0: ATY Mach64 frame buffer device on PCI ACPI: CPU0 (power states: C1[C1]) ACPI: CPU1 (power states: C1[C1]) ACPI: CPU2 (power states: C1[C1]) ACPI: CPU3 (power states: C1[C1]) Real Time Clock Driver v1.12 hw_random: AMD768 system management I/O registers at 0xC000. hw_random hardware driver 1.0.0 loaded Linux agpgart interface v0.101 (c) Dave Jones PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12 serio: i8042 AUX port at 0x60,0x64 irq 12 serio: i8042 KBD port at 0x60,0x64 irq 1 Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing enabled ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered Intel(R) PRO/1000 Network Driver - version 6.0.60-k2-NAPI Copyright (c) 1999-2005 Intel Corporation. ACPI: PCI Interrupt 0000:04:04.0[A] -> GSI 29 (level, low) -> IRQ 177 e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection ACPI: PCI Interrupt 0000:04:04.1[B] -> GSI 30 (level, low) -> IRQ 185 e1000: eth1: e1000_probe: Intel(R) PRO/1000 Network Connection ACPI: PCI Interrupt 0000:04:06.0[A] -> GSI 31 (level, low) -> IRQ 193 e1000: eth2: e1000_probe: Intel(R) PRO/1000 Network Connection ACPI: PCI Interrupt 0000:04:06.1[B] -> GSI 28 (level, low) -> IRQ 201 e1000: eth3: e1000_probe: Intel(R) PRO/1000 Network Connection Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx AMD8111: IDE controller at PCI slot 0000:00:07.1 AMD8111: chipset revision 3 AMD8111: not 100% native mode: will probe irqs later AMD8111: 0000:00:07.1 (rev 03) UDMA133 controller ide0: BM-DMA at 0x1020-0x1027, BIOS settings: hda:pio, hdb:DMA ide1: BM-DMA at 0x1028-0x102f, BIOS settings: hdc:pio, hdd:pio Probing IDE interface ide0... hdb: DV-W28EW, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 Probing IDE interface ide1... Probing IDE interface ide1... libata version 1.11 loaded. sata_sil version 0.9 ACPI: PCI Interrupt 0000:01:05.0[A] -> GSI 19 (level, low) -> IRQ 209 ata1: SATA max UDMA/100 cmd 0xFFFFC20000010080 ctl 0xFFFFC2000001008A bmdma 0xFFFFC20000010000 irq 209 ata2: SATA max UDMA/100 cmd 0xFFFFC200000100C0 ctl 0xFFFFC200000100CA bmdma 0xFFFFC20000010008 irq 209 ata3: SATA max UDMA/100 cmd 0xFFFFC20000010280 ctl 0xFFFFC2000001028A bmdma 0xFFFFC20000010200 irq 209 ata4: SATA max UDMA/100 cmd 0xFFFFC200000102C0 ctl 0xFFFFC200000102CA bmdma 0xFFFFC20000010208 irq 209 ata1: dev 0 cfg 49:2f00 82:346b 83:7d01 84:4023 85:3469 86:3c01 87:4023 88:207f ata1: dev 0 ATA, max UDMA/133, 488397168 sectors: lba48 ata1: dev 0 configured for UDMA/100 scsi0 : sata_sil ata2: dev 0 cfg 49:2f00 82:346b 83:7d01 84:4023 85:3469 86:3c01 87:4023 88:207f ata2: dev 0 ATA, max UDMA/133, 488397168 sectors: lba48 ata2: dev 0 configured for UDMA/100 scsi1 : sata_sil ata3: no device found (phy stat 00000000) scsi2 : sata_sil ata4: no device found (phy stat 00000000) scsi3 : sata_sil Vendor: ATA Model: ST3250823AS Rev: 3.01 Type: Direct-Access ANSI SCSI revision: 05 Vendor: ATA Model: ST3250823AS Rev: 3.01 Type: Direct-Access ANSI SCSI revision: 05 SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB) SCSI device sda: drive cache: write back SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB) SCSI device sda: drive cache: write back sda: sda1 sda2 sda3 sda4 < > Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 SCSI device sdb: 488397168 512-byte hdwr sectors (250059 MB) SCSI device sdb: drive cache: write back SCSI device sdb: 488397168 512-byte hdwr sectors (250059 MB) SCSI device sdb: drive cache: write back sdb: sdb1 sdb2 sdb3 sdb4 < > Attached scsi disk sdb at scsi1, channel 0, id 0, lun 0 Fusion MPT base driver 3.03.02 Copyright (c) 1999-2005 LSI Logic Corporation Fusion MPT SPI Host driver 3.03.02 ACPI: PCI Interrupt 0000:02:04.0[A] -> GSI 24 (level, low) -> IRQ 217 mptbase: Initiating ioc0 bringup ioc0: 53C1030: Capabilities={Initiator,Target} scsi4 : ioc0: LSI53C1030, FwRev=01032700h, Ports=1, MaxQ=255, IRQ=217 set_dvflags: id=0 lun=0 negoNvram=0 cmd=12 set_dvflags: id=0 lun=0 negoNvram=0 cmd=12 Vendor: FUJITSU Model: MAS3735NP Rev: 0104 Type: Direct-Access ANSI SCSI revision: 03 Enabling QAS due to byte56=0f on id=0! MPT_SCSICFG_NEGOTIATE on id=0! writeSDP1: id=0 width=0 factor=ff offset=0 negoFlags=0 request=ff00 config=0 mptscsih: ioc0: WriteSDP1 (mf=ffff810002c82660, id=0, req=0xff00, cfg=0x0) set_dvflags: id=0 lun=0 negoNvram=0 cmd=0 set_dvflags: id=0 lun=0 negoNvram=0 cmd=25 NEED_DV set for visible disk id 0 SCSI device sdc: 143552136 512-byte hdwr sectors (73499 MB) set_dvflags: id=0 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 0 set_dvflags: id=0 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 0 SCSI device sdc: drive cache: write back set_dvflags: id=0 lun=0 negoNvram=0 cmd=0 set_dvflags: id=0 lun=0 negoNvram=0 cmd=25 NEED_DV set for visible disk id 0 SCSI device sdc: 143552136 512-byte hdwr sectors (73499 MB) set_dvflags: id=0 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 0 set_dvflags: id=0 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 0 SCSI device sdc: drive cache: write back sdc: set_dvflags: id=0 lun=0 negoNvram=0 cmd=28 sdc1 Attached scsi disk sdc at scsi4, channel 0, id 0, lun 0 set_dvflags: id=0 lun=0 negoNvram=0 cmd=a0 set_dvflags: id=1 lun=0 negoNvram=0 cmd=12 set_dvflags: id=1 lun=0 negoNvram=0 cmd=12 Vendor: FUJITSU Model: MAS3735NP Rev: 0104 Type: Direct-Access ANSI SCSI revision: 03 Enabling QAS due to byte56=0f on id=1! MPT_SCSICFG_NEGOTIATE on id=1! writeSDP1: id=1 width=0 factor=ff offset=0 negoFlags=0 request=ff00 config=0 mptscsih: ioc0: WriteSDP1 (mf=ffff810002c82b40, id=1, req=0xff00, cfg=0x0) set_dvflags: id=1 lun=0 negoNvram=0 cmd=0 set_dvflags: id=1 lun=0 negoNvram=0 cmd=25 NEED_DV set for visible disk id 1 SCSI device sdd: 143552136 512-byte hdwr sectors (73499 MB) set_dvflags: id=1 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 1 set_dvflags: id=1 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 1 SCSI device sdd: drive cache: write back set_dvflags: id=1 lun=0 negoNvram=0 cmd=0 set_dvflags: id=1 lun=0 negoNvram=0 cmd=25 NEED_DV set for visible disk id 1 SCSI device sdd: 143552136 512-byte hdwr sectors (73499 MB) set_dvflags: id=1 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 1 set_dvflags: id=1 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 1 SCSI device sdd: drive cache: write back sdd: set_dvflags: id=1 lun=0 negoNvram=0 cmd=28 sdd1 Attached scsi disk sdd at scsi4, channel 0, id 1, lun 0 set_dvflags: id=1 lun=0 negoNvram=0 cmd=a0 set_dvflags: id=2 lun=0 negoNvram=0 cmd=12 set_dvflags: id=2 lun=0 negoNvram=0 cmd=12 Vendor: FUJITSU Model: MAS3735NP Rev: 0104 Type: Direct-Access ANSI SCSI revision: 03 Enabling QAS due to byte56=0f on id=2! MPT_SCSICFG_NEGOTIATE on id=2! writeSDP1: id=2 width=0 factor=ff offset=0 negoFlags=0 request=ff00 config=0 mptscsih: ioc0: WriteSDP1 (mf=ffff810002c83020, id=2, req=0xff00, cfg=0x0) set_dvflags: id=2 lun=0 negoNvram=0 cmd=0 set_dvflags: id=2 lun=0 negoNvram=0 cmd=25 NEED_DV set for visible disk id 2 SCSI device sde: 143552136 512-byte hdwr sectors (73499 MB) set_dvflags: id=2 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 2 set_dvflags: id=2 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 2 SCSI device sde: drive cache: write back set_dvflags: id=2 lun=0 negoNvram=0 cmd=0 set_dvflags: id=2 lun=0 negoNvram=0 cmd=25 NEED_DV set for visible disk id 2 SCSI device sde: 143552136 512-byte hdwr sectors (73499 MB) set_dvflags: id=2 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 2 set_dvflags: id=2 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 2 SCSI device sde: drive cache: write back sde: set_dvflags: id=2 lun=0 negoNvram=0 cmd=28 sde1 Attached scsi disk sde at scsi4, channel 0, id 2, lun 0 set_dvflags: id=2 lun=0 negoNvram=0 cmd=a0 set_dvflags: id=3 lun=0 negoNvram=0 cmd=12 set_dvflags: id=3 lun=0 negoNvram=0 cmd=12 Vendor: FUJITSU Model: MAS3735NP Rev: 0104 Type: Direct-Access ANSI SCSI revision: 03 Enabling QAS due to byte56=0f on id=3! MPT_SCSICFG_NEGOTIATE on id=3! writeSDP1: id=3 width=0 factor=ff offset=0 negoFlags=0 request=ff00 config=0 mptscsih: ioc0: WriteSDP1 (mf=ffff810002c83500, id=3, req=0xff00, cfg=0x0) set_dvflags: id=3 lun=0 negoNvram=0 cmd=0 set_dvflags: id=3 lun=0 negoNvram=0 cmd=25 NEED_DV set for visible disk id 3 SCSI device sdf: 143552136 512-byte hdwr sectors (73499 MB) set_dvflags: id=3 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 3 set_dvflags: id=3 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 3 SCSI device sdf: drive cache: write back set_dvflags: id=3 lun=0 negoNvram=0 cmd=0 set_dvflags: id=3 lun=0 negoNvram=0 cmd=25 NEED_DV set for visible disk id 3 SCSI device sdf: 143552136 512-byte hdwr sectors (73499 MB) set_dvflags: id=3 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 3 set_dvflags: id=3 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 3 SCSI device sdf: drive cache: write back sdf: set_dvflags: id=3 lun=0 negoNvram=0 cmd=28 mptscsih: ioc0: DV started: bus=0, id=0 dv @ ffff810081ab3dd8 mptscsih: ioc0: Getting NVRAM: id=0 width=1 factor=8 offset=7f flags=0 mptscsih: ioc0: DV: Start Basic test on id=0 mptscsih: ioc0: Setting Min: Setting Min: id=0 width=0 factor=ff offset=0 negoFlags=0 request=ff00 config=0 id=0 width=0 factor=ff offset=0 request=ff00 config=0 negoFlags=0 mptscsih: ioc0: Sending Command 0x12 for (0:0:0) sdf1 Attached scsi disk sdf at scsi4, channel 0, id 3, lun 0 set_dvflags: id=3 lun=0 negoNvram=0 cmd=a0 mptscsih: ioc0: ScanDvComplete (mf=ffff810002c83920,mr=0000000000000000,idx=67) mptscsih: ioc0: Sending Command 0x12 for (0:0:0) set_dvflags: id=4 lun=0 negoNvram=0 cmd=12 mptscsih: ioc0: ScanDvComplete (mf=ffff810002c839e0,mr=0000000000000000,idx=69) mptscsih: ioc0: Setting Max: Setting Max: id=0 width=1 factor=8 offset=7f negoFlags=0 request=207f0807 config=0 id=0 width=1 factor=8 offset=7f flags=0 request=207f0807 configuration=0 mptscsih: ioc0: Sending Command 0x12 for (0:0:0) set_dvflags: id=5 lun=0 negoNvram=0 cmd=12 set_dvflags: id=6 lun=0 negoNvram=0 cmd=12 mptscsih: ioc0: ScanDvComplete (mf=ffff810002c83b00,mr=0000000000000000,idx=72) mptscsih: ioc0: Updating with SDP0 Data: id=0 width=1 factor=8 offset=7f flags=0 mptscsih: ioc0: DV:Inquiry compared id=0, calling initTarget mptscsih: ioc0: DV: Basic test on id=0 completed OK. mptscsih: ioc0: Sending Command 0x0 for (0:0:0) set_dvflags: id=8 lun=0 negoNvram=0 cmd=12 mptscsih: ioc0: ScanDvComplete (mf=ffff810002c83c80,mr=0000000000000000,idx=76) mptscsih: ioc0: Sending Command 0x3c for (0:0:0) set_dvflags: id=9 lun=0 negoNvram=0 cmd=12 mptscsih: ioc0: ScanDvComplete (mf=ffff810002c83d40,mr=0000000000000000,idx=78) ReadBuffer Comp Code 0 buff: 1 0 1 fc mptscsih: ioc0: Sending Command 0x3c for (0:0:0) set_dvflags: id=10 lun=0 negoNvram=0 cmd=12 mptscsih: ioc0: ScanDvComplete (mf=ffff810002c83e00,mr=0000000000000000,idx=80) ReadBuffer Comp Code 0 buff: 2 73 d0 0 mptscsih: ioc0: Echo Buffer Capacity 508 Pattern 0 mptscsih: ioc0: Sending Command 0x16 for (0:0:0) set_dvflags: id=11 lun=0 negoNvram=0 cmd=12 mptscsih: ioc0: ScanDvComplete (mf=ffff810002c83ec0,mr=0000000000000000,idx=82) mptscsih: ioc0: Sending Command 0x3b for (0:0:0) set_dvflags: id=12 lun=0 negoNvram=0 cmd=12 mptscsih: ioc0: ScanDvComplete (mf=ffff810002c83f80,mr=0000000000000000,idx=84) mptscsih: ioc0: Sending Command 0x3c for (0:0:0) set_dvflags: id=13 lun=0 negoNvram=0 cmd=12 mptscsih: ioc0: ScanDvComplete (mf=ffff810002c84040,mr=0000000000000000,idx=86) Pattern 1 mptscsih: ioc0: Sending Command 0x3b for (0:0:0) set_dvflags: id=14 lun=0 negoNvram=0 cmd=12 mptscsih: ioc0: ScanDvComplete (mf=ffff810002c84100,mr=0000000000000000,idx=88) mptscsih: ioc0: Sending Command 0x3c for (0:0:0) set_dvflags: id=15 lun=0 negoNvram=0 cmd=12 mptscsih: ioc0: ScanDvComplete (mf=ffff810002c841c0,mr=0000000000000000,idx=90) Pattern 2 mptscsih: ioc0: Sending Command 0x3b for (0:0:0) ACPI: PCI Interrupt 0000:02:04.1[B] -> GSI 25 (level, low) -> IRQ 225 mptscsih: ioc0: ScanDvComplete (mf=ffff810002c84280,mr=0000000000000000,idx=92) mptbase: Initiating ioc1 bringup mptscsih: ioc0: WARNING - No msg frames! mptscsih: ioc0: WARNING - No msg frames! mptscsih: ioc0: DV: Release failed. id 0<5>mptscsih: ioc0: Saving to Target structure: id=0 width=1 factor=8 offset=127 flags=0 mptscsih: ioc0: DV Done id=0 mptscsih: ioc0: DV started: bus=0, id=1 dv @ ffff810081ab3dd8 mptscsih: ioc0: Getting NVRAM: id=1 width=1 factor=8 offset=7f flags=0 mptscsih: ioc0: DV: Start Basic test on id=1 mptscsih: ioc0: Setting Min: Setting Min: id=1 width=0 factor=ff offset=0 negoFlags=0 request=ff00 config=0 id=1 width=0 factor=ff offset=0 request=ff00 config=0 negoFlags=0 mptscsih: ioc0: Saving to Target structure: id=1 width=0 factor=0 offset=0 flags=0 mptscsih: ioc0: DV Done id=1 mptscsih: ioc0: DV started: bus=0, id=2 dv @ ffff810081ab3dd8 mptscsih: ioc0: Getting NVRAM: id=2 width=1 factor=8 offset=7f flags=0 mptscsih: ioc0: DV: Start Basic test on id=2 mptscsih: ioc0: Setting Min: Setting Min: id=2 width=0 factor=ff offset=0 negoFlags=0 request=ff00 config=0 id=2 width=0 factor=ff offset=0 request=ff00 config=0 negoFlags=0 mptscsih: ioc0: Saving to Target structure: id=2 width=0 factor=0 offset=0 flags=0 mptscsih: ioc0: DV Done id=2 mptscsih: ioc0: DV started: bus=0, id=3 dv @ ffff810081ab3dd8 mptscsih: ioc0: Getting NVRAM: id=3 width=1 factor=8 offset=7f flags=0 mptscsih: ioc0: DV: Start Basic test on id=3 mptscsih: ioc0: Setting Min: Setting Min: id=3 width=0 factor=ff offset=0 negoFlags=0 request=ff00 config=0 id=3 width=0 factor=ff offset=0 request=ff00 config=0 negoFlags=0 mptscsih: ioc0: Saving to Target structure: id=3 width=0 factor=0 offset=0 flags=0 mptscsih: ioc0: DV Done id=3 ioc1: 53C1030: Capabilities={Initiator,Target} scsi5 : ioc1: LSI53C1030, FwRev=01032700h, Ports=1, MaxQ=255, IRQ=225 set_dvflags: id=0 lun=0 negoNvram=0 cmd=12 set_dvflags: id=0 lun=0 negoNvram=0 cmd=12 Vendor: FUJITSU Model: MAS3735NP Rev: 0104 Type: Direct-Access ANSI SCSI revision: 03 Enabling QAS due to byte56=0f on id=0! MPT_SCSICFG_NEGOTIATE on id=0! writeSDP1: id=0 width=0 factor=ff offset=0 negoFlags=0 request=ff00 config=0 mptscsih: ioc1: WriteSDP1 (mf=ffff81007fe02660, id=0, req=0xff00, cfg=0x0) set_dvflags: id=0 lun=0 negoNvram=0 cmd=0 set_dvflags: id=0 lun=0 negoNvram=0 cmd=25 NEED_DV set for visible disk id 0 SCSI device sdg: 143552136 512-byte hdwr sectors (73499 MB) set_dvflags: id=0 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 0 set_dvflags: id=0 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 0 SCSI device sdg: drive cache: write back set_dvflags: id=0 lun=0 negoNvram=0 cmd=0 set_dvflags: id=0 lun=0 negoNvram=0 cmd=25 NEED_DV set for visible disk id 0 SCSI device sdg: 143552136 512-byte hdwr sectors (73499 MB) set_dvflags: id=0 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 0 set_dvflags: id=0 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 0 SCSI device sdg: drive cache: write back sdg: set_dvflags: id=0 lun=0 negoNvram=0 cmd=28 sdg1 Attached scsi disk sdg at scsi5, channel 0, id 0, lun 0 set_dvflags: id=0 lun=0 negoNvram=0 cmd=a0 set_dvflags: id=1 lun=0 negoNvram=0 cmd=12 set_dvflags: id=1 lun=0 negoNvram=0 cmd=12 Vendor: FUJITSU Model: MAS3735NP Rev: 0104 Type: Direct-Access ANSI SCSI revision: 03 Enabling QAS due to byte56=0f on id=1! MPT_SCSICFG_NEGOTIATE on id=1! writeSDP1: id=1 width=0 factor=ff offset=0 negoFlags=0 request=ff00 config=0 mptscsih: ioc1: WriteSDP1 (mf=ffff81007fe02b40, id=1, req=0xff00, cfg=0x0) set_dvflags: id=1 lun=0 negoNvram=0 cmd=0 set_dvflags: id=1 lun=0 negoNvram=0 cmd=25 NEED_DV set for visible disk id 1 SCSI device sdh: 143552136 512-byte hdwr sectors (73499 MB) set_dvflags: id=1 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 1 set_dvflags: id=1 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 1 SCSI device sdh: drive cache: write back set_dvflags: id=1 lun=0 negoNvram=0 cmd=0 set_dvflags: id=1 lun=0 negoNvram=0 cmd=25 NEED_DV set for visible disk id 1 SCSI device sdh: 143552136 512-byte hdwr sectors (73499 MB) set_dvflags: id=1 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 1 set_dvflags: id=1 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 1 SCSI device sdh: drive cache: write back sdh: set_dvflags: id=1 lun=0 negoNvram=0 cmd=28 sdh1 Attached scsi disk sdh at scsi5, channel 0, id 1, lun 0 set_dvflags: id=1 lun=0 negoNvram=0 cmd=a0 set_dvflags: id=2 lun=0 negoNvram=0 cmd=12 set_dvflags: id=2 lun=0 negoNvram=0 cmd=12 Vendor: FUJITSU Model: MAS3735NP Rev: 0104 Type: Direct-Access ANSI SCSI revision: 03 Enabling QAS due to byte56=0f on id=2! MPT_SCSICFG_NEGOTIATE on id=2! writeSDP1: id=2 width=0 factor=ff offset=0 negoFlags=0 request=ff00 config=0 mptscsih: ioc1: WriteSDP1 (mf=ffff81007fe03020, id=2, req=0xff00, cfg=0x0) set_dvflags: id=2 lun=0 negoNvram=0 cmd=0 set_dvflags: id=2 lun=0 negoNvram=0 cmd=25 NEED_DV set for visible disk id 2 SCSI device sdi: 143552136 512-byte hdwr sectors (73499 MB) set_dvflags: id=2 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 2 set_dvflags: id=2 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 2 SCSI device sdi: drive cache: write back set_dvflags: id=2 lun=0 negoNvram=0 cmd=0 set_dvflags: id=2 lun=0 negoNvram=0 cmd=25 NEED_DV set for visible disk id 2 SCSI device sdi: 143552136 512-byte hdwr sectors (73499 MB) set_dvflags: id=2 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 2 set_dvflags: id=2 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 2 SCSI device sdi: drive cache: write back sdi: set_dvflags: id=2 lun=0 negoNvram=0 cmd=28 sdi1 Attached scsi disk sdi at scsi5, channel 0, id 2, lun 0 set_dvflags: id=2 lun=0 negoNvram=0 cmd=a0 set_dvflags: id=3 lun=0 negoNvram=0 cmd=12 set_dvflags: id=3 lun=0 negoNvram=0 cmd=12 Vendor: FUJITSU Model: MAS3735NP Rev: 0104 Type: Direct-Access ANSI SCSI revision: 03 Enabling QAS due to byte56=0f on id=3! MPT_SCSICFG_NEGOTIATE on id=3! writeSDP1: id=3 width=0 factor=ff offset=0 negoFlags=0 request=ff00 config=0 mptscsih: ioc1: WriteSDP1 (mf=ffff81007fe03500, id=3, req=0xff00, cfg=0x0) set_dvflags: id=3 lun=0 negoNvram=0 cmd=0 set_dvflags: id=3 lun=0 negoNvram=0 cmd=25 NEED_DV set for visible disk id 3 SCSI device sdj: 143552136 512-byte hdwr sectors (73499 MB) set_dvflags: id=3 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 3 set_dvflags: id=3 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 3 SCSI device sdj: drive cache: write back set_dvflags: id=3 lun=0 negoNvram=0 cmd=0 set_dvflags: id=3 lun=0 negoNvram=0 cmd=25 NEED_DV set for visible disk id 3 SCSI device sdj: 143552136 512-byte hdwr sectors (73499 MB) set_dvflags: id=3 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 3 set_dvflags: id=3 lun=0 negoNvram=0 cmd=1a NEED_DV set for visible disk id 3 SCSI device sdj: drive cache: write back sdj: set_dvflags: id=3 lun=0 negoNvram=0 cmd=28 sdj1 Attached scsi disk sdj at scsi5, channel 0, id 3, lun 0 set_dvflags: id=3 lun=0 negoNvram=0 cmd=a0 set_dvflags: id=4 lun=0 negoNvram=0 cmd=12 set_dvflags: id=5 lun=0 negoNvram=0 cmd=12 set_dvflags: id=6 lun=0 negoNvram=0 cmd=12 mptscsih: ioc1: DV started: bus=0, id=0 dv @ ffff810081ab3dd8 mptscsih: ioc1: Getting NVRAM: id=0 width=1 factor=8 offset=7f flags=0 mptscsih: ioc1: DV: Start Basic test on id=0 mptscsih: ioc1: Setting Min: Setting Min: id=0 width=0 factor=ff offset=0 negoFlags=0 request=ff00 config=0 id=0 width=0 factor=ff offset=0 request=ff00 config=0 negoFlags=0 mptscsih: ioc1: Sending Command 0x12 for (0:0:0) set_dvflags: id=8 lun=0 negoNvram=0 cmd=12 mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe03aa0,mr=0000000000000000,idx=71) mptscsih: ioc1: Sending Command 0x12 for (0:0:0) set_dvflags: id=9 lun=0 negoNvram=0 cmd=12 mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe03b60,mr=0000000000000000,idx=73) mptscsih: ioc1: Setting Max: Setting Max: id=0 width=1 factor=8 offset=7f negoFlags=0 request=207f0807 config=0 id=0 width=1 factor=8 offset=7f flags=0 request=207f0807 configuration=0 mptscsih: ioc1: Sending Command 0x12 for (0:0:0) set_dvflags: id=10 lun=0 negoNvram=0 cmd=12 mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe03c80,mr=0000000000000000,idx=76) mptscsih: ioc1: Updating with SDP0 Data: id=0 width=1 factor=8 offset=7f flags=0 mptscsih: ioc1: DV:Inquiry compared id=0, calling initTarget mptscsih: ioc1: DV: Basic test on id=0 completed OK. mptscsih: ioc1: Sending Command 0x0 for (0:0:0) set_dvflags: id=11 lun=0 negoNvram=0 cmd=12 mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe03da0,mr=0000000000000000,idx=79) mptscsih: ioc1: Sending Command 0x3c for (0:0:0) set_dvflags: id=12 lun=0 negoNvram=0 cmd=12 mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe03e60,mr=0000000000000000,idx=81) ReadBuffer Comp Code 0 buff: 1 0 1 fc mptscsih: ioc1: Sending Command 0x3c for (0:0:0) set_dvflags: id=13 lun=0 negoNvram=0 cmd=12 mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe03f20,mr=0000000000000000,idx=83) ReadBuffer Comp Code 0 buff: 2 73 d0 0 mptscsih: ioc1: Echo Buffer Capacity 508 Pattern 0 mptscsih: ioc1: Sending Command 0x16 for (0:0:0) set_dvflags: id=14 lun=0 negoNvram=0 cmd=12 mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe03fe0,mr=0000000000000000,idx=85) mptscsih: ioc1: Sending Command 0x3b for (0:0:0) set_dvflags: id=15 lun=0 negoNvram=0 cmd=12 mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe040a0,mr=0000000000000000,idx=87) mptscsih: ioc1: Sending Command 0x3c for (0:0:0) mice: PS/2 mouse device common for all mice mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe04160,mr=0000000000000000,idx=89) md: raid0 personality registered as nr 2 md: raid1 personality registered as nr 3 md: md driver 0.90.2 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: bitmap version 3.38 NET: Registered protocol family 2 input: AT Translated Set 2 keyboard on isa0060/serio0 Pattern 1 mptscsih: ioc1: Sending Command 0x3b for (0:0:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe041c0,mr=0000000000000000,idx=90) mptscsih: ioc1: Sending Command 0x3c for (0:0:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe04220,mr=0000000000000000,idx=91) Pattern 2 mptscsih: ioc1: Sending Command 0x3b for (0:0:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe04280,mr=0000000000000000,idx=92) mptscsih: ioc1: Sending Command 0x3c for (0:0:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe042e0,mr=0000000000000000,idx=93) Pattern 3 mptscsih: ioc1: Sending Command 0x3b for (0:0:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe04340,mr=0000000000000000,idx=94) mptscsih: ioc1: Sending Command 0x3c for (0:0:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe043a0,mr=0000000000000000,idx=95) mptscsih: ioc1: Sending Command 0x17 for (0:0:0) IP route cache hash table entries: 262144 (order: 9, 2097152 bytes) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe04400,mr=0000000000000000,idx=96) TCP established hash table entries: 262144 (order: 10, 4194304 bytes) TCP bind hash table entries: 65536 (order: 8, 1048576 bytes) TCP: Hash tables configured (established 262144 bind 65536) TCP reno registered TCP bic registered logips2pp: Detected unknown logitech mouse model 1 NET: Registered protocol family 1 NET: Registered protocol family 17 mptscsih: ioc1: Saving to Target structure: id=0 width=1 factor=8 offset=127 flags=0 mptscsih: ioc1: DV Done id=0 powernow-k8: Found 4 AMD Athlon 64 / Opteron processors (version 1.50.3) powernow-k8: 0 : fid 0xe (2200 MHz), vid 0x2 (1500 mV) powernow-k8: 1 : fid 0xc (2000 MHz), vid 0x6 (1400 mV) powernow-k8: 2 : fid 0xa (1800 MHz), vid 0xa (1300 mV) powernow-k8: 3 : fid 0x2 (1000 MHz), vid 0xe (1200 mV) cpu_init done, current fid 0xe, vid 0x2 input: ImExPS/2 Logitech Explorer Mouse on isa0060/serio1 powernow-k8: 0 : fid 0xe (2200 MHz), vid 0x2 (1500 mV) powernow-k8: 1 : fid 0xc (2000 MHz), vid 0x6 (1400 mV) powernow-k8: 2 : fid 0xa (1800 MHz), vid 0xa (1300 mV) powernow-k8: 3 : fid 0x2 (1000 MHz), vid 0xe (1200 mV) cpu_init done, current fid 0xe, vid 0x2 powernow-k8: 0 : fid 0xe (2200 MHz), vid 0x2 (1500 mV) powernow-k8: 1 : fid 0xc (2000 MHz), vid 0x6 (1400 mV) powernow-k8: 2 : fid 0xa (1800 MHz), vid 0xa (1300 mV) powernow-k8: 3 : fid 0x2 (1000 MHz), vid 0xe (1200 mV) cpu_init done, current fid 0xe, vid 0x2 powernow-k8: 0 : fid 0xe (2200 MHz), vid 0x2 (1500 mV) powernow-k8: 1 : fid 0xc (2000 MHz), vid 0x6 (1400 mV) powernow-k8: 2 : fid 0xa (1800 MHz), vid 0xa (1300 mV) powernow-k8: 3 : fid 0x2 (1000 MHz), vid 0xe (1200 mV) cpu_init done, current fid 0xe, vid 0x2 mptscsih: ioc1: DV started: bus=0, id=1 dv @ ffff810081ab3dd8 mptscsih: ioc1: Getting NVRAM: id=1 width=1 factor=8 offset=7f flags=0 mptscsih: ioc1: DV: Start Basic test on id=1 mptscsih: ioc1: Setting Min: Setting Min: id=1 width=0 factor=ff offset=0 negoFlags=0 request=ff00 config=0 id=1 width=0 factor=ff offset=0 request=ff00 config=0 negoFlags=0 mptscsih: ioc1: Sending Command 0x12 for (0:1:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe044c0,mr=0000000000000000,idx=98) mptscsih: ioc1: Sending Command 0x12 for (0:1:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe04520,mr=0000000000000000,idx=99) mptscsih: ioc1: Setting Max: Setting Max: id=1 width=1 factor=8 offset=7f negoFlags=0 request=207f0807 config=0 id=1 width=1 factor=8 offset=7f flags=0 request=207f0807 configuration=0 mptscsih: ioc1: Sending Command 0x12 for (0:1:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe045e0,mr=0000000000000000,idx=101) mptscsih: ioc1: Updating with SDP0 Data: id=1 width=1 factor=8 offset=7f flags=0 mptscsih: ioc1: DV:Inquiry compared id=1, calling initTarget mptscsih: ioc1: DV: Basic test on id=1 completed OK. mptscsih: ioc1: Sending Command 0x0 for (0:1:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe046a0,mr=0000000000000000,idx=103) mptscsih: ioc1: Sending Command 0x3c for (0:1:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe04700,mr=0000000000000000,idx=104) ReadBuffer Comp Code 0 buff: 1 0 1 fc mptscsih: ioc1: Sending Command 0x3c for (0:1:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe04760,mr=0000000000000000,idx=105) ReadBuffer Comp Code 0 buff: 2 73 d0 0 mptscsih: ioc1: Echo Buffer Capacity 508 Pattern 0 mptscsih: ioc1: Sending Command 0x16 for (0:1:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe047c0,mr=0000000000000000,idx=106) mptscsih: ioc1: Sending Command 0x3b for (0:1:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe04820,mr=0000000000000000,idx=107) mptscsih: ioc1: Sending Command 0x3c for (0:1:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe04880,mr=0000000000000000,idx=108) Pattern 1 mptscsih: ioc1: Sending Command 0x3b for (0:1:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe048e0,mr=0000000000000000,idx=109) mptscsih: ioc1: Sending Command 0x3c for (0:1:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe04940,mr=0000000000000000,idx=110) Pattern 2 mptscsih: ioc1: Sending Command 0x3b for (0:1:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe049a0,mr=0000000000000000,idx=111) mptscsih: ioc1: Sending Command 0x3c for (0:1:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe04a00,mr=0000000000000000,idx=112) Pattern 3 mptscsih: ioc1: Sending Command 0x3b for (0:1:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe04a60,mr=0000000000000000,idx=113) mptscsih: ioc1: Sending Command 0x3c for (0:1:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe04ac0,mr=0000000000000000,idx=114) mptscsih: ioc1: Sending Command 0x17 for (0:1:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe04b20,mr=0000000000000000,idx=115) mptscsih: ioc1: Saving to Target structure: id=1 width=1 factor=8 offset=127 flags=0 mptscsih: ioc1: DV Done id=1 mptscsih: ioc1: DV started: bus=0, id=2 dv @ ffff810081ab3dd8 mptscsih: ioc1: Getting NVRAM: id=2 width=1 factor=8 offset=7f flags=0 mptscsih: ioc1: DV: Start Basic test on id=2 mptscsih: ioc1: Setting Min: Setting Min: id=2 width=0 factor=ff offset=0 negoFlags=0 request=ff00 config=0 id=2 width=0 factor=ff offset=0 request=ff00 config=0 negoFlags=0 mptscsih: ioc1: Sending Command 0x12 for (0:2:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe04be0,mr=0000000000000000,idx=117) mptscsih: ioc1: Sending Command 0x12 for (0:2:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe04c40,mr=0000000000000000,idx=118) mptscsih: ioc1: Setting Max: Setting Max: id=2 width=1 factor=8 offset=7f negoFlags=0 request=207f0807 config=0 id=2 width=1 factor=8 offset=7f flags=0 request=207f0807 configuration=0 mptscsih: ioc1: Sending Command 0x12 for (0:2:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe04d00,mr=0000000000000000,idx=120) mptscsih: ioc1: Updating with SDP0 Data: id=2 width=1 factor=8 offset=7f flags=0 mptscsih: ioc1: DV:Inquiry compared id=2, calling initTarget mptscsih: ioc1: DV: Basic test on id=2 completed OK. mptscsih: ioc1: Sending Command 0x0 for (0:2:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe04dc0,mr=0000000000000000,idx=122) mptscsih: ioc1: Sending Command 0x3c for (0:2:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe04e20,mr=0000000000000000,idx=123) ReadBuffer Comp Code 0 buff: 1 0 1 fc mptscsih: ioc1: Sending Command 0x3c for (0:2:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe04e80,mr=0000000000000000,idx=124) ReadBuffer Comp Code 0 buff: 2 73 d0 0 mptscsih: ioc1: Echo Buffer Capacity 508 Pattern 0 mptscsih: ioc1: Sending Command 0x16 for (0:2:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe04ee0,mr=0000000000000000,idx=125) mptscsih: ioc1: Sending Command 0x3b for (0:2:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe04f40,mr=0000000000000000,idx=126) mptscsih: ioc1: Sending Command 0x3c for (0:2:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe04fa0,mr=0000000000000000,idx=127) Pattern 1 mptscsih: ioc1: Sending Command 0x3b for (0:2:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe05000,mr=0000000000000000,idx=128) mptscsih: ioc1: Sending Command 0x3c for (0:2:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe05060,mr=0000000000000000,idx=129) Pattern 2 mptscsih: ioc1: Sending Command 0x3b for (0:2:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe050c0,mr=0000000000000000,idx=130) mptscsih: ioc1: Sending Command 0x3c for (0:2:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe05120,mr=0000000000000000,idx=131) Pattern 3 mptscsih: ioc1: Sending Command 0x3b for (0:2:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe05180,mr=0000000000000000,idx=132) mptscsih: ioc1: Sending Command 0x3c for (0:2:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe051e0,mr=0000000000000000,idx=133) mptscsih: ioc1: Sending Command 0x17 for (0:2:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe05240,mr=0000000000000000,idx=134) mptscsih: ioc1: Saving to Target structure: id=2 width=1 factor=8 offset=127 flags=0 mptscsih: ioc1: DV Done id=2 mptscsih: ioc1: DV started: bus=0, id=3 dv @ ffff810081ab3dd8 mptscsih: ioc1: Getting NVRAM: id=3 width=1 factor=8 offset=7f flags=0 mptscsih: ioc1: DV: Start Basic test on id=3 mptscsih: ioc1: Setting Min: Setting Min: id=3 width=0 factor=ff offset=0 negoFlags=0 request=ff00 config=0 id=3 width=0 factor=ff offset=0 request=ff00 config=0 negoFlags=0 mptscsih: ioc1: Sending Command 0x12 for (0:3:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe05300,mr=0000000000000000,idx=136) mptscsih: ioc1: Sending Command 0x12 for (0:3:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe05360,mr=0000000000000000,idx=137) mptscsih: ioc1: Setting Max: Setting Max: id=3 width=1 factor=8 offset=7f negoFlags=0 request=207f0807 config=0 id=3 width=1 factor=8 offset=7f flags=0 request=207f0807 configuration=0 mptscsih: ioc1: Sending Command 0x12 for (0:3:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe05420,mr=0000000000000000,idx=139) mptscsih: ioc1: Updating with SDP0 Data: id=3 width=1 factor=8 offset=7f flags=0 mptscsih: ioc1: DV:Inquiry compared id=3, calling initTarget mptscsih: ioc1: DV: Basic test on id=3 completed OK. mptscsih: ioc1: Sending Command 0x0 for (0:3:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe054e0,mr=0000000000000000,idx=141) mptscsih: ioc1: Sending Command 0x3c for (0:3:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe05540,mr=0000000000000000,idx=142) ReadBuffer Comp Code 0 buff: 1 0 1 fc mptscsih: ioc1: Sending Command 0x3c for (0:3:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe055a0,mr=0000000000000000,idx=143) ReadBuffer Comp Code 0 buff: 2 73 d0 0 mptscsih: ioc1: Echo Buffer Capacity 508 Pattern 0 mptscsih: ioc1: Sending Command 0x16 for (0:3:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe05600,mr=0000000000000000,idx=144) mptscsih: ioc1: Sending Command 0x3b for (0:3:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe05660,mr=0000000000000000,idx=145) mptscsih: ioc1: Sending Command 0x3c for (0:3:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe056c0,mr=0000000000000000,idx=146) Pattern 1 mptscsih: ioc1: Sending Command 0x3b for (0:3:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe05720,mr=0000000000000000,idx=147) mptscsih: ioc1: Sending Command 0x3c for (0:3:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe05780,mr=0000000000000000,idx=148) Pattern 2 mptscsih: ioc1: Sending Command 0x3b for (0:3:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe057e0,mr=0000000000000000,idx=149) mptscsih: ioc1: Sending Command 0x3c for (0:3:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe05840,mr=0000000000000000,idx=150) Pattern 3 mptscsih: ioc1: Sending Command 0x3b for (0:3:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe058a0,mr=0000000000000000,idx=151) mptscsih: ioc1: Sending Command 0x3c for (0:3:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe05900,mr=0000000000000000,idx=152) mptscsih: ioc1: Sending Command 0x17 for (0:3:0) mptscsih: ioc1: ScanDvComplete (mf=ffff81007fe05960,mr=0000000000000000,idx=153) mptscsih: ioc1: Saving to Target structure: id=3 width=1 factor=8 offset=127 flags=0 mptscsih: ioc1: DV Done id=3 md: Autodetecting RAID arrays. md: autorun ... md: considering sdj1 ... md: adding sdj1 ... md: sdi1 has different UUID to sdj1 md: sdh1 has different UUID to sdj1 md: sdg1 has different UUID to sdj1 md: adding sdf1 ... md: sde1 has different UUID to sdj1 md: sdd1 has different UUID to sdj1 md: sdc1 has different UUID to sdj1 md: sdb3 has different UUID to sdj1 md: sdb2 has different UUID to sdj1 md: sdb1 has different UUID to sdj1 md: sda3 has different UUID to sdj1 md: sda2 has different UUID to sdj1 md: sda1 has different UUID to sdj1 md: created md6 md: bind<sdf1> md: bind<sdj1> md: running: <sdj1><sdf1> raid1: raid set md6 active with 2 out of 2 mirrors md: considering sdi1 ... md: adding sdi1 ... md: sdh1 has different UUID to sdi1 md: sdg1 has different UUID to sdi1 md: adding sde1 ... md: sdd1 has different UUID to sdi1 md: sdc1 has different UUID to sdi1 md: sdb3 has different UUID to sdi1 md: sdb2 has different UUID to sdi1 md: sdb1 has different UUID to sdi1 md: sda3 has different UUID to sdi1 md: sda2 has different UUID to sdi1 md: sda1 has different UUID to sdi1 md: created md5 md: bind<sde1> md: bind<sdi1> md: running: <sdi1><sde1> raid1: raid set md5 active with 2 out of 2 mirrors md: considering sdh1 ... md: adding sdh1 ... md: sdg1 has different UUID to sdh1 md: adding sdd1 ... md: sdc1 has different UUID to sdh1 md: sdb3 has different UUID to sdh1 md: sdb2 has different UUID to sdh1 md: sdb1 has different UUID to sdh1 md: sda3 has different UUID to sdh1 md: sda2 has different UUID to sdh1 md: sda1 has different UUID to sdh1 md: created md4 md: bind<sdd1> md: bind<sdh1> md: running: <sdh1><sdd1> raid1: raid set md4 active with 2 out of 2 mirrors md: considering sdg1 ... md: adding sdg1 ... md: adding sdc1 ... md: sdb3 has different UUID to sdg1 md: sdb2 has different UUID to sdg1 md: sdb1 has different UUID to sdg1 md: sda3 has different UUID to sdg1 md: sda2 has different UUID to sdg1 md: sda1 has different UUID to sdg1 md: created md3 md: bind<sdc1> md: bind<sdg1> md: running: <sdg1><sdc1> raid1: raid set md3 active with 2 out of 2 mirrors md: considering sdb3 ... md: adding sdb3 ... md: sdb2 has different UUID to sdb3 md: sdb1 has different UUID to sdb3 md: adding sda3 ... md: sda2 has different UUID to sdb3 md: sda1 has different UUID to sdb3 md: created md2 md: bind<sda3> md: bind<sdb3> md: running: <sdb3><sda3> raid1: raid set md2 active with 2 out of 2 mirrors md: considering sdb2 ... md: adding sdb2 ... md: sdb1 has different UUID to sdb2 md: adding sda2 ... md: sda1 has different UUID to sdb2 md: created md1 md: bind<sda2> md: bind<sdb2> md: running: <sdb2><sda2> raid1: raid set md1 active with 2 out of 2 mirrors md: considering sdb1 ... md: adding sdb1 ... md: adding sda1 ... md: created md0 md: bind<sda1> md: bind<sdb1> md: running: <sdb1><sda1> raid1: raid set md0 active with 2 out of 2 mirrors md: ... autorun DONE. kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Freeing unused kernel memory: 208k freed usbcore: registered new driver usbfs usbcore: registered new driver hub hdb: ATAPI 24X DVD-ROM DVD-R CD-R/RW drive, 2193kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20 Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) ACPI: PCI Interrupt 0000:01:00.0[D] -> GSI 19 (level, low) -> IRQ 209 ohci_hcd 0000:01:00.0: Advanced Micro Devices [AMD] AMD-8111 USB ohci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1 ohci_hcd 0000:01:00.0: irq 209, io mem 0xfc100000 hub 1-0:1.0: USB hub found hub 1-0:1.0: 3 ports detected ACPI: PCI Interrupt 0000:01:00.1[D] -> GSI 19 (level, low) -> IRQ 209 ohci_hcd 0000:01:00.1: Advanced Micro Devices [AMD] AMD-8111 USB (#2) ohci_hcd 0000:01:00.1: new USB bus registered, assigned bus number 2 ohci_hcd 0000:01:00.1: irq 209, io mem 0xfc101000 hub 2-0:1.0: USB hub found hub 2-0:1.0: 3 ports detected ACPI: Power Button (FF) [PWRF] ACPI: Power Button (CM) [PWRB] md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. EXT3 FS on md0, internal journal kjournald starting. Commit interval 5 seconds EXT3 FS on md1, internal journal EXT3-fs: mounted filesystem with ordered data mode. Adding 15631160k swap on /dev/md2. Priority:-1 extents:1 ^ permalink raw reply [flat|nested] 14+ messages in thread
* RE: As of 2.6.13-rc1 Fusion-MPT very slow 2005-08-09 12:16 ` Holger Kiehl @ 2005-08-30 15:28 ` tony.luck 2005-08-30 21:49 ` tony.luck 0 siblings, 1 reply; 14+ messages in thread From: tony.luck @ 2005-08-30 15:28 UTC (permalink / raw) To: Holger Kiehl Cc: Moore, Eric Dean, James Bottomley, Andrew Morton, linux-kernel, SCSI Mailing List, linux-ia64 This is alive and well in 2.6.13 (final) on ia64. Excerpts from dmesg when booting: Fusion MPT base driver 3.03.02 Copyright (c) 1999-2005 LSI Logic Corporation Fusion MPT SPI Host driver 3.03.02 GSI 28 (level, low) -> CPU 1 (0xc218) vector 49 ACPI: PCI Interrupt 0000:06:02.0[A] -> GSI 28 (level, low) -> IRQ 49 mptbase: Initiating ioc0 bringup ioc0: 53C1030: Capabilities={Initiator} scsi0 : ioc0: LSI53C1030, FwRev=01030a00h, Ports=1, MaxQ=255, IRQ=49 Vendor: QUANTUM Model: ATLAS IV 9 SCA Rev: 0B0B Type: Direct-Access ANSI SCSI revision: 03 SCSI device sda: 17942584 512-byte hdwr sectors (9187 MB) SCSI device sda: drive cache: write back SCSI device sda: 17942584 512-byte hdwr sectors (9187 MB) SCSI device sda: drive cache: write back sda: sda1 sda2 sda3 Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 Vendor: MAXTOR Model: ATLAS10K4_73SCA Rev: DFV0 Type: Direct-Access ANSI SCSI revision: 03 SCSI device sdb: 143666192 512-byte hdwr sectors (73557 MB) SCSI device sdb: drive cache: write back SCSI device sdb: 143666192 512-byte hdwr sectors (73557 MB) SCSI device sdb: drive cache: write back sdb: sdb1 Attached scsi disk sdb at scsi0, channel 0, id 1, lun 0 Vendor: ESG-SHV Model: SCA HSBP M17 Rev: 1.0D Type: Processor ANSI SCSI revision: 02 GSI 29 (level, low) -> CPU 2 (0xc418) vector 50 ACPI: PCI Interrupt 0000:06:02.1[B] -> GSI 29 (level, low) -> IRQ 50 mptbase: Initiating ioc1 bringup ioc1: 53C1030: Capabilities={Initiator} scsi1 : ioc1: LSI53C1030, FwRev=01030a00h, Ports=1, MaxQ=255, IRQ=50 Fusion MPT FC Host driver 3.03.02 Fusion MPT misc device (ioctl) driver 3.03.02 mptctl: Registered with Fusion MPT base driver mptctl: /dev/mptctl @ (major,minor=10,220) When I'm up and running, measure the speed of sda and sdb: # hdparm -t /dev/sda /dev/sda: Timing buffered disk reads: 62 MB in 3.02 seconds = 20.56 MB/sec [This is VERY consistent from run to run, 20.56 MB/s every time]. # hdparm -t /dev/sdb /dev/sdb: Timing buffered disk reads: 2 MB in 4.04 seconds = 53.79 kB/sec [Speed on sdb is very erratic ... 53.79 KB/s is the worst I saw in half a dozen tests ... but first try after boot was 47.14 MB/s, and I see intermediate rates all over the map: 545.42 KB/s, 5.13 MB/s, 32.61 MB/s] dmesg shows some messages like this: mptscsih: ioc0: >> Attempting task abort! (sc=e0000001fceb4c80) mptbase: ioc0: IOCStatus(0x0048): SCSI Task Terminated mptscsih: ioc0: >> Attempting task abort! (sc=e0000001fceb5080) mptbase: ioc0: IOCStatus(0x0048): SCSI Task Terminated mptscsih: ioc0: >> Attempting task abort! (sc=e0000001fceb6e80) mptbase: ioc0: IOCStatus(0x0048): SCSI Task Terminated mptscsih: ioc0: >> Attempting task abort! (sc=e0000001fceb7a80) mptbase: ioc0: IOCStatus(0x0048): SCSI Task Terminated Sometimes there are floods of these, other times just a few ... e.g. I saw just those 8 lines after ten iterations of "hdparm -t /dev/hdb". -Tony ^ permalink raw reply [flat|nested] 14+ messages in thread
* RE: As of 2.6.13-rc1 Fusion-MPT very slow 2005-08-30 15:28 ` tony.luck @ 2005-08-30 21:49 ` tony.luck 0 siblings, 0 replies; 14+ messages in thread From: tony.luck @ 2005-08-30 21:49 UTC (permalink / raw) To: Holger Kiehl Cc: Moore, Eric Dean, James Bottomley, Andrew Morton, linux-kernel, SCSI Mailing List, linux-ia64 > This is alive and well in 2.6.13 (final) on ia64. Or perhaps not. When I went into the machine room to take a look at this machine, I found that the disk drive in question was making some very bad noises. A few minutes later it stopped responding at all. Putting in a new drive, I see a consistent 51 MB/s on /dev/sdb Sorry for the noise. -Tony ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <91888D455306F94EBD4D168954A9457C035CB329@nacos172.co.lsil.com>]
* Re: As of 2.6.13-rc1 Fusion-MPT very slow [not found] <91888D455306F94EBD4D168954A9457C035CB329@nacos172.co.lsil.com> @ 2005-07-30 0:51 ` Andrew Morton 2005-08-01 10:15 ` Holger Kiehl 0 siblings, 1 reply; 14+ messages in thread From: Andrew Morton @ 2005-07-30 0:51 UTC (permalink / raw) To: Moore, Eric Dean; +Cc: Holger.Kiehl, linux-kernel, linux-scsi "Moore, Eric Dean" <Eric.Moore@lsil.com> wrote: > > Regarding the 1st issue, can you try this patch out. It maybe in the > -mm branch. Andrew cc'd on this email can confirm. > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc3/2.6 > .13-rc3-mm3/broken-out/mpt-fusion-dv-fixes.patch Yes, that's part of 2.6.13-rc3-mm3. ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: As of 2.6.13-rc1 Fusion-MPT very slow 2005-07-30 0:51 ` Andrew Morton @ 2005-08-01 10:15 ` Holger Kiehl 0 siblings, 0 replies; 14+ messages in thread From: Holger Kiehl @ 2005-08-01 10:15 UTC (permalink / raw) To: Andrew Morton; +Cc: Moore, Eric Dean, linux-kernel, linux-scsi On Fri, 29 Jul 2005, Andrew Morton wrote: > "Moore, Eric Dean" <Eric.Moore@lsil.com> wrote: >> >> Regarding the 1st issue, can you try this patch out. It maybe in the >> -mm branch. Andrew cc'd on this email can confirm. >> >> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc3/2.6 >> .13-rc3-mm3/broken-out/mpt-fusion-dv-fixes.patch > > Yes, that's part of 2.6.13-rc3-mm3. > The patch makes no difference. Still get the following results when fusion is compiled in: sdc 74MB/s sdd 2MB/s sde 2MB/s sdf 2MB/s On second channel: sdg 74MB/s sdh 74MB/s sdi 74MB/s sdj 74MB/s The patch was applied to linux-2.6.13-rc4-git3. Here part of dmesg output: Fusion MPT base driver 3.03.02 Copyright (c) 1999-2005 LSI Logic Corporation Fusion MPT SPI Host driver 3.03.02 ACPI: PCI Interrupt 0000:02:04.0[A] -> GSI 24 (level, low) -> IRQ 217 mptbase: Initiating ioc0 bringup ioc0: 53C1030: Capabilities={Initiator,Target} scsi4 : ioc0: LSI53C1030, FwRev=01032700h, Ports=1, MaxQ=255, IRQ=217 Vendor: FUJITSU Model: MAS3735NP Rev: 0104 Type: Direct-Access ANSI SCSI revision: 03 SCSI device sdc: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sdc: drive cache: write back SCSI device sdc: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sdc: drive cache: write back sdc: sdc1 Attached scsi disk sdc at scsi4, channel 0, id 0, lun 0 Vendor: FUJITSU Model: MAS3735NP Rev: 0104 Type: Direct-Access ANSI SCSI revision: 03 SCSI device sdd: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sdd: drive cache: write back SCSI device sdd: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sdd: drive cache: write back sdd: sdd1 Attached scsi disk sdd at scsi4, channel 0, id 1, lun 0 Vendor: FUJITSU Model: MAS3735NP Rev: 0104 Type: Direct-Access ANSI SCSI revision: 03 SCSI device sde: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sde: drive cache: write back SCSI device sde: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sde: drive cache: write back sde: sde1 Attached scsi disk sde at scsi4, channel 0, id 2, lun 0 Vendor: FUJITSU Model: MAS3735NP Rev: 0104 Type: Direct-Access ANSI SCSI revision: 03 SCSI device sdf: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sdf: drive cache: write back SCSI device sdf: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sdf: drive cache: write back sdf: sdf1 Attached scsi disk sdf at scsi4, channel 0, id 3, lun 0 ACPI: PCI Interrupt 0000:02:04.1[B] -> GSI 25 (level, low) -> IRQ 225 mptbase: Initiating ioc1 bringup ioc1: 53C1030: Capabilities={Initiator,Target} scsi5 : ioc1: LSI53C1030, FwRev=01032700h, Ports=1, MaxQ=255, IRQ=225 Vendor: FUJITSU Model: MAS3735NP Rev: 0104 Type: Direct-Access ANSI SCSI revision: 03 SCSI device sdg: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sdg: drive cache: write back SCSI device sdg: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sdg: drive cache: write back sdg: sdg1 Attached scsi disk sdg at scsi5, channel 0, id 0, lun 0 Vendor: FUJITSU Model: MAS3735NP Rev: 0104 Type: Direct-Access ANSI SCSI revision: 03 SCSI device sdh: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sdh: drive cache: write back SCSI device sdh: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sdh: drive cache: write back sdh: sdh1 Attached scsi disk sdh at scsi5, channel 0, id 1, lun 0 Vendor: FUJITSU Model: MAS3735NP Rev: 0104 Type: Direct-Access ANSI SCSI revision: 03 SCSI device sdi: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sdi: drive cache: write back SCSI device sdi: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sdi: drive cache: write back sdi: sdi1 Attached scsi disk sdi at scsi5, channel 0, id 2, lun 0 Vendor: FUJITSU Model: MAS3735NP Rev: 0104 Type: Direct-Access ANSI SCSI revision: 03 SCSI device sdj: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sdj: drive cache: write back SCSI device sdj: 143552136 512-byte hdwr sectors (73499 MB) SCSI device sdj: drive cache: write back sdj: sdj1 Attached scsi disk sdj at scsi5, channel 0, id 3, lun 0 Anything else I can try or provide? Holger ^ permalink raw reply [flat|nested] 14+ messages in thread
* As of 2.6.13-rc1 Fusion-MPT very slow
@ 2005-07-26 10:52 Holger Kiehl
0 siblings, 0 replies; 14+ messages in thread
From: Holger Kiehl @ 2005-07-26 10:52 UTC (permalink / raw)
To: linux-kernel; +Cc: linux-scsi
Hello
On a four CPU Opteron with Fusion-MPT compiled in, I get the following
results (up to 2.6.13-rc3-git7) with hdparm on the first channel with
four disks:
sdc 74 MB/s
sdd 2 MB/s
sde 2 MB/s
sdf 2 MB/s
On the second channel also with the same type of disks:
sdg 74 MB/s
sdh 74 MB/s
sdi 74 MB/s
sdj 74 MB/s
All disk are of the same type. Compiling Fusion-MPT as module for the
same kernel I get 74 MB/s for all eight disks. Taking kernel 2.6.12.2 and
compile it in, all eigth disks give the expected performance of 74 MB/s.
When I exchange the two cables, put the first cable on second channel and
second cable on first channel, always sdd, sde and sdf will only get
approx. 2 MB/s with any 2.6.13-* kernels.
Another problem observed with 2.6.13-rc3-git7 and Fusion-MPT compiled in
is when making a ext3 filesystem over those eight disks (software Raid10),
makes mke2fs hang for a very long time in D-state and /var/log/messages
writting a lot of these messages:
mptscsih: ioc0: >> Attempting task abort! (sc=ffff81014ead3ac0)
mptscsih: ioc0: >> Attempting task abort! (sc=ffff81014ead38c0)
mptscsih: ioc0: >> Attempting task abort! (sc=ffff81014ead36c0)
mptscsih: ioc0: >> Attempting task abort! (sc=ffff81014ead34c0)
.
.
.
And finally, when I do a halt or powerdown just after all filesystems
are unmounted the fusion driver tells me that it puts the two controllers
in power save mode. Then kernel whants to flush the SCSI disks but
hangs forever. This does not happen when doing a reboot.
Holger
--
^ permalink raw reply [flat|nested] 14+ messages in threadend of thread, other threads:[~2005-08-30 21:50 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-01 15:31 As of 2.6.13-rc1 Fusion-MPT very slow Moore, Eric Dean
2005-08-01 15:40 ` Holger Kiehl
2005-08-06 17:53 ` James Bottomley
2005-08-06 21:12 ` Holger Kiehl
2005-08-06 22:07 ` James Bottomley
2005-08-07 5:59 ` Holger Kiehl
2005-08-07 14:29 ` James Bottomley
-- strict thread matches above, loose matches on Subject: below --
2005-08-08 18:27 Moore, Eric Dean
2005-08-09 12:16 ` Holger Kiehl
2005-08-30 15:28 ` tony.luck
2005-08-30 21:49 ` tony.luck
[not found] <91888D455306F94EBD4D168954A9457C035CB329@nacos172.co.lsil.com>
2005-07-30 0:51 ` Andrew Morton
2005-08-01 10:15 ` Holger Kiehl
2005-07-26 10:52 Holger Kiehl
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox