Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Feb 2018 02:02:02 +0000
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
Message-ID:  <bug-225794-27103-3kNOX1X32i@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-225794-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-225794-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225794

Jeremy Chadwick <jdc@koitsu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jdc@koitsu.org

--- Comment #4 from Jeremy Chadwick <jdc@koitsu.org> ---
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225794-27103-3kNOX1X32i>