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-bugs

[Xen-bugs] [Bug 525] New: domU (not dom0+domU) kernel has no pty support

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 525] New: domU (not dom0+domU) kernel has no pty support
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Fri, 10 Feb 2006 00:28:33 +0000
Delivery-date: Fri, 10 Feb 2006 00:49:54 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=525

           Summary: domU (not dom0+domU) kernel has no pty support
           Product: Xen
           Version: unstable
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Guest-OS
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: kilobyte@xxxxxxxxxx


If you build a domU kernel, you don't even get an option to include support for
pseudo terminals -- neither pty98 nor ancient BSD-style ones.  And as ptys are
needed for ssh and a lot of other things, the resulting kernel is next to 
unusable.
In a dom0+domU hybrid kernel, everything is ok -- unless EMBEDDED is defined,
you can't even turn this support off.

I've attached a patch:

--- linux-2.6-xen/drivers/Kconfig       2006-02-07 02:31:38.294878504 +0100
+++ linux-2.6-xen.hg/drivers/Kconfig    2006-02-05 21:08:20.969028600 +0100
@@ -50,9 +50,7 @@

 source "drivers/input/Kconfig"

-endif
 source "drivers/char/Kconfig"
-if !XEN || XEN_PHYSDEV_ACCESS

 source "drivers/i2c/Kconfig"

--- linux-2.6-xen/drivers/char/Kconfig  2006-02-07 02:31:04.909953784 +0100
+++ linux-2.6-xen.hg/drivers/char/Kconfig       2006-02-05 21:08:24.380509976 
+0100
@@ -4,7 +4,6 @@

 menu "Character devices"

-if !XEN || XEN_PHYSDEV_ACCESS
 config VT
        bool "Virtual terminal" if EMBEDDED
        select INPUT
@@ -424,8 +423,6 @@

 source "drivers/serial/Kconfig"

-endif
-# (needed even on Xen domU)
 config UNIX98_PTYS
        bool "Unix98 PTY support" if EMBEDDED
        default y
@@ -480,8 +477,6 @@
          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
@@ -1025,5 +1020,5 @@
          sysfs directory, /sys/devices/platform/telco_clock, with a number of
          files for controlling the behavior of this hardware.

-endif
 endmenu
+

-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-bugs] [Bug 525] New: domU (not dom0+domU) kernel has no pty support, bugzilla-daemon <=