Racy Puppy 5.2.2 Final, 18 Nov. 2011
gmail phone
Info not posting right here...Go to Puppy Forum #2 and see post in Racy...
http://puppylinux.info/
But we will try once again here......
Surprise....
If you have a gmail account for your email, you have a feature in there called 'Call Phone' (if I remember right, you have to signup for the feature even though it's free)
if you go to: http://tinyurl.com/8479cqm
Download the .pet file:
googletalk-ff.pet
Install it in Racy-5.2.2
You have free live talk from your computer microphone to any local and long-distance phone number in the U.S. and Canada.
Works like a charm and is cyrstal clear, probably better than your phone!
This works for U.S. gmail accounts, how it will work for other parts of the world, you'll have to check that out for yourself.
NOTE: When dialing... a '1' is required for long-distance numbers and the 'area-code' seems to be required for all calls, even local.
Might even work in Slacko, Exprimo, Lupu and others... here again, you won't know unless you try.
>>>---Indian------>
http://puppylinux.info/
But we will try once again here......
Surprise....
If you have a gmail account for your email, you have a feature in there called 'Call Phone' (if I remember right, you have to signup for the feature even though it's free)
if you go to: http://tinyurl.com/8479cqm
Download the .pet file:
googletalk-ff.pet
Install it in Racy-5.2.2
You have free live talk from your computer microphone to any local and long-distance phone number in the U.S. and Canada.
Works like a charm and is cyrstal clear, probably better than your phone!
This works for U.S. gmail accounts, how it will work for other parts of the world, you'll have to check that out for yourself.
NOTE: When dialing... a '1' is required for long-distance numbers and the 'area-code' seems to be required for all calls, even local.
Might even work in Slacko, Exprimo, Lupu and others... here again, you won't know unless you try.
>>>---Indian------>
Cloud Computing For Every Puppy (a .pet)
[url]http://murga-linux.com/puppy/viewtopic.php?t=69192[/url]
[url]http://murga-linux.com/puppy/viewtopic.php?t=69192[/url]
mhwaveedit config file
Suggestion for Barry...
I got an idea while looking a Tazoc's Lighthouse 503
He puts a mhwaveedit configuration file in his ISO
so that the first time a user launches mhwaveedit
it will have a wide window and less vertical scroll bars.
It's a nice touch!!
Here's the file he uses ----> /root/.mhwaveedit/config
Note that there is a line for window geometry
________________________________________
I got an idea while looking a Tazoc's Lighthouse 503
He puts a mhwaveedit configuration file in his ISO
so that the first time a user launches mhwaveedit
it will have a wide window and less vertical scroll bars.
It's a nice touch!!
Here's the file he uses ----> /root/.mhwaveedit/config
Note that there is a line for window geometry
Code: Select all
# mhWaveEdit configuration file.
# Automatically generated by mhWaveEdit 1.4.20
# May be hand edited but extra comments will be removed when the
# settings are saved.
# Remove this file to restore default settings.
tempfilesFP = true
speedReset = false
viewQuality = 128
timeDisplayScale = 0
varispeedConv = 5
tempDir1 = /root/.mhwaveedit
rollCursor = false
mixerUtility = retrovol
showTimeScale = true
showSpeed = false
showHorizontalZoom = false
playerFallback_BigEndian = false
showVerticalZoom = false
speedSmooth = true
speedConv = 0
soundDriver = auto
soundBufferSize = 65536
timeDisplay = 0
mainwinFront = true
recentFiles = 4
drawImprove = true
varispeed = true
playerFallback_SampleSize = 2
autoPlayMark = false
outputStereo = false
useGeometry = true
outputByteswap = false
ditherPlayback = 0
windowGeometry = 50_50_822_292
diskEditingThreshold = 131072
centerCursor = true
soundLock = false
playerFallback_Signed = true
ditherEditing = 1
/etc/services is missing entries for ntp.
After being a happy Puppy 4.3.1 user for over two years, I decided to try something new. Trying out Racy 5.2.2, I am pleased to see that the past couple of years have brought many improvements. Racy is looking good!
I did notice, however. that ntpdate (which was included in both Puppy 4.3.1 and Racy 5.2.2) is still not working because of an omission in the /etc/services file.
For details see the following bug report submitted by Minomushi in 2010: ntpdate trouble
I am attaching a copy of /etc/services which is a duplicate of the one included with Racy 5.2.2 except that the missing entries have been added.
I did notice, however. that ntpdate (which was included in both Puppy 4.3.1 and Racy 5.2.2) is still not working because of an omission in the /etc/services file.
For details see the following bug report submitted by Minomushi in 2010: ntpdate trouble
I am attaching a copy of /etc/services which is a duplicate of the one included with Racy 5.2.2 except that the missing entries have been added.
- Attachments
-
- services.gz
- /etc/services with entries for ntp
- (957 Bytes) Downloaded 359 times
Trouble with Ralink RT2860 Wirless Driver
With Racy Puppy 5.2.2, I managed to add the RT2860.bin firmware file for the Ralink RT2860 driver that was missing to the lib/firmware folder but after that I cannot find any wireless networks when scanning, even though there is definetly one that should be able to be found.
Any ideas on how I can make a Ralink RT2860 adapter work with Racy Puppy 5.2.2?
Any ideas on how I can make a Ralink RT2860 adapter work with Racy Puppy 5.2.2?
wifi problem
nobles:
You might want to move your question on Racy wifi over to the forum thread below for better results:
http://www.murga-linux.com/puppy/viewtopic.php?t=74819
I still have a problem with rt2800USB but at least it was addressed over there.
>>>---Indian------>
You might want to move your question on Racy wifi over to the forum thread below for better results:
http://www.murga-linux.com/puppy/viewtopic.php?t=74819
I still have a problem with rt2800USB but at least it was addressed over there.
>>>---Indian------>
Cloud Computing For Every Puppy (a .pet)
[url]http://murga-linux.com/puppy/viewtopic.php?t=69192[/url]
[url]http://murga-linux.com/puppy/viewtopic.php?t=69192[/url]
B43 returns in k3.1.8
Just tried wuxiandianzi's experiment with k3.1.8 and it looks like B43 support has been fixed in this kernel so there's hope for us B43 users on k3.....cmccullough wrote:Well, everything but the B43 Broadcom wireless but that's to be expected. I'm getting pretty used to that. Just need to figure out how to get it working under Puppy.
Thanks!
http://murga-linux.com/puppy/viewtopic. ... 527#596527
Cheers
peebee
LxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
This fixes 2 bugs in the PUI.
First if you choose to run gparted the drive selection window shows your drive twice in the drive selection window after you quit gparted.
The second is that the PUI offers a full install to NTFS.
First if you choose to run gparted the drive selection window shows your drive twice in the drive selection window after you quit gparted.
The second is that the PUI offers a full install to NTFS.
Code: Select all
--- puppyinstaller.orig 2012-01-15 21:21:20.000000000 -0500
+++ puppyinstaller 2012-01-15 21:23:17.000000000 -0500
@@ -406,6 +406,8 @@
/tmp/dlg1
[ $? -ne 0 ] && exit
+unset SELECTIONS
+
DRVSEL="`cat /tmp/retval`"
[ "$DRVSEL" = "" ] && exit
@@ -1157,7 +1159,8 @@
and you may choose to upgrade or totally replace."
fi
INSTOPTION="1"
- if [ ! "$DESTFS" = "vfat" ];then
+ #if [ ! "$DESTFS" = "vfat" ];then
+ if [[ "$DESTFS" =~ "ext.*" ]] ; then
LANG=C Xdialog --wmclass "gtkdialog2" --left --buttons-style text --title "Puppy Universal Installer" --ok-label "FRUGAL" --cancel-label "FULL" --yesno "You have chosen to install to /dev/$DESTPART, which appears to be an internal
hard drive ($FINALPMEDIA).
$PREVPUPMSG
The French blogger "Gu1" has discovered that versions 1.11 and above of X.org's X Server contain an interesting vulnerability that enables users to gain access to a locked computer.
http://www.h-online.com/security/news/i ... 17864.html
Version 1.11.0 is used in Racy 5.2.2 and Wary 5.2.2.
http://www.h-online.com/security/news/i ... 17864.html
Version 1.11.0 is used in Racy 5.2.2 and Wary 5.2.2.
[b]Classic Opera 12.16 browser SFS package[/b] for Precise, Slacko, Racy, Wary, Lucid, etc available[url=http://terryphillips.org.uk/operasfs.htm]here[/url] :)
Barry has fixed the B43 problem in k3 puppies
Just to report that Barry has identified why b43 drivers / firmware fail to load in k3 puppies
http://bkhome.org/blog/?viewDetailed=02651
and pemasu has created a pet of the fix:
http://murga-linux.com/puppy/viewtopic. ... h&id=51139
and I've tested that it works for my b43 with v13 firmware in
racy 5.2.2
slacko 5.3.1.3
exprimo 5.x.10.3
all with versions of the k3 kernel
cheers and thanks to barry and pemasu
peebee
http://bkhome.org/blog/?viewDetailed=02651
and pemasu has created a pet of the fix:
http://murga-linux.com/puppy/viewtopic. ... h&id=51139
and I've tested that it works for my b43 with v13 firmware in
racy 5.2.2
slacko 5.3.1.3
exprimo 5.x.10.3
all with versions of the k3 kernel
cheers and thanks to barry and pemasu
peebee
LxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Re: /etc/services is missing entries for ntp.
Thanks, fixed in Woof, will upload Woof later today.npierce wrote:After being a happy Puppy 4.3.1 user for over two years, I decided to try something new. Trying out Racy 5.2.2, I am pleased to see that the past couple of years have brought many improvements. Racy is looking good!
I did notice, however. that ntpdate (which was included in both Puppy 4.3.1 and Racy 5.2.2) is still not working because of an omission in the /etc/services file.
For details see the following bug report submitted by Minomushi in 2010: ntpdate trouble
I am attaching a copy of /etc/services which is a duplicate of the one included with Racy 5.2.2 except that the missing entries have been added.
[url]https://bkhome.org/news/[/url]
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Thanks, I have fixed in Woof, will upload Woof later today.jemimah wrote:This fixes 2 bugs in the PUI.
First if you choose to run gparted the drive selection window shows your drive twice in the drive selection window after you quit gparted.
The second is that the PUI offers a full install to NTFS.
Code: Select all
--- puppyinstaller.orig 2012-01-15 21:21:20.000000000 -0500 +++ puppyinstaller 2012-01-15 21:23:17.000000000 -0500 @@ -406,6 +406,8 @@ /tmp/dlg1 [ $? -ne 0 ] && exit +unset SELECTIONS + DRVSEL="`cat /tmp/retval`" [ "$DRVSEL" = "" ] && exit @@ -1157,7 +1159,8 @@ and you may choose to upgrade or totally replace." fi INSTOPTION="1" - if [ ! "$DESTFS" = "vfat" ];then + #if [ ! "$DESTFS" = "vfat" ];then + if [[ "$DESTFS" =~ "ext.*" ]] ; then LANG=C Xdialog --wmclass "gtkdialog2" --left --buttons-style text --title "Puppy Universal Installer" --ok-label "FRUGAL" --cancel-label "FULL" --yesno "You have chosen to install to /dev/$DESTPART, which appears to be an internal hard drive ($FINALPMEDIA). $PREVPUPMSG
[url]https://bkhome.org/news/[/url]
Please consider these 2 :will upload Woof later today.
rc.shutdown :
Code: Select all
M=`mount`
MTD=`echo $M | rev | sed 's§ )§\n)§g'|rev`
echo "$MTD"
*
the killzombies: cut that occurs in rc.shutdown
also occurs in
pmount
drives_all
pup_event_frontend_d
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
karl,Karl Godt wrote:Please consider these 2 :will upload Woof later today.
rc.shutdown :
This works for me to turn mount output upside down to unmount sfs,iso,partition ...Code: Select all
M=`mount` MTD=`echo $M | rev | sed 's§ )§\n)§g'|rev` echo "$MTD"
*
the killzombies: cut that occurs in rc.shutdown
also occurs in
pmount
drives_all
pup_event_frontend_d
maybe because I haven't yet had my morning cup of coffee, but I don't understand either of these suggestions. Would you mind fleshing them out a bit?
[url]https://bkhome.org/news/[/url]
The synaptics driver needs SHMConfig for the flsynclient calibration to work. I've added it in both xorgwizard and xorgwizard-automatic.
Code: Select all
--- xorgwizard.orig 2012-01-26 14:29:42.000000000 +0800
+++ xorgwizard 2012-01-26 13:16:57.000000000 +0800
@@ -1423,6 +1423,7 @@
NEW3='Section "InputDevice"\
Identifier "Synaptics Mouse"\
Driver "synaptics"\
+ Option "SHMConfig" "on"\
EndSection\
\
Section "Monitor" #sectionmonitor0'
Code: Select all
--- xorgwizard-automatic.orig 2012-01-26 14:29:52.000000000 +0800
+++ xorgwizard-automatic 2012-01-26 13:15:55.000000000 +0800
@@ -216,6 +216,7 @@
NEW3='Section "InputDevice"\
Identifier "Synaptics Mouse"\
Driver "synaptics"\
+ Option "SHMConfig" "on"\
EndSection\
\
Section "Monitor"'
OK : first , for the mountpoints :BarryK wrote:karl,Karl Godt wrote:Please consider these 2 :will upload Woof later today.
rc.shutdown :
This works for me to turn mount output upside down to unmount sfs,iso,partition ...Code: Select all
M=`mount` MTD=`echo $M | rev | sed 's§ )§\n)§g'|rev` echo "$MTD"
*
the killzombies: cut that occurs in rc.shutdown
also occurs in
pmount
drives_all
pup_event_frontend_d
maybe because I haven't yet had my morning cup of coffee, but I don't understand either of these suggestions. Would you mind fleshing them out a bit?
/etc/rc.d/rc.shutdown has got these lines to unmount ~ everything ~
>
I have mounted many loopdevices to show the problem of nested/encapsulated/interlaced mounts :MNTDPARTS="`mount`"
#echo
#echo $(gettext "Unmounting stray filesystems:")
echo "Unmounting stray filesystems:"
#091117 110928 if partition mounted, when choose shutdown, pc rebooted. found that param given to fuser must be mount-point, not /dev/*...
STRAYPARTL="`echo "$MNTDPARTS" | grep ' /mnt/' |grep -v -E '/dev/pts|/proc|/sys|tmpfs|rootfs|on / |/dev/root|usbfs|unionfs|aufs|/initrd'`"
STRAYPARTD="`echo "$STRAYPARTL" | cut -f 1 -d ' ' | tr '\n' ' '`"
#111106 do not execute fuser if network share mount (may hang, see http://murga-linux.com/puppy/viewtopic.php?t=73122)...
STRAYPARTandMNT="`echo "$STRAYPARTL" | cut -f 1,3 -d ' ' | tr ' ' '|' | tr '\n' ' '`"
for ONESTRAY in $STRAYPARTandMNT
do
FLAGCIFS="`echo -n ${ONESTRAY} | grep '^//'`"
ONESTRAYMNT="`echo -n ${ONESTRAY} | cut -f 2 -d '|'`"
#echo "`eval_gettext "Unmounting \\\${ONESTRAY}..."`"
echo "Unmounting $ONESTRAY..."
if [ "$FLAGCIFS" = "" ];then
xFUSER="`fuser -m $ONESTRAY 2>/dev/null`"
[ "$xFUSER" != "" ] && fuser -k -m $ONESTRAYMNT 2>/dev/null
fi
killzombies #v3.99
sync
umount -r $ONESTRAY
done
The problem is the/dev/sda11 on /mnt/sda11 type ext2 (rw,relatime,errors=continue)
/dev/loop0 on /mnt/+mnt+sda11+luci_218_2011_10_25.sfs type squashfs (ro,relatime)
/dev/loop1 on /mnt/+mnt++mnt+sda11+luci_218_2011_10_25.sfs+JUMP-7+lucisave-MAIN.3fs type ext3 (ro,relatime,errors=continue,barrier=0,data=ordered)
/dev/loop2 on /mnt/+mnt++mnt+sda11+luci_218_2011_10_25.sfs+JUMP-7+luci-218.sfs type squashfs (ro,relatime)
/dev/loop3 on /mnt/+mnt++mnt+sda11+luci_218_2011_10_25.sfs+JUMP-7+Gimp_2.7.3_218.sfs type squashfs (ro,relatime)
/dev/loop4 on /mnt/+mnt++mnt+sda11+luci_218_2011_10_25.sfs+JUMP-7+luci_devx_218.sfs type squashfs (ro,relatime)
/dev/loop5 on /mnt/+mnt++mnt+sda11+luci_218_2011_10_25.sfs+JUMP-7+ISO+luci-218.iso type iso9660 (ro,relatime)
/dev/sda10 on /mnt/sda10 type ext3 (rw,relatime,errors=continue,barrier=0,data=ordered)
/dev/loop6 on /mnt/+mnt+sda10+JUMP-10+slacko-5.3.1-SCSI-MAIN.iso type iso9660 (ro,relatime)
/dev/loop7 on /mnt/+mnt++mnt+sda10+JUMP-10+slacko-5.3.1-SCSI-MAIN.iso+puppy_slacko_5.3.1.sfs type squashfs (ro,relatime)
for ONESTRAY in $STRAYPARTandMNT
would read the list of mounted partitions/directories in the above order and try to unmount
/dev/sda10
before /dev/loop6 existing on /dev/sda10
which would fail because being in use by /dev/loop6
And would try to unmount /dev/loop6 before /dev/loop7 existing inside /dev/loop6
which would fail because being in use by /dev/loop7
Code: Select all
MNTDPARTS="`mount`"
MNTDPARTS=`echo $MNTDPARTS |rev|sed 's# )#\n)#g' |rev`
[own kernel with # Device Drivers/dev/sda9 on /mnt/sda9 type ext4 (rw,relatime,barrier=1,data=ordered)
/dev/loop7 on /mnt/+mnt++mnt+sda10+JUMP-10+slacko-5.3.1-SCSI-MAIN.iso+puppy_slacko_5.3.1.sfs type squashfs (ro,relatime)
/dev/loop6 on /mnt/+mnt+sda10+JUMP-10+slacko-5.3.1-SCSI-MAIN.iso type iso9660 (ro,relatime)
/dev/sda10 on /mnt/sda10 type ext3 (rw,relatime,errors=continue,barrier=0,data=ordered)
/dev/loop5 on /mnt/+mnt++mnt+sda11+luci_218_2011_10_25.sfs+JUMP-7+ISO+luci-218.iso type iso9660 (ro,relatime)
/dev/loop4 on /mnt/+mnt++mnt+sda11+luci_218_2011_10_25.sfs+JUMP-7+luci_devx_218.sfs type squashfs (ro,relatime)
/dev/loop3 on /mnt/+mnt++mnt+sda11+luci_218_2011_10_25.sfs+JUMP-7+Gimp_2.7.3_218.sfs type squashfs (ro,relatime)
/dev/loop2 on /mnt/+mnt++mnt+sda11+luci_218_2011_10_25.sfs+JUMP-7+luci-218.sfs type squashfs (ro,relatime)
/dev/loop1 on /mnt/+mnt++mnt+sda11+luci_218_2011_10_25.sfs+JUMP-7+lucisave-MAIN.3fs type ext3 (ro,relatime,errors=continue,barrier=0,data=ordered)
/dev/loop0 on /mnt/+mnt+sda11+luci_218_2011_10_25.sfs type squashfs (ro,relatime)
/dev/sda11 on /mnt/sda11 type ext2 (rw,relatime,errors=continue)
none on /proc/bus/usb type usbfs (rw,relatime)
none on /nodev/smackfs type smackfs (rw,relatime)
none on /nodev/mqueue type mqueue (rw,relatime)
none on /nodev/nfsd type nfsd (rw,relatime)
none on /nodev/hugetlbfs type hugetlbfs (rw,relatime)
none on /nodev/ramfs type ramfs (rw,relatime)
none on /nodev/rpc_pipefs type rpc_pipefs (rw,relatime)
none on /nodev/securityfs type securityfs (rw,relatime)
none on /nodev/debugfs type debugfs (rw,relatime)
none on /nodev/binfmt_misc type binfmt_misc (rw,relatime)
none on /nodev/cgroup type cgroup (rw,relatime,freezer,devices,memory,cpuacct,cpu,ns,debug,cpuset)
shmfs on /dev/shm type tmpfs (rw,relatime,size=217284k)
none on /sys type sysfs (rw,relatime)
none on /dev/pts type devpts (rw,relatime,gid=2,mode=620,ptmxmode=000)
none on /proc type proc (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=501124k,nr_inodes=125281,mode=755)
/dev/root on / type ext3 (rw,relatime,errors=continue,barrier=0,data=ordered)
rootfs on / type rootfs (rw)
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
CONFIG_DEBUG_DEVRES=y
CONFIG_MTD_BLKDEVS=m
# Self-contained MTD device drivers ]
Second :
Actually i found the killzombies functions while trying to implement udf detection to removeable devices :
Puppy 528 can't read DVD data disk made by Windows
Neither Slacko nor Lucid will read DVD-RAM
Sorry for not posting diff patches , but i am running Puppy511 atm
and want to get PUK detection to USB modem SIM cards to work
.. .. rc.shutdown fixesKarl Godt posted some more fixes to /etc/rc.d/rc.shutdown, regarding to killing of stray processes and zombies. Applied.
I got this from: http://www.murga-linux.com/puppy/viewtopic.php?t=73122
Woof commit:
http://bkhome.org/fossil/woof2.cgi/info/a94d3c19f4
Actually i found the killzombies functions while trying to implement udf detection to removeable devices :
Puppy 528 can't read DVD data disk made by Windows
Neither Slacko nor Lucid will read DVD-RAM
Sorry for not posting diff patches , but i am running Puppy511 atm
and want to get PUK detection to USB modem SIM cards to work
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Thanks, done. I will announce on blog soon and upload Woof.jemimah wrote:The synaptics driver needs SHMConfig for the flsynclient calibration to work. I've added it in both xorgwizard and xorgwizard-automatic.
Code: Select all
--- xorgwizard.orig 2012-01-26 14:29:42.000000000 +0800 +++ xorgwizard 2012-01-26 13:16:57.000000000 +0800 @@ -1423,6 +1423,7 @@ NEW3='Section "InputDevice"\ Identifier "Synaptics Mouse"\ Driver "synaptics"\ + Option "SHMConfig" "on"\ EndSection\ \ Section "Monitor" #sectionmonitor0'
Code: Select all
--- xorgwizard-automatic.orig 2012-01-26 14:29:52.000000000 +0800 +++ xorgwizard-automatic 2012-01-26 13:15:55.000000000 +0800 @@ -216,6 +216,7 @@ NEW3='Section "InputDevice"\ Identifier "Synaptics Mouse"\ Driver "synaptics"\ + Option "SHMConfig" "on"\ EndSection\ \ Section "Monitor"'
[url]https://bkhome.org/news/[/url]
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Thanks for spelling it out. Applied, will upload Woof soon.Karl Godt wrote:OK : first , for the mountpoints :BarryK wrote:karl,Karl Godt wrote: Please consider these 2 :
rc.shutdown :
This works for me to turn mount output upside down to unmount sfs,iso,partition ...Code: Select all
M=`mount` MTD=`echo $M | rev | sed 's§ )§\n)§g'|rev` echo "$MTD"
*
the killzombies: cut that occurs in rc.shutdown
also occurs in
pmount
drives_all
pup_event_frontend_d
maybe because I haven't yet had my morning cup of coffee, but I don't understand either of these suggestions. Would you mind fleshing them out a bit?
/etc/rc.d/rc.shutdown has got these lines to unmount ~ everything ~
>
I have mounted many loopdevices to show the problem of nested/encapsulated/interlaced mounts :MNTDPARTS="`mount`"
#echo
#echo $(gettext "Unmounting stray filesystems:")
echo "Unmounting stray filesystems:"
#091117 110928 if partition mounted, when choose shutdown, pc rebooted. found that param given to fuser must be mount-point, not /dev/*...
STRAYPARTL="`echo "$MNTDPARTS" | grep ' /mnt/' |grep -v -E '/dev/pts|/proc|/sys|tmpfs|rootfs|on / |/dev/root|usbfs|unionfs|aufs|/initrd'`"
STRAYPARTD="`echo "$STRAYPARTL" | cut -f 1 -d ' ' | tr '\n' ' '`"
#111106 do not execute fuser if network share mount (may hang, see http://murga-linux.com/puppy/viewtopic.php?t=73122)...
STRAYPARTandMNT="`echo "$STRAYPARTL" | cut -f 1,3 -d ' ' | tr ' ' '|' | tr '\n' ' '`"
for ONESTRAY in $STRAYPARTandMNT
do
FLAGCIFS="`echo -n ${ONESTRAY} | grep '^//'`"
ONESTRAYMNT="`echo -n ${ONESTRAY} | cut -f 2 -d '|'`"
#echo "`eval_gettext "Unmounting \\\${ONESTRAY}..."`"
echo "Unmounting $ONESTRAY..."
if [ "$FLAGCIFS" = "" ];then
xFUSER="`fuser -m $ONESTRAY 2>/dev/null`"
[ "$xFUSER" != "" ] && fuser -k -m $ONESTRAYMNT 2>/dev/null
fi
killzombies #v3.99
sync
umount -r $ONESTRAY
done
The problem is the/dev/sda11 on /mnt/sda11 type ext2 (rw,relatime,errors=continue)
/dev/loop0 on /mnt/+mnt+sda11+luci_218_2011_10_25.sfs type squashfs (ro,relatime)
/dev/loop1 on /mnt/+mnt++mnt+sda11+luci_218_2011_10_25.sfs+JUMP-7+lucisave-MAIN.3fs type ext3 (ro,relatime,errors=continue,barrier=0,data=ordered)
/dev/loop2 on /mnt/+mnt++mnt+sda11+luci_218_2011_10_25.sfs+JUMP-7+luci-218.sfs type squashfs (ro,relatime)
/dev/loop3 on /mnt/+mnt++mnt+sda11+luci_218_2011_10_25.sfs+JUMP-7+Gimp_2.7.3_218.sfs type squashfs (ro,relatime)
/dev/loop4 on /mnt/+mnt++mnt+sda11+luci_218_2011_10_25.sfs+JUMP-7+luci_devx_218.sfs type squashfs (ro,relatime)
/dev/loop5 on /mnt/+mnt++mnt+sda11+luci_218_2011_10_25.sfs+JUMP-7+ISO+luci-218.iso type iso9660 (ro,relatime)
/dev/sda10 on /mnt/sda10 type ext3 (rw,relatime,errors=continue,barrier=0,data=ordered)
/dev/loop6 on /mnt/+mnt+sda10+JUMP-10+slacko-5.3.1-SCSI-MAIN.iso type iso9660 (ro,relatime)
/dev/loop7 on /mnt/+mnt++mnt+sda10+JUMP-10+slacko-5.3.1-SCSI-MAIN.iso+puppy_slacko_5.3.1.sfs type squashfs (ro,relatime)
for ONESTRAY in $STRAYPARTandMNT
would read the list of mounted partitions/directories in the above order and try to unmount
/dev/sda10
before /dev/loop6 existing on /dev/sda10
which would fail because being in use by /dev/loop6
And would try to unmount /dev/loop6 before /dev/loop7 existing inside /dev/loop6
which would fail because being in use by /dev/loop7
should revert toCode: Select all
MNTDPARTS="`mount`" MNTDPARTS=`echo $MNTDPARTS |rev|sed 's# )#\n)#g' |rev`
[own kernel with # Device Drivers/dev/sda9 on /mnt/sda9 type ext4 (rw,relatime,barrier=1,data=ordered)
/dev/loop7 on /mnt/+mnt++mnt+sda10+JUMP-10+slacko-5.3.1-SCSI-MAIN.iso+puppy_slacko_5.3.1.sfs type squashfs (ro,relatime)
/dev/loop6 on /mnt/+mnt+sda10+JUMP-10+slacko-5.3.1-SCSI-MAIN.iso type iso9660 (ro,relatime)
/dev/sda10 on /mnt/sda10 type ext3 (rw,relatime,errors=continue,barrier=0,data=ordered)
/dev/loop5 on /mnt/+mnt++mnt+sda11+luci_218_2011_10_25.sfs+JUMP-7+ISO+luci-218.iso type iso9660 (ro,relatime)
/dev/loop4 on /mnt/+mnt++mnt+sda11+luci_218_2011_10_25.sfs+JUMP-7+luci_devx_218.sfs type squashfs (ro,relatime)
/dev/loop3 on /mnt/+mnt++mnt+sda11+luci_218_2011_10_25.sfs+JUMP-7+Gimp_2.7.3_218.sfs type squashfs (ro,relatime)
/dev/loop2 on /mnt/+mnt++mnt+sda11+luci_218_2011_10_25.sfs+JUMP-7+luci-218.sfs type squashfs (ro,relatime)
/dev/loop1 on /mnt/+mnt++mnt+sda11+luci_218_2011_10_25.sfs+JUMP-7+lucisave-MAIN.3fs type ext3 (ro,relatime,errors=continue,barrier=0,data=ordered)
/dev/loop0 on /mnt/+mnt+sda11+luci_218_2011_10_25.sfs type squashfs (ro,relatime)
/dev/sda11 on /mnt/sda11 type ext2 (rw,relatime,errors=continue)
none on /proc/bus/usb type usbfs (rw,relatime)
none on /nodev/smackfs type smackfs (rw,relatime)
none on /nodev/mqueue type mqueue (rw,relatime)
none on /nodev/nfsd type nfsd (rw,relatime)
none on /nodev/hugetlbfs type hugetlbfs (rw,relatime)
none on /nodev/ramfs type ramfs (rw,relatime)
none on /nodev/rpc_pipefs type rpc_pipefs (rw,relatime)
none on /nodev/securityfs type securityfs (rw,relatime)
none on /nodev/debugfs type debugfs (rw,relatime)
none on /nodev/binfmt_misc type binfmt_misc (rw,relatime)
none on /nodev/cgroup type cgroup (rw,relatime,freezer,devices,memory,cpuacct,cpu,ns,debug,cpuset)
shmfs on /dev/shm type tmpfs (rw,relatime,size=217284k)
none on /sys type sysfs (rw,relatime)
none on /dev/pts type devpts (rw,relatime,gid=2,mode=620,ptmxmode=000)
none on /proc type proc (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=501124k,nr_inodes=125281,mode=755)
/dev/root on / type ext3 (rw,relatime,errors=continue,barrier=0,data=ordered)
rootfs on / type rootfs (rw)
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
CONFIG_DEBUG_DEVRES=y
CONFIG_MTD_BLKDEVS=m
# Self-contained MTD device drivers ]
[url]https://bkhome.org/news/[/url]
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Thanks for more details. Well, diffs against latest rc.shutdown would help, as difficult to sift through your post. Anyway, I have applied your latest change to ZOMBIES= line. Will upload Woof very soon.Karl Godt wrote:Second :
.. .. rc.shutdown fixesKarl Godt posted some more fixes to /etc/rc.d/rc.shutdown, regarding to killing of stray processes and zombies. Applied.
I got this from: http://www.murga-linux.com/puppy/viewtopic.php?t=73122
Woof commit:
http://bkhome.org/fossil/woof2.cgi/info/a94d3c19f4
Actually i found the killzombies functions while trying to implement udf detection to removeable devices :
Puppy 528 can't read DVD data disk made by Windows
Neither Slacko nor Lucid will read DVD-RAM
Sorry for not posting diff patches , but i am running Puppy511 atm
and want to get PUK detection to USB modem SIM cards to work
[url]https://bkhome.org/news/[/url]
zombie line ofthe killzombies: cut that occurs in rc.shutdown
also occurs in
pmount
drives_all
pup_event_frontend_d
/usr/sbin/pmount for example :
would need to be :#v3.99 fix zombie process prevents partition unmount, invisible to fuser...
if [ $umVAL -ne 0 ];then
ZOMBIES="`ps -H -A | grep '<defunct>' | sed -e 's/ /|/g' | grep -v '|||' | cut -f 1 -d ' ' | tr '\n' ' '`"
for ONEZOMBIE in $ZOMBIES
do
echo "Killing parentless zombie process $ONEZOMBIE"
kill $ONEZOMBIE
done
umount $MNTPT ; umVAL=$?
fi
Code: Select all
ZOMBIES="`ps -H -A | grep '<defunct>' | sed 's/^[[:blank:]]*//;s/ /|/g' | grep -v '|||' | cut -f 1 -d ' ' | tr '\n' ' '`"
/usr/local/bin/drives_all
/sbin/pup_event_frontend_d