Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Oct 2004 13:10:42 +0200
From:      Willem Jan Withagen <wjw@withagen.nl>
To:        "current@FreeBSD.ORG" <current@FreeBSD.ORG>
Subject:   Re: Fatal trap when starting 2nd processor
Message-ID:  <416D0D32.8050104@withagen.nl>
In-Reply-To: <416D070E.1010901@withagen.nl>
References:  <416D070E.1010901@withagen.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Willem Jan Withagen wrote:

> Hi,
>
> It's been al long time since, but as of this motning I get:
>
> ad0: 238475MB <WDC WD2500JB-00EVA0/15.05R15> [484521/16/63] at 
> ata0-master UDMA100
> SMP: AP CPU #1 Launched!
> kernel trap 12 with interrupts disabled
>
>
> Fatal trap 12: page fault while in kernel mode
> cpuid = 1; apic id = 01
> fault virtual address   = 0x0
> fault code              = supervisor read, page not present
> instruction pointer     = 0x8:0xffffffff80294a8a
> stack pointer           = 0x10:0xffffffffb1b3db30
> frame pointer           = 0x10:0x0
> code segment            = base 0x0, limit 0xfffff, type 0x1b
>                        = DPL 0, pres 1, long 1, def32 0, gran 1
> processor eflags        = resume, IOPL = 0
> current process         = 29 (irq17: fwohci0+)
>
> And that is on a Dual procesor Opteron system (with a Tyan board).
> FreeBSD 5.3-BETA7 #142: Wed Oct 13 11:09:39 CEST 2004
>    root@opteron.digiware.nl:/usr/obj/home1/src/sys/OPTERON.amd64
>
> I'll try and compile the kernel without firewire to see if that 
> changes things.


That does not help either.....

ad0: 238475MB <WDC WD2500JB-00EVA0/15.05R15> [484521/16/63] at 
ata0-master UDMA100
SMP: AP CPU #1 Launched!
lock order reversal
 1st 0xffffff007ffe7410 16 Bucket (UMA zone) @ 
/home1/src/sys/vm/uma_core.c:2353
 2nd 0xffffffff805c5db0 user map (user map) @ 
/home1/src/sys/vm/vm_map.c:2997
KDB: stack backtrace:
kdb_backtrace() at kdb_backtrace+0x37
witness_checkorder() at witness_checkorder+0x6a9
_sx_xlock() at _sx_xlock+0x74
_vm_map_lock_read() at _vm_map_lock_read+0x2e
vm_map_lookup() at vm_map_lookup+0x44
vm_fault() at vm_fault+0x9d
trap_pfault() at trap_pfault+0x117
trap() at trap+0x315
alltraps_with_regs_pushed() at alltraps_with_regs_pushed+0x5
bucket_free() at bucket_free+0x42
uma_zalloc_bucket() at uma_zalloc_bucket+0x256
uma_zalloc_arg() at uma_zalloc_arg+0x344
malloc() at malloc+0xf5
allocdev() at allocdev+0x5f
newdev() at newdev+0x95
make_dev() at make_dev+0xa6
devstat_alloc() at devstat_alloc+0x5a
devstat_new_entry() at devstat_new_entry+0x97
g_new_providerf() at g_new_providerf+0x1e8
fd_attach2() at fd_attach2+0x49
one_event() at one_event+0x19b
g_run_events() at g_run_events+0x9
g_event_procbody() at g_event_procbody+0x3d
fork_exit() at fork_exit+0xe9
fork_trampoline() at fork_trampoline+0xe
--- trap 0, rip = 0, rsp = 0xffffffffb19ffd00, rbp = 0 ---


Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address   = 0x0
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xffffffff803c10d1
stack pointer           = 0x10:0xffffffffb19ff7b0
frame pointer           = 0x10:0xffffffffb19ff7f0
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 2 (g_event)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?416D0D32.8050104>