ShareFS with headless RPi 3 on RC15
Chris Mahoney (1684) 2165 posts |
*Configure NoBoot would save on typing if necessary (revert with *Configure Boot). |
John Sandgrounder (1650) 574 posts |
The ‘culprit’ to the headless boot problem is the !DBSRscs app added to the !Boot.Resources directory in the 13-Apr-2017 RC15 build (ie was not in RC14) I assume that this App was added to the build at a late stage in the development without full testing. Remove it (or hide it away) and headless boot works fine once more. What a waste of time that this (third party?) app was added to the build without being properly tested! |
Rick Murray (539) 13840 posts |
Uh, so what’s this then? |
Steve Pampling (1551) 8170 posts |
In some respects yes, however it’s demonstrated a slight hole in the Harinezumi use case.
A test application for Harinezumi use in headless install use cases :) Edit: Actually it appears to be a software library utility for non-essential software so it has no place in the boot sequence. |
Steve Fryatt (216) 2105 posts |
You’re aware that on odd numbered builds, the releases are “unstable” and made available precisely so that users like you and I can do that testing? Many of us use such builds every day without issue, but sometimes new changes can cause problems. Now that you’ve found a problem in the free OS that you’re using on your Pi, how about submitting a useful bug report to ROOL by way of saying “thanks”…? :-) |
Clive Semmens (2335) 3276 posts |
Where can I say “thanks” to ROOL for this “unstable” R15 release that hasn’t crashed for me once yet…I’m not exploring many of its avenues, but I’m remorselessly thrashing those avenues I do venture down (if you’ll excuse my mixed metaphors) |
Steve Pampling (1551) 8170 posts |
Unknown stability status vs. tested known stability status. The former may fail to run (and has once or twice) the latter has no known stability issues but lacks some bleeding edge features. |
John Sandgrounder (1650) 574 posts |
Point taken about the free OS that I am using. |
John Williams (567) 768 posts |
I don’t seem to have this, and neither does the latest HD download. What is it and where did it come from? |
dave_j (3231) 50 posts |
Hmm!! I have just had a session with a new RC15 installation and !DBSRscs was not an issue at all. To get it to run headless, and Share, the default EDID setup had to be replaced with a MDF, and that was all. |
Rick Murray (539) 13840 posts |
I asked this earlier – it was described as: a software library utility for non-essential software so it has no place in the boot sequence |
dave_j (3231) 50 posts |
SDFS::RISCOSpi.$.!Boot.Resources.!DBSRscs Its purpose is somewhat obscure but it should be entirely passive. “!DBSRscs (Common Resources for DynaByte Software Applications)” |
Rick Murray (539) 13840 posts |
It was good to revisit this, because Harinezumi was very broken (as in “did not work”) in more recent incarnations of the boot sequence. Why? Because some smart ass decided to replace this: Repeat BootLoad <Boot$ToBeLoaded> -files <Boot$ProgressLoad> Repeat BootRun <Boot$ToBeLoaded> -directories <Boot$ProgressRun> with this: Do Repeat BootLoad <Boot$ToBeLoaded> -files <Boot$ProgressLoad> Do Repeat BootRun <Boot$ToBeLoaded> -directories <Boot$ProgressRun> Why? The “Do” command says that it passes the argument to the command interpreter, exactly like not invoking Do at all. Is this something largely pointless like the “LET” keyword in BASIC? Anyway, about twenty minutes of hacking (sorry, I used the inline assembler as I couldn’t be bothered to write veneer code in the other source file, declare function prototypes and all that rubbish when a couple of lines wrapped in |
Rick Murray (539) 13840 posts |
Maybe the <cough>fixed version of Harinezumi might help diagnose what is happening? Something in Boot Resources won’t be affecting the system boot. There’ll be something in PreDesk (which might use the indicated resource…) that is misbehaving.
That’s a workaround. Not a fix. The fix is for RISC OS (or whatever extension is choking) to be smart enough to recognise that NO monitor is connected and then either: |
dave_j (3231) 50 posts |
Obviously. The point I was making is that !DBSRscs is not part of the problem, here at least. The EDID and headless invisible error is :- Boot:Choices.Boot.PreDesk.!!ZeroPain Boot:Choices.Boot.PreDesk.Configure Repeat: Keyword file_format was expected at line 1 of file Resources:$.Resources.ScreenMode.Monitors.EDID0 |
Rick Murray (539) 13840 posts |
Aaaaand there we go.
What is it, an empty file? What is necessary is for the EDID code to have a safety callback where it will output a generic emergency MDF with some default sizes (really only need 640×480 and 800×600 – and in headless cases that’s just to placate the rest of the system) in cases where an EDID was expected but none was actually read. |
dave_j (3231) 50 posts |
Who knows? Headless with no display and the machine apparently stuffed makes that a bit difficult. No sharing, no VNC, no idea. |
Chris Mahoney (1684) 2165 posts |
The !Help file describes it as “Common Resources for DynaByte Software Applications”, which, at least to me, doesn’t explain much! [Edit: Oops, already answered, and the Delete button still doesn’t work] |
John Williams (567) 768 posts |
So, what is it seems to have been answered, but not how it got into Boot:Resources! I was confused because John S said it was part of RC15, but, perhaps thankfully if he’s right in his diagnosis, I don’t have it. What have the rest of you been doing which has made it appear? Google just tells me about “retro games” – is this it? If it’s a shared resource library, then Boot:Resources is indeed where it should be, but is it actually broken? |
dave_j (3231) 50 posts |
About !DBSRscs
It was part of RC15 as downloaded here yesterday. |
Jeffrey Lee (213) 6048 posts |
DBSRscs’s !Boot file only sets up a couple of system variables and loads some icon sprites. Nothing unusual. Perhaps something which depends on DBSRscs is broken, but more than likely the problem is a zero-byte EDID file (and the general lack of error tolerance within the boot sequence) |
Clive Semmens (2335) 3276 posts |
I’m not. I’m extremely grateful for it. I’ve met none of the unknown “unknown stability status”, and at least one of the “bleeding edge features” is a godsend for me. !Draw & StrongEd spread out all over a glorious 4K desktop… (!FontEd too, but I’ve not actually had occasion to use that in anger since getting the Pi, and may never do so again. No plan to at present. Just had a poke around to see if it was working.) |
Jeffrey Lee (213) 6048 posts |
Repeat: Keyword file_format was expected at line 1 of file Resources:$.Resources.ScreenMode.Monitors.EDID0 128 null bytes. I’ve fixed the most egregious errors, so booting an EDID-enabled Pi without a monitor should now leave you at a functioning mode 28 desktop (previously it would get stuck in mode 0 with an illegible error box on screen). However the boot sequence will still fail halfway through – one of the Repeat commands will fail, but it won’t actually be caught as an error by the boot sequence, so the user will only find out about it when they (e.g.) notice that Fat32FS hasn’t been loaded. So some changes to the boot sequence and/or Repeat are definitely needed to improve its robustness. |
Steve Pampling (1551) 8170 posts |
I notice the new code in CVS (which should play through in the build overnight) that fixes part of the issue in this thread:
The next comment suggests that a “fix” for the slightly fragile boot is still required:
So, in the meantime, it would seem installing Harinezumi is a good idea. At least until the boot is a little more robust… |
dave_j (3231) 50 posts |
Many thanks, that is much better. A more sensible MDF choice can now be made with VNC. |