Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 13 Dec 2019, 18:33
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Slacko32/64 700 BETA 2
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 4 of 35 [522 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, ..., 33, 34, 35 Next
Author Message
mavrothal


Joined: 24 Aug 2009
Posts: 3089

PostPosted: Tue 30 Aug 2016, 15:05    Post subject:  

Couldn't help it and played a bit more with it. Very Happy
I often boot from a CD/Image and have savefiles/folder in a partition.
So far puppies could find the savefile automatically.
Not anymore.
You now need to define psave (and realize that you need to "tab" to pass any kernel arguments).

Puppy boot arguments where there mostly to help when boot without user input was failing or speed up/customize things.
Would be nice to remain user/nooby friendly and not follow fatdog, debiandog, porteus, tinycore (all of which I very much like) and other more "involved" mini/frugal OSs.

BTW if anyone needs the broadcom wl driver for 4.1.31 x86_64, is here

_________________
== Here is how to solve your Linux problems fast ==
Back to top
View user's profile Send private message 
smokey01


Joined: 30 Dec 2006
Posts: 2811
Location: South Australia :-(

PostPosted: Tue 30 Aug 2016, 18:46    Post subject:  

I can confirm the zarfy -l switch works. When zarfy is run it creates a config file in /root./zarfy The -l switch forces it to be read. By placing "zarfy -l" in .xinitrc it works fine. I guess placing a script with the contents "zarfy -l" in /root/startup would work equally as well but you you might see the screens change as scripts in startup are run after .xinitrc, I think.
_________________
Software <-> Distros <-> Tips <-> Newsletters
Back to top
View user's profile Send private message Visit poster's website 
gyro

Joined: 28 Oct 2008
Posts: 1689
Location: Brisbane, Australia

PostPosted: Wed 31 Aug 2016, 04:45    Post subject:  

mavrothal wrote:
Couldn't help it and played a bit more with it. Very Happy
I often boot from a CD/Image and have savefiles/folder in a partition.
So far puppies could find the savefile automatically.
Not anymore.
It should automatically find them in the root of the partition. On a cd boot It will look for /slacko64save... (since PSUBDIR is empty.)
mavrothal wrote:
(and realize that you need to "tab" to pass any kernel arguments).
I don't understand what this means.

gyro
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 1689
Location: Brisbane, Australia

PostPosted: Wed 31 Aug 2016, 07:22    Post subject:  

A new debug version of the init script is attached.
A new debug version of the initrd.gz has been uploaded to the same place as the previous version.

The only change is the inclusion of debug messages inside the search loop. So if a search is done, it can easily be seen which partitions it looked at.

Edit: Attachment deleted, replaced by new version, see later post.

gyro

Last edited by gyro on Wed 31 Aug 2016, 13:28; edited 2 times in total
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 3089

PostPosted: Wed 31 Aug 2016, 07:28    Post subject:  

gyro wrote:
mavrothal wrote:
Couldn't help it and played a bit more with it. Very Happy
I often boot from a CD/Image and have savefiles/folder in a partition.
So far puppies could find the savefile automatically.
Not anymore.
It should automatically find them in the root of the partition. On a cd boot It will look for /slacko64save... (since PSUBDIR is empty.)

The savefolder is at the root of the partition. The partition is detected according to the logs but it does not load.
Good to know that is a bug rather than design change, though.

gyro wrote:
mavrothal wrote:
(and realize that you need to "tab" to pass any kernel arguments).
I don't understand what this means.

gyro
Not an init issue.
It has to do with how you pass arguments now with the UEFI/Grub bootloader.

_________________
== Here is how to solve your Linux problems fast ==
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 1689
Location: Brisbane, Australia

PostPosted: Wed 31 Aug 2016, 08:31    Post subject:  

mavrothal wrote:
The savefolder is at the root of the partition. The partition is detected according to the logs but it does not load.

Could you please use the debug init, boot "pdebug=y" and post the contents of /initrd/tmp/bootinit.log in the running system, here. It would be interesting to see if the debug stuff is actually useful.

Hmmm.. you are using a uefi boot then, could you try a non uefi boot? (Yes I know, clutching at straws.)

gyro
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 3089

PostPosted: Wed 31 Aug 2016, 09:52    Post subject:  

gyro wrote:
mavrothal wrote:
The savefolder is at the root of the partition. The partition is detected according to the logs but it does not load.

Could you please use the debug init, boot "pdebug=y" and post the contents of /initrd/tmp/bootinit.log in the running system, here. It would be interesting to see if the debug stuff is actually useful.

I'm afraid I do not have the time to rebuild/burn the ISO. Maybe Mick will get 6.9.6 out soon

gyro wrote:
Hmmm.. you are using a uefi boot then, could you try a non uefi boot? (Yes I know, clutching at straws.)

gyro
No. Actually both uefi and non-uefi booting from a CD/image fail to see the savefolder
_________________
== Here is how to solve your Linux problems fast ==
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 1689
Location: Brisbane, Australia

PostPosted: Wed 31 Aug 2016, 10:40    Post subject:  

mavrothal wrote:
Maybe Mick will get 6.9.6 out soon.
I hope not too soon, the debug stuff has not been pushed to woof-ce yet.
I was rather hoping for at least 1 run in a real problem situation before pushing.

But such is life.

@01micko, could you please let me know before you start a new build, I would like to have at least some form of the debug code included.

gyro
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 1689
Location: Brisbane, Australia

PostPosted: Wed 31 Aug 2016, 10:51    Post subject:  

For more information about the new init, please see this thread http://www.murga-linux.com/puppy/viewtopic.php?t=107178
And in particular this recent post http://www.murga-linux.com/puppy/viewtopic.php?t=107178&start=79

gyro
Back to top
View user's profile Send private message 
Sailor Enceladus

Joined: 22 Feb 2016
Posts: 1565

PostPosted: Wed 31 Aug 2016, 12:33    Post subject:  

Slacko64 6.9.5 (and 32) with the newer rationalize init has always been working well on ext4 partitions on hard drive for me.
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 1689
Location: Brisbane, Australia

PostPosted: Wed 31 Aug 2016, 13:05    Post subject:  

I was able to reproduce mavrothal's problem and fix it.

@01micko,
The ploblem is that the iso does not have a "pmedia=cd" parameter on it's boot command.
The new init depends on the presence of "pmedia=cd" to tell it to look for a savefolder and not assume that it will be in the same directory as the puppy...sfs.
A new iso with "pmedia=cd" and updated initrd.gz with latest pdebug code shows a correct boot, finding the savefolder.

I would welcome a solution for init to find out what device it has been booted off, without depending on puppy boot parameters.

@Sailor Enceladus,
Glad to hear that.

gyro

Last edited by gyro on Wed 31 Aug 2016, 13:29; edited 1 time in total
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 1689
Location: Brisbane, Australia

PostPosted: Wed 31 Aug 2016, 13:26    Post subject:  

A new debug version of the init script is attached.
A new debug version of the initrd.gz has been uploaded to the same place as the previous version.
This version has been pushed to woof-ce rationalise.

It no longer has any dropout points, it just produces messages, but an improved set.

gyro
init.gz
Description  gunzip to produce init script
gz

 Download 
Filename  init.gz 
Filesize  13.47 KB 
Downloaded  67 Time(s) 
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 1689
Location: Brisbane, Australia

PostPosted: Wed 31 Aug 2016, 13:39    Post subject:  

Just in case anyone is interested, here is the debug output in /initrd/tmp/bootinit.log from a successful boot from cd.
Code:
0: PMEDIA=cd PDRV= PSUBDIR= pfix=
1: PDRV= P_BP_ID= P_BP_FN=
2: LOOK_PUP=yes LOOK_SAVE=yes PMEDIA=cd
3: filename=/slacko64save
3: PSUBDIR= P_BP_FN= P_DEF_FN=puppy_slacko64_6.9.5.sfs
4: ONE_PART=sda1
4: ONE_PART=sda2
4: ONE_PART=sda3
4: ONE_PART=sda4
4: ONE_PART=sdb1
4: ONE_PART=sdb2
4: ONE_PART=sdb3
4: ONE_PART=sdb4
5: ONE_PART=sdb4 filename=/slacko64save
4: ONE_PART=sr0
5: ONE_PART=sr0 PSUBDIR= P_BP_FN= P_DEF_FN=puppy_slacko64_6.9.5.sfs
6: ONE_PART=sr0 ONE_TRY_FN=/puppy_slacko64_6.9.5.sfs PDRV=sr0,iso9660,/puppy_slacko64_6.9.5.sfs
The "2:" line tells us that we were booted with "pmedia=cd" so searching for a savefolder is enabled.
The "3:" lines tell us the files we are searching for.
The "4:" lines tell us what partitions it has looked in.
The "5:" lines indicate successful location of the files.
The "6:" line indicates that we have successfully found a PDRV and we are ready to go.

gyro
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 8739
Location: qld

PostPosted: Wed 31 Aug 2016, 16:24    Post subject:  

re: zarfy

I'll make a petbuild for zarfy and include it in the next build (maybe sunday in delta format).

Probably a line in /usr/sbin/delayedrun could solve the zarfy startup problem.

Code:

[ -f "$HOME/.zarfy" ] && zarfy -l


Or, add an autostart .desktop file so it starts when JWM starts, which is earlier than delayedrun.

Qemu is broken too. I rebuilt it last night and will upload a new version soon.

I'll use slackware's version of util-linux re the lvm problem reported by Sailor.

_________________
Puppy Linux Blog - contact me for access
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 6609
Location: Valåmoen, Norway

PostPosted: Wed 31 Aug 2016, 16:44    Post subject:  

Mick
If building from the rationalise branch, could you merge with testing branch to include pMusic 5.1.4? I would be happy to test 5.1.4 in a build.

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 4 of 35 [522 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, ..., 33, 34, 35 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

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
[ Time: 0.1154s ][ Queries: 12 (0.0290s) ][ GZIP on ]