On Fri, 10 Jun 2005 01:10:05 +0800, Uwe Dippel wrote:
> I'll try to get the serial console up and do what you proposed,
Here is hopefully the required info:
# kernel: page fault trap, code=0
Stopped at m_freem+0x1f: movswl 0x10(%esi),%eax
ddb> ps
PID PPID PGRP UID S FLAGS WAIT COMMAND
22307 1 22307 0 3 0x4086 ttyin ksh
3152 1 3152 0 3 0x4086 ttyin getty
13287 1 13287 0 3 0x4086 ttyin getty
28209 1 28209 0 3 0x4086 ttyin getty
29321 1 29321 0 3 0x4086 ttyin getty
27579 1 27579 0 3 0x4086 ttyin getty
743 1 743 0 3 0x84 select cron
23158 1 23158 0 3 0x40184 select sendmail
609 1 609 0 3 0x84 select sshd
23466 1 23466 0 3 0x184 select inetd
8814 1 8814 0 3 0x84 poll ntpd
10557 1 32173 83 3 0x186 poll ntpd
431 22516 22516 74 3 0x184 bpf pflogd
22516 1 22516 0 3 0x84 netio pflogd
21451 27355 27355 73 3 0x184 poll syslogd
27355 1 27355 0 3 0x84 netio syslogd
8 0 0 0 3 0x100204 crypto_wa crypto
7 0 0 0 3 0x100204 aiodoned aiodoned
6 0 0 0 3 0x100204 syncer update
5 0 0 0 3 0x100204 cleaner cleaner
4 0 0 0 3 0x100204 reaper reaper
3 0 0 0 3 0x100204 pgdaemon pagedaemon
2 0 0 0 3 0x100204 kmalloc kmthread
1 0 1 0 3 0x4084 wait init
0 -1 0 0 3 0x80204 scheduler swapper
ddb> trace
m_freem(d21e6000,d21e6034,d06d3bf4,d21e6034) at m_freem+0x1f
ether_output(d07b704c,d21e6000,d05b90a4,d2191ca8,d06d3d7c) at ether_output+0x5b
ip_output(d21e6000,0,d05b90a0,1,0,0,0,0) at ip_output+0x908
ip_forward(d21e6000,1,0,50,d07b204c) at ip_forward+0x188
ipv4_input(d21e6000,d07b4ec0,0,d06d2000) at ipv4_input+0x25a
ipintr(58,10,10,10,d06d2000) at ipintr+0x67
Bad frame pointer: 0xd06d3e74
ddb> show registers
ds 0x10
es 0x10
fs 0x58
gs 0x10
edi 0x30
esi 0xdeafbeef end+0xe49ce1f
ebp 0xd06d3ae4 end+0x74a14
ebx 0xdeafbeef end+0xe49ce1f
edx 0x80
ecx 0xd21e5000 end+0x1b85f30
eax 0x30
eip 0xd02242f3 m_freem+0x1f
cs 0x50
eflags 0x10206
esp 0xd06d3abc end+0x749ec
ss 0xd06d0010 end+0x70f40
m_freem+0x1f: movswl 0x10(%esi),%eax
ddb>