All of lore.kernel.org
 help / color / mirror / Atom feed
From: sanket hase <shase@andrew.cmu.edu>
To: xen-devel@lists.xensource.com
Subject: xen-gdbserver  and  missing tty in domU
Date: Wed, 12 Dec 2007 08:24:50 -0500	[thread overview]
Message-ID: <475FE122.4060401@andrew.cmu.edu> (raw)

Hi Folks,

We have compiled freebsd domU with debug info. ( freebsd 7.0 domU 
running on debian etch 4.0 dom0 , xen 3.0.3 hypervisor)

Now I have 2 thing to ask

1. This kernel ( build  with -DNO_MODULES) crashes and I was trying to 
attach xen-gdbserver to its core dump.
  Kernel panics when I attach my gdb client ...

***********************
  (gdb) target remote 127.0.0.1:9999
Remote debugging using 127.0.0.1:9999
[New thread 0]
[Switching to thread 0]
panic (fmt=Cannot access memory at address 0xc06e9384
) at ../../../i386/include/pcpu.h:213
213     ../../../i386/include/pcpu.h: No such file or directory.
       in ../../../i386/include/pcpu.h
warning: no shared library support for this OS / ABI
**************************

I came across a few posts which emphasize on  setting "domu_debug=y" in  
xen/kern.mk file. Need I recompile dom0 so that
  flag takes an effect ? Need we do anything else apart from setting 
this (domu_debug) flag  to get gdbserver running ?

2. Also ,
   xm create -c  /etc/xen/freebsd     gives =>
   Using config file "freebsd".
   Started domain freebsd
   xenconsole: Could not read tty from store: No such file or directory

  I thought this bus was fixed ( as per bugzilla ) . Any pointers ?

Thanks,
Sanket

                 reply	other threads:[~2007-12-12 13:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=475FE122.4060401@andrew.cmu.edu \
    --to=shase@andrew.cmu.edu \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.