[Plugin] USB_Manager


SimonF

Recommended Posts

I've turned on hub processing... Noticed Status: Stopped with

Enable USB on Dashboard: Disbaled
Enable USB Manager Hotplug on VM page: Disbaled

Enable HUB Processing: Enabled

Enable USBIP: Disabled

 

I was disabling pfBlockerNG pretty close to the time of the 2nd Incedent, clould tell something was going wrong when unraid gui was not in dark mode. But to be honest I was doing a lot of network settings trying to get a few sub-domains through HAProxy as well as moving data around to set up 2 new cache pools.

 

Also remembered another feature request when "Display Settings" -> Page View is set to "Tabbed" could have the "Port and Historical Device Mappings" be in it's own tab to reflect how the rest of unraids GUI works.

Link to comment
8 hours ago, CIA said:

I'd like to see "VM STATE" intagrated with the "VM" column in the same way or some small visual / icon instead of the text, and then maybe the "STATUS" column with the small visual / icon too.

Is this what you are thinking.

 

image.png.8970d10f1442dcf95d23e2bb49b58ca4.png

Link to comment
On 1/14/2022 at 6:41 AM, SimonF said:

Would people prefer hover over text for Serial numbers or a toggle to hide serial number. Hover example.

 

image.thumb.png.20e56eacee52f9b989489e2f5dad3863.png

Didn't know you were going to do both, My vote is "toggle" as this will show all for quick reference and the hide for screenshots as I know people like to sratch out the info when helping people.

Link to comment

I was having a cache pool issue, where I was trying to move a share from one pool to another...

But when starting mover, mover would move 1 file to the old cache pool and then seem to freeze...
So I used the New Config Tool...
Above was all that was changed before rebooting, System was stable with USB Manager

( I Don't Shut down my VM very often, AMD reset bug... Habbit ...Even though it's suppose to be fixed in 6.10)

Started a VM and with in a minute VM freezes... upon rebooting found VM Manager is set to no...

The only way to get VM up stable was to remove USB Manager and reinstall it...

 

I tried just deleting historical devices... Starting VM and re-attaching... VM freezes and I'm forced to reboot system.

I confirmed this 4 more time today... the only way is to delete the plugin folders... Reinstall then it's stable...
Something about a restart or config change... And USB Manager holding old info...

 

posting this now... VM is up with Mouse Keyboard attached with VM Template... going to install plugin and attach more devices...
...I'll Edit post with result.

 


Warning: parse_ini_file(/boot/config/domain.cfg): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/dynamix.vm.manager/include/libvirt_helpers.php on line 503

SETTINGPORTCLASSVENDOR:PRODUCT.

 

I'm still running, but not for long... This was the error that a caught when trying to add one of the USB devices... and at the bottom left... where array started is... "starting services..." repeating over and over

 

This never happened before, this is all since the cache pool changed... It may be the one USB device...

Edited by CIA
Link to comment

I needed my system up today... So I was unable to do any more troubleshooting...

I'm Stable with Keyboard and Mouse attached from VM Template...
And having USB Manager attaching 5 other Devices and 1 Port (Hub).

I excluded the one that caused the last lockup.

unraid-usb-roothub.thumb.png.a8bdfb8c5eaa7d9fd3b982afc4aef572.png

The last lockup was while attaching the Wave-3 to the VM... It shares the same roothub as unraid...
Will try adding this device later tonight... I've been stable since last post.
As for diagnostics, I took a peek at a few and there's personal info attached to some of the VM templates, Ect...
System had already been restarted with USB Manager Removed...

 

Edited by CIA
Link to comment
4 hours ago, CIA said:

I needed my system up today... So I was unable to do any more troubleshooting...

I'm Stable with Keyboard and Mouse attached from VM Template...
And having USB Manager attaching 5 other Devices and 1 Hub.

I excluded the one that caused the last lockup.

unraid-usb-roothub.thumb.png.a8bdfb8c5eaa7d9fd3b982afc4aef572.png

The last lockup was while attaching the Wave-3 to the VM... It shares the same roothub as unraid...
Will try adding this device later tonight... I've been stable since last post.
As for diagnostics, I took a peek at a few and there's personal info attached to some of the VM templates, Ect...
System had already been restarted with USB Manager Removed...

 

Thanks for the info how are you attaching the hub? QEMU doesn't support hubs being passed through so the new nub processing should process each device attached to that hub. But this will only happen if you have hub processing enabled, maybe there is an issue with that processing on your system if you are using.

 

I am looking for syslog mainly from Diags, but as you have rebooted it wont be any use, unless you write the flash or external syslog server.

 

Happy for you to PM me any info you dont want to post.

 

Running config files are in the tmp dir and state file is in /usr/local/.......

 

root@unraid:/tmp/usb_manager/config# ls
remote_usbip.cfg  usb_manager.cfg  vm_mappings.cfg
root@unraid:/tmp/usb_manager/config# ls /usr/local/emhttp/state/usb.ini 
/usr/local/emhttp/state/usb.ini

 

Edited by SimonF
Link to comment

I meant port... The port the device is attached to...

This device only passes through while the port is passed... and not with the device method...

usb-hub.thumb.png.5cde88f2fb88fc7c2bb85a6091e61e84.png

In the image I set both cause I was unsure if it was the issue, and I needed it.

 

And as stated, I deleted the folders, cause it was the only way I knew to get VM back up and running /w the USB Manager again.
I'm attempting to get graylogs functioning for unraid and dockers... as I do for pfsense and unifi...
Something about the network interface and "Host access to custom networks: " needing to be enabled...

Which I'm looking into, I have all dockers set with 2 different vlans and IPs... this should have been enough.

 

I will create a script to backup those files when the issue happens again.

Edited by CIA
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.