All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Sander Eikelenboom <linux@eikelenboom.it>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Keir Fraser <keir.fraser@eu.citrix.com>,
	Sisu Xi <xisisu@gmail.com>
Subject: Re: problem using compiled kernel -- Sisu
Date: Wed, 4 Aug 2010 10:24:51 -0400	[thread overview]
Message-ID: <20100804142451.GB23544@phenom.dumpdata.com> (raw)
In-Reply-To: <4C584B54.1030407@goop.org>

On Tue, Aug 03, 2010 at 10:01:08AM -0700, Jeremy Fitzhardinge wrote:
>  On 08/02/2010 08:25 PM, Sisu Xi wrote:
> >
> >Fedora release 13 (Goddard)
> >
> >Kernel 2.6.32.16 on an x86_64 (/dev/hvc0)
> >
> >
> >
> >flamenco118.cse.wustl.edu login: (XEN) mm.c:3852:d0 Bad page
> >00000000000b918f: ed=ffff830124ff0000(0), sd=ffff830124ff0000,
> >caf=8000000000000002, taf=7400000000000001
> >(XEN) mm.c:3852:d0 Bad page 00000000000b6850: ed=ffff830124ff0000(0),
> >sd=ffff830124ff0000, caf=8000000000000002, taf=7400000000000001

That is interesting. I see those when I used PVGRUB and launched
a guest that would utilize Xen-SWIOTLB. Thought I wouldn't have the 'd0'
but rather the guest domain id.

I did found out that if I did not use PVGRUB but just used the kernel
directly:

kernel = "/mnt/tmp/vmlinuz-2.6.34NEB"
ramdisk = "/mnt/tmp/initramfs-2.6.34NEB.img"
extra ="ro root=/dev/mapper/vg_vs03-lv_root rd_LVM_LV=vg_vs03/lv_root rd_LVM_LV=vg_vs03/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us console=hvc0 debug init=/bin/bash"

#kernel = "/usr/lib/xen/boot/pv-grub-x86_64.gz"
#kernel = "/home/konrad/ssd/neb/xen/stubdom/mini-os-x86_64-grub/mini-os.gz"
#extra = "(hd0,0)/grub/menu.lst"

these errors would disappear. So I blamed it on MiniOS, but haven't gone
any further than that :-(

FYI, this is what I see on the serial console:
 
(XEN) mm.c:4147:d1 Bad page 00000000001321bb: ed=ffff830188ce0000(1),
sd=ffff830188ce0000, caf=8000000000000002, taf=7400000000000001
[    0.000000] Kernel panic - not syncing: DMA(-12): Failed to exchange
pages allocated for DMA with Xen! We either don't have the permission or
you do not have enoughfree memory under 4GB!
[    0.000000] 
[    0.000000] Pid: 0, comm: swapper Not tainted 2.6.34NEB #1
[    0.000000] Call Trace:
[    0.000000]  [<ffffffff814536ac>] panic+0x73/0xee
[    0.000000]  [<ffffffff810052c2>] ?
xen_create_contiguous_region+0xd3/0xee
[    0.000000]  [<ffffffff818c6946>] xen_swiotlb_init+0x10a/0x142
[    0.000000]  [<ffffffff8145ceb5>] ? _etext+0x0/0x3

I wonder if he is doing some sort of exchange MFNs and that triggers
this.

Sisu, can you make your Xen command line be as so:
 guest_loglvl=all loglvl=all console=com1,vga com1=115200,8n1 console_to_ring sync_console 

The 'console_to_ring' is of interest here.

  reply	other threads:[~2010-08-04 14:24 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-26 21:57 problem using compiled kernel -- Sisu Sisu Xi
2010-07-27  2:02 ` Jeremy Fitzhardinge
2010-07-27  2:13   ` Sisu Xi
     [not found]     ` <AANLkTimOUJLndxscJW5CehXYYe0gWUFqsc8PSxewFpAM@mail.gmail.com>
2010-07-27  3:05       ` Jeremy Fitzhardinge
2010-07-27  3:08         ` Sisu Xi
     [not found]           ` <AANLkTimoL+A=nX7+zqY6+LVuzgNKGrW8eyaJTtS_NqFK@mail.gmail.com>
2010-07-27 17:05             ` Jeremy Fitzhardinge
2010-07-27 17:52               ` Sisu Xi
2010-07-27 19:01                 ` Jeremy Fitzhardinge
2010-07-27 19:19                   ` Sisu Xi
2010-07-27 20:23                     ` Konrad Rzeszutek Wilk
2010-07-27 20:37                     ` Pasi Kärkkäinen
2010-07-27 21:09                       ` Keir Fraser
2010-07-27 21:59                         ` Sander Eikelenboom
2010-07-28  7:49                           ` Keir Fraser
2010-07-28 16:53                             ` Sisu Xi
2010-07-28 17:49                               ` Konrad Rzeszutek Wilk
2010-07-28 22:14                                 ` Sisu Xi
2010-07-30  0:29                                   ` Sisu Xi
2010-07-30  0:35                                     ` Jeremy Fitzhardinge
2010-07-30  0:40                                       ` Sisu Xi
2010-07-30 17:47                                       ` Sisu Xi
2010-07-30 21:20                                         ` Sisu Xi
2010-07-30 21:21                                           ` Sisu Xi
2010-07-30 21:25                                             ` Sisu Xi
2010-08-02 16:54                                             ` Jeremy Fitzhardinge
2010-08-02 18:02                                               ` Sisu Xi
2010-08-03  3:25                                                 ` Sisu Xi
2010-08-03  6:23                                                   ` Keir Fraser
2010-08-03 17:01                                                   ` Jeremy Fitzhardinge
2010-08-04 14:24                                                     ` Konrad Rzeszutek Wilk [this message]
2010-08-04 17:55                                                     ` Sisu Xi
2010-08-04 19:06                                                       ` Konrad Rzeszutek Wilk
2010-08-04 19:12                                                         ` Sisu Xi
2010-08-02 14:49                                           ` Konrad Rzeszutek Wilk
2010-08-02 15:24                                             ` Jeremy Fitzhardinge
2010-08-02 15:29                                               ` Konrad Rzeszutek Wilk
2010-08-02 15:37                                                 ` Jeremy Fitzhardinge
2010-08-02 15:48                                                   ` Sisu Xi
2010-08-02 16:02                                                     ` Konrad Rzeszutek Wilk
2010-08-02 14:44                                         ` Konrad Rzeszutek Wilk
2010-08-02 15:58                                         ` Jean-Yves Landry
2010-08-02 13:21                             ` Sander Eikelenboom
2010-08-10  7:36                               ` Keir Fraser
2010-08-10  9:57                                 ` Xen Grub2 testing needed Pasi Kärkkäinen
2010-08-10 14:27                                 ` problem using compiled kernel -- Sisu Sander Eikelenboom
2010-08-10 14:41                                   ` Keir Fraser
2010-07-28  4:51                         ` Mike Viau
2010-07-27  6:09 ` Pasi Kärkkäinen
2010-07-27 16:26   ` Sisu Xi
2010-07-27 20:27     ` Pasi Kärkkäinen
2010-08-03 11:04 ` Stefan Kuhne
2010-08-03 20:37 ` (XEN) d0:v0: unhandled page fault (ec=0009) Stefan Kuhne
2010-08-03 22:15   ` Jeremy Fitzhardinge
2010-08-03 22:22     ` Stefan Kuhne
2010-08-03 22:37       ` Jeremy Fitzhardinge
2010-08-04  5:58         ` Stefan Kuhne
2010-08-04  8:45         ` Stefan Kuhne
2010-08-04 14:09           ` Konrad Rzeszutek Wilk
2010-08-04 15:46             ` Stefan Kuhne
2010-08-04 20:12             ` Stefan Kuhne
2010-08-06 14:49               ` Konrad Rzeszutek Wilk
2010-08-06 14:50                 ` Konrad Rzeszutek Wilk
2010-08-06 20:12                 ` Stefan Kuhne
2010-08-09  4:41                   ` Konrad Rzeszutek Wilk
2010-08-09  7:06                     ` Stefan Kuhne
2010-08-10  8:15                     ` Stefan Kuhne
2010-08-13 15:24                 ` Stefan Kuhne
2010-08-06  9:10             ` Stefan Kuhne

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=20100804142451.GB23544@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=jeremy@goop.org \
    --cc=keir.fraser@eu.citrix.com \
    --cc=linux@eikelenboom.it \
    --cc=xen-devel@lists.xensource.com \
    --cc=xisisu@gmail.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.