Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2003 22:08:08 -0800
From:      Arun Sharma <arun@sharma-home.net>
To:        smp@freebsd.org
Cc:        jeff@freebsd.org
Subject:   SMP vulnerable to panics early on ?
Message-ID:  <20030214060808.GA15893@sharma-home.net>

next in thread | raw e-mail | index | archive | help
It sounds like the time when FreeBSD first comes up and execs "sh" is the
most vulnerable time for panics. Here's my latest one. I was using the
experimental SCHED_ULE option. 

If my SMP kernel boots up ok, it normally is pretty solid. But right now, I
have a roughly 50% failure rate at boot up.

	-Arun

PS: What does ULE stand for ? Is it just a pun on "schedule" ?

Fatal trap 12: page fault while in kernel mode
cpuid = 1; lapic.id = 01000000
fault virtual address   = 0x14c
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc01dcee3
stack pointer           = 0x10:0xcad36c48
frame pointer           = 0x10:0xcad36c54
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         = 11 (idle: cpu1)

db> tr
runq_remove(0,c0d1abb0,1ebe4ca,0,c0d17bd8) at runq_remove+0x33
sched_choose(c038cd80,0,c0d17bd8,cad36cdc,c03378a4) at sched_choose+0xa2
choosethread(c01de441,c0d18a80,c349aab8,c99ef33b,ff803014) at
choosethread+0xd
sw1b(7,800,87,800,47) at sw1b
idle_proc(0,cad36d48,900,9f,754) at idle_proc+0xa4
fork_exit(c01c1370,0,cad36d48) at fork_exit+0xb3
fork_trampoline() at fork_trampoline+0x1a
--- trap 0x1, eip = 0, esp = 0xcad36d7c, ebp = 0 ---

db> show pcpu
cpuid        = 1
curthread    = 0xc0d18a80: pid 11 "idle: cpu1"
curpcb       = 0xcad36da0
fpcurthread  = none
idlethread   = 0xc0d18a80: pid 11 "idle: cpu1"
currentldt   = 0x28

db> show pcpu 0
cpuid        = 0
curthread    = 0xc0d19620: pid 40 "sh"
curpcb       = 0xcad5dda0
fpcurthread  = none
idlethread   = 0xc0d18b60: pid 12 "idle: cpu0"
currentldt   = 0x28

db> tr 40
mi_switch(10018,c0d10010,c0d19620,c0d18a80,19b93) at mi_switch+0x161
stoppcbs(ab0ff000,392b0005,5a30fc0,c0392afc,ff0f773) at stoppcbs


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




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