Passthrough Altera propriety fibre-cable network card for x-ray


Recommended Posts

As complicated the title is, I'm really near to surrender to this project:

 

I want to use my UnRaid Server for my dental office. In it, I have a Windows 2016 Server, some Win 10 Clients VM and a Ubuntu Server VM. This runs pretty fine so far, the Win '16 Server VM hosts the dental main program, while the Client VM host  the Client dental software (each room has another VM, which gets VNC'ed by energy efficient mini thin clients in that rooms).

 

So, since this UnRaid server stands pretty near the x-ray room, I wanted to use it also for the x-ray application. For this, I installed the propriety card for it. Basically, its a old fashioned glas-fibre network card with an Altera chip on it.

I read every threat I found about passing through specialised hardware, but I still  get errors when trying to boot up the Win16 Server. 

Is there anything I have to write inside the xml additionally? Please be gentle with me, since I'm pretty new to all that stuff and learning little by little. Normally I solve such stuff on my own, but this time I really appreciate any help...

 

This is what my syslinux looks like

 

Quote

default menu.c32
menu title Lime Technology, Inc.
prompt 0
timeout 50
label unRAID OS
  menu default
  kernel /bzimage
  append pcie_acs_override=downstream iommu=pt vfio-pci.ids=1b21:1080 initrd=/bzroot
label unRAID OS GUI Mode
  kernel /bzimage
  append pcie_acs_override=downstream vfio_iommu_type1.allow_unsafe_interrupts=1 initrd=/bzroot,/bzroot-gui
label unRAID OS Safe Mode (no plugins, no GUI)
  kernel /bzimage
  append pcie_acs_override=downstream initrd=/bzroot unraidsafemode
label unRAID OS GUI Safe Mode (no plugins)
  kernel /bzimage
  append pcie_acs_override=downstream initrd=/bzroot,/bzroot-gui unraidsafemode
label Memtest86+
  kernel /memtest

 

This is what my hardware config looks like:

 

Quote

CI Devices and IOMMU Groups

Warning: Your system has booted with the PCIe ACS Override setting enabled. The below list doesn't not reflect the way IOMMU would naturally group devices. To see natural IOMMU groups for your hardware, go to the VM Settings page and set the PCIe ACS Overridesetting to No.



 
IOMMU group 0: [8086:0158] 00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/Ivy Bridge DRAM Controller (rev 09)
 
IOMMU group 1: [8086:0151] 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
 
IOMMU group 2: [8086:1c2d] 00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
 
IOMMU group 3: [8086:1c10] 00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
 
IOMMU group 4: [8086:1c18] 00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
 
IOMMU group 5: [8086:1c1a] 00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5)
 
IOMMU group 6: [8086:1c1c] 00:1c.6 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 7 (rev b5)
 
IOMMU group 7: [8086:1c1e] 00:1c.7 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 8 (rev b5)
 
IOMMU group 8: [8086:1c26] 00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
 
IOMMU group 9: [8086:244e] 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a5)
  [1172:0001] 08:02.0 Unassigned class [ff00]: Altera Corporation Device 0001 (rev 01)
  [1a03:2000] 08:05.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 10)
 
IOMMU group 10: [8086:1c52] 00:1f.0 ISA bridge: Intel Corporation C202 Chipset Family LPC Controller (rev 05)
  [8086:1c00] 00:1f.2 IDE interface: Intel Corporation 6 Series/C200 Series Chipset Family Desktop SATA Controller (IDE mode, ports 0-3) (rev 05)
  [8086:1c22] 00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
  [8086:1c08] 00:1f.5 IDE interface: Intel Corporation 6 Series/C200 Series Chipset Family Desktop SATA Controller (IDE mode, ports 4-5) (rev 05)
 
IOMMU group 11: [8086:10d3] 03:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
 
IOMMU group 12: [8086:10d3] 04:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
 
IOMMU group 13: [1b21:1080] 05:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 01)
  [1172:0001] 06:00.0 Unassigned class [ff00]: Altera Corporation Device 0001 (rev 01)
 
IOMMU group 14: [1b4b:9215] 07:00.0 SATA controller: Marvell Technology Group Ltd. Device 9215 (rev 11)

 

CPU Thread Pairings



 
Pair 1: cpu 0 / cpu 4
Pair 2: cpu 1 / cpu 5
Pair 3: cpu 2 / cpu 6
Pair 4: cpu 3 / cpu 7

 

USB Devices



 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 18a5:0302 Verbatim, Ltd Flash Drive
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub

 

