Date: Sun, 15 Feb 1998 00:27:28 -0800 From: Amancio Hasty <hasty@rah.star-gate.com> To: current@FreeBSD.ORG Subject: soft updates , panic Message-ID: <199802150827.AAA15203@rah.star-gate.com>
next in thread | raw e-mail | index | archive | help
(kgdb) print *bp
$1 = {b_hash = {le_next = 0xf2ef063c, le_prev = 0xf2ee9e70}, b_vnbufs = {
le_next = 0x0, le_prev = 0xf2ed8828}, b_freelist = {tqe_next = 0xf2eccd10,
tqe_prev = 0xf2eedc18}, b_act = {tqe_next = 0x0, tqe_prev = 0xf02288f0},
b_proc = 0x0, b_flags = 536870960, b_qindex = 0, b_usecount = 24 '\030',
b_error = 0, b_bufsize = 8192, b_bcount = 8192, b_resid = 0,
b_dev = 4294967295, b_data = 0xf3674000 "\220\217'",
b_kvabase = 0xf3674000 "\220\217'", b_kvasize = 8192, b_lblkno = -12,
b_blkno = -12, b_iodone = 0, b_iodone_chain = 0x0, b_vp = 0xf4e0a200,
b_dirtyoff = 0, b_dirtyend = 0, b_generation = 109, b_rcred = 0x0,
b_wcred = 0x0, b_validoff = 0, b_validend = 0, b_pblkno = 1448576,
b_saveaddr = 0x0, b_savekva = 0x0, b_driver1 = 0x0, b_driver2 = 0x0,
b_spc = 0x0, b_cluster = {cluster_head = {tqh_first = 0x0,
tqh_last = 0xf2ed866c}, cluster_entry = {tqe_next = 0x0,
tqe_prev = 0xf2ed866c}}, b_pages = {0xf0c5f304, 0xf0c7ba38,
0x0 <repeats 30 times>}, b_npages = 2, b_dep = {lh_first = 0x0}}
(kgdb) where
#0 boot (howto=260) at ../../kern/kern_shutdown.c:296
#1 0xf011790f in panic (fmt=0xf01013f8 "from debugger")
at ../../kern/kern_shutdown.c:436
#2 0xf0101415 in db_panic (addr=-266560547, have_addr=0, count=-1,
modif=0xf4e59a4c "") at ../../ddb/db_command.c:432
#3 0xf01012f5 in db_command (last_cmdp=0xf0202ad4, cmd_table=0xf0202934,
aux_cmd_tablep=0xf020f32c) at ../../ddb/db_command.c:332
#4 0xf0101482 in db_command_loop () at ../../ddb/db_command.c:454
#5 0xf0103b43 in db_trap (type=3, code=0) at ../../ddb/db_trap.c:71
#6 0xf01c99b1 in kdb_trap (type=3, code=0, regs=0xf4e59b38)
at ../../i386/i386/db_interface.c:157
#7 0xf01d6ee8 in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = 0,
tf_esi = -266639072, tf_ebp = -186279044, tf_isp = -186279072,
tf_ebx = 256, tf_edx = -266560603, tf_ecx = 0, tf_eax = 18,
tf_trapno = 3, tf_err = 0, tf_eip = -266560547, tf_cs = 8,
tf_eflags = 582, tf_esp = -266560619, tf_ss = -267290460})
at ../../i386/i386/trap.c:474
#8 0xf01c9bdd in Debugger (msg=0xf01178a4 "panic")
at ../../i386/i386/db_interface.c:316
#9 0xf0117906 in panic (
fmt=0xf01b6920 "vm_fault: fault on nofault entry, addr: %lx")
at ../../kern/kern_shutdown.c:434
#10 0xf01b6a54 in vm_fault (map=0xf0219f20, vaddr=4080574464,
fault_type=3 '\003', fault_flags=0) at ../../vm/vm_fault.c:225
#11 0xf01d7148 in trap_pfault (frame=0xf4e59ca4, usermode=0)
at ../../i386/i386/trap.c:724
#12 0xf01d6dc7 in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = -214392832,
tf_esi = -211331072, tf_ebp = -186278636, tf_isp = -186278708,
tf_ebx = -219265088, tf_edx = -2147155909, tf_ecx = 1536, tf_eax = 0,
tf_trapno = 12, tf_err = 2, tf_eip = -266510937, tf_cs = 8,
tf_eflags = 66054, tf_esp = 512, tf_ss = -252214976})
at ../../i386/i386/trap.c:363
#13 0xf01d5da7 in large_i586_bcopy_loop ()
#14 0xf01a6a37 in softdep_setup_allocindir_page (ip=0xf0f11000, lbn=30,
bp=0xf2ee47c0, ptrno=18, newblkno=2593416, oldblkno=0, nbp=0xf2ed8820)
at ../../ufs/ffs/ffs_softdep.c:1305
#15 0xf01a41cd in ffs_balloc (ap=0xf4e59ea4) at ../../ufs/ffs/ffs_balloc.c:302
#16 0xf01ad53c in ffs_write (ap=0xf4e59ef8) at vnode_if.h:995
#17 0xf013bfa7 in vn_write (fp=0xf0ec2040, uio=0xf4e59f40, cred=0xf0ee2b00)
at vnode_if.h:331
#18 0xf011f4db in write (p=0xf4da8e00, uap=0xf4e59f94)
at ../../kern/sys_generic.c:268
#19 0xf01d79af in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = 188416,
tf_esi = 97788, tf_ebp = -272642852, tf_isp = -186277916,
tf_ebx = 537460832, tf_edx = 97788, tf_ecx = -272642844, tf_eax = 4,
tf_trapno = 12, tf_err = 7, tf_eip = 537405009, tf_cs = 31,
tf_eflags = 518, tf_esp = -272642876, tf_ss = 39})
at ../../i386/i386/trap.c:994
-----
I was doing a make world and untarring a large file.
According to John Dyson:
Hint for those working on the code right now (I'll be back on it
on Sat, likely.) That message almost always means that a memory
access is past the end of an allocated buffer. Our buffers are
dynamically allocated, being backed by vm_objects. Our kernel
detects when an *unexpected* demand zero occurs, and that is
a kernel failure. (The old MACH VM would often silently create
the page.)*
-----
If anyone needs further info please let me know.
Tnks,
Amancio
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?199802150827.AAA15203>
