Page 3 of 3

Temp files not cleaned - causes hang after power loss

Posted: Fri 13 Feb 2009, 05:29
by viperpiper
Puppy 4.1.0-->4.1.2
Full install
Puppy will hang after power loss at "Waiting for modules to complete loading". Keyboard unresponsive.

Booting from the live CD and deleting some temp files fixes the problem.

To cope with this in the future (as this is repeatable every time I have a powerloss) I added the following to my /etc/rc.sysini script just after the line:

Code: Select all

ln -s /proc/mounts /etc/mtab

Code: Select all

#If we were not shutdown cleanly, try and recover
if [ -f /tmp/RUNNING ];then
 echo -n "(Cleaning up after unclean shutdown)" >/dev/console
 rm -f /var/log/X*
 rm -rf /tmp/*
 rm -f /var/lock/LCK*
 rm -f /var/run/*.pid
 rm -rf /root/tmp 2> /dev/null
 rm -rf /root/.thumbnails/* 2> /dev/null
fi

#create a file in tmp that should be deleted on a clean shutdown
echo 'this file is deleted during a clean shutdown' > /tmp/RUNNING


Posted: Fri 13 Feb 2009, 22:14
by vtpup
Xvidtune save bug identified and worked around:
http://www.murga-linux.com/puppy/viewto ... 603#274603

hopeful it will translate into a fix in next version of Puppy.

burniso2cd verify correction from puppy 4.3.1

Posted: Sun 18 Oct 2009, 02:53
by rerwin
This correction is part of puppy 4.3.1 and is retrofitted for puppys 4.1.2 and 4.2.1. The correction eliminates bad verifies due to starting of verification before the optical drive is ready. Beware that nothing will appear to be happening for perhaps a half minute, then the drive light will indicate reading of the disk. The attached package is for puppys based on 4.1.2 only.

Fix for erratic module-loading preference function

Posted: Mon 14 Dec 2009, 02:29
by rerwin
Reports of unreliable handling of module preferences, as given in the BootManager Preference option, probably resulted from a bug in the pup_event_backend_modprobe script, which is responsible for the loading of appropriate hardware driver modules. The package, pup_event_backend_modprobe_fix_to_p41x_42x-1.pet, resolves that bug. It should be installed by anyone experiencing a problem with preferred modules not loading (e.g., atl1e instead of atl1c). The package, for both Puppy 4.1.2 and 4.2.1, can be downloaded from the 4.2 thread here:
http://www.murga-linux.com/puppy/viewto ... 664#371664
Richard