From owner-freebsd-scsi@FreeBSD.ORG Thu Sep 1 15:21:06 2005 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDBD616A41F for ; Thu, 1 Sep 2005 15:21:06 +0000 (GMT) (envelope-from kalend@vision.ripn.net) Received: from vision.ripn.net (vision.ripn.net [195.19.26.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 266DE43D48 for ; Thu, 1 Sep 2005 15:21:05 +0000 (GMT) (envelope-from kalend@vision.ripn.net) Received: from kalend by vision.ripn.net with local (RIPN) id 1EAqsA-0009Nt-3Q; Thu, 01 Sep 2005 19:21:02 +0400 Date: Thu, 1 Sep 2005 19:21:02 +0400 From: Alexander Ilin To: Scott Long Message-ID: <20050901152102.GQ34122@ripn.net> References: <20050901132452.GJ34122@ripn.net> <43170424.8040602@samsco.org> <20050901143437.GN34122@ripn.net> <431711D8.4050307@samsco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <431711D8.4050307@samsco.org> User-Agent: Mutt/1.5.9i Cc: freebsd-scsi@freebsd.org Subject: Re: Slow speed detection for mpt0 (LSI 1030) for 5.4 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Sep 2005 15:21:07 -0000 On Thu, Sep 01, 2005 at 08:36:08AM -0600, Scott Long wrote: > Alexander Ilin wrote: > >On Thu, Sep 01, 2005 at 07:37:40AM -0600, Scott Long wrote: > > > >>Alexander Ilin wrote: > >> > >>>Hello, > >>> > >>>I have so strange problem with SCSI disks at my new Intel Server > >>>SR2400JR2. > >>>I have 4 same disks from one vendor. When I am starting FreeBSD 5.4 (I've > >>>update to last stable version and have no changes with my problem), the > >>>last disk working at lowest possible speed. After manual command > >>>'camcontrol reset 0' it began to work normally. If I remove one of the > >>>disks > >>>before first start - all working fine. Here is my dmesg.boot: > >>> > >> > >>This problem was fixed by a massive overhaul of the driver recently. > >>The changes are in 6-STABLE and 7-CURRENT, but you should be able to > >>apply them to 5-STABLE by just copying the /sys/dev/mpt directory from > >>a HEAD/7-CURRENT tree to your 5-STABLE tree, and recompiling. > >> > >>Scott > > > > > > Hi Scott, great thanks for idea to fixing that. As far as I see the tree > >/sys/dev/mpt have much more differences not only in drivers, but also in > >file > >names. So, I need not only apply the new tree, but also change my config > >files. > >I'll try to do that, but it's not so regular solution. Are there any plans > >to > >fix this in RELENG_5 ? > > > > Regards, > > > > Merging it into RELENG_5 is on my TODO list before 5.5 gets released. > > Scott Thank's for this info. I've applied the new tree from HEAD/7-CURRENT, but it still not working and last disk still starting at slow speed during startap. At the same time mpt driver become more informative: ... mpt0: port 0xc800-0xc8ff mem 0xdedb0000-0xdedbffff,0xdedc0000-0xdedcffff irq 26 at device 5.0 on pci2 mpt0: MPI Version=1.2.14.0 mpt0: Unhandled Event Notify Frame. Event 0xa. mpt0: Capabilities: ( RAID-1E RAID-1 SAFTE ) mpt0: 0 Active Volumes (1 Max) mpt0: 0 Hidden Drive Members (6 Max) mpt1: port 0xcc00-0xccff mem 0xdede0000-0xdedeffff,0xdedf0000-0xdedfffff irq 25 at device 5.1 on pci2 mpt1: MPI Version=1.2.14.0 mpt1: Unhandled Event Notify Frame. Event 0xa. mpt1: Capabilities: ( RAID-1E RAID-1 SAFTE ) mpt1: 0 Active Volumes (1 Max) mpt1: 0 Hidden Drive Members (6 Max) ... da2 at mpt0 bus 0 target 2 lun 0 da2: Fixed Direct Access SCSI-3 device da2: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing Enabled da2: 70136MB (143638992 512 byte sectors: 255H 63S/T 8941C) da3 at mpt0 bus 0 target 3 lun 0 da3: Fixed Direct Access SCSI-3 device da3: 3.300MB/s transfers, Tagged Queueing Enabled da3: 70136MB (143638992 512 byte sectors: 255H 63S/T 8941C) ... ams# dd if=/dev/da3 of=/dev/null bs=16384 count=1000 1000+0 records in 1000+0 records out 16384000 bytes transferred in 8.823145 secs (1856934 bytes/sec) ams# dd if=/dev/da2 of=/dev/null bs=16384 count=1000 1000+0 records in 1000+0 records out 16384000 bytes transferred in 0.192041 secs (85315150 bytes/sec) ams# camcontrol reset 0 Reset of bus 0 was successful ams# dd if=/dev/da3 of=/dev/null bs=16384 count=1000 1000+0 records in 1000+0 records out 16384000 bytes transferred in 0.187955 secs (87169736 bytes/sec) ams# -- Alexander Ilin Russian Institute for Phone:+7(095)192-9179 Public Networks