How I got things working for openSUSE 11.2:
There’s a difference between the net install CD and the LiveCD. Booting the net install CD will start a graphical yast. The X Server (1.6.5) uses the frame buffer driver (fbdev 0.4.1). I guess it’s doing this because there’s an xorg.conf file on the CD in /etc/X11/ naming only this driver among others like vesa, vbox… . I can install the system without any problems.
After the first reboot (and all following reboots), however, the problems start: the screen blanks and I need to do a power-cycle, the system crashed. Also typing ‘init 3’ at the grub prompt which should leave me in text mode after booting fails as it still tries to open up a X display and the system crashes.
The only way I get any type of command line is to start with ‘init=/bin/bash.’ In BASH I remounted the root file system read-write and set-up a basic X config file by hand. This file only has the server layout, screen and device sections. The device section tells the X server to use the VESA driver (2.2.1). All other sections only contain an identifier and what screen / device section to use. Now I re-started the system, again using ‘init 3’. Half way through the boot process an X display pops up. (Why, I am in run level 3 which should be text mode only?). A few seconds later yast starts and configures the system. Once yast is done the system remains in text mode. Subsequent boots using ‘init 3’ will not open any X displays any more. Now when I type ‘startx’ on the command line the X server works fine. Rebooting the system and staring into run level 5 now also works.
So, the problem after the installation is, that without explicitly telling X to use the VESA driver, it will auto-detect the Intel graphics chip-set and it tries to load the Intel driver coming with openSUSE 11.2’s X.org 7.4 package (zypper info xorg-x11-driver-video Version: 7.4-87.88.1). At the moment I can’t figure out what the correct version number of the Intel driver is. According to the release page of X.org this is 2.4.1. However, this page also says that the version of the X server which is part of X.org 7.4 is 1.5, but from the X log file (/var/log/Xorg.log.0) I get version 1.6.5 for the X server.
On a side note: the grub boot entry Failsafe which specifies x11failsafe doesn’t help. I hoped that this is forcing the use of the VESA driver for X or something similar. Unfortunately, the system still crashes when the X display is initialised. So my guess is that the server still tries to use the Intel driver. By the way can you explain me, why there’s no /var/log/Xorg… file for the crashed X when I reboot using ‘init=/bin/bash’. The file that’s present in /var/log is from a successful run using the VESA driver. Also, the time-stamp doesn’t match the last system boot (it’s too old).
The LiveCD doesn’t come with a pre-configured xorg.conf file so it tries to auto-configure the graphics system at boot time. It will find the Intel chip-set and it will try to load the Intel driver. This is why it crashes once it starts the X server. Starting the LiveCD with ‘init 3’, setting up an xorg.conf file by hand or using sax2 as mentioned by oldcpu, then doing an init 5 and installing the system will work. After the installation, however, the system has the same problems as described above.
How I got things working for openSUSE 11.3:
Kernel 2.6.34rc3
Using X server 1.8
VESA driver 2.2.1
Intel driver 2.11.0
This is a totally different story. First of all I couldn’t install using the net install CD (11.3 milestone 5) because it was crashing even before the lanuage selection, copyright agreement screen was displayed. I got an error code 139. Does the /var/log/yast.log (can’t remember the correct name) contain useful information. I had a brief look at it but couldn’t make out anything related to the crash.
So: from the running 11.2 system I made an update to 11.3, and I renamed the xorg.conf file to use X auto-configuration. After I reboot the system, the screen will be shut-off (including the back light) shortly after the grub boot screen. The system, however, seems to be running fine. Just without any graphical interface. I also didn’t see the openSUSE splash screen that you normally see during the boot process. I can ping the machine and log into it using ssh, so its not crashed.
This is the same effect I observed when running Kubuntu 10.04 which uses kernel 2.6.32. Also, from Kubuntu I knew that using an older kernel (in this case 2.6.31) booted the system just fine. The X server which was started, in this case, used the Intel driver (2.9.1). Unfortunately, openSUSE doesn’t keep the old kernel when upgrading to a new openSUSE version, so I couldn’t easily check if using an old kernel would be working on openSUSE as well. I may try to manually install an old openSUSE kernel see what happens.
From the experience with Kubuntu I knew that this time it wasn’t the Intel driver, which on top of not working is crashing the system, but it is something related to the kernel. My best guess was the kernel driver for the Intel graphics chip-sets (i915) providing frame buffer and kernel based mode setting (KMS) support. Using this guess to search the internet finally returned relevant / helpful results. At the grub prompt, you have two options. You can either specify i915.modeset=0 or acpi=off (which will give you lots of errors initialising devices). Specifying either of these two options will give you back the openSUSE splash screen. However, X (with auto-configuration, and trying to use the Intel driver) will not start complaining about missing KMS support in the kernel. So you’re again stuck with the VESA driver, which at least gives you a running system.
This problem was introduced at some point of the 2.6.32 release cycle as older 32er versions seem to work while everything newer, including kernel version 2.6.3[34] will shut-off the screen.
A very useful link is: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/515246
I need to check what happens if I try to install one of the patched kernels mentioned in that thread. The kernels are for (K)Ubuntu so I guess it won’t be too easy to get them to work in openSUSE, but I’ll try later this week.
Chriss