From nobody@FreeBSD.org  Wed Sep  9 13:18:25 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 11A4B106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  9 Sep 2009 13:18:25 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id E87C88FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  9 Sep 2009 13:17:40 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n89DGuc2071327
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 9 Sep 2009 13:16:56 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n89DGu6X071326;
	Wed, 9 Sep 2009 13:16:56 GMT
	(envelope-from nobody)
Message-Id: <200909091316.n89DGu6X071326@www.freebsd.org>
Date: Wed, 9 Sep 2009 13:16:56 GMT
From: "Vladislav V. Prodan" <universite@ukr.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Kernel Panic after typing "reboot"
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         138661
>Category:       amd64
>Synopsis:       [panic][re] Kernel Panic after typing "reboot"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-amd64
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 09 13:20:01 UTC 2009
>Closed-Date:    Sun Dec 05 19:49:42 UTC 2010
>Last-Modified:  Sun Dec 05 19:49:42 UTC 2010
>Originator:     Vladislav V. Prodan
>Release:        FreeBSD 8.0-BETA4 #0: Wed Sep  9 00:53:41 EEST 2009 amd64
>Organization:
>Environment:
FreeBSD mary-teresa.otrada.od.ua 8.0-BETA4 FreeBSD 8.0-BETA4 #0: Wed Sep  9 00:53:41 EEST 2009     vlad11@mary-teresa.otrada.od.ua:/usr/obj/usr/src/sys/mary-teresa.17  amd64

>Description:
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x9
fault code              = supervisor write data, page not present
instruction pointer     = 0x20:0xffffffff804dc1c4
stack pointer           = 0x28:0xffffff800008c930
frame pointer           = 0x28:0xffffff800008c9b0
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         = 12 (swi5: +)
trap number             = 12
panic: page fault
cpuid = 0
Uptime: 7m44s
Physical memory: 6098 MB
Dumping 1351 MB: 1336 1320 1304 1288 1272 1256 1240 1224 1208 1192 1176 1160 1144 1128 1112 1096 1080 1064 1048 1032 1016 1000 984 968 952 936 920 904 888 872 856 840 824 808 792 776 760 744 728 712 696 680 664 648 632 616 600 584 568 552 536 520 504 488 472 456 440 424 408 392 376 360 344 328 312 296 280 264 248 232 216 200 184 168 152 136 120 104 88 72 56 40 24 8

Reading symbols from /boot/kernel/zfs.ko...Reading symbols from /boot/kernel/zfs.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/zfs.ko
Reading symbols from /boot/kernel/opensolaris.ko...Reading symbols from /boot/kernel/opensolaris.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/opensolaris.ko
Reading symbols from /boot/kernel/linux.ko...Reading symbols from /boot/kernel/linux.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/linux.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
#0  doadump () at pcpu.h:223
223     pcpu.h:  No such file or directory.
        in pcpu.h
(kgdb) up
#1  0xffffffff803a5219 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:416
416                     doadump();
(kgdb) up
#2  0xffffffff803a566c in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:579
579             boot(bootopt);
(kgdb) up
#3  0xffffffff8065e30d in trap_fatal (frame=0xc, eva=Variable "eva" is not available.
) at /usr/src/sys/amd64/amd64/trap.c:852
852                     panic("%s", trap_msg[type]);
(kgdb) up
#4  0xffffffff8065e6f4 in trap_pfault (frame=0xffffff800008c880, usermode=0)
    at /usr/src/sys/amd64/amd64/trap.c:768
768                     trap_fatal(frame, eva);
(kgdb) up
#5  0xffffffff8065f13f in trap (frame=0xffffff800008c880) at /usr/src/sys/amd64/amd64/trap.c:494
494                             (void) trap_pfault(frame, FALSE);
(kgdb) up
#6  0xffffffff80645463 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:224
224             call    trap
Current language:  auto; currently asm

>How-To-Repeat:
send the machine to reboot
>Fix:


>Release-Note:
>Audit-Trail:

From: "Vladislav V. Prodan" <universite@ukr.net>
To: bug-followup@FreeBSD.org, universite@ukr.net
Cc:  
Subject: Re: amd64/138661: Kernel Panic after typing "reboot"
Date: Wed, 09 Sep 2009 16:41:32 +0300

 (kgdb) bt
 #0  doadump () at pcpu.h:223
 #1  0xffffffff803a5219 in boot (howto=260) at 
 /usr/src/sys/kern/kern_shutdown.c:416
 #2  0xffffffff803a566c in panic (fmt=Variable "fmt" is not available.
 ) at /usr/src/sys/kern/kern_shutdown.c:579
 #3  0xffffffff8065e30d in trap_fatal (frame=0xc, eva=Variable "eva" is 
 not available.
 ) at /usr/src/sys/amd64/amd64/trap.c:852
 #4  0xffffffff8065e6f4 in trap_pfault (frame=0xffffff800008c880, usermode=0)
      at /usr/src/sys/amd64/amd64/trap.c:768
 #5  0xffffffff8065f13f in trap (frame=0xffffff800008c880) at 
 /usr/src/sys/amd64/amd64/trap.c:494
 #6  0xffffffff80645463 in calltrap () at 
 /usr/src/sys/amd64/amd64/exception.S:224
 #7  0xffffffff804dc1c4 in X_ip_mforward (ip=Variable "ip" is not available.
 ) at /usr/src/sys/netinet/ip_mroute.c:1389
 #8  0xffffffff804d949d in ip_input (m=0xffffff010a1ca300) at 
 /usr/src/sys/netinet/ip_input.c:667
 #9  0xffffffff80470a6e in netisr_dispatch_src (proto=1, source=Variable 
 "source" is not available.
 ) at /usr/src/sys/net/netisr.c:917
 #10 0xffffffff8045746d in ether_demux (ifp=0xffffff00014fc000, 
 m=0xffffff010a1ca300)
      at /usr/src/sys/net/if_ethersubr.c:895
 #11 0xffffffff804578c0 in ether_input (ifp=0xffffff00014fc000, 
 m=0xffffff010a1ca300)
      at /usr/src/sys/net/if_ethersubr.c:754
 #12 0xffffffff802a324e in re_rxeof (sc=0xffffff80002a8000, rx_npktsp=0x0)
      at /usr/src/sys/dev/re/if_re.c:1987
 #13 0xffffffff802a4db2 in re_int_task (arg=Variable "arg" is not available.
 ) at /usr/src/sys/dev/re/if_re.c:2201
 #14 0xffffffff803e0b22 in taskqueue_run (queue=0xffffff000147f100)
      at /usr/src/sys/kern/subr_taskqueue.c:239
 #15 0xffffffff8037f380 in intr_event_execute_handlers (p=Variable "p" is 
 not available.
 ) at /usr/src/sys/kern/kern_intr.c:1165
 #16 0xffffffff803808fe in ithread_loop (arg=0xffffff00013921c0)
      at /usr/src/sys/kern/kern_intr.c:1178
 #17 0xffffffff8037d387 in fork_exit (callout=0xffffffff80380870 
 <ithread_loop>,
      arg=0xffffff00013921c0, frame=0xffffff800008cc80) at 
 /usr/src/sys/kern/kern_fork.c:843
 #18 0xffffffff8064593e in fork_trampoline () at 
 /usr/src/sys/amd64/amd64/exception.S:561
 #19 0x0000000000000000 in ?? ()
 #20 0x0000000000000000 in ?? ()
 #21 0x0000000000000001 in ?? ()
 #22 0x0000000000000000 in ?? ()
 #23 0x0000000000000000 in ?? ()
 #24 0x0000000000000000 in ?? ()
 #25 0x0000000000000000 in ?? ()
 #26 0x0000000000000000 in ?? ()
 #27 0x0000000000000000 in ?? ()
 #28 0x0000000000000000 in ?? ()
 #29 0x0000000000000000 in ?? ()
 #30 0x0000000000000000 in ?? ()
 #31 0x0000000000000000 in ?? ()
 #32 0x0000000000000000 in ?? ()
 #33 0x0000000000000000 in ?? ()
 #34 0x0000000000000000 in ?? ()
 #35 0x0000000000000000 in ?? ()
 #36 0x0000000000000000 in ?? ()
 #37 0x0000000000000000 in ?? ()
 #38 0x0000000000000000 in ?? ()
 #39 0x0000000000000000 in ?? ()
 #40 0x0000000000000000 in ?? ()
 #41 0x0000000000000000 in ?? ()
 #42 0x0000000000000000 in ?? ()
 #43 0x0000000000c6d000 in ?? ()
 #44 0x000000000000000b in ?? ()
 #45 0xffffffff808cf500 in affinity ()
 #46 0xffffffff808cf500 in affinity ()
 #47 0xffffff0001486720 in ?? ()
 #48 0xffffff800008c090 in ?? ()
 #49 0xffffff800008c048 in ?? ()
 #50 0xffffff0001484720 in ?? ()
 #51 0xffffffff803c8159 in sched_switch (td=0xffffff00013921c0, 
 newtd=0xffffffff80380870, flags=Variable "flags" is not available.
 )
      at /usr/src/sys/kern/sched_ule.c:1858
 Previous frame inner to this frame (corrupt stack?)
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Wed Sep 9 18:29:40 UTC 2009 
State-Changed-Why:  
Note that feedback was requested. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=138661 

