systematic panic on an SMP machine for 5.1-Release

From: Thierry Herbelot <thierry_at_herbelot.com>
Date: Tue, 8 Jul 2003 20:11:49 +0200
Hello,

[I just see that this message is at least lacking a "dmesg" output : I'll send 
it tomorrow.]

This report is about a systematic panic with the dreaded "panic: pmap_enter: 
attempted pmap_enter on 4MB page" error message.

The board is from VMIC 
<http://www.vmic.com/products/embeddedpc/products/hw_sbc_cpci_7760.html> is 
the specification (as a summary : dual Pentium-III, with a ServerWorks HE-SL
chipset, 2GB of RAM, and an IDE hard disk).

As the machine does not have an attached CD-ROM, I have installed FreeBSD by 
first booting using PXE from a diskless boot server, the copying a known good 
backup from the boot server on the local hard disk). The OS on all machines 
[server and VMIC board] are all 5.1-Release, installed from the CD1 ISO 
CD-ROM.

I first got the following panic when installing the sources from the 
5.1-Release install files (as a post install distribution addition), stored 
on the same NFS server (the VMIC board running with a GENERIC UP kernel), and 
I got it too when running the SMP kernel copied from a nearby dual board (for 
example, when rebuilding the world).

I have a more or less up-to date CVS repository of the FreeBSD sources on a 
server, and I plan building and installing a more current kernel+world (first 
via PXE).

	Thanks in advance

	TfH

PS : I should also try installing DeathTrap Linux, but a Jumpstart setup seems 
more complicated than for FreeBSD

in the meantime, this is a kernel trace for the panic :
[the kernel config file is the straight SMP config file out of the src tree]

-------------------------------------------------------

Script started on Tue Jul  8 12:09:23 2003
pc-vmic# pwd
/usr/src/sys/i386/compile/SMP
pc-vmic# gdb -k kernel /usr/crash/vmcore.1
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-undermydesk-freebsd"...
(no debugging symbols found)...
panic: from debugger
panic messages:
---
panic: pmap_enter: attempted pmap_enter on 4MB page
cpuid = 1; lapic.id = 00000000
panic: from debugger
cpuid = 1; lapic.id = 00000000
boot() called on cpu#1
Uptime: 17h18m31s
Dumping 2048 MB
ata0: resetting devices ..
done
 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 1536 1552 1568 1584 1600 1616 1632 1648 1664
1680 1696 1712 1728 1744 1760 1776 1792 1808 1824 1840 1856 1872 1888 1904
1920 1936 1952 1968 1984 2000 2016 2032
---
Reading symbols from
/usr/src/sys/i386/compile/SMP/modules/usr/src/sys/modules/linux/linux.ko...(n
o debugging symbols found)...done.
Loaded symbols for
/usr/src/sys/i386/compile/SMP/modules/usr/src/sys/modules/linux/linux.ko
#0  0xc030a95b in doadump ()
(kgdb) where
#0  0xc030a95b in doadump ()
#1  0xc030aeb8 in boot ()
#2  0xc030b21f in panic ()
#3  0xc0164142 in db_panic ()
#4  0xc01640c2 in db_command ()
#5  0xc01641d6 in db_command_loop ()
#6  0xc0166f6a in db_trap ()
#7  0xc047cae3 in kdb_trap ()
#8  0xc04960bc in trap ()
#9  0xc047e488 in calltrap ()
#10 0xc030b1bf in panic ()
#11 0xc04927df in pmap_enter ()
#12 0xc04479a6 in kmem_malloc ()
#13 0xc0457757 in page_alloc ()
#14 0xc04574e0 in slab_zalloc ()
#15 0xc04585a8 in uma_zone_slab ()
#16 0xc045875d in uma_zalloc_bucket ()
#17 0xc0458460 in uma_zalloc_arg ()
#18 0xc044dcb8 in vm_object_allocate_wait ()
#19 0xc044dd18 in vm_object_allocate ()
#20 0xc0459de2 in vnode_pager_alloc ()
#21 0xc0352e25 in vop_stdcreatevobject ()
#22 0xc03528d8 in vop_defaultop ()
#23 0xc0440558 in ufs_vnoperate ()
---Type <return> to continue, or q <return> to quit---
#24 0xc035df23 in vfs_object_create ()
#25 0xc0354a56 in namei ()
#26 0xc03660e8 in vn_open_cred ()
#27 0xc0365e89 in vn_open ()
#28 0xc035f9fa in kern_open ()
#29 0xc035f8d0 in open ()
#30 0xc04969ae in syscall ()
#31 0xc047e4dd in Xint0x80_syscall ()
---Can't read userspace from dump, or kernel process---

(kgdb) quit
pc-vmic# exit

Script done on Tue Jul  8 12:10:13 2003

-------------------------------------------------------
Received on Tue Jul 08 2003 - 09:12:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:14 UTC