SCSI Devices



 
[0:0:0:0] disk Verbatim STORE N GO 8.00 /dev/sda 8.01GB
[1:0:0:0] disk ATA JMicron H/W RAID 0956 /dev/sdb 500GB
[1:0:1:0] disk ATA TOSHIBA MD04ACA4 FP2A /dev/sdc 4.00TB
[2:0:0:0] disk ATA TOSHIBA MD04ACA4 FP2A /dev/sdd 4.00TB
[2:0:1:0] disk ATA TOSHIBA MD04ACA4 FP2A /dev/sde 4.00TB
[5:0:0:0] disk ATA TOSHIBA MD04ACA4 FP2A /dev/sdf 4.00TB
[6:0:0:0] disk ATA TOSHIBA MD04ACA4 FP2A /dev/sdg 4.00TB
[7:0:0:0] disk ATA WDC WD15EADS-65P 0A01 /dev/sdh 1.50TB

 

 

Dont wonder about the two Altera cards(

  [1172:0001] 06:00.0 Unassigned class [ff00]: Altera Corporation Device 0001 (rev 01) and [1172:0001] 08:02.0 Unassigned class [ff00]: Altera Corporation Device 0001 (rev 01))

, they are basically the same. I installed two of them, to check about the iommu groups...

 

Can anybody guide me through what I did basically wrong? I really dont want to build yet another PC just for that damn old x-ray when I have this genious UnRaid Server....

 

So If anything is unclear (english is not my mother language) please ask me little idiot.

 

Regards

 

Tom

Link to comment
4 hours ago, hundsboog said:

So, since this UnRaid server stands pretty near the x-ray room, I wanted to use it also for the x-ray application. For this, I installed the propriety card for it. Basically, its a old fashioned glas-fibre network card with an Altera chip on it.

This is personally my opinion, and may not be popular around here.

 

If you're running a must-have, specialized software / specialized hardware you're going to be better off running this on a bare metal (non-VM) machine.  There's going to be less complications involved in getting it running, and more to the point, presumably you're also subscribing to a support contract for the software / hardware.  If there happens to ever be a problem with the hardware / software, if you're virtualizing it, then the options that they give you on how to handle the problems may be limited.   Not to mention that not all hardware is compatible with pass through

 

Now, for your other applications of virtualizing your various office computers and running them off of unRaid, I have no problems with.

  • Like 1
Link to comment
9 hours ago, Squid said:

This is personally my opinion, and may not be popular around here.

 

If you're running a must-have, specialized software / specialized hardware you're going to be better off running this on a bare metal (non-VM) machine.  There's going to be less complications involved in getting it running, and more to the point, presumably you're also subscribing to a support contract for the software / hardware.  If there happens to ever be a problem with the hardware / software, if you're virtualizing it, then the options that they give you on how to handle the problems may be limited.   Not to mention that not all hardware is compatible with pass through

 

Now, for your other applications of virtualizing your various office computers and running them off of unRaid, I have no problems with.

 

Hello Squid ?

 

thank you very much for your post. Yes, you are absolutely right and I confirm with everything you wrote. The x-ray is one of the first digital ones and is more or less "end-of-service". Every complain I have with it must be completely solved by my own, because the company was sold more than once (!) and the following company won't develope the software anymore nor they give any support for it. The good thing is, it is made like a tank, no plastic and built to last (the successors are just made of cheapo plastic). Also the sensor is highly precise and makes brilliant pans without a correcting software.

 

Well, since I'm on my own and have actually a bare metal pc as redundancy running its software, this risk is basically o.k. although you are completely right. I just want to find out, like you said, if this card is just incompatible for passthrough ?. I already ordered a 1U supermicro server case with 1155 socket mainboard for like 35 bucks to host a old i3 from my private pc part junkyard.

 

Maybe you can check especially the syslinux code if I have made any technical mistake. I also watched SMSProjects videos of his 3 according methods to passthrough devices, but none of those 3 helped ?

 

Regards Tom

Edited by hundsboog
Link to comment

You have stubbed the PCI bridge instead of the card. You should use 1172:0001 for subbing. I guess it's the card in group 13 and not 9 you are passing through? The card in group 9 is not alone in the group, so you need to change the port if you want to use it and hope it goes by it self. Bridge devices are OK. 

  • Like 1
Link to comment

 

On 7/19/2018 at 12:23 AM, saarg said:

You have stubbed the PCI bridge instead of the card. You should use 1172:0001 for subbing. I guess it's the card in group 13 and not 9 you are passing through? The card in group 9 is not alone in the group, so you need to change the port if you want to use it and hope it goes by it self. Bridge devices are OK. 

 

Saarg,

 

wow, thank you for your fast response and sorry, that I waited so long to answer your reply. There was a lot of work to be done this week! I will change the number and hopefully this card will show up in my windows server! This is anyways a great tip to someone really blind :-D. I will definitely tell you about the result. And yes, I can use the card in group 13, so there should no need to change the port, is it?

 

Have a nice weekend!

 

Tom

Edited by hundsboog
Link to comment

Hi, its me again ?

 

Thank you again for your assistance, but that damn Altera card is not going to passthrough to the guest machine. Well, I will build another PC out of my crapyard and let it run on its own. But thank you very much again, this is a really awesome forum and I learned so much from it buy just reading! I hope I can someday help also unexperienced users like me! :-)

 

Have a great evening

 

Tom

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.