Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

"Hard Drive on Fire!" error message #79

Open
nshram opened this issue Apr 17, 2018 · 4 comments
Open

"Hard Drive on Fire!" error message #79

nshram opened this issue Apr 17, 2018 · 4 comments
Labels

Comments

@nshram
Copy link

nshram commented Apr 17, 2018

I'm using a ported 2.43 version on a Kindle, using its inbuilt Linux.
I get a "Hard drive on fire!" error message when trying to run frotz.
What does this error indicate and how to avoid it at runtime?
Browsing through the code, I see that it has something to do with the HOMEDIR environment variable.

@DavidGriffith
Copy link
Owner

I never expected "Hard drive on fire!" to actually appear in a functional system. It was intended as a test to check to make sure something hadn't gone horribly wrong with the operating system, specifically, the $HOME environmental variable being absent. Where did you get this port of Frotz?

@nshram
Copy link
Author

nshram commented Apr 20, 2018

I got the port here: https://www.mobileread.com/forums/showthread.php?t=186007
Have fixed the error by defining $HOME in a script which calls frotz.

@DavidGriffith
Copy link
Owner

I posted to that thread asking for whoever packaged up Frotz to contact me so we can work out what went wrong and to see what changes I can make so that the Kindle port works better.

@nshram
Copy link
Author

nshram commented Apr 21, 2018

That port was made by the thread starter: fvek. But it's an old thread and I don't know if he's still active.
Also, the error doesn't occur in the older kindles(KT, PW1, PW2). "echo $HOME" gives /tmp/root.
But in some of the newer kindles(PW3, KT3), $HOME is undefined. So, this error pops up. The fix, as mentioned above, is to define $HOME in a shell script which then calls frotz.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants