Jump to content


Photo

Bug im kexec Multiboot


  • Please log in to reply
25 replies to this topic

#1 willy01

  • Senior Member
  • 268 posts

+8
Neutral

Posted 17 November 2023 - 10:54

Wenn man einen Stick zur Ergänzung der Multiboot images verwendet, werden die Images doppelt angezeigt.

 

Attached Files


Edited by willy01, 17 November 2023 - 10:55.


Re: Bug im kexec Multiboot #2 WanWizard

  • PLi® Core member
  • 70,485 posts

+1,810
Excellent

Posted 17 November 2023 - 12:57

Stick mounted twice? Or has a symlink in /media ?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Bug im kexec Multiboot #3 littlesat

  • PLi® Core member
  • 57,154 posts

+698
Excellent

Posted 17 November 2023 - 13:18

It is not double... there are two option.. One with backup from the settings and installed plugins and the other does not made a backup before it is flashed. The idea was to reduce the number of popups with selections to go through the procedure. And those that are likely more common to use are on the top.... A separate popup with question could be made but at the time it was made one of the requirements I did define at that time is show as less popups as possible and that was why it is some kind of combined here as now once you select the image you only get a question once and then it is flashed....


Edited by littlesat, 17 November 2023 - 13:20.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Bug im kexec Multiboot #4 rantanplan

  • PLi® Contributor
  • 1,860 posts

+87
Good

Posted 17 November 2023 - 13:20

Hallo @willy01

Das wird etwas kompliziert, denn dein vorrangiges Image ist ein ATV.
Sprich dein Multiboot kexec kommt ja vom ATV und nicht vom pli.

@captain vom ATV müsste da gefragt werden.
Das Bild alleine hilft leider nicht so richtig, denn man müsste wie so oft das log sehen, was da falsch läuft.

Eigentlich wurde diese Funktion sogar zusammen mit OE-Alliance hier implementiert, aber zwischendurch gab es immer wieder ein paar Ungereimtheiten.


Edited by rantanplan, 17 November 2023 - 13:21.


Re: Bug im kexec Multiboot #5 Tech

  • Forum Moderator
    PLi® Core member
  • 14,920 posts

+486
Excellent

Posted 17 November 2023 - 13:53

It is not double... there are two option.. One with backup from the settings and installed plugins and the other does not made a backup before it is flashed. The idea was to reduce the number of popups with selections to go through the procedure. And those that are likely more common to use are on the top.... A separate popup with question could be made but at the time it was made one of the requirements I did define at that time is show as less popups as possible and that was why it is some kind of combined here as now once you select the image you only get a question once and then it is flashed....

So your box has seven ! (7) slots?


Aan de rand van de afgrond is een stap voorwaarts niet altijd vooruitgang....

On the edge of the abyss, a step forward is not always progress....

Hardware: 2x Daily used Vu+ Ultimo 4K - Vu+ Duo 4K SE and a lot more.... - VisioSat BiBigsat - Jultec Unicable Multiswitch 4 positions: 19.2/23.5/28.2 East - Diseqc motorized flatdish antenna

Software : HomeBuild OpenPLi Develop and Scarthgap builds, local cards driven by OsCam

Press the Geplaatste afbeelding button on the buttom right of this message ;)

Have you tried our wiki yet? Many answers can be found in our OpenPLi wiki


Re: Bug im kexec Multiboot #6 WanWizard

  • PLi® Core member
  • 70,485 posts

+1,810
Excellent

Posted 17 November 2023 - 14:00

It is not double... there are two option.. One with backup from the settings and installed plugins and the other does not made a backup before it is flashed. The idea was to reduce the number of popups with selections to go through the procedure. And those that are likely more common to use are on the top.... A separate popup with question could be made but at the time it was made one of the requirements I did define at that time is show as less popups as possible and that was why it is some kind of combined here as now once you select the image you only get a question once and then it is flashed....

 

Sorry, was a bit too quick.

 

So your box has seven ! (7) slots?

 

7 slots is very possible, the kexec implementation supports multiboot slots on other media than only internal flash.


Edited by WanWizard, 17 November 2023 - 14:01.

Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Bug im kexec Multiboot #7 littlesat

  • PLi® Core member
  • 57,154 posts

+698
Excellent

Posted 17 November 2023 - 14:06

It was always possible to do this... by design... I thought OpenATV also made a User Interface for it... we didn't. I think having 3 or 4 slots should be more than sufficient. So why create additional stuff on USB, Flashcard etc....But unless this it would be much nicer to create a plugin for it instead of embeded in the code somewhere... like a multiboot slot extender plugin, where you can 'prepare' those slots (in a proper way).


7 slots is very possible, the kexec implementation supports multiboot slots on other media than only internal flash.


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Bug im kexec Multiboot #8 WanWizard

  • PLi® Core member
  • 70,485 posts

+1,810
Excellent

Posted 17 November 2023 - 14:11

The short answer to this post is:

 

No, there is nothing double, the first set is flashing with a backup, the second set is flashing without a backup.

 

And there are more than 4 because the implementation supports extra slots on an external device.

 

It was always possible to do this... by design... I thought OpenATV also made a User Interface for it... we didn't. I think having 3 or 4 slots should be more than sufficient. So why create additional stuff on USB, Flashcard etc....But unless this it would be much nicer to create a plugin for it instead of embeded in the code somewhere... like a multiboot slot extender plugin, where you can 'prepare' those slots (in a proper way).

 

Maybe not, but

  • the slots might have been created by another image (which I assume is the case here), so they are shown.
  • it is not up to us to dicate what a user may or may not need
  • you need to acknowledge the fact that OE-A images support this because VU+ only has 4GB flash, and OE-A images are absolutely humongous, unlike OpenPLi images, so they need the extra space.

Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Bug im kexec Multiboot #9 rantanplan

  • PLi® Contributor
  • 1,860 posts

+87
Good

Posted 17 November 2023 - 14:31

As I tried to explain, it's not that simple.
The preceding image of the Kexec version is the OpenATV.

Pli or any other image is interpreted based on the actually common Kexec structure.
But something has changed here again.

The user would have to check whether this behavior also occurs under his primary Kexec image of the OpenATV.

This is one of those many things that were already discussed internally as a problem, but somehow weren't really taken seriously.

Nothing is broken because of the above representation, but it is confusing.



Re: Bug im kexec Multiboot #10 littlesat

  • PLi® Core member
  • 57,154 posts

+698
Excellent

Posted 17 November 2023 - 14:51

Sorry now I'm really confused.... does OpenATV deviates here....? Usually you have these 'boot slot' files that define the slots you can have....


Edited by littlesat, 17 November 2023 - 14:52.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Bug im kexec Multiboot #11 willy01

  • Senior Member
  • 268 posts

+8
Neutral

Posted 17 November 2023 - 15:11

here openATV screenshot, and yes with USB Stick 

 

root image is openATV

Attached Files


Edited by willy01, 17 November 2023 - 15:13.


Re: Bug im kexec Multiboot #12 littlesat

  • PLi® Core member
  • 57,154 posts

+698
Excellent

Posted 17 November 2023 - 15:16

Exactly the same... except for they allow to flash in the root slot.... (something that is not recommended and when done you need to find a way to backup images etc... to do this good...)


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Bug im kexec Multiboot #13 willy01

  • Senior Member
  • 268 posts

+8
Neutral

Posted 17 November 2023 - 15:19

Slot 7 is "root image", in PLI "leerer slot" 



Re: Bug im kexec Multiboot #14 rantanplan

  • PLi® Contributor
  • 1,860 posts

+87
Good

Posted 17 November 2023 - 15:23

Puh...

Es war klar, mir war es klar, aber hey....


@willy01
Ich kann die Verwirrung verstehen, aber es ist nichts kaputt, oder falsch...
Es ist einfach ein unterschiedlich "Handling" des Kexec und das führt eben zu dem Bild.

Die Empfehlung meinerseits um die Verwirrung zu verhindern (da die Teams alle leider ein wenig etwas separat ändern),
wenn du ein weiteres Image flasht, dann mache es immer aus dem primären Kexec Image heraus.

Mehr kann ich wohl nicht dazu beitragen.

Grüße



Re: Bug im kexec Multiboot #15 willy01

  • Senior Member
  • 268 posts

+8
Neutral

Posted 17 November 2023 - 15:24

Ja, ist eigentlich auch Wurscht.



Re: Bug im kexec Multiboot #16 rantanplan

  • PLi® Contributor
  • 1,860 posts

+87
Good

Posted 17 November 2023 - 15:39

@willy01

Nein, ich bin sogar dankbar das du es dargestellt hast.
Das ist eines von mehreren Dingen die zu Verwirrung führen.

Wäre schon geschickter bzgl Kexec Multiboot eine Dokumentation mit gereicht zu bekommen.
Auch ein paar Hinweise der Nutzung.

Aber für so etwas nimmt sich leider niemand mehr die Zeit.

Grüße



Re: Bug im kexec Multiboot #17 Huevos

  • PLi® Contributor
  • 4,654 posts

+162
Excellent

Posted 17 November 2023 - 20:31

Exactly the same... except for they allow to flash in the root slot.... (something that is not recommended and when done you need to find a way to backup images etc... to do this good...)

We allow flash root slot too and other slots survive the process.



Re: Bug im kexec Multiboot #18 WanWizard

  • PLi® Core member
  • 70,485 posts

+1,810
Excellent

Posted 17 November 2023 - 20:38

Because there is code that copies all other slots from flash to elsewhere, and moves it back after the boot of the root slot after flash.

 

Prone to error, and reliant on the availability and stability of enough external storage. Not end-user material, which are 99% of OpenPLi's users.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Bug im kexec Multiboot #19 rantanplan

  • PLi® Contributor
  • 1,860 posts

+87
Good

Posted 17 November 2023 - 21:24

@willyß1

eventuell kannst du hier helfen das man diesen eher optischen Fehler abfängt.
Also via debuglog den Vorgang oben (also Imageflash-Auswahl vom pli ausgehend) nochmal ausführst.

Das debuglog was zu obigen Bild führt dann hier als zip einfügen/anhängen.

Vielleicht kann man es abfangen.
 

 

Grüße



Re: Bug im kexec Multiboot #20 Huevos

  • PLi® Contributor
  • 4,654 posts

+162
Excellent

Posted 18 November 2023 - 00:08

Because there is code that copies all other slots from flash to elsewhere, and moves it back after the boot of the root slot after flash.

 

Prone to error, and reliant on the availability and stability of enough external storage. Not end-user material, which are 99% of OpenPLi's users.

It is possible but anyway the root image is not used in our case. It is a minimal image.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users