[comp.sys.amiga] ** Read this message!! ** Bugs in Kickstart you should know about!!

bryce@eris.berkeley.edu (Bryce Nesbitt) (02/27/88)

fix_1.arc    Patch file #1 to fix bugs in V1.2 Kickstart
	     Written by Bryce Nesbitt.

Kickstart V1.2 has some bugs that can randomly Guru the machine.  Running
this file will protect you from these problems.  You must reboot to get rid
of the protection.

This program runs under Version 1.2 Kickstart ONLY.  If Version 1.3
Kickstart needs these fixes, then a separate patch file will be provided.
The bugs that are fixed:

1>  On machines with $C00000 memory (like the A500 and A2000), the Alert()
    function misbehaves.  This makes any alert fatal, even the
    "recoverable" ones.
2>  Every time a window is closed (or, in fact, any layer is deleted) the
    system frees a bit of memory then uses it again.  This can cause random
    crashes.

Please redistribute this patch file.  Use this naming convention:

fix_1.arc    Patch file #1 to fix bugs in V1.2 Kickstart

(Use "uudecode" from Fish disk #53 to decode this file)

begin 644 patch_1
M```#\P`````````!``````````````%&```#Z0```48L>0````23R4ZN_MHJT
M0'``(BT`K&8>0>T`7$ZN_H!![0!<3J[^C$ZN_WPB0DZN_H9P_TYU0_H!>$ZN"
M_F@CP````:HL0$ZN_\0J`&8$<!1.=2!Y````!`QH`"$`%&<20?H!>R(%)`AVY
M*TZN_]!P"DYU+'D````$(#P```!Z<@!.KO\Z*`!F!'`43G4B1$'Z`)(@/```!
M`'I.KOV0+'H!#D'Z`68B!20()CP```,03J[_T"QY````!$/Z`0).KOYH(\``;
M``&B0_H!`TZN_F@CP````:8B>0```:(@1"`(,'S_IDZN_EPCP````9HB3B!$3
MT?P````X(`@P?/^43J[^7"/````!GB)Z`)Q.KOYB(GH`F$ZN_F(B>@"43J[^2
M8GX`3G4O"B\+)$DO*@!$)FH`1$ZY`/X0@$J`6(]G%B\*3KD`_BR&+PM.N0#^F
M$*1P`5"/8`)P`"9?)%].=3/\0```W_":(#Q(14Q0L+D`````9R`CP`````!!2
M^0```0`@QR#5(#D````$(@`"@?\_^8EG!D[Y`/PP7D[Y`/PP!@``````````/
M````````````````9&]S+F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<W1E;2!F<F5E6
M<R!A(&)I="!O9B!M96UO<GD@=&AE;B!U<V5S(&ET"B`@("!A9V%I;BX@(%1HA
M:7,@8V%N(&-A=7-E(')A;F1O;2!C<F%S:&5S+@H``````^P````&````````V
>`#X```#`````S@```-0```#F```!``````````/R\
``
end
size 1380

|\_/|  . ACK!, NAK!, EOT!, SOH!
{O_o} .     Bryce Nesbitt
 (")        BIX: mleeds (temporarily)
  U	    USENET: bryce@eris.berkeley.EDU -or- ucbvax!eris!bryce

cosell@bbn.com (Bernie Cosell) (02/28/88)

In article <7231@agate.BERKELEY.EDU> bryce@eris.berkeley.edu (Bryce Nesbitt) writes:
>
>fix_1.arc    Patch file #1 to fix bugs in V1.2 Kickstart
>	     Written by Bryce Nesbitt.
>
>Kickstart V1.2 has some bugs that can randomly Guru the machine.  Running
>this file will protect you from these problems.  You must reboot to get rid
>of the protection.

Huh? Did you mean this last sentence... why would you *want* to get rid of
the protection?

>This program runs under Version 1.2 Kickstart ONLY.  If Version 1.3
>Kickstart needs these fixes, then a separate patch file will be provided.
...
>1>  On machines with $C00000 memory (like the A500 and A2000), the Alert()
...

I notice that you mention the A2000 explictily.  I guess this means
that this isn't actually a patch for kickstart (since I think we'ed
need new ROMs to really do that, no?) .  When I get it onto my Amiga
what _will_ it be?  Perhaps I'm (as usual) missing the obvious, but I'm
not sure what I'm supposed to do with this guy -- put it in my
startup-sequence?  If so, does its placement have any bearing on other
things in s-s (e.g., Andy's previous alert() patch).?  Should it be
"run patch_1" out of s-s?  Sorry to be so dense...
   __
  /  )                              Bernie Cosell
 /--<  _  __  __   o _              BBN Labs, Cambridge, MA 02238
/___/_(<_/ (_/) )_(_(<_             cosell@bbn.com

bryce@eris (Bryce Nesbitt) (02/28/88)

In article <21290@bbn.COM> cosell@BBN.COM (Bernie Cosell) writes:
>In article <> bryce@eris.berkeley.edu (Bryce Nesbitt) writes:
|>
|>You must reboot to get rid of the protection.
|
|Huh? Did you mean this last sentence... why would you *want* to get rid of
|the protection?

You would not.  But let's say I implemented this like the SCA virus... then
you would need to do more than just reboot :-).  Wow!  What a neat way to
do automatic software updates :-).


|I notice that you mention the A2000 explictily.  I guess this means
|that this isn't actually a patch for kickstart (since I think we'ed
|need new ROMs to really do that, no?) .

Who needs to change ROMs to patch Kickstart?  The OS has this magic 
"SetFunction()" call all set up for the purpose.


>Perhaps I'm (as usual) missing the obvious, but I'm
>not sure what I'm supposed to do with this guy -- put it in my
>startup-sequence?

Yes.  Just put "patch_1" in the startup-sequence.  No need to run it.


|If so, does its placement have any bearing on other
|things in s-s (e.g., Andy's previous alert() patch).?

This fixes the Alert() bug, so Andy's "setalert" patch is not needed.

|\_/|  . ACK!, NAK!, EOT!, SOH!
{O_o} .     Bryce Nesbitt
 (")        BIX: mleeds (temporarily)
  U	    USENET: bryce@eris.berkeley.EDU -or- ucbvax!eris!bryce