pUPnGO - 6Mb ISO - Basic Building Block Puplet

A home for all kinds of Puppy related projects
Message
Author
emil
Posts: 633
Joined: Tue 10 Nov 2009, 08:36
Location: Austria
Contact:

#381 Post by emil »

Thanks - I found iso and devx file :D

Now a dumb question: I tried to compile sage inside pupngo (had installed devx, gfortran and tcltk into it), but it refuses to work with build scripts because it says "bash not found". I guess this is because of the busybox. Is there any way to fix this?

Do you recommend to build in regular 412 and just use the binary in pupngo for my minimal sage server?

goingnuts
Posts: 932
Joined: Sun 07 Dec 2008, 13:33
Contact:

#382 Post by goingnuts »

emil: I would recommend to compile in P412 and not in pUPnGO. The missing bash-thing - 6 post up there is a static bash - might work - but best guess is that you will have much less trouble compiling in original P412 and afterwards move your programs to pUPnGO.

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#383 Post by sc0ttman »

Hi goingnuts,

Here's what I have for the JWM drive icons...

Basically, click on a drive icon, ROX opens.. After you close ROX, an Xdialog thing pops up, asking if you want to unmount.. If you click yes, it unmounts, icon not refreshed. If you click no, it updates the icon and restarts JWM to show the drive is still mounted.

And of course, it works in reverse - if it was mounted and you unmount, the icons are refreshed to show that...

It might seem strange to update the icons after ROX is closed, but this way, it minimizes the need to re-run create_jwmrc_drives and restart JWM.. Icons are only refreshed if if needed.

.....

I think this is all you need, don't think I updated anything while doing it... It's a bit rough... It's maybe different from what you originally sent me, meaning it might not work until you improve it!!

I removed 9menu, and added an Xdialog thing asking to unmount, after ROX is closed.... Like 2.14X ... Yet to fix multiple instances, if you click the drive icon twice - you'll see what I mean..

For me it works fine, although at first boot, sometimes a few partitions are missing, and I have to run create_jwmrc_drives.sh again.... I know it can be fixed, just not sure how as yet.

Hope you like it :) Obviously take it as you want, change whatever, or stick to what you got now, this is just in case it helps.

And a screenshot...
Attachments
drive_mounter.sh.gz
(10 KiB) Downloaded 326 times
create_jwmrc_drives.sh.gz
(10 KiB) Downloaded 323 times
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#384 Post by technosaurus »

I added a script for jwm notifications (no other apps required)
http://www.murga-linux.com/puppy/viewtopic.php?t=51200
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

goingnuts
Posts: 932
Joined: Sun 07 Dec 2008, 13:33
Contact:

#385 Post by goingnuts »

sc0ttman: Thanks for sharing! I will adopt some of your code - really would be nice if jwm would update the image on traybuttons without restart...
Busybox blkid is extremely slow as it always probe everything so I might use a static GNU of that bin or use static build of "vol_id" from the udevd-package (as far as I remember) - to get the drive name and put it in the jwm-tool-tip instead.

For the multikernel build I have a working iso with the 4 kernels. A problem is that the iso gets to large for hosting at www.datafilehost (iso is 113Mb) as it holds 4 complete versions of pUPnGO. It still need some polish and testing but hopefully it will be finished soon.

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#386 Post by nooby »

goingnuts hope it is okay if I ask a very naive but friendly intended question.

Your Pupngo is 6mb big and TCL is some 10 MB but when one have installed Firefox and other things one are used to have on Puppy then it is bigger than puppy with them installed from scratch.

How does that work on Pupngo. That one is smaller than the puppy with same program which is smaller than the TinyCore with them included?

Have I got that right? So you and Technosaurus and TTuuxx love things that are small size and effect without bloat.

The problem seems to be that pupngo use a kernel with older drivers.

What is it about TCL that allow them to have recent drivers then? TCL just worked out of the box. Everything worked apart from the Swedish keyboard. But that is accomplished by some extra work by the user.

Both wants to be modular. Both use files that can be loaded and unloaded. some of the ideas seems to be rather similar.

I am in latest version of TCL now for the first time it boot on NTFS.
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#387 Post by sc0ttman »

goingnuts wrote:sc0ttman: Thanks for sharing! I will adopt some of your code - really would be nice if jwm would update the image on traybuttons without restart...
Busybox blkid is extremely slow as it always probe everything so I might use a static GNU of that bin or use static build of "vol_id" from the udevd-package (as far as I remember) - to get the drive name and put it in the jwm-tool-tip instead.

For the multikernel build I have a working iso with the 4 kernels. A problem is that the iso gets to large for hosting at www.datafilehost (iso is 113Mb) as it holds 4 complete versions of pUPnGO. It still need some polish and testing but hopefully it will be finished soon.
Yeah, sorry if I disappointed or misled you :oops: - I still can't get icons refreshed without re-starting JWM, I know it's a dumb way, but I think it works OK...ish.. Would love to know if I can do it without restarting JWM, but I seriously doubt it is possible (for me at least)..

