From owner-freebsd-stable Mon Nov 29 8:26: 6 1999 Delivered-To: freebsd-stable@freebsd.org Received: from trooper.velocet.net (trooper.velocet.net [216.126.82.226]) by hub.freebsd.org (Postfix) with ESMTP id 9824015181 for ; Mon, 29 Nov 1999 08:26:02 -0800 (PST) (envelope-from dgilbert@trooper.velocet.net) Received: (from dgilbert@localhost) by trooper.velocet.net (8.9.3/8.9.3) id LAA66495; Mon, 29 Nov 1999 11:26:01 -0500 (EST) (envelope-from dgilbert) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14402.43119.163568.35734@trooper.velocet.net> Date: Mon, 29 Nov 1999 11:23:11 -0500 (EST) To: stable@freebsd.org Subject: curproc 0? X-Mailer: VM 6.75 under 20.4 "Emerald" XEmacs Lucid Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I was going through the crash I just posted, and I was looking at the tsleep funciton in kern_synch.c. line 382 is: struct proc *p = curproc; ... now doing a 'p curproc' in gdb gave 0... so I'm wondering where curproc comes from --- a static variable somewhere? I've been experimenting with vinum here. I have 8 18Gig Atlas IV's.... and I gather this has something to do with how busy I make them. If I 'dump -0af - /usr | team 1m 8 | restore rf -' ... then I get the crash I just posted. If I remove team, then I don't get the crash. Similarly, I was running bonnie processes in parallel --- to see how the performance was affected by number of processes hitting the drives. With 1, 2, 3, or 4 bonnie processes, everything ran fine. With 8 bonnie processes, I got the crash. I can repeat this at will and the system can be made available for testing as required, too. vinumlock.c calls tsleep in a function that's dealing with locks over the range of stripes on the volume. Is the call to tsleep() improper here because it can somehow occur when we are not within a process? Dave. -- ============================================================================ |David Gilbert, Velocet Communications. | Two things can only be | |Mail: dgilbert@velocet.net | equal if and only if they | |http://www.velocet.net/~dgilbert | are precisely opposite. | =========================================================GLO================ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message