slacko-6.0 beta 2

A home for all kinds of Puppy related projects
Message
Author
User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#181 Post by SFR »

mavrothal wrote:
SFR wrote:[
And it's because the amount of available loop devices has dropped from 11 (0-10) to 8 (0-7).
Is that only at boot time by the bootmanager? I can mount 9 loops just fine
Yes, this concerns only bootmanager (actually, init); sfs_load can create new loops on its own and "manual" mounting also works fine, since there's /dev/loop-control (see here).

[EDIT]
Possible (still theroretical though) solutions that came to mind:
1. Restore /dev to be a "normal" dir, inherited from /initd/pup_ro2/dev/ like it was before.
Additionally add one extra loop (loop11), since CNTLOOP got increased from 4 to 5.
2. Sort it out at kernel level (CONFIG_BLK_DEV_LOOP_MIN_COUNT=11 or maybe even 16, like it is in FatDog)
3a. Let init create missing loops on its own (like sfs_load does).
3b. Let init utilize /dev/loop-control mechanism (but this won't work in older kernels), by using mount -o loop ... directly, instead of losetup /dev/loopX ... first.

+ in all cases increase max. CNTLOOP from 10 to 11 in init.

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

Jades
Posts: 466
Joined: Sat 07 Aug 2010, 22:07
Location: Somewhere in Blighty.
Contact:

#182 Post by Jades »

Just tested printing on 593 on the Pentium D and that can't see the 720C either. I've checked HardInfo and there are two parallel port-related modules running - parport_pc and parport. lsmod says that the latter is used by the former.
Zhaan - AMD K6 2 500, 512MB RAM, ATI Rage 128 VR. Full install Wary 5.5 [url=http://tinyurl.com/dy66kh8]HardInfo Report[/url]
Merlin - Core i5-4590, 8GB RAM, Radeon R9 270X. Slacko 5.7.0

User avatar
Billtoo
Posts: 3720
Joined: Tue 07 Apr 2009, 13:47
Location: Ontario Canada

slacko-6.0 beta 2

#183 Post by Billtoo »

New manual frugal install of Slacko 593 to a 32gb sdhc card.

video-info-glx 1.5.1 Mon 23 Jun 2014 on Slacko Puppy 5.9.3 Linux 3.4.94 i686
5.0 VGA compatible controller: ATI Technologies Inc Radeon HD 3200 Graphics
oem: ATI ATOMBIOS
product: RS780 01.00
X Server: Xorg Driver: radeon
X.Org version: 1.14.3
dimensions: 3840x1080 pixels (507x285 millimeters)
depth of root window: 24 planes
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RS780
OpenGL version string: 2.1 Mesa 9.1.7

AMD Phenom(tm) II X4 810 Processor
Core 0: @800 1: @800 2: @800 3: @800 MHz

Everything is good so far.
Attachments
Screenshot.jpg
(54.6 KiB) Downloaded 816 times

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#184 Post by mavrothal »

SFR wrote: 2. Sort it out at kernel level (CONFIG_BLK_DEV_LOOP_MIN_COUNT=11 or maybe even 16, like it is in FatDog)
This may be best and less disrupting.
Is good for kernels 3.1+ but I think most puppies are using 3.2 and latter.
Of course older kernels may need recompiling to accommodate more than 8 SFSs at startup with the new init/device handling
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#185 Post by SFR »

mavrothal wrote:
SFR wrote: 2. Sort it out at kernel level (CONFIG_BLK_DEV_LOOP_MIN_COUNT=11 or maybe even 16, like it is in FatDog)
This may be best and less disrupting.
Is good for kernels 3.1+ but I think most puppies are using 3.2 and latter.
Of course older kernels may need recompiling to accommodate more than 8 SFSs at startup with the new init/device handling
Yes, it seems to be the most "clean" method indeed. But requires from kernel builders to be aware of this.

Btw, just tried the "brute force" method (3a):

Code: Select all

--- old/init	2014-06-23 01:54:16.000000000 +0200
+++ new/init	2014-06-23 12:59:34.000000000 +0200
@@ -1679,11 +1679,12 @@
    do
     ONEBASE="`basename $ONEEXTRA`"
     EXTRASFSLIST="${EXTRASFSLIST}${ONEBASE} " #construct list of actually used.
+    mknod /dev/loop${CNTLOOP} b 7 ${CNTLOOP}
     losetup /dev/loop${CNTLOOP} $ONEEXTRA
     mount -r -t squashfs -o noatime /dev/loop${CNTLOOP} /pup_ro${CNTLOOP}
     [ $? -eq 0 ] && UMNTRO="${UMNTRO}:/pup_ro${CNTLOOP}=ro"
     CNTLOOP=`expr $CNTLOOP + 1`
-    [ $CNTLOOP -eq 10 ] && break
+    [ $CNTLOOP -eq 11 ] && break
     #...only support adding 3 extra .sfs files, as performance degrades as each layer added.
     #...v410 bugfix, change 6 to 7 so can have 3 sfs files.
     #...w015 change 7 to 10 so can have 6 sfs files.
and seems to work ok, too.

EDIT: Hmm, but if I additionally load more SFSes via sfs_load, I'm getting "Updating... layered filesystem next boot will be faster" every time I reboot and all the extra entries on LASTUNIONRECORD list in /etc/rc.d/BOOTCONFIG are getting duplicated every boot:
EXTRASFSLIST='jre-1.8u5-i586.sfs devx_slacko_5.9.2.sfs kernel_sources-3.4.94-slacko4G-i686.sfs lincity-ng_sfs4.sfs qcad-3.4.2.sfs scid_vs_pc-4.9-i486.sfs XnView-0.64.sfs wxHexEditor-0.22b.sfs'
PREVUNIONRECORD='slackosave puppy_slacko_5.9.3.sfs jre-1.8u5-i586.sfs devx_slacko_5.9.2.sfs kernel_sources-3.4.94-slacko4G-i686.sfs lincity-ng_sfs4.sfs qcad-3.4.2.sfs scid_vs_pc-4.9-i486.sfs zdrv_slacko_5.9.3.sfs'
LASTUNIONRECORD='slackosave puppy_slacko_5.9.3.sfs jre-1.8u5-i586.sfs devx_slacko_5.9.2.sfs kernel_sources-3.4.94-slacko4G-i686.sfs lincity-ng_sfs4.sfs qcad-3.4.2.sfs scid_vs_pc-4.9-i486.sfs zdrv_slacko_5.9.3.sfs XnView-0.64.sfs wxHexEditor-0.22b.sfs XnView-0.64.sfs wxHexEditor-0.22b.sfs XnView-0.64.sfs wxHexEditor-0.22b.sfs'
Something more needs to be amended, perhaps in sfs_load itself...
___________

From other issues: I noted (so far only in VBox) that, from time to time, ~10% of cases, system does not complete the reboot procedure.
Stops at: [44.1234...] Restarting system. Anyone else?

Greetings!
Last edited by SFR on Mon 23 Jun 2014, 14:43, edited 3 times in total.
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#186 Post by mavrothal »

SFR wrote:
mavrothal wrote:
SFR wrote: 2. Sort it out at kernel level (CONFIG_BLK_DEV_LOOP_MIN_COUNT=11 or maybe even 16, like it is in FatDog)
This may be best and less disrupting.
Is good for kernels 3.1+ but I think most puppies are using 3.2 and latter.
Of course older kernels may need recompiling to accommodate more than 8 SFSs at startup with the new init/device handling
Yes, it seems to be the most "clean" method indeed. But requires from kernel builders to be aware of this.
Yes, and also add

Code: Select all

CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
so config is included with the kernel
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

lptpacct
Posts: 4
Joined: Sat 06 Apr 2013, 10:23
Location: Western USA

removed-for-testing

#187 Post by lptpacct »

thanks
Last edited by lptpacct on Wed 25 Jun 2014, 12:10, edited 1 time in total.

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

slacko-6.0 beta 2 mirrored

#188 Post by Puppus Dogfellow »

devx_slacko_5.9.2.sfs
(md5=307173834531b1683fdaaf80fe5e3470)


slacko-5.9.3.iso
(md5=e608254014fe6967db1cb790ccf03dc1)

User avatar
Billtoo
Posts: 3720
Joined: Tue 07 Apr 2009, 13:47
Location: Ontario Canada

slacko-6.0 beta 2

#189 Post by Billtoo »

After using Slacko 593 for a few hours and doing my usual stuff (web
browsing,listening to music,and games, no work!) 593 is working well.

I had to run the zarfy.SlackBuild again but it craps out partway
through because it's made for Slackware I guess.
It doesn't complete the installation until I make a pet from the /tmp/SBo/package-zarfy
using dir2pet and then clicking on the pet (which has stuff missing)
completes the installation of zarfy.

Anyway, I'm enjoying Slacko 593.
Thanks

EDIT:
Still playing, now past 6.5 hours.
Attachments
Screenshot2.jpg
(56.08 KiB) Downloaded 514 times
conky.jpg
(43.32 KiB) Downloaded 689 times
Last edited by Billtoo on Mon 23 Jun 2014, 18:51, edited 1 time in total.

User avatar
Tote
Posts: 237
Joined: Thu 19 Jan 2012, 07:53
Location: South Wales

#190 Post by Tote »

Enjoying this, working well for me, pretty snappy too.

Manual frugal instal of slacko 593 to HD

video-info-glx 1.5.1 Mon 23 Jun 2014 on Slacko Puppy 5.9.3 Linux 3.4.94 i686
2.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 0c)
oem: Intel(r)Crestline Graphics Chip Accelerated VGA BIOS
product: Intel(r)Crestline Graphics Controller Hardware Version 0.0

X Server: Xorg Driver: intel
X.Org version: 1.14.3
dimensions: 1280x800 pixels (338x211 millimeters)
depth of root window: 24 planes

direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) 965GM x86/MMX/SSE2
OpenGL version string: 2.1 Mesa 9.1.7

Intel(R) Core(TM)2 Duo CPU T7100 @ 1.80GHz
Core 0: @800 1: @1801 MHz

User avatar
irishrm
Posts: 271
Joined: Sat 14 Mar 2009, 14:09

#191 Post by irishrm »

01micko

Downloaded and installed to USB.

Looking great so far.

Hopefully you will include the broadcom WL drivers so I can get internet access.

Irishrm.

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#192 Post by 666philb »

irishrm wrote:01micko

Downloaded and installed to USB.

Looking great so far.

Hopefully you will include the broadcom WL drivers so I can get internet access.

Irishrm.
hi Irishrm

you may be able to use the brcmsmac driver that's built into the kernel. try blacklisting 'b43' & 'ssb' in menu>>>system>>>boot manager, then reboot. brcmsmac should load then if it's usable.
works better than the wl driver on my netbook
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
James C
Posts: 6618
Joined: Thu 26 Mar 2009, 05:12
Location: Kentucky

#193 Post by James C »

Code: Select all

re# report-video
VIDEO REPORT: Slacko Puppy, version 5.9.3

Chip description:
Host bridge: Intel Corporation 82810E DC-133 (GMCH) Graphics Memory Controller Hub (rev 03)
VGA compatible controller: Intel Corporation 82810E DC-133 (CGC) Chipset Graphics Controller (rev 03)

Requested by /etc/X11/xorg.conf:
  Resolution (widthxheight, in pixels): 1024x768
  Depth (bits, or planes):              24
  Modules requested to be loaded:       dbe 

Probing Xorg startup log file (/var/log/Xorg.0.log):
  Driver loaded (and currently in use): intel
  Loaded modules: dbe ddc extmod fb glx int10 kbd mouse ramdac vbe vgahw

Actual rendering on monitor:
  Resolution:  1024x768 pixels (321x241 millimeters)
  Depth:       24 planes

...the above also recorded in /tmp/report-video

Code: Select all

# glxgears
60 frames in 5.0 seconds = 11.988 FPS
38 frames in 5.1 seconds =  7.463 FPS
48 frames in 5.0 seconds =  9.566 FPS

Code: Select all

-Computer-
Processor		: Pentium III (Coppermine)
Memory		: 250MB (155MB used)
Machine Type		: Physical machine
Operating System		: Slacko Puppy - 5.9.3
User Name		: root (root)
Date/Time		: Mon 23 Jun 2014 11:54:55 AM CDT
-Display-
Resolution		: 1024x768 pixels
OpenGL Renderer		: Software Rasterizer
X11 Vendor		: The X.Org Foundation
-Audio Devices-
Audio Adapter		: ICH - Intel 82801AA-ICH
Pretty slow but working.......

Code: Select all

# free
             total         used         free       shared      buffers
Mem:        250808       244644         6164            0        29352
-/+ buffers:             215292        35516
Swap:      1020092        10256      1009836
# 
Attachments
5.9.3.jpg
(40.39 KiB) Downloaded 601 times

Leon
Posts: 265
Joined: Wed 22 Jun 2005, 21:33

Re: slacko-6.0 beta 2

#194 Post by Leon »

01micko wrote:Slacko 6.0 ß

5.9.3 k 3.4.94

iso (~168 M)
Same problem as with 5.9.1.

Searching fot Puppy files... pausing...puppy_slacko_5.9.3.sfs not found. Dropping out to initial-ramdisk console...

Md5 checksum match.

Manual frugal install to hard disk.

Code: Select all

root@puppypc24722:~> fdisk -l

Disk /dev/sda: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders, total 160836480 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00050a37

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *      353430    31808699    15727635    c  W95 FAT32 (LBA)
/dev/sda2        31808700    90526274    29358787+   7  HPFS/NTFS/exFAT
/dev/sda4        90526275   160826714    35150220    5  Extended
/dev/sda5        90526338    96823754     3148708+   7  HPFS/NTFS/exFAT
/dev/sda6        96823818   107314199     5245191    7  HPFS/NTFS/exFAT
/dev/sda7       107314263   117804644     5245191    c  W95 FAT32 (LBA)
/dev/sda8       117804708   160826714    21511003+   c  W95 FAT32 (LBA)
grub4dos | menu.lst

title Slacko-pls593, idehd, sda7, pls593
rootnoverify (hd0,6)
kernel /pls593/vmlinuz pfix=fsck pmedia=idehd pdev1=sda7 psubdir=pls593 pkeys=slovene
initrd /pls593/initrd.gz
boot
Last edited by Leon on Mon 21 Jul 2014, 13:52, edited 2 times in total.

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#195 Post by peebee »

irishrm wrote:Hopefully you will include the broadcom WL drivers so I can get internet access.

Irishrm.
broadcom_sta_v6.30.223.141.1_x86_32-k3.4.94_4g_slacko.pet

intended for building into an iso, so needs:
depmod -a
then reboot

if installed on top of Slacko6beta with k3.4.94

Cheers
peebee
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

Re: slacko-6.0 beta 2

#196 Post by musher0 »

Leon wrote:
01micko wrote:Slacko 6.0 ß

5.9.3 k 3.4.94

iso (~168 M)
Same problem as with 5.9.1.

Searching fot Puppy files... pausing...puppy_slacko_5.9.3.sfs not found. Dropping out to initial-ramdisk console...

Md5 checksum match.

Manual frugal install to hard disk.
(...)
grub4dos | menu.lst

title Slacko-pls593, idehd, sda7, pls593
rootnoverify (hd0,6)
kernel /pls593/vmlinuz pfix=fsck pmedia=idehd pdev1=sda7 psubdir=pls593 pkeys=slovene
initrd /pls593/initrd.gz
boot
Hello, Leon.

I believe this is a grub setting problem, not a slacko problem. Try adding:

Code: Select all

pupsfs=sda7:/pls593/puppy_slacko_5.9.3.sfs
to your kernel line. This "pupsfs" parameter "focuses" the search for the
Puppy sfs, especially if you have several versions of the "same" Puppy.

Something like:

Code: Select all

title Slacko-pls593, idehd, sda7, pls593
rootnoverify (hd0,6)
kernel /pls593/vmlinuz pfix=fsck pmedia=idehd pdev1=sda7 psubdir=pls593 pupsfs=sda7:/pls593/puppy_slacko_5.9.3.sfs pkeys=slovene
initrd /pls593/initrd.gz
boot
My grub list has the pupsfs parameter for many Puppies, and it does help
the loading. The Puppy loads a bit faster, too.

I hope this helps. BFN.

musher0
Last edited by musher0 on Mon 23 Jun 2014, 18:29, edited 1 time in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#197 Post by musher0 »

Hello, all.

For the sake of honesty, relative to the abiword 3.0 gtk-2 with the full
complement of plugins that I presented above (page 12) at
http://murga-linux.com/puppy/viewtopic. ... ost#784793,
I just learned from Médor that he only repackaged for Puppy, not
compiled, a package originally prepared by the AgiliaLinux developers.
This original Agilia package is at:
http://packages.agilialinux.ru/show.php?id=29040

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

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

#198 Post by Keef »

Manual frugal install - savefolder updated without problem (nothing spotted yet anyway).

HP nc6120

BIOS Vendor: Hewlett-Packard
Version: 68DTD Ver. F.0C
Release Date: 11/21/2005

Intel(R) Pentium(R) M processor 2.00GHz
Max Speed: 2000 MHz
Current Speed of Core 0:2000 MHz

Frequency governor : performance
Freq. scaling driver : acpi-cpufreq

THRM Temp: 58 C

Personal Storage File:
Name: slackosave
Total Size: MB
Free Space: 1842 MB
Location: partition sda8

Memory Allocation:
Total RAM: 1253 MB
Used RAM: 779 MB
Free RAM: 474 MB
Buffers: 55 MB
Total Swap: 1498 MB
Free Swap: 1498 MB

Linux Kernel: 3.4.94 (i686)
Kernel Version: #1 SMP Sun Jun 22 12:59:42 EST 2014

PUPMODE=12
PUPSFS=sda8,ext3,/slacko/puppy_slacko_5.9.3.sfs
PUPSAVE=sda8,ext3,/slacko/slackosave

Display Specifications:
• Monitor VertRefresh: 60.0 times/s
• Screen Dimensions: 1400x1050 pixels (370x277 millimeters)
• Screen Depth: 24 bits (planes)

Xorg Startup Log (/var/log/Xorg.0.log):
• Xorg Driver in use: intel
• Loaded Modules: dbe dri2 extmod fb glx kbd mouse synaptics
• X.Org version: 1.14.3

OpenGL 2D/3D Rendering:
• Direct Rendering: Yes
• Vendor: Intel Open Source Technology Center
• Renderer: Mesa DRI Intel(R) 915GM x86/MMX/SSE2
• Version: 1.4 Mesa 9.1.7

VGA controller [0300]: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller [8086:2592] (rev 03)
• Kernel Driver: i915
• Memory Used: 287.94 KB
• Path: /lib/modules/3.4.94/kernel/drivers/gpu/drm/i915/i915.ko
• Description: Intel Graphics

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#199 Post by SFR »

SFR wrote:Hmm, but if I additionally load more SFSes via sfs_load, I'm getting "Updating... layered filesystem next boot will be faster" every time I reboot
Phew, I think I have sorted it out eventually! :roll: :D
It was kinda conflict between init and sfs_load.
The "next boot will be faster" was triggered due to inconsistencies between PREVUNIONRECORD & LASTUNIONRECORD (see screenie).
It turned out to be a matter of changing the placement of $ZFACTOR.

However some changes to sfs_load were also necessary, to take into account the "shift" in numbering in init.
Without these changes, new SFSes got mounted on restricted loops.
@Shino: please review the changes, if you could.

Both modified scipts (init & sfs_load) attached.
Btw, in initrd.gz additional pup_ro10 dir should be created.

It's only for testing purposes, though, since there's no final decision in which way the problem with too low amount of loops will be solved (the final word belongs to Mick, I guess 8) ).
Also, I did my best, but don't know the both scripts well enough to be 100% sure that my changes won't break something else.

And here are the individual diffs:

Code: Select all

--- old/init	2014-06-23 01:54:16.000000000 +0200
+++ new/init	2014-06-23 11:56:30.000000000 +0200
@@ -1679,11 +1679,12 @@
    do
     ONEBASE="`basename $ONEEXTRA`"
     EXTRASFSLIST="${EXTRASFSLIST}${ONEBASE} " #construct list of actually used.
+    mknod -m664 /dev/loop${CNTLOOP} b 7 ${CNTLOOP}
     losetup /dev/loop${CNTLOOP} $ONEEXTRA
     mount -r -t squashfs -o noatime /dev/loop${CNTLOOP} /pup_ro${CNTLOOP}
     [ $? -eq 0 ] && UMNTRO="${UMNTRO}:/pup_ro${CNTLOOP}=ro"
     CNTLOOP=`expr $CNTLOOP + 1`
-    [ $CNTLOOP -eq 10 ] && break
+    [ $CNTLOOP -eq 11 ] && break
     #...only support adding 3 extra .sfs files, as performance degrades as each layer added.
     #...v410 bugfix, change 6 to 7 so can have 3 sfs files.
     #...w015 change 7 to 10 so can have 6 sfs files.
@@ -1694,7 +1695,7 @@
   SAVEFILENAMEONLY="`basename $SAVEFILE`"
   SFSFILE="`echo -n "$PUPSFS" | cut -f 3 -d ','`"
   SFSFILENAMEONLY="`basename $SFSFILE`"
-  RECORDLIST="$SAVEFILENAMEONLY $AFACTOR $YFACTOR $SFSFILENAMEONLY $EXTRASFSLIST $ZFACTOR" #v426
+  RECORDLIST="$SAVEFILENAMEONLY $AFACTOR $YFACTOR $ZFACTOR $SFSFILENAMEONLY $EXTRASFSLIST" #v426
   NEWUNIONRECORD="`echo "$RECORDLIST" | tr -s ' '  | sed -e 's/ $//'`"
 
   #120130 bring back Underdog Linux...
@@ -1739,6 +1740,7 @@
 #sync
 echo "LASTUNIONRECORD='$NEWUNIONRECORD'" >> /pup_rw/etc/rc.d/BOOTCONFIG
 [ "$LASTUNIONRECORD" = "$NEWUNIONRECORD" ] && NEWUNIONRECORD="" #used below.
+
 #...if layers changed since last boot, code further down will do whiteout files purge.
 #.../etc/rc.d/rc.update reads BOOTCONFIG, updates menu (etc) if layers changed.
 
@@ -1941,6 +1943,7 @@
 mkdir -p /pup_new/initrd/pup_ro7
 mkdir -p /pup_new/initrd/pup_ro8
 mkdir -p /pup_new/initrd/pup_ro9
