On Saturday 16 December 2006 22:03, Moore, Eric wrote: > On Sat 12/16/2006 8:28 AM, James Bottomley wrote: > >> [17179724.816000] Fusion MPT base driver 3.03.07 > >> [17179724.816000] Copyright (c) 1999-2005 LSI Logic Corporation > >> [17179724.832000] Fusion MPT SPI Host driver 3.03.07 > > 3.03.07 driver is about a year old. Which kernel and distro > are you on?
Eric, thanks for your help. Its 2.6.16.36 on Debian Sarge, using most recent
kernel version is not always a good idea on server systems - too many
regressions.
Attached is dmesg output from 2.6.19.1.
>
> >> [17179726.100000] sda:<6>sd 0:0:1:0: SCSI error: return code = 0xb0000
> >> [17179726.132000] end_request: I/O error, dev sda, sector 12691101688
> >
> > This is definitely a fusion driver error: it's DID_SOFT_ERROR, which
> > that driver returns for a variety of firmware related conditions or
> > transfer underruns.
>
> Correct, DID_SOFT_ERROR is returned in many cases.
>
> Can you recompile the driver with some debug messages enabled
> in the driver Makefile so I can observe the return codes from firmware.
> You will need to uncomment MPT_DEBUG_REPLY in the Makefile.
Sure, its enabled now.
>
>
> FwRev=01030600h is version 1.03.06, which is quite old. Try
> obtaining a newer one from the lsi download site. I believe
> the newest fw internally is 1.03.34.
Until Monday I don't have physical access to the machine, so an update from
DOS is not possible now. However, I see there is also a linux mptflash, I
just can't get it compiled.
gcc -g -O -Wall -I.. -c -o mptflash.o mptflash.c
In file included from ../mptbase.h:58,
from mptflash.c:13:
../linux_compat.h:9:30: error: scsi/scsi_device.h: No such file or directory
../linux_compat.h:10:28: error: scsi/scsi_cmnd.h: No such file or directory
The kernel_headers in Debian don't have these files and including the header
files directly from the kernel tree doesn't work.
Do you have newer sources (the most recent version I could find are from
mptlinux-3.02.60) or a working binary?
Thanks,
Bernd
--
Bernd Schubert
PCI / Theoretische Chemie
Universität Heidelberg
INF 229
69120 Heidelberg
dmesg.log.gz
Description: GNU Zip compressed data

