From owner-freebsd-current Mon Apr 29 06:24:18 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA15543 for current-outgoing; Mon, 29 Apr 1996 06:24:18 -0700 (PDT) Received: from tfs.com (tfs.com [140.145.250.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id GAA15538 for ; Mon, 29 Apr 1996 06:24:16 -0700 (PDT) Received: from critter.tfs.com by tfs.com (smail3.1.28.1) with SMTP id m0uDsvt-0003w8C; Mon, 29 Apr 96 06:24 PDT Received: from localhost.dk.tfs.com (localhost.dk.tfs.com [127.0.0.1]) by critter.tfs.com (8.7.5/8.6.12) with SMTP id NAA00313; Mon, 29 Apr 1996 13:23:54 GMT X-Authentication-Warning: critter.dk.tfs.com: Host localhost.dk.tfs.com [127.0.0.1] didn't use HELO protocol To: Stephen Hocking cc: current@freebsd.org Subject: Re: Last mods to locore.s (v1.67) causes reboots In-reply-to: Your message of "Mon, 29 Apr 1996 14:38:48 +1000." <199604290438.EAA14237@netfl15a.devetir.qld.gov.au> Date: Mon, 29 Apr 1996 13:23:53 +0000 Message-ID: <311.830784233@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Causes one of my machines (16Mb 486, IDE) to spontaneously reboot when boot. > It happens just after the "loading ..." prompt, before the screen clearing an d > any of the usual messages about memory, version numbers & devices appear. > Anybody else before I put in a bug report? Any idea how old your bootblocks are ? Could you try this ? Index: locore.s =================================================================== RCS file: /home/ncvs/src/sys/i386/i386/locore.s,v retrieving revision 1.67 diff -u -r1.67 locore.s --- locore.s 1996/04/28 07:14:05 1.67 +++ locore.s 1996/04/29 06:21:01 @@ -203,10 +203,11 @@ popfl /* - * Don't trust what the BIOS gives for %fs and %gs. Trust the bootstrap - * to set %cs, %ds, %es and %ss. + * Don't trust what the BIOS gives for %es, %fs and %gs. Trust the bootstrap + * to set %cs, %ds and %ss. */ mov %ds, %ax + mov %ax, %es mov %ax, %fs mov %ax, %gs @@ -219,6 +220,8 @@ * returns via the old frame. */ movl $R(tmpstk),%esp + mov %ds, %ax + mov %ax, %ds call identify_cpu -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so.