+mkdir -p /pup_new/initrd/pup_ro10
 mkdir -p /pup_new/initrd/pup_rw
 mkdir -p /pup_new/initrd/pup_z
 mkdir -p /pup_new/initrd/pup_a

Code: Select all

--- old/sfs_load	2014-06-09 16:37:50.000000000 +0200
+++ new/sfs_load	2014-06-23 17:59:32.000000000 +0200
@@ -1264,12 +1264,12 @@
  # where to mount
   NUMS=$(LANG=C df | grep '/initrd/pup_ro'| cut -d'%' -f2 | tr -dc '0-9\n'| sort -n)
   N=$(echo "$NUMS" | tail -n 1)
-  [ $N ] || N=3	# precaution
-  [ $N -ge 3 ] || N=3 # pup_ro1 to 3 is reserved
+  [ $N ] || N=4	# precaution
+  [ $N -ge 4 ] || N=4 # pup_ro1 to 4 is reserved
   NEW=$(($N + 1))
   #v1.9.1: search lower
-  if [ $NEW -gt 4 ]; then
-    for I in $(seq 4 $N); do
+  if [ $NEW -gt 5 ]; then
+    for I in $(seq 5 $N); do
       ! (echo "$NUMS" | grep -qw "$I") && NEW=$I && break
     done
   fi
@@ -1278,8 +1278,8 @@
   if [ ! -d "$MNTPNT" ]; then
     # exceeds the number the Puppy supports
     # search free number from the smaller
-    S=$(seq 4 $N) # skip 1-3
-    [ "$SNAPMERGEBUG" ] && [ $N -gt 9 ] && S="$(seq 4 9) $(seq 20 $N)"  # skip 10-19
+    S=$(seq 5 $N) # skip 1-4
+    [ "$SNAPMERGEBUG" ] && [ $N -gt 10 ] && S="$(seq 5 9) $(seq 20 $N)"  # skip 10-19
     if [ $N -lt 100 ]; then
       for I in $S; do
         [ "$(echo "$NUMS" | grep -w "$I")" = "" ] && NEW=$I && break
@@ -1938,7 +1938,7 @@
   elif [ -s "$MAXEXTRANUMSAVE" ]; then
     MAXEXTRANUM=$(cat "$MAXEXTRANUMSAVE")
   else
-    MAXEXTRANUM=$(ls -1 -d /initrd/pup_ro*| grep -vw 'pup_ro[123]'|wc -l)  # not exact. new directories may be createded after.
+    MAXEXTRANUM=$(ls -1 -d /initrd/pup_ro*| grep -vw 'pup_ro[1234]'|wc -l)  # not exact. new directories may be createded after.
     echo -n $MAXEXTRANUM > "$MAXEXTRANUMSAVE"
   fi
   [ $MAXEXTRANUM ] || MAXEXTRANUM=0 # precaution
