From owner-freebsd-current@FreeBSD.ORG Wed Jul 7 13:10:11 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A61416A4E9 for ; Wed, 7 Jul 2004 13:10:11 +0000 (GMT) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id A235343D1F for ; Wed, 7 Jul 2004 13:10:10 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id F0E261FF931 for ; Wed, 7 Jul 2004 15:10:08 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id 10DD81FF91D; Wed, 7 Jul 2004 15:10:07 +0200 (CEST) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 3134815657; Wed, 7 Jul 2004 13:05:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 268AD15329 for ; Wed, 7 Jul 2004 13:05:24 +0000 (UTC) Date: Wed, 7 Jul 2004 13:05:24 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: FreeBSD current mailing list In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de Subject: Re: Fatal trap 12 in microuptime X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2004 13:10:11 -0000 On Wed, 7 Jul 2004, Bjoern A. Zeeb wrote: Hi, > when PXE booting I am getting this: > > --- cut --- > Timecounter "TSC" frequency 133637195 Hz quality 800 > Timecounters tickmd0: Preloaded image 25165824 bytes at 0xc06b9ad4 > every 10.000 msec > IPv6 packet filtering initialized, default to accept, unlimited logging > ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to accept, logging unlimited > IPsec: Initialized Security Association Processing. > lo0: bpf attached > > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0xd8 > fault code = supervisor write, page not present > instruction pointer = 0x8:0xc04947ff > stack pointer = 0x10:0xc2021d58 > frame pointer = 0x10:0xc2021d6c > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 0 (swapper) > kernel: type 12 trap, code=0 > Stopped at microuptime+0x1f: movl %eax,0(%ebx) > db> where > microuptime(d8,8,c060d18c,c26875cc,c2021d98) at microuptime+0x1f > proc0_post(0,201ec00,201e000,0,c04282f5) at proc0_post+0x36 > mi_startup() at mi_startup+0x94 > begin() at begin+0x2c > --- cut --- > > > (kgdb) l *0xc04947ff > 0xc04947ff is in microuptime (time.h:128). > 123 > 124 static __inline void > 125 bintime2timeval(const struct bintime *bt, struct timeval *tv) > 126 { > 127 > 128 tv->tv_sec = bt->sec; > 129 tv->tv_usec = ((uint64_t)1000000 * (uint32_t)(bt->frac >> 32)) >> 32; > 130 } > 131 > 132 static __inline void > > > this looks odd to me :( this happend with SCHED_4BSD, same kernel config but with ULE booted up fine (though w/o serial console for some reason) .... -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT