ubuntu linux-image-4.4.0-31-generic cpu stall vbox 5.1

Discussions about using Linux guests in VirtualBox.
taz
Posts: 35
Joined: 10. Aug 2012, 10:03

ubuntu linux-image-4.4.0-31-generic cpu stall vbox 5.1

Post by taz »

todays update of ubuntu kernel broke boot ...

fwiw 4.4.0-28 still works
taz
Posts: 35
Joined: 10. Aug 2012, 10:03

Re: ubuntu linux-image-4.4.0-31-generic cpu stall vbox 5.1

Post by taz »

see pic
Attachments
cpustuck.png
cpustuck.png (2.39 KiB) Viewed 6403 times
taz
Posts: 35
Joined: 10. Aug 2012, 10:03

Re: ubuntu linux-image-4.4.0-31-generic cpu stall vbox 5.1

Post by taz »

oh yeah, I can post vbox log internally, ping me on IM or email me, this box which hits the issue is not public
Last edited by taz on 18. Jul 2016, 09:19, edited 1 time in total.
taz
Posts: 35
Joined: 10. Aug 2012, 10:03

Re: ubuntu linux-image-4.4.0-31-generic cpu stall vbox 5.1

Post by taz »

more pics :)
Attachments
cpustuck.png
cpustuck.png (25.55 KiB) Viewed 6402 times
taz
Posts: 35
Joined: 10. Aug 2012, 10:03

Re: ubuntu linux-image-4.4.0-31-generic cpu stall vbox 5.1

Post by taz »

it most probably is an ubuntu bug, so I just did spam Kamal from http://packages.ubuntu.com/xenial/linux ... 31-generic ...
JohnVeness
Posts: 5
Joined: 15. Jul 2016, 12:38

Re: ubuntu linux-image-4.4.0-31-generic cpu stall vbox 5.1

Post by JohnVeness »

I was hit by this too. Choosing the previous kernel (4.4.0-28) from grub boots OK.

Is there an Ubuntu launchpad bug filed for this yet that I can track?
taz
Posts: 35
Joined: 10. Aug 2012, 10:03

Re: ubuntu linux-image-4.4.0-31-generic cpu stall vbox 5.1

Post by taz »

no bug yet, I just mailed Kamal, so feel free to open a bug if you know how
Sagypt
Posts: 51
Joined: 16. Apr 2012, 15:46

Re: ubuntu linux-image-4.4.0-31-generic cpu stall vbox 5.1

Post by Sagypt »

Me too
Attachments
screenshot_02.png
screenshot_02.png (23.89 KiB) Viewed 6359 times
screenshot_01.png
screenshot_01.png (18.26 KiB) Viewed 6359 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: ubuntu linux-image-4.4.0-31-generic cpu stall vbox 5.1

Post by Perryg »

Post the guests log file ( as an attachment ). Right click on the guest in the Main Manager then click show log. Save and post as an attachment. Compress if it is too large to post.
Sagypt
Posts: 51
Joined: 16. Apr 2012, 15:46

Re: ubuntu linux-image-4.4.0-31-generic cpu stall vbox 5.1

Post by Sagypt »

First boot: the VM freezes, I got the log "attachment_01.txt". Then, on the bottom bar I clicked: Machine > Reset, hence second boot: the VM starts, I got the log "attachment_02.txt"

Thanks
Attachments
attachments.zip
(32.28 KiB) Downloaded 19 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: ubuntu linux-image-4.4.0-31-generic cpu stall vbox 5.1

Post by Perryg »

OK so if I understand you can get the guest to boot after resetting the guest. What I have seen in the past is on a warm boot this can happen but very rarely a cold boot. As far as I have been able to isolate it is the OS does not properly clear the initramfs on warm boot and it shows as corrupt. resetting does allow it to boot most of the time. I have not however been able to isolate it to the OS or VBox. Feel free to raise a ticket at bugtracker.
MichaelW
Posts: 2
Joined: 16. Jul 2016, 21:55

Re: ubuntu linux-image-4.4.0-31-generic cpu stall vbox 5.1

Post by MichaelW »

Hello,

I have the same problem here so I created a serial device in my Virtualbox-settings and logged the complete startup of the linux-kernel to the file attached.

Because the problem seems to be connected to xhci I disabled USB 3.0 and enabled USB 2.0. With USB 2.0 the kernel boots, with USB 3.0 it does not.

I hope this helps finding the cause of the problem.

Michael.
Attachments
console.log
(37.61 KiB) Downloaded 29 times
Sagypt
Posts: 51
Joined: 16. Apr 2012, 15:46

Re: ubuntu linux-image-4.4.0-31-generic cpu stall vbox 5.1

Post by Sagypt »

@MichealW

Hi,

interesting. How I can reproduce what you made? You can give me detailed steps?

Thanks



Note: I confirm: into VM settings, switching from USB 3.0 to USB 2.0 bypass the problem.
MichaelW
Posts: 2
Joined: 16. Jul 2016, 21:55

Re: ubuntu linux-image-4.4.0-31-generic cpu stall vbox 5.1

Post by MichaelW »

Hi everyone,

I only have the german version of virtualbox installed here, so the options might be called different than my translation.

- Go to the settings of your vm.
- Choose "Serial ports"
- Enable Serial port 1
- Change "Port mode" to "file"
- Enter a filename in path. (maybe you need an absolute path like D:\console.log on windows)

- Now start the vm. Press ESC while booting to get into grub.
- Press "e" to edit the boot coammnd
- Go to the line beginning with "linux"
- Delete the kernel-paramter "quite" in this line
- Add new kernel-parameters "console=ttyS0,115200n8" and "softlockup_panic"
- Press F10 to boot.

You don't get any output on the vm screen now and booting takes longer, because etherything is redirected to the serial port. After some minutes stop the vm and look at the logfile. You see all the messages there. (The file is delted on every new start of the vm)

The kernel parameter "softlockup_panic" is documented in the linux kernel tree in file "Documentation/lockup-watchdogs.txt" (The forum does not allow me to post a link yet)
taz
Posts: 35
Joined: 10. Aug 2012, 10:03

Re: ubuntu linux-image-4.4.0-31-generic cpu stall vbox 5.1

Post by taz »

interesting,
works for me as well
I switch from usb 3.0 to usb 2.0 and the 31 kernel works ...
Post Reply