Fresh nanobsd install wont restore config
-
what CF card r u using?
what could be broken on my box, could it be the bios which i updated to 0.99m from 0.99h? -
Mine has 0.99h BIOS - I would be surprised if a newer BIOS broke this, given that you can SCP the file to the box.
My CF card is SanDisk Ultra 15MB/s - it comes from a system that was running in production for about 2 years and is now a test unit on my desk. -
i downgraded to 0.99h and during the process i noticed in bios LBA was set so changed that to CHS but still no luck.
how can it be 2 CF cards having same issue and no sign of any error in any system log and plus the earlier snaps of 2.2.5 were working perfectly fine
-
i tried it on a 2.2.4 alix box running in production in a remote location using same brand of CF card and they work all fine, am able to edit any file, config restore also works fine so im definitely sure its something in 2.2.5 only
-
This the same ALIX that always has problems that no one else on earth has ever seen?
Nothing related to writing of files has changed since 2.2.4 or earlier much less since earlier 2.2.5 snapshots. That's what's failing there from the sounds of it, likely the same cause as your other thread. Backup/restore and editing of files works fine here.
Go back to 2.2.4 with the same board and CF and try same, what happens?
-
like i said earlier everything else works and on 2.2.4 also everything works.
- if u insist the board is failing then it cant be 2 of them that r failing together and that too without even a single error message anywhere.
- if the board were failing then rest of the 99% of the features would also give issues but thats not the case, can use pfsense completely, rules, alias, nat, dhcp, openvpn etc etc
- even on the earlier 2.2.5 everything was fine, just since a month or so 2 things stopped working, wasnt able to edit files in www directory and then tried a fresh install and it wont restore the config which i then had to do using winscp and then everything came up just fine
but still if u think its my board only then im in no hurry, we can wait till 2.2.5 is out and some1 else reports the same on a fresh install
-
I missed that you'd tried two boards. How about the same setup with 2.3-ALPHA?
-
i tried the below
same board on 2.2.5 and different CF cards doesnt work on all
same board on 2.2.4 and different CF cards and works on all
different board on 2.2.4 with same brand CF card and works
cant try that other board with 2.2.5 as its in production and in remote location so dont want to bring it down2.3 i dont feel confident enough to try it out.
i could give u access to this board if u want to have a look at it
-
I just tried:
a) Download pfSense-2.2.5-DEVELOPMENT-2g-i386-nanobsd-20150930-1813.img.gz from snapshots.pfsense.org
b) physdiskwrite.exe pfSense-2.2.5-DEVELOPMENT-2g-i386-nanobsd-20150930-1813.img.gz to a CF card
c) Put in an Alix 2D13 and boot, assign interfaces.
d) Login to 192.168.1.1 and skip doing the wizard
e) Restore a simple config using the webGUI - it rebooted fine.
f) Restore a complex real config saved from a production box - again it rebooted fine.
g) Use the config history and revert to a previous config, then reboot - also worked fine.So this is a bit mysterious - I can't reproduce this issue at all on my test hardware.
-
sounds wierd, let me get a sandisk or lexar CF card and try.
first time in my life i see a computer failing without any signs of it, if thats the case or the brand of CF card which is causing this
i believe this issue is the root cause and not the backup/restore config in general
https://forum.pfsense.org/index.php?topic=100028.0 -
2.3 i dont feel confident enough to try it out.
We're not talking about putting it into production, just write out a nano image and try what you're trying. It'll help narrow down whether there's a problem and if so where it is.
-
ok ill give that a try and report back soon
-
@cmb:
2.3 i dont feel confident enough to try it out.
We're not talking about putting it into production, just write out a nano image and try what you're trying. It'll help narrow down whether there's a problem and if so where it is.
i tried 2.3 today, the issue still persists, cant restore config as well as cant edit files in www folder using edit file but can upload config using winscp and edit using ee editor from console.
is this something to do with those SLC based CF cards that pcengines sells because recently there was a recall of some old CF cards with bad firmware and i have got a brand new replacement one and i tried that as well as my old one, in total i have 3 of their CF cards and same issue with all of them. Its preety hard to find CF cards in my region and the ones that r sold are very high capacity ones that r to be used in DSLRs
-
same brand, firmware and capacity CF card in the other remote alix box on 2.2.4 edits all files properly. let me once again try a 2.2.4 image on the same CF card and see if that too has the issues or no, last time i tried it was working fine and was able to do everything
-
tried a fresh install of 2.2.4 on all the 3 CF cards, booted it, configured interface, restored config and rebooted fine. Edit file also works. Even tried both things multiple times and with CF permanently mounted as RW as well as RO and then let it switch automatically when restoring config and in all possible scenarios everything works all good on 2.2.4 on all the 3 CF cards i have from pcengines so definitely something changed between 2.2.4 and 2.2.5 or some other patches in the php files etc caused this to happen to my box which was merged in 2.2.5