Slow speed detection for mpt0 (LSI 1030) for 5.4

Alexander Ilin kalend at ripn.net
Thu Sep 1 15:21:07 GMT 2005


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: <LSILogic 1030 Ultra4 Adapter> 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: <LSILogic 1030 Ultra4 Adapter> 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: <FUJITSU MAT3073NC 0108> 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: <FUJITSU MAT3073NC 0108> 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


More information about the freebsd-scsi mailing list