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

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



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


 


Rackspace

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