cvs commit: src/sys/platform/vkernel/platform init.c

Joe Talbott josepht at cstone.net
Mon Jul 2 11:05:31 PDT 2007


On Mon, Jul 02, 2007 at 10:56:01AM -0700, Matthew Dillon wrote:
> 
> :    sys/platform/vkernel/platform init.c 
> :  Log:
> :  Add break after parsing the -n option.
> :  
> :  Revision  Changes    Path
> :  1.43      +1 -0      src/sys/platform/vkernel/platform/init.c
> 
>     Heh.  I don't know how I missed that.  Did it fix your panic? 
>     If not, run the vkernel -v and post the output leading up to
>     the panic.
> 

Nope didn't fix my panic.  Here's what I get with -v (Note: with -n 1
the vkernel boots to the login prompt):

Joe

Using memory file: /var/vkernel/memimg.000000
KVM mapped at 0x40000000-0x80000000
Copyright (c) 2003, 2004, 2005, 2006, 2007 The DragonFly Project.
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,
1994
        The Regents of the University of California. All rights
reserved.
Slab ZoneSize set to 32KB
Leaving critical section, allowing interrupts
DragonFly 1.9.0-DEVELOPMENT #19: Mon Jul  2 14:01:16 EDT 2007

root at tin.oss.ntelos.net:/home/obj/home/josepht/src/vksrc.cvs.2/sys/VK
real memory = 67108864 (65536K bytes)
avail memory = 62545920 (61080K bytes)
DragonFly/MP: Multiprocessor
 cpu0 (BSP)
 cpu1 (AP)
initclocks
Finish MP startup
SMP: AP CPU #1 Launched!
Active CPU Mask: 00000003
objcache(exec-args): too small for ncpus, adjusting cluster_limit
16->32
start scheduler helpers on cpus: 0 1
start dummy scheduler helpers on cpus: 0 1
md0: Malloc disk
Device configuration finished.
ppp0: bpf attached
sl0: bpf attached
DUMMYNET initialized (011031)
faith0: bpf attached
IP packet filtering initialized, divert disabled, rule-based
forwarding enabled, default to accept, logging disabled
lo0: bpf attached
IPsec: Initialized Security Association Processing.
Mounting root from ufs:vkd0s0a
vkd0: invalid primary partition table: no magic
start_init: trying /sbin/init


Fatal trap 12: page fault while in kernel mode
mp_lock = 00000000; cpuid = 0
fault virtual address   = 0x0
fault code              = supervisor read, page not present
instruction pointer     = 0x1f:0x0
stack pointer           = 0x10:0x5e34f7f8
frame pointer           = 0x10:0x5e34fae4
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 2 (sh)
current thread          = pri 38 (CRIT)
 <- SMP: XXX
kernel: type 12 trap, code=4

CPU0 stopping CPUs: 0x00000002






More information about the Commits mailing list