From owner-freebsd-virtualization@freebsd.org Sat Feb 17 02:02:03 2018 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 92081F02E53 for ; Sat, 17 Feb 2018 02:02:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2EC047EFB1 for ; Sat, 17 Feb 2018 02:02:03 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 6AA5513CCF for ; Sat, 17 Feb 2018 02:02:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w1H222jF076192 for ; Sat, 17 Feb 2018 02:02:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1H222nK076182 for freebsd-virtualization@FreeBSD.org; Sat, 17 Feb 2018 02:02:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 225794] VM images for 12.0-CURRENT have problem with USB 3.0 ports Date: Sat, 17 Feb 2018 02:02:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jdc@koitsu.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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-virtualization@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Feb 2018 02:02:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225794 Jeremy Chadwick changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jdc@koitsu.org --- Comment #4 from Jeremy Chadwick --- freebsd-stable mailing list also has this, indicating an MFC has now caused this problem in -STABLE: https://lists.freebsd.org/pipermail/freebsd-stable/2018-February/088393.html "VM image for 11.1-STABLE began exhibiting same dislike for USB 3.0 ports as problem reported in PR 225794 for 12.0-CURRENT. Prior to FreeBSD-11.1-STABLE-amd64-20180215-r329320.vmdk.xz no such problem was observed." CAM status 0x44 refers to done_ccb->ccb_h.status per sys/cam/scsi/scsi_da.c, function dadone(). done_ccb is declared as "union ccb *done_ccb". Field c= cb_h is likely declared as "struct ccb_hdr ccb_h" (this is commonplace). Field status is therefore "u_int32_t status" per sys/cam/scsi/cam_ccb.h, which sh= ould correlate with the cam_status enum per sys/cam/scsi/cam.h. I had to write a small program to dump all the enum names and values because the ordering and mid-struct value assignments result in hard-to-read code. Text strings come directly from cam_status_table[] per sys/cam/cam.c, except for QFRZN, which comes from the .h file itself. 0x04 =3D CAM_REQ_CMP_ERR =3D CCB request completed with an error 0x40 =3D CAM_DEV_QFRZN =3D The DEV queue is frozen w/this err Suggest involving avg@, hselasky@, and emaste@ You will probably be asked = to try older commits to try and narrow down what exact commit broke things. stable/11 commits: http://www.freshbsd.org/search?branch=3DRELENG_11&project=3Dfreebsd HEAD commits: http://www.freshbsd.org/?branch=3DHEAD&project=3Dfreebsd --=20 You are receiving this mail because: You are the assignee for the bug.=