Reattaching PCI device to dom0 via console. Error in documentation.

26 views
Skip to first unread message

alex...@tutanota.com

unread,
Jul 8, 2020, 3:58:36 AM7/8/20
to qubes...@googlegroups.com

Bringing PCI Devices Back to dom0

echo <BDF> > /sys/bus/pci/drivers/pciback/unbind
MODALIAS=`cat /sys/bus/pci/devices/<BDF>/modalias`
MOD=`modprobe -R $MODALIAS | head -n 1`
echo <BDF> > /sys/bus/pci/drivers/$MOD/bind
is not working.
1st string - successful
2nd string - successful
3rd string - successful
4th string - error: -bash: /sys/bus/pci/drivers/$MOD/bind : Ambiguous redirect
4th string causes error and not working, so impossible to reattach pci device via console.

Previously i attached my (Primary) GPU to whonix-ws-15. When i clicked to start whonix-ws-15 my PC has reboot. Now after password entering while booting the system, monitor vision disappearing after few minutes. OS is booting normally but without monitor view.
I switched off system. Inserted 2nd Graphic card and when OS booted i can recieve view from 2nd graphic card but only in console mode. And i can not reattach my 1st Graphic card to dom0 because of represented error. qvm-pci always shows my card at whonix-ws-15. Meanwhile whonix-ws-15 switched to start while system booting but it doesn't.
Thank you.

--
Securely sent with Tutanota. Get your own encrypted, ad-free mailbox:

awokd

unread,
Jul 14, 2020, 4:33:53 PM7/14/20
to qubes...@googlegroups.com
alexhisf via qubes-users:
> echo <BDF> > /sys/bus/pci/drivers/pciback/unbindMODALIAS=`cat /sys/bus/pci/devices/<BDF>/modalias`MOD=`modprobe -R $MODALIAS | head -n 1`echo <BDF> > /sys/bus/pci/drivers/$MOD/bind
> is not working.
> 1st string - successful
> 2nd string - successful
> 3rd string - successful
> 4th string - error: -bash: /sys/bus/pci/drivers/$MOD/bind : Ambiguous redirect
> 4th string causes error and not working, so impossible to reattach pci device via console.
>
> Previously i attached my (Primary) GPU to whonix-ws-15. When i clicked to start whonix-ws-15 my PC has reboot. Now after password entering while booting the system, monitor vision disappearing after few minutes. OS is booting normally but without monitor view.
> I switched off system. Inserted 2nd Graphic card and when OS booted i can recieve view from 2nd graphic card but only in console mode. And i can not reattach my 1st Graphic card to dom0 because of represented error. qvm-pci always shows my card at whonix-ws-15. Meanwhile whonix-ws-15 switched to start while system booting but it doesn't.Thank you.
>
Try removing the graphic card via qvm-pci or from whonix-ws-15 Qube
Settings/Devices.

--
- don't top post
Mailing list etiquette:
- trim quoted reply to only relevant portions
- when possible, copy and paste text instead of screenshots
Reply all
Reply to author
Forward
0 new messages