Биллинговая система Nodeny
22 Ноября 2024, 08:29:59 *
Добро пожаловать, Гость. Пожалуйста, войдите или зарегистрируйтесь.
Вам не пришло письмо с кодом активации?

Войти
Новости: Прекращена поддержка версии Nodeny 49
 
   Начало   Помощь Поиск Войти Регистрация  
Страниц: [1]
  Печать  
Автор Тема: FreeBSD Паники ядра шлюза  (Прочитано 5953 раз)
BobroCoder
Пользователь
**

Карма: 0
Offline Offline

Сообщений: 8


Просмотр профиля Email
« : 16 Декабря 2018, 11:39:29 »

Доброго времени суток.
Имеется сервер FreeBSD 11.2 с биллингов NoDeny Plus (ipfw+mpd5 pppoe)
Перезагружается с паникой ядра в произвольные моменты времени.
Зависимости найти на данный момент не удалось...
Оперативку меняли, Жесткий диск проверен - без бедов и подкидывали другой.
Помогите пожалуйста! Уже не знаю на что думать, не могу найти проблему

Цитировать
[root@gw ~]# kgdb /boot/kernel.min/kernel /var/crash/vmcore.last
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x0
fault code      = supervisor read instruction, page not present
instruction pointer   = 0x20:0x0
stack pointer           = 0x28:0xfffffe011a338638
frame pointer           = 0x28:0xfffffe011a338780
code segment      = base 0x0, limit 0xfffff, type 0x1b
         = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags   = interrupt enabled, resume, IOPL = 0
current process      = 0 (dummynet)
trap number      = 12
panic: page fault
cpuid = 0
KDB: stack backtrace:
#0 0xffffffff805b98c7 at kdb_backtrace+0x67
#1 0xffffffff80572fc7 at vpanic+0x177
#2 0xffffffff80572e43 at panic+0x43
#3 0xffffffff807f0fdf at trap_fatal+0x35f
#4 0xffffffff807f1039 at trap_pfault+0x49
#5 0xffffffff807f0807 at trap+0x2c7
#6 0xffffffff807d044c at calltrap+0x8
#7 0xffffffff8067ee63 at pfil_run_hooks+0xb3
#8 0xffffffff8069fde3 at ip_output+0xb33
#9 0xffffffff81523232 at dummynet_send+0xf2
#10 0xffffffff81522cb5 at dummynet_task+0x2c5
#11 0xffffffff805cb0d4 at taskqueue_run_locked+0x154
#12 0xffffffff805cc238 at taskqueue_thread_loop+0x98
#13 0xffffffff8053d963 at fork_exit+0x83
#14 0xffffffff807d136e at fork_trampoline+0xe
Uptime: 5d14h28m4s
Dumping 535 out of 3979 MB:..3%..12%..21%..33%..42%..51%..63%..72%..81%..93%

