Naomi net boot problems

bonehead

I'll get pix tonight
vacBacker
Feedback
50 (100%)
Credits
1,729CR
Hi,

One of my Naomi cabs failed last night which is powered with a resbery pi NetBoot.

It seems almost every other time the cab is switched on the flash card becomes corrupt and won't even boot the pi. Surely this can't be normal? Is it just mine? I thought the idea of these modern things was to be reliable not fail every time it is used.

The pi is one I bought from the forums with the initial software installed but has only ever lasted a couple of power ups then fails. It's been flashed again for me but still the same. Is there are better way of shutting these down after you use the amchine rather than just switching the power off at the plug.

It's driving me that mad I might just do away with it and original carts.

Are other people havinthe same problems? Technology going backwards in my opinion.

Please help!!!!
 

chunksin

Active member
vacBacker
Feedback
21 (100%)
Credits
733CR
Hi Steve,

That's odd, a Netbooting Pi won't be doing very much other than running the python scripts so there isn't much to go wrong although it's not ideal to just power them off. Have you tried a different sd card?

I modded a wifi version that doesn't use the LCD screen but creates a local WiFi network written by devtty0. I added a 10 minute auto power off option for the Pi and you can run it in 2 modes, one to constantly boot the last loaded ROM and another mode so you can choose your games each time you boot. You use a mobile browser to connect to the Pi which displays your game list and tweak your settings or shut down your Pi manually.

Ideally you need a Pi version 3 as that has built in WiFi but you can get it working with a USB WiFi stick if you have an earlier version.

If you'd like to convert yours to WiFi drop me a PM and I can help you out with it.

Cheers,
Rich
 

obcd

Active member
Credits
3,830CR
The pi uses linux, and like all modern os, linux doesn't like it when you just pull the plug.

I assume it's not the way you turn off your pc as well?

Further on, the raspberry uses sd cards as storage medium. Those cards have an own buildin controller that performs some background tasks, specially when you write to the card. It has to find unused sectors and combines those to a page that can be erased.

So far the theory. A thing you could try is another brand of sd card. The alghorithm to combine sectors and erase pages is different for every brand, and some handle power interruptions better than others.

Another thing you could try is shutting down the pi after it loaded the program. You will need to reset it or power cycle it before you can use it again afterwards. Basically, this should ensure that all write cycles are terminated and that the sd card controller has finished it's background tasks.

To make a system really bullet proof, you need to make the root file system "read only". If it's not being written, it can't corrupt the file system, and you can shut it down by just pulling the plug without issues.

The strange thing is that some people are able to shut it down like that and claim they never have issues while others.. well, you know...
 
Top