Bug 18917 - Unable to start X after second reboot in VBox ("Failed to load module "vboxmouse" (module does not exist, 0)"
Summary: Unable to start X after second reboot in VBox ("Failed to load module "vboxmo...
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thomas Backlund
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2016-07-11 09:45 CEST by Alejandro Vargas
Modified: 2017-10-19 22:31 CEST (History)
6 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
report.bug.xz (159.02 KB, application/x-xz)
2016-07-12 10:27 CEST, Alejandro Vargas
Details
xorg.conf first boot (1.45 KB, text/plain)
2016-07-14 08:46 CEST, Alejandro Vargas
Details
xorg.conf second boot (1.45 KB, text/plain)
2016-07-14 08:47 CEST, Alejandro Vargas
Details
journal.txt first boot (148.40 KB, text/plain)
2016-07-14 08:47 CEST, Alejandro Vargas
Details
journal.txt second boot (451.14 KB, text/plain)
2016-07-14 08:48 CEST, Alejandro Vargas
Details

Description Alejandro Vargas 2016-07-11 09:45:23 CEST
I've made a fress install of Mageia 6 SAT1 in Virtual Box. 

Without any update it starts OK but after the first reboot (with no updates) I receive a message of "Sorry, but there has been a problem starting your graphical display."

In /var/lob/Xorg.0.log I see errors like:

[    18.509] (**) Load address of symbol "VBOXVIDEO" is 0x7f075374b380
[    18.509] (II) LoadModule: "vboxmouse"
[    18.509] (WW) Warning, couldn't open module vboxmouse
[    18.509] (II) UnloadModule: "vboxmouse"
[    18.509] (II) Unloading vboxmouse
[    18.509] (EE) Failed to load module "vboxmouse" (module does not exist, 0)
[    18.509] (II) v4l driver for Video4Linux overlay mode (V4L2)
Comment 1 Thierry Vignaud 2016-07-11 23:40:27 CEST
Please attach your /root/drakx/report.bug.xz file

Keywords: (none) => NEEDINFO
CC: (none) => thierry.vignaud
Summary: Unable to start X after second reboot (at least in Virtual Box) => Unable to start X after second reboot in VBox ("Failed to load module "vboxmouse" (module does not exist, 0)"

Comment 2 Alejandro Vargas 2016-07-12 10:27:06 CEST
Created attachment 8159 [details]
report.bug.xz
Comment 3 Alejandro Vargas 2016-07-12 10:46:13 CEST
Check this: https://youtu.be/KPT4GGzjpUU
Comment 4 Thierry Vignaud 2016-07-12 14:47:12 CEST
@Alejandro:
Could you attach (not paste) your /etc/X11/xorg.conf file after the first boot and after the second boot?
Also please attach the journal.txt file resulting from running the following command as root after the second boot:
journalctl >/tmp/journal.txt

@Thomas:
Do you know why you removed x11-driver-input-vboxmouse (quite some time ago)?
What driver should we used in stead? libinput like everything else those days?
I don't why that's breaking now since you killed it 5 years ago and since we didn't change anything about this I can think of.

What I find strange is that we didn't did anything in mousedrake after you killed that package.
But why is it bitting us now???
The only remotely related commit is this one:
http://gitweb.mageia.org/software/drakx-kbd-mouse-x11/commit/?id=52409c682c37ab200f636af9254d4328c5c988ec
But I failed to see how it can affect the vbox case...

CC: (none) => tmb

Comment 5 Alejandro Vargas 2016-07-14 08:46:58 CEST
Created attachment 8170 [details]
xorg.conf first boot
Comment 6 Alejandro Vargas 2016-07-14 08:47:22 CEST
Created attachment 8171 [details]
xorg.conf second boot
Comment 7 Alejandro Vargas 2016-07-14 08:47:48 CEST
Created attachment 8172 [details]
journal.txt first boot
Comment 8 Alejandro Vargas 2016-07-14 08:48:16 CEST
Created attachment 8173 [details]
journal.txt second boot
Comment 9 Alejandro Vargas 2016-07-14 08:51:38 CEST
I've attached the files but I think you could see it by yourself. 

Here you can download the virtual machine: https://mega.nz/#!gVxk3RLQ 

You can just import it in virtualbox. 

Root password is mageia. User is "anv", and same password (mageia).
Comment 10 Alejandro Vargas 2016-07-14 11:09:10 CEST
Password for the mega download: !sBMjUo4Gih4vAPDueNh-Ng6_zgD9Lli0TaWVTyecZR4
Marja Van Waes 2016-07-14 14:17:46 CEST

Keywords: NEEDINFO => (none)
CC: (none) => marja11
Assignee: bugsquad => tmb

Comment 11 Mageia Robot 2016-07-14 18:17:23 CEST
commit 1dad9ad051c124424812967e7569462a6c6b3238
Author: Thierry Vignaud <thierry.vignaud@...>
Date:   Thu Jul 14 17:40:52 2016 +0200

    stop installing/configuring vboxmouse (mga#18917)
    
    VBox rely on evdev (kernel) + libinput (userspace) like everyone these
    days.
    VMs must just use USB tablet as input device (which is now the default)
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx-kbd-mouse-x11/commit/?id=1dad9ad051c124424812967e7569462a6c6b3238
Comment 12 Thierry Vignaud 2016-07-14 20:23:46 CEST
it should be fixed if you do a new network installation
Comment 13 Thierry Vignaud 2016-07-14 23:16:17 CEST
Can you try latest installer from today?

Keywords: (none) => NEEDINFO

Comment 14 Alejandro Vargas 2016-07-15 13:54:50 CEST
Is there a new iso available?
Comment 15 Marja Van Waes 2016-07-15 14:28:51 CEST
(In reply to Alejandro Vargas from comment #14)
> Is there a new iso available?

if you do a network install
https://wiki.mageia.org/en/Mageia_Netinstall_Iso_%28Boot.iso%29
e.g. with this iso
ftp://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/cauldron/x86_64/install/images/Mageia-Cauldron-netinstall-nonfree-x86_64.iso
then you'll have the latest installer, assuming your mirror is up-to-date.

If you're not sure your mirror is fully up-to-date, then you can check the time stamp of mdkinst.sqfs in this directory

ftp://ftp.snt.utwente.nl/pub/os/linux/mageia/distrib/cauldron/x86_64/install/stage2/

(Change the above two paths to match your mirror and desired arch)
Comment 16 Marja Van Waes 2016-07-15 14:30:22 CEST
(for the record: mdkinst.sqfs contains stage2 of our installer)
Comment 17 Thomas Backlund 2016-07-16 11:49:20 CEST
also, if the boot still fails after a new install, 

can you as root do a:

echo "blacklist vboxvideo" >/etc/modprobe.d/vboxvideo.conf

and reboot...

does it boot up properly then  ?
Comment 18 Alejandro Vargas 2016-07-18 10:42:13 CEST
Just made a fresh network install. X does not start even on first boot. 

Then added the "blacklist vboxvideo", rebooted and X started OK. Tested some reboots from different points. All OK. 

Thank you.
Comment 19 Adam H 2016-08-04 22:18:30 CEST
I have found this to be the case with mga6-sta1 classic 32-bit DVD installs under Virtualbox.  I have not found any problem with the 64-bit guests.

I have also successfully used the blacklist workaround from Comment 17 to restore graphical functionality.

CC: (none) => sharpzq4300

Comment 20 Adam H 2016-08-05 01:43:44 CEST
(In reply to Adam Holland from comment #19)
> I have found this to be the case with mga6-sta1 classic 32-bit DVD installs
> under Virtualbox.  I have not found any problem with the 64-bit guests.
> 
> I have also successfully used the blacklist workaround from Comment 17 to
> restore graphical functionality.

I am mistaken.  64-bit guests are affected too.  It is related to the choice of desktop at install time.  My guess is that Plasma and GNOME are fine, while choices under "Custom" including MATE, LXDE and XFCE are affected.
Comment 21 Richard Walker 2016-09-24 00:08:26 CEST
I am having the same problem first noticed in a similar way. Yesterday, on my first ever MGA6 install, also on a VBox VM, the first reboot was OK. After updates I had 3 kernels. I removed the two oldest using MCC. On the next boot X would not start.

I made several attempts to "fix" the video settings with XFdrake and gave up.

I created a new VM for a fresh attempt to get the first boot to work, but nothing good is happening.

All attempts to boot to a desktop (1 successful, many more not) have been with LXDE as the only choice.

The host is MGA5 64bit with latest VBox. The Guest is also 64bit. Other VMs continue to work (XP 32 bit, MGA4 64 bit).

> I have also successfully used the blacklist workaround from Comment 17 to
> restore graphical functionality.

 Ditto

CC: (none) => richard.j.walker

Comment 22 Alejandro Vargas 2016-10-03 08:49:18 CEST
I assume the blacklist will be added to the next release.
Comment 23 Dave Hodgins 2017-10-19 22:31:58 CEST
No problems with current vb installs.

Status: NEW => RESOLVED
CC: (none) => davidwhodgins
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.