View previous topic :: View next topic |
Author |
Message |
PatomaS Tux's lil' helper
Joined: 09 Feb 2006 Posts: 128
|
Posted: Wed Jun 12, 2013 3:33 pm Post subject: No X in Xen |
|
|
Hi
I'm doing a fresh installation and the system boots perfectly, once started, I can use LXDE, enlightenment e17 and fluxbox without problems.
After getting the system to work properly, I started installing Xen, the installation was not specially easy, but not too difficult, so far. Although I had to get bits of information from many sources since none got me a complete bootable system.
My problem is that once I boot into xen, when I run startx, nothing happens, the screen just stays black. I can log with SSH to the system and is not frozen, but no desktop ever appears on screen.
this is the relevant software:
- app-emulation/xen-tools [4.2.1-r3]
- app-emulation/xen [4.2.1-r3]
- x11-base/xorg-server [1.13.4:0/1.13.4]
- sys-boot/grub [2.00-r3:2]
- x11-drivers/ati-drivers [13.1:1]
- sys-kernel/gentoo-sources [3.8.13:3.8.13]
I should also mention that when I boot with the normal kernel, I have framebuffer working fine, but when I boot in Xen, there is no framebuffer, just the old 80x25 resolution.
These are some configuration files and logs
When xen boots xenstored, xend and xenconsoled are started in default runlevel.
Any help to get this working will be most appreciated since I have no clue where to start fixing this situation.
If any more information is required, let me know and I'll post it as soon as I can.
Thanks in advance.
Bye _________________ ¡ hey, hou, hou, hey ! |
|
Back to top |
|
|
PatomaS Tux's lil' helper
Joined: 09 Feb 2006 Posts: 128
|
Posted: Mon Jun 17, 2013 6:30 am Post subject: |
|
|
Hi
No ideas?
Or is it that X just doesn't work on Xen? I thought it did.
Bye _________________ ¡ hey, hou, hou, hey ! |
|
Back to top |
|
|
TigerJr Guru
Joined: 19 Jun 2007 Posts: 540
|
Posted: Mon Jul 22, 2013 11:37 am Post subject: Unsolved! |
|
|
i think this is framebuffer problems.
Many times i try to recompile kernels from 3.6.10 to 3.10.1, whith xen-4.2.2 pae xen hvm support, trying to install xorg-server (whith ati-drivers or nvidia-drivers).
And then i start xorg-server i get blank screen!
And what i get here:
Grub-0.9.7-r12 config:
Code: |
title Gentoo Linux 3.9.8
root (hd0,5)
kernel /boot/vmlinuz-3.9.8-gentoo-xen-inc real_root=/dev/sda6 root=/dev/sda6 ro
|
xorg-server started whithout problems!
/etc/init.d/xenstored start
* Starting xenstored daemon ...
xc: error: Could not obtain handle on privileged command interface (2 = No such file or directory): Internal error
FATAL: Failed to open connection to hypervisor: No such file or directory
* Setting domain0 name record
xenstore-write: xs_open: No such file or directory
there is no problem when i try to start xenstored daemon whithout hypervisor prebooted kernel
Grub-0.9.7-r12 Xen config:
Code: |
title Gentoo Xen 4.2.2
root (hd0,5)
kernel /boot/xen-4.2.2.gz real_root=/dev/sda6
module /boot/vmlinuz-3.9.8-gentoo-xen-inc root=/dev/sda6 ro
|
Code: | /etc/init.d/xenstored start |
xenstored started whithout problems!!!!!!!!!!!
BUT!
Code: | /etc/init.d/xdm start |
xorg-server shows up the blank screen
[ 75.952400] <6>[fglrx] Firegl kernel thread PID: 2229
[ 75.952716] <6>[fglrx] Firegl kernel thread PID: 2230
[ 75.952839] <6>[fglrx] Firegl kernel thread PID: 2231
[ 75.953021] <6>[fglrx] IRQ 79 Enabled
[ 75.984638] <6>[fglrx] Reserved FB block: Shared offset:0, size:1000000
[ 75.984641] <6>[fglrx] Reserved FB block: Unshared offset:f8fe000, size:402000
[ 75.984643] <6>[fglrx] Reserved FB block: Unshared offset:3fff4000, size:c000
Code: | cat /var/log/Xorg.0.log |
[ 72.837]
X.Org X Server 1.13.4
Release Date: 2013-04-17
[ 72.837] X Protocol Version 11, Revision 0
[ 72.837] Build Operating System: Linux 3.7.10-gentoo.xen-inc-ds x86_64 Gentoo
[ 72.837] Current Operating System: Linux localhost 3.8.13-gentoo.xen-inc-ds #1 SMP Wed May 22 20:01:07 MSK 2013 x86_64
[ 72.837] Kernel command line: root=/dev/sda6 ro
[ 72.837] Build Date: 29 April 2013 07:58:33PM
[ 72.837]
[ 72.837] Current version of pixman: 0.26.0
[ 72.837] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 72.837] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 72.837] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jul 22 15:08:17 2013
[ 72.869] (==) Using config file: "/etc/X11/xorg.conf"
[ 72.869] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 72.907] (==) ServerLayout "aticonfig Layout"
[ 72.907] (**) |-->Screen "ati-Screen-1" (0)
[ 72.907] (**) | |-->Monitor "ati-Monitor-1"
[ 72.918] (**) | |-->Device "ati-Device-1"
[ 72.918] (**) |-->Screen "ati-Screen-0" (1)
[ 72.918] (**) | |-->Monitor "ati-Monitor-0"
[ 72.918] (**) | |-->Device "ati-Device-0"
[ 72.919] (**) Option "Xinerama" "on"
[ 72.919] (**) Option "AIGLX" "On"
[ 72.919] (==) Automatically adding devices
[ 72.919] (==) Automatically enabling devices
[ 72.919] (==) Automatically adding GPU devices
[ 72.919] (**) Xinerama: enabled
[ 72.930] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[ 72.930] Entry deleted from font path.
[ 72.930] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 72.930] Entry deleted from font path.
[ 72.930] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 72.930] Entry deleted from font path.
[ 72.930] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 72.930] Entry deleted from font path.
[ 72.930] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[ 72.930] Entry deleted from font path.
[ 72.930] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[ 72.930] Entry deleted from font path.
[ 72.930] (==) FontPath set to:
[ 72.930] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 72.930] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 72.930] (II) Loader magic: 0x81abc0
[ 72.930] (II) Module ABI versions:
[ 72.930] X.Org ANSI C Emulation: 0.4
[ 72.930] X.Org Video Driver: 13.1
[ 72.930] X.Org XInput driver : 18.0
[ 72.930] X.Org Server Extension : 7.0
[ 72.936] (--) PCI:*(0:1:0:0) 1002:68c1:104d:9071 rev 0, Mem @ 0xe0000000/268435456, 0xf0020000/131072, I/O @ 0x0000d000/256, BIOS @ 0x????????/131072
[ 72.936] (II) Open ACPI successful (/var/run/acpid.socket)
[ 72.937] Initializing built-in extension Generic Event Extension
[ 72.937] Initializing built-in extension SHAPE
[ 72.937] Initializing built-in extension MIT-SHM
[ 72.937] Initializing built-in extension XInputExtension
[ 72.937] Initializing built-in extension XTEST
[ 72.937] Initializing built-in extension BIG-REQUESTS
[ 72.937] Initializing built-in extension SYNC
[ 72.937] Initializing built-in extension XKEYBOARD
[ 72.937] Initializing built-in extension XC-MISC
[ 72.937] Initializing built-in extension XINERAMA
[ 72.938] Initializing built-in extension XFIXES
[ 72.938] Initializing built-in extension RENDER
[ 72.938] Initializing built-in extension RANDR
[ 72.938] Initializing built-in extension COMPOSITE
[ 72.938] Initializing built-in extension DAMAGE
[ 72.938] Initializing built-in extension MIT-SCREEN-SAVER
[ 72.938] Initializing built-in extension DOUBLE-BUFFER
[ 72.938] Initializing built-in extension RECORD
[ 72.938] Initializing built-in extension DPMS
[ 72.938] Initializing built-in extension X-Resource
[ 72.938] Initializing built-in extension XVideo
[ 72.938] Initializing built-in extension XVideo-MotionCompensation
[ 72.938] Initializing built-in extension XFree86-VidModeExtension
[ 72.938] Initializing built-in extension XFree86-DGA
[ 72.938] Initializing built-in extension XFree86-DRI
[ 72.938] Initializing built-in extension DRI2
[ 72.938] (II) "glx" will be loaded by default.
[ 72.938] (II) LoadModule: "glx"
[ 72.985] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 73.016] (II) Module glx: vendor="Advanced Micro Devices, Inc."
[ 73.016] compiled for 6.9.0, module version = 1.0.0
[ 73.017] Loading extension GLX
[ 73.017] (II) LoadModule: "fglrx"
[ 73.047] (II) Loading /usr/lib64/xorg/modules/drivers/fglrx_drv.so
[ 73.435] (II) Module fglrx: vendor="FireGL - AMD Technologies Inc."
[ 73.435] compiled for 1.4.99.906, module version = 12.10.5
[ 73.435] Module class: X.Org Video Driver
[ 73.436] (II) Loading sub module "fglrxdrm"
[ 73.436] (II) LoadModule: "fglrxdrm"
[ 73.436] (II) Loading /usr/lib64/xorg/modules/linux/libfglrxdrm.so
[ 73.454] (II) Module fglrxdrm: vendor="FireGL - AMD Technologies Inc."
[ 73.454] compiled for 1.4.99.906, module version = 12.10.5
[ 73.454] (II) AMD Proprietary Linux Driver Version Identifier:12.10.05
[ 73.454] (II) AMD Proprietary Linux Driver Release Identifier: 12.104
[ 73.455] (II) AMD Proprietary Linux Driver Build Date: Mar 28 2013 21:07:25
[ 73.455] (++) using VT number 7
[ 73.461] (WW) Falling back to old probe method for fglrx
[ 73.600] (II) Loading PCS database from /etc/ati/amdpcsdb /etc/ati/amdpcsdb.default
[ 73.623] ukiDynamicMajor: found major device number 248
[ 73.623] ukiDynamicMajor: found major device number 248
[ 73.623] ukiOpenByBusid: Searching for BusID PCI:1:0:0
[ 73.623] ukiOpenDevice: node name is /dev/ati/card0
[ 73.624] ukiOpenDevice: open result is 8, (OK)
i get this every time i try to start xorg-server whith xen hypervisor kernel, but screen every time is blanked!!!!!!!!
so i wait for new kernel release and trying to reinstall xen whith xorg-server from time to time, i didn't get any help in internet.
P.S. I would try to use nouveau driver from modern kernels to make xorg-server work with xen _________________ Do not use gentoo, it die |
|
Back to top |
|
|
Mardok45 n00b
Joined: 21 Jun 2008 Posts: 69 Location: Right behind you
|
Posted: Mon Jul 22, 2013 9:40 pm Post subject: |
|
|
Try adding nopat to your kernel commandline:
Code: |
title Gentoo Linux 3.9.8
root (hd0,5)
kernel /boot/vmlinuz-3.9.8-gentoo-xen-inc real_root=/dev/sda6 root=/dev/sda6 ro nopat
|
|
|
Back to top |
|
|
TigerJr Guru
Joined: 19 Jun 2007 Posts: 540
|
Posted: Tue Jul 23, 2013 8:22 am Post subject: |
|
|
Mardok45 wrote: | Try adding nopat to your kernel commandline:
Code: |
title Gentoo Linux 3.9.8
root (hd0,5)
kernel /boot/vmlinuz-3.9.8-gentoo-xen-inc real_root=/dev/sda6 root=/dev/sda6 ro nopat
|
|
This is working boot whithout hypervisor, please read more than 5 strings. (
Code: |
title Gentoo Xen 4.2.2
root (hd0,5)
kernel /boot/xen-4.2.2.gz real_root=/dev/sda6
module /boot/vmlinuz-3.9.8-gentoo-xen-inc root=/dev/sda6 ro nopat?
|
If you mean boot Xen prebooted kernel whithout pat support? But how it can resolve framebuffer problems?
But thanks for try
I download kernel linux-3.9.11, and compilled it with nouveau support (without nvidia-drivers support)
Code: | emerge =gentoo-sources-3.9.11
eselect kernel set linux-3.9.11-gentoo
cd /usr/src/linux
make -j3 menuconfig
Device Drivers > Graphics support > Nouveau (nVidia) cards
|
WARNING: gentoo-source-3.9.11 is masked by ~amd64 keyworld
Code: | nano /etc/portage/make.conf
VIDEO_CARDS="nvidia nouveau"
|
install xf86-drivers-nouveau
Code: | emerge xf86-drivers-nouveau |
reinstall messa && x11-drivers whith nouveau support
Code: |
emerge mesa $(qlist -I -C x11-drivers) -a
|
Edit xorg.conf and set nouveau video driver to use
Code: |
nano /etc/X11/xorg.conf
Section "Device"
Identifier "Card0"
Driver "nouveau"
BusID "PCI:1:0:0"
EndSection
|
Identifier and BusID can be different on your system.
Then edit your grub menu.lst
Code: |
nano /boot/grub/menu.lst
title Gentoo Xen 4.2.2
root (hd0,5)
kernel /boot/xen-4.2.2.gz real_root=/dev/sda6
module /boot/vmlinuz-3.9.11-gentoo-xen-nouveau root=/dev/sda6 ro
|
/etc/init.d/xenstored started well
/etc/init.d/xdm started without a problem!!!
In that case proprietary drivers doesn't work well with xen kernels!!!
P.S. If you need to use ati framebufer driver, please let me know i repost howto here _________________ Do not use gentoo, it die |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|