*BSD News Article 18505


Return to BSD News archive

Newsgroups: comp.os.386bsd.bugs
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!newsserver.jvnc.net!gmd.de!borneo!veit
From: veit@borneo.gmd.de (Holger Veit)
Subject: boot larger kernels
Message-ID: <1993Jul16.095709.19471@gmd.de>
Sender: news@gmd.de (USENET News)
Nntp-Posting-Host: borneo
Organization: GMD - German National Research Center for Computer Science
X-Newsreader: Tin 1.1 PL5
Date: Fri, 16 Jul 1993 09:57:09 GMT
Lines: 130

(This went to comp.os.386bsd.apps by mistake first, ok now this should be 
a better location).

The following is part 1 of a patch to modify the machine dependent
routines of 386bsd to load kernels larger than 640-28K. The kernel
is loaded at 1MB and thus has no longer restrictions in size. You
need the Julian-bootloader to make use of it, and you should be at
patchkit level 0.2.4 for this.
I call this part 1 of the fix not because it is incomplete and does not
work - it works - but because there is currently the disadvantage that the 
now freed lower 640K are not yet moved back into the memory pool.
So don't make use of it if you do not have at least 8MB memory,
the drawback for lower memory amounts might be too severe.
The problem is that you now have a noncontiguous physical memory
map, which is not yet supported in pmap.c. Someone might pick this
up as a challenge to correct this and maybe rewrite pmap.c (I won't).

begin 664 1MB.tar.Z
M'YV04HH$(=*D"("#"!,J7,BPH<.'$"-*1`BBH@T;-$``J,@1AD:.(&+(^`BR
MHHP8,#R"J$'C9(P8&&?$X'@#!HT9&V%,W,FSI\^?`.K,H1-&3D4`<MZ\H0.T
MJ=.G4*-*G4IU*A4T:>:`R`H"S1LX9<S48<,F#P@Z:,J`8//&S1D08>Z$24.G
M#!D0/GK$:"($A)DT>%B`>&,T#)VU9<(,A0L"3M'#;\RP4""FS)@P0M6V55MF
MSIPR;NBD"</F+%:W6[4.34,61)NL<]*XU0%"CF4V<U^CCJP@LFFU;M[<`5$G
M^)@Q=>"DL0L"(XPE("JSO>,"A!'99&2_1:M63)TS6N]@'8.FL6T[H.E05BH:
M=9C:9=A>KGMW31DY;N*#D*L53=&[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veit                   | INTERNET: Holger.Veit@gmd.de
|  |   / GMD-SET German National Research  | Phone: (+49) 2241 14 2448
|__|  /  Center for Computer Science       | Fax:   (+49) 2241 14 2342
|  | /   P.O. Box 13 16                    | Had a nightmare yesterday:
|  |/    Schloss Birlinghoven              | My system started up with
         53731 St. Augustin, Germany       | ... Booting vmunix.el ...



--
         Dr. Holger Veit                   | INTERNET: Holger.Veit@gmd.de
|  |   / GMD-SET German National Research  | Phone: (+49) 2241 14 2448
|__|  /  Center for Computer Science       | Fax:   (+49) 2241 14 2342
|  | /   P.O. Box 13 16                    | Had a nightmare yesterday:
|  |/    Schloss Birlinghoven              | My system started up with
         53731 St. Augustin, Germany       | ... Booting vmunix.el ...