On Mon, Mar 1, 2010 at 5:11 AM, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote: > On Sun, 28 Feb 2010, ulmo@xxxxxxxxx wrote: > >> I'm getting kernel faults in 2.6.33-rt4 on a core 2 duo. It takes a >> moment to hard-crash, so there's a chance for the output to be diagnosed. > > Does the same problem happen with vanilla 2.6.33 ? > >> Please point me the way to best get the diagnostic data (kernel trace). >> >> There used to be utilities to use System.map to give names to traces (like >> sysklogd). There also used to be a built-in method for System.map so the >> kernel could do that. What's the option? What are my options? I >> currently use metalog for the syslog daemon. > > CONFIG_KALLSYMS=y > CONFIG_KALLSYMS_ALL=y > CONFIG_KALLSYMS_EXTRA_PASS=y > > CONFIG_DEBUG_BUGVERBOSE=y > >> What's the easiest way to write the oops to disk while in the initrd? I'm >> getting the oopses while it's doing reiserfsck, and I only have a bit of >> room in /boot to stick some output. Is there a way to log to /boot the >> oopses, with some small initrd-fitting binary that will cull kernel >> logging for those and write them out? Just a standard logger? >> >> After that I can try to get some output for us to look at. Thanks. > > Either serial console - requires a serial port - or netconsole. For > both you need a second computer to log the output. > > Thanks, > > tglx I haven't heard of netconsole before but it makes sense. I did this using the serial console a couple of times but none of my machines have serial ports anymore (and could I find the right cable these days anyway?) Is there a good page describing how to set this up and use it? Thanks, Mark -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html