From owner-freebsd-bugs Sun Mar 19 15:08:33 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA12243 for bugs-outgoing; Sun, 19 Mar 1995 15:08:33 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id PAA12216 for ; Sun, 19 Mar 1995 15:08:18 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA12011; Mon, 20 Mar 1995 00:08:06 +0100 Received: by sax.sax.de (8.6.9/8.6.9-s1) with UUCP id AAA19864; Mon, 20 Mar 1995 00:08:05 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id AAA16349; Mon, 20 Mar 1995 00:07:20 +0100 From: J Wunsch Message-Id: <199503192307.AAA16349@uriah.heep.sax.de> Subject: Re: kern/255: page fault after adding pcvt support into kernel config To: ferovick@runner.jpl.utsa.edu Date: Mon, 20 Mar 1995 00:07:19 +0100 (MET) Cc: freebsd-bugs@freefall.cdrom.com In-Reply-To: <199503192150.NAA04968@freefall.cdrom.com> from "David C Ferovick" at Mar 19, 95 01:50:05 pm Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 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: 2331 Sender: bugs-owner@FreeBSD.org Precedence: bulk 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. ;-)