From owner-freebsd-current Tue Jun 13 7:58:46 2000 Delivered-To: freebsd-current@freebsd.org Received: from lor.watermarkgroup.com (lor.watermarkgroup.com [207.202.73.33]) by hub.freebsd.org (Postfix) with ESMTP id 6C1A337BE8D; Tue, 13 Jun 2000 07:58:26 -0700 (PDT) (envelope-from luoqi@watermarkgroup.com) Received: (from luoqi@localhost) by lor.watermarkgroup.com (8.10.1/8.10.1) id e5DEwJb03585; Tue, 13 Jun 2000 10:58:19 -0400 (EDT) Date: Tue, 13 Jun 2000 10:58:19 -0400 (EDT) From: Luoqi Chen Message-Id: <200006131458.e5DEwJb03585@lor.watermarkgroup.com> To: current@FreeBSD.ORG, dillon@FreeBSD.ORG, jruigrok@via-net-works.nl Subject: Re: Weird 4.0-STABLE problem, might be related to 5.0 as well Cc: ps@FreeBSD.ORG, stable@FreeBSD.ORG, wpaul@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > This is the third time this happened to a 4.0-STABLE host of ours. > > The problem starts with havnig a number of processes which are unable to > be killed. So we want to reboot the box. > > All goes well, bufdaemon and syncer stop normally. > > Then it gets to > > syncing disks > done. > > And there it hangs. At this point only the NIC is reachable on its IP > address for ping. > At this point the kernel is trying to unmount all filesystems, it hangs probably because it's waiting for locks those unkillable processes hold. > So I break into DDB and get this from a trace: > The trace didn't reveal anything wrong: xl is updating its status during a scheduled timeout. The best way to diagnose the problem is to work on the live system when the same symptom occurs (unkillable process), find out which channels these processes are sleeping on and why they're not waken up (hardware failure might contribute to it). A `ps axl' report would be very helpful. For those unkillable processes, you might want to report the backtrace for each, here's how to get them, # gdb -k /kernel /dev/mem (kgdb) proc (kgdb) bt -lq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message