Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 1998 01:56:43 -0500
From:      "matthew c. mead" <mmead@calvin.math.vt.edu>
To:        Greg Lehey <grog@lemis.com>, questions@FreeBSD.ORG
Subject:   Re: new 2.2.5 installation randomly (and constantly) panics
Message-ID:  <19980222015643.55868@math.vt.edu>
In-Reply-To: <19980222171657.41498@freebie.lemis.com>; from Greg Lehey on Sun, Feb 22, 1998 at 05:16:57PM %2B1030
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <vm_pager_has_page>: 0x8be58955      0x428b0855      0x85048b28     0xf01ba1a0
0xf017f700 <vm_pager_has_page+16>:      0xff1475ff      0x75ff1075      0x408b520c      0xc9d0ff14
0xf017f710 <vm_pager_has_page+32>:      0x000000c3      0x53e58955      0x1ba1a0bb      0x9015ebf0
0xf017f720 <vm_pager_sync+12>:  0x0d74db85      0x7883038b      0x05740018     0xff18408b
0xf017f730 <vm_pager_sync+28>:  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980222015643.55868>