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

Discussions about using Linux guests in VirtualBox.

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

Postby taz » 15. Jul 2016, 09:48

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

Postby taz » 15. Jul 2016, 09:52

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

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

Postby taz » 15. Jul 2016, 09:53

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

Postby taz » 15. Jul 2016, 09:56

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

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

Postby taz » 15. Jul 2016, 10:08

it most probably is an ubuntu bug, so I just did spam Kamal from http://packages.ubuntu.com/xenial/linux ... 31-generic ...
taz
 
Posts: 35
Joined: 10. Aug 2012, 10:03

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

Postby JohnVeness » 15. Jul 2016, 16:21

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?
JohnVeness
 
Posts: 5
Joined: 15. Jul 2016, 12:38

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

Postby taz » 15. Jul 2016, 17:48

no bug yet, I just mailed Kamal, so feel free to open a bug if you know how
taz
 
Posts: 35
Joined: 10. Aug 2012, 10:03

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

Postby Sagypt » 15. Jul 2016, 19:58

Me too
Attachments
screenshot_02.png
screenshot_02.png (23.89 KiB) Viewed 3402 times
screenshot_01.png
screenshot_01.png (18.26 KiB) Viewed 3402 times
Sagypt
 
Posts: 39
Joined: 16. Apr 2012, 15:46

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

Postby Perryg » 15. Jul 2016, 20:00

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.
Perryg
Site Moderator
 
Posts: 34373
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

Postby Sagypt » 15. Jul 2016, 20:50

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 13 times
Sagypt
 
Posts: 39
Joined: 16. Apr 2012, 15:46

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

Postby Perryg » 15. Jul 2016, 21:05

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.
Perryg
Site Moderator
 
Posts: 34373
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

Postby MichaelW » 16. Jul 2016, 22:06

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 21 times
MichaelW
 
Posts: 2
Joined: 16. Jul 2016, 21:55

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

Postby Sagypt » 17. Jul 2016, 12:07

@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.
Sagypt
 
Posts: 39
Joined: 16. Apr 2012, 15:46

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

Postby MichaelW » 17. Jul 2016, 17:20

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)
MichaelW
 
Posts: 2
Joined: 16. Jul 2016, 21:55

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

Postby taz » 18. Jul 2016, 09:13

interesting,
works for me as well
I switch from usb 3.0 to usb 2.0 and the 31 kernel works ...
taz
 
Posts: 35
Joined: 10. Aug 2012, 10:03

Next

Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 9 guests