kernel panic

Здесь можно задать вопросы не связанные с работой АСР. FreeBSD/Linux
Ответить
lasik
Сообщения: 983
Зарегистрирован: Чт янв 10, 2008 5:20 pm
Откуда: Россия, Москва

kernel panic

Сообщение lasik »

В общем случилось.
Что такое не знаю.
вот что в логах по этому поводу

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

Apr 30 22:16:15 proton kernel: em1: discard frame w/o packet header
Apr 30 22:16:15 proton kernel: em2: discard frame w/o packet header
Apr 30 22:16:16 proton kernel: em1: discard frame w/o packet header
Apr 30 22:16:19 proton last message repeated 2 times
Apr 30 22:16:20 proton kernel: em2: discard frame w/o packet header
Apr 30 22:16:21 proton kernel: em1: discard frame w/o packet header
Apr 30 22:18:37 proton syslogd: kernel boot file is /boot/kernel/kernel
Apr 30 22:18:37 proton kernel: 
Apr 30 22:18:37 proton kernel: 
Apr 30 22:18:37 proton kernel: Fatal trap 12: page fault while in kernel mode
Apr 30 22:18:37 proton kernel: cpuid = 0; apic id = 00
Apr 30 22:18:37 proton kernel: fault virtual address	= 0xbfc2e220
Apr 30 22:18:37 proton kernel: fault code		= supervisor read, page not present
Apr 30 22:18:37 proton kernel: instruction pointer	= 0x20:0xc09d9cba
Apr 30 22:18:37 proton kernel: stack pointer	        = 0x28:0xe4efbb9c
Apr 30 22:18:37 proton kernel: frame pointer	        = 0x28:0xe4efbbdc
Apr 30 22:18:37 proton kernel: code segment		= base 0x0, limit 0xfffff, type 0x1b
Apr 30 22:18:37 proton kernel: = DPL 0, pres 1, def32 1, gran 1
Apr 30 22:18:37 proton kernel: processor eflags	= interrupt enabled, resume, IOPL = 0
Apr 30 22:18:37 proton kernel: current process		= 40 (em2 taskq)
Apr 30 22:18:37 proton kernel: trap number		= 12
Apr 30 22:18:37 proton kernel: panic: page fault
Apr 30 22:18:37 proton kernel: cpuid = 0
Apr 30 22:18:37 proton kernel: Uptime: 3h8m11s
Apr 30 22:18:37 proton kernel: Physical memory: 1520 MB
Apr 30 22:18:37 proton kernel: Dumping 153 MB: 138 122 106 90 74 58 42 26 10
Apr 30 22:18:37 proton kernel: Dump complete
Apr 30 22:18:37 proton kernel: Automatic reboot in 15 seconds - press a key on the console to abort
Apr 30 22:18:37 proton kernel: Rebooting...
Имеет такую нехорошую вещь, если Интернфейс, смотрящий на пользователей не отключить на 10 минут после загрузки, то сервак ребутается снова с теми же примерно симптомами.

Кто что мне посоветует по этому поводу, чего еше предоставить

lasik
Сообщения: 983
Зарегистрирован: Чт янв 10, 2008 5:20 pm
Откуда: Россия, Москва

Re: kernel panic

Сообщение lasik »

Если Интерфейс не рубить, то ровно 10 минут 30 секунд аптайма.

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

Apr 30 16:19:28 proton syslogd: kernel boot file is /boot/kernel/kernel
Apr 30 16:19:28 proton kernel: panic: sbflush_internal: cc 4294967247 || mb 0 || mbcnt 0
Apr 30 16:19:28 proton kernel: cpuid = 0
Apr 30 16:19:28 proton kernel: Uptime: 10m30s
Apr 30 16:19:28 proton kernel: Physical memory: 1520 MB
Apr 30 16:19:28 proton kernel: Dumping 173 MB: 158 142 126 110 94 78 62 46 30 14
Apr 30 16:19:28 proton kernel: Dump complete
Apr 30 16:19:28 proton kernel: Automatic reboot in 15 seconds - press a key on the console to abort
Apr 30 16:19:28 proton kernel: Rebooting...

lasik
Сообщения: 983
Зарегистрирован: Чт янв 10, 2008 5:20 pm
Откуда: Россия, Москва

Re: kernel panic

Сообщение lasik »

В общем проблемы продолжаются, сервак все падает и падает.
Это то, что было записано в логах по этому поводу.
До 14:15 в логе вообще ничего нет

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

May  2 14:15:39 proton kernel: em1: discard frame w/o packet header
May  2 14:15:39 proton kernel: em2: discard frame w/o packet header
May  2 14:15:40 proton kernel: em2: discard frame w/o packet header
May  2 14:15:41 proton kernel: em1: discard frame w/o packet header
May  2 14:15:41 proton kernel: em1: discard frame w/o packet header
May  2 14:15:42 proton kernel: em2: discard frame w/o packet header
May  2 14:15:43 proton kernel: em2: discard frame w/o packet header
May  2 14:15:43 proton kernel: em1: discard frame w/o packet header
May  2 14:15:43 proton kernel: em2: discard frame w/o packet header
May  2 14:15:45 proton kernel: em1: discard frame w/o packet header
May  2 14:18:00 proton syslogd: kernel boot file is /boot/kernel/kernel
May  2 14:18:00 proton kernel:
May  2 14:18:00 proton kernel:
May  2 14:18:00 proton kernel: Fatal trap 12: page fault while in kernel mode
May  2 14:18:00 proton kernel: cpuid = 0; apic id = 00
May  2 14:18:00 proton kernel: fault virtual address    = 0xbfc0a2c0
May  2 14:18:00 proton kernel: fault code               = supervisor read, page not present
May  2 14:18:00 proton kernel: instruction pointer      = 0x20:0xc09bb4da
May  2 14:18:00 proton kernel: stack pointer            = 0x28:0xe4efbb9c
May  2 14:18:00 proton kernel: frame pointer            = 0x28:0xe4efbbdc
May  2 14:18:00 proton kernel: code segment             = base 0x0, limit 0xfffff, type 0x1b
May  2 14:18:00 proton kernel: = DPL 0, pres 1, def32 1, gran 1
May  2 14:18:00 proton kernel: processor eflags = interrupt enabled, resume, IOPL = 0
May  2 14:18:00 proton kernel: current process          = 40 (em2 taskq)
May  2 14:18:00 proton kernel: trap number              = 12
May  2 14:18:00 proton kernel: panic: page fault
May  2 14:18:00 proton kernel: cpuid = 0
May  2 14:18:00 proton kernel: Uptime: 18h43m31s
May  2 14:18:00 proton kernel: Physical memory: 1520 MB
May  2 14:18:00 proton kernel: Dumping 224 MB: 209 193 177 161 145 129 113 97 81 65 49 33 17 1
May  2 14:18:00 proton kernel: Dump complete
May  2 14:18:00 proton kernel: Automatic reboot in 15 seconds - press a key on the console to abort

lasik
Сообщения: 983
Зарегистрирован: Чт янв 10, 2008 5:20 pm
Откуда: Россия, Москва

Re: kernel panic

Сообщение lasik »

проблему нашел, она была в шейпере.

~AsmodeuS~
Site Admin
Сообщения: 5746
Зарегистрирован: Пт янв 28, 2005 3:11 pm
Контактная информация:

Re: kernel panic

Сообщение ~AsmodeuS~ »

не в шейпере а в sysctl.conf после выброса всяких оптимизирующих параметров сервер начал нормально работать

l30l3
Сообщения: 82
Зарегистрирован: Вт авг 28, 2007 8:57 am

Re: kernel panic

Сообщение l30l3 »

Тоже появилась такая проблема после обновления до версии 5.2 и перехода с шейпера dummynet на ng_car. Те же сообщения падают в логи и потом kernel panic. Когда вернул шейпер на dummynet - проблема пропала. Судя по всему ng_car не дружит с какими-то параметрами ядра. Вот что у меня:

sysctl.conf:
kern.ipc.shmall=409600
kern.ipc.shmmax=204800000
kern.ipc.somaxconn=2048
net.graph.maxdgram=128000
net.graph.recvspace=128000
net.inet.ip.dummynet.hash_size=1024
net.inet.ip.dummynet.max_chain_len=1024
net.inet.ip.fastforwarding=1
net.inet.ip.fw.dyn_keepalive=0
net.inet.ip.intr_queue_maxlen=4096
kern.polling.user_frac=20
kern.polling.enable=0
kern.polling.idle_poll=0
net.link.ether.inet.log_arp_movements=0
net.link.ether.inet.log_arp_wrong_iface=0
net.inet.tcp.blackhole=1

loader.conf:
coretemp_load="YES"
kern.ipc.nmbclusters=262144
kern.ipc.maxsockets=262144
net.graph.maxalloc=4096
kern.maxusers=2048
kern.ipc.maxpipekva=32000000

Может знаете что из этого может вызывать панику?
На тестовой машине воспроизвести пока не получилось, а на рабочей не хочется экспериментировать. Специально обновился ради шейпера на ng_car, а тут такое :shock:

Radist
Сообщения: 79
Зарегистрирован: Вт июл 28, 2009 3:22 am

Re: kernel panic

Сообщение Radist »

тоже самое
версия 8ка стабле

в sysctl.conf ничего

Ответить