Jades wrote:A frugal install of 593 on sdb2, NTFS format, isn't getting past the login step, both with a save file created on the initial pfix=ram and one from booting it again after the former was deleted.
Jades wrote:Just tried running a Slacko 593 Frugal on the other NTFS drive and it has the same problem with exceptionally slow booting as I previously reported.
I can confirm this.
PUPMODE=12 + 512MiB slackosave.4fs on sda1 (NTFS)
The hang begins right after
login [xxxxx]: root login on 'tty1' and it takes ~6-7 minutes (with extremely high HDD activity) to reach the desktop.
Here's what I have determined so far:
- the old workaround for IO bug (remount with 'sync') seems to be the culprit; disabling it fixes the problem (but "unfixes" the IO bug - yes, it's still there in k3.4.94!)
- the problem affects only 3fs & 4fs, 2fs is ok
Apparently journaled filesystems (ext3/4) don't like the 'sync' parameter...
I wonder why didn't I notice it before? Probably because the majority of my old tests were performed in PUPMODE=13 and some slowdown was noticeable*, but only while saving the session...
* But not so singnificant actually, probably because 'snapmergepuppy' is the only process that writes to
pup_ro1 in PM=13 at given time and I think the terrible slowdown is caused by conflicts between various processes reading/writing from/to
pup_rw simultaneously in
PM=12+ext3/4+sync, especially at boot.
So, the best fix I can think of ATM is to disable the hack for 3/4fs in PUPMODES other than 3/7/13 (welcome back IO bug
), but leave it for 2fs in all PUPMODES.
Another "fix" would be to ban all 3.2.x & 3.4.x kernels.
Diff against rc.sysinit from Shino's Slacko-5.9.3.6:
Code: Select all
--- old/rc.sysinit 2014-07-08 06:16:20.000000000 +0200
+++ new/rc.sysinit 2014-07-19 14:25:26.726604073 +0200
@@ -899,11 +899,13 @@
if [ ! "$PUPMODE" = 5 ];then
if vercmp $KERNVER ge 3.2 ;then
if vercmp $KERNVER lt 3.8 ;then
- case "$DEV1FS" in
- ntfs|vfat|ext2)
- mount -o remount,sync /dev/loop1 # changed 130210, SFR
- ;;
- esac
+ if [ "${PUPSAVE##*.}" = "2fs" ] || [ ${PUPMODE} -eq 3 -o ${PUPMODE} -eq 7 -o ${PUPMODE} -eq 13 ] ; then
+ case "$DEV1FS" in
+ ntfs|vfat|ext2)
+ mount -o remount,sync /dev/loop1 # changed 130210, SFR
+ ;;
+ esac
+ fi
fi
fi
fi
Tested with slackosave.2fs & slackosave.4fs, each of them in PM=12 & PM=13.
@Jades: was it indeed 3/4fs savefile? If so could you please create and check also 2fs?
Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]