Reading symbols from /boot/kernel.min/zfs.ko...Reading symbols from /usr/lib/debug//boot/kernel.min/zfs.ko.debug...done.
done.
Loaded symbols for /boot/kernel.min/zfs.ko
Reading symbols from /boot/kernel.min/krpc.ko...Reading symbols from /usr/lib/debug//boot/kernel.min/krpc.ko.debug...done.
done.
Loaded symbols for /boot/kernel.min/krpc.ko
Reading symbols from /boot/kernel.min/opensolaris.ko...Reading symbols from /usr/lib/debug//boot/kernel.min/opensolaris.ko.debug...done.
done.
Loaded symbols for /boot/kernel.min/opensolaris.ko
Reading symbols from /boot/kernel.min/ipfw.ko...Reading symbols from /usr/lib/debug//boot/kernel.min/ipfw.ko.debug...done.
done.
Loaded symbols for /boot/kernel.min/ipfw.ko
Reading symbols from /boot/kernel.min/ipdivert.ko...Reading symbols from /usr/lib/debug//boot/kernel.min/ipdivert.ko.debug...done.
done.
Loaded symbols for /boot/kernel.min/ipdivert.ko
Reading symbols from /boot/kernel.min/dummynet.ko...Reading symbols from /usr/lib/debug//boot/kernel.min/dummynet.ko.debug...done.
done.
Loaded symbols for /boot/kernel.min/dummynet.ko
Reading symbols from /boot/kernel.min/netgraph.ko...Reading symbols from /usr/lib/debug//boot/kernel.min/netgraph.ko.debug...done.
done.
Loaded symbols for /boot/kernel.min/netgraph.ko
Reading symbols from /boot/kernel.min/ng_tee.ko...Reading symbols from /usr/lib/debug//boot/kernel.min/ng_tee.ko.debug...done.
done.
Loaded symbols for /boot/kernel.min/ng_tee.ko
Reading symbols from /boot/kernel.min/ng_ether.ko...Reading symbols from /usr/lib/debug//boot/kernel.min/ng_ether.ko.debug...done.
done.
Loaded symbols for /boot/kernel.min/ng_ether.ko
Reading symbols from /boot/kernel.min/ng_socket.ko...Reading symbols from /usr/lib/debug//boot/kernel.min/ng_socket.ko.debug...done.
done.
Loaded symbols for /boot/kernel.min/ng_socket.ko
Reading symbols from /boot/kernel.min/ng_mppc.ko...Reading symbols from /usr/lib/debug//boot/kernel.min/ng_mppc.ko.debug...done.
done.
Loaded symbols for /boot/kernel.min/ng_mppc.ko
Reading symbols from /boot/kernel.min/rc4.ko...Reading symbols from /usr/lib/debug//boot/kernel.min/rc4.ko.debug...done.
done.
Loaded symbols for /boot/kernel.min/rc4.ko
Reading symbols from /boot/kernel.min/ng_iface.ko...Reading symbols from /usr/lib/debug//boot/kernel.min/ng_iface.ko.debug...done.
done.
Loaded symbols for /boot/kernel.min/ng_iface.ko
Reading symbols from /boot/kernel.min/ng_pppoe.ko...Reading symbols from /usr/lib/debug//boot/kernel.min/ng_pppoe.ko.debug...done.
done.
Loaded symbols for /boot/kernel.min/ng_pppoe.ko
Reading symbols from /boot/kernel.min/ng_ppp.ko...Reading symbols from /usr/lib/debug//boot/kernel.min/ng_ppp.ko.debug...done.
done.
Loaded symbols for /boot/kernel.min/ng_ppp.ko
Reading symbols from /boot/kernel.min/pf.ko...Reading symbols from /usr/lib/debug//boot/kernel.min/pf.ko.debug...done.
done.
Loaded symbols for /boot/kernel.min/pf.ko
Reading symbols from /boot/kernel.min/accf_http.ko...Reading symbols from /usr/lib/debug//boot/kernel.min/accf_http.ko.debug...done.
done.
Loaded symbols for /boot/kernel.min/accf_http.ko
Reading symbols from /boot/kernel.min/uhid.ko...Reading symbols from /usr/lib/debug//boot/kernel.min/uhid.ko.debug...done.
done.
Loaded symbols for /boot/kernel.min/uhid.ko
#0  doadump (textdump=<value optimized out>) at pcpu.h:229
229   pcpu.h: No such file or directory.
   in pcpu.h
(kgdb) bt
#0  doadump (textdump=<value optimized out>) at pcpu.h:229
#1  0xffffffff80572bdb in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:383
#2  0xffffffff80573001 in vpanic (fmt=<value optimized out>, ap=<value optimized out>) at /usr/src/sys/kern/kern_shutdown.c:776
#3  0xffffffff80572e43 in panic (fmt=<value optimized out>) at /usr/src/sys/kern/kern_shutdown.c:707
#4  0xffffffff807f0fdf in trap_fatal (frame=0xfffffe011a338570, eva=0) at /usr/src/sys/amd64/amd64/trap.c:875
#5  0xffffffff807f1039 in trap_pfault (frame=0xfffffe011a338570, usermode=0) at pcpu.h:229
#6  0xffffffff807f0807 in trap (frame=0xfffffe011a338570) at /usr/src/sys/amd64/amd64/trap.c:415
#7  0xffffffff807d044c in calltrap () at /usr/src/sys/amd64/amd64/exception.S:231
#8  0x0000000000000000 in ?? ()
Current language:  auto; currently minimal
(kgdb)

