Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
raid card : mpt2sas overriding NVDATA EEDPTagMode setting
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
sdauth
Guru
Guru


Joined: 19 Sep 2018
Posts: 569
Location: Ásgarðr

PostPosted: Sun Mar 31, 2024 9:01 am    Post subject: raid card : mpt2sas overriding NVDATA EEDPTagMode setting Reply with quote

Hello,
I just replaced a defective Dell H310 raid card in my server with the exact same model (flashed to IT firmware like the old one), all disks ( 8 ) attached work fine but I have a message appearing in red in dmesg :

Code:
mpt2sas_cm0: overriding NVDATA EEDPTagMode setting


Code:
[...]
[    9.396161] mpt2sas_cm0: Current Controller Queue Depth(3364),Max Controller Queue Depth(3432)
[    9.396162] mpt2sas_cm0: Scatter Gather Elements per IO(128)
[    9.442233] mpt2sas_cm0: overriding NVDATA EEDPTagMode setting
[    9.442653] mpt2sas_cm0: LSISAS2008: FWVersion(20.00.07.00), ChipRevision(0x03), BiosVersion(00.00.00.00)
[    9.442657] mpt2sas_cm0: Protocol=(Initiator,Target), Capabilities=(TLR,EEDP,Snapshot Buffer,Diag Trace Buffer,Task Set Full,NCQ)
[    9.442732] scsi host0: Fusion MPT SAS Host
[    9.443632] mpt2sas_cm0: sending port enable !!
[...]


Any idea of what it means ?

Kernel : 6.1.81

Thanks
Back to top
View user's profile Send private message
sdauth
Guru
Guru


Joined: 19 Sep 2018
Posts: 569
Location: Ásgarðr

PostPosted: Sun Mar 31, 2024 9:27 am    Post subject: Reply with quote

This is the portion of relevant code :

drivers/scsi/mpt3sas/mpt3sas_base.c

Code:
  /*
   * Ensure correct T10 PI operation if vendor left EEDPTagMode
   * flag unset in NVDATA.
   */
  rc = mpt3sas_config_get_manufacturing_pg11(ioc, &mpi_reply,
      &ioc->manu_pg11);
  if (rc)
    return rc;
  if (!ioc->is_gen35_ioc && ioc->manu_pg11.EEDPTagMode == 0) {
    pr_err("%s: overriding NVDATA EEDPTagMode setting\n",
        ioc->name);
    ioc->manu_pg11.EEDPTagMode &= ~0x3;
    ioc->manu_pg11.EEDPTagMode |= 0x1;
    mpt3sas_config_set_manufacturing_pg11(ioc, &mpi_reply,
        &ioc->manu_pg11);
  }


I can't tell if it was present with the IR firmware and Dell bios, when I received the card years ago, I immediately flashed it to IT and put it in my spare parts box :lol:
Maybe it was already present, who knows...
Is there a way to silent this warning though ? Or fix the "issue" ?
Back to top
View user's profile Send private message
steve_v
Guru
Guru


Joined: 20 Jun 2004
Posts: 388
Location: New Zealand

PostPosted: Sun Mar 31, 2024 10:29 am    Post subject: Reply with quote

FWIW I have a SAS2008 based HBA that generates the same warning, and it's been working just fine despite that for over a decade.
EEDP is End-to-End Data Protection, i.e. checksums on the SAS link, in this case the kernel doesn't like the firmware default (i.e. mode set to '0') and overrides it.
AFAICT it's just Yet Another Workaround for buggy vendor firmware, and unless you have other problems with the card I wouldn't worry about it.

If you do want to mess with the firmware settings, sys-block/lsiutil should be the tool you want. Have a look at this example (though note this refers to a SAS3008 where this is reported to cause real problems, so YMMV)
_________________
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.
Back to top
View user's profile Send private message
sdauth
Guru
Guru


Joined: 19 Sep 2018
Posts: 569
Location: Ásgarðr

PostPosted: Sun Mar 31, 2024 10:42 am    Post subject: Reply with quote

Thanks for the useful information steve_v, good to know. I've thought I messed something while flashing the IT firmware..
I think I'll probably ignore it then. I can't afford to mess with the firmware as this was my last spare raid card but if I do later, I bookmarked your link and will have a look with lsiutil.
All drive are working great otherwise... (with the old card, one port was resetting constantly even after replacing twice the mini sas cables)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum