Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
18 crawler(s) on-line.
 86 guest(s) on-line.
 1 member(s) on-line.


 bhabbott

You are an anonymous user.
Register Now!
 bhabbott:  2 mins ago
 amig_os:  16 mins ago
 OneTimer1:  29 mins ago
 mbrantley:  32 mins ago
 michalsc:  42 mins ago
 zipper:  47 mins ago
 DiscreetFX:  1 hr 9 mins ago
 Tpod:  1 hr 23 mins ago
 number6:  2 hrs 16 mins ago
 Djk83:  2 hrs 45 mins ago

/  Forum Index
   /  Amiga OS4.x \ Workbench 4.x
      /  SW shutdown, is it planned? when?
Register To Post

Goto page ( Previous Page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 Next Page )
PosterThread
NutsAboutAmiga 
Re: SW shutdown, is it planned? when?
Posted on 20-Feb-2012 23:08:51
#181 ]
Elite Member
Joined: 9-Jun-2004
Posts: 12817
From: Norway

@Tomas

Of course you should not turn off your computer before you have saved your work, temp files are stored in RAM so we are running a lower risk then most operating systems, SFS is rock hard to crash.

If light go out, then it will not help to have normal shutdown anyway, your should get a UPS or if you don't feel safe, and every one should do backup as hard drives do break.

Last edited by NutsAboutAmiga on 20-Feb-2012 at 11:16 PM.

_________________
http://lifeofliveforit.blogspot.no/
Facebook::LiveForIt Software for AmigaOS

 Status: Offline
Profile     Report this post  
Tomas 
Re: SW shutdown, is it planned? when?
Posted on 21-Feb-2012 1:42:05
#182 ]
Elite Member
Joined: 25-Jul-2003
Posts: 4286
From: Unknown

@NutsAboutAmiga
I am not talking about shutting down apps and saving before. Of course i do this, but still that dosent stop all disk activity from ending thanks to all other processes running in background.

And i know from personal experience that journaling file systems arent immune to this. I have had ntfs partitions become so corrupted that windows refuses to boot because of this.

I would think SFS has the same problems even though it is quite rare compared to old filesystems.

And i still dont get the logic of being against such a feature when no one forces you to use it.
If you like to switch it off with power button, then just do so.
I myself would like a shutdown feature to lower the chances of file system corruption.

I must admit it is not what i think hyperion should prioritize right now though, since there are plenty of other features i find more important to add first like for example memory protection, SMP and so on.

Last edited by Tomas on 21-Feb-2012 at 01:44 AM.
Last edited by Tomas on 21-Feb-2012 at 01:44 AM.

 Status: Offline
Profile     Report this post  
Belxjander 
Re: SW shutdown, is it planned? when?
Posted on 21-Feb-2012 6:52:49
#183 ]
Cult Member
Joined: 4-Jan-2005
Posts: 557
From: Chiba prefecture Japan

@Trev + @KimmoK

When referring to "Shutting down" and "Memory Protection" can you at least clarify your
meaning somewhat?

Do you mean "process isolation" where each process on the machine is effectively given
its own usage of the machine in a "fake" system?

or only access to the memory it has requested?

Ive personally had discussions about memory protection where the person was not even
discussing "protection" of memory outside the running tasks allocations at all.

the term seems to have become a catch all for some of the ignorant due to being touted
by Microsoft as part of Windows marketing.

Is this going discussion about "shutdown" options about Applications keeping records of what they have open?
and the OS keeping a list of active programs launched?

To me it would seem to be a similar setup to how firefox keeps a listing of opened tabs,
and giving the user an option to reload the tabs listed.

Would that not really be the easiest way to handle it? ... Every Application has to open
some basic libraries... just have a list in one library that is written out to disk when the
list is changed... and have a "relaunch" commodity in WBstartup?

have the best of both worlds... since the list of applications can either be ...
relaunch "clean" from disk or "relaunch saved state" for specific Applications.

I see problems mostly stemming from the "saved state" use of resources,
things like file handles and window handles are subject to change across sessions.

Windows and Linux get away with using system calls on these handles for all accesses
but AmigaOS has a legacy of these being structures in memory with limited direct
access being used from the programs concerned.

Any program which uses some kind of ".tmp" journalling of data would be good to use
as a clean relaunch.

you don't need a perfect state save (this would be a complete hibernation record afaik),
and I did play around with Hibernating and restoring OS3.x using the tool that was made.

I would more think to have a list of programs and option to relaunch at startup
and the programs themselves can handle any open files or state-keeping as they need.

that way you can delay launching at startup and recover where you left off later as well.

 Status: Offline
Profile     Report this post  
KimmoK 
Re: SW shutdown, is it planned? when?
Posted on 21-Feb-2012 7:25:19
#184 ]
Elite Member
Joined: 14-Mar-2003
Posts: 5211
From: Ylikiiminki, Finland

@everybody
Thank you for the discussion so far.

@Belxjander

"Is this going discussion about "shutdown" options about Applications keeping records of what they have open?
and the OS keeping a list of active programs launched?"

Exactly. I see this kind of behaviour already in Ubuntu. We could and should improve on top of that.

"To me it would seem to be a similar setup to how firefox keeps a listing of opened tabs,
and giving the user an option to reload the tabs listed."

That is a working example.

"you don't need a perfect state save (this would be a complete hibernation record afaik),
and I did play around with Hibernating and restoring OS3.x using the tool that was made.
I would more think to have a list of programs and option to relaunch at startup
and the programs themselves can handle any open files or state-keeping as they need.
that way you can delay launching at startup and recover where you left off later as well."

Exactly.

@subject

If we had MP or resource tracking, we might have more options. But that's for the future.
Without MP I see features like hibernation pretty useless, but this discussed way pretty useable.

And still the brute force powerswitch-poweroff would exist as an alternative.

Last edited by KimmoK on 21-Feb-2012 at 07:29 AM.
Last edited by KimmoK on 21-Feb-2012 at 07:29 AM.

_________________
- KimmoK
// For freedom, for honor, for AMIGA
//
// Thing that I should find more time for: CC64 - 64bit Community Computer?

 Status: Offline
Profile     Report this post  
realize 
Re: SW shutdown, is it planned? when?
Posted on 21-Feb-2012 9:16:04
#185 ]
Super Member
Joined: 14-Apr-2003
Posts: 1797
From: nyc

@Fab

Quote:
And by the way, MorphOS Ambient also has the option to remember closed drawers and viewers (images/text/...).



Damn it Fab I didnt know that!


oh and to those who say "maybe in next update" many in os4 crowd have been wanting this for some time. Its particularly useful when your power switch is hard to access.

 Status: Offline
Profile     Report this post  
Belxjander 
Re: SW shutdown, is it planned? when?
Posted on 21-Feb-2012 12:37:41
#186 ]
Cult Member
Joined: 4-Jan-2005
Posts: 557
From: Chiba prefecture Japan

@KimmoK

MultiProcessor or ResourceTracking support?

We have never had either of those professionally released until the X1000 and Hyperions
OS4.x release that will include SMP updates to ExecNG specifically for it.

as for resource tracking... that is going to remain a difficult proposition in itself,
unless added to ALL of the core framework libraries with some kind of callback

 Status: Offline
Profile     Report this post  
Frags 
Re: SW shutdown, is it planned? when?
Posted on 21-Feb-2012 12:56:23
#187 ]
Cult Member
Joined: 23-Nov-2004
Posts: 971
From: East-Midlands (Nottingham) UK

I always turn my xp box off at the wall, never causes any trouble but I do have write caching off.

_________________
Fraggle

- insert profound text here -

 Status: Offline
Profile     Report this post  
_ThEcRoW 
Re: SW shutdown, is it planned? when?
Posted on 21-Feb-2012 13:00:11
#188 ]
Cult Member
Joined: 12-Jan-2005
Posts: 834
From: Murcia (Spain)

I can't do anything but laugh at some of the comments. Do you not want the os to evolve, fine, but then don't get picky when somone points a flaw.

_________________
Amiga 1200 desktop. Apollo 030/50 Mhz 8mb ram + ClassicWB + Wb 3.1
Amiga 500 + ACA500plus 8mb + 30gb CF
Raspberry Pi 3b+ and Amibian 1.4
Mac Mini G4 1GB Ram with the butterfly!!

 Status: Offline
Profile     Report this post  
broadblues 
Re: SW shutdown, is it planned? when?
Posted on 21-Feb-2012 13:14:39
#189 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4446
From: Portsmouth England

@realize
Quote:

its particularly useful when your power switch is hard to access.


software power off and shutdown are two seperate things. albeit related in that you generaly want the first to occur just after the second.

i wouldn't mind a software off switch, but does our hardware support it?

@thread

I don't want a software shutdown though, people say it can be optional, but once you've got one then apps will be written that expect, and gradually it becomes necessary.

perhaps at most a minimlist one that locks flushes filesystems and locks drives, to prevent a random write just at the moment of power off.

_________________
BroadBlues On Blues BroadBlues On Amiga Walker Broad

 Status: Offline
Profile     Report this post  
broadblues 
Re: SW shutdown, is it planned? when?
Posted on 21-Feb-2012 13:20:35
#190 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4446
From: Portsmouth England

@Tomas
Quote:

I am not talking about shutting down apps and saving before. Of course i do this, but still that dosent stop all disk activity from ending thanks to all other processes running in background.

Just what processes are writing to your disk at random after you've closed your Apps?

Try running snoopy for a while to see, I'm intrigued. I think you'll find there aren't any.

Last edited by broadblues on 21-Feb-2012 at 01:27 PM.

_________________
BroadBlues On Blues BroadBlues On Amiga Walker Broad

 Status: Offline
Profile     Report this post  
Amigo1 
Re: SW shutdown, is it planned? when?
Posted on 21-Feb-2012 13:48:46
#191 ]
Super Member
Joined: 24-Jun-2004
Posts: 1582
From: the Clouds

@Mechanic

Quote:

Mechanic wrote:
@NutsAboutAmiga

Quote:

NutsAboutAmiga wrote:
I don't see it as horribly useful on desktop like X1000.


Same here.

If somebody really needs SW shutdown we could probably come up with
something similar to a Fart Button that when pushed pops up a message
saying something like 'Are you saving to disk at this time?' 'Yes/No' and if
you answer No it then proceeds to tell you to push the computer power
button. (and farts).


look here on os4depot

 Status: Offline
Profile     Report this post  
Tomas 
Re: SW shutdown, is it planned? when?
Posted on 21-Feb-2012 14:32:02
#192 ]
Elite Member
Joined: 25-Jul-2003
Posts: 4286
From: Unknown

@broadblues
Then explain to me how a filesystem can corrupt even though i SHUT EVERYTHING DOWN.
If there was nothing writing or reading from the disk at that very moment then there would be no corruption.

I am really getting sick and tired of the logic in this thread.. "I don't want a feature, so that means no one else should want it either, even though i could easily just choose to not use it.."

Try getting new users to join the platform this way.. Bet most people here would be against memory protection as well.

Last edited by Tomas on 21-Feb-2012 at 02:36 PM.

 Status: Offline
Profile     Report this post  
broadblues 
Re: SW shutdown, is it planned? when?
Posted on 21-Feb-2012 14:42:04
#193 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4446
From: Portsmouth England

@Tomas

Quote:

Then explain to me how a filesystem can corrupt even though i SHUT EVERYTHING DOWN.
If there was nothing writing or reading from the disk at that very moment then there would be no corruption.


1. try the snoopy test to see if you really have shut down everything, that's writing to disk. Leave it for a while just monitoring activity. (without using any apps ofcourse)

2. If you a regularly getting corruption of you filesystem, your disk may be wearing out.

I'm forever switch off , rebooting etc as I develop stuff and the worst I ever get is YAM having to rebuild it's folders. (touch wood)




_________________
BroadBlues On Blues BroadBlues On Amiga Walker Broad

 Status: Offline
Profile     Report this post  
olegil 
Re: SW shutdown, is it planned? when?
Posted on 21-Feb-2012 14:43:42
#194 ]
Elite Member
Joined: 22-Aug-2003
Posts: 5895
From: Work

@Tomas

corruption can happen at any point on any OS, not just while turning off.

There's no such thing as a guaranteed error free file system. Unless it comes with a free lunch.

Other than that, I agree. Not having to shut down each and every app every time I want to power off (and having to start them up again afterwards) would be a benefit to ME. Someone else might not need or want it, but that shouldn't be of concern to ME as long as they can CHOOSE to leave the feature unused.

I fail to see how pressing the power button and apps automatically autosave before the OS turns off power is very un-Amiga.

_________________
This weeks pet peeve:
Using "voltage" instead of "potential", which leads to inventing new words like "amperage" instead of "current" (I, measured in A) or possible "charge" (amperehours, Ah or Coulomb, C). Sometimes I don't even know what people mean.

 Status: Offline
Profile     Report this post  
Tomas 
Re: SW shutdown, is it planned? when?
Posted on 21-Feb-2012 15:25:52
#195 ]
Elite Member
Joined: 25-Jul-2003
Posts: 4286
From: Unknown

@olegil
Yeah i know that.

For me it is more about lowering the risks of it happening.

 Status: Offline
Profile     Report this post  
broadblues 
Re: SW shutdown, is it planned? when?
Posted on 21-Feb-2012 15:39:01
#196 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4446
From: Portsmouth England

@Tomas

BTW there is a reboot command in C:

C:reboot ?
FAST=WARMREBOOT/S,WAIT/N/K,SYNC/S:

sync tries to lock files systems etc after disk activity has finished.

wait waits for a given number of sesonds before rebooting.

So try

C:REBOOT WAIT 30 SYNC

then power off during that 30 secs gap (make the 30 longer if need be)

IIRC you'll see all the drives go inactive "hand symbol on icon"

in the absense of a software power off that gets' you some way to what you want.

Combine it with a bit of ARexx and you have a nearly complete shutdown

_________________
BroadBlues On Blues BroadBlues On Amiga Walker Broad

 Status: Offline
Profile     Report this post  
Mechanic 
Re: SW shutdown, is it planned? when?
Posted on 21-Feb-2012 16:05:48
#197 ]
Elite Member
Joined: 27-Jul-2003
Posts: 2007
From: Unknown

I have nothing 'against' software shutdown. I would just not like to see
it become the standard way of shutting down an Amiga. Software complexity
replacing a button push should not be a goal (IMO).

Spin down the HDs and put CPU to low power, good idea.

Also as broadblues points out, first the hardware must support it, even then
as a utility, perhaps something like a Recoverable Ram Disk that gets stored
and is read back only if there is something in the folder that is created new
each time a SW shutdown is performed and deleted after the restore.

First thing I would rather see is a real button that would issue a OS soft reset
for those times some program, or combination of programs, locks things up but
not bad enough to require a hard reset, but...that's just me.

 Status: Offline
Profile     Report this post  
broadblues 
Re: SW shutdown, is it planned? when?
Posted on 21-Feb-2012 16:32:15
#198 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4446
From: Portsmouth England

@Mechanic

Quote:

First thing I would rather see is a real button that would issue a OS soft reset
for those times some program, or combination of programs, locks things up but
not bad enough to require a hard reset, but...that's just me.


er see above

Write a one line script and add an icon leave it out on wb or Drag it onto amidock if you want.

_________________
BroadBlues On Blues BroadBlues On Amiga Walker Broad

 Status: Offline
Profile     Report this post  
Mechanic 
Re: SW shutdown, is it planned? when?
Posted on 21-Feb-2012 18:15:43
#199 ]
Elite Member
Joined: 27-Jul-2003
Posts: 2007
From: Unknown

@broadblues

Quote:

broadblues wrote:
@Mechanic

Quote:

First thing I would rather see is a real button that would issue a OS soft reset
for those times some program, or combination of programs, locks things up but
not bad enough to require a hard reset, but...that's just me.


er see above

Write a one line script and add an icon leave it out on wb or Drag it onto amidock if you want.



Er? Cool, but 'everything' is locked up.

This even happens on my linux box every now and then. If I could just logout instead
of switch off............if you know what I mean.

 Status: Offline
Profile     Report this post  
SinanG 
Re: SW shutdown, is it planned? when?
Posted on 21-Feb-2012 21:14:33
#200 ]
Regular Member
Joined: 24-Dec-2004
Posts: 334
From: Unknown

@broadblues

Sam460 has a shutdown command in Uboot that works...

Shutdown command may be useful when you leave computer at home doing something (like raytracing, downloading). After the tasks are completed, OS4 can shutdown the board.

_________________
AmigaOS4 Beta-Tester
----------------------------------
Amiga X5000 8GB Radeon RX 560
Amiga A1222 2GB Radeon RX 550
Sam 460 2GB RadeonRX 550

 Status: Offline
Profile     Report this post  
Goto page ( Previous Page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 Next Page )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle