Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Mar 2002 13:19:55 +0700
From:      Eugene Grosbein <eugen@www.svzserv.kemerovo.su>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        Kirk McKusick <mckusick@chez.McKusick.COM>, stable@FreeBSD.ORG
Subject:   Re: 4.5-STABLE softupdates brokeness: repeated panics and lockups
Message-ID:  <20020303131955.A3250@svzserv.kemerovo.su>
In-Reply-To: <200203030538.g235c2l59112@apollo.backplane.com>; from dillon@apollo.backplane.com on Sat, Mar 02, 2002 at 09:38:02PM -0800
References:  <20020303120121.A2197@svzserv.kemerovo.su> <200203030538.g235c2l59112@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 02, 2002 at 09:38:02PM -0800, Matthew Dillon wrote:

> :So I decided to turn softupdates off with tunefs on all of my filesystems.
> :The root filesystem had softpupdates already turned off.
>
>     Did turning softupdates off solve the problem?  

No. It crashed again twice till now, but this time it could restart
automatically. But now kernel panics are due page faults.
This server has modem attached to /dev/cuaa0 and serves as my personal
pppd dialin server. I dial from home using pppd, 
my home machine runs old FreeBSD 4.5-STABLE. I use PPP_DEFLATE.
All crashes were when I was online from home.

Here is the first time after softupdates turned off:

Script started on Sun Mar  3 13:06:58 2002
GNU gdb 4.18
Copyright 1998 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 "i386-unknown-freebsd"...
IdlePTD at phsyical address 0x00382000
initial pcb at physical address 0x002e8c60
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x0
fault code		= supervisor write, page not present
instruction pointer	= 0x8:0xc0147be6
stack pointer	        = 0x10:0xced03e60
frame pointer	        = 0x10:0xced03e60
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		= 718 (sshd)
interrupt mask		= none
trap number		= 12
panic: page fault

syncing disks... 38 26 25 25 16 16 10 10 
done
Uptime: 4m55s

dumping to dev #ad/0x20001, offset 2560
dump ata0: resetting devices .. done
254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 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 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 
---
#0  dumpsys () at /home3/src/sys/kern/kern_shutdown.c:487
487		if (dumping++) {
(kgdb) where
#0  dumpsys () at /home3/src/sys/kern/kern_shutdown.c:487
#1  0xc0149cfc in boot (howto=256) at /home3/src/sys/kern/kern_shutdown.c:316
#2  0xc014a149 in panic (fmt=0xc02a608c "%s")
    at /home3/src/sys/kern/kern_shutdown.c:595
#3  0xc02652e0 in trap_fatal (frame=0xced03e20, eva=0)
    at /home3/src/sys/i386/i386/trap.c:966
#4  0xc0264f75 in trap_pfault (frame=0xced03e20, usermode=0, eva=0)
    at /home3/src/sys/i386/i386/trap.c:859
#5  0xc0264adb in trap (frame={tf_fs = -825229296, tf_es = -1071251440, 
      tf_ds = -1033633776, tf_edi = -825778816, tf_esi = 0, 
      tf_ebp = -825213344, tf_isp = -825213364, tf_ebx = -1033608832, 
      tf_edx = 20, tf_ecx = 0, tf_eax = 0, tf_trapno = 12, tf_err = 2, 
      tf_eip = -1072399386, tf_cs = 8, tf_eflags = 66118, tf_esp = -825213316, 
      tf_ss = -1072434453}) at /home3/src/sys/i386/i386/trap.c:458
#6  0xc0147be6 in crhold (cr=0x0) at /home3/src/sys/kern/kern_prot.c:999
#7  0xc013f2eb in falloc (p=0xcec79d80, resultfp=0xced03ea4, 
    resultfd=0xced03ea8) at /home3/src/sys/kern/kern_descrip.c:878
#8  0xc017b16e in open (p=0xcec79d80, uap=0xced03f80)
    at /home3/src/sys/kern/vfs_syscalls.c:994
#9  0xc0265551 in syscall2 (frame={tf_fs = -1072431057, tf_es = -1070727121, 
      tf_ds = -1070727121, tf_edi = 134760736, tf_esi = 134760784, 
      tf_ebp = -1077939364, tf_isp = -825212972, tf_ebx = -1, tf_edx = -1, 
      tf_ecx = 6, tf_eax = 5, tf_trapno = 12, tf_err = 2, tf_eip = 404842208, 
      tf_cs = 31, tf_eflags = 647, tf_esp = -1077939408, tf_ss = 47})
