Date: Wed, 17 Mar 1999 16:19:03 -0500 From: "David E. Cross" <crossd@cs.rpi.edu> To: "Daniel C. Sobral" <dcs@newsguy.com> Cc: "David E. Cross" <crossd@cs.rpi.edu>, Robert Nordier <rnordier@nordier.com>, Matthew Dillon <dillon@apollo.backplane.com>, freebsd-hackers@FreeBSD.ORG, crossd@cs.rpi.edu Subject: Re: KVA size changes in 3.1-stable Message-ID: <199903172119.QAA07438@cs.rpi.edu> In-Reply-To: Message from "Daniel C. Sobral" <dcs@newsguy.com> of "Thu, 18 Mar 1999 02:29:17 %2B0900." <36EFE66D.5654E3F2@newsguy.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> The old loader is backed to /boot/loader.old, if you use normal > installation procedure. > > So, interrupt the second stage, and boot the old loader (or the > kernel directly, actually). > > I'm not entirely sure, but 4.0 loader might be depending on > /sys/sys/linker.h. I built the 4.0 loader as follows: mkdir /tmp/loader cd /tmp/loader cvs -d /exports/disk1/cvs/FreeBSD/ncvs checkout src/sys cd src/sys/boot make cd i386/loader (some of those paths maybe of, I am doing this from memory ;) cp /boot/loader /boot/loader.good cp loader /boot/loader /bin/sync (x3) I then reboot the system, and it dies as I said. Some additional information is that I put the new loader on a floppy, and booted that. entering "boot disk1s1a:kernel" would give me an error that it could not find the file. "boot disk1s1a:COPYRIGHT" gave me the same error ;). Eventually I set currdev and rootdev to disk1s1a: and I was able to boot the kernel, it got as far as: kernel.kva text=.... [......] and then locked (this time the keyboard did not respond and I needed to hit the reset button. when boot/loader came up this time (again off of floppy), I told it to boot disk1s1a:boot/loader.good (after setting currdev and rootdev again). and from there I told it to boot the old/non-relocated kernel. I have been running that kernel since, but I would greatly enjoy running the relocated kernel with larger KVA :) As somone perviously asked, I did read the CVS log, and made changes to the listed files (with the exceptions to the ones I could modify with 'options "NKPT=17"' and 'options "NKPDE=254"'.) -- David Cross To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903172119.QAA07438>