The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]



Индекс форумов
Составление сообщения

Исходное сообщение
"FreeBSD 6.2 (SMP) Kernel panic: fatal trap 12"
Отправлено tcp, 07-Фев-08 00:51 
падало постоянно ядро обновил ядро до tag=RELENG_6
все равно упало
(kgdb) [root@r25-x17 /home/tcp]# kgdb -q /usr/src/sys/i386/compile/NOPANIC/kerne crash/vmcore.2
kgdb: kvm_nlist(_stopped_cpus):
kgdb: kvm_nlist(_stoppcbs):
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x0
fault code              = supervisor write, page not present
instruction pointer     = 0x20:0xc0511be5
stack pointer           = 0x28:0xe573bb18
frame pointer           = 0x28:0xe573bb20
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         = 11 (swi1: net)
trap number             = 12
panic: page fault
Uptime: 3h10m0s
Dumping 2038 MB (4 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 2038MB (521575 pages) 2022 2006 1990 1974 1958 1942 1926 1910 1894 1878 1862 1846 1830 1814 1798 1782 1766 1750 1734 1718 1702 1686 1670 1654 1638 1622 1606 1590 1574 1558 1542 1526 1510 1494 1478 1462 1446 1430 1414 1398 1382 1366 1350 1334 1318 1302 1286 1270 1254 1238 1222 1206 1190 1174 1158 1142 1126 1110 1094 1078 1062 1046 1030 1014 998 982 966 950 934 918 902 886 870 854 838 822 806 790 774 758 742 726 710 694 678 662 646 630 614 598 582 566 550 534 518 502 486 470 454 438 422 406 390 374 358 342 326 310 294 278 262 246 230 214 198 182 166 150 134 118 102 86 70 54 38 22 6

#0  doadump () at pcpu.h:165
165     pcpu.h: No such file or directory.
        in pcpu.h

(kgdb) bt
#0  doadump () at pcpu.h:165
#1  0xc04d5ba2 in boot (howto=260) at ../../../kern/kern_shutdown.c:409
#2  0xc04d5e38 in panic (fmt=0xc0627e51 "%s")
    at ../../../kern/kern_shutdown.c:565
#3  0xc0606394 in trap_fatal (frame=0xe573bad8, eva=0)
    at ../../../i386/i386/trap.c:838
#4  0xc06060fb in trap_pfault (frame=0xe573bad8, usermode=0, eva=0)
    at ../../../i386/i386/trap.c:745
#5  0xc0605d59 in trap (frame=
      {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = -944673984, tf_esi = -948881320, tf_ebp = -445400288, tf_isp = -445400316, tf_ebx = -949633916, tf_edx = -948881292, tf_ecx = 4, tf_eax = 0, tf_trapno = 12, tf_err = 2, tf_eip = -1068426267, tf_cs = 32, tf_eflags = 590406, tf_esp = -949633836, tf_ss = -949633916})
    at ../../../i386/i386/trap.c:435
#6  0xc05f3a3a in calltrap () at ../../../i386/i386/exception.s:139
#7  0xc0511be5 in soisconnected (so=0xc765bc84)
    at ../../../kern/uipc_socket2.c:138
#8  0xc0552040 in sohasdata (so=0xc7713874, arg=0x0, waitflag=1)
    at ../../../netinet/accf_data.c:66
#9  0xc051280d in sowakeup (so=0xc765bc84, sb=0xc765bcd4)
    at ../../../kern/uipc_socket2.c:422
#10 0xc051209a in soisdisconnected (so=0xc765bc84)
    at ../../../kern/uipc_socket2.c:196
---Type <return> to continue, or q <return> to quit---
#11 0xc0566c9b in tcp_discardcb (tp=0xc7bfe3a0)
    at ../../../netinet/tcp_subr.c:830
