Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2002 15:01:48 +0100
From:      Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>
To:        Peter Wemm <peter@wemm.org>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Today's panic on boot problem
Message-ID:  <20020227140148.GA7715@rz.uni-karlsruhe.de>
In-Reply-To: <20020227052951.B7F1439F1@overcee.wemm.org>
References:  <20020226220902.R276-100000@patrocles.silby.com> <20020227052951.B7F1439F1@overcee.wemm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 26, 2002 at 09:29:51PM -0800, Peter Wemm wrote:
> FWIW, turning off PG_G see_ms to help.  Change in pmap.c:
> #if !defined(SMP) || defined(ENABLE_PG_G)
> to:
> #if /*!defined(SMP) ||*/ defined(ENABLE_PG_G)
> and see how you go.  This got me past atkbd0, but it is a very worrying
> sign.  I now get a vnode related panic. :-(

On my (single processor, non-acpi) system the kernel now completes
booting, but savecore receives a signal 11 after having saved about
235 MB, and all(?) processes after that get a signal 11 or 10 until
finally there's a "panic: bad peter".  This is absolutely reproducible.

Is there any additional information I should provide?
Bye, Philipp


savecore: writing core to /var/crash/vmcore.22
Feb 27 13:15:40 i609a savecore: reboot after panic: from debugger
pid 175 (savecore), uid 0: exited on signal 11 (core dumped)
Segmentation fault - core dumped
Doing additional network setup: ntpdpid 176 (sh), uid 0: exited on signal 10 (co
re dumped)
Bus error - core dumped
.
Starting final network daemons:.
pid 177 (sh), uid 0: exited on signal 11 (core dumped)
Segmentation fault - core dumped
pid 178 (sh), uid 0: exited on signal 11 (core dumped)
Segmentation fault - core dumped
Starting standard daemons: inetdpid 179 (sh), uid 0: exited on signal 11 (core d
umped)

[...]

Additional TCP options:pid 213 (sh), uid 0: exited on signal 10 (core dumped)
Bus error - core dumped
pid 214 (sh), uid 0: exited on signal 11 (core dumped)
Segmentation fault - core dumped
.
Starting background filesystem checks

Wed Feb 27 13:16T:44 CET 2002
PTE at 0xbfc20404  IS ZERO @ VA 08101000
panic: bad peter
Debugger("panic")
Stopped at      Debugger+0x40:  xorl    %eax,%eax
db>


<save a crash dump and reboot into old kernel>


This GDB was configured as "i386-unknown-freebsd"...Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb.291/gdb/dbxread.c line 2629 in elfstab_build_psymtabs
Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb.291/gdb/dbxread.c line 935 in fill_symbuf

IdlePTD at phsyical address 0x003ff000
initial pcb at physical address 0x0032f8c0
panicstr: from debugger
panic messages:
---
panic: bad peter
panic: from debugger
Uptime: 1m31s
pfs_vncache_unload(): 1 entries remaining

dumping to dev ad0s1b, offset 589952
dump ata0: resetting devices .. ata0: mask=03 ostat0=50 ostat2=00
ad0: ATAPI 00 00
ata0-slave: ATAPI 00 00
ata0: mask=03 stat0=50 stat1=00
ad0: ATA 01 a5
ata0: devices=01
ad0: invalidating queued requests
ad0: success setting PIO4 on generic chip
done
255 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 ../../../kern/kern_shutdown.c:504
504             if (!dodump)
(kgdb) bt
#0  dumpsys () at ../../../kern/kern_shutdown.c:504
#1  0xc01a2117 in boot (howto=260) at ../../../kern/kern_shutdown.c:336
#2  0xc01a25a1 in panic (fmt=0xc02a772a "from debugger")
    at ../../../kern/kern_shutdown.c:646
#3  0xc013784d in db_panic (addr=-1071127031, have_addr=0, count=-1, 
    modif=0xcf3adb10 "") at ../../../ddb/db_command.c:452
#4  0xc01377eb in db_command (last_cmdp=0xc02ed424, cmd_table=0xc02ed244, 
    aux_cmd_tablep=0xc02e4020, aux_cmd_tablep_end=0xc02e4024)
    at ../../../ddb/db_command.c:348
#5  0xc01378b7 in db_command_loop () at ../../../ddb/db_command.c:474
#6  0xc0139c4b in db_trap (type=3, code=0) at ../../../ddb/db_trap.c:72
#7  0xc027e326 in kdb_trap (type=3, code=0, regs=0xcf3adc0c)
    at ../../../i386/i386/db_interface.c:161
#8  0xc028ac18 in trap (frame={tf_fs = 24, tf_es = 16, tf_ds = 16, 
      tf_edi = -1077804028, tf_esi = 256, tf_ebp = -818226092, 
      tf_isp = -818226120, tf_ebx = -1070734913, tf_edx = 1017, tf_ecx = 1, 
      tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1071127148, tf_cs = 8, 
      tf_eflags = 582, tf_esp = -1070742881, tf_ss = -1070895941})
    at ../../../i386/i386/trap.c:589
#9  0xc027e594 in Debugger (msg=0xc02b6cbb "panic") at machine/cpufunc.h:66
#10 0xc01a258c in panic (fmt=0xc02de1bf "bad peter")
    at ../../../kern/kern_shutdown.c:633
#11 0xc0289019 in pmap_remove_pages (pmap=0xcd2fadec, sva=0, eva=3217031168)
    at ../../../i386/i386/pmap.c:2947
#12 0xc0192029 in exit1 (td=0xcdd55400, rv=0) at ../../../kern/kern_exit.c:227
#13 0xc0191ca6 in sys_exit (td=0xcdd55400, uap=0xcf3add20)
    at ../../../kern/kern_exit.c:109
#14 0xc028b49b in syscall (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, 
      tf_edi = 0, tf_esi = 135213061, tf_ebp = -1077937172, 
      tf_isp = -818225804, tf_ebx = 1, tf_edx = 135209344, tf_ecx = 7, 
      tf_eax = 1, tf_trapno = 22, tf_err = 2, tf_eip = 134698507, tf_cs = 31, 
      tf_eflags = 647, tf_esp = -1077937296, tf_ss = 47})
    at ../../../i386/i386/trap.c:1044
#15 0xc027f29d in syscall_with_err_pushed ()
#16 0x8051fa8 in ?? ()
#17 0x804b9a7 in ?? ()
#18 0x804aa14 in ?? ()
#19 0x8051c92 in ?? ()
#20 0x8051bfe in ?? ()
#21 0x8048135 in ?? ()

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




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