From owner-freebsd-bugs@freebsd.org Tue Jan 26 02:10:10 2016 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 59D16A46742 for ; Tue, 26 Jan 2016 02:10:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49E4D30E for ; Tue, 26 Jan 2016 02:10:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u0Q2AAq9089173 for ; Tue, 26 Jan 2016 02:10:10 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 206630] [Hyper-V]FreeBSD 10.2 on Windows 10 & 2016 server may not boot due to multiple invalid disks issue Date: Tue, 26 Jan 2016 02:10:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: honzhan@microsoft.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jan 2016 02:10:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206630 Bug ID: 206630 Summary: [Hyper-V]FreeBSD 10.2 on Windows 10 & 2016 server may not boot due to multiple invalid disks issue Product: Base System Version: 10.2-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: honzhan@microsoft.com CC: freebsd-amd64@FreeBSD.org CC: freebsd-amd64@FreeBSD.org The problem can be reproduced for FreeBSD 10.2 installed on windows 10 and = 2016 server. The valid disk was randomly switched with invalid disk. For example, from d= a0 to da1 when restarting the VM. As a result, the boot process will hang beca= use system wants to load ufs on /dev/da0p2, but in fact it locates in an invalid disk. Both "camcontrol" and "dmesg" can be used to check whether this issue exist. camcontrol command lists 16 disk, but only one is valid. See the output of 'camcontrol devlist' on windows 10. root@honzhan-dev2:/usr/src # camcontrol devlist at scbus0 target 0 lun 0 (cd0,pass0) at scbus1 target 0 lun 0 (da1,pass2) < > at scbus1 target 1 lun 1 (da0,pass1) < > at scbus2 target 0 lun 1 (da2,pass3) < > at scbus2 target 0 lun 2 (da4,pass5) < > at scbus2 target 0 lun 3 (da6,pass7) < > at scbus2 target 0 lun 4 (da8,pass9) < > at scbus2 target 0 lun 5 (da10,pass11) < > at scbus2 target 0 lun 6 (da12,pass13) < > at scbus2 target 0 lun 7 (da14,pass15) < > at scbus2 target 1 lun 1 (da3,pass4) < > at scbus2 target 1 lun 2 (da5,pass6) < > at scbus2 target 1 lun 3 (da7,pass8) < > at scbus2 target 1 lun 4 (da9,pass10) < > at scbus2 target 1 lun 5 (da11,pass12) < > at scbus2 target 1 lun 6 (da13,pass14) < > at scbus2 target 1 lun 7 (da15,pass16) dmesg also shows us the similar information: dmesg da0 at blkvsc0 bus 0 scbus1 target 1 lun 1 da0: < > Fixed Direct Access SCSI device da0: 300.000MB/s transfers da0: 0MB (0 512 byte sectors: 0H 0S/T 0C) da0: Delete methods: da1 at blkvsc0 bus 0 scbus1 target 0 lun 0 da1: Fixed Direct Access SPC-3 SCSI device da1: 300.000MB/s transfers da1: 20480MB (41943040 512 byte sectors: 255H 63S/T 2610C) da2: < > Fixed Direct Access SCSI device da2: 300.000MB/s transfers da2: 0MB (0 512 byte sectors: 0H 0S/T 0C) da2: Delete methods: da3 at storvsc1 bus 0 scbus2 target 1 lun 1 da3: < > Fixed Direct Access SCSI device da3: 300.000MB/s transfers da3: 0MB (0 512 byte sectors: 0H 0S/T 0C) da3: Delete methods: da5: < > Fixed Direct Access SCSI device da5: 300.000MB/s transfers da5: 0MB (0 512 byte sectors: 0H 0S/T 0C) da5: Delete methods: da4: < > Fixed Direct Access SCSI device da4: 300.000MB/s transfers da4: 0MB (0 512 byte sectors: 0H 0S/T 0C) da4: Delete methods: --=20 You are receiving this mail because: You are the assignee for the bug.=