From owner-freebsd-questions Sat Feb 21 22:56:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA25322 for freebsd-questions-outgoing; Sat, 21 Feb 1998 22:56:24 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from kamin.narnia.math.vt.edu (kamin.narnia.math.vt.edu [198.82.185.100]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id WAA25315 for ; Sat, 21 Feb 1998 22:56:17 -0800 (PST) (envelope-from mmead@kamin.narnia.math.vt.edu) Received: (qmail 18977 invoked by uid 1500); 22 Feb 1998 06:56:44 -0000 Message-ID: <19980222015643.55868@math.vt.edu> Date: Sun, 22 Feb 1998 01:56:43 -0500 From: "matthew c. mead" To: Greg Lehey , questions@FreeBSD.ORG Subject: Re: new 2.2.5 installation randomly (and constantly) panics References: <19980221202539.15260@math.vt.edu> <19980222120905.35825@freebie.lemis.com> <19980222010353.57237@math.vt.edu> <19980222165501.24195@freebie.lemis.com> <19980222013641.59923@math.vt.edu> <19980222171657.41498@freebie.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: <19980222171657.41498@freebie.lemis.com>; from Greg Lehey on Sun, Feb 22, 1998 at 05:16:57PM +1030 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Feb 22, 1998 at 05:16:57PM +1030, Greg Lehey wrote: > On Sun, 22 February 1998 at 1:36:41 -0500, matthew c. mead wrote: > > Ok... I built after config -g, size /kernel and size > > /sys/compile/GOOF/kernel are identical - here's a kgdb output: > This is the same dump, is it? Same dump. > > #5 0xf017f70f in vm_pager_has_page (object=0xf0d33f80, offset=0, > > before=0xefbffc6c, after=0xefbffc68) at ../../vm/vm_pager.c:209 > Try this: > (gdb) f 5 > (gdb) l > (gdb) x/20i vm_pager_has_page > (gdb) i reg Here's the output: (kgdb) f 5 #5 0xf017f70f in vm_pager_has_page (object=0xf0d33f80, offset=0, before=0xefbffc6c, after=0xefbffc68) at ../../vm/vm_pager.c:209 209 return ((*pagertab[object->type]->pgo_haspage) (object, offset, before, after)); (kgdb) l 204 vm_object_t object; 205 vm_pindex_t offset; 206 int *before; 207 int *after; 208 { 209 return ((*pagertab[object->type]->pgo_haspage) (object, offset, before, after)); 210 } 211 212 /* 213 * Called by pageout daemon before going back to sleep. (kgdb) x/20 vm_pager_has_page 0xf017f6f0 : 0x8be58955 0x428b0855 0x85048b28 0xf01ba1a0 0xf017f700 : 0xff1475ff 0x75ff1075 0x408b520c 0xc9d0ff14 0xf017f710 : 0x000000c3 0x53e58955 0x1ba1a0bb 0x9015ebf0 0xf017f720 : 0x0d74db85 0x7883038b 0x05740018 0xff18408b 0xf017f730 : 0x04c383d0 0xa1b0158b 0x048df01b 0x00000095 (kgdb) i reg eax 0x0 0 ecx 0x0 0 edx 0x0 0 ebx 0x0 0 esp 0xefbffb04 0xefbffb04 ebp 0xefbffc20 0xefbffc20 esi 0xf0216b60 -266245280 edi 0x3 3 eip 0xf017f70f 0xf017f70f eflags 0x0 0 cs 0x0 0 ss 0x0 0 ds 0x0 0 es 0x0 0 (kgdb) > > But if I build a kernel for a 486 CPU, will it run on a 586 CPU? > It should do. The 586 kernel just adds some neat optimizations which > the 486 doesn't handle. i586_copyin is one of them :-) But doesn't the kernel see the fact that I've got a 586 cpu and refuse to run because it's built for a 486 cpu? > Good luck Thanks for your help thus far! -matt -- Matthew C. Mead Virginia Tech Mathematics Department 460 McBryde Hall Blacksburg, VA 24061-0123 mmead@math.vt.edu (540)231-2643 FAX: (540)231-5960 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message