Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Aug 2001 16:22:37 +0100
From:      Matthew Frost <matthewf@orac.frost.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: Completely unstable -stable (IPSEC)
Message-ID:  <20010808162237.A21663@orac.frost.net>
In-Reply-To: <20010807170743.G38692@orac.frost.net>
References:  <20010727.043011.74725216.ume@mahoroba.org> <200107300857.KAA27807@galaxy.de.cp.philips.com> <yge4rrueqgh.wl@piano.mahoroba.org> <20010807170743.G38692@orac.frost.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 07, 2001 at 05:07:43PM +0100, Matthew Frost wrote:
> I'm not sure if I've encountered a similar problem but I upgraded
> from a -STABLE from 3rd of June to a 4.4-PRERELEASE and the box
> would panic whenever an interface was configured up.
> 
> I was using INET6 / IPSEC / IPSEC_ESP options, but removing the
> INET6 option has fixed it so I think something's not quite right
> still (unless I'm barking up the wrong tree).
> 
> I will try and get more information about the panic when I'm back
> with the machine again.

Right hopefully there is some useful information here, The last
message on the console before the crash is:

"net.link.ether.bridge:0"

which presumably is it trying to set "net.link.ether.bridge=1"
from my sysctl.conf

IdlePTD 3768320
initial pcb at 2e6820
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x9c
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc019d440
stack pointer           = 0x10:0xc7576ccc
frame pointer           = 0x10:0xc7576ce4
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         = 117 (sysctl)
interrupt mask          = 
trap number             = 12
panic: page fault

syncing disks... 3 2 1 1 
done
Uptime: 53s

dumping to dev #ad/0x20001, offset 921600
dump ata0: resetting devices .. done
62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 
---
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:472
472             if (dumping++) {
(kgdb) list
467     dumpsys(void)
468     {
469             int     error;
470
471             savectx(&dumppcb);
472             if (dumping++) {
473                     printf("Dump already in progress, bailing...\n");
474                     return;
475             }
476             if (!dodump)
(kgdb) bt
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:472
#1  0xc0143883 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:312
#2  0xc0143c50 in poweroff_wait (junk=0xc02a30ec, howto=-1070978001)
    at /usr/src/sys/kern/kern_shutdown.c:580
#3  0xc025f2d2 in trap_fatal (frame=0xc7576c8c, eva=156)
    at /usr/src/sys/i386/i386/trap.c:951
#4  0xc025efa5 in trap_pfault (frame=0xc7576c8c, usermode=0, eva=156)
    at /usr/src/sys/i386/i386/trap.c:844
#5  0xc025eb63 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, 
      tf_edi = -1067763696, tf_esi = -1067777536, tf_ebp = -950571804, 
      tf_isp = -950571848, tf_ebx = -1067777316, tf_edx = 0, 
      tf_ecx = -1067777536, tf_eax = 0, tf_trapno = 12, tf_err = 0, 
      tf_eip = -1072049088, tf_cs = 8, tf_eflags = 66118, 
      tf_esp = -1067777316, tf_ss = -1067777536})
    at /usr/src/sys/i386/i386/trap.c:443
#6  0xc019d440 in icmp_reflect (m=0xc05b0200)
    at /usr/src/sys/netinet/ip_icmp.c:644
#7  0xc019ce89 in icmp_error (n=0xc05b0a00, type=3, code=3, dest=0, 
    destifp=0x0) at /usr/src/sys/netinet/ip_icmp.c:230
#8  0xc01a8f88 in udp_input (m=0xc05b0a00, off=20, proto=17)
    at /usr/src/sys/netinet/udp_usrreq.c:364
#9  0xc019e1bf in ip_input (m=0xc05b0a00)
    at /usr/src/sys/netinet/ip_input.c:820
---Type <return> to continue, or q <return> to quit---
#10 0xc019e233 in ipintr () at /usr/src/sys/netinet/ip_input.c:848
#11 0xc0254c25 in swi_net_next ()
#12 0xc017d707 in sysctl_bdg (oidp=0xc02b7180, arg1=0xc02b7024, arg2=0, 
    req=0xc7576e74) at /usr/src/sys/net/bridge.c:218
#13 0xc0148454 in sysctl_root (oidp=0x0, arg1=0xc7576efc, arg2=4, 
    req=0xc7576e74) at /usr/src/sys/kern/kern_sysctl.c:1033
#14 0xc01485f9 in userland_sysctl (p=0xc615a440, name=0xc7576efc, namelen=4, 
    old=0x0, oldlenp=0x0, inkernel=0, new=0xbfbff900, newlen=4, 
    retval=0xc7576ef8) at /usr/src/sys/kern/kern_sysctl.c:1126
#15 0xc01484b9 in __sysctl (p=0xc615a440, uap=0xc7576f80)
    at /usr/src/sys/kern/kern_sysctl.c:1062
#16 0xc025f57d in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, 
      tf_edi = 4, tf_esi = 4, tf_ebp = -1077938024, tf_isp = -950571052, 
      tf_ebx = -1077936888, tf_edx = 0, tf_ecx = -1077937920, tf_eax = 202, 
      tf_trapno = 12, tf_err = 2, tf_eip = 134560460, tf_cs = 31, 
      tf_eflags = 647, tf_esp = -1077938084, tf_ss = 47})
    at /usr/src/sys/i386/i386/trap.c:1150
#17 0xc02537c5 in Xint0x80_syscall ()
#18 0x80485f7 in ?? ()
#19 0x8048312 in ?? ()
#20 0x8048135 in ?? ()

Removing "options INET6" stops this happening.

I'm not sure what this is related to now (I do have BRIDGING in
the kernel).

Regards, Matthew

-- 
Matthew Frost                                         http://www.frost.org/
                                                   email: matthew@frost.org

                                              "B Integer out of range, 20:1"

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




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