Mesaflash is not able to find 5i25
- GDTH
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 42
- Thank you received: 2
03 Aug 2025 13:54 #332721
by GDTH
Mesaflash is not able to find 5i25 was created by GDTH
Not entirely sure if this is the correct category of the forum for this question, but here goes:I've just done a completely fresh install of LinuxCNC and I'm running into a few issues — some related to EtherCAT, but also with.I'm trying to usewith a 5i25 board. I installed it and ran the following command:But I get this error:The 5i25 itself isn't broken — I’ve tested it on another PC and it works fine.When I run, I can see the board:It feels like something went wrong during the software installation. Has anyone seen this before or know what might be wrong?
mesaflash
mesaflash
sudo mesaflash --device 5I25 --readhmid
pci_boards_init can't open /dev/mem: Operation not permitted
No 5I25 board found
lspci -v
02:00.0 DPIO module: Device 2718:5125 (rev 01)
Subsystem: Device 2718:5125
Flags: medium devsel, IRQ 255
Memory at d1000000 (32-bit, non-prefetchable) [disabled] [size=64K]
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 19000
- Thank you received: 5247
03 Aug 2025 14:02 #332722
by PCW
Replied by PCW on topic Mesaflash is not able to find 5i25
Memory at d1000000 (32-bit, non-prefetchable) [disabled] [size=64K]
is suspicious, Sometimes this is BIOS option related.
is suspicious, Sometimes this is BIOS option related.
Please Log in or Create an account to join the conversation.
- GDTH
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 42
- Thank you received: 2
03 Aug 2025 15:00 #332728
by GDTH
Replied by GDTH on topic Mesaflash is not able to find 5i25
I have a small HP ProDesk 400 G3 SFF. From your suggestion i have looked at both devices (same pc type) bios settings, as of now nothing sticks out yet.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 19000
- Thank you received: 5247
03 Aug 2025 16:07 #332735
by PCW
Replied by PCW on topic Mesaflash is not able to find 5i25
Does LinuxCNC find the card?
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23430
- Thank you received: 4979
03 Aug 2025 20:00 #332758
by andypugh
Replied by andypugh on topic Mesaflash is not able to find 5i25
does "sudo mesaflash" get any further?
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 19000
- Thank you received: 5247
04 Aug 2025 02:17 - 04 Aug 2025 02:17 #332781
by PCW
Replied by PCW on topic Mesaflash is not able to find 5i25
He did use sudo, I expect this is a BIOS issue, and it appears that the
hm2_pci driver works around this with this:
// NOTE: this enables the board's BARs -- this fixes the Arty bug
if (rtapi_pci_enable_device(dev)) {
LL_PRINT("skipping AnyIO board at %s, failed to enable PCI device\n", rtapi_pci_name(dev));
return failed_errno = -ENODEV;
But I don't see any equivalent code in mesaflash (nor do I know the equivalent
of rtapi_pci_enable_device with the PCI library that mesaflash uses, but I can take a look.)
hm2_pci driver works around this with this:
// NOTE: this enables the board's BARs -- this fixes the Arty bug
if (rtapi_pci_enable_device(dev)) {
LL_PRINT("skipping AnyIO board at %s, failed to enable PCI device\n", rtapi_pci_name(dev));
return failed_errno = -ENODEV;
But I don't see any equivalent code in mesaflash (nor do I know the equivalent
of rtapi_pci_enable_device with the PCI library that mesaflash uses, but I can take a look.)
Last edit: 04 Aug 2025 02:17 by PCW.
Please Log in or Create an account to join the conversation.
- GDTH
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 42
- Thank you received: 2
04 Aug 2025 07:55 - 04 Aug 2025 07:56 #332798
by GDTH
Replied by GDTH on topic Mesaflash is not able to find 5i25
I will dig more into tonight and see if i can find something from the bios. The only thing i can think of is that linuxcnc was installed with secure boot.
Properply end up doing a fresh start with linuxcnc.
I will update on this, if i find something.
Properply end up doing a fresh start with linuxcnc.
I will update on this, if i find something.
Last edit: 04 Aug 2025 07:56 by GDTH.
Please Log in or Create an account to join the conversation.
- unknown
- Offline
- Platinum Member
-
Less
More
- Posts: 487
- Thank you received: 177
04 Aug 2025 08:05 #332800
by unknown
Replied by unknown on topic Mesaflash is not able to find 5i25
This seems to be an issue that seems to happen with HP boxes, add in cards seem to be disabled. This is just not related to Linuxcnc cards. Users have had issues with PCIe LPT cards and a month or so ago when doing a google search related to this it pops up in HP forums with no resolution (not just the above mentioned add in cards). (sorry I didn't bookmark the threads I found)
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.091 seconds