Skip to content

Commit

Permalink
added hotfix for aliasing MI4 with X11SPi-TF Motherboards
Browse files Browse the repository at this point in the history
  • Loading branch information
markdhooper committed Sep 6, 2023
1 parent e0da481 commit 7b3e613
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 6 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
## 45drives-tools 2.2.2-6
## 45drives-tools 2.2.3-1

* added rudimentary bus address translation for ROMED8-2T Motherboards
* added hotfix for aliasing MI4 servers that use X11SPi-TF Motherboards
8 changes: 4 additions & 4 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"name": "45drives-tools",
"title": "45drives-tools",
"prerelease": false,
"version": "2.2.2",
"buildVersion": "6",
"version": "2.2.3",
"buildVersion": "1",
"author": "Mark Hooper <mhooper@45drives.com>",
"url": "https://github.com/45Drives/tools",
"category": "utils",
Expand Down Expand Up @@ -64,8 +64,8 @@
],
"changelog": {
"urgency": "medium",
"version": "2.2.2",
"buildVersion": "6",
"version": "2.2.3",
"buildVersion": "1",
"ignore": [],
"date": null,
"packager": "Mark Hooper <mhooper@45drives.com>",
Expand Down
2 changes: 2 additions & 0 deletions packaging/el7/main.spec
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ fi
%{_bindir}/*

%changelog
* Wed Sep 06 2023 Mark Hooper <mhooper@45drives.com> 2.2.3-1
- added hotfix for aliasing MI4 servers that use X11SPi-TF Motherboards
* Mon Jun 12 2023 Mark Hooper <mhooper@45drives.com> 2.2.2-6
- added rudimentary bus address translation for ROMED8-2T Motherboards
* Tue May 23 2023 Mark Hooper <mhooper@45drives.com> 2.2.2-5
Expand Down
2 changes: 2 additions & 0 deletions packaging/el8/main.spec
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ fi
%{_bindir}/*

%changelog
* Wed Sep 06 2023 Mark Hooper <mhooper@45drives.com> 2.2.3-1
- added hotfix for aliasing MI4 servers that use X11SPi-TF Motherboards
* Mon Jun 12 2023 Mark Hooper <mhooper@45drives.com> 2.2.2-6
- added rudimentary bus address translation for ROMED8-2T Motherboards
* Tue May 23 2023 Mark Hooper <mhooper@45drives.com> 2.2.2-5
Expand Down
6 changes: 6 additions & 0 deletions packaging/focal/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
45drives-tools (2.2.3-1focal) focal; urgency=medium

* added hotfix for aliasing MI4 servers that use X11SPi-TF Motherboards

-- Mark Hooper <mhooper@45drives.com> Wed, 06 Sep 2023 06:37:04 -0300

45drives-tools (2.2.2-6focal) focal; urgency=medium

* added rudimentary bus address translation for ROMED8-2T Motherboards
Expand Down
7 changes: 7 additions & 0 deletions src/fakeroot/opt/45drives/tools/dmap
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,13 @@ def alias_mi4(model,os_name,os_version_id,mobo_model):
for i in range(0,4):
#alias the drives connected to the on board sata sata connectors
vdev_id_str += "alias 1-{drive} /dev/disk/by-path/pci-{addr}-ata-{i}{s}\n".format(drive=i+1,addr=bus_address_sata,i=i+5,s=ata_suffix)
elif mobo_model in ["X11SPi-TF"]:
# The X11SPi-TF would use the S-SATA ports for the boot drives, so it starts at the first I-SATA port. 1,2,3 and 4 are used here.
# a hard coded bus address.
bus_address_sata = "0000:17:00.0"
for i in range(0,4):
#alias the drives connected to the on board sata sata connectors
vdev_id_str += "alias 1-{drive} /dev/disk/by-path/pci-{addr}-ata-{i}{s}\n".format(drive=i+1,addr=bus_address_sata,i=i+1,s=ata_suffix)
elif mobo_model in ["ROMED8-2T"]:
# this is the AMD board made by ASRock Rack. It staggers two sata controllers.
# these correspond to the on board mini sas hd connectors for sata_2, sata_3, sata_4, sata_5 using a 4 port fan out cable each.
Expand Down

0 comments on commit 7b3e613

Please sign in to comment.