X server not starting after update

I am running openSuSE Tumbleweed in a VirtualBox VM (version 5.0.16). I have recently performed an update and now my X server won’t start. I have attached the logfile below. I am only using standard repositories and Packman. Manual startx fails just the same as xdm at boot. I will happily provide more information but am a bit out of ideas. I have not touched anything to deserve this behaviour except for performing my updates.

    21.001] 
X.Org X Server 1.18.1
Release Date: 2016-02-08
    21.001] X Protocol Version 11, Revision 0
    21.001] Build Operating System: openSUSE SUSE LINUX
    21.001] Current Operating System: Linux linux-c2pt 4.5.0-1-default #1 SMP PREEMPT Wed Mar 16 17:30:21 UTC 2016 (b2c9ae5) x86_64
    21.001] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.5.0-1-default root=UUID=e235b0b4-06c5-40b2-a9e1-8d54bac73bba root=/dev/disk/by-id/ata-VBOX_HARDDISK_VB02c5e8d0-f29897ba-part1 disk=/dev/disk/by-id/ata-VBOX_HARDDISK_VB02c5e8d0-f29897ba resume=swap quiet splash=silent
    21.001] Build Date: 07 March 2016  02:09:18PM
    21.001]  
    21.001] Current version of pixman: 0.34.0
    21.001]  Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    21.001] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    21.001] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar 19 08:12:59 2016
    21.035] (==) Using config directory: "/etc/X11/xorg.conf.d"
    21.035] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    21.121] (==) No Layout section.  Using the first Screen section.
    21.121] (==) No screen section available. Using defaults.
    21.121] (**) |-->Screen "Default Screen Section" (0)
    21.121] (**) |   |-->Monitor "<default monitor>"
    21.121] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    21.121] (==) Automatically adding devices
    21.121] (==) Automatically enabling devices
    21.121] (==) Automatically adding GPU devices
    21.121] (==) Max clients allowed: 256, resource mask: 0x1fffff
    21.243] (WW) The directory "/usr/share/fonts/misc/sgi" does not exist.
    21.243]  Entry deleted from font path.
    21.243] (==) FontPath set to:
    /usr/share/fonts/misc:unscaled,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/75dpi:unscaled,
    /usr/share/fonts/ghostscript/,
    /usr/share/fonts/cyrillic:unscaled,
    /usr/share/fonts/truetype/,
    built-ins
    21.244] (==) ModulePath set to "/usr/lib64/xorg/modules"
    21.244] (**) Extension "XFree86-DGA" is disabled
    21.244] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
    21.244] (II) Loader magic: 0x814ce0
    21.244] (II) Module ABI versions:
    21.244]  X.Org ANSI C Emulation: 0.4
    21.244]  X.Org Video Driver: 20.0
    21.244]  X.Org XInput driver : 22.1
    21.244]  X.Org Server Extension : 9.0
    21.245] (++) using VT number 7

    21.245] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
    21.246] (II) xfree86: Adding drm device (/dev/dri/card0)
    21.252] (--) PCI:*(0:0:2:0) 80ee:beef:0000:0000 rev 0, Mem @ 0xe0000000/67108864
    21.252] (II) LoadModule: "glx"
    21.309] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
    21.807] (II) Module glx: vendor="X.Org Foundation"
    21.807]  compiled for 1.18.1, module version = 1.0.0
    21.807]  ABI class: X.Org Server Extension, version 9.0
    21.807] (==) AIGLX enabled
    21.807] (==) Matched vboxvideo as autoconfigured driver 0
    21.807] (==) Matched vboxvideo as autoconfigured driver 1
    21.807] (==) Matched modesetting as autoconfigured driver 2
    21.807] (==) Matched fbdev as autoconfigured driver 3
    21.807] (==) Matched vesa as autoconfigured driver 4
    21.807] (==) Assigned the driver to the xf86ConfigLayout
    21.807] (II) LoadModule: "vboxvideo"
    21.815] (II) Loading /usr/lib64/xorg/modules/drivers/vboxvideo_drv.so
    21.847] (II) Module vboxvideo: vendor="Oracle Corporation"
    21.847]  compiled for 1.18.1, module version = 1.0.1
    21.847]  Module class: X.Org Video Driver
    21.847]  ABI class: X.Org Video Driver, version 20.0
    21.847] (**) Load address of symbol "VBOXVIDEO" is 0x7f224aaf63e0
    21.847] (II) LoadModule: "modesetting"
    21.847] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
    21.883] (II) Module modesetting: vendor="X.Org Foundation"
    21.883]  compiled for 1.18.1, module version = 1.18.1
    21.883]  Module class: X.Org Video Driver
    21.883]  ABI class: X.Org Video Driver, version 20.0
    21.883] (II) LoadModule: "fbdev"
    21.883] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
    21.898] (II) Module fbdev: vendor="X.Org Foundation"
    21.898]  compiled for 1.18.0, module version = 0.4.4
    21.898]  Module class: X.Org Video Driver
    21.898]  ABI class: X.Org Video Driver, version 20.0
    21.898] (II) LoadModule: "vesa"
    21.898] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
    21.906] (II) Module vesa: vendor="X.Org Foundation"
    21.906]  compiled for 1.18.0, module version = 2.3.4
    21.906]  Module class: X.Org Video Driver
    21.906]  ABI class: X.Org Video Driver, version 20.0
    21.906] (II) VBoxVideo: guest driver for VirtualBox: vbox
    21.906] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
    21.906] (II) FBDEV: driver for framebuffer: fbdev
    21.906] (II) VESA: driver for VESA chipsets: vesa
    21.906] (WW) Falling back to old probe method for modesetting
    21.906] (WW) Falling back to old probe method for fbdev
    21.906] (II) Loading sub module "fbdevhw"
    21.906] (II) LoadModule: "fbdevhw"
    21.906] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
    21.914] (II) Module fbdevhw: vendor="X.Org Foundation"
    21.914]  compiled for 1.18.1, module version = 0.0.2
    21.914]  ABI class: X.Org Video Driver, version 20.0
    21.914] (WW) Falling back to old probe method for vesa
    21.914] (II) VBoxVideo(0): VirtualBox guest additions video driver version 5.0.16_SUSEr105871
    21.914] (II) Loading sub module "ramdac"
    21.914] (II) LoadModule: "ramdac"
    21.914] (II) Module "ramdac" already built-in
    21.914] (II) Loading sub module "fb"
    21.914] (II) LoadModule: "fb"
    21.914] (II) Loading /usr/lib64/xorg/modules/libfb.so
    21.946] (II) Module fb: vendor="X.Org Foundation"
    21.946]  compiled for 1.18.1, module version = 1.0.0
    21.946]  ABI class: X.Org ANSI C Emulation, version 0.4
    21.946] (II) Loading sub module "shadowfb"
    21.946] (II) LoadModule: "shadowfb"
    21.946] (II) Loading /usr/lib64/xorg/modules/libshadowfb.so
    21.969] (II) Module shadowfb: vendor="X.Org Foundation"
    21.969]  compiled for 1.18.1, module version = 1.0.0
    21.969]  ABI class: X.Org ANSI C Emulation, version 0.4
    21.969] (II) Loading sub module "vgahw"
    21.969] (II) LoadModule: "vgahw"
    21.969] (II) Loading /usr/lib64/xorg/modules/libvgahw.so
    21.971] (II) Module vgahw: vendor="X.Org Foundation"
    21.971]  compiled for 1.18.1, module version = 0.1.0
    21.971]  ABI class: X.Org Video Driver, version 20.0
    21.971] (II) Loading sub module "dri2"
    21.971] (II) LoadModule: "dri2"
    21.971] (II) Module "dri2" already built-in
    21.971] (II) VBoxVideo(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
    21.971] (==) VBoxVideo(0): Depth 24, (--) framebuffer bpp 32
    21.971] (--) VBoxVideo(0): Virtual size is 32766x32766 (pitch 32766)
    21.971] (**) VBoxVideo(0):  Built-in mode "800x600": 29.3 MHz (scaled from 0.0 MHz), 36.4 kHz, 60.0 Hz
    21.971] (II) VBoxVideo(0): Modeline "800x600"x0.0   29.31  800 802 804 806  600 602 604 606 (36.4 kHz b)
    21.971] (**) VBoxVideo(0):  Built-in mode "800x600": 29.3 MHz (scaled from 0.0 MHz), 36.4 kHz, 60.0 Hz
    21.971] (II) VBoxVideo(0): Modeline "800x600"x0.0   29.31  800 802 804 806  600 602 604 606 (36.4 kHz b)
    21.971] (II) VBoxVideo(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0
    21.971] (==) VBoxVideo(0): RGB weight 888
    21.971] (==) VBoxVideo(0): Default visual is TrueColor
    21.971] (==) VBoxVideo(0): Using gamma correction (1.0, 1.0, 1.0)
    21.971] (==) VBoxVideo(0): DPI set to (96, 96)
    21.971] (II) UnloadModule: "modesetting"
    21.971] (II) Unloading modesetting
    21.971] (II) UnloadModule: "fbdev"
    21.971] (II) Unloading fbdev
    21.971] (II) UnloadSubModule: "fbdevhw"
    21.971] (II) Unloading fbdevhw
    21.971] (II) UnloadModule: "vesa"
    21.971] (II) Unloading vesa
    21.971] (--) Depth 24 pixmap format is 32 bpp
    21.971] (EE) 
Fatal server error:
    21.971] (EE) AddScreen/ScreenInit failed for driver 0
    21.972] (EE) 
    21.972] (EE) 
Please consult the The X.Org Foundation support 
  at http://wiki.x.org
 for help. 
    21.972] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    21.972] (EE) 
    21.973] (EE) Server terminated with error (1). Closing log file.

confirmed. The same situation here.

I filled a bug for it:
https://bugzilla.opensuse.org/show_bug.cgi?id=971907

The problem is in kernel 4.5.0, not in VirtualBox. We are currently bisecting the kernel code to see which commit caused the problem.

As a work-around, drop back to the previous kernel.

There is now an alternative work-around. To use kernel 4.5.0, add “iomem=relaxed” to the kernel command line. This change will let the VB guest additions start normally. Thanks to **Egbert Eich **for diagnosing the problem. He has also supplied a patch that I will be pushing through. Although that solution is not ideal, it will allow TumbleWeed to again work in VirtualBox VMs.

That worked for me. Thanks a lot. I checked the bug, appears like sick work.

I know what you want me to do, but I don’t know how to do it. Is there a boot-time command line, or are we editing grub2 config.

Got it, e for edit, then on the set line add ,iomem=relaxed

But, it didn’t help … what did I do wrong?

omg, just scrolll the grub editor down a few lines to the linux line. :mad: Worked like a charm after that. :cool: I set a grub2 param not a linux param perviously.

Note that the edit is not saved it is for one boot only you can change it permanently from Yast-bootloader

There is an alternative workaround. First download https://www.virtualbox.org/download/testcase/VBoxGuestAdditions_5.0.17-106140.iso, and then boot the TW VM to a console. Log in as root. Using YaST, search for “virtualbox” and remove all 3 guest packages. Then use the Devices menu item to mount that iso on the virtual optical drive.

Next mount that iso in Linux using “mount /dev/cdrom /mnt”, and install the guest packages using “/mnt/VBoxLinuxAdditions.run”. The script may request that you install the kernel headers using zypper. In that case, do so and rerun the command. If you are a Gnome user and had to changes the default display manager, that can now be changed back to “gdm”.

Now, reboot the VM. If you find that the mouse cursor is missing, shut down the VM and turn off 3D acceleration in the display configuration of the VirtualBox Control GUI.

This is how I have mine set up already. I’ve mark the 3 vb packages as taboo, and used the installer from the mounted ISO file. So, I don’t think this solves the iomem=relaxed thing. But I will try running the installer once more manually just to see.

For us mere mortals I have a more graphical instruction see link below.
http://8thstring.blogspot.com/2016/03/opensuse-tumbleweed-does-not-boot-to.html

Waited a week, updated, no change, and … now I have duplicate grub boot choices at startup, and when I opened up grub config, emacs is blue … what’s going on over at the Q/A dept? At least I have a 13.2 installation to fall back on.

You understand you are the Q&A department??? :open_mouth: This is tumbleweed not Leap

Thank you very much for this! It works well with the latest Tumbleweed snapshot i installed (18 August 2016 - Kernel 4.7 ).