Superb quality and spec AB-Com PULSe 4K SE. Crazy offer! Only £129! FREE UK DELIVERY! 4K UHD, Enigma 2, Multiboot 4 images & more!...
Superb quality and spec AB-Com PULSe 4K Rev II Twin Satellite tuner only £179! FREE UK DELIVERY! 4K UHD, Enigma 2, SATA HDD facility, Multiboot 4 images & more!...

[ViX_Misc] [MountManager]

norhap

Member
Joined
Jul 13, 2011
Messages
189
Reaction score
0
Points
16
Age
54
@twol I reproduce this problem.
scenario: only one device connected (USB with SDCARD)

if I unmount the unit (yellow) and then try to mount with red button (use as HDD) I get BSOD

Code:
<  4453.060> Traceback (most recent call last):
<  4453.060>   File "/usr/lib/enigma2/python/Components/Console.py", line 37, in finishedCB
<  4453.061>   File "/usr/lib/enigma2/python/Plugins/SystemPlugins/ViX/MountManager.py", line 297, in add_fstab
<  4453.062>     self.device_uuid = 'UUID=' + result.split('UUID=')[1].split(' ')[0].replace('"', '')
<  4453.063> IndexError: list index out of range
<  4453.063> [ePyObject] (CallObject(<bound method EnigmaLogFatal.write of <bound method ConsoleItem.dataAvailCB of <bound method EnigmaLogDebug.write of <bound method CList.__call__ of <bound method eSlider.eSlider_setValue of <bound method ClockToText.changed of <bound method ClockToText.changed of <bound method VolumeText.changed of <bound method CList.__call__ of <bound method Label.changed of <bound method CList.__call__ of <bound method eLabel.eLabel_setText of <bound method CList.__call__ of <unbound method eLabel.eLabel_setText>>>>>>>>>>>>>>,(1,)) failed)
 
Can you let me know the receiver? HD51 or ????
Also can you post a picture from the Mountmanager screen?

However, you should be able to „use as HDD“ with the device mounted - and I guess thats probably the issue in that you have unmounted the device with no reboot afterwards.
Obviously it shouldn‘t crash, but assuming its a ext3/4 format device, I have always either changed the mount attributes 1st or just used the red button directly.
 
Can you let me know the receiver? HD51 or ????
It happens to me with two different machines totally.

xpeedlx3 and ferguson4k
Also can you post a picture from the Mountmanager screen?
I'm not home now after I upload them.
However, you should be able to „use as HDD“ with the device mounted - and I guess thats probably the issue in that you have unmounted the device with no reboot afterwards.
should mount HDD directly in the sequence disassemble <-> sometimes mount even if it is disassembled not see self ["key_red"]. setText (_ ("Use as HDD")) hotplug
Obviously it shouldn‘t crash, but assuming its a ext3/4 format device, I have always either changed the mount attributes 1st or just used the red button directly.
I have them in vfat.

although this code is totally different, with the BSOD does not reproduce, try it and compare ... in my code there are missing things like your code for mmc SDCARD. (by the way it detects sdcard in slot perfectly in ferguson4k mmc)

https://github.com/norhap/vix-core
 
Last edited:
with yellow "unmount" + green "setup mounts" no problem.the message in the box updates the assembly and then warns us if we want to restart the box. write ok in fstab.
It seems that the problem comes only with sdcard either within USB or in slot.
 
Last edited:
most of the sdcard code is to to handle sf8008/H9 special situations (e.g. to not show in MountManager) for the way we handle the SDcard in ViX.

Will have to play around when I get the chance ... but this is not a good week time wise.
 
here the difference, in this two sdcard devices, first disassembled without problems, then when mounting as hdd BSOD.aside the current code does not detect when a sdcard device is used as a red button settext HDD does not work:



with my code and mount-unmount with red button without any problem, detects which device is being used as hdd and which is not:

 
Thanks. Can you advise if we can easily compare changes without the tab > space conversion?
 
Thanks. Can you advise if we can easily compare changes without the tab > space conversion?

I can not understand your request abu I'm Spanish.

PD. view video @abu.
 
Last edited:
In your commit, there are cosmetic changes. It is not easy to see exactly what you have changed.

I have seen the video, I see you have fixed the crash.
 
In your commit, there are cosmetic changes. It is not easy to see exactly what you have changed.

I have seen the video, I see you have fixed the crash.

use plugin "compare" in editor notepad. (there you will see them)
later I try to upload diff.
 
@twol please, I need to know if with my code, keep watching your sdcard mmc in slot of the machine h9combo, since I have added one more machine (which is my box ferguson4k "u5pvr").
thx.
 
OK - I have just tried straight vanilla ViX code on both h9combo and SF8008 and MountManager works as it should for SD cards in these receivers - and as far as I remember so did the Dinobot receivers (sorry - don't have them available at the moment to test).

So later today will look at your code as it must be specific to how the SD card is recognised by the receiver (zgemma, Dinobot, Octagon all see the sd card as a different device type - really helpful!!)l

In the meantime, could you do 2 things for me?

I would like to see on the Ferguson a Debug log from initial boot to you trying the commands with MountManager with a) currrent ViX code b) with your code in MountManager - so I can see differences

I have both u5mini and u54K in test previously and didn't see these issues and I beliee the Ferguson is a Dinobot OEM?
 
@Norhap - just tried your code from Git and it doesn't work for me on SF8008 using SD card as storage device.
I can mount, unmount, but it will not let me use as HDD - says unable to unmount (in use)
WIth normal code, don't get this ........ have to go to German lessons talk later!
 
@Norhap - just tried your code from Git and it doesn't work for me on SF8008 using SD card as storage device.
I can mount, unmount, but it will not let me use as HDD - says unable to unmount (in use)
WIth normal code, don't get this ........ have to go to German lessons talk later!
if it is in use is because there is an active process PID, it is logical that response is in use.
be severe..remove sd and return to indroduce and try again.
 
Have tried again ... and there is a definite issue - with normal ViX code I can unmount, mount, mount as HDD no issue. The onyl way I can do this with your code is to reboot without card and then insert.
 
we have to compare debug, then I will send the log, in my case as I say unmount->mount (yellow+red) SDCARD in slot or USB with SDCARD ( not USB normal) , I get BSOD .... I have dared to change and rewrite the code because it happens in two completely different boxes (Mipsel and ARM).
 
we have to compare debug, then I will send the log, in my case as I say unmount->mount (yellow+red) SDCARD in slot or USB with SDCARD ( not USB normal) , I get BSOD .... I have dared to change and rewrite the code because it happens in two completely different boxes (Mipsel and ARM).

I appreciate your work/code - just not working as well in some of my boxes - just would like to see debug and see if I can understand what its doing in ViX and then what it should do to correct issue.
The big question is - if it works in general for most receivers - what is different in the initial setup for the SD card that makes your boxes different?
 
I will install official vix image in my xpeedlx3, this will clarify many doubts, this afternoon I comment results.
 

OpenViX Feeds Status

Back
Top