From owner-freebsd-usb@freebsd.org Mon Oct 2 23:43:20 2017 Return-Path: Delivered-To: freebsd-usb@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 AD3D9E2A42D for ; Mon, 2 Oct 2017 23:43:20 +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 8E5A3801DF for ; Mon, 2 Oct 2017 23:43:20 +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 v92NhKX3027252 for ; Mon, 2 Oct 2017 23:43:20 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 222743] unable to boot/install from Supermicro IPMI emulated disks Date: Mon, 02 Oct 2017 23:43:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: bugzilla@globecorp.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@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 attachments.created 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-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2017 23:43:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222743 Bug ID: 222743 Summary: unable to boot/install from Supermicro IPMI emulated disks Product: Base System Version: 10.3-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: usb Assignee: freebsd-usb@FreeBSD.org Reporter: bugzilla@globecorp.net Created attachment 186869 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D186869&action= =3Dedit IPMI screenshot showing problem The FreeBSD 10.2 and later, including 10.3-REL and 11.0-REL on both i386 and amd64 can not be loaded or installed on all Supermicro X9 motherboards (tes= ted on X9DLR, X9DBi, X9SCa, X9SCi-LN4F and many others) using IPMI emulated CD= ROM. after kernel loaded it stucks on umass1-device probe: umass1: 8087i (ATAPI) over Blulk-Only; quirks =3D 0xc101 umass1:8:1: Attached to scbus0 (cd0:umass1-sim1:1:0:0): got CAM status 0x44 (cd0:umass1-sim1:1:0:0): fatal error, failed to attach to device g_access(918): provider cd0 has error g_access(918): provider cd0 has error g_access(918): provider cd0 has error (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00 (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (probe0:umass-sim0:0:0:0): Retrying command (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00 (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (probe0:umass-sim0:0:0:0): Retrying command ... (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00 (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (probe0:umass-sim0:0:0:0): Error 5, Retries exhaused. we have digged deeply into the problem and found that it is related to how = BSD deals with CDROM cache. Using the best of our knowledge we found a way to f= ix it: on the boot time escaping to loader prompt (press 3 in when loader menu appears), and entering following command: set hw.usb.quirk.0=3D"0x0ea0 0x2222 0 0xffff UQ_MSC_NO_SYNC_CACHE" boot after this kernel loads successfully and FreeBSD can be installed without a= ny troubles. The problem appears only on FreeBSD 10.2 and later. Version 10.1 and previo= us including but not limited to : 10.0 , 9.3 , 8.4 , 7.4 and 6.4 have no such problem. Please add this fix to the further releases including 10.4 , as at the mome= nt its barely impossible to install or repair OS on the servers with mentioned motherboards which are very popular. Thanks, Tech Support Team Globecorp Networks --=20 You are receiving this mail because: You are the assignee for the bug.=