Ubuntu 13.10 VHD failing to boot on Windows Server 2008 R2

Bug #1234417 reported by Abhishek Gupta
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
High
Andy Whitcroft

Bug Description

Hi folks,

It appears that the Windows 2008 R2 Hyper-V host is unable to handle the following scsi command:

MAINTENANCE_IN (scsi command 0xa3) and that is the cause for this problem.

Due to this reason, we are unable to boot an Ubuntu 13.10 virtual machine on Hyper-V Server 2008 R2. Please could you help us identify what component is using this command and how would it react if we fail to serve it?

Is there some other better fix for this? This seems to fail only for Ubuntu 13.10 and other distributions including Linux-next seem to do fine.

Please advise.
Thanks,
Abhishek

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1234417

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: saucy
Revision history for this message
Abhishek Gupta (abgupta) wrote :

Console messages via serial log:

[ 6.634334] scsi2 : storvsc_host_t
[ 6.637240] scsi 2:0:0:0: Direct-Access Msft Virtual Disk 1.0 PQ
: 0 ANSI: 4
[ 6.643174] sd 2:0:0:0: [sda] 20971520 512-byte logical blocks: (10.7 GB/10.0
GiB)
[ 6.648714] sd 2:0:0:0: Attached scsi generic sg1 type 0
[ 6.652554] sd 2:0:0:0: [sda] Write Protect is off
[ 6.656302] sd 2:0:0:0: [sda] Mode Sense: 0f 00 10 00
[ 6.660788] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 6.666962] hv_storvsc vmbus_0_1: cmd 0xa3 scsi status 0x2 srb status 0x4
[ 6.672036] scsi3 : storvsc_host_t
[ 6.674254] scsi scan: INQUIRY result too short (5), using 36
[ 6.678193] scsi scan: INQUIRY result too short (5), using 36
[ 16.675250] hv_storvsc vmbus_0_1: cmd 0xa3 scsi status 0x2 srb status 0x4
[ 26.686021] hv_storvsc vmbus_0_1: cmd 0xa3 scsi status 0x2 srb status 0x4

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Changed in linux (Ubuntu):
importance: Undecided → High
tags: added: kernel-da-key
Andy Whitcroft (apw)
Changed in linux (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Andy Whitcroft (apw)
Revision history for this message
Andy Whitcroft (apw) wrote :

I have attempted to fix this issue, the resulting patch is applied to the kernels below, could you test these and confirm they boot correctly. Kernels are at the link below:

    http://people.canonical.com/~apw/lp1234417-saucy/

Please report any testing back here.

Revision history for this message
Abhishek Gupta (abgupta) wrote :

Hey Andy,

Is it possible for you to combine the fix for this bug and https://bugs.launchpad.net/bugs/1234413 in your private kernel. That way we can test it end to end. Please let us know.

Thanks,
Abhishek

Revision history for this message
Abhishek Gupta (abgupta) wrote :

We tested it. The storage issue is fixed. Please could you combine this fix with the display driver issue:

https://bugs.launchpad.net/bugs/1234413

Thanks,
Abhishek

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 3.11.0-12.18

---------------
linux (3.11.0-12.18) saucy; urgency=low

  [ Andy Whitcroft ]

  * [Packing] tools -- when tools are off they are off
  * [config] tools -- linux-tools-common really is common
  * [Packaging] tools -- make cpupower optional
  * [Packaging] tools -- fix crosscompilation
  * [config] tools -- enable cpupower
  * SAUCE: storvsc -- host takes MAINTENANCE_IN commands badly elide them
    - LP: #1234417

  [ John Johansen ]

  * SAUCE: apparmor: fix unix domain sockets to be mediated on connection
    - LP: #1208988
  * SAUCE: apparmor: allocate path lookup buffers during init
    - LP: #1208988
  * SAUCE: apparmor: fix memleak of the profile hash
    - LP: #1235523
  * SAUCE: apparmor: fix memleak of replacedby struct
    - LP: #1235973
  * SAUCE: apparmor: fix bad lock balance when introspecting policy
    - LP: #1235977

  [ Paolo Pisati ]

  * [Config] arm: VIRTIO_[BLK|NET|MMIO]=y

  [ Rob Herring ]

  * SAUCE: (no-up) net: calxedaxgmac: fix clearing of old filter addresses
    - LP: #1235272
  * SAUCE: (no-up) net: calxedaxgmac: add uc and mc filter addresses in
    promiscuous mode
    - LP: #1235272
  * SAUCE: (no-up) net: calxedaxgmac: determine number of address filters
    at runtime
    - LP: #1235272

  [ Tim Gardner ]

  * [Config] CONFIG_ANDROID=n
    - LP: #1235161
  * [Config] CONFIG_L2TP_V3=y
    - LP: #1235914
  * Release tracker
    - LP: #1236999

  [ Upstream Kernel Changes ]

  * Revert "HID: core: fix reporting of raw events"
    - LP: #1218004
 -- Andy Whitcroft <email address hidden> Fri, 04 Oct 2013 13:08:59 +0100

Changed in linux (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.