WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: No PTYs with linux-2.6-xen.hg

To: Hans-Christian Armingeon <johnny@xxxxxxxxxx>
Subject: [Xen-devel] Re: No PTYs with linux-2.6-xen.hg
From: Andi Kleen <ak@xxxxxxx>
Date: 12 Dec 2005 08:05:05 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 12 Dec 2005 10:35:06 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200512111748.24640.johnny@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1133474930.11038.27.camel@xxxxxxxxxxxxxxxxxxxxx> <200512111748.24640.johnny@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
[mail will be delayed due to dumb mailing list policy]

Hans-Christian Armingeon <johnny@xxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>