From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Hudec Subject: Re: fs oops debuggable in 2.6 with one one machine Date: Thu, 23 Oct 2003 14:49:39 +0200 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <20031023124939.GC1465@vagabond> References: <1066826696.7159.70.camel@patehci2> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org Return-path: Received: from cimice4.lam.cz ([212.71.168.94]:31449 "EHLO vagabond.light.src") by vger.kernel.org with ESMTP id S263572AbTJWMtw (ORCPT ); Thu, 23 Oct 2003 08:49:52 -0400 To: Pat LaVarre Content-Disposition: inline In-Reply-To: <1066826696.7159.70.camel@patehci2> List-Id: linux-fsdevel.vger.kernel.org On Wed, Oct 22, 2003 at 06:44:56 -0600, Pat LaVarre wrote: > Anybody yet work out in detail how to debug oops in filesystems without > connecting a second machine? Yes, you can use the user-mode linux. Project homepage is user-mode-linux.sourceforge.net. All code of user-mode linux except arch specific parts is the same as on normal kernel, so chances are high, that this will be reproducible. It is fully debuggable with gdb. However, gdb does not seem to understand output from gcc-3 correctly, so gcc-2.95 (or using -gstabs option to gcc) is needed. ------------------------------------------------------------------------------- Jan 'Bulb' Hudec