Hi there, I''ve got Xen running with 2.6.14 using the linux-2.6-xen.hg code. Things work fine, but I can''t get any terminals running on domu machines because there are no PTYs available. In make xconfig, most of the stuff from Devices get''s lost when you choose the Xen subarchitecture, including Character Devices and the like, which I''d expect to be essential even on a Xen VM. Is this the proper behaviour? Am I missing something in my set up? I''ve noticed that the xen-unstable.hg code still uses 2.6.12 too, where I''d expect it to download 2.6.14. I''m running Debian unstable i386 on an AMD64 box. Thanks in advance, Paul _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Hans-Christian Armingeon
2005-Dec-11 16:48 UTC
Re: [Xen-devel] No PTYs with linux-2.6-xen.hg
Hi there, I am having the same problem. Is anyone working on that issue? Thanks in advance, Johnny Am Donnerstag, 1. Dezember 2005 23:08 schrieb Paul Dorman:> Hi there, > > I''ve got Xen running with 2.6.14 using the linux-2.6-xen.hg code. Things > work fine, but I can''t get any terminals running on domu machines > because there are no PTYs available. > > In make xconfig, most of the stuff from Devices get''s lost when you > choose the Xen subarchitecture, including Character Devices and the > like, which I''d expect to be essential even on a Xen VM. Is this the > proper behaviour? Am I missing something in my set up? > > I''ve noticed that the xen-unstable.hg code still uses 2.6.12 too, where > I''d expect it to download 2.6.14. > > I''m running Debian unstable i386 on an AMD64 box. > > Thanks in advance, > Paul >-- jabber:johnny@wh-netz.de icq:236971856 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
[mail will be delayed due to dumb mailing list policy] Hans-Christian Armingeon <johnny@wh-netz.de> writes:> Hi there, > > I am having the same problem. > Is anyone working on that issue?This patch will fix it. It also reenables other useful character drivers. Only softdog is still MIA. However there are other problems still. e.g. current Xen seems to have broken balloning again. -Andi diff -u linux-2.6-xen.hg/drivers/char/Kconfig-o linux-2.6-xen.hg/drivers/char/Kconfig --- linux-2.6-xen.hg/drivers/char/Kconfig-o 2005-11-16 01:37:04.000000000 +0100 +++ linux-2.6-xen.hg/drivers/char/Kconfig 2005-12-12 07:32:18.000000000 +0100 @@ -4,6 +4,8 @@ menu "Character devices" +if !XEN || XEN_PHYSDEV_ACCESS + config VT bool "Virtual terminal" if EMBEDDED select INPUT @@ -415,6 +417,8 @@ source "drivers/serial/Kconfig" +endif + config UNIX98_PTYS bool "Unix98 PTY support" if EMBEDDED default y @@ -469,6 +473,8 @@ When not in use, each legacy PTY occupies 12 bytes on 32-bit architectures and 24 bytes on 64-bit architectures. +if !XEN || XEN_PHYSDEV_ACCESS + config PRINTER tristate "Parallel printer support" depends on PARPORT @@ -932,6 +938,8 @@ tristate "NEC VR4100 series General-purpose I/O Unit support" depends on CPU_VR41XX +endif + config RAW_DRIVER tristate "RAW driver (/dev/raw/rawN) (OBSOLETE)" help @@ -943,6 +951,8 @@ Applications should simply open the device (eg /dev/hda1) with the O_DIRECT flag. +if !XEN || XEN_PHYSDEV_ACCESS + config HPET bool "HPET - High Precision Event Timer" if (X86 || IA64) default n @@ -974,6 +984,8 @@ exposed to the user. If this applies to your hardware, say N here. +endif + config MAX_RAW_DEVS int "Maximum number of RAW devices to support (1-8192)" depends on RAW_DRIVER @@ -999,7 +1011,11 @@ The mmtimer device allows direct userspace access to the Altix system timer. +if !XEN || XEN_PHYSDEV_ACCESS + source "drivers/char/tpm/Kconfig" +endif + endmenu diff -u linux-2.6-xen.hg/drivers/Kconfig-o linux-2.6-xen.hg/drivers/Kconfig --- linux-2.6-xen.hg/drivers/Kconfig-o 2005-11-16 01:37:04.000000000 +0100 +++ linux-2.6-xen.hg/drivers/Kconfig 2005-12-12 07:11:52.000000000 +0100 @@ -49,9 +49,12 @@ # input before char - char/joystick depends on it. As does USB. source "drivers/input/Kconfig" +endif source "drivers/char/Kconfig" +if !XEN || XEN_PHYSDEV_ACCESS + source "drivers/i2c/Kconfig" source "drivers/w1/Kconfig" _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Andi''s my Hero of the Day! Congratulations Andi ;o) On Mon, 2005-12-12 at 08:05 -0700, Andi Kleen wrote:> [mail will be delayed due to dumb mailing list policy] > > Hans-Christian Armingeon <johnny@wh-netz.de> writes: > > > Hi there, > > > > I am having the same problem. > > Is anyone working on that issue? > > This patch will fix it. It also reenables other useful > character drivers. Only softdog is still MIA. > > However there are other problems still. e.g. current Xen > seems to have broken balloning again. > > -Andi_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel