shinobar wrote:Petget freezes at installing any pets under PUPMODE=13(flash).
It freezes at line 230 in installpkg.sh:
Code: Select all
busybox mount -t aufs -o remount,udba=reval unionfs / #remount with faster evaluation mode.
Ctrl + Alt + Backspace is only way to recover.
It seems hardware specific.
My 2 PCs freeze but another 1 PC is no problem.
No problem on Wary-51.103, but occurs on Racy 5.1.101.
Also occurs on Slacko alpha to RC, and on Dpup Exprim 5.X.8.
So, i suspect it depends on the hardware and the kernel.
http://www.murga-linux.com/puppy/viewto ... 328#555328
Besides, sfs_load does load and unload sfs on the fly with no problem.
Seems the option 'remount,udba=reval' may be the issue.
Temporally, i insert a code, 'PUPMODE=0', at line 89 in the /usr/local/petget/installpkg.sh to escape direct install to the pupsave.
Code: Select all
#boot from flash: bypass tmpfs top layer, install direct to pup_save file...
DIRECTSAVEPATH=""
PUPMODE=0 # shinobar: never direct to pupsave
if [ $PUPMODE -eq 3 -o $PUPMODE -eq 7 -o $PUPMODE -eq 13 ];then
shinobar,
Thanks for that report. Yesterday I was testing Wary with 2.6.32.45 kernel, booting off USB Flash stick, and when I installed a PET, it seemed to have installed ok, but when I examined the files, some of the files in the PET were not installed.
Or rather, they probably were, direct to a layer, but that 'remount,udba=reval' is not working anymore, it would seem.
Ok, I have bypassed that code in /usr/local/petget/installpkg.sh, for now anyway.
Hmmm, I might try unionfs again. They have just announced a new version. Unionfs used to do that re-evaluation of the layers very well -- I think an old version of installpkg.sh or petget has code for unionfs direct-write to a layer.
EDIT POST
I have reverted the bypass. I realised that installing in Wary is working -- the reason that I couldn't see some installed files was because there were already the same files "on top". That is, I had files at the pup-rw layer, whereas the PET wrote direct to the underlying pup_ro1 layer. That is a different problem, that will need to be looked into sometime.
So, I will leave the script as it was, as release of Wary is imminent. However, Slacko testers will need to confirm the problem for them, and might want the modified script. I will test with Racy soon.