Date: Mon, 20 Mar 1995 00:07:19 +0100 (MET) From: J Wunsch <j@uriah.heep.sax.de> To: ferovick@runner.jpl.utsa.edu Cc: freebsd-bugs@freefall.cdrom.com Subject: Re: kern/255: page fault after adding pcvt support into kernel config Message-ID: <199503192307.AAA16349@uriah.heep.sax.de> In-Reply-To: <199503192150.NAA04968@freefall.cdrom.com> from "David C Ferovick" at Mar 19, 95 01:50:05 pm
index | next in thread | previous in thread | raw e-mail
As David C Ferovick wrote:
>
> The FreeBSD-current from 3/17/95 at 10 am runs fine if I do not
> copy the two lines for PCVT from the LINT config file into my
> config file for the kernel. It gets a page fault just after
> the mounting root as... line on the screen. If I then rebuild
> the kernel after commenting out those two lines, the kernel once
> again works fine. I am leaving the syscon line alone, but if I
> comment it out, the kernel stil traps.
>
> Here is the kgdb script for the fault:
> Script started on Sun Mar 19 15:05:54 1995
> milan# kgdb kernel.debug /var/crash/vmcore.1
> Reading symbol data from /usr/src/sys/compile/MYKERNEL/kernel.debug...done.
> IdlePTD 1f8000
> panic: page fault
> current pcb at 1e300c
> Reading in symbols for ../../i386/i386/machdep.c...done.
> (kgdb) where
> #0 boot (arghowto=256) (../../i386/i386/machdep.c line 787)
> #1 0xf01126d3 in panic (...)
> #2 0xf0192cfe in trap_fatal (...)
> #3 0xf0192870 in trap_pfault (...)
> #4 0xf0192537 in trap (...)
> #5 0xf018b711 in exception:calltrap ()
> #6 0xf012c554 in spec_open (...)
> #7 0xf01299b7 in vn_open (...)
> #8 0xf0126c33 in open (...)
> #9 0xf0192ee7 in syscall (...)
> (kgdb) up 4
> Reading in symbols for ../../i386/i386/trap.c...done.
> #4 0xf0192537 in trap (frame={tf_es = 16, tf_ds = -272695280, tf_edi = 0, tf_esi = 15616, tf_ebp = -272630324, tf_isp = -272630376, tf_ebx = 15616, tf_edx = 0, tf_ecx = -272630228, tf_eax = 61, tf_trapno = 12, tf_err = -272695296, tf_eip = 61, tf_cs = -262209528, tf_eflags = 66050, tf_esp = -266816605, tf_ss = 15616}) (../../i386/i386/trap.c line 288)
> 288 (void) trap_pfault(&frame, FALSE);
> (kgdb) frame frame->tf_ebp frame->tf_eip
> #0 0x3d in ?? ()
^^^^^^^^^^^^^
(called random data)
Strange. I'm running a kernel on -current with pcvt with no other
problem than the `you can log into the console just once'.
Are you totally sure your sys/i386/i386/conf.c is this one:
* $Id: conf.c,v 1.77 1995/03/05 22:24:59 joerg Exp $
This is supposed to have the hooks for pcvt.
I've double-checked that i also run the CVS version of pcvt. It
reports itself in the probe message as [R3.20-b22].
--
cheers, J"org
joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503192307.AAA16349>
