The time now is Sat 25 May 2013, 20:28
All times are UTC - 4 |
| Author |
Message |
Sage
Joined: 04 Oct 2005 Posts: 4623 Location: GB
|
Posted: Mon 07 Mar 2011, 04:34 Post subject:
|
|
If you start up with the liveCD without using the cheat code pfix=ram, any installed system will be upgraded. At least that's the theory - in practice it can be imperfect, as I related yesterday. You should probably do what I did, ie overwrite the update with the PUI.
Your original issue would've been an app. feature. Pass.
|
|
Back to top
|
|
 |
ariszlo
Joined: 16 Jan 2010 Posts: 6
|
Posted: Mon 07 Mar 2011, 05:29 Post subject:
|
|
There is kernel panic if Puppy is installed to a usb key, session is saved directly to an ext2 partition and Puppy is trying to load additional sfs files, e.g. java_jre-6u22-Lucid-sfs4.sfs or LibreOfc3-en-us_3.3.0.4_final_sfs4.sfs.
Used to be OK in Puppy 5.0.
More details here: loaded sfs causes kernel panic on ext2
|
|
Back to top
|
|
 |
Sylvander
Joined: 15 Dec 2008 Posts: 2856 Location: West Lothian, Scotland, UK
|
Posted: Thu 10 Mar 2011, 12:49 Post subject:
|
|
Lupu-520
BUG:
1. When using Xfe...
If I right-click on a file and choose "Open with..."...
Only /usr/bin/mtpaint is listed...
And even if I add some other to the list [like Leafpad]...
And click the "Save" icon to save the change...
[I'm using a lupusave on an internal HDD, but changed a config setting in a file in the ISO so this Puppy treats the lupusave as if on a Flash Drive]
Next time I boot into the Puppy, there's still only /usr/bin/mtpaint listed.
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Fri 11 Mar 2011, 19:15 Post subject:
|
|
you know the metacity package I made for lucid has been downloaded 110 times already, with those numbers you might want to make it default wm and use any old taskbar,on yeah by the numbers of views of the screenshot VS actual downloads. Its one out of ten people who viewed it, downloaded it.
http://www.murga-linux.com/puppy/viewtopic.php?p=487288#487288 <-- post
http://gnome-look.org/index.php?xcontentmode=101 <-- hundreds of themes
ttuuxxx
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
Salamander
Joined: 12 Mar 2011 Posts: 4
|
Posted: Sat 12 Mar 2011, 04:20 Post subject:
new2dir is really slow |
|
Been experimenting with making packages in 5.2 since I got my new netbook (and installed full hard-puppy on it), and I noticed there are a few quirks in the new2dir script. Most noticeably, the inner loop at line 290:
| Code: | #line 217...
cat ${RELPATH}/${EXE_PKGNAME}.files |
while read ONEFILE
do
##Lots of stuff here
#line 285...
if [ "$EXESPLIT" = "yes" ];then
mkdir -p "${EXE_TARGETDIR}/${ONEPATH}"
cp -af "$ONEFILE" "${EXE_TARGETDIR}/${ONEPATH}/" 2>/dev/null
[ $? -ne 0 ] && fixfilelistfunc $ONEFILE
#fix for empty directories...
cat /tmp/${EXE_PKGNAME}.dirs | ## ----> LINE 290 <------
while read ANEWDIR
do
[ "`ls -1 $ANEWDIR`" = "" ] && mkdir -p ${EXE_TARGETDIR}${ANEWDIR}
done
fi
done |
The loop will attempt to recreate every single directory that was created during installation, and it will attempt to do so for almost every single file the script processes.
The only time it is not executed is if the script has been told to split files into docs/development files/internationalisations folders and the file should be put in one of those three other folders.
Why is this a problem? When I was attempting to perform a medium install of TeX Live (about 26k files and 1700 directories), it took 8 seconds to process a single file. At that rate, it would take sixty hours to complete.
How can it be fixed?
Simply moving the inner loop to just before the outer loop starts changed that speed to more than three files every second.
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Sat 12 Mar 2011, 07:46 Post subject:
Re: new2dir is really slow |
|
| Salamander wrote: | Been experimenting with making packages in 5.2 since I got my new netbook (and installed full hard-puppy on it), and I noticed there are a few quirks in the new2dir script. Most noticeably, the inner loop at line 290:
How can it be fixed?
Simply moving the inner loop to just before the outer loop starts changed that speed to more than three files every second. |
nice first post and a heck of a way to make a entry
do you have a new new2dir pet ? to test
ttuuxxx
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
Sage
Joined: 04 Oct 2005 Posts: 4623 Location: GB
|
Posted: Sat 12 Mar 2011, 12:37 Post subject:
|
|
Just now tried Lupu5.2.4beta in live mode. The speed of Opera is staggering (not interested in the also rans!) At 127Mb .iso, difficult to beat for comprehensiveness - why bother with the rest - well done Pd.
|
|
Back to top
|
|
 |
Salamander
Joined: 12 Mar 2011 Posts: 4
|
Posted: Mon 14 Mar 2011, 09:47 Post subject:
Re: new2dir is really slow |
|
| ttuuxxx wrote: | | do you have a new new2dir pet ? to test |
Just to clarify, do you mean a pet which will replace /usr/bin/new2dir with the modified version?
|
|
Back to top
|
|
 |
manelapb
Joined: 11 Mar 2011 Posts: 9
|
Posted: Tue 15 Mar 2011, 14:02 Post subject:
Boot slow down 17seconds if USB memory card reader in the PC |
|
Hi everyone,
BUG: if a internal multi memory card reader connected by USB is mounted in the PC the part of "Waiting for usb partitions" of the step "Loading drivers needed to access disk drives" takes 17 seconds more (this wait are the red dots).
The problem is a new (puppy 5.2) wait for partitions in all USB sdX drives when most/all of them are empty so they will never show a partition. The timeout takes 17 seconds.
My SD/MMC/xD/MS/Pro/Duo/CF/Microdrive memory reader uses sdb, sdc, sdd, sde, and sdf, and last fourl of them are empty on boot
I boot from USB stick.
Ideas:
1) Remove that code
2) Add a boot parameter e.g.: "waitdev=sdb1" to wait only the USB drive we know it has the save file for people who really needs that.
In any case 17 seconds of timeout is too much... it should be reduced to lets say 5 seconds
How did I measured that? take a look to http://www.murga-linux.com/puppy/viewtopic.php?t=65726
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Tue 15 Mar 2011, 18:24 Post subject:
Re: new2dir is really slow |
|
| Salamander wrote: | | ttuuxxx wrote: | | do you have a new new2dir pet ? to test |
Just to clarify, do you mean a pet which will replace /usr/bin/new2dir with the modified version? |
yes for users to test. Its always easier with a pet
ttuuxxx
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
Salamander
Joined: 12 Mar 2011 Posts: 4
|
Posted: Thu 17 Mar 2011, 10:42 Post subject:
|
|
Pet containing the modified new2dir script attached to this post.
After thinking about it a bit more, I realised that there is a slight logic difference in the two versions:
In the original, it would only create the directory structure in the executable package folder if there was at least one file that was not considered a doc, dev, or locale file (Which would be pretty rare that there isn't at least one file).
In the modified file, it will always create the directory structure in the executable package folder (Unless you tell the script not to bother with the exe package altogether).
Not a significant difference, but worth noting.
I'll continue looking into this script, as I think it may have a hatred for spaces and ampersands in some cases.
| Description |
pet containing the modified new2dir script to run at linear speed.
|

Download |
| Filename |
new2dir-20110312.pet |
| Filesize |
4.72 KB |
| Downloaded |
243 Time(s) |
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Thu 17 Mar 2011, 14:41 Post subject:
|
|
| Salamander wrote: | Pet containing the modified new2dir script attached to this post.
After thinking about it a bit more, I realised that there is a slight logic difference in the two versions:
In the original, it would only create the directory structure in the executable package folder if there was at least one file that was not considered a doc, dev, or locale file (Which would be pretty rare that there isn't at least one file).
In the modified file, it will always create the directory structure in the executable package folder (Unless you tell the script not to bother with the exe package altogether).
Not a significant difference, but worth noting.
I'll continue looking into this script, as I think it may have a hatred for spaces and ampersands in some cases. |
Just tried it on 2.14X and its a lot quicker Thanks
ttuuxxx
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
Salamander
Joined: 12 Mar 2011 Posts: 4
|
Posted: Fri 18 Mar 2011, 01:20 Post subject:
new2dir again |
|
Found another one in the new2dir script.
If a folder is moved during the install phase, the script will lose track of all the files in it, and it will not be able to separate those files into their appropriate packages.
Should I create a new thread to post bugs related to this script (and bugfixes when I come up with them), or just keep posting them in here?
|
|
Back to top
|
|
 |
Sage
Joined: 04 Oct 2005 Posts: 4623 Location: GB
|
Posted: Fri 18 Mar 2011, 05:07 Post subject:
|
|
Update:
- except instability with Logitech Mouseman Wheel continues.
Used to happen with all sorts of distros, all sorts of mice years ago but the rest of the bunch, including Wary/Quirky & co. seem to have fixed it once and for all.
- new feature has crept in. During PUI, srx, where files are located from a pfix=ram, is not auto-mounted leading to a bunch of crazy messages.
- updating Opera to 11.01 leaves two entries in the menu: both are v11.01 ! And the Opera icon still appears against Pup-Advert-Blocker?
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7019 Location: qld
|
Posted: Fri 18 Mar 2011, 05:31 Post subject:
|
|
Sage, put on the extra-strength lenses ..
| Description |
|
| Filesize |
24.07 KB |
| Viewed |
1110 Time(s) |

|
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|