Цитировать
[root@gw ~]# cat /boot/loader.conf
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
vfs.zfs.min_auto_ashift=12
zfs_load="YES"

kernel="kernel.min"

kern.hz=5000
vm.pmap.pti=0

ipfw_load="YES"
ipdivert_load="YES"
dummynet_load="YES"
netgraph_load="YES"

ng_tee_load="YES"
ng_ether_load="YES"
ng_socket_load="YES"
ng_mppc_load="YES"
ng_iface_load="YES"
ng_pppoe_load="YES"
ng_ppp_load="YES"


[root@gw ~]# cat /etc/sysctl.conf

vfs.zfs.min_auto_ashift=12
kern.ipc.somaxconn=1024
kern.ipc.maxsockbuf=83886080
net.link.ether.inet.max_age=600
net.link.ether.inet.log_arp_wrong_iface=0
net.inet.icmp.icmplim=5000
net.inet.ip.fw.one_pass=1
net.inet.ip.maxfragsperpacket=43
net.inet.ip.intr_queue_maxlen=10240
net.inet.ip.dummynet.io_fast=1
net.inet.ip.dummynet.hash_size=1024
net.inet.ip.dummynet.pipe_slot_limit=2048


Цитировать
# $FreeBSD: releng/11.2/sys/amd64/conf/BSDGW 341405 2018-12-01 $

cpu      HAMMER
ident      MIN

makeoptions   DEBUG=-g      # Build kernel with gdb(1) debug symbols
makeoptions   WITH_CTF=1      # Run ctfconvert(1) for DTrace support

options    SCHED_ULE      # ULE scheduler
options    PREEMPTION      # Enable kernel thread preemption
options    INET         # InterNETworking
options    TCP_OFFLOAD      # TCP offload
options    SCTP         # Stream Control Transmission Protocol
options    FFS         # Berkeley Fast Filesystem
options    SOFTUPDATES      # Enable FFS soft updates support
options    UFS_ACL         # Support for access control lists
options    UFS_DIRHASH      # Improve performance on big directories
options    UFS_GJOURNAL      # Enable gjournal-based UFS journaling
options    QUOTA         # Enable disk quotas for UFS
options    MD_ROOT         # MD is a potential root device
options    MSDOSFS         # MSDOS Filesystem
options    CD9660         # ISO 9660 Filesystem
options    PROCFS         # Process filesystem (requires PSEUDOFS)
options    PSEUDOFS      # Pseudo-filesystem framework
options    GEOM_PART_GPT      # GUID Partition Tables.
options    GEOM_RAID      # Soft RAID functionality.
options    GEOM_LABEL      # Provides labelization
options    COMPAT_FREEBSD32   # Compatible with i386 binaries
options    COMPAT_FREEBSD4      # Compatible with FreeBSD4
options    COMPAT_FREEBSD5      # Compatible with FreeBSD5
options    COMPAT_FREEBSD6      # Compatible with FreeBSD6
options    COMPAT_FREEBSD7      # Compatible with FreeBSD7
options    COMPAT_FREEBSD9      # Compatible with FreeBSD9
options    COMPAT_FREEBSD10   # Compatible with FreeBSD10
options    SCSI_DELAY=5000      # Delay (in ms) before probing SCSI
options    KTRACE         # ktrace(1) support
options    STACK         # stack(9) support
options    SYSVSHM         # SYSV-style shared memory
options    SYSVMSG         # SYSV-style message queues
options    SYSVSEM         # SYSV-style semaphores
options    _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options    PRINTF_BUFR_SIZE=128   # Prevent printf output being interspersed.
options    KBD_INSTALL_CDEV   # install a CDEV entry in /dev
options    HWPMC_HOOKS      # Necessary kernel hooks for hwpmc(4)
options    AUDIT         # Security event auditing
options    CAPABILITY_MODE      # Capsicum capability mode
options    CAPABILITIES      # Capsicum capabilities
options    MAC         # TrustedBSD MAC Framework
options    KDTRACE_FRAME      # Ensure frames are compiled in
options    KDTRACE_HOOKS      # Kernel DTrace hooks
options    DDB_CTF         # Kernel ELF linker loads CTF data
options    INCLUDE_CONFIG_FILE   # Include this file in kernel

# Debugging support.  Always need this:
options    KDB         # Enable kernel debugger support.
options    KDB_TRACE      # Print a stack trace for a panic.

# Make an SMP-capable kernel by default
options    SMP         # Symmetric MultiProcessor Kernel
options    DEVICE_NUMA      # I/O Device Affinity

# CPU frequency control
device      cpufreq

# Bus support.
device      acpi
options    ACPI_DMAR
device      pci
options    PCI_HP         # PCI-Express native HotPlug
options      PCI_IOV         # PCI SR-IOV support

# ATA controllers
device      ahci         # AHCI-compatible SATA controllers
device      ata         # Legacy ATA/SATA controllers

# ATA/SCSI peripherals
device      scbus         # SCSI bus (required for ATA/SCSI)
device      da         # Direct Access (disks)
device      cd         # CD
device      pass         # Passthrough device (direct ATA/SCSI access)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device      atkbdc         # AT keyboard controller
device      atkbd         # AT keyboard
device      psm         # PS/2 mouse

device      kbdmux         # keyboard multiplexer

device      vga         # VGA video card driver
options    VESA         # Add support for VESA BIOS Extensions (VBE)

device      splash         # Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device      sc
options    SC_PIXEL_MODE      # add support for the raster text mode

# vt is the new video console driver
device      vt
device      vt_vga
device      vt_efifb

device      agp         # support several AGP chipsets

# Serial (COM) ports
device      uart         # Generic UART driver
device      puc         # Multi I/O cards and multi-channel UARTs

# PCI Ethernet NICs.
device      em         # Intel PRO/1000 Gigabit Ethernet Family
device      igb         # Intel PRO/1000 PCIE Server Gigabit Family
device      ix         # Intel PRO/10GbE PCIE PF Ethernet
device      ixv         # Intel PRO/10GbE PCIE VF Ethernet

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device      miibus         # MII bus support
device      re         # RealTek 8139C+/8169/8169S/8110S
device      rl         # RealTek 8129/8139

# Pseudo devices.
device      loop         # Network loopback
device      random         # Entropy device
device      padlock_rng      # VIA Padlock RNG
device      rdrand_rng      # Intel Bull Mountain RNG
device      ether         # Ethernet support
device      vlan         # 802.1Q VLAN support
device      tun         # Packet tunnel.
device      md         # Memory "disks"
device      gif         # IPv6 and IPv4 tunneling
device      firmware      # firmware assist module

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device      bpf         # Berkeley packet filter

# USB support
options    USB_DEBUG      # enable debug msgs
device      uhci         # UHCI PCI->USB interface
device      ohci         # OHCI PCI->USB interface
device      ehci         # EHCI PCI->USB interface (USB 2.0)
device      xhci         # XHCI PCI->USB interface (USB 3.0)
device      usb         # USB Bus (required)
device      ukbd         # Keyboard
device      umass         # Disks/Mass storage - Requires scbus and da

# VirtIO support
device      virtio         # Generic VirtIO bus (required)
device      virtio_pci      # VirtIO PCI device
device      vtnet         # VirtIO Ethernet device
device      virtio_blk      # VirtIO Block device
device      virtio_scsi      # VirtIO SCSI device
device      virtio_balloon      # VirtIO Memory Balloon device

# Xen HVM Guest Optimizations
# NOTE: XENHVM depends on xenpci.  They must be added or removed together.
options    XENHVM         # Xen HVM kernel infrastructure
device      xenpci         # Xen HVM Hypervisor services driver

# VMware support
device      vmx         # VMware VMXNET3 Ethernet

# Netmap provides direct access to TX/RX rings on supported NICs
device      netmap         # netmap(4) support

Записан
Страниц: [1]
  Печать  
 
Перейти в:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!