Skip to contentSkip to conversation

No PTYs with linux-2.6-xen.hg

DISCUSSION Paul Dorman 3 participants 4 messages Dec 1, 2005 – Dec 12, 2005 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

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
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

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:

Quoted 19 lines

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

Signature · 2 lines
jabber:[email protected]
icq:236971856
#2 lore raw

[mail will be delayed due to dumb mailing list policy]

Quoted 4 lines · Hans-Christian Armingeon

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

drivers/char/Kconfig renamed from drivers/char/Kconfig-o +16 -0
diff -u linux-2.6-xen.hg/drivers/char/Kconfig-o linux-2.6-xen.hg/drivers/char/Kconfig
@@ -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
 
drivers/Kconfig renamed from drivers/Kconfig-o +3 -0
diff -u linux-2.6-xen.hg/drivers/Kconfig-o linux-2.6-xen.hg/drivers/Kconfig
@@ -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"
#3 lore raw

Andi's my Hero of the Day! Congratulations Andi ;o)

Quoted 9 lines · Andi Kleen

[mail will be delayed due to dumb mailing list policy]

Quoted 4 lines · Hans-Christian Armingeon

Hi there,

I am having the same problem.
Is anyone working on that issue?

Quoted 7 lines

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
[email protected]
http://lists.xensource.com/xen-devel