Linux filesystem development
 help / color / mirror / Atom feed
* fs oops debuggable in 2.6 with one one machine
@ 2003-10-22 12:44 Pat LaVarre
  2003-10-23 12:49 ` Jan Hudec
  0 siblings, 1 reply; 2+ messages in thread
From: Pat LaVarre @ 2003-10-22 12:44 UTC (permalink / raw)
  To: linux-fsdevel

Anybody yet work out in detail how to debug oops in filesystems without
connecting a second machine?

I haven't yet made the "more zeroes read back than appended" oops of
udf.ko reliably repeatable, but presuming eventually I do, then my next
hope is to capture the dmesg leading up to the oops.

I followed the web trail:

http://marc.theaimsgroup.com/?l=kernelnewbies&b=200310
http://marc.theaimsgroup.com/?l=kernelnewbies&m=106680564215479
http://kniggit.net/wwol26.html

I found:

---

Virtualizing Linux

One of the most interesting new features in Linux 2.6 is its inclusion
of a "user-mode" architecture. This is essentially a port (like to a
different hardware family) of Linux to itself, allowing for a completely
virtualized Linux-on-Linux environment to be run. The new instance of
Linux runs as if it was a normal application. "Inside" the application,
you can configure fake network interfaces, filesystems, and other
devices through special drivers which communicate up to the host copy of
Linux in a secure way. This has proved quite useful, both for
development purposes (profiling, etc.) as well as for security analysis
and honeypots. While most users will never need this kind of support, it
is an incredibly "cool" feature to have running on your box. (Impress
your friends!)

---

Pat LaVarre



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: fs oops debuggable in 2.6 with one one machine
  2003-10-22 12:44 fs oops debuggable in 2.6 with one one machine Pat LaVarre
@ 2003-10-23 12:49 ` Jan Hudec
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Hudec @ 2003-10-23 12:49 UTC (permalink / raw)
  To: Pat LaVarre; +Cc: linux-fsdevel

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 <bulb@ucw.cz>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-23 12:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-22 12:44 fs oops debuggable in 2.6 with one one machine Pat LaVarre
2003-10-23 12:49 ` Jan Hudec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox