RE: LSI Logic 40919o fibre channel: scsi works ip not

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mario,

There appears to be a bug in the driver.

Go to mpt_lan_post_receive_buckets(), in mptlan.c.  Find:

		mf = mpt_get_msg_frame(LanCtx, mpt_dev);

Later find:

		pRecvReq = (LANReceivePostRequest_t *) mf;

Below that, should be:

		i = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx);
		mpt_dev->RequestNB[i] = 0;

The above two lines of code are present in some versions of mptctl.c
(the 2.06.xx versions and 3.02.xx versions) but are missing from some
others (3.03.xx, 3.04.xx, and 4.00.xx).

If you can add those two lines of code, rebuild mptctl.ko, and retest,
I believe that should take care of your reported problems.

Let me know, please.

stephen

-----Original Message-----
From: Mario Giammarco [mailto:mgiammarco-ml@xxxxxxxxxxxx] 
Sent: Sunday, February 18, 2007 6:16 AM
To: Shirron, Stephen; linux-scsi@xxxxxxxxxxxxxxx
Cc: Hickerson, Roger
Subject: Re: LSI Logic 40919o fibre channel: scsi works ip not

Shirron, Stephen ha scritto:
> Hi Mario,
> 
> Can you tell me what firmware version you have on your 40919
> card(s)?  The easiest way is to "cat /proc/mpt/summary".

This is summary:
ioc0: LSIFC919, FwRev=02000f00h, Ports=1, 
MaxQ=1023,LanAddr=00:06:2B:07:FA:10, IRQ=209


> 
> How often do the errors occur?  dmesg provides no timestamps,
> while /var/log/messages does.
> 
Sorry but in messagese there is not this error. I can say you that the 
frequency of the error is proportional to data transferred. If I start a

n ftp dmesg output goes crazy.

I have seen this in /var/log/messages (sorry no timestamps again):


Fusion MPT LAN driver 3.04.01
mptlan: ioc0: PortNum=0, ProtocolFlags=0Fh (ITLB)
mptlan: ioc0: Fusion MPT LAN device registered as 'fc0'
mptlan: ioc0/fc0: LanAddr = 00:06:2B:07:FA:10
mptlan: ioc0/fc0: interface up & active
mptbase: ioc0: LogInfo(0x22000002): SubCl={LAN}
mptlan: ioc0/fc0: ERROR - Got a non-TURBO ReceivePostReply w/ 
PacketLength zero!
mptlan: MsgFlags = 80, IOCStatus = 8003
mptbase: ioc0: LogInfo(0x22000002): SubCl={LAN}
mptlan: ioc0/fc0: ERROR - Got a non-TURBO ReceivePostReply w/ 
PacketLength zero!
mptlan: MsgFlags = 80, IOCStatus = 8003
mptbase: ioc0: LogInfo(0x22000002): SubCl={LAN}
mptlan: ioc0/fc0: ERROR - Got a non-TURBO ReceivePostReply w/ 
PacketLength zero!
mptlan: MsgFlags = 80, IOCStatus = 8003
mptbase: ioc0: LogInfo(0x22000002): SubCl={LAN}
mptlan: ioc0/fc0: ERROR - Got a non-TURBO ReceivePostReply w/ 
PacketLength zero!
mptlan: MsgFlags = 80, IOCStatus = 8003
mptbase: ioc0: LogInfo(0x22000002): SubCl={LAN}
mptlan: ioc0/fc0: ERROR - Got a non-TURBO ReceivePostReply w/ 
PacketLength zero!
mptlan: MsgFlags = 80, IOCStatus = 8003
mptbase: ioc0: LogInfo(0x22000002): SubCl={LAN}
mptlan: ioc0/fc0: ERROR - Got a non-TURBO ReceivePostReply w/ 
PacketLength zero!
mptlan: MsgFlags = 80, IOCStatus = 8003
mptbase: ioc0: LogInfo(0x22000002): SubCl={LAN}
mptlan: ioc0/fc0: ERROR - Got a non-TURBO ReceivePostReply w/ 
PacketLength zero!
mptlan: MsgFlags = 80, IOCStatus = 8003
mptbase: ioc0: LogInfo(0x22000002): SubCl={LAN}
mptlan: ioc0/fc0: ERROR - Got a non-TURBO ReceivePostReply w/ 
PacketLength zero!
mptlan: MsgFlags = 80, IOCStatus = 8003
mptbase: ioc0: LogInfo(0x22000002): SubCl={LAN}
mptlan: ioc0/fc0: ERROR - Got a non-TURBO ReceivePostReply w/ 
PacketLength zero!
mptlan: MsgFlags = 80, IOCStatus = 8003




-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux