From owner-freebsd-hackers Thu Mar 16 09:09:07 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id JAA12951 for hackers-outgoing; Thu, 16 Mar 1995 09:09:07 -0800 Received: from cs.weber.edu (cs.weber.edu [137.190.16.16]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id JAA12945 for ; Thu, 16 Mar 1995 09:09:05 -0800 Received: by cs.weber.edu (4.1/SMI-4.1.1) id AA23453; Thu, 16 Mar 95 10:01:56 MST From: terry@cs.weber.edu (Terry Lambert) Message-Id: <9503161701.AA23453@cs.weber.edu> Subject: Re: installing on a thinkpad 750 To: bde@zeta.org.au (Bruce Evans) Date: Thu, 16 Mar 95 10:01:56 MST Cc: aw2t+@andrew.cmu.edu, freebsd-hackers@freefall.cdrom.com In-Reply-To: <199503160713.RAA19829@godzilla.zeta.org.au> from "Bruce Evans" at Mar 16, 95 05:13:50 pm X-Mailer: ELM [version 2.4dev PL52] Sender: hackers-owner@FreeBSD.org Precedence: bulk > >I'm trying to get FreeBSD-2.0 (or SNAP) to install on a Thinkpad 750 (I > >need to get FreeBSD or NetBSD on here before friday). I can get it to > >boot using some modified NetBSD boot blocks that know how to deal with > >36 sector floppies, but one it comes up the keyboard doesn't work. > >Under NetBSD I had to remove the keyboard initialization code in > >pccons to get the keyboard to work at all, and I couldn't get it working > >with pcvt (I'm hung with NetBSD at another point now). Has anyone done > >this before? Willing to help me out? > > The problem may be that the APM BIOS uses memory that it has reserved > below 640K. FreeBSD doesn't honor BIOS reserved memory. This theory doesn't make sense. The problem with it is that the BIOS is not accessed after BSD boots, and BSD doesn't load into the BIOS reserved area while the boot blocks are running before that. APM was the main reason I have been steadfastly arguing for better processer type identification and for non-overcommit in VM. The BIOS is able to implement APM because it knows how to save and restore processor internal registers. Protected mode code knows the same thing (thanks to "The Undocumented PC"), but since it is processer specific, it requires better probing to implement. Avoiding memory overcommit in VM allows you to use existing VM structures instead of allocating an otherwise unusable area of disk equal to your real memory plus processor state. Anyway, back to the keyboard. The problem is that by default the ThinkPad uses PS/2 scan code mode. You can fix this by using an option and building a kernel, as shown below. Terry Lambert terry@cs.weber.edu --- Any opinions in this posting are my own and not those of my present or previous employers. ========================================================================= ] From: J Wunsch ] Message-Id: <199411281905.UAA16637@julia.tcd-dresden.de> ] Subject: Re: Anyone got FreeBSD 1.1.5.1 running on a ThinkPad? (fwd) ] To: questions@freebsd.org ] Date: Mon, 28 Nov 1994 20:05:05 +0100 (MET) ] X-Phone: +49-351-8141 137 ] Reply-To: joerg_wunsch@uriah.sax.de ] X-Mailer: ELM [version 2.4 PL23] ] Mime-Version: 1.0 ] Content-Type: text/plain; charset=ISO-8859-1 ] Content-Transfer-Encoding: 8bit ] Content-Length: 895 ] Sender: questions-owner@freebsd.org ] Precedence: bulk ] Status: OR ] ] Just for the record, in case someone else is asking for this: Al's ] confirmation that pcvt w/ PCVT_SCANSET=2 works for the ThinkPad: ] ] As Al Elia wrote: ] | Date: Mon, 28 Nov 1994 18:24:42 GMT ] | From: Al Elia ] | Message-Id: <199411281824.SAA01554@aelia.student.harvard.edu> ] | To: joerg_wunsch@bonnie.tcd-dresden.de ] | Subject: Re: Anyone got FreeBSD 1.1.5.1 running on a ThinkPad? ] | ] | PCVT_SCANSET=2 worked...I had put in PCVT_SCAN_SET=2 (Doh!) ] | ] | anyway, thanks a lot for your help! (now I don't suppose you know anything ] | about the wd driver...) ] | ] | --Al Elia ] | ] -- ] cheers, J"org work: joerg_wunsch@tcd-dresden.de ] private: joerg_wunsch@uriah.sax.de ] ``C combines the speed and flexibility of assembler ] with the readability of assembler.'' =========================================================================