Monday, 19 December 2016

Notes for installing Ubuntu 16.04.1 LTS on Hyper-V

The last couple of servers I've installed on Hyper-V with Ubuntu 16.04.1 LTS with 4.4 kernels have annoyingly hung shortly after setup.

Here is an excerpt of the errors:

info task rs main q reg 1162 blocked for more than 120 seconds not tainted

 This is a very inconvenient feature and I think I've nailed it. From Microsoft's site they have details on adding bits to your install that add functionality and (hopefully) will help avoid this issue.

The Microsoft page is here: https://technet.microsoft.com/en-us/windows-server-docs/compute/hyper-v/supported-ubuntu-virtual-machines-on-hyper-v?f=255&MSPPError=-2147217396

And the guts of it is to do the following (with 16.04):

  • # apt-get update
  • # apt-get install linux-virtual-lts-xenial
  • # apt-get install linux-tools-virtual-lts-xenial linux-cloud-tools-virtual-lts-xenial
and then reboot. It should fix it.

 The error was something like Kernel not tainted or similar. So far it's working.

Update 2016-12-22

It stopped working. Super annoying. Have tried from this site: https://www.blackmoreops.com/2014/09/22/linux-kernel-panic-issue-fix-hung_task_timeout_secs-blocked-120-seconds-problem/

See how that goes.

Have also done the stuff on this site: https://oitibs.com/hyper-v-lis-on-ubuntu-16/

Will see how that goes.

Adventures with Immich

With the implementation of my Proxmox server it's now time to play with some new applications - and we'll start with Immich, a repla...