xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: "Pasi Kärkkäinen" <pasik@iki.fi>
To: "Nadolski, Ed" <Ed.Nadolski@lsi.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>,
	"Xen-devel@lists.xensource.com" <Xen-devel@lists.xensource.com>
Subject: Re: Using xen-unstable, dom0 hangs during boot
Date: Fri, 26 Feb 2010 16:46:22 +0200	[thread overview]
Message-ID: <20100226144622.GP2761@reaktio.net> (raw)
In-Reply-To: <8115AF16522A3D4383C1FF753036713F9B1B52D8@cosmail01.lsi.com>

On Fri, Feb 26, 2010 at 06:33:27AM -0700, Nadolski, Ed wrote:
> > -----Original Message-----
> > From: Jeremy Fitzhardinge [mailto:jeremy@goop.org]
> > Sent: Thursday, February 25, 2010 4:12 PM
> > To: Nadolski, Ed
> > Cc: Xen-devel@lists.xensource.com
> > Subject: Re: [Xen-devel] Using xen-unstable, dom0 hangs during boot
> >
> > On 02/25/2010 02:18 PM, Nadolski, Ed wrote:
> > > I'm running Fedora 12 (kernel 2.6.31.5-127.fc12.x86_64) on a Dell
> > T7500 Xeon with VT-x and VT-d. After building xen-unstable and
> > rebooting, the dom0 Linux hangs a few seconds after it gets control
> > from Xen, and I have to power-cycle to recover.   Here are the last
> > messages before it hangs:
> > >
> > > [    2.766882] loop: module loaded
> > > [    2.767736] input: Macintosh mouse button emulation as
> > /devices/virtual/input/input2
> > > [    2.769396] xen_set_ioapic_routing: irq 20 gsi 20 vector 20 ioapic
> > 0 pin 20 triggering 1 polarity 1
> > > [    2.770342] achi 0000:00:1f.2: PCI INT C ->  GSI 20 (level, low) -
> > >  IRQ 20
> > > [    2.771158] ahci 0000:00:1f.2: AHCI 0001.0200 32 slots 6 ports 3
> > Gbps 0x27 impl SATA mode
> > > [    2.772078] ahci 0000:00:1f.2: flags: 64bit ncq sntf led clo pio
> > ems
> > > <<hangs at this point>>
> > >
> > > Thoughts?  Any grub parameters I should try for Linux and/or Xen?
> > Any further info I can provide?
> > >
> >
> > What kernel is this?  What's the boot command line?
> 
> The build downloaded the kernel from:
> 
> + git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-pvops.git.tmp
> 
> The serial console output stops before the Linux kernel messages show up, but here is what I have in grub.conf:
> 
> title Fedora12-Xen (2.6.31.6) Xen and dom0 serial console
>         root (hd0,0)
>         kernel /xen-4.0.0-rc4.gz com1=115200,8n1 console=com1
>         module /vmlinuz-2.6.31.6 ro root=UUID=d9c5bf5d-23d1-445e-9210-e6ad0798a0ba nomodeset LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us console=tty0 console=ttyS0,115200
>         module /initramfs-2.6.31.6.img
> 
> but it still fails the same way regardless of the vmlinuz parameters.  With the serial port enabled, the hang happens a bit sooner, at the serial driver init.  Also, no change if I disable VTx/VTd in the BIOS.
> 

You should use grub configuration like this:

title        pv_ops dom0 with a serial console
root         (hd0,0)
kernel       /xen-4.0.0-rc4.gz dom0_mem=1024M loglvl=all guest_loglvl=all sync_console console_to_ring com1=115200,8n1 console=com1
module       /vmlinuz-2.6.31.6 ro root=/dev/vg00/lv01 console=hvc0 earlyprintk=xen nomodeset
module       /initrd-2.6.31.6.img

Modify the root parameter etc for your environment.

Note that vmlinuz (dom0 kernel) needs to have "console=hvc0 earlyprintk=xen"
to log to a serial console through Xen.

-- Pasi

  reply	other threads:[~2010-02-26 14:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-25 22:18 Using xen-unstable, dom0 hangs during boot Nadolski, Ed
2010-02-25 23:11 ` Jeremy Fitzhardinge
2010-02-26 13:33   ` Nadolski, Ed
2010-02-26 14:46     ` Pasi Kärkkäinen [this message]
2010-02-26 20:40       ` Nadolski, Ed
2010-02-28 23:47         ` Nadolski, Ed
2010-03-01 15:10           ` Konrad Rzeszutek Wilk
2010-03-02 19:23             ` dom0 hang in xen-4.0.0-rc5 - possible acpi issue? [WAS: Using xen-unstable, dom0 hangs during boot] Nadolski, Ed
2010-03-03 18:18               ` Konrad Rzeszutek Wilk
2010-03-15 14:59                 ` Nadolski, Ed
2010-03-16 12:52                   ` Konrad Rzeszutek Wilk
2010-03-17 16:34                     ` Nadolski, Ed

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=20100226144622.GP2761@reaktio.net \
    --to=pasik@iki.fi \
    --cc=Ed.Nadolski@lsi.com \
    --cc=Xen-devel@lists.xensource.com \
    --cc=jeremy@goop.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).