#12 0xc0566cb4 in tcp_close (tp=0x0) at ../../../netinet/tcp_subr.c:851
#13 0xc0562c66 in tcp_input (m=0xc6b6e900, off0=20)
    at ../../../netinet/tcp_input.c:1575
#14 0xc055acc2 in ip_input (m=0xc6b6e900) at ../../../netinet/ip_input.c:791
#15 0xc054a09b in netisr_processqueue (ni=0xc067fe58)
    at ../../../net/netisr.c:236
#16 0xc054a296 in swi_net (dummy=0x0) at ../../../net/netisr.c:349
#17 0xc04c1bed in ithread_execute_handlers (p=0xc6a7ca78, ie=0xc6a6c000)
    at ../../../kern/kern_intr.c:682
#18 0xc04c1d08 in ithread_loop (arg=0xc6a65720)
    at ../../../kern/kern_intr.c:766
#19 0xc04c0b9c in fork_exit (callout=0xc04c1cb4 <ithread_loop>,
    arg=0xc6a65720, frame=0xe573bd38) at ../../../kern/kern_fork.c:788
#20 0xc05f3a9c in fork_trampoline () at ../../../i386/i386/exception.s:208


(kgdb) bt full
#0  doadump () at pcpu.h:165
No locals.
#1  0xc04d5ba2 in boot (howto=260) at ../../../kern/kern_shutdown.c:409
        first_buf_printf = 1
#2  0xc04d5e38 in panic (fmt=0xc0627e51 "%s")
    at ../../../kern/kern_shutdown.c:565
        td = (struct thread *) 0xc6a7d780
        bootopt = 260
        newpanic = 0
        ap = 0xc6a7d780 "xй╖ф \r╗ф"
        buf = "page fault", '\0' <repeats 245 times>
#3  0xc0606394 in trap_fatal (frame=0xe573bad8, eva=0)
    at ../../../i386/i386/trap.c:838
        code = 40
        ss = 40
        esp = 0
        type = 12
        softseg = {ssd_base = 0, ssd_limit = 1048575, ssd_type = 27,
  ssd_dpl = 0, ssd_p = 1, ssd_xx = 10, ssd_xx1 = 0, ssd_def32 = 1,
  ssd_gran = 1}
        msg = 0x0
#4  0xc06060fb in trap_pfault (frame=0xe573bad8, usermode=0, eva=0)
    at ../../../i386/i386/trap.c:745
---Type <return> to continue, or q <return> to quit---
        va = 0
        vm = (struct vmspace *) 0x0
        map = 0xc06776e0
        rv = 1
        ftype = 1 '\001'
        td = (struct thread *) 0xc6a7d780
        p = (struct proc *) 0xc6a7ca78
#5  0xc0605d59 in trap (frame=
      {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = -944673984, tf_esi = -948881320, tf_ebp = -445400288, tf_isp = -445400316, tf_ebx = -949633916, tf_edx = -948881292, tf_ecx = 4, tf_eax = 0, tf_trapno = 12, tf_err = 2, tf_eip = -1068426267, tf_cs = 32, tf_eflags = 590406, tf_esp = -949633836, tf_ss = -949633916})
    at ../../../i386/i386/trap.c:435
        td = (struct thread *) 0xc6a7d780
        p = (struct proc *) 0xc6a7ca78
        sticks = 1342177792
        type = 12
        i = 0
        ucode = 0
        code = 2
        eva = 0
#6  0xc05f3a3a in calltrap () at ../../../i386/i386/exception.s:139
No locals.
---Type <return> to continue, or q <return> to quit---
#7  0xc0511be5 in soisconnected (so=0xc765bc84)
    at ../../../kern/uipc_socket2.c:138
        head = (struct socket *) 0xc7713858
#8  0xc0552040 in sohasdata (so=0xc7713874, arg=0x0, waitflag=1)
    at ../../../netinet/accf_data.c:66
No locals.
#9  0xc051280d in sowakeup (so=0xc765bc84, sb=0xc765bcd4)
    at ../../../kern/uipc_socket2.c:422