Greetings!
Attachments
init.tar.gz
Unpack and replace the one in initrd.gz
(27.82 KiB) Downloaded 203 times
sfs_load.tar.gz
Unpack and copy to /usr/sbin/
(27.75 KiB) Downloaded 201 times
Screenshot.jpg
(95.07 KiB) Downloaded 1008 times
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

Leon
Posts: 265
Joined: Wed 22 Jun 2005, 21:33

Re: slacko-6.0 beta 2

#200 Post by Leon »

musher0 wrote:Try adding:

Code: Select all

pupsfs=sda7:/pls593/puppy_slacko_5.9.3.sfs
to your kernel line. This "pupsfs" parameter "focuses" the search for the
Puppy sfs, especially if you have several versions of the "same" Puppy.

Something like:

Code: Select all

title Slacko-pls593, idehd, sda7, pls593
rootnoverify (hd0,6)
kernel /pls593/vmlinuz pfix=fsck pmedia=idehd pdev1=sda7 psubdir=pls593 pupsfs=sda7:/pls593/puppy_slacko_5.9.3.sfs pkeys=slovene
initrd /pls593/initrd.gz
boot
My grub list has the pupsfs parameter for many Puppies, and it does help
the loading. The Puppy loads a bit faster, too.
musher0
Hello, musher0.

Thank you for your help and useful information.

After adding the suggested parameter to the kernel line boot process stops at:

Performing a 'switch_root' to the layerd filesystem...[ 7.016646] Kernel panic - not syncing: Attempted to kill init! exitcode=0X00000100
musher0 wrote:I believe this is a grub setting problem, not a slacko problem.
It seems to be slacko problem. Other realeases like Precise or Dpup Wheezy work just fine.
Last edited by Leon on Tue 24 Jun 2014, 16:06, edited 1 time in total.

Post Reply