No core dump after panic

Rajkumar S rajkumars at
Mon Mar 19 06:21:06 UTC 2007


I am trying to get core dump of a kernel panic relating to safenet
driver, so that I can file a meaning full PR or even try to debug
myself. But I am not getting a core dump after panic. I have gone
thorough the developers manual and I believe I have taken care of all
the usual stuff.


sysctl hw.physmem
hw.physmem: 508989440

Device          1K-blocks     Used    Avail Capacity
/dev/ad2s1b       1048576        0  1048576     0%

df -h | grep usr$
/dev/ad2s1f    6.8G    1.2G    5.1G    18%    /usr

The panic occurs before the disk drivers are loaded, ie just after
network is probed. Could that be the reason?

last couple of lines in dmesg while panic is as follows.

rl7: <RealTek 8139 10/100BaseTX> port 0xac00-0xacff mem
0xf6007000-0xf60070ff i2miibus7: <MII bus> on rl7
rlphy7: <RealTek internal media interface> on miibus7
rlphy7:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl7: Ethernet address: 00:60:e0:04:29:e4
safe0 mem 0xf6120000-0xf6121fff irq 5 at device 10.0 on pci0
safe0: cannot allocate DMA tag
device_attach: safe0 attach returned 6
re0: <RealTek 8169S Single-chip Gigabit Ethernet> port 0xb000-0xb0ff
mem 0xf6120re0: could not allocate dma tag

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x60
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc0570ea5
stack pointer           = 0x28:0xc0c20bd0
frame pointer           = 0x28:0xc0c20be4
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)
trap number             = 12
panic: page fault
Uptime: 1s


More information about the freebsd-questions mailing list