No locals.
#10 0xc051209a in soisdisconnected (so=0xc765bc84)
    at ../../../kern/uipc_socket2.c:196
No locals.
#11 0xc0566c9b in tcp_discardcb (tp=0xc7bfe3a0)
    at ../../../netinet/tcp_subr.c:830
        q = (struct tseg_qent *) 0x0
        inp = (struct inpcb *) 0xc7b16b40
        so = (struct socket *) 0xc765bc84
#12 0xc0566cb4 in tcp_close (tp=0x0) at ../../../netinet/tcp_subr.c:851
        inp = (struct inpcb *) 0xc7b16b40
#13 0xc0562c66 in tcp_input (m=0xc6b6e900, off0=20)
    at ../../../netinet/tcp_input.c:1575
        th = (struct tcphdr *) 0xc7bfe3a0
        ip = (struct ip *) 0xc7476020
---Type <return> to continue, or q <return> to quit---
---Type <return> to continue, or q <return> to quit---
        ipov = (struct ipovly *) 0x4
        inp = (struct inpcb *) 0xc7b16b40
        optp = (u_char *) 0x0
        optlen = 0
        len = -943725664
        tlen = 0
        off = 20
        drop_hdrlen = 40
        tp = (struct tcpcb *) 0xc7bfe3a0
        thflags = 4
        so = (struct socket *) 0xc765bc84
        todrop = -943725664
        acked = -943725664
        ourfinisacked = -445400176
        needoutput = 0
        tiwin = 0
        to = {to_flags = 0, to_tsval = 0, to_tsecr = 0, to_mss = 0,
  to_requested_s_scale = 0 '\0', to_nsacks = 0 '\0', to_sacks = 0x0}
        headlocked = 1
        rstreason = -943725664
#14 0xc055acc2 in ip_input (m=0xc6b6e900) at ../../../netinet/ip_input.c:791
        ip = (struct ip *) 0xc7476020
        ia = (struct in_ifaddr *) 0xc6d89000
---Type <return> to continue, or q <return> to quit---
---Type <return> to continue, or q <return> to quit---
        ifa = (struct ifaddr *) 0xc7713874
        checkif = 0
        hlen = 20
        sum = 0
        dchg = 0
        odst = {s_addr = 62266432}
#15 0xc054a09b in netisr_processqueue (ni=0xc067fe58)
    at ../../../net/netisr.c:236
        m = (struct mbuf *) 0xc6b6e900
#16 0xc054a296 in swi_net (dummy=0x0) at ../../../net/netisr.c:349
        ni = (struct netisr *) 0xc067fe58
        bits = 0
        i = 4
#17 0xc04c1bed in ithread_execute_handlers (p=0xc6a7ca78, ie=0xc6a6c000)
    at ../../../kern/kern_intr.c:682
        ih = (struct intr_handler *) 0xc6add8c0
        ihn = (struct intr_handler *) 0x0
#18 0xc04c1d08 in ithread_loop (arg=0xc6a65720)
    at ../../../kern/kern_intr.c:766
        intr_event = (struct intr_thread *) 0xc6a65720
        ie = (struct intr_event *) 0xc6a6c000
        td = (struct thread *) 0xc6a7d780
        p = (struct proc *) 0xc6a7ca78
---Type <return> to continue, or q <return> to quit---
---Type <return> to continue, or q <return> to quit---
#19 0xc04c0b9c in fork_exit (callout=0xc04c1cb4 <ithread_loop>,
    arg=0xc6a65720, frame=0xe573bd38) at ../../../kern/kern_fork.c:788
        p = (struct proc *) 0xc6a7ca78
        td = (struct thread *) 0xc7713874
#20 0xc05f3a9c in fork_trampoline () at ../../../i386/i386/exception.s:208
No locals.

