Re: Fatal trap 12 in microuptime

From: Bjoern A. Zeeb <bzeeb-lists_at_lists.zabbadoz.net>
Date: Wed, 7 Jul 2004 13:05:24 +0000 (UTC)
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 </head-20040706.bin> 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
Received on Wed Jul 07 2004 - 11:10:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:00 UTC