Page 1 of 1

F96-CE_2 will not shutdown if set to ask to save cannot select save or no save (will shutdown after 60 sec not saving)

Posted: Fri Mar 03, 2023 6:46 am
by bigpup

F96-CE_2 installed on a USB stick by Untebootin
Using a save folder on the USB
Booted using default boot menu entry selected for booting from USB
It is running in pupmode 13

Has save icon on desktop. It works.

Save Session is set to ask at shutdown to save or not save.
.

Screenshot.jpg
Screenshot.jpg (41.39 KiB) Viewed 1023 times

.
.
Select menu -> Leave -> Reboot or shutdown

It goes to the screen where it asks if you want to save or no save.

Cannot move selection from save to no save.
Stays locked on save.
Press enter and it does nothing.

Seems to be locked up.

Added correction:
If I wait 60 sec.
It will shutdown with a message not saving.


Re: F96-CE_2 will not shutdown if set to ask to save

Posted: Fri Mar 03, 2023 7:14 am
by Feek

Cannot move selection from save to no save.
Stays locked on save.
Press enter and it does nothing.

Seems to be locked up.

Have to shut power off to shutdown computer.

Will it shut down (without saving) if you wait 60 seconds?


Re: F96-CE_2 will not shutdown if set to ask to save

Posted: Fri Mar 03, 2023 7:33 am
by bigpup

:oops:
OOPS!

I forgot to check that part of the shutdown process.

Yes, if I wait 60 seconds it does shutdown.

Get message not saving.

Thanks for that nudge!

I will correct my post with this info.


Re: F96-CE_2 will not shutdown if set to ask to save

Posted: Fri Mar 03, 2023 5:47 pm
by wizard

@bigpup

Can't confirm this issue.

-installed F96-CE_2 to fat32 USB using Unetbootin
-booted on UEFI computer, setup wifi
-shutdown, made savefile on USB
-rebooted, put icon on desktop
-Leave, reboot, save/nosave appeared, could select either, chose save
-rebooted, changes were saved, put another icon on desktop
--Leave, shutdown, save/nosave appeared, could select either, chose no-save
-system shutdown

Thanks
wizard


Re: F96-CE_2 will not shutdown if set to ask to save

Posted: Fri Mar 03, 2023 7:43 pm
by bigpup

Thanks for testing. :thumbup:

Now I know it is something about my install or maybe hardware and computer.

I do have two partitions on the USB.
1st formatted fat32 with the F96-CE_2 live install
2nd formatted ext4 with the save folder on it.

Now I have to try and figure out what is causing this.

Time to try a few ideas.


Re: F96-CE_2 will not shutdown if set to ask to save

Posted: Fri Mar 03, 2023 9:38 pm
by bigpup

In /etc/rc.d/

rc.shutdown is showing as a text file.

It has properties:
.

Screenshot.jpg
Screenshot.jpg (24.58 KiB) Viewed 892 times

.
Shouldn't this be an exec file?
Some type of application/x- shellscript?
with run action: Execute file?


Re: F96-CE_2 will not shutdown if set to ask to save

Posted: Fri Mar 03, 2023 10:49 pm
by wizard

@bigpup

Shouldn't this be an exec file?
Some type of application/x- shellscript?

Look carefully at your image, rc.shutdown permissions are marked executable and "Contents Indicate" show it to be a executable bash script.

wizard


Re: F96-CE_2 will not shutdown if set to ask to save

Posted: Sat Mar 04, 2023 6:47 am
by bigpup

Shouldn't it be shown like this one from a different Puppy version?

The properties are different.
Type:
Run Action:
.

Screenshot(1).jpg
Screenshot(1).jpg (84.13 KiB) Viewed 825 times

.
.


Re: F96-CE_2 will not shutdown if set to ask to save

Posted: Sat Mar 04, 2023 9:34 am
by retiredt00

I tried a fresh F96-CE_2 run from the ISO on a VM and indeed will not shut down for me too.
The error was

Code: Select all

sh: line 1: echo: write error: Broken pipe

I had a similar issue with the latest vdpup_10.X viewtopic.php?p=82776#p82776
It may be a kernel/hardware issue.
I would look at kernel messages for hints
If F96-CE_1 worked fine in this hardware you may want to check for kernel config differences.
Also I'm not sure if X is running as spot in this version that might be relevant too.

BTW one issue with this puppy is that it has no build recipe (or woof tarball as in the old times).
If I understand is the original phil666's fossapup recipe, with some recent woof-CE additions, rockedge's specially made kernels and radky's special modifications.
So it can not be reproduced and verified but more important for this case, you can not identify changes from version to version.
Hopefully a build recipe or repository will appear to help this process


Re: F96-CE_2 will not shutdown if set to ask to save

Posted: Sat Mar 04, 2023 1:53 pm
by rockedge

@retiredt00 F96-CE is intended to bridge the gap while Jammypup is being developed to the same polish as F96 but will have a more complete woof-CE recipe.

F96 is not intended to be regularly updated as it is good solid distro to have at Distrowatch to hold the fort while the woof-CE Jammypup64 is being worked on.


Re: F96-CE_2 will not shutdown if set to ask to save

Posted: Sun Mar 05, 2023 3:27 am
by bigpup

It does seem to be pointing to a hardware specific problem.

Not on all hardware, as wizard is not having issues.
Thanks for checking wizard!

Thanks retiredt00 for your ideas on what to look at for clues!

Are we having fun now?


Re: F96-CE_2 will not shutdown if set to ask to save

Posted: Sun Mar 05, 2023 6:27 am
by amethyst

@bigpup
You may want to change the 60 seconds to a shorter period like 5 seconds for convenience. Script to edit is normally /usr/sbin/shutdownconfig.


Re: F96-CE_2 will not shutdown if set to ask to save

Posted: Sun Mar 05, 2023 9:33 am
by Feek
bigpup wrote: Fri Mar 03, 2023 6:46 am

Cannot move selection from save to no save.
Stays locked on save.
Press enter and it does nothing.

I noticed such similar behavior a few months ago in vdpup64 (v. 9.2.x).
No one else confirmed it at the time. I solved it by shortening the interval in /etc/rc.d/rc.shutdown from 60 sec to a lower value (I never save on shutdown so no problem).

This mechanism worked for me without a problem in Bionicpup64 and in Fossapup64 9.5.
If I remember correctly, in earlier releases of FP96, everything also worked as it should. However, I noticed this small problem in FP-96_2 (as you did). So I shortened the interval again and hope everything will be ok. I have no idea what could be the cause.


Re: F96-CE_2 will not shutdown if set to ask to save

Posted: Sun Mar 05, 2023 3:00 pm
by rockedge

I have a feeling that the problem is with the boot stanza synrtax and the pmedia= setting changes made because of a boot problem.

The fix switched the pmedia= from CD to use USB as the setting and this might be the difference.


Re: F96-CE_2 will not shutdown if set to ask to save

Posted: Sun Mar 05, 2023 4:30 pm
by bigpup
rockedge wrote: Sun Mar 05, 2023 3:00 pm

I have a feeling that the problem is with the boot stanza synrtax and the pmedia= setting changes made because of a boot problem.

The fix switched the pmedia= from CD to use USB as the setting and this might be the difference.

You have to be using the boot menu entry, that has pmedia=usbflash, to get an option to save or not save, at shutdown or reboot.


Re: F96-CE_2 will not shutdown if set to ask to save cannot select save or no save (will shutdown after 60 sec not savin

Posted: Sun Mar 05, 2023 5:20 pm
by wizard

@bigpup

Big, I've tried a couple of different configurations:

1. Conventional UEFI, small fat32 with only the boot files, Puppy and save folder on a second ext3 partition.
2. 1gb fat32 with both UEFI boot files and Puppy, Save folder on second ext3 partition.

Haven't been able to replicate the errors you had.

Thanks
wizard


Re: F96-CE_2 will not shutdown if set to ask to save cannot select save or no save (will shutdown after 60 sec not savin

Posted: Sun Mar 05, 2023 5:39 pm
by bigpup

Thanks!

Well I always tell people with a strange issue.

Delete the install.
Do a fresh new download of the ISO
Do a new clean install.

I am going to try that and see what happens.

You can all flame me if that works :shock: :lol: :thumbup:

Update:
No change. :thumbdown:
That did not help to fix!


Re: F96-CE_2 will not shutdown if set to ask to save cannot select save or no save (will shutdown after 60 sec not savin

Posted: Sun Mar 05, 2023 7:02 pm
by rockedge

I'm not sure how many of these changes are woof-CE changes or F96_CE-specific

F96-CE was built from a woof-CE generated Fossapup64-9.6 and there are no specific changes that we made for F96. What ever is going on to freeze the save selection crept in somewhere. We'll keep on debugging this but I still have not replicated it yet.

Working at it..... :geek:


Re: F96-CE_2 will not shutdown if set to ask to save cannot select save or no save (will shutdown after 60 sec not savin

Posted: Sun Mar 05, 2023 7:42 pm
by wizard

@bigpup

The things you do not tell us, are usually the clue to fixing the problem.

Who said that?? :mrgreen:

Give me details of how you created your USB so I can duplicate that.

wizard


Re: F96-CE_2 will not shutdown if set to ask to save cannot select save or no save (will shutdown after 60 sec not savin

Posted: Sun Mar 05, 2023 8:25 pm
by bigpup

I used Unetbootin v702 running in Fossapup64 9.5

The USB stick has one partition formatted fat32.

----------------------------------------------------------------------------------------------------------

This really seems to be a specific computer hardware issue.

I tried using the USB stick on a different computer.

It shutdown normal. :thumbup:
Offered save or no save.
Could select save or no save . :D
Press enter and it did what I selected. :thumbup2:
-----------------------------------------------------------------------------------------------------------------------

So something about that first computer and it's hardware is the issue.

The computer is a very new desktop with case front USB ports.
The USB stick is plugged into one of the case front ports.
The USB ports are cable connected to a motherboard front port connector, so not direct USB ports on the motherboard.

Unless you have some idea that just jumps out at you!

I will work with it, as it is, and keep throwing ideas at it, when they come up in my brain!

It is going to be one of those problems, that one day the light will come on, smack your head, and that is the fix!

I have stopped having fun right now :thumbdown: :lol:


Re: F96-CE_2 will not shutdown if set to ask to save cannot select save or no save (will shutdown after 60 sec not savin

Posted: Mon Mar 06, 2023 8:59 am
by Tahrbaby

@bigpup

Have you tried booting using Grub2config?Maybe worth an elimination test.

What make and model is this desktop PC?


Re: F96-CE_2 will not shutdown if set to ask to save cannot select save or no save (will shutdown after 60 sec not savin

Posted: Tue Mar 07, 2023 3:50 am
by bigpup

Notice:

Anyone that has been posting in this topic about issues retiredt00 has been having.

He/she have their own topic to discuss the issue specific to them.
viewtopic.php?t=8185

Let's keep this one about original issue.

Thanks!!


Re: F96-CE_2 will not shutdown if set to ask to save cannot select save or no save (will shutdown after 60 sec not savin

Posted: Tue Mar 07, 2023 10:12 pm
by bigpup

Note:
This issue is showing up only on one computer I have.
So must be hardware dependent.
viewtopic.php?p=83483#p83483

If this F96-CE_2 is loosely based on Fossapup64 9.5

Fossapup64 9.5 shuts down asking to save or not save and you can choose.
So it works in Fossapup64 9.5 on this computer.

Is F96-CE_2 still using the same shutdown script files or are they modified in some way?

I am not sure what all gets used, when you do a shutdown or reboot.

rc.shutdown seems to have the coding for asking to save or not save.

I guess I need to figure out what Fossapup64 9.5 is using and compare it's files to F96-CE_2 files.


Re: F96-CE_2 will not shutdown if set to ask to save cannot select save or no save (will shutdown after 60 sec not savin

Posted: Tue Mar 07, 2023 10:41 pm
by bigpup
Tahrbaby wrote: Mon Mar 06, 2023 8:59 am

@bigpup

Have you tried booting using Grub2config?Maybe worth an elimination test.

What make and model is this desktop PC?

Yes,
Grub.cfg file on the USB stick is what boot menu entries are being used. UEFI computer.

--------------------------------------------------------------------------------------------------------------------------------------
Desktop home built PC specs:

Motherboard Vendor: Micro-Star International Co., Ltd.
Product Name: MPG Z390 GAMING PLUS (MS-7B51)

CPU:
Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz
Min/Max Speed: 800/4700 MHz
Current Speed of Core 0:4497 MHz, 1:4428 MHz, 2:4487 MHz, 3:4412 MHz, 4:4415 MHz, 5:4482 MHz, 6:4458 MHz, 7:4493 MHz
Core Count: 8
Thread Count: 8

32GB of RAM

Graphics hardware:
Nvidia Geforce RTX 2060
6 GB of memory on card.
Using Nvidia 450.57 driver and graphics control program.