savecore: reboot after panic: general protection fault

Простые/общие вопросы по UNIX системам. Спросите здесь, если вы новичок

Модераторы: vadim64, terminus

Правила форума
Убедительная просьба юзать теги [cоde] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
MrSnaKe
проходил мимо
Сообщения: 2
Зарегистрирован: 2013-08-14 0:11:43

savecore: reboot after panic: general protection fault

Непрочитанное сообщение MrSnaKe » 2013-08-16 15:28:37

Привет, есть сервер

Код: Выделить всё

root@gw:/boot/kernel # uname -a
FreeBSD gw 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Mon Jul 22 06:38:55 EEST 2013     root@gw:/usr/obj/usr/src/sys/gw  amd64
на нем установленна система билинга Nodeny (только сателит, база на другом сервере), и на нем хаотически случается краш ядра, когда работает 2 недели когда чуть больше дня, никак не можу понять что генерирует краш, так как процесс всегда разный

Код: Выделить всё

root@gw:/boot/kernel # kgdb kernel /var/crash/vmcore.5
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   = 0x34646d8b
fault code              = supervisor read data, page not present
instruction pointer     = 0x20:0xffffffff80a3fa18
stack pointer           = 0x28:0xffffff80efb63580
frame pointer           = 0x28:0xffffff80efb635b0
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 (em0 que)
trap number             = 12
panic: page fault
cpuid = 0
KDB: stack backtrace:
#0 0xffffffff809620d6 at kdb_backtrace+0x66
#1 0xffffffff8092c0ee at panic+0x1ce
#2 0xffffffff80c530b0 at trap_fatal+0x290
#3 0xffffffff80c533ed at trap_pfault+0x1ed
#4 0xffffffff80c53a0e at trap+0x3ce
#5 0xffffffff80c3dfcf at calltrap+0x8
#6 0xffffffff80a444b5 at ng_iface_send+0xc5
#7 0xffffffff80a4497d at ng_iface_output+0x1bd
#8 0xffffffff80a76f67 at ip_output+0xd77
#9 0xffffffff80a73763 at ip_forward+0x303
#10 0xffffffff80a74e2c at ip_input+0x5dc
#11 0xffffffff809f819b at netisr_dispatch_src+0x20b
#12 0xffffffff809edc6d at ether_demux+0x14d
#13 0xffffffff809edf44 at ether_nh_input+0x1f4
#14 0xffffffff809f819b at netisr_dispatch_src+0x20b
#15 0xffffffff804ed46a at em_rxeof+0x1ca
#16 0xffffffff804ed8e8 at em_handle_que+0x48
#17 0xffffffff8096e775 at taskqueue_run_locked+0x85
Uptime: 2d17h15m50s
Dumping 786 out of 3963 MB:..3%..11%..21%..31%..41%..51%..62%..72%..82%..92%

Reading symbols from /boot/kernel/ng_mppc.ko...Reading symbols from /boot/kernel/ng_mppc.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_mppc.ko
Reading symbols from /boot/kernel/rc4.ko...Reading symbols from /boot/kernel/rc4.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/rc4.ko
Reading symbols from /boot/kernel/ng_pppoe.ko...Reading symbols from /boot/kernel/ng_pppoe.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_pppoe.ko
Reading symbols from /boot/kernel/accf_http.ko...Reading symbols from /boot/kernel/accf_http.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/accf_http.ko
Reading symbols from /boot/kernel/ng_tee.ko...Reading symbols from /boot/kernel/ng_tee.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_tee.ko
Reading symbols from /boot/kernel/ng_ppp.ko...Reading symbols from /boot/kernel/ng_ppp.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_ppp.ko
Reading symbols from /boot/kernel/ng_vjc.ko...Reading symbols from /boot/kernel/ng_vjc.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_vjc.ko
#0  doadump (textdump=Variable "textdump" is not available.
) at pcpu.h:224
224     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) bt full
#0  doadump (textdump=Variable "textdump" is not available.
) at pcpu.h:224
No locals.
#1  0xffffffff8092bbd1 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:448
        _ep = Variable "_ep" is not available.
(kgdb)
2 дня назад краш был другой

Код: Выделить всё

root@gw:/boot/kernel # kgdb kernel /var/crash/vmcore.4
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:
instruction pointer     = 0x20:0xffffffff80b7feca
stack pointer           = 0x28:0xffffff80002d6890
frame pointer           = 0x28:0xffffff80002d68a0
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         = 14 (g_up)
trap number             = 12
panic: page fault
cpuid = 7
KDB: stack backtrace:
#0 0xffffffff809620d6 at kdb_backtrace+0x66
#1 0xffffffff8092c0ee at panic+0x1ce
#2 0xffffffff80c530b0 at trap_fatal+0x290
#3 0xffffffff80c533ed at trap_pfault+0x1ed
#4 0xffffffff80c53a0e at trap+0x3ce
#5 0xffffffff80c3dfcf at calltrap+0x8
#6 0xffffffff80b80cf3 at diradd_inode_written+0x23
#7 0xffffffff80b855a8 at handle_bufwait+0x118
#8 0xffffffff80b8f36c at softdep_disk_write_complete+0x74c
#9 0xffffffff809aab5c at bufdone_finish+0x2c
#10 0xffffffff809aae98 at bufdone+0x68
#11 0xffffffff80897616 at g_io_schedule_up+0xa6
#12 0xffffffff80897b9c at g_up_procbody+0x5c
#13 0xffffffff808fd21f at fork_exit+0x11f
#14 0xffffffff80c3e4fe at fork_trampoline+0xe
Uptime: 1d2h19m50s
Dumping 783 out of 3963 MB:..3%..11%..21%..31%..41%..52%..62%..72%..82%..92%

Reading symbols from /boot/kernel/ng_mppc.ko...Reading symbols from /boot/kernel/ng_mppc.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_mppc.ko
Reading symbols from /boot/kernel/rc4.ko...Reading symbols from /boot/kernel/rc4.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/rc4.ko
Reading symbols from /boot/kernel/ng_pppoe.ko...Reading symbols from /boot/kernel/ng_pppoe.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_pppoe.ko
Reading symbols from /boot/kernel/accf_http.ko...Reading symbols from /boot/kernel/accf_http.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/accf_http.ko
Reading symbols from /boot/kernel/ng_tee.ko...Reading symbols from /boot/kernel/ng_tee.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_tee.ko
Reading symbols from /boot/kernel/ng_ppp.ko...Reading symbols from /boot/kernel/ng_ppp.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_ppp.ko
Reading symbols from /boot/kernel/ng_vjc.ko...Reading symbols from /boot/kernel/ng_vjc.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_vjc.ko
#0  doadump (textdump=Variable "textdump" is not available.
) at pcpu.h:224
224     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) bt full
#0  doadump (textdump=Variable "textdump" is not available.
) at pcpu.h:224
No locals.
#1  0xffffffff8092bbd1 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:448
        _ep = Variable "_ep" is not available.
(kgdb)
и еще

Код: Выделить всё

root@gw:/boot/kernel # kgdb kernel /var/crash/vmcore.3
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:
stack pointer           = 0x28:0xffffff8112d42920
frame pointer           = 0x28:0xffffff8112d42940
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         = 21 (softdepflush)
trap number             = 9
panic: general protection fault
cpuid = 4
KDB: stack backtrace:
#0 0xffffffff809620d6 at kdb_backtrace+0x66
#1 0xffffffff8092c0ee at panic+0x1ce
#2 0xffffffff80c530b0 at trap_fatal+0x290
#3 0xffffffff80c53745 at trap+0x105
#4 0xffffffff80c3dfcf at calltrap+0x8
#5 0xffffffff80b8672a at softdep_process_journal+0x3da
#6 0xffffffff80b88044 at softdep_process_worklist+0x64
#7 0xffffffff80b8a687 at softdep_flush+0x197
#8 0xffffffff808fd21f at fork_exit+0x11f
#9 0xffffffff80c3e4fe at fork_trampoline+0xe
Uptime: 3d21h28m40s
Dumping 825 out of 3963 MB:..2%..12%..22%..32%..41%..51%..61%..72%..82%..92%

Reading symbols from /boot/kernel/ng_mppc.ko...Reading symbols from /boot/kernel/ng_mppc.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_mppc.ko
Reading symbols from /boot/kernel/rc4.ko...Reading symbols from /boot/kernel/rc4.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/rc4.ko
Reading symbols from /boot/kernel/ng_pppoe.ko...Reading symbols from /boot/kernel/ng_pppoe.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_pppoe.ko
Reading symbols from /boot/kernel/accf_http.ko...Reading symbols from /boot/kernel/accf_http.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/accf_http.ko
Reading symbols from /boot/kernel/ng_tee.ko...Reading symbols from /boot/kernel/ng_tee.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_tee.ko
Reading symbols from /boot/kernel/ng_ppp.ko...Reading symbols from /boot/kernel/ng_ppp.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_ppp.ko
Reading symbols from /boot/kernel/ng_vjc.ko...Reading symbols from /boot/kernel/ng_vjc.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_vjc.ko
#0  doadump (textdump=Variable "textdump" is not available.
) at pcpu.h:224
224     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) bt full
#0  doadump (textdump=Variable "textdump" is not available.
) at pcpu.h:224
No locals.
#1  0xffffffff8092bbd1 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:448
        _ep = Variable "_ep" is not available.
(kgdb)
есть идеи что может генерировать краш системы?
Последний раз редактировалось f_andrey 2013-08-16 16:57:20, всего редактировалось 1 раз.
Причина: Автору. пожалуйста, выбирайте соответствующий раздел форума.

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Аватара пользователя
Neus
капитан
Сообщения: 1814
Зарегистрирован: 2008-09-08 21:59:56

Re: savecore: reboot after panic: general protection fault

Непрочитанное сообщение Neus » 2013-08-16 16:58:06

Есть, оперативка кривая например

MrSnaKe
проходил мимо
Сообщения: 2
Зарегистрирован: 2013-08-14 0:11:43

Re: savecore: reboot after panic: general protection fault

Непрочитанное сообщение MrSnaKe » 2013-08-16 18:58:34

мне опыт говорит, что проблема не в памяти а в фаерволе, так как у меня создается пайпа, а потом шейпер на даминете, когда я удалаяю правило юзера( например, закончились деньги или он отключился) а пакеты в даминете еще есть, вот тогда и наступает краш, хотя я не уверен, почему и спращиваю совета у других ...

а про память, я полностю пересобрал сервер, я проблема не пропала, сначала был Phenom тепер i7 стоит, всеравно проблема осталась.

есть еще идеи?