[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Serial port on the domU

  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "sven waeyenbergh" <sven.waeyenbergh@xxxxxxxxx>
  • Date: Wed, 12 Sep 2007 14:27:54 +0200
  • Delivery-date: Wed, 12 Sep 2007 05:28:33 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=htbdX2Xowr2aPun7rDEKXSLFQiUxFAhu51GA2ABOJvSUrBciHHnYnlZaufhsn4C0xtDA7YNA+xD5sxbQr6/BkzQzmsjUWrFjZqRUPgqlKT9EkLHdpqs0TqOCcjrfFcsrCAYKeQuFe8oPNEwayrpoCxEa7LCfvXVf3gmGCrPakXE=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

i have now created a custom debian xen kernel that works fine and detects the serial ports in domU,
so the problem was indeed the config setting.

if others have the same amount of troubles getting a xen+debian kernel source going,
i found all info in http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-common-official

in short:
prep: add a proper deb-src entry in /etc/apt/sources.list

cd /usr/src
apt-get source linux-2.6
apt-get install build-essential fakeroot
apt-get build-dep linux-2.6
cd linux-2.6-2.6.18.dfsg.1
fakeroot debian/rules binary
fakeroot debian/rules debian/build debian/stamps

vi debian/build/build-amd64-xen-amd64/.config
 + and change the kernel config mentioned in the previous mail

fakeroot make -f debian/rules.gen binary-arch-amd64-xen-amd64

.. and your .debs should be waiting for you in /usr/src


On 9/11/07, Artiom Shamis < artiom.shamis@xxxxxxxxx > wrote:
Thanks a lot, rebuilding kernel with serial driver enabled and without
CONFIG_XEN_DISABLE_SERIAL fixed the problem.
I loaded original kernel I've used without Xen and got the proper
serial ports configuration from there. Then copied settings to vm
.config file, made sure the CONFIG_XEN_DISABLE_SERIAL is not set and
rebuild the kernel.

Thanks for your help,

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.