[CCPPETMR/CCPPETMR_VM] occasional problem starting VM (X server failure) (#60)

2 Aufrufe
Direkt zur ersten ungelesenen Nachricht

Kris Thielemans

ungelesen,
18.02.2018, 04:33:1018.02.18
an CCPPETMR/CCPPETMR_VM, Subscribed

occasionally I have that the machine start but gets stuck on the console with a log-in prompt where all the text is flashing. That stops after a minute or so. This seems to be because the X server doesn't start (and there are multiple attempts causing the "flashing").

Most likely culprit is mismatched Guess Additions. (I'm using VBox 5.1.30).

I start to think we have 2 options:

  • highly recommend people to use the same VBox version as what was used at installation time
  • remove VGA and tell them to install it themselves


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Edoardo Pasca

ungelesen,
18.02.2018, 13:55:2218.02.18
an CCPPETMR/CCPPETMR_VM, Subscribed

Yes, that's exactly the issue I found before updating the VGA.

Ben Thomas

ungelesen,
20.02.2018, 13:25:0020.02.18
an CCPPETMR/CCPPETMR_VM, Subscribed

I just built the VM from scratch, then uninstalled VGA. Once removed, I could no longer start gdm. So I re-installed via the command line and everything is now fine. It's not hard to do, but I'm reluctant to remove VGA and tell them to install themselves.

david.atk...@gmail.com

ungelesen,
21.02.2018, 04:46:5721.02.18
an CCP-PETMR-CODEBOT
I earlier reported that I could not install the Guest Additions CD - not sure if this is discussion is related or not.

Edoardo Pasca

ungelesen,
21.02.2018, 06:24:4721.02.18
an CCPPETMR/CCPPETMR_VM, Subscribed

This whole business of VGA is kind of mysterios to me.
Could you please tell me how

  • you would remove and
  • reinstall via the command line?

Ben Thomas

ungelesen,
21.02.2018, 06:33:2321.02.18
an CCPPETMR/CCPPETMR_VM, Subscribed
  • Remove:
sudo mount /dev/sr0 /media/cdrom
cd /media/cdrom
sudo ./VBoxLinuxAdditions.run uninstall
reboot
  • Install:
sudo mount /dev/sr0 /media/cdrom
cd /media/cdrom
sudo ./VBoxLinuxAdditions.run
reboot

Edoardo Pasca

ungelesen,
21.02.2018, 06:36:2921.02.18
an CCPPETMR/CCPPETMR_VM, Subscribed

If that's the case, can we not run this at creation time?

Ben Thomas

ungelesen,
21.02.2018, 06:43:4621.02.18
an CCPPETMR/CCPPETMR_VM, Subscribed

Well the user would have to 'insert' the CD before hand...

Edoardo Pasca

ungelesen,
21.02.2018, 07:41:4221.02.18
an CCPPETMR/CCPPETMR_VM, Subscribed

When I insert the CD, I see a message in dmesg, but I don't manage to mount anything.

[   11.511549] vboxsf: Successfully loaded version 5.1.18 (interface 0x00010004)
[   12.093361] VBoxService 5.1.18 r114002 (verbosity: 0) linux.amd64 (Mar 15 2017 16:30:21) release log
               00:00:00.000096 main     Log opened 2018-02-21T12:40:34.454222000Z
[   12.093442] 00:00:00.000214 main     OS Product: Linux
[   12.093466] 00:00:00.000244 main     OS Release: 4.4.0-108-generic
[   12.093490] 00:00:00.000268 main     OS Version: #131-Ubuntu SMP Sun Jan 7 14:34:49 UTC 2018
[   12.093522] 00:00:00.000291 main     Executable: /opt/VBoxGuestAdditions-5.1.18/sbin/VBoxService
               00:00:00.000292 main     Process ID: 1380
               00:00:00.000292 main     Package type: LINUX_64BITS_GENERIC
[   12.094347] 00:00:00.001106 main     5.1.18 r114002 started. Verbose level = 0

Edoardo Pasca

ungelesen,
21.02.2018, 07:44:1321.02.18
an CCPPETMR/CCPPETMR_VM, Subscribed

image

Kris Thielemans

ungelesen,
21.02.2018, 09:27:1121.02.18
an CCPPETMR/CCPPETMR_VM, Subscribed

Uninstall procedure shouldn't need the CGA CD

sudo /opt/VBoxGuestAdditions-*/uninstall.sh

I've just done that, but still have the "flashing" problem, which is maybe what Ben was referring to when saying the gdm doesn't work.

By the way, shouldn't the mount statement be added to update_VGA.sh (checking first if it is mounted or not), see #59

sudo mount /dev/sr0 /media/cdrom

Kris Thielemans

ungelesen,
21.02.2018, 09:30:2321.02.18
an CCPPETMR/CCPPETMR_VM, Subscribed

by the way, your version 5.1.18 is really quite old by now. If we do ship with VGA installed, I would use a recent VBox for the creation. I'd even try with 5.2.6.

Kris Thielemans

ungelesen,
21.02.2018, 09:44:4821.02.18
an CCPPETMR/CCPPETMR_VM, Subscribed

Looks like the remove actually doesn't remove everything so a reinstall can fail (and is presumably why gdm still fails). Typical!

I'm relatively sure this kind if thing would have been fixed in more recent VBox though. As opposed to fighting this, I suggest we go for the following:

  • you install VBOX 5.2.6 and create the VM with that
  • we recommend in the README and Download page to use the same version,
  • we say that if they don't, updating the VGA (as per our instructions) might solve any problems.

Edoardo Pasca

ungelesen,
21.02.2018, 11:37:5321.02.18
an CCPPETMR/CCPPETMR_VM, Subscribed

OK, I've updated my VirtualBox to 5.2.6. Created the new VM and installed the VGA.
Uploaded to the website and added info in the CCPPETMR_VM Readme.

Edoardo Pasca

ungelesen,
21.02.2018, 11:38:3221.02.18
an CCPPETMR/CCPPETMR_VM, Subscribed

I guess we could close this, now.

Kris Thielemans

ungelesen,
21.02.2018, 17:00:4121.02.18
an CCPPETMR/CCPPETMR_VM, Subscribed

thanks. downloading now.

Nobody will see the 5.2.6 in the README though. The wiki refers to the INSTALL.md. I'd put the info on the main download page http://www.ccppetmr.ac.uk/node/120. There it's kind of obvious. It also means that we don't need to update markdown files if you switch VB version.

After that, give this a label wontfix for now and remove from milestone. we can then come back to it when/if we're a bit smarter...

Kris Thielemans

ungelesen,
21.02.2018, 19:58:3821.02.18
an CCPPETMR/CCPPETMR_VM, Subscribed

I downloaded then ew VM and tested it in my VB 5.1.30. I had no problems starting it (somewhat surprisingly). I couldn't simply insert the VGA CD, but had to first force "Remove the disk from the virtual drive" (in the Devices->Optical Drives menu). I wonder if this is because you exported the VM with the CD attached. not sure. Anyone?

reinstalling the VGA (effectively downgrading it) seems to have just worked. that's good!

CCP-PETMR-CODEBOT

ungelesen,
22.02.2018, 04:00:2022.02.18
an CCPPETMR/CCPPETMR_VM, CCP-PETMR-CODEBOT, Your activity
I installed the new VM from the web site and it opens in my 5.2.6 VB on a Mac.

After pressing the ‘Insert Guest Additions CD Image ‘ option on the Devices menu, in the file browser on the VM, there is listed VBox_GAs_5.2.6. However, pressing this leads to the following error message:

Error mounting /dev/sr0 at /media/sirfuser/VBox_GAs_5.2.6: Command-line `mount -t "iso9660" -o "uhelper=udisks2,nodev,nosuid,uid=1001,gid=1002,iocharset=utf8,mode=0400,dmode=0500" "/dev/sr0" "/media/sirfuser/VBox_GAs_5.2.6"' exited with non-zero exit status 32: mount: /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
missing codepage or helper program, or other error

In some cases useful info is found in syslog - try
dmesg | tail or so.



--
David Atkinson D.Atk...@ucl.ac.uk<mailto:D.Atk...@ucl.ac.uk> | David.A...@nhs.net<mailto:David.A...@nhs.net>
New Address: Centre for Medical Imaging, Room 2.02, Charles Bell House, 43 – 45 Foley Street, London, W1W 7TS.


From: <ccp-petm...@googlegroups.com> on behalf of Kris Thielemans <notifi...@github.com>
Reply-To: CCPPETMR/CCPPETMR_VM <re...@reply.github.com>
Date: Thursday, 22 February 2018 at 00:58
To: CCPPETMR/CCPPETMR_VM <CCPPE...@noreply.github.com>
Cc: Subscribed <subsc...@noreply.github.com>
Subject: Re: [CCPPETMR/CCPPETMR_VM] occasional problem starting VM (X server failure) when mismatched VGA (#60)


I downloaded then ew VM and tested it in my VB 5.1.30. I had no problems starting it (somewhat surprisingly). I couldn't simply insert the VGA CD, but had to first force "Remove the disk from the virtual drive" (in the Devices->Optical Drives menu). I wonder if this is because you exported the VM with the CD attached. not sure. Anyone?

reinstalling the VGA (effectively downgrading it) seems to have just worked. that's good!


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<https://github.com/CCPPETMR/CCPPETMR_VM/issues/60#issuecomment-367531243>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AbMEZWCOQmRKsmetBIve_rY0wmHSeaK4ks5tXLu6gaJpZM4SJoIw>.
--
You received this message because you are subscribed to a topic in the Google Groups "CCP-PETMR-CODEBOT" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ccp-petmr-codebot/qj8dtFj2ets/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ccp-petmr-code...@googlegroups.com<mailto:ccp-petmr-code...@googlegroups.com>.
To post to this group, send email to ccp-petm...@googlegroups.com<mailto:ccp-petm...@googlegroups.com>.
To view this discussion on the web, visit https://groups.google.com/d/msgid/ccp-petmr-codebot/CCPPETMR/CCPPETMR_VM/issues/60/367531243%40github.com<https://groups.google.com/d/msgid/ccp-petmr-codebot/CCPPETMR/CCPPETMR_VM/issues/60/367531243%40github.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

CCP-PETMR-CODEBOT

ungelesen,
22.02.2018, 04:12:1022.02.18
an CCPPETMR/CCPPETMR_VM, CCP-PETMR-CODEBOT, Your activity
Actually, I’m confused now that I look again at our instructions:
“You should update the Guest Additions by downloading the appropriate file<http://download.virtualbox.org/virtualbox/> matching your VirtualBox version from Oracle.”
I hadn’t done this. I sort of assumed that it must have come with the VB.

Overall, I think a few words in the text explaining what is going on might help users in case their situation deviates from the exact steps outlined.



--
David Atkinson D.Atk...@ucl.ac.uk<mailto:D.Atk...@ucl.ac.uk> | David.A...@nhs.net<mailto:David.A...@nhs.net>
New Address: Centre for Medical Imaging, Room 2.02, Charles Bell House, 43 – 45 Foley Street, London, W1W 7TS.


From: <ccp-petm...@googlegroups.com> on behalf of CCP-PETMR-CODEBOT <notifi...@github.com>
Reply-To: CCPPETMR/CCPPETMR_VM <re...@reply.github.com>
Date: Thursday, 22 February 2018 at 09:00
To: CCPPETMR/CCPPETMR_VM <CCPPE...@noreply.github.com>
Cc: CCP-PETMR-CODEBOT <ccp.pet...@gmail.com>, Your activity <your_a...@noreply.github.com>
Subject: Re: [CCPPETMR/CCPPETMR_VM] occasional problem starting VM (X server failure) when mismatched VGA (#60)

I installed the new VM from the web site and it opens in my 5.2.6 VB on a Mac.

After pressing the ‘Insert Guest Additions CD Image ‘ option on the Devices menu, in the file browser on the VM, there is listed VBox_GAs_5.2.6. However, pressing this leads to the following error message:

Error mounting /dev/sr0 at /media/sirfuser/VBox_GAs_5.2.6: Command-line `mount -t "iso9660" -o "uhelper=udisks2,nodev,nosuid,uid=1001,gid=1002,iocharset=utf8,mode=0400,dmode=0500" "/dev/sr0" "/media/sirfuser/VBox_GAs_5.2.6"' exited with non-zero exit status 32: mount: /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
missing codepage or helper program, or other error

In some cases useful info is found in syslog - try
dmesg | tail or so.



--
David Atkinson D.Atk...@ucl.ac.uk<mailto:D.Atk...@ucl.ac.uk> | David.A...@nhs.net<mailto:David.A...@nhs.net>
New Address: Centre for Medical Imaging, Room 2.02, Charles Bell House, 43 – 45 Foley Street, London, W1W 7TS.


From: <ccp-petm...@googlegroups.com> on behalf of Kris Thielemans <notifi...@github.com>
Reply-To: CCPPETMR/CCPPETMR_VM <re...@reply.github.com>
Date: Thursday, 22 February 2018 at 00:58
To: CCPPETMR/CCPPETMR_VM <CCPPE...@noreply.github.com>
Cc: Subscribed <subsc...@noreply.github.com>
Subject: Re: [CCPPETMR/CCPPETMR_VM] occasional problem starting VM (X server failure) when mismatched VGA (#60)


I downloaded then ew VM and tested it in my VB 5.1.30. I had no problems starting it (somewhat surprisingly). I couldn't simply insert the VGA CD, but had to first force "Remove the disk from the virtual drive" (in the Devices->Optical Drives menu). I wonder if this is because you exported the VM with the CD attached. not sure. Anyone?

reinstalling the VGA (effectively downgrading it) seems to have just worked. that's good!


You are receiving this because you are subscribed to this thread.
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<https://github.com/CCPPETMR/CCPPETMR_VM/issues/60#issuecomment-367611385>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AbMEZe2sAOYxdv97XX_wtKvS-FcOwjhYks5tXSyfgaJpZM4SJoIw>.
--
You received this message because you are subscribed to a topic in the Google Groups "CCP-PETMR-CODEBOT" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ccp-petmr-codebot/qj8dtFj2ets/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ccp-petmr-code...@googlegroups.com<mailto:ccp-petmr-code...@googlegroups.com>.
To post to this group, send email to ccp-petm...@googlegroups.com<mailto:ccp-petm...@googlegroups.com>.
To view this discussion on the web, visit https://groups.google.com/d/msgid/ccp-petmr-codebot/CCPPETMR/CCPPETMR_VM/issues/60/367611385%40github.com<https://groups.google.com/d/msgid/ccp-petmr-codebot/CCPPETMR/CCPPETMR_VM/issues/60/367611385%40github.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

Kris Thielemans

ungelesen,
22.02.2018, 04:39:1722.02.18
an CCPPETMR/CCPPETMR_VM, CCP-PETMR-CODEBOT, Comment

aargh. no idea about that error. anyone?

Related is #59 of course. @bathomas will add something to update_VGA.sh to try and cover one more option but it wouldn't fix this. Can you try the update_VGA.sh line from our installation instructions?

The line you quote from instructions is indeed incorrect. I have just rephrased it. Please check (@paskino, note that I refer to the Download page for the VBox version now).


You are receiving this because you commented.

Edoardo Pasca

ungelesen,
22.02.2018, 06:56:2322.02.18
an CCPPETMR/CCPPETMR_VM, CCP-PETMR-CODEBOT, Comment

Why do you think that sentence is wrong?
The VM comes with VGA for VB 5.2.6. If the user has a different version of VB (s)he has to download the proper file matching the version of his VB and install it.


You are receiving this because you commented.

Kris Thielemans

ungelesen,
22.02.2018, 07:47:2522.02.18
an CCPPETMR/CCPPETMR_VM, CCP-PETMR-CODEBOT, Comment

you don't need to download the VGA separately. it comes with your VB. if you insert the CD, it actually provides an iso with the VGA for that VB.


You are receiving this because you commented.

Edoardo Pasca

ungelesen,
17.05.2018, 09:37:0117.05.18
an CCPPETMR/CCPPETMR_VM, CCP-PETMR-CODEBOT, Comment

Possible duplicate of #77? Shall we close this as well?


You are receiving this because you commented.

Kris Thielemans

ungelesen,
18.05.2018, 03:02:3718.05.18
an CCPPETMR/CCPPETMR_VM, CCP-PETMR-CODEBOT, Comment

Closed #60.


You are receiving this because you commented.

Allen antworten
Antwort an Autor
Weiterleiten
0 neue Nachrichten