xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Harmandeep Kaur <write.harmandeep@gmail.com>
Cc: xen-devel@lists.xenproject.org,
	Dario Faggioli <dario.faggioli@citrix.com>
Subject: Re: Blank screen while booting xen
Date: Mon, 11 Jan 2016 13:06:28 -0500	[thread overview]
Message-ID: <20160111180628.GA12283@char.us.oracle.com> (raw)
In-Reply-To: <CAPtdW15M4D7Xcza6XRUeXSEWhJ1pMMEmS2qrO54-xho9uF2Yfg@mail.gmail.com>

On Mon, Jan 11, 2016 at 11:15:43PM +0530, Harmandeep Kaur wrote:
> On Mon, Jan 11, 2016 at 11:00 PM, Konrad Rzeszutek Wilk
> <konrad.wilk@oracle.com> wrote:
> > On Mon, Jan 11, 2016 at 10:56:07PM +0530, Harmandeep Kaur wrote:
> >> On Mon, Jan 11, 2016 at 8:23 PM, Konrad Rzeszutek Wilk
> >> <konrad.wilk@oracle.com> wrote:
> >> > On Mon, Jan 11, 2016 at 12:57:27AM +0530, Harmandeep Kaur wrote:
> >> >> Hi,
> >> >>
> >> >> I tried to modify and compile some of Xen 4.7's code
> >> >> (cloned from git clone git://xenbits.xen.org/xen.git)
> >> >> and even with a very minor change (patch included at last)
> >> >> my xen failed to boot. It stucks at black blank screen after
> >> >> showing some xen logs.
> >> >
> >> > What is on your Linux command line? Do you have 'console=hvc0' ?
> >> my /etc/defaults/grub   http://paste2.org/BkOOOskh
> >> my /boot/grub/grub.cfg http://paste2.org/Ks49MZEh
> >> >
> >> >>
> >> >> By adding "vga=text-80x80,keep" to the grub before booting
> >> >> xen., infinite loop of text
> >> >> "(XEN) traps.c:3290: GPF (0000): ffff82d0801af4d5 -> ffff82d080240e5a"
> >> >> appears.
> >> >>
> >> >> I tried to compile and boot xen reverting the change, but
> >> >> same issue still exists.
> >> >>
> >> >> Also I tried to setup serial console but my output is garbled.
> >> >> More info on it here,
> >> >> http://lists.xenproject.org/archives/html/xen-devel/2015-12/msg02045.html
> >> >>
> >> >> I tried different software (cu, gtkterm), different baud rates,
> >> >> different serial-USB cable and stopping modemmanager,
> >> >> but no luck.
> >> >
> >> > How did you set the baudrate? I usually do 'screen /dev/ttyUSB0 115200 cs8'
> >> > ?
> >>
> >> I also tried the same with screen just without the cs8 keyword.
> >>
> >> >>
> >> >> I am using i3-6100 processor, if that info is needed.I will
> >> >> appreciate any help.
> >> >
> >> > dmesg | grep tty
> >>
> >> $ dmesg | grep tty
> >> [       0.000000] console [tty0] enabled
> >> [       4.537790] systemd[1]: Created slice system-getty.slice.
> >> [11542.458553] usb 1-4: pl2303 converter now attache
> >
> >
> > This is on your box with the USB dongle. I meant the other one.
> >
> here it is
> $ dmesg | grep tty
> [    0.000000] console [tty0] enabled
> [    0.786850] 00:04: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200)
> is a 16550A
> 
> > Maybe we should step back a bit. On the machine on which you
> > want to install Xen - does it work if you install say
> > Fedora Core 23 and after installing, you do 'yum install xen' ?
> > Can you boot with that? Then at least we will know whether an
> > packaged version of Xen works on your machine.
> 
> Yes, it works. I tried that with xen 4.5 on Ubuntu 15.10.
> Also, even my compiled version(4.7) used to run before
> my modification.

OK, so I would suggest you try again with the serial console but
using the non-modified hypervisor version. See if you can get the serial to work.

I would suggest you use screen as the other (cu, minicons) - I had issues
with them with USB devices. While screen also allows you to log them.

And do please check that you have 'console=com1 com1=115200,8n1 loglvl=all' on
your Xen command line. And on Linux 'console=hvc0'.

Once you have the serial working with the un-modified version I would
try the modified and see where it gets stuck.

  reply	other threads:[~2016-01-11 18:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-10 19:27 Blank screen while booting xen Harmandeep Kaur
2016-01-11 14:53 ` Konrad Rzeszutek Wilk
2016-01-11 17:26   ` Harmandeep Kaur
2016-01-11 17:30     ` Konrad Rzeszutek Wilk
2016-01-11 17:45       ` Harmandeep Kaur
2016-01-11 18:06         ` Konrad Rzeszutek Wilk [this message]
2016-01-14 14:03           ` Harmandeep Kaur

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=20160111180628.GA12283@char.us.oracle.com \
    --to=konrad.wilk@oracle.com \
    --cc=dario.faggioli@citrix.com \
    --cc=write.harmandeep@gmail.com \
    --cc=xen-devel@lists.xenproject.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).