Date: Thu, 05 Aug 1999 11:56:59 +0800 From: Stephen Hocking-Senior Programmer PGS Tensor Perth <shocking@prth.pgs.com> To: current@freebsd.org Cc: dillon@apollo.backplane.com Subject: Interesting NFS hangs under current Message-ID: <199908050357.LAA20002@ariadne.tensor.pgs.com>
next in thread | raw e-mail | index | archive | help
On my home network, I make world on one machine and install it (from an NFS mounted directory) on another. Some time ago (I've griped about this before - the problem's been around for a while) it started to occasionally hang just after or during installing libc.so.3. It will then hang solidly - no response to keyboard, net or whatever, but it does allow me to break into the debugger and take a dump. Below is the stack trace (hurrah for debugging kernels!). I will not that after rebooting fscking the disks, usr/lib/libc.so.3 is often a multiple of 64k in size. If I don't boot single user and copy an old libc over the top of the partially written one, subsequent boots will of course have programs crapping out all over the place. (kgdb) # gdb -k /sys/compile/bleep/kernel.debug /var/crash/vmcore.2 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"... IdlePTD 3063808 initial pcb at 277c20 panicstr: from debugger panic messages: --- panic: from debugger syncing disks... 254 254 251 244 231 207 178 123 107 53 4 2 2 2 2 2 2 2 2 2 done dumping to dev (116,1), offset 483456 dump 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 boot (howto=256) at ../../kern/kern_shutdown.c:291 291 dumppcb.pcb_cr3 = rcr3(); (kgdb) bt #0 boot (howto=256) at ../../kern/kern_shutdown.c:291 #1 0xc0145519 in panic (fmt=0xc0234e14 "from debugger") at ../../kern/kern_shutdown.c:505 #2 0xc012cbc9 in db_panic (addr=-1071579017, have_addr=0, count=-1, modif=0xc5f45afc "") at ../../ddb/db_command.c:434 #3 0xc012cb69 in db_command (last_cmdp=0xc025b370, cmd_table=0xc025b1d0, aux_cmd_tablep=0xc0274cc4) at ../../ddb/db_command.c:334 #4 0xc012cc2e in db_command_loop () at ../../ddb/db_command.c:456 #5 0xc012ecb3 in db_trap (type=3, code=0) at ../../ddb/db_trap.c:71 #6 0xc020fe34 in kdb_trap (type=3, code=0, regs=0xc5f45bf0) at ../../i386/i386/db_interface.c:157 #7 0xc021c3ec in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi = 2, tf_esi = -1071082528, tf_ebp = -973841352, tf_isp = -973841380, tf_ebx = 134, tf_edx = -1071320177, tf_ecx = 1920, tf_eax = 38, tf_trapno = 3, tf_err = 0, tf_eip = -1071579017, tf_cs = 8, tf_eflags = 582, tf_esp = -1071320193, tf_ss = -1071333302}) at ../../i386/i386/trap.c:534 #8 0xc0210077 in Debugger (msg=0xc024c04a "manual escape to debugger") at machine/cpufunc.h:64 #9 0xc020cb76 in scgetc (sc=0xc0273520, flags=2) at ../../dev/syscons/syscons.c:3813 #10 0xc02087dd in sckbdevent (thiskbd=0xc0287c00, event=0, arg=0xc0273520) at ../../dev/syscons/syscons.c:688 ---Type <return> to continue, or q <return> to quit--- #11 0xc0201e13 in atkbd_intr (kbd=0xc0287c00, arg=0x0) at ../../dev/kbd/atkbd.c:535 #12 0xc0229f7f in atkbd_isa_intr (arg=0xc05ab3f0) at ../../isa/atkbd_isa.c:125 #13 0xc01f1d88 in vm_page_lookup (object=0xc5f6fbb8, pindex=62247042) at ../../vm/vm_page.c:526 #14 0xc0219ac4 in pmap_object_init_pt (pmap=0xc5e4cf24, addr=672055296, object=0xc5f6fbb8, pindex=110, size=16384, limit=16) at ../../i386/i386/pmap.c:2434 #15 0xc01ec220 in vm_map_insert (map=0xc5e4cec0, object=0xc5f6fbb8, offset=450560, start=672055296, end=672071680, prot=7 '\a', max=7 '\a', cow=18) at ../../vm/vm_map.c:550 #16 0xc01ec3a3 in vm_map_find (map=0xc5e4cec0, object=0xc5f6fbb8, offset=450560, addr=0xc5f45ed4, length=16384, find_space=0, prot=7 '\a', max=7 '\a', cow=18) at ../../vm/vm_map.c:654 #17 0xc01efc49 in vm_mmap (map=0xc5e4cec0, addr=0xc5f45ed4, size=16384, prot=7 '\a', maxprot=7 '\a', flags=18, handle=0xc5f5da80, foff=450560) at ../../vm/vm_mmap.c:1058 #18 0xc01ef2d6 in mmap (p=0xc5e49020, uap=0xc5f45f80) at ../../vm/vm_mmap.c:330 #19 0xc021cc2a in syscall (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 0, tf_esi = 450560, tf_ebp = -1077949324, tf_isp = -973840428, tf_ebx = 671456744, tf_edx = 6, tf_ecx = 450560, tf_eax = 198, tf_trapno = 0, tf_err = 2, tf_eip = 671436440, tf_cs = 31, tf_eflags = 518, tf_esp = -1077949380, tf_ss = 47}) ---Type <return> to continue, or q <return> to quit--- at ../../i386/i386/trap.c:1056 #20 0xc0210726 in Xint0x80_syscall () #21 0x2804dfb1 in ?? () #22 0x2804cfa6 in ?? () #23 0x2804ce76 in ?? () #24 0x2804c291 in ?? () (kgdb) -- The views expressed above are not those of PGS Tensor. "We've heard that a million monkeys at a million keyboards could produce the Complete Works of Shakespeare; now, thanks to the Internet, we know this is not true." Robert Wilensky, University of California 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?199908050357.LAA20002>