Return-path: Envelope-to: www-data@lists.xensource.com Delivery-date: Thu, 17 Nov 2005 15:41:10 +0000 Received: from localhost ([127.0.0.1] helo=lists.xensource.com) by host-192-168-0-1-bcn-london with esmtp (Exim 4.50) id 1Eclss-00076s-Mj; Thu, 17 Nov 2005 15:41:10 +0000 Received: from [192.168.0.10] (helo=lists.xensource.com) by host-192-168-0-1-bcn-london with esmtp (Exim 4.50) id 1Eclsd-00070m-PO for xen-devel@lists.xensource.com; Thu, 17 Nov 2005 15:40:55 +0000 Received: from psychopathy.seas.upenn.edu ([158.130.65.164]) by 192.168.0.10 with esmtp (Exim 4.50) id 1EclsX-0007gz-I2 for xen-devel@lists.xensource.com; Thu, 17 Nov 2005 15:40:53 +0000 Received: from blue.seas.upenn.edu (BLUE.seas.upenn.edu [158.130.64.177]) by psychopathy.seas.upenn.edu (8.13.3/8.12.10) with ESMTP id jAHFf35l016545 for ; Thu, 17 Nov 2005 10:41:03 -0500 Received: from blue.seas.upenn.edu (localhost [127.0.0.1]) by blue.seas.upenn.edu (8.12.10/8.12.9) with ESMTP id jAHFf38D013520 for ; Thu, 17 Nov 2005 10:41:03 -0500 (EST) Received: from localhost (ajmarks@localhost) by blue.seas.upenn.edu (8.12.10/8.12.9/Submit) with ESMTP id jAHFf28M013517 for ; Thu, 17 Nov 2005 10:41:02 -0500 (EST) Date: Thu, 17 Nov 2005 10:41:02 -0500 (EST) From: "Aaron J. Marks" To: xen-devel@lists.xensource.com In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.49 on 158.130.65.164 X-SA-Exim-Connect-IP: 158.130.65.164 X-SA-Exim-Mail-From: ajmarks@seas.upenn.edu X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on 192.168.0.10 X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.0 Subject: Re: [Xen-devel] serial output of xen inside vmware? X-SA-Exim-Version: 4.2 (built Thu, 03 Mar 2005 10:44:12 +0100) X-SA-Exim-Scanned: Yes (on 192.168.0.10) X-BeenThere: xen-devel@lists.xensource.com X-Mailman-Version: 2.1.5 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com On Wed, 16 Nov 2005, Aaron J. Marks wrote: > i'd like to attach a serial console from a linux host to a vm running xen > inside vmware 5. i attempted to get this to work using an old xen-devel > post, but couldn't get it. is there a how-to floating around anywhere? okay, i got serial output to a file to work, but can't seem to make an interactive serial connection to xen. here's what i did: 1) compiled xen with env var 'debugger' set to 'y' 2) added 'com1=9600,8n1' to xen boot line 3) set virtual com1 in vmware to named pipe ("this end is client"/"other end is app") called /tmp/xen-com1. 4) ran socat on host machine: socat UNIX-LISTEN:/tmp/xen-com1,unlink-early,fork pty,link=/tmp/com1 to convert pipe to pty. (both the pipe and the pty appear in /tmp) 5) booted xen in vmware (at some point, it stops sending output to vmware -- a good sign) 6) connected to /tmp/com1 with kermit: kermit -b 9600 -l /tmp/com1 7) typed ^A^A^A then 'h', but got no response. what did i miss? thanks, -A. > ideally, i'd like to attach gdb to xen, but that may be asking too much. > > thanks, > -A. > > -- > Aaron Marks > Distributed Systems Lab > University of Pennsylvania > www.cis.upenn.edu/~ajmarks > > "Strange women lying in ponds distributing swords is no basis > for a system of government." > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel