Puppy 4.1.2 Bug Fixes

Please post any bugs you have found
Message
Author
User avatar
viperpiper
Posts: 13
Joined: Thu 18 Dec 2008, 11:52

Temp files not cleaned - causes hang after power loss

#41 Post 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


User avatar
vtpup
Posts: 1420
Joined: Thu 16 Oct 2008, 01:42
Location: Republic of Vermont
Contact:

#42 Post 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.

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

burniso2cd verify correction from puppy 4.3.1

#43 Post 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.
Attachments
burniso2cd_for_P4.1.2-1.pet
Retrofitted correction to the Verify portion, to delay verification until the drive
has had time to become ready.
(2.86 KiB) Downloaded 759 times

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

Fix for erratic module-loading preference function

#44 Post 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

Post Reply