kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #186517
[Bug 1470250] Re: [Hyper-V] Ubuntu 14.04.2 LTS Generation 2 SCSI Errors on VSS Based Backups
Ok, I built one more test kernel with all of the commits to scsi_lib.c
between v3.13 and 3.16 reverted. The list of commits reverted are:
39460b Revert "scsi: handle command allocation failure in scsi_reset_provider"
9ab4c8d Revert "fix regression in SCSI_IOCTL_SEND_COMMAND"
53bad98 Revert "[SCSI] Add timeout to avoid infinite command retry"
db3519f Revert "[SCSI] do not manipulate device reference counts in scsi_get/put_command"
73a18ef Revert "block: remove struct request buffer member"
e113519 Revert "scsi: explicitly release bidi buffers"
d499c5c Revert "block: add blk_rq_set_block_pc()"
a6007d4 Revert "Fix uses of dma_max_pfn() when converting to a limiting address"
5cff82a Revert "[SCSI] avoid taking host_lock in scsi_run_queue unless nessecary"
5b26bad Revert "[SCSI] remove a useless get/put_device pair in scsi_request_fn"
391dd86 Revert "[SCSI] remove a useless get/put_device pair in scsi_next_command"
0ea6db9 Revert "[SCSI] remove a useless get/put_device pair in scsi_requeue_command"
8269e93 Revert "scsi: Make sure cmd_flags are 64-bit"
f24f671 Revert "[SCSI] don't reference freed command in scsi_init_sgtable"
13408dd Revert "[SCSI] don't reference freed command in scsi_prep_return"
bfa085e Revert "[SCSI] Fix command result state propagation"
fd5c3b0 Revert "scsi: remove scsi_end_request"
cb70e5e Revert "scsi: reintroduce scsi_driver.init_command"
440599c Revert "scsi: handle flush errors properly"
The test kernel can be downloaded from:
http://kernel.ubuntu.com/~jsalisbury/lp1470250/revert-and-bisect/utopic/
If this test kernel still has the issue, we will have to first revert
89fb4cd then bisect again between 3.13 and 3.16.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1470250
Title:
[Hyper-V] Ubuntu 14.04.2 LTS Generation 2 SCSI Errors on VSS Based
Backups
Status in linux package in Ubuntu:
In Progress
Status in linux source package in Trusty:
In Progress
Status in linux source package in Vivid:
In Progress
Status in linux source package in Wily:
In Progress
Status in linux source package in Xenial:
In Progress
Status in linux source package in Yakkety:
In Progress
Bug description:
Customers have reported running various versions of Ubuntu 14.04.2 LTS
on Generation 2 Hyper-V Hosts. On a random Basis, the file system
will be mounted Read-Only due to a "disk error" (which really isn't
the case here). As a result, they must reboot the Ubuntu guest to
get the file system to mount RW again.
The Error seen are the following:
Apr 30 00:02:01 balticnetworkstraining kernel: [640153.968142] storvsc: Sense Key : Unit Attention [current]
Apr 30 00:02:01 balticnetworkstraining kernel: [640153.968145] storvsc: Add. Sense: Changed operating definition
Apr 30 00:02:01 balticnetworkstraining kernel: [640153.968161] sd 0:0:0:0: Warning! Received an indication that the operating parameters on this target have changed. The Linux SCSI layer does not automatically adjust these parameters.
Apr 30 01:23:26 balticnetworkstraining kernel: [645039.584164] hv_storvsc vmbus_0_4: cmd 0x2a scsi status 0x2 srb status 0x82
Apr 30 01:23:26 balticnetworkstraining kernel: [645039.584178] hv_storvsc vmbus_0_4: stor pkt ffff88006eb6c700 autosense data valid - len 18
Apr 30 01:23:26 balticnetworkstraining kernel: [645039.584180] storvsc: Sense Key : Unit Attention [current]
Apr 30 01:23:26 balticnetworkstraining kernel: [645039.584183] storvsc: Add. Sense: Changed operating definition
Apr 30 01:23:26 balticnetworkstraining kernel: [645039.584198] sd 0:0:0:0: Warning! Received an indication that the operating parameters on this target have changed. The Linux SCSI layer does not automatically adjust these parameters.
This relates to the VSS "Windows Server Backup" process that kicks off at midnight on the host and finishes an hour and half later.
Yes, we do have hv_vss_daemon and hv_kvp_daemon running for the correct kernel version we have. We're currently running kernel version 3.13.0-49-generic #83 on one system and 3.16.0-34-generic #37 on the other. -- We see the same errors on both.
As a result, we've been hesitant to drop any more ubuntu guests on our 2012R2 hyper-v system because of this. We can stop the backup process and all is good, but we need nightly backups to image all of our VM's. All the windows guests have no issues of course. We also have some CentOS based guests running without issues from what we've seen.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1470250/+subscriptions
References