---Type <return> to continue, or q <return> to quit---
    at /home3/src/sys/i386/i386/trap.c:1167
#10 0xc0258615 in Xint0x80_syscall ()
#11 0x8056172 in ?? ()
#12 0x8058096 in ?? ()
#13 0x8058287 in ?? ()
#14 0x8064f67 in ?? ()
#15 0x805eb9b in ?? ()
#16 0x80519a7 in ?? ()
#17 0x8051fa1 in ?? ()
#18 0x80588ff in ?? ()
#19 0x80555d1 in ?? ()
#20 0x80536bb in ?? ()
#21 0x804dbfd in ?? ()
#22 0x804c0c5 in ?? ()
(kgdb) quit

Script done on Sun Mar  3 13:07:30 2002

Here is the second crash:

Script started on Sun Mar  3 13:07:39 2002
GNU gdb 4.18
Copyright 1998 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 "i386-unknown-freebsd"...
IdlePTD at phsyical address 0x00382000
initial pcb at physical address 0x002e8c60
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x1
fault code		= supervisor write, page not present
instruction pointer	= 0x8:0xc0147be6
stack pointer	        = 0x10:0xcedfdee4
frame pointer	        = 0x10:0xcedfdee4
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		= 1867 (cron)
interrupt mask		= none
trap number		= 12
panic: page fault

syncing disks... 9 
done
Uptime: 16m4s

dumping to dev #ad/0x20001, offset 2560
dump ata0: resetting devices .. done
254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 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 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 
---
#0  dumpsys () at /home3/src/sys/kern/kern_shutdown.c:487
487		if (dumping++) {
(kgdb) where
#0  dumpsys () at /home3/src/sys/kern/kern_shutdown.c:487
#1  0xc0149cfc in boot (howto=256) at /home3/src/sys/kern/kern_shutdown.c:316
#2  0xc014a149 in panic (fmt=0xc02a608c "%s")
    at /home3/src/sys/kern/kern_shutdown.c:595
#3  0xc02652e0 in trap_fatal (frame=0xcedfdea4, eva=1)
    at /home3/src/sys/i386/i386/trap.c:966
#4  0xc0264f75 in trap_pfault (frame=0xcedfdea4, usermode=0, eva=1)
    at /home3/src/sys/i386/i386/trap.c:859
#5  0xc0264adb in trap (frame={tf_fs = -824246256, tf_es = -1072365552, 
      tf_ds = -1033306096, tf_edi = -824547520, tf_esi = 0, 
      tf_ebp = -824189212, tf_isp = -824189232, tf_ebx = -1033274624, 
      tf_edx = 20, tf_ecx = 0, tf_eax = 1, tf_trapno = 12, tf_err = 2, 
      tf_eip = -1072399386, tf_cs = 8, tf_eflags = 66118, tf_esp = -824189184, 
      tf_ss = -1072434453}) at /home3/src/sys/i386/i386/trap.c:458
#6  0xc0147be6 in crhold (cr=0x1) at /home3/src/sys/kern/kern_prot.c:999
#7  0xc013f2eb in falloc (p=0xceda6740, resultfp=0xcedfdf24, 
    resultfd=0xcedfdf28) at /home3/src/sys/kern/kern_descrip.c:878
#8  0xc015a106 in pipe (p=0xceda6740, uap=0xcedfdf80)
    at /home3/src/sys/kern/sys_pipe.c:192
#9  0xc0265551 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, 
      tf_edi = 0, tf_esi = 134550560, tf_ebp = -1077936980, 
      tf_isp = -824188972, tf_ebx = 134581184, tf_edx = 403760648, 
      tf_ecx = 19, tf_eax = 42, tf_trapno = 12, tf_err = 2, 
      tf_eip = 403240948, tf_cs = 31, tf_eflags = 643, tf_esp = -1077938432, 
---Type <return> to continue, or q <return> to quit---
      tf_ss = 47}) at /home3/src/sys/i386/i386/trap.c:1167
#10 0xc0258615 in Xint0x80_syscall ()
#11 0x804a7cc in ?? ()
#12 0x804b31c in ?? ()
#13 0x804a015 in ?? ()
#14 0x8049b3c in ?? ()
#15 0x80498f5 in ?? ()
(kgdb) quit

Script done on Sun Mar  3 13:08:38 2002

Note, this machine run well for several years from 3.x ages.

>If you turn it on and
>     set kern.maxvnodes to 9999999 does that also solve the problem or does
>     the problem re-occur?

I'll try.

Eugene Grosbein

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020303131955.A3250>