From owner-freebsd-current Sun Dec 17 17: 5:51 2000 From owner-freebsd-current@FreeBSD.ORG Sun Dec 17 17:05:46 2000 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from dt051n37.san.rr.com (dt051n37.san.rr.com [204.210.32.55]) by hub.freebsd.org (Postfix) with ESMTP id D7DDB37B400 for ; Sun, 17 Dec 2000 17:05:45 -0800 (PST) Received: from gorean.org (Studded@master [10.0.0.2]) by dt051n37.san.rr.com (8.9.3/8.9.3) with ESMTP id RAA24820 for ; Sun, 17 Dec 2000 17:05:44 -0800 (PST) (envelope-from DougB@gorean.org) Sender: doug@dt051n37.san.rr.com Message-ID: <3A3D62E8.4453C765@gorean.org> Date: Sun, 17 Dec 2000 17:05:44 -0800 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Panic with fairly up to date -current, seems NFS related Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I built -current world and kernel around 3am PST sunday morning with up to date sources. Later that same day I added Poul-Henning's console logging patch. Just a few minutes ago I had a lockup and panic that thankfully produced a kernel core to work with. It looks like this is not related to phk's patch, but rather to an NFS issue that I've seen before. I was copying a 23M file over NFS (mounted via amd) when this lockup and panic happened. My workstation is the NFS client, running -current. The NFS server is running FreeBSD 3.5.1-STABLE-1014 #0: Mon Oct 16 00:00:13 PDT 2000. If anyone wants me to do more debugging with this, let me know. I'm going out in a bit, but I will likely be available later tonight or tomorrow. Doug (kgdb) core-file vmcore.1 IdlePTD 3956736 initial pcb at 3298e0 panicstr: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address = 0x30 fault code = supervisor read, page not present instruction pointer = 0x8:0xc019e887 stack pointer = 0x10:0xc7bdeefc frame pointer = 0x10:0xc7bdef18 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 = 12 (swi6: clock) trap number = 12 panic: page fault syncing disks... 350 350 336 336 333 333 333 333 333 333 333 333 333 333 333 333 333 333 33 3 333 333 333 333 333 done Uptime: 3h41m22s dumping to dev da1s1b, offset 262168 dump 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 10 6 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 1 7 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 --- #0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:477 477 if (dumping++) { (kgdb) bt #0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:477 #1 0xc018d910 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:320 #2 0xc018dce5 in panic (fmt=0xc02c8a8f "page fault") at /usr/src/sys/kern/kern_shutdown.c:570 #3 0xc0282e27 in trap_fatal (frame=0xc7bdeebc, eva=48) at /usr/src/sys/i386/i386/trap.c:946 #4 0xc0282b71 in trap_pfault (frame=0xc7bdeebc, usermode=0, eva=48) at /usr/src/sys/i386/i386/trap.c:860 #5 0xc0282543 in trap (frame={tf_fs = -1066205168, tf_es = 16, tf_ds = -1066205168, tf_edi = 0, tf_esi = 0, tf_ebp = -943853800, tf_isp = -943853848, tf_ebx = 4, tf_edx = -1061221134, tf_ecx = 0, tf_eax = 4, tf_trapno = 12, tf_err = 0, tf_eip = -1072043897, tf_cs = 8, tf_eflags = 66067, tf_esp = -1061106688, tf_ss = -932128640}) at /usr/src/sys/i386/i386/trap.c:442 #6 0xc019e887 in tprintf (p=0x0, pri=6, fmt=0xc02ba7e8 "nfs server %s: %s\n") at /usr/src/sys/kern/subr_prf.c:140 #7 0xc021c857 in nfs_msg (p=0x0, server=0xc0bf0cf2 "slave:/usr/home", msg=0xc02ba748 "not responding") at /usr/src/sys/nfs/nfs_socket.c:1972 #8 0xc021b742 in nfs_timer (arg=0x0) at /usr/src/sys/nfs/nfs_socket.c:1424 #9 0xc01956d8 in softclock (dummy=0x0) at /usr/src/sys/kern/kern_timeout.c:141 #10 0xc01834f4 in sithd_loop (dummy=0x0) at /usr/src/sys/kern/kern_intr.c:227 Here are the results from a previous similar experience on 11/29 that I neglected to pass on. They are eerily similar, which is why I really don't think phk's patch is involved. (kgdb) core-file vmcore.0 IdlePTD 3887104 initial pcb at 326820 panicstr: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address = 0x30 fault code = supervisor read, page not present instruction pointer = 0x8:0xc019a005 stack pointer = 0x10:0xc7be4eec frame pointer = 0x10:0xc7be4f04 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 = 12 (swi6: clock) trap number = 12 panic: page fault syncing disks... 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 37 1 371 done Uptime: 19h40m18s dumping to dev da1s1b, offset 262168 dump 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 10 6 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 1 7 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 --- #0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:477 warning: Source file is more recent than executable. 477 if (dumping++) { (kgdb) bt #0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:477 #1 0xc018936e in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:320 #2 0xc01897bd in panic (fmt=0xc02cdeef "page fault") at /usr/src/sys/kern/kern_shutdown.c:568 #3 0xc0282413 in trap_fatal (frame=0xc7be4eac, eva=48) at /usr/src/sys/i386/i386/trap.c:941 #4 0xc028215d in trap_pfault (frame=0xc7be4eac, usermode=0, eva=48) at /usr/src/sys/i386/i386/trap.c:855 #5 0xc0281ba7 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi = 0, tf_esi = 0, tf_ebp = -943829244, tf_isp = -943829288, tf_ebx = 4, tf_edx = 4854, tf_ecx = -1069436948, tf_eax = 4852, tf_trapno = 12, tf_err = 0, tf_eip = -1072062459, tf_cs = 8, tf_eflags = 66178, tf_esp = -1061285632, tf_ss = -932070752}) at /usr/src/sys/i386/i386/trap.c:438 #6 0xc019a005 in tprintf (p=0x0, pri=6, fmt=0xc02bb488 "nfs server %s: %s\n") at /usr/src/sys/kern/subr_prf.c:139 #7 0xc02166a7 in nfs_msg (p=0x0, server=0xc0be2cf2 "slave:/usr/home", msg=0xc02bb3e8 "not responding") at /usr/src/sys/nfs/nfs_socket.c:1972 #8 0xc02155fa in nfs_timer (arg=0x0) at /usr/src/sys/nfs/nfs_socket.c:1424 #9 0xc0190e0d in softclock (dummy=0x0) at /usr/src/sys/kern/kern_timeout.c:141 #10 0xc017f536 in sithd_loop (dummy=0x0) at /usr/src/sys/kern/kern_intr.c:227 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message