If I can get a faster blkid, (or similar) that would be lovely... Can't remember where I got mine, actually.. Will have to check... Anything that speeds up running create_jwmrc_drives will be nice... I don't know enough to make it into an ash script, or even if it is possible..

About the kernel thing, PM me for FTP details, you can upload to my site somewhere... I'm thinking a multi-kernel, PXE booting thing would be nice... I'd maybe even build/host one for people to test!
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

goingnuts
Posts: 932
Joined: Sun 07 Dec 2008, 13:33
Contact:

#388 Post by goingnuts »

Hi nooby
I am in latest version of TCL now for the first time it boot on NTFS.
Finally! Congratulations! BTW pUPnGO was never intended to become a desktop-building block although you can use it as such. And its a hobby, its fun, its educationally - at least for me...

Hi sc0ttman
I have attached to static bins that both gives drive names etc. I do not know if they are faster than the one you are using but maybe worth a try. And thanks for the hosting offer - I will revert when ready :)

Update 280511: some timings on dynamic blkid versus the static blkid:
dynamic: real 0m0.019s
static : real 0m0.017s
static vol_id: real 0m0.016s

This cant be a bottleneck :roll: but output of blkid is (with command "/blkid -s LABEL /dev/sda1"):
/dev/sda1: LABEL="XPNEW"
where output of vol_id is (with command "vol_id --label /dev/sda1":
XPNEW
so using vol_id you get the result and the output of blkid has to be modified (if only label is needed..."
Attachments
blkid_volid_bins.tar.gz
blkid and vol_id static builds
(49.41 KiB) Downloaded 346 times

goingnuts
Posts: 932
Joined: Sun 07 Dec 2008, 13:33
Contact:

#389 Post by goingnuts »

I am having strange problems creating pUPnGO with kernel 2.6.33.2 from lupo:
If on hardware with a CRT-monitor "everything" is ok but using a LCD screen - monitor turns black. And this gives no way of trouble-shooting :cry:
If I bypass the following line in /etc/udevd/rules.d/50-udev-puppy-basic.rules
ACTION=="add", SUBSYSTEM=="?*", ENV{MODALIAS}=="?*", RUN+="/sbin/pup_event_backend_modprobe"

I can avoid the black screen - but no drivers are loaded (except the ones force loaded by initrd.gz)

Any hints would be very much appreciated!
Update 010611: Well...turns out to be a graphic driver problem and not a monitor-type issue. Deleting the /lib/modules/kernel/drivers/gpu directory from zdrv "solves" it. Further tests seems to point to drm_kms_helper.ko as being the trouble-maker - removing that single module makes everything work.
Last edited by goingnuts on Wed 01 Jun 2011, 19:47, edited 1 time in total.

goingnuts
Posts: 932
Joined: Sun 07 Dec 2008, 13:33
Contact:

Kernel driver stripping

#390 Post by goingnuts »

Observed that kernel drivers seldom reports as stripped in ROX-Filer - guess there are a good reasons for that (?)
But as size matters in the pUPnGO sense, I tried anyway to strip them. For now I stripped all drivers in lib/modules/2.6.33.2 obtaining the following result:
#zdrv size uncompressed before stripping: 51Mb
#zdrv size uncompressed after stripping: 47Mb
#zdrv size compressed before stripping: 21Mb
#zdrv size compressed after stripping: 19Mb
All drivers gunzipped before stripping.
I cannot see any problems/difference booting pUPnGO_525 before and after stripping...
And modules still report "unstripped" in ROX-Filer...

Size reduction is minor doing the same thing on modules in initrd (reduction 160K uncompressed).

Used below script:

Code: Select all

#!/bin/sh
START_DIR="zdrv_525/lib/modules/2.6.33.2"
cd $START_DIR
for x in $(find . -name *.ko); do
#do a recursive strip
strip --strip-unneeded $x
done

goingnuts
Posts: 932
Joined: Sun 07 Dec 2008, 13:33
Contact:

#391 Post by goingnuts »

New build based on kernel 2.6.18.1 from Puppy 216.
Attachments
pUPnGO_V216_060611.png
(47.47 KiB) Downloaded 567 times

User avatar
wuxiandianzi
Posts: 136
Joined: Tue 28 Apr 2009, 09:42
Location: china

sorry

#392 Post by wuxiandianzi »

I am sorry!
this iso can not to be downloaded from page"http://www.datafilehost.com/download-5bbbcba9.html" .
when I click "download" it display http://www.datafilehost.com/download-5bbbcba9.html again without anything.
:cry: :cry: :cry:

goingnuts
Posts: 932
Joined: Sun 07 Dec 2008, 13:33
Contact:

#393 Post by goingnuts »

wuxiandianzi: Sorry for the trouble - have made the download link more obvious. The url you refer to is correct...maybe a browser issue/disabled javascript?
Or try entering the full url to your browser: http://www.datafilehost.com/get.php?file=5bbbcba9

User avatar
wuxiandianzi
Posts: 136
Joined: Tue 28 Apr 2009, 09:42
Location: china

thank you

#394 Post by wuxiandianzi »

goingnuts wrote:wuxiandianzi: Sorry for the trouble - have made the download link more obvious. The url you refer to is correct...maybe a browser issue/disabled javascript?
Or try entering the full url to your browser: http://www.datafilehost.com/get.php?file=5bbbcba9
Thank you goingnuts :
I tried SeaMonkey 1.1.18/firefox-4.2/IE6/IE8 browsers still failed.
wget URL would be great,or can you send it to my email ?
Thank you!

goingnuts
Posts: 932
Joined: Sun 07 Dec 2008, 13:33
Contact:

#395 Post by goingnuts »

In the other end of kernels a build with kernel from snowpuppy-016 (2.6.35.7) uploaded.
Haven't followed version numbering so just took version reported by snowpuppy. Content in pup_016pupngo.sfs and GUI_016.sfs is exactly the same as in version pUPnGO V216 060611 - but squasfs-version is 4 where pUPnGO V216 060611 uses 3.0.

Sizes:
Kernel 2270K
initrd.gz 2875K
pup_016pupngo.sfs 3204K
GUI_016.sfs 2160K
zdrv_016.sfs 22M

If you test this or the pUPnGO V216 060611 version - report bugs/success so it can be fixed/not altered for future builds with various kernels - please.

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#396 Post by Keef »

I've tried both, with mixed results:
The 216 version boots fine, but there is either a problem with modprobe or the ndiswrapper module it is trying to load - terminal hangs on running 'modprobe ndiswrapper'. Also hangs running insmod ndiswrapper, but it (ndiswrapper) does then show up after running lsmod. The driver isn't working though. Modprobe keeps on running and just won't die....

Couldn't mount the iso for the newer kernel at first, but found it was because there were spaces in the name!
Did a manual frugal install, and it booted ok and got to the login prompt. After a few seconds it produced:

Code: Select all

 NMI received for unknown reason at a1 on cpu0.
You have had some hardware problem, likely on the PCI bus 
It seems this message may have something to do with the memory, but I have not had any problems (at least nothing has complained before, anyway...)


Compaq Armada M700 PIII 450, 320mb ram.

goingnuts
Posts: 932
Joined: Sun 07 Dec 2008, 13:33
Contact:

#397 Post by goingnuts »

Hi Keef
Thank you for testing and reporting :). I can reproduce the ndiswrapper problem and org P216 do not have the problem. I will try to solve it.

The "NMI received for unknown reason at a1 on cpu0. " I haven't seen - will look into that as well.

And I will avoid the spaces in the name of the iso :oops:

Update 090611: New build of pUPnGO_V016_090611.iso now with correct packed firmware as tar.gz. Do not know if this solves Keefs "NMI received for unknown reason at a1 on cpu0"...

Could also be a udevd-rule problem...
The pUPnGO V016 070611.iso has been deleted.

goingnuts
Posts: 932
Joined: Sun 07 Dec 2008, 13:33
Contact:

#398 Post by goingnuts »

Might have found reason (or solution) to modprobe freeze when trying to load ndiswrapper. Seems that in P216 /sbin/loadndisdriver is needed. At least the freeze stops when added and lsmod reports module loaded - guess for ndiswrapper to actually work one needs to add perl and other stuff as well...
Attached a static build of loadndisdriver.
Attachments
loadndiswrapper_static.tar.gz
static build of loadndisdriver
(16.56 KiB) Downloaded 363 times

goingnuts
Posts: 932
Joined: Sun 07 Dec 2008, 13:33
Contact:

static mplayer

#399 Post by goingnuts »

Found this static build of mplayer - only tested avi and mp3:
http://robur.slu.se/diet/bin-i386/mplayer
1900K upxed/5500K unpacked.

goingnuts
Posts: 932
Joined: Sun 07 Dec 2008, 13:33
Contact:

desklaunch - hacked

#400 Post by goingnuts »

Hacked desklaunch, 11K installed, uses 2500K running...
Fixed crash when trying to drag icon with mouse (use alt+mouse to drag - new position will be saved).
Added mid and right mouse user defined command possibility.
Added user defined application name (if you want more than one instance running).
Added user defined update of all icons after execution of command (not very useful yet).
Fixed jwm showing all icons in task bar and X crashing when mouse-over(by adding window name and hints)
Changed font to "fixed".
Added help text when run with -h.
Update 300611: removed attachments for updates on this subject view
http://www.goingnuts.dk/programs.asp#NDL
Last edited by goingnuts on Thu 30 Jun 2011, 17:07, edited 1 time in total.

Post Reply