[Bug 226583] FreeBSD VM on Hyper-V/Azure can't properly detected SCSI disk da2
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Mar 13 22:38:49 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226583
Bug ID: 226583
Summary: FreeBSD VM on Hyper-V/Azure can't properly detected
SCSI disk da2
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: freebsd-bugs at FreeBSD.org
Reporter: decui at microsoft.com
(The bug was previously reported at
https://www.mail-archive.com/freebsd-virtualization@freebsd.org/msg05792.html)
Since Jan 2018, some FreeBSD VMs can't properly detect HDD-backed disks.
The issue happens to the latest 12-CURRENT too.
da0 (0:0:0:0)is also backed by HDD, but somehow is not affected.
da1 (1:0:1:0) it not affected either, only the extra disks, e,g. da2
(3:0:0:0), are affected.
These are the logs of my VM, which has da0, da1 and da2. These 3 disks
are on 3 different disk controllers.
[root at decui-d4-repro ~]# dmesg -c > /dev/null
[root at decui-d4-repro ~]# camcontrol rescan all
Re-scan of bus 0 was successful
Re-scan of bus 1 was successful
Re-scan of bus 2 was successful
Re-scan of bus 3 was successful
Re-scan of bus 4 was successful
Re-scan of bus 5 was successful
[root at decui-d4-repro ~]# dmesg
(aprobe0:ata0:0:0:0): Disable ATA disks on simulated ATA controller
(0x71118086)
(aprobe0:ata0:0:1:0): Disable ATA disks on simulated ATA controller
(0x71118086)
(probe1:(probe0:blkvsc0:0:1:0): Down reving Protocol Version from 4 to 2?
blkvsc0:0:0:0): storvsc inquiry (36) [0 0 4 2 1f ... ]
(probe1:blkvsc0:0:1:0): storvsc inquiry (36) [7f 0 5 2 1f ... ]
(probe0:blkvsc0:0:0:0): storvsc scsi_status = 2, srb_status = 6
(probe0:(probe1:blkvsc0:0:0:0): storvsc inquiry (5) [0 0 0 5 0 ... ]
(probe0:blkvsc0:0:1:1): Down reving Protocol Version from 4 to 2?
blkvsc0:0:0:0): storvsc inquiry (6) [0 83 0 1c 1 ... ]
(probe1:blkvsc0:0:1:1): invalid LUN 1 for op: INQUIRY
(probe0:blkvsc0:0:0:1): invalid LUN 1 for op: INQUIRY
(probe0:blkvsc1:0:0:0): Down reving Protocol Version from 4 to 2?
(probe0:blkvsc1:0:0:0): storvsc inquiry (36) [7f 0 5 2 1f ... ]
(probe1:(probe0:blkvsc1:0:1:0): storvsc inquiry (36) [0 0 5 2 1f ... ]
(probe1:blkvsc1:0:0:1): Down reving Protocol Version from 4 to 2?
blkvsc1:0:1:0): storvsc scsi_status = 2, srb_status = 6
(probe1:blkvsc1:0:1:0): storvsc inquiry (5) [0 0 0 8 0 ... ]
(probe0:blkvsc1:0:0:1): invalid LUN 1 for op: INQUIRY
(probe1:blkvsc1:0:1:0): storvsc inquiry (6) [0 83 0 30 1 ... ]
(probe0:storvsc2:0:0:0): Down reving Protocol Version from 4 to 2?
(probe1:(probe0:storvsc2:0:1:0): Down reving Protocol Version from 4 to 2?
storvsc2:0:0:0): storvsc inquiry (36) [7f 0 5 2 1f ... ]
(probe1:(probe0:storvsc2:0:1:0): storvsc inquiry (36) [7f 0 5 2 1f ... ]
(probe1:storvsc2:0:0:1): Down reving Protocol Version from 4 to 2?
(probe0:storvsc2:0:1:1): Down reving Protocol Version from 4 to 2?
(probe1:storvsc2:0:0:1): invalid LUN 1 for op: INQUIRY
storvsc2:0:1:1): invalid LUN 1 for op: INQUIRY
(probe0:storvsc3:0:0:0): Down reving Protocol Version from 4 to 2?
(probe1:(probe0:storvsc3:0:1:0): Down reving Protocol Version from 4 to 2?
storvsc3:0:0:0): storvsc inquiry (36) [0 0 4 2 1f ... ]
(probe1:(probe0:storvsc3:0:1:0): storvsc inquiry (36) [7f 0 5 2 1f ... ]
storvsc3:0:0:0): storvsc scsi_status = 2, srb_status = 6
(probe0:(probe1:storvsc3:0:0:0): storvsc inquiry (5) [0 0 0 5 0 ... ]
(probe0:storvsc3:0:1:1): Down reving Protocol Version from 4 to 2?
storvsc3:0:0:0): storvsc inquiry (6) [0 83 0 1c 1 ... ]
(probe1:storvsc3:0:1:1): invalid LUN 1 for op: INQUIRY
GEOM: new disk da2
(probe0:pass3 at storvsc3 bus 0 scbus5 target 0 lun 0
storvsc3:0:0:1): invalid LUN 1 for op: INQUIRY
pass3: <Msft Virtual Disk 1.0> Fixed Direct Access SPC-2 SCSI device
pass3: 300.000MB/s transfers
pass3: Command Queueing enabled
pass3 at storvsc3 bus 0 scbus5 target 0 lun 0
pass3: <Msft Virtual Disk 1.0> detached
(da2:storvsc3:0:0:0): fatal error, could not acquire reference count
(pass3:(da2:storvsc3:0:storvsc3:0:0:0): storvsc inquiry (5) [0 b1 0 3c 0 ... ]
0:0): Periph destroyed
da2: Delete methods: <NONE(*),ZERO>
Opened disk da2 -> 6
g_access(918): provider da2 has error
g_access(918): provider da2 has error
g_access(918): provider da2 has error
g_access(918): provider da2 has error
According to the log, first it looks da2 is indeed detected, but then
it's detached immediately:
pass3: <Msft Virtual Disk 1.0> detached
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list