Re: panic: vm_page_free: freeing wired page

2002-07-04 Thread Christopher Sharp

After the change to vm_glue.c the problem seems to be gone ...

-- 
Any time things appear to be going better, you have overlooked
something.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: panic: vm_page_free: freeing wired page

2002-07-04 Thread Julian Elischer

I may be fixed. but there's a memory leak still.
reboot when your wired coun gets too high.

On Thu, 4 Jul 2002, Christopher Sharp wrote:

> Hello,
> with a world+kernel from yesterday I get this message
> and then the machine freezes and/or reboots.
> 
> Any Ideas ? is this already fixed ?
> 
>   Christopher Sharp
> 
> -- 
> Any time things appear to be going better, you have overlooked
> something.
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
> 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



panic: vm_page_free: freeing wired page

2002-07-04 Thread Christopher Sharp

Hello,
with a world+kernel from yesterday I get this message
and then the machine freezes and/or reboots.

Any Ideas ? is this already fixed ?

Christopher Sharp

-- 
Any time things appear to be going better, you have overlooked
something.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



panic: vm_page_free: freeing wired page

2002-07-03 Thread Steven G. Kargl

Julian,

You may have fixed over the last few, but I haven't
had a chance to cvsup new sources.

-- 
Steve
http://troutmask.apl.washington.edu/~kargl/

panic: vm_page_free: freeing wired page

panic: from debugger
Uptime: 39m56s
Dumping 128 MB
 16 32 48 64 80 96 112
---
#0  0xc019c5cb in doadump ()
(kgdb) bt
#0  0xc019c5cb in doadump ()
#1  0xc019caa8 in boot (howto=260)
#2  0xc019ccab in panic ()
#3  0xc01369e2 in db_panic ()
#4  0xc0136971 in db_command (last_cmdp=0xc02cc800, cmd_table=0xc02cc620, 
aux_cmd_tablep=0xc02c5ff4, aux_cmd_tablep_end=0xc02c5ff8)
#5  0xc0136a68 in db_command_loop ()
#6  0xc01394b8 in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_trap.c:76
#7  0xc026d2a0 in kdb_trap (type=3, code=0, regs=0xcaeefb18)
at /usr/src/sys/i386/i386/db_interface.c:214
#8  0xc027cb34 in trap (frame=
  {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = -880287744, tf_esi = 256, tf_ebp = 
-890307740, tf_isp = -890307772, tf_ebx = 0, tf_edx = 0, tf_ecx = -890308068, tf_eax = 
18, tf_trapno = 3, tf_err = 0, tf_eip = -1071196883, tf_cs = 8, tf_eflags = 662, 
tf_esp = -1070861153, tf_ss = -1070963908})
at /usr/src/sys/i386/i386/trap.c:667
#9  0xc026d52d in Debugger (msg=0xc02a633c "panic")
#10 0xc019cc94 in panic (fmt=0xc02b8ba0 "vm_page_free: freeing wired page\n")
#11 0xc024a5e1 in vm_page_free_toq (m=0xc09eb7c0)
#12 0xc0249c34 in vm_page_free (m=0xc09eb7c0)
#13 0xc0278885 in pmap_dispose_thread (td=0xc1e1)
#14 0xc01a6be3 in thread_fini (mem=0xc1e1, size=184)
#15 0xc024f985 in zone_drain (zone=0xc0bb9000)
#16 0xc02504b5 in zone_foreach (zfunc=0xc024f6b0 )
#17 0xc02517a7 in uma_reclaim ()
#18 0xc024cc41 in vm_pageout_scan (pass=0)
#19 0xc024da52 in vm_pageout ()
#20 0xc01897dc in fork_exit (callout=0xc024d7f0 , arg=0x0,
frame=0xcaeefd48)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



panic: vm_page_free: freeing wired page

1999-12-02 Thread David Scheidt


 I am having the following panic, with a -CURRENT system as fo CTM
cvs-cur.5868.  I *think* the panic was induced by running mpg123 with a not
an mp3 file.  I've had two (maybe three, something happened to the box over
night.)  of these panics, but hte first was with no dump device configured.
I suspect I can reproduce it, since this one I did.  

su-2.03# gdb -k
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".
(kgdb) symbol-file kernel.debug
Reading symbols from kernel.debug...done.
(kgdb) exec-file /u/crash/kernel.0
(kgdb) core-file /u/crash/vmcore.0
IdlePTD 3047424
initial pcb at 2749e0
panicstr: vm_page_free: freeing wired page

panic messages:
---
panic: vm_page_free: freeing wired page


syncing disks... 6 
done

dumping to dev #wd/0x20001, offset 262144
dump ata0: resetting devices .. done
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  boot (howto=256) at ../../kern/kern_shutdown.c:273
273 dumppcb.pcb_cr3 = rcr3();
(kgdb) trace
trace command requires an argument
(kgdb) bt
#0  boot (howto=256) at ../../kern/kern_shutdown.c:273
#1  0xc0137115 in panic (fmt=0xc02405c0 "vm_page_free: freeing wired
page\n")
at ../../kern/kern_shutdown.c:523
#2  0xc01e1bf6 in vm_page_free_toq (m=0xc04e5a50) at ../../vm/vm_page.c:1102
#3  0xc01d9f59 in vm_fault (map=0xd8a18980, vaddr=672231424, 
fault_type=1 '\001', fault_flags=0) at ../../vm/vm_page.h:504
#4  0xc021a46a in trap_pfault (frame=0xd9451fa8, usermode=1, eva=672231424)
at ../../i386/i386/trap.c:781
#5  0xc0219f7f in trap (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, 
  tf_edi = 134661840, tf_esi = -1077946152, tf_ebp = 0, 
  tf_isp = -649781292, tf_ebx = -1077946153, tf_edx = -1077946796, 
  tf_ecx = -1077946796, tf_eax = 672231424, tf_trapno = 12, tf_err = 4, 
  tf_eip = 134592249, tf_cs = 31, tf_eflags = 66070, tf_esp =
-1077946820, 
  tf_ss = 47}) at ../../i386/i386/trap.c:348
(kgdb) 

dmesg:
opyright (c) 1992-1999 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
FreeBSD 4.0-CURRENT #6: Thu Dec  2 15:55:20 GMT 1999
[EMAIL PROTECTED]:/usr/src/sys/compile/RALLY3
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Xeon/Celeron (348.49-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x651  Stepping = 1

Features=0x183f9ff
real memory  = 134217728 (131072K bytes)
avail memory = 127102976 (124124K bytes)
Preloaded elf kernel "kernel" at 0xc02d6000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc02d609c.
Pentium Pro MTRR support enabled
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  on motherboard
pci0:  on pcib0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
vga-pci0:  irq 11 at device 0.0 on pci1
fxp0:  irq 10 at device 18.0 on
pci0
fxp0: Ethernet address 00:08:c7:89:57:ed
isab0:  at device 20.0 on pci0
isa0:  on isab0
ata-pci0:  at device 20.1 on pci0
ata-pci0: Busmastering DMA supported
ata0 at 0x01f0 irq 14 on ata-pci0
ata1 at 0x0170 irq 15 on ata-pci0
pci0: UHCI USB controller (vendor=0x8086, dev=0x7112) at 20.2
chip1:  at device 20.3 on pci0
isa0: unexpected tag 14
isa0: unexpected tag 14
fdc0:  at port 0x3f0-0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0:  at port 0x60-0x6f on isa0
atkbd0:  irq 1 on atkbdc0
psm0:  irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0:  at port 0x3b0-0x3df iomem 0xa-0xb on isa0
sc0:  on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sio2: not probed (disabled)
sio3: not probed (disabled)
ppc0 at port 0x378-0x37f irq 7 flags 0x40 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0:  on ppbus 0
lpt0:  on ppbus 0
lpt0: Interrupt-driven port
ppi0:  on ppbus 0
unknown:  can't assign resources
unknown:  can't assign resources
unknown:  can't assign resources
unknown:  can't assign resources
unknown0:  at port 0x268-0x26f on isa0
pcm0:  at port 0x220-0x22f,0x388-0x38b,0x330-