From: John Baldwin <jhb@freebsd.org>
To: freebsd-amd64@freebsd.org
Cc: "Vladislav V. Prodan" <universite@ukr.net>,
 freebsd-gnats-submit@freebsd.org
Subject: Re: amd64/138661: Kernel Panic after typing "reboot"
Date: Wed, 9 Sep 2009 13:40:36 -0400

 Can you get a full stack trace?  (bt, where, etc.)  You stopped just before 
 the useful bits.
 
 -- 
 John Baldwin

From: "Vladislav V. Prodan" <universite@ukr.net>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: amd64/138661: Kernel Panic after typing "reboot"
Date: Wed, 09 Sep 2009 22:18:49 +0300

 (kgdb) bt
 #0  doadump () at pcpu.h:223
 #1  0xffffffff803a5219 in boot (howto=260) at 
 /usr/src/sys/kern/kern_shutdown.c:416
 #2  0xffffffff803a566c in panic (fmt=Variable "fmt" is not available.
 ) at /usr/src/sys/kern/kern_shutdown.c:579
 #3  0xffffffff8065e30d in trap_fatal (frame=0xc, eva=Variable "eva" is 
 not available.
 ) at /usr/src/sys/amd64/amd64/trap.c:852
 #4  0xffffffff8065e6f4 in trap_pfault (frame=0xffffff800008c880, usermode=0)
      at /usr/src/sys/amd64/amd64/trap.c:768
 #5  0xffffffff8065f13f in trap (frame=0xffffff800008c880) at 
 /usr/src/sys/amd64/amd64/trap.c:494
 #6  0xffffffff80645463 in calltrap () at 
 /usr/src/sys/amd64/amd64/exception.S:224
 #7  0xffffffff804dc1c4 in X_ip_mforward (ip=Variable "ip" is not available.
 ) at /usr/src/sys/netinet/ip_mroute.c:1389
 #8  0xffffffff804d949d in ip_input (m=0xffffff010a1ca300) at 
 /usr/src/sys/netinet/ip_input.c:667
 #9  0xffffffff80470a6e in netisr_dispatch_src (proto=1, source=Variable 
 "source" is not available.
 ) at /usr/src/sys/net/netisr.c:917
 #10 0xffffffff8045746d in ether_demux (ifp=0xffffff00014fc000, 
 m=0xffffff010a1ca300)
      at /usr/src/sys/net/if_ethersubr.c:895
 #11 0xffffffff804578c0 in ether_input (ifp=0xffffff00014fc000, 
 m=0xffffff010a1ca300)
      at /usr/src/sys/net/if_ethersubr.c:754
 #12 0xffffffff802a324e in re_rxeof (sc=0xffffff80002a8000, 
 rx_npktsp=0x0) at /usr/src/sys/dev/re/if_re.c:1987
 #13 0xffffffff802a4db2 in re_int_task (arg=Variable "arg" is not available.
 ) at /usr/src/sys/dev/re/if_re.c:2201
 #14 0xffffffff803e0b22 in taskqueue_run (queue=0xffffff000147f100) at 
 /usr/src/sys/kern/subr_taskqueue.c:239
 #15 0xffffffff8037f380 in intr_event_execute_handlers (p=Variable "p" is 
 not available.
 ) at /usr/src/sys/kern/kern_intr.c:1165
 #16 0xffffffff803808fe in ithread_loop (arg=0xffffff00013921c0) at 
 /usr/src/sys/kern/kern_intr.c:1178
 #17 0xffffffff8037d387 in fork_exit (callout=0xffffffff80380870 
 <ithread_loop>, arg=0xffffff00013921c0,
      frame=0xffffff800008cc80) at /usr/src/sys/kern/kern_fork.c:843
 #18 0xffffffff8064593e in fork_trampoline () at 
 /usr/src/sys/amd64/amd64/exception.S:561
 #19 0x0000000000000000 in ?? ()
 #20 0x0000000000000000 in ?? ()
 #21 0x0000000000000001 in ?? ()
 #22 0x0000000000000000 in ?? ()
 #23 0x0000000000000000 in ?? ()
 #24 0x0000000000000000 in ?? ()
 #25 0x0000000000000000 in ?? ()
 #26 0x0000000000000000 in ?? ()
 ---Type <return> to continue, or q <return> to quit---
 #27 0x0000000000000000 in ?? ()
 #28 0x0000000000000000 in ?? ()
 #29 0x0000000000000000 in ?? ()
 #30 0x0000000000000000 in ?? ()
 #31 0x0000000000000000 in ?? ()
 #32 0x0000000000000000 in ?? ()
 #33 0x0000000000000000 in ?? ()
 #34 0x0000000000000000 in ?? ()
 #35 0x0000000000000000 in ?? ()
 #36 0x0000000000000000 in ?? ()
 #37 0x0000000000000000 in ?? ()
 #38 0x0000000000000000 in ?? ()
 #39 0x0000000000000000 in ?? ()
 #40 0x0000000000000000 in ?? ()
 #41 0x0000000000000000 in ?? ()
 #42 0x0000000000000000 in ?? ()
 #43 0x0000000000c6d000 in ?? ()
 #44 0x000000000000000b in ?? ()
 #45 0xffffffff808cf500 in affinity ()
 #46 0xffffffff808cf500 in affinity ()
 #47 0xffffff0001486720 in ?? ()
 #48 0xffffff800008c090 in ?? ()
 #49 0xffffff800008c048 in ?? ()
 #50 0xffffff0001484720 in ?? ()
 #51 0xffffffff803c8159 in sched_switch (td=0xffffff00013921c0, 
 newtd=0xffffffff80380870, flags=Variable "flags" is not available.
 )
      at /usr/src/sys/kern/sched_ule.c:1858
 Previous frame inner to this frame (corrupt stack?)
 
 
 

From: Andriy Gapon <avg@freebsd.org>
To: bug-followup@freebsd.org, universite@ukr.net
Cc:  
Subject: Re: amd64/138661: [panic] Kernel Panic after typing "reboot"
Date: Sun, 05 Dec 2010 14:44:20 +0200

 Is this still an issue?
 Looks like a possible problem with re driver.  Probably worth discussing on net@
 mailing list.
 
 -- 
 Andriy Gapon
State-Changed-From-To: feedback->closed 
State-Changed-By: avg 
State-Changed-When: Sun Dec 5 19:49:04 UTC 2010 
State-Changed-Why:  
It seems that the problem doesn't happen with the latest code. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=138661 
>Unformatted:
