On Thu, Sep 27, 2007 at 12:05:40PM -0600, Jon Rafkind wrote: > Is there a way to view printk's from UML before the console is fully set > up? I am getting a segfault before printk can make its way to the > console so I can't view any output. Basically my session is this: > > ... > Checking for the skas3 patch in the host: > - /proc/mm...not found: No such file or directory > - PTRACE_FAULTINFO...not found > - PTRACE_LDT...not found > UML running in SKAS0 mode > Segmentation fault
Try adding 'stderr=1' to the command line. Also, if you get a core file, gdb it, and (gdb) printf "%s", log_buf should give you all printk output. Jeff -- Work email - jdike at linux dot intel dot com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user