(kgdb) where
#0  doadump () at pcpu.h:165
#1  0xc04d5ba2 in boot (howto=260) at ../../../kern/kern_shutdown.c:409
#2  0xc04d5e38 in panic (fmt=0xc0627e51 "%s")
    at ../../../kern/kern_shutdown.c:565
#3  0xc0606394 in trap_fatal (frame=0xe573bad8, eva=0)
    at ../../../i386/i386/trap.c:838
#4  0xc06060fb in trap_pfault (frame=0xe573bad8, usermode=0, eva=0)
    at ../../../i386/i386/trap.c:745
#5  0xc0605d59 in trap (frame=
      {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = -944673984, tf_esi = -948881320, tf_ebp = -445400288, tf_isp = -445400316, tf_ebx = -949633916, tf_edx = -948881292, tf_ecx = 4, tf_eax = 0, tf_trapno = 12, tf_err = 2, tf_eip = -1068426267, tf_cs = 32, tf_eflags = 590406, tf_esp = -949633836, tf_ss = -949633916})
    at ../../../i386/i386/trap.c:435
#6  0xc05f3a3a in calltrap () at ../../../i386/i386/exception.s:139
#7  0xc0511be5 in soisconnected (so=0xc765bc84)
    at ../../../kern/uipc_socket2.c:138
#8  0xc0552040 in sohasdata (so=0xc7713874, arg=0x0, waitflag=1)
    at ../../../netinet/accf_data.c:66
#9  0xc051280d in sowakeup (so=0xc765bc84, sb=0xc765bcd4)
    at ../../../kern/uipc_socket2.c:422
#10 0xc051209a in soisdisconnected (so=0xc765bc84)
    at ../../../kern/uipc_socket2.c:196
---Type <return> to continue, or q <return> to quit---
#11 0xc0566c9b in tcp_discardcb (tp=0xc7bfe3a0)
    at ../../../netinet/tcp_subr.c:830
#12 0xc0566cb4 in tcp_close (tp=0x0) at ../../../netinet/tcp_subr.c:851
#13 0xc0562c66 in tcp_input (m=0xc6b6e900, off0=20)
    at ../../../netinet/tcp_input.c:1575
#14 0xc055acc2 in ip_input (m=0xc6b6e900) at ../../../netinet/ip_input.c:791
#15 0xc054a09b in netisr_processqueue (ni=0xc067fe58)
    at ../../../net/netisr.c:236
#16 0xc054a296 in swi_net (dummy=0x0) at ../../../net/netisr.c:349
#17 0xc04c1bed in ithread_execute_handlers (p=0xc6a7ca78, ie=0xc6a6c000)
    at ../../../kern/kern_intr.c:682
#18 0xc04c1d08 in ithread_loop (arg=0xc6a65720)
    at ../../../kern/kern_intr.c:766
#19 0xc04c0b9c in fork_exit (callout=0xc04c1cb4 <ithread_loop>,
    arg=0xc6a65720, frame=0xe573bd38) at ../../../kern/kern_fork.c:788
#20 0xc05f3a9c in fork_trampoline () at ../../../i386/i386/exception.s:208
(kgdb)
помогите определить в чем дело ?


 

Ваше сообщение
Имя*:
EMail:
Для отправки новых сообщений в текущей нити на email укажите знак ! перед адресом, например, !user@host.ru (!! - не показывать email).
Более тонкая настройка отправки ответов производится в профиле зарегистрированного участника форума.
Заголовок*:
Сообщение*:
  Введите код, изображенный на картинке: КОД
 
При общении не допускается: неуважительное отношение к собеседнику, хамство, унизительное обращение, ненормативная лексика, переход на личности, агрессивное поведение, обесценивание собеседника, провоцирование флейма голословными и заведомо ложными заявлениями. Не отвечайте на сообщения, явно нарушающие правила - удаляются не только сами нарушения, но и все ответы на них. Лог модерирования.



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру