panic in src/sys/netinet/in.c

From: Thierry Herbelot <thierry.herbelot_at_free.fr>
Date: Wed, 11 Mar 2009 06:29:34 +0100
Hello,

I have got a panic on two machines running a recent -current (one is UP, the 
other is SMP). Both machines pannic'ed when the periodic script was run and 
sendmail was used to send the script report (one machine stopped around 
03:04, the other around 03:06 this morning).

The DDB trace is following :
Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address   = 0x178
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc094d146
stack pointer           = 0x28:0xd1d5fb94
frame pointer           = 0x28:0xd1d5fbf4
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         = 15618 (sendmail)
[thread pid 15618 tid 100244 ]
Stopped at      in_control+0x26:        movl    0x178(%edx),%eax
db> where
Tracing pid 15618 tid 100244 td 0xc404bd20
in_control(c2e3edc8,402c7413,c44a5840,0,c404bd20,...) at in_control+0x26
soo_ioctl(c4aee4d0,402c7413,c44a5840,c4b2a900,c404bd20,...) at soo_ioctl+0x5b4
kern_ioctl(c404bd20,6,402c7413,c44a5840,189b150,...) at kern_ioctl+0x250
ioctl(c404bd20,d1d5fcf8,c,d1d5fd38,d1d5fd2c,...) at ioctl+0x134
syscall(d1d5fd38) at syscall+0x325
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (54, FreeBSD ELF32, ioctl), eip = 0x283c31a3, esp = 0xbfbfcd7c, 
ebp = 0xbfbfcd98 ---

indeed, there was a recent change in netinet/in.c :
diversion% ident /boot/kernel/kernel | grep netinet/in.c
     $FreeBSD: src/sys/netinet/in.c,v 1.121 2009/03/09 17:53:05 bms Exp $

-current kernels with rev 1.120 of netinet/in.c work fine.

I have kept one machine in DDB for futher investigations.

	Cheers

	TfH
Received on Wed Mar 11 2009 - 07:00:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:43 UTC