[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#792929: linux-image-3.16.0-4-amd64: Sporadic "hv_storvsc" in dmesg and FS remounted read-only, when running as an Hyper-V guest



Package: src:linux
Version: 3.16.7-ckt11-1
Severity: normal
Tags: patch upstream

Dear Maintainer,

   * What led up to the situation?

Running as an Hyper-V guest, I see sporadic  messages like the ones you can see at the end of this dmesg output. This doesn't appear to be related to what happens on the machine, it may be related to the underlying storage taking backup snapshots, but I am not sure since I don't have access to it.

In one occasione dmesg said:

[1710593.904046] sd 2: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.
[1710593.904061] end_request: I/O error, dev sda, sector 531976632
[1710593.905535] Aborting journal on device sda5-8.
[1710593.912586] EXT4-fs error (device sda5): ext4_journal_check_start:56: Detected aborted journal
[1710593.913975] EXT4-fs (sda5): Remounting filesystem read-only
[1797034.976074] EXT4-fs (sda5): error count since last fsck: 2
[1797034.976116] EXT4-fs (sda5): initial error at time 1436081211: ext4_journal_check_start:56
[1797034.976133] EXT4-fs (sda5): last error at time 1436081211: ext4_journal_check_start:56

The FS was read-only, we had to reboot and manually run fsck.

This appears to be the bug in the Hyper-V virtualized storage driver described in:

https://social.technet.microsoft.com/Forums/windowsserver/en-US/8807f61c-565e-45bc-abc4-af09abf59de2/ubuntu-14042-lts-generation-2-scsi-errors-on-vss-based-backups

That bug lead to the patch:

http://git.kernel.org/cgit/linux/kernel/git/jejb/scsi.git/commit/?id=dc45708ca9988656d706940df5fd102672c5de92

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Most of this messages are harmless, when it remounted RO we rebooted.

   * What was the outcome of this action?

fsck had to be run manually

   * What outcome did you expect instead?

I expect the FS not to be remounted read-only.



-- Package-specific info:
** Version:
Linux version 3.16.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24)

** Command line:
BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64 root=UUID=c52e963f-ad44-49b5-b657-65ffae35a135 ro quiet

** Not tainted

** Kernel log:
[    1.307341] cdrom: Uniform CD-ROM driver Revision: 3.20
[    1.307713] sr 1:0:0:0: Attached scsi CD-ROM sr0
[    1.310584] sd 2:0:0:0: Attached scsi generic sg0 type 0
[    1.310821] sr 1:0:0:0: Attached scsi generic sg1 type 5
[    1.800087] tsc: Refined TSC clocksource calibration: 1999.998 MHz
[    2.013645] hv_netvsc vmbus_0_13: Send section size: 6144, Section count:170
[    2.013955] hv_netvsc vmbus_0_13: Device MAC 00:15:5d:00:87:1f link state up
[    2.273864] PM: Starting manual resume from disk
[    2.273873] PM: Hibernation image partition 8:1 present
[    2.273875] PM: Looking for hibernation image.
[    2.274221] PM: Image not found (code -22)
[    2.274224] PM: Hibernation image not present or could not be loaded.
[    2.453629] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null)
[    3.533926] random: nonblocking pool is initialized
[   11.807712] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[   15.117107] systemd-udevd[197]: starting version 215
[   19.098448] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
[   19.098457] ACPI: Power Button [PWRF]
[   19.444133] input: PC Speaker as /devices/platform/pcspkr/input/input4
[   19.779940] hv_vmbus: registering driver hyperv_fb
[   19.780832] hyperv_fb: Screen resolution: 1152x864, Color depth: 32
[   19.785620] Console: switching to colour frame buffer device 144x54
[   19.968763] psmouse serio1: alps: Unknown ALPS touchpad: E7=12 00 64, EC=12 00 64
[   20.013638] piix4_smbus 0000:00:07.3: SMBus base address uninitialized - upgrade BIOS or use force_addr=0xaddr
[   20.172074] psmouse serio1: trackpoint: failed to get extended button data
[   20.201985] AVX version of gcm_enc/dec engaged.
[   20.206808] alg: No test for __gcm-aes-aesni (__driver-gcm-aes-aesni)
[   20.323755] hv_vmbus: registering driver hyperv_keyboard
[   20.356807] hv_utils: Registering HyperV Utility Driver
[   20.356812] hv_vmbus: registering driver hv_util
[   20.399659] alg: No test for crc32 (crc32-pclmul)
[   20.880089] Adding 7811068k swap on /dev/sda1.  Priority:-1 extents:1 across:7811068k FS
[   22.641247] EXT4-fs (sda5): re-mounted. Opts: errors=remount-ro
[   22.649268] systemd-journald[192]: Received request to flush runtime journal from PID 1
[   24.172149] psmouse serio1: trackpoint: IBM TrackPoint firmware: 0x01, buttons: 0/0
[   24.173335] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/input/input5
[   24.174317] input: AT Translated Set 2 keyboard as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:07/VMBUS:01/vmbus_0_4/serio2/input/input6
[   28.822885] RPC: Registered named UNIX socket transport module.
[   28.822890] RPC: Registered udp transport module.
[   28.822892] RPC: Registered tcp transport module.
[   28.822894] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   28.956064] FS-Cache: Loaded
[   29.115073] FS-Cache: Netfs 'nfs' registered for caching
[   29.716786] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[142336.436983] [sched_delayed] sched: RT throttling activated
[142347.805212] hv_storvsc vmbus_0_1: cmd 0x2a scsi status 0x2 srb status 0x82
[142347.805263] hv_storvsc vmbus_0_1: stor pkt ffff8801fc39d900 autosense data valid - len 18
[142347.805282] storvsc: Sense Key : Unit Attention [current] 
[142347.805308] storvsc: Add. Sense: Changed operating definition
[142347.805352] sd 2: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.
[143491.804281] hv_storvsc vmbus_0_1: cmd 0x2a scsi status 0x2 srb status 0x82
[143491.804323] hv_storvsc vmbus_0_1: stor pkt ffff8801fc39d580 autosense data valid - len 18
[143491.804340] storvsc: Sense Key : Unit Attention [current] 
[143491.804358] storvsc: Add. Sense: Changed operating definition
[143491.805052] sd 2: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.
[271999.884414] hv_storvsc vmbus_0_1: cmd 0x2a scsi status 0x2 srb status 0x82
[271999.884464] hv_storvsc vmbus_0_1: stor pkt ffff8801fc39dc80 autosense data valid - len 18
[271999.884482] storvsc: Sense Key : Unit Attention [current] 
[271999.884500] storvsc: Add. Sense: Changed operating definition
[271999.884547] sd 2: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.
[356516.828336] hv_storvsc vmbus_0_1: cmd 0x2a scsi status 0x2 srb status 0x82
[356516.828378] hv_storvsc vmbus_0_1: stor pkt ffff8801fc39d900 autosense data valid - len 18
[356516.828395] storvsc: Sense Key : Unit Attention [current] 
[356516.828413] storvsc: Add. Sense: Changed operating definition
[356516.828490] sd 2: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.
[358197.820260] hv_storvsc vmbus_0_1: cmd 0x2a scsi status 0x2 srb status 0x82
[358197.820290] hv_storvsc vmbus_0_1: stor pkt ffff8801fc39d580 autosense data valid - len 18
[358197.820299] storvsc: Sense Key : Unit Attention [current] 
[358197.820309] storvsc: Add. Sense: Changed operating definition
[358197.820405] sd 2: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.
[529187.789821] hv_storvsc vmbus_0_1: cmd 0x2a scsi status 0x2 srb status 0x82
[529187.789863] hv_storvsc vmbus_0_1: stor pkt ffff8801fc39dc80 autosense data valid - len 18
[529187.789881] storvsc: Sense Key : Unit Attention [current] 
[529187.789899] storvsc: Add. Sense: Changed operating definition
[529187.789982] sd 2: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.
[530995.820352] hv_storvsc vmbus_0_1: cmd 0x2a scsi status 0x2 srb status 0x82
[530995.820392] hv_storvsc vmbus_0_1: stor pkt ffff8801fc39dac0 autosense data valid - len 18
[530995.820411] storvsc: Sense Key : Unit Attention [current] 
[530995.820429] storvsc: Add. Sense: Changed operating definition
[530995.820477] sd 2: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.
[737408.174672] hv_storvsc vmbus_0_1: cmd 0x2a scsi status 0x2 srb status 0x82
[737408.174705] hv_storvsc vmbus_0_1: stor pkt ffff8801fc39d900 autosense data valid - len 18
[737408.174722] storvsc: Sense Key : Unit Attention [current] 
[737408.174740] storvsc: Add. Sense: Changed operating definition
[737408.174831] sd 2: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.
[738576.812231] hv_storvsc vmbus_0_1: cmd 0x2a scsi status 0x2 srb status 0x82
[738576.812262] hv_storvsc vmbus_0_1: stor pkt ffff8801fc39d900 autosense data valid - len 18
[738576.812278] storvsc: Sense Key : Unit Attention [current] 
[738576.812296] storvsc: Add. Sense: Changed operating definition
[738576.812438] sd 2: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.
[868427.212827] hv_storvsc vmbus_0_1: cmd 0x2a scsi status 0x2 srb status 0x82
[868427.212868] hv_storvsc vmbus_0_1: stor pkt ffff8801fc39d200 autosense data valid - len 18
[868427.212886] storvsc: Sense Key : Unit Attention [current] 
[868427.212905] storvsc: Add. Sense: Changed operating definition
[868427.212992] sd 2: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.
[869456.337408] hv_storvsc vmbus_0_1: cmd 0x2a scsi status 0x2 srb status 0x82
[869456.337448] hv_storvsc vmbus_0_1: stor pkt ffff8801fc39d200 autosense data valid - len 18
[869456.337466] storvsc: Sense Key : Unit Attention [current] 
[869456.337484] storvsc: Add. Sense: Changed operating definition
[869456.337535] sd 2: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.

