From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Marc - A. Dahlhaus [ Administration | Westermann GmbH ]" Subject: Re: Announcing xen/master: pvops git trees rearranged Date: Mon, 21 Sep 2009 11:18:27 +0200 Message-ID: <1253524707.29011.49.camel@marc> References: <4AB431AD.1030205@goop.org> <4AB4B439.7020001@wol.de> <4AB682AA.9050906@wol.de> <20090921062247.GH31123@reaktio.net> <1253522943.29011.36.camel@marc> <20090921090331.GJ31123@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20090921090331.GJ31123@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Pasi =?ISO-8859-1?Q?K=E4rkk=E4inen?= Cc: Jeremy Fitzhardinge , Xen-devel List-Id: xen-devel@lists.xenproject.org Am Montag, den 21.09.2009, 12:03 +0300 schrieb Pasi K=E4rkk=E4inen: > On Mon, Sep 21, 2009 at 10:49:03AM +0200, Marc - A. Dahlhaus [ Administ= ration | Westermann GmbH ] wrote: --8<-- > > title XEN pv_ops dom0 > > root (hd0,1) > > kernel /boot/xen.gz dom0_mem=3D512M loglvl=3Dall guest_loglvl=3Dall > > module /boot/bzImage-2.6.31-xen ro root=3DLABEL=3DROOT earlyprintk=3D= xen 4 > > module /boot/initramfs-2.6.31-xen > >=20 > > With this one i get no output from the kernel itself at all, i think = i > > have some things build as modules in my .config that needs to be buil= din > > for a working vga console (might be that i need to change the > > earlyprintk param to vga) but didn't had the time to hunt the problem > > down. > >=20 > >=20 > > title XEN pv_ops dom0 with serial console > > root (hd0,1) > > kernel /boot/xen.gz dom0_mem=3D512M loglvl=3Dall guest_loglvl=3Dall > > com1=3D9600,8n1 console=3Dcom1 > > module /boot/bzImage-2.6.31-xen ro root=3DLABEL=3DROOT console=3DttyS= 0,9600n8 > > earlyprintk=3Dxen 4 > > module /boot/initramfs-2.6.31-xen > >=20 > > That's the one i used to grab the log. > >=20 > > This is a i945 based box with an Core 2 Duo E8400 and 4GB Ram install= ed > > but only 2912584k usable because of an PCI-Card that supports only 32= bit > > addressing (appropriated-ram-crap). Could this be a problem? I try to > > test again with 2GB Ram installed this evening and report if it gets = any > > further... > >=20 >=20 > Here are my working grub.conf entries for pv_ops dom0: >=20 > VGA text console: >=20 > title Fedora Xen pv_ops dom0-test (2.6.31-rc5) > root (hd0,0) > kernel /xen.gz dom0_mem=3D1024M loglvl=3Dall guest_loglvl=3Dall > module /vmlinuz-2.6.31-rc5 ro root=3D/dev/mapper/vg_dom0test-lv= 01 > module /initrd-2.6.31-rc5.img >=20 >=20 > Serial console: >=20 > title Fedora Xen pv_ops dom0-test (2.6.31-rc5) / serial console > root (hd0,0) > kernel /xen.gz dom0_mem=3D1024M loglvl=3Dall guest_loglvl=3Dall= com1=3D19200,8n1 console=3Dcom1 > module /vmlinuz-2.6.31-rc5 ro root=3D/dev/mapper/vg_dom0test-lv= 01 console=3Dhvc0 earlyprintk=3Dxen > module /initrd-2.6.31-rc5.img >=20 > When using serial console with Xen you don't need to specify serial con= sole stuff for the dom0 kernel.. > Also note the 'console=3Dhvc0' for dom0 kernel.. Isn't the selection of hvc0 as main console supposed to work out automatically? Looks like a bug if it isn't. Anyway thanks for the hint. Will give it a try with a grub config adapted to yours later today. Are there still problems related to specific CONFIG_ options which i should deactivate in my build? The xen related options i used (only frontends build as modules): [mad@darkstar ~]$ grep XEN /boot/config-2.6.31-xen CONFIG_XEN=3Dy CONFIG_XEN_MAX_DOMAIN_MEMORY=3D8 CONFIG_XEN_SAVE_RESTORE=3Dy # CONFIG_XEN_DEBUG_FS is not set CONFIG_XEN_DOM0=3Dy CONFIG_XEN_PRIVILEGED_GUEST=3Dy CONFIG_XEN_DOM0_PCI=3Dy CONFIG_MICROCODE_XEN=3Dy CONFIG_PCI_XEN=3Dy CONFIG_XEN_BLKDEV_FRONTEND=3Dm CONFIG_XEN_NETDEV_FRONTEND=3Dm CONFIG_XEN_KBDDEV_FRONTEND=3Dm CONFIG_HVC_XEN=3Dy CONFIG_XEN_FBDEV_FRONTEND=3Dm CONFIG_XEN_BALLOON=3Dy CONFIG_XEN_SCRUB_PAGES=3Dy CONFIG_XEN_DEV_EVTCHN=3Dy CONFIG_XEN_BACKEND=3Dy CONFIG_XEN_BLKDEV_BACKEND=3Dy CONFIG_XEN_NETDEV_BACKEND=3Dy CONFIG_XENFS=3Dy CONFIG_XEN_COMPAT_XENFS=3Dy CONFIG_XEN_SYS_HYPERVISOR=3Dy CONFIG_XEN_XENBUS_FRONTEND=3Dm CONFIG_XEN_S3=3Dy CONFIG_ACPI_PROCESSOR_XEN=3Dy Marc