Skip to content

Commit

Permalink
updated sata bus address used when aliasing MI4 using X11SPi-TF Mothe…
Browse files Browse the repository at this point in the history
…rboards
  • Loading branch information
markdhooper committed Sep 6, 2023
1 parent 7b3e613 commit 446e701
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 5 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.3-1
## 45drives-tools 2.2.3-2

* added hotfix for aliasing MI4 servers that use X11SPi-TF Motherboards
* updated bus address used when aliasing MI4 server with X11SPi-TF Motherboards
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"title": "45drives-tools",
"prerelease": false,
"version": "2.2.3",
"buildVersion": "1",
"buildVersion": "2",
"author": "Mark Hooper <[email protected]>",
"url": "https://github.com/45Drives/tools",
"category": "utils",
Expand Down Expand Up @@ -65,7 +65,7 @@
"changelog": {
"urgency": "medium",
"version": "2.2.3",
"buildVersion": "1",
"buildVersion": "2",
"ignore": [],
"date": null,
"packager": "Mark Hooper <[email protected]>",
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 <[email protected]> 2.2.3-2
- updated bus address used when aliasing MI4 server with X11SPi-TF Motherboards
* Wed Sep 06 2023 Mark Hooper <[email protected]> 2.2.3-1
- added hotfix for aliasing MI4 servers that use X11SPi-TF Motherboards
* Mon Jun 12 2023 Mark Hooper <[email protected]> 2.2.2-6
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 <[email protected]> 2.2.3-2
- updated bus address used when aliasing MI4 server with X11SPi-TF Motherboards
* Wed Sep 06 2023 Mark Hooper <[email protected]> 2.2.3-1
- added hotfix for aliasing MI4 servers that use X11SPi-TF Motherboards
* Mon Jun 12 2023 Mark Hooper <[email protected]> 2.2.2-6
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-2focal) focal; urgency=medium

* updated bus address used when aliasing MI4 server with X11SPi-TF Motherboards

-- Mark Hooper <[email protected]> Wed, 06 Sep 2023 06:43:58 -0300

45drives-tools (2.2.3-1focal) focal; urgency=medium

* added hotfix for aliasing MI4 servers that use X11SPi-TF Motherboards
Expand Down
2 changes: 1 addition & 1 deletion src/fakeroot/opt/45drives/tools/dmap
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ def alias_mi4(model,os_name,os_version_id,mobo_model):
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"
bus_address_sata = "0000:00:17.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)
Expand Down

0 comments on commit 446e701

Please sign in to comment.