panic: vm_page_t 0xc1c92660 phys_addr mismatch 0000000000b6d000 000000002bb6d405

From: eta <eta_at_lclark.edu>
Date: 05 Jul 2004 14:26:33 -0700
Got a panic on the new little server I'm testing for use at our school.

panic: vm_page_t 0xc1c92660 phys_addr mismatch 0000000000b6d000
000000002bb6d405.

Attached is some gdb and dmesg output.  It's -current from 2004-06-25,
and I was in the middle of a gnome-upgrade.sh.  The kernel config is
generic minus WITNESS plus COMPAT_LINUX.

Anyone seen this?

(And as I get ready to send this, it died during my gnome-upgrade.sh
again).

---

dragon# gdb -k kernel.debug vmcore.0
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 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"...
panic: vm_page_t 0xc1c92660 phys_addr mismatch 0000000000b6d000
000000002bb6d405
panic messages:
---
panic: vm_page_t 0xc1c92660 phys_addr mismatch 0000000000b6d000
000000002bb6d405
cpuid = 0;
Debugger("panic")
 
syncing disks, buffers remaining... panic: _mtx_lock_sleep: recursed on
non-recursive mutex vm page queue mutex _at_
/usr/src/sys/kern/vfs_bio.c:3452
 
cpuid = 0;
Uptime: 9d23h37m40s
Dumping 1535 MB
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304
320 336 352 368 384 400 416 432 448 464 480 496 512 528 544 560 576 592
608 624 640 656 672 688 704 720 736 752 768 784 800 816 832 848 864 880
896 912 928 944 960 976 992 1008 1024 1040 1056 1072 1088 1104 1120 1136
1152 1168 1184 1200 1216 1232 1248 1264 1280 1296 1312 1328 1344 1360
1376 1392 1408 1424 1440 1456 1472 1488 1504 1520
---
Reading symbols from /boot/kernel/acpi.ko...done.
Loaded symbols for /boot/kernel/acpi.ko
Reading symbols from
/usr/obj/usr/src/sys/SERVER/modules/usr/src/sys/modules/linux/linux.ko.debug...done.
Loaded symbols for
/usr/obj/usr/src/sys/SERVER/modules/usr/src/sys/modules/linux/linux.ko.debug
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:236
236             dumping++;
(kgdb) bt
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:236
#1  0xc05ecc74 in boot (howto=260) at
/usr/src/sys/kern/kern_shutdown.c:370
#2  0xc05ecf9f in panic () at /usr/src/sys/kern/kern_shutdown.c:548
#3  0xc05e5521 in _mtx_lock_sleep (m=0xc08a2e20, opts=0,
    file=0xc07d15d5 "/usr/src/sys/kern/vfs_bio.c", line=3452)
    at /usr/src/sys/kern/kern_mutex.c:483
#4  0xc05e525e in _mtx_lock_flags (m=0x0, opts=0, file=0xc07d15d5
"/usr/src/sys/kern/vfs_bio.c",
    line=3452) at /usr/src/sys/kern/kern_mutex.c:252
#5  0xc062c284 in vfs_clean_pages (bp=0xcf474fd0) at
/usr/src/sys/kern/vfs_bio.c:3452
#6  0xc06286f0 in bdwrite (bp=0xcf474fd0) at
/usr/src/sys/kern/vfs_bio.c:1066
#7  0xc06fca2d in ffs_update (vp=0xc318b71c, waitfor=0) at
/usr/src/sys/ufs/ffs/ffs_inode.c:127
#8  0xc070e7c7 in ffs_fsync (ap=0xe1f18754) at
/usr/src/sys/ufs/ffs/ffs_vnops.c:323
#9  0xc070dac6 in ffs_sync (mp=0xc2eb0400, waitfor=2, cred=0xc2b77200,
td=0xc0885cc0)
    at vnode_if.h:627
#10 0xc06397a3 in sync (td=0xc0885cc0, uap=0x0) at
/usr/src/sys/kern/vfs_syscalls.c:136
#11 0xc05ec883 in boot (howto=0) at
/usr/src/sys/kern/kern_shutdown.c:277
#12 0xc045dfee in db_fncall (dummy1=0, dummy2=0, dummy3=-1064682380,
    dummy4=0xe1f18870 "??\213??\210????t??\210??'?t?\220\a") at
/usr/src/sys/ddb/db_command.c:551
#13 0xc045ddfc in db_command (last_cmdp=0xc086ce30, cmd_table=0x0,
aux_cmd_tablep=0xc07ef514,
    aux_cmd_tablep_end=0xc07ef52c) at /usr/src/sys/ddb/db_command.c:348
#14 0xc045ded4 in db_command_loop () at
/usr/src/sys/ddb/db_command.c:475
#15 0xc0460659 in db_trap (type=3, code=0) at
/usr/src/sys/ddb/db_trap.c:73
#16 0xc0752725 in kdb_trap (type=3, code=0, regs=0xe1f1899c)
    at /usr/src/sys/i386/i386/db_interface.c:159
#17 0xc07654f4 in trap (frame=
      {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = -1065444226, tf_esi
= 1, tf_ebp = -504264224,
tf_isp = -504264248, tf_ebx = 0, tf_edx = 0, tf_ecx = -1056882688,
tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1066063390, tf_cs = 8,
tf_eflags = 642, tf_esp = -504264180, tf_ss = -504264192}) at
/usr/src/sys/i386/i386/trap.c:579
#18 0xc0753cba in calltrap () at /usr/src/sys/i386/i386/exception.s:140
#19 0xc05ecf51 in panic (fmt=0xc07e9c7e "vm_page_t %p phys_addr mismatch
%016jx %016jx")
    at /usr/src/sys/kern/kern_shutdown.c:532
#20 0xc0762bc8 in pmap_remove_pages (pmap=0xc3298b40, sva=0,
eva=3217031168)
    at /usr/src/sys/i386/i386/pmap.c:2571
#21 0xc05d77bd in exec_new_vmspace (imgp=0xe1f18b94, sv=0xc0865560) at
vm_map.h:242
#22 0xc05cb373 in exec_elf32_imgact (imgp=0xe1f18b94) at
/usr/src/sys/kern/imgact_elf.c:708
#23 0xc05d6aa6 in kern_execve (td=0xc2cd5dc0, fname=---Can't read
userspace from dump, or kernel process---
 
) at /usr/src/sys/kern/kern_exec.c:382
#24 0xc05d6748 in execve (td=0xc2cd5dc0, uap=0x0) at
/usr/src/sys/kern/kern_exec.c:174
#25 0xc0765cb3 in syscall (frame=
      {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = -1077970672, tf_esi
= 135751712, tf_ebp = -1077970744, tf_isp = -504263308, tf_ebx =
673260236, tf_edx = 135751712, tf_ecx = -1077940629, tf_eax = 59,
tf_trapno = 12, tf_err = 2, tf_eip = 672786747, tf_cs = 31, tf_eflags =
518, tf_esp = -1077970772, tf_ss = 47}) at
/usr/src/sys/i386/i386/trap.c:1004
#26 0xc0753d0f in Xint0x80_syscall () at
/usr/src/sys/i386/i386/exception.s:201
---Can't read userspace from dump, or kernel process---

(kgdb) frame 20
#20 0xc0762bc8 in pmap_remove_pages (pmap=0xc3298b40, sva=0,
eva=3217031168)
    at /usr/src/sys/i386/i386/pmap.c:2571
2571                    KASSERT(m->phys_addr == (tpte & PG_FRAME),

---

dragon# dmesg
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights
reserved.
FreeBSD 5.2-CURRENT #0: Fri Jun 25 11:59:09 PDT 2004
    root_at_dragon.cs.lclark.edu:/usr/obj/usr/src/sys/SERVER
Preloaded elf kernel "/boot/kernel/kernel" at 0xc09d5000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc09d5244.
ACPI APIC Table: <ASUS   A7V8X-X >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(TM) XP 2700+ (1733.41-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x681  Stepping = 1
 
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 1610596352 (1535 MB)
avail memory = 1568677888 (1496 MB)
ioapic0: Changing APIC ID to 2
ioapic0 <Version 0.3> irqs 0-23 on motherboard
random: <entropy source, Software, Yarrow>
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS A7V8X-X> on motherboard
acpi0: [GIANT-LOCKED]
pcibios: BIOS version 2.10
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA Generic host to PCI bridge> mem 0xf8000000-0xfbffffff at
device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pcib2: <PCI-PCI bridge> at device 11.0 on pci0
pci2: <PCI bus> on pcib2
mlx0: <Mylex version 4 RAID interface> mem 0xef000000-0xef001fff irq 19
at device 11.1 on pci0
mlx0: [GIANT-LOCKED]
mlx0: DAC960PTL1, 1 channel, firmware 4.08-0-37, 16MB RAM
mlxd0: <Mylex System Drive> on mlx0
mlxd0: 70007MB (143374336 sectors) RAID 1 (online)
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.25> mem
0xec000000-0xec00ffff,0xec800000-0xec81ffff irq 17 at device 14.0 on
pci0
em0: [GIANT-LOCKED]
em0: Ethernet address: 00:03:47:72:90:e3
em0:  Speed:N/A  Duplex:N/A
uhci0: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 21 at device
16.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 21 at device
16.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <VIA 83C572 USB controller> port 0xd000-0xd01f irq 21 at device
16.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <VIA 83C572 USB controller> on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0: <serial bus, USB> at device 16.3 (no driver attached)
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 8235 UDMA133 controller> port
0xb800-0xb80f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 17.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <multimedia, audio> at device 17.5 (no driver attached)
vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xb400-0xb4ff mem
0xeb000000-0xeb0000ff irq 23 at device 18.0 on pci0
miibus0: <MII bus> on vr0
rlphy0: <RTL8201L 10/100 media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: 00:0c:6e:2d:a9:ed
vr0: [GIANT-LOCKED]
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port
0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
orm0: <Option ROMs> at iomem 0xd0000-0xd27ff,0xc0000-0xcefff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
isa0
Timecounter "TSC" frequency 1733408164 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 19623MB <IC35L020AVER07-0> [39870/16/63] at ata0-master UDMA100
Mounting root from ufs:/dev/mlxd0s1a
WARNING: / was not properly dismounted
WARNING: /usr was not properly dismounted
/usr: mount pending error: blocks 164 files 22
/usr: superblock summary recomputed
em0: Link is up 100 Mbps Full Duplex
Received on Mon Jul 05 2004 - 19:26:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:00 UTC