[prev in list] [next in list] [prev in thread] [next in thread] 

List:       user-mode-linux-user
Subject:    Re: [uml-user] printk before console is set up
From:       Jeff Dike <jdike () addtoit ! com>
Date:       2007-09-27 19:53:30
Message-ID: 20070927195330.GA8080 () c2 ! user-mode-linux ! org
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic