From owner-freebsd-current Wed Aug 4 23:11:20 1999 Delivered-To: freebsd-current@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [209.157.86.2]) by hub.freebsd.org (Postfix) with ESMTP id 1963614DF8 for ; Wed, 4 Aug 1999 23:11:15 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id XAA33711; Wed, 4 Aug 1999 23:10:49 -0700 (PDT) (envelope-from dillon) Date: Wed, 4 Aug 1999 23:10:49 -0700 (PDT) From: Matthew Dillon Message-Id: <199908050610.XAA33711@apollo.backplane.com> To: Stephen Hocking-Senior Programmer PGS Tensor Perth Cc: current@freebsd.org Subject: Re: Interesting NFS hangs under current References: <199908050357.LAA20002@ariadne.tensor.pgs.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Could you print out *p and *uap in frame 18? frame 18 print *p print *uap Also, do: ps -axl -N /sys/compile/bleep/kernel.debug -M /var/crash/vmcore.2 This is very odd. There is no way it should be looping in supervisor mode in that call chain. -Matt Matthew Dillon :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 :... : at ../../dev/syscons/syscons.c:688 :---Type to continue, or q 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 : :... : (Stephen Hocking-Senior Programmer PGS Tensor Perth ) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message