** Model information
sys_vendor: Microsoft Corporation
product_name: Virtual Machine
product_version: 7.0
chassis_vendor: Microsoft Corporation
chassis_version: 7.0
bios_vendor: American Megatrends Inc.
bios_version: 090006 
board_vendor: Microsoft Corporation
board_name: Virtual Machine
board_version: 7.0

** Loaded modules:
nfsd
auth_rpcgss
oid_registry
nfs_acl
nfs
lockd
fscache
sunrpc
crc32_pclmul
ghash_clmulni_intel
hv_utils
hyperv_keyboard
aesni_intel
aes_x86_64
lrw
gf128mul
glue_helper
evdev
i2c_piix4
i2c_core
hyperv_fb
psmouse
ablk_helper
processor
joydev
thermal_sys
pcspkr
serio_raw
button
cryptd
autofs4
ext4
crc16
mbcache
jbd2
sg
sd_mod
sr_mod
crc_t10dif
cdrom
crct10dif_generic
ata_generic
hid_generic
hv_netvsc
hid_hyperv
hid
hv_storvsc
crct10dif_pclmul
crct10dif_common
crc32c_intel
ata_piix
libata
scsi_mod
hv_vmbus
floppy

** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (AGP disabled) [8086:7192] (rev 03)
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0

00:07.0 ISA bridge [0601]: Intel Corporation 82371AB/EB/MB PIIX4 ISA [8086:7110] (rev 01)
	Subsystem: Microsoft Corporation Device [1414:0000]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0

00:07.1 IDE interface [0101]: Intel Corporation 82371AB/EB/MB PIIX4 IDE [8086:7111] (rev 01) (prog-if 80 [Master])
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
	Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable)
	Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
	Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable)
	Region 4: I/O ports at ffa0 [size=16]
	Kernel driver in use: ata_piix

00:07.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 02)
	Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin A routed to IRQ 9

00:08.0 VGA compatible controller [0300]: Microsoft Corporation Hyper-V virtual VGA [1414:5353] (prog-if 00 [VGA controller])
	Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at f8000000 (32-bit, non-prefetchable) [size=64M]
	Expansion ROM at <unassigned> [disabled]
	Kernel driver in use: hyperv_fb


** USB devices:
not available


-- System Information:
Debian Release: 8.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages linux-image-3.16.0-4-amd64 depends on:
ii  debconf [debconf-2.0]                   1.5.56
ii  initramfs-tools [linux-initramfs-tool]  0.120
ii  kmod                                    18-3
ii  linux-base                              3.5

Versions of packages linux-image-3.16.0-4-amd64 recommends:
pn  firmware-linux-free  <none>
pn  irqbalance           <none>

Versions of packages linux-image-3.16.0-4-amd64 suggests:
pn  debian-kernel-handbook  <none>
ii  grub-pc                 2.02~beta2-22
pn  linux-doc-3.16          <none>

Versions of packages linux-image-3.16.0-4-amd64 is related to:
pn  firmware-atheros        <none>
pn  firmware-bnx2           <none>
pn  firmware-bnx2x          <none>
pn  firmware-brcm80211      <none>
pn  firmware-intelwimax     <none>
pn  firmware-ipw2x00        <none>
pn  firmware-ivtv           <none>
pn  firmware-iwlwifi        <none>
pn  firmware-libertas       <none>
pn  firmware-linux          <none>
pn  firmware-linux-nonfree  <none>
pn  firmware-myricom        <none>
pn  firmware-netxen         <none>
pn  firmware-qlogic         <none>
pn  firmware-ralink         <none>
pn  firmware-realtek        <none>
pn  xen-hypervisor          <none>

-- debconf information:
  linux-image-3.16.0-4-amd64/postinst/depmod-error-initrd-3.16.0-4-amd64: false
  linux-image-3.16.0-4-amd64/postinst/mips-initrd-3.16.0-4-amd64:
  linux-image-3.16.0-4-amd64/prerm/removing-running-kernel-3.16.0-4-amd64: true


Reply to: