From owner-freebsd-usb@freebsd.org Sun Nov 24 12:05:33 2019 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2F6F91AD76D for ; Sun, 24 Nov 2019 12:05:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47LTQ50ZX8z3y2h for ; Sun, 24 Nov 2019 12:05:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 13B9B1AD76C; Sun, 24 Nov 2019 12:05:33 +0000 (UTC) Delivered-To: usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 137F71AD76A for ; Sun, 24 Nov 2019 12:05:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47LTQ46pF5z3y2g for ; Sun, 24 Nov 2019 12:05:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C9E9823F09 for ; Sun, 24 Nov 2019 12:05:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xAOC5WjE068982 for ; Sun, 24 Nov 2019 12:05:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xAOC5WnD068972 for usb@FreeBSD.org; Sun, 24 Nov 2019 12:05:32 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: usb@FreeBSD.org Subject: [Bug 232040] wmt driver fails to attach to Synaptics Touchscreen Date: Sun, 24 Nov 2019 12:05:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: wulf@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created 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-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Nov 2019 12:05:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232040 Vladimir Kondratyev changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #209051|0 |1 is obsolete| | --- Comment #11 from Vladimir Kondratyev --- Created attachment 209381 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D209381&action= =3Dedit Fix_report_descriptor.patch --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Sun Nov 24 12:16:25 2019 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0D6241ADA83 for ; Sun, 24 Nov 2019 12:16:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47LTfc6g36z3yLd for ; Sun, 24 Nov 2019 12:16:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E4B081ADA82; Sun, 24 Nov 2019 12:16:24 +0000 (UTC) Delivered-To: usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E479D1ADA80 for ; Sun, 24 Nov 2019 12:16:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47LTfc5qRvz3yLc for ; Sun, 24 Nov 2019 12:16:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AC8D8240CC for ; Sun, 24 Nov 2019 12:16:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xAOCGO9m067843 for ; Sun, 24 Nov 2019 12:16:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xAOCGOfs067840 for usb@FreeBSD.org; Sun, 24 Nov 2019 12:16:24 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: usb@FreeBSD.org Subject: [Bug 232040] wmt driver fails to attach to Synaptics Touchscreen Date: Sun, 24 Nov 2019 12:16:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: wulf@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Nov 2019 12:16:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232040 --- Comment #12 from Vladimir Kondratyev --- (In reply to Sergei Akhmatdinov from comment #10) > Seems like I am getting events, here is the output of=20 > # evemu-record /dev/input/event0 > after touching the screen once and releasing. Events look good for single touch. So you need to configure Xorg properly. On one of my laptops I found following line in "ServerLayout" section: InputDevice "TouchScreen" "SendCoreEvents" May be that is what you need. The other option is to use evdev-awared input device autoconfiguration back= end. See: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D196678 P.S. I updated patch with proper fix for your touchscreen. Please test it a= fter reverting of previous one. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Sun Nov 24 12:16:53 2019 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 376FD1ADAE9 for ; Sun, 24 Nov 2019 12:16:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47LTg90nbNz3yMw for ; Sun, 24 Nov 2019 12:16:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1B08C1ADAE6; Sun, 24 Nov 2019 12:16:53 +0000 (UTC) Delivered-To: usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1AD271ADAE4 for ; Sun, 24 Nov 2019 12:16:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47LTg90040z3yMv for ; Sun, 24 Nov 2019 12:16:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D8C89240CF for ; Sun, 24 Nov 2019 12:16:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xAOCGqIi090165 for ; Sun, 24 Nov 2019 12:16:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xAOCGqxU090152 for usb@FreeBSD.org; Sun, 24 Nov 2019 12:16:52 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: usb@FreeBSD.org Subject: [Bug 232040] wmt driver fails to attach to Synaptics Touchscreen Date: Sun, 24 Nov 2019 12:16:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: wulf@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wulf@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to 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-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Nov 2019 12:16:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232040 Vladimir Kondratyev changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress Assignee|usb@FreeBSD.org |wulf@freebsd.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Sun Nov 24 21:00:16 2019 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C39261BAD89 for ; Sun, 24 Nov 2019 21:00:16 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47LjH44rjjz4T8r for ; Sun, 24 Nov 2019 21:00:16 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id A666F1BAD88; Sun, 24 Nov 2019 21:00:16 +0000 (UTC) Delivered-To: usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A627F1BAD87 for ; Sun, 24 Nov 2019 21:00:16 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47LjH43xpxz4T8h for ; Sun, 24 Nov 2019 21:00:16 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6C4731EEF for ; Sun, 24 Nov 2019 21:00:16 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xAOL0GvU063485 for ; Sun, 24 Nov 2019 21:00:16 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xAOL0Gwq063484 for usb@FreeBSD.org; Sun, 24 Nov 2019 21:00:16 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201911242100.xAOL0Gwq063484@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: usb@FreeBSD.org Subject: Problem reports for usb@FreeBSD.org that need special attention Date: Sun, 24 Nov 2019 21:00:16 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Nov 2019 21:00:16 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 213877 | xhci reset causes panic on SuperMicro A1SRi-2758F Open | 233884 | Corsair CORSAIR K70 RGB MK.2 / K63 / K63 Wireless Open | 234578 | Support for Sierra Wireless EM7455 modem 3 problems total for which you should take action. From owner-freebsd-usb@freebsd.org Mon Nov 25 23:21:52 2019 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 50E0F1BD84D for ; Mon, 25 Nov 2019 23:21:52 +0000 (UTC) (envelope-from farhan@farhan.codes) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) (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 47MNMz1j33z449x for ; Mon, 25 Nov 2019 23:21:50 +0000 (UTC) (envelope-from farhan@farhan.codes) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 8576AA2E for ; Mon, 25 Nov 2019 18:21:48 -0500 (EST) Received: from imap22 ([10.202.2.72]) by compute5.internal (MEProxy); Mon, 25 Nov 2019 18:21:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=farhan.codes; h= mime-version:message-id:date:from:to:subject:content-type; s= fm1; bh=5z5/VZHx918O3LE9fwl9Ljh4UPXtDW2i06eInax8bzg=; b=vdfA9Tev k/If34jinSX8gxz/ZZPFeof24LnaxOuTpb5NCJTKJxvtPY+NPpYxvB4j1Yo+a1Gz JSfaCm2PRBwnUxFU1HBeEtf9apDfmX7MzY+N9jDG7y6VViKIL9EzAJ3nALgWWnZB dci9LMJMenPa7Upje/LRMsxblAAMXKb9mRgM0pybNoqq5+A6ai/S5TEZhvUd6yax kCwcLxU3vtTpcQVkexQ65l1X3RGefNMocz4IUQbf+zXhxPTiLXH6Fg/BPa6KCQ6n oMzPiNMGW6ucoXhi/vzJUBlN6SixpKE/ktqdyRCmLelpp8vSiLv2TW+qk83OFRea ZAhAFRpRcIyGog== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=5z5/VZHx918O3LE9fwl9Ljh4UPXtD W2i06eInax8bzg=; b=Iak/z727LUSEvrpWesKUIZjnR3JfH4GOGXa/nkxx7mVvF 8ennBJCDjXaPz6P10I4s0hZmd2W4iek7OMOkkZXvNtTpeupqOQ9RZuNkyQh++7Y9 6Y/jYWyxUgi7idMmHtfLf3xUOvkd0ChbCBVxOYCJhEnsw7L2TJQlV29rSKITBril SSKO760/Y0NACQJlCLn5gMKgD65Ym0Pmbc32c40qwathDJzd+vMnn59jns+37q6H fUSi91H4t7VBv3r+IF2CbF62NkyV96oW5DC7sApw0jYYxSrN0EcSAQtDLFWAA6Qu R+Tj0G4tzq2Exo3dslENCP7WImLayI1Ib7ptovcCA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudeivddgtdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsehttdertd erredtnecuhfhrohhmpedfhfgrrhhhrghnucfmhhgrnhdfuceofhgrrhhhrghnsehfrghr hhgrnhdrtghouggvsheqnecurfgrrhgrmhepmhgrihhlfhhrohhmpehfrghrhhgrnhesfh grrhhhrghnrdgtohguvghsnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id A5698668005F; Mon, 25 Nov 2019 18:21:47 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.7-578-g826f590-fmstable-20191119v1 Mime-Version: 1.0 Message-Id: Date: Mon, 25 Nov 2019 18:21:27 -0500 From: "Farhan Khan" To: freebsd-usb@freebsd.org Subject: Matching 'struct usb_config' with usbconfig Content-Type: text/plain X-Rspamd-Queue-Id: 47MNMz1j33z449x X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=farhan.codes header.s=fm1 header.b=vdfA9Tev; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=Iak/z727; dmarc=none; spf=pass (mx1.freebsd.org: domain of farhan@farhan.codes designates 64.147.123.20 as permitted sender) smtp.mailfrom=farhan@farhan.codes X-Spamd-Result: default: False [-5.08 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[farhan.codes:s=fm1,messagingengine.com:s=fm1]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.20]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-usb@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[farhan.codes]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[farhan.codes:+,messagingengine.com:+]; IP_SCORE(-3.49)[ip: (-9.81), ipnet: 64.147.123.0/24(-4.91), asn: 11403(-2.68), country: US(-0.05)]; RCVD_IN_DNSWL_LOW(-0.10)[20.123.147.64.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; MID_RHS_WWW(0.50)[] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Nov 2019 23:21:52 -0000 Hi all, I have a clarification question about the USB protocol. I ran "lsusb -v" (same as usbconfig dump_info) and saw that a device's wMaxPacketSize was 0x0200 (512 bytes). However, the "struct usb_config" seems to set the bufsize field as 16384 (16 * 1024). What is the reason for this difference? Also, why would the number of usb_config Endpoints and the usb_config struct differ? Full context, the device is a Realtek RTL8188EU. The USB configuration variable is rtwn_config_common, as defined in sys/dev/rtwn/usb/rtwn_usb_ep.c. The bufsize is set to RTWN_USB_TXBUFSZ, which is defined as: #define RTWN_USB_TXBUFSZ (16 * 1024) Also, note that there are 3 Endpoints, but 5 elements in the rtwn_config_common structure. What explains this? Thanks! And see configuration below: -----BEGIN COMMAND BLOCK----- Bus 003 Device 004: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x0bda Realtek Semiconductor Corp. idProduct 0x8179 RTL8188EUS 802.11n Wireless Network Adapter bcdDevice 0.00 iManufacturer 1 iProduct 2 iSerial 3 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 39 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xa0 (Bus Powered) Remote Wakeup MaxPower 500mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x03 EP 3 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 -----END COMMAND BLOCK----- -- Farhan Khan PGP Fingerprint: 1312 89CE 663E 1EB2 179C 1C83 C41D 2281 F8DA C0DE From owner-freebsd-usb@freebsd.org Tue Nov 26 08:19:59 2019 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 226B51AE044 for ; Tue, 26 Nov 2019 08:19:59 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47McJt1zm0z4XXJ for ; Tue, 26 Nov 2019 08:19:57 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 7D74C2601B1; Tue, 26 Nov 2019 09:19:56 +0100 (CET) Subject: Re: Matching 'struct usb_config' with usbconfig To: Farhan Khan , freebsd-usb@freebsd.org References: From: Hans Petter Selasky Message-ID: Date: Tue, 26 Nov 2019 09:19:00 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47McJt1zm0z4XXJ X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 88.99.82.50 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-5.43 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-3.13)[ip: (-9.33), ipnet: 88.99.0.0/16(-4.73), asn: 24940(-1.57), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Nov 2019 08:19:59 -0000 On 2019-11-26 00:21, Farhan Khan wrote: > Hi all, > > I have a clarification question about the USB protocol. > > I ran "lsusb -v" (same as usbconfig dump_info) and saw that a device's wMaxPacketSize was 0x0200 (512 bytes). However, the "struct usb_config" seems to set the bufsize field as 16384 (16 * 1024). What is the reason for this difference? Also, why would the number of usb_config Endpoints and the usb_config struct differ? Hi, The buffer size is usually larger to avoid buffer underruns, but should be a multiplum of the wMaxPacketSize. We have an own flag for that, proxy buffer. usb_config is usually a sub-set of the endpoints the device has, and for sake of double buffering you may repeat the same entry. --HPS > > Full context, the device is a Realtek RTL8188EU. The USB configuration variable is rtwn_config_common, as defined in sys/dev/rtwn/usb/rtwn_usb_ep.c. The bufsize is set to RTWN_USB_TXBUFSZ, which is defined as: > #define RTWN_USB_TXBUFSZ (16 * 1024) > > Also, note that there are 3 Endpoints, but 5 elements in the rtwn_config_common structure. What explains this? > > Thanks! And see configuration below: > > -----BEGIN COMMAND BLOCK----- > Bus 003 Device 004: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter > Device Descriptor: > bLength 18 > bDescriptorType 1 > bcdUSB 2.00 > bDeviceClass 0 (Defined at Interface level) > bDeviceSubClass 0 > bDeviceProtocol 0 > bMaxPacketSize0 64 > idVendor 0x0bda Realtek Semiconductor Corp. > idProduct 0x8179 RTL8188EUS 802.11n Wireless Network Adapter > bcdDevice 0.00 > iManufacturer 1 > iProduct 2 > iSerial 3 > bNumConfigurations 1 > Configuration Descriptor: > bLength 9 > bDescriptorType 2 > wTotalLength 39 > bNumInterfaces 1 > bConfigurationValue 1 > iConfiguration 0 > bmAttributes 0xa0 > (Bus Powered) > Remote Wakeup > MaxPower 500mA > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 0 > bAlternateSetting 0 > bNumEndpoints 3 > bInterfaceClass 255 Vendor Specific Class > bInterfaceSubClass 255 Vendor Specific Subclass > bInterfaceProtocol 255 Vendor Specific Protocol > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x81 EP 1 IN > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x02 EP 2 OUT > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x03 EP 3 OUT > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 0 > -----END COMMAND BLOCK----- > > > > -- > Farhan Khan > PGP Fingerprint: 1312 89CE 663E 1EB2 179C 1C83 C41D 2281 F8DA C0DE > > _______________________________________________ > freebsd-usb@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" > From owner-freebsd-usb@freebsd.org Tue Nov 26 12:13:31 2019 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 198721B44C2 for ; Tue, 26 Nov 2019 12:13:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47MjVL72K1z3Gkg for ; Tue, 26 Nov 2019 12:13:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id F173E1B44C1; Tue, 26 Nov 2019 12:13:30 +0000 (UTC) Delivered-To: usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F137E1B44C0 for ; Tue, 26 Nov 2019 12:13:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47MjVL6B7Mz3Gkf for ; Tue, 26 Nov 2019 12:13:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B899024E94 for ; Tue, 26 Nov 2019 12:13:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xAQCDU4c023339 for ; Tue, 26 Nov 2019 12:13:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xAQCDUXM023326 for usb@FreeBSD.org; Tue, 26 Nov 2019 12:13:30 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: usb@FreeBSD.org Subject: [Bug 205232] Stalled USB transfer Date: Tue, 26 Nov 2019 12:13:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: juraj@lutter.sk X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Unable to Reproduce X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Nov 2019 12:13:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205232 Juraj Lutter changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |Unable to Reproduce --- Comment #10 from Juraj Lutter --- Unable to reproduce as of now. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Thu Nov 28 18:42:09 2019 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E29EB1B2BAD for ; Thu, 28 Nov 2019 18:42:09 +0000 (UTC) (envelope-from 6522.1c.5de00dc9027f9051ed97040a.5db9c27df161f862cbc1a721.freebsd-usb=freebsd.org@event.a1e0.squarespace-mail.com) Received: from out7-3.campaigns.a1e0.squarespace-mail.com (out7-3.campaigns.a1e0.squarespace-mail.com [142.0.187.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47P61s4rzXz3QVB for ; Thu, 28 Nov 2019 18:42:09 +0000 (UTC) (envelope-from 6522.1c.5de00dc9027f9051ed97040a.5db9c27df161f862cbc1a721.freebsd-usb=freebsd.org@event.a1e0.squarespace-mail.com) DKIM-Signature: v=1; a=rsa-sha256; d=gutterprose.com;s=squarespace; c=relaxed/relaxed; q=dns/txt; t=1574966530; x=1577558530; h=content-type:mime-version:subject:date:message-id:to:from:list-unsubscribe:list-unsubscribe-post:x-thread-info; bh=4tro3rGZwJhfPenEk98cKHR+vs9mROsD602Nw8eMSSA=; b=fGG523WPgPzqHy8G9EbV8++gBY8MsrTG5ncY+icUvXP6htLj/DIKTsV8jz1kr1cgBO5mNJ7KsfFQ8Gk9h9BkKksiTKnyFJzXZB21+b8cb2k/AdSpKNczPO/EbCyZDO2YglfG5gck+tgbDiC0ZVMS/D0NULjuaB03v+n5SHfjMccfHf0O4elSGvu+wGpyw7ayiO6AUiYt86dO5kacef81JcQsH1OPZkTOlivkfsLC8armla74Nkf7b72rgd3GnNiVIJRoD1z5OvrO6WyaQoWjGrD23dDBDRV9KFjf2PHw7qei0H/ksGu+dZR2NOuMsklqsBTO0eCGKOgDTRE7Blgglg== DKIM-Signature: v=1; a=rsa-sha256; d=a1e0.squarespace-mail.com; i=@a1e0.squarespace-mail.com; s=squarespace; c=relaxed/relaxed; q=dns/txt; t=1574966530; x=1577558530; h=content-type:mime-version:subject:date:message-id:to:from:list-unsubscribe:list-unsubscribe-post:x-thread-info; bh=4tro3rGZwJhfPenEk98cKHR+vs9mROsD602Nw8eMSSA=; b=M6NhjXwgeFwPe4ffcSQqHeWMHGFxC3fTe17U+x5eO2NDTE/8k+6Q7VG5fN21lIkHvLq29s8wMEGmS9a6Ue9Alewmk0zyJF5yrmwR4H/xjAfBgdE8Q4MMHFXRy8NvXH3UVqrqqqD9u9CxD8hS9kxi27O6HAOqq8g34bCknrq59YXNeLYTwR+OnGVvHo7KNeOJwqMJyhvLIHDgOZv/1/G5Ygt2p3pBYg9BckiFKH67amqb0eJoFKpR066vl7y5pryauaNVYiH/fpBcDJ6tHe5l8XDOSUdLzySYBXJ8PXahgeyrZNTBJQRw2cLCXOBHdUHPAg4Bz8siA1SFcwy+3SRmzA== X-Thread-Info: NjUyMi4xZS5jYjAwMDAwMGI5NmZiYS41ZGUwMGRjOTAyN2Y5MDUxZWQ5NzA0MGEuNWRiOWMyN2RmMTYxZjg2MmNiYzFhNzIxLmZyZWVic2QtdXNiPWZyZWVic2Qub3Jn Received: from r3.us-east-1.aws.in.socketlabs.com (r3.us-east-1.aws.in.socketlabs.com [142.0.191.3]) by mxrs6.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 28 Nov 2019 13:12:06 -0500 Received: from 8.36.86.57 by r3.us-east.aws.in.socketlabs.com via HTTP; Thu, 28 Nov 2019 18:12:05 UTC List-Unsubscribe-Post: List-Unsubscribe=One-Click X-Website-Id: 5da8154ce0efae33b821589a From: "Gutterprose Records" To: freebsd-usb@freebsd.org Message-ID: Date: Thu, 28 Nov 2019 13:12:05 -0500 Subject: =?utf-8?B?U1VCTUlTU0lPTjogUHJpbWUgU2luaXN0ZXIgLSDigJhQcmltZSBUaW1l4oCZIFtQcm8=?= =?utf-8?B?ZC4gTXVja2FuaWtzXSBbVUsgSGlwLUhvcF0=?= MIME-Version: 1.0 X-Rspamd-Queue-Id: 47P61s4rzXz3QVB X-Spamd-Bar: ++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gutterprose.com header.s=squarespace header.b=fGG523WP; dkim=pass header.d=a1e0.squarespace-mail.com header.s=squarespace header.b=M6NhjXwg; dmarc=pass (policy=none) header.from=gutterprose.com; spf=pass (mx1.freebsd.org: domain of 6522.1c.5de00dc9027f9051ed97040a.5db9c27df161f862cbc1a721.freebsd-usb=freebsd.org@event.a1e0.squarespace-mail.com designates 142.0.187.3 as permitted sender) smtp.mailfrom=6522.1c.5de00dc9027f9051ed97040a.5db9c27df161f862cbc1a721.freebsd-usb=freebsd.org@event.a1e0.squarespace-mail.com X-Spamd-Result: default: False [6.94 / 15.00]; R_SPF_ALLOW(0.00)[+ip4:142.0.176.0/20:c]; TO_DN_NONE(0.00)[]; URI_COUNT_ODD(1.00)[7]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gutterprose.com:+,a1e0.squarespace-mail.com:+]; DMARC_POLICY_ALLOW(0.00)[gutterprose.com,none]; FORGED_SENDER(0.00)[contact@gutterprose.com,6522.1c.5de00dc9027f9051ed97040a.5db9c27df161f862cbc1a721.freebsd-usb=freebsd.org@event.a1e0.squarespace-mail.com]; IP_SCORE(-0.77)[asn: 27357(-3.78), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:27357, ipnet:142.0.184.0/22, country:US]; RCVD_TLS_LAST(0.00)[]; FROM_NEQ_ENVFROM(0.00)[contact@gutterprose.com,6522.1c.5de00dc9027f9051ed97040a.5db9c27df161f862cbc1a721.freebsd-usb=freebsd.org@event.a1e0.squarespace-mail.com]; ARC_NA(0.00)[]; RSPAMD_URIBL(4.50)[squarespace-mail.com]; R_DKIM_ALLOW(0.00)[gutterprose.com:s=squarespace,a1e0.squarespace-mail.com:s=squarespace]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FORGED_SENDER_VERP_SRS(0.00)[]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; BAD_REP_POLICIES(0.10)[]; MANY_INVISIBLE_PARTS(0.30)[4]; NEURAL_SPAM_MEDIUM(0.96)[0.960,0]; NEURAL_SPAM_LONG(0.96)[0.957,0]; ENVFROM_VERP(0.00)[]; GREYLIST(0.00)[pass,body] X-Spam: Yes Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Nov 2019 18:42:09 -0000 SINGLE RELEASE | FOR YOUR CONSIDERATION Gutterprose Records Presents =E2= =80=98PRIME TIME=E2=80=99 BY PRIME SINISTER Hi! I found your email and = thought this single would be of interest to you=2E I would love to star= t a conversation and hopefully work with you=2E =E2=80=98Prime Time=E2=80= =99 is the first single from =E2=80=98Patient Zero=E2=80=99, the second= album by UK hip-hop artist Prime Sinister=2E Prime Sinister, is a 23-y= ear-old Londoner, who, while studying to become a journalist, doubles a= s a full-blown musical revolutionary=2E As the creator of his own rhyme= style, =E2=80=9CSyllablism=E2=80=9D, Prime Sinister has crafted songs = in which every word, line and verse are not only interconnected but for= the first time, symmetrical=2E Prime Sinister=E2=80=99s rhyme style ca= n probably be more simply defined as the consecutive use of rhyming syl= lable patterns=2E But, on listening to it in action, it=E2=80=99s clear= ly more complex=2E The words arrange themselves into sequence =E2=80=93= syllable families, reunited to tell stories of a dystopia, expanding t= hemselves naturally into verses=2E They play out in their natural state= , unpolluted, forming elaborate stories almost independent of interfere= nce from the writer=2E It is the act of relinquishing ego and letting t= he words play themselves out, however disorienting =E2=80=93 it is as i= f the writer does not exist, and we are listening to language unadulter= ated from the manipulations of man=2E The very act of making an album i= n a singular style is a unique experiment in hip-hop =E2=80=93 and Prim= e Sinister has done it with flair in abundance=2E Growing up in London = in the 2000=E2=80=99s, Prime Sinister was exposed to music that would c= hange the course of his life=2E Consuming albums from Nas=E2=80=99 Illm= atic to Dizzee Rascal=E2=80=99s Boy In Da Corner, and encountering the = music of the UK underground, Prime Sinister studied the greatest albums= in hip hop and stumbled across the true hidden potential of the genre = =E2=80=93 and ushering hip-hop writing into the next stage of its evolu= tion as an intricate, intellectual art form=2E =E2=80=98Patient Zero=E2= =80=99 takes place in a city called =E2=80=98Rage=E2=80=99 in an altern= ative universe=2E =E2=80=98Prime Time=E2=80=99, track five, is produced= by world-class production maestro Muckaniks, and features gripping pia= no keys and hard-hitting, modern-sounding drums=2E The song, like the r= est of =E2=80=98Patient Zero=E2=80=99, recounts otherworldly stories of= misery and triumph=2E Filled with abstract rhymes and metaphors, the s= ong captivates and engages the listener throughout=2E WE WOULD LOVE TO = COLLABORATE WITH YOU! STREAM =E2=80=98PRIME TIME=E2=80=99 ON SPOTIFY AN= D APPLE MUSIC HERE: SPOTIFY APPLE MUSIC BUY/STREAM THE SINGLE ON BANDCA= MP Gutterprose Records, 390 Hanworth Road, Hounslow,, London, United Ki= ngdom Unsubscribe From owner-freebsd-usb@freebsd.org Fri Nov 29 16:01:43 2019 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 147571B4A22 for ; Fri, 29 Nov 2019 16:01:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47PfQG6dBwz43cj for ; Fri, 29 Nov 2019 16:01:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E36511B4A21; Fri, 29 Nov 2019 16:01:42 +0000 (UTC) Delivered-To: usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E329B1B4A20 for ; Fri, 29 Nov 2019 16:01:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47PfQG40mpz43cg for ; Fri, 29 Nov 2019 16:01:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6E634188E6 for ; Fri, 29 Nov 2019 16:01:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xATG1gsD015762 for ; Fri, 29 Nov 2019 16:01:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xATG1gMX015761 for usb@FreeBSD.org; Fri, 29 Nov 2019 16:01:42 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: usb@FreeBSD.org Subject: [Bug 242298] kernel Freeze at boot Date: Fri, 29 Nov 2019 16:01:42 +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: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: JeanAumont@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Nov 2019 16:01:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242298 Bug ID: 242298 Summary: kernel Freeze at boot Product: Base System Version: 12.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: usb Assignee: usb@FreeBSD.org Reporter: JeanAumont@gmail.com Created attachment 209529 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D209529&action= =3Dedit The file: /var/log/message Hi, kennel version 12.1 freeze at boot and the last messages that I can see on = the console are as follow: Trying to mount root from ufs:/dev/da0p2 [rw]... ugen0.3: at usbus0 umass0 numa-domain 0 on uhub0 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks =3D 0x4000 umass0:1:0: Attached to scbus1 (probe0:umass-sim0:0:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 00 10 = 00 00=20 (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI status: Check Condition (probe0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid fi= eld in CDB) (probe0:umass-sim0:0:0:0): Error 22, Unretryable error da1 at umass-sim0 bus 0 scbus1 target 0 lun 0 da1: Removable Direct Access SPC-4 SCSI device da1: Serial Number 29203008282014000 da1: 400.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present da1: quirks=3D0x2 I have recuperated a /var/log/message so you can see the messages. Thanks, Jean Aumont --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Fri Nov 29 16:23:09 2019 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9C4F31B512B for ; Fri, 29 Nov 2019 16:23:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47Pfv13ht9z44hy for ; Fri, 29 Nov 2019 16:23:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 7ED931B512A; Fri, 29 Nov 2019 16:23:09 +0000 (UTC) Delivered-To: usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7D8DA1B5128 for ; Fri, 29 Nov 2019 16:23:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47Pfv12g5mz44hx for ; Fri, 29 Nov 2019 16:23:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3E67018CE5 for ; Fri, 29 Nov 2019 16:23:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xATGN9cs073868 for ; Fri, 29 Nov 2019 16:23:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xATGN9sY073864 for usb@FreeBSD.org; Fri, 29 Nov 2019 16:23:09 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: usb@FreeBSD.org Subject: [Bug 242298] kernel Freeze at boot Date: Fri, 29 Nov 2019 16:23:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: JeanAumont@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Nov 2019 16:23:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242298 --- Comment #1 from JeanAumont@gmail.com --- I have no idea if this is important or not.=20 The content of my /etc/rc.conf file is as follow: hostname=3D"BUGGY" ifconfig_bge0=3D"inet 10.18.136.9 netmask 255.255.248.0" vlans_bge1=3D"100" ifconfig_bge1_100=3D"inet 10.17.1.3 netmask 255.255.255.0 descr V100-DarkFi= ber" #ifconfig_bge1_100_alias0=3D"inet 10.17.1.1 netmask 255.255.255.0 descr CARP-V100-DarkFiber vhid 10 advbase 2 advskew 90 pass BV1V100" ifconfig_bge1=3D"up" ifconfig_mce0=3D"inet 192.168.10.9 netmask 255.255.255.0" ifconfig_mce1=3D"inet 192.168.11.9 netmask 255.255.255.0" defaultrouter=3D"10.18.136.1" sshd_enable=3D"YES" ntpd_enable=3D"YES" # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable dumpdev=3D"AUTO" If I comment the line with the carp interface, the system will boot, and I can add the carp interface manually and it will work. If I uncomment the line with the carp inteface, the system will freeze with the error messages previously mentionned. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Fri Nov 29 16:40:33 2019 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C536A1B57E3 for ; Fri, 29 Nov 2019 16:40:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47PgH54stQz45QV for ; Fri, 29 Nov 2019 16:40:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id A519D1B57E2; Fri, 29 Nov 2019 16:40:33 +0000 (UTC) Delivered-To: usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A4DDA1B57E1 for ; Fri, 29 Nov 2019 16:40:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47PgH53wFjz45QT for ; Fri, 29 Nov 2019 16:40:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 69F0E18EB3 for ; Fri, 29 Nov 2019 16:40:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xATGeXQl027429 for ; Fri, 29 Nov 2019 16:40:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xATGeXRi027426 for usb@FreeBSD.org; Fri, 29 Nov 2019 16:40:33 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: usb@FreeBSD.org Subject: [Bug 242298] kernel Freeze at boot Date: Fri, 29 Nov 2019 16:40:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: JeanAumont@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Nov 2019 16:40:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242298 --- Comment #2 from JeanAumont@gmail.com --- Well, I found the bug .... it has nothing to do with the "umasss0" message. It is related to the /etc/rc.conf file. If you put this in the configuration file: vlans_bge1=3D"100" ifconfig_bge1_100=3D"inet 10.17.1.3 netmask 255.255.255.0 descr V100-DarkFi= ber" ifconfig_bge1_100_alias0=3D"inet 10.17.1.1 netmask 255.255.255.0 descr CARP-V100-DarkFiber vhid 10 advbase 2 advskew 90 pass BV1V100" The system will not boot properly and freeze ... If you put this in the configuration file (no descr on carp interface) ifconfig_bge1_100=3D"inet 10.17.1.3 netmask 255.255.255.0 descr V100-DarkFi= ber" ifconfig_bge1_100_alias0=3D"inet 10.17.1.1 netmask 255.255.255.0 vhid 10 ad= vbase 2 advskew 90 pass BV1V100" The system boot perfectly.... LOL !!!=20 Cosmetic bug !!! Thanks Jean Aumont --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Fri Nov 29 16:42:46 2019 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 507CF1B59D9 for ; Fri, 29 Nov 2019 16:42:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47PgKf1VShz45g5 for ; Fri, 29 Nov 2019 16:42:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 335CB1B59D8; Fri, 29 Nov 2019 16:42:46 +0000 (UTC) Delivered-To: usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 332561B59D6 for ; Fri, 29 Nov 2019 16:42:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47PgKf0g5Kz45g4 for ; Fri, 29 Nov 2019 16:42:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EE9C219061 for ; Fri, 29 Nov 2019 16:42:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xATGgjqU041772 for ; Fri, 29 Nov 2019 16:42:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xATGgjto041771 for usb@FreeBSD.org; Fri, 29 Nov 2019 16:42:45 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: usb@FreeBSD.org Subject: [Bug 242298] kernel Freeze at boot Date: Fri, 29 Nov 2019 16:42:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@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-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Nov 2019 16:42:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242298 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hselasky@FreeBSD.org --- Comment #3 from Hans Petter Selasky --- OK, no problem. Are you closing this issue then? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Fri Nov 29 18:14:18 2019 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7AF5B1B7F41 for ; Fri, 29 Nov 2019 18:14:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47PjMG2kDTz49vd for ; Fri, 29 Nov 2019 18:14:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 5BB4B1B7F40; Fri, 29 Nov 2019 18:14:18 +0000 (UTC) Delivered-To: usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5B7B41B7F3F for ; Fri, 29 Nov 2019 18:14:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47PjMG1nl0z49vc for ; Fri, 29 Nov 2019 18:14:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1D21D1A078 for ; Fri, 29 Nov 2019 18:14:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xATIEIZr011109 for ; Fri, 29 Nov 2019 18:14:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xATIEHtL011097 for usb@FreeBSD.org; Fri, 29 Nov 2019 18:14:18 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: usb@FreeBSD.org Subject: [Bug 242298] kernel Freeze at boot Date: Fri, 29 Nov 2019 18:14:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: JeanAumont@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Nov 2019 18:14:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242298 --- Comment #4 from JeanAumont@gmail.com --- Hi, I managed a work around for the problem, but the fact that the server will = not boot if you put description on a carp interface and one on the vlan interfa= ce is an issue that I think should be address, specially since no error message are display about the problem. I was quite lucky to find the work around. Thanks, Jean Aumont --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Sat Nov 30 17:05:18 2019 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D01D21B0FC3 for ; Sat, 30 Nov 2019 17:05:18 +0000 (UTC) (envelope-from adela-gatlin@ethanes.chanteyman.monster) Received: from mx.ethanes.chanteyman.monster (mx.ethanes.chanteyman.monster [157.245.42.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47QHn971Zzz4FNg for ; Sat, 30 Nov 2019 17:05:17 +0000 (UTC) (envelope-from adela-gatlin@ethanes.chanteyman.monster) Received: from mx.ethanes.chanteyman.monster (mx.ethanes.chanteyman.monster [127.0.0.1]) by mx.ethanes.chanteyman.monster (Postfix) with ESMTP id 47QHg71ycYz22kf for ; Sat, 30 Nov 2019 17:00:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= ethanes.chanteyman.monster; h=content-type:content-type :mime-version:message-id:x-mailer:user-agent:reply-to :list-unsubscribe:subject:subject:to:from:from:date:date; s= dkim; t=1575133202; x=1577725203; bh=euu8H4SSWWXcCLEEb72EM5FbeH6 1aM5p0R9q06rbHIA=; b=m0LGpZ+fawwXTnr2ngKm2t7mNw4+JJnsHG1ByXDHjDO SA+iHKu176gDeRUseXqlnJxOpMugWkU+9/toeC/ZVHy6HKgcciWhzICL+gnWD3ou FomFlTEwMutjiPv3GuKzE2HadwM+BE1/y71zZ/037C0RJvB/fvvYlDRAEXp876Po = X-Virus-Scanned: Debian amavisd-new at mx.ethanes.chanteyman.monster Received: from mx.ethanes.chanteyman.monster ([127.0.0.1]) by mx.ethanes.chanteyman.monster (mx.ethanes.chanteyman.monster [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QxaILJwc7JZ8 for ; Sat, 30 Nov 2019 17:00:02 +0000 (UTC) Received: from [127.0.0.1] (mx.ethanes.chanteyman.monster [127.0.0.1]) by mx.ethanes.chanteyman.monster (Postfix) with ESMTP id 47QHcv2QTZz22VJ for ; Sat, 30 Nov 2019 16:58:07 +0000 (UTC) Date: Sat, 30 Nov 2019 16:58:06 +0000 From: "Anonymous Hacker" To: freebsd-usb@freebsd.org Subject: =?UTF-8?Q?IMPORTANT!=20I=20recorded=20YOU=20m=C9=91sturbating!=20I=20hav?= =?UTF-8?Q?e=20Freebsd=20Usb.mp4=20video=20file!?= Reply-To: User-Agent: CodeIgniter X-Sender: adela-gatlin@ethanes.chanteyman.monster X-Mailer: CodeIgniter X-Priority: 3 (Normal) Message-ID: <5de29f9f2be84@ethanes.chanteyman.monster> Mime-Version: 1.0 X-Spamd-Bar: ++++++++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ethanes.chanteyman.monster header.s=dkim header.b=m0LGpZ+f; dmarc=none; spf=pass (mx1.freebsd.org: domain of adela-gatlin@ethanes.chanteyman.monster designates 157.245.42.27 as permitted sender) smtp.mailfrom=adela-gatlin@ethanes.chanteyman.monster X-Rspamd-Fuzzy: ac026b7fc9175c7cd6e29a98298c715b846e707643d3e9df459c84c2aaf4bdbace57d347c3444bc47281221bd96b32d987b74e23062a9ed137edd6a635c5bf1c X-Rspamd-Fuzzy: ac026b7fc9175c7cd6e29a98298c715b846e707643d3e9df459c84c2aaf4bdbace57d347c3444bc47281221bd96b32d987b74e23062a9ed137edd6a635c5bf1c X-Spamd-Result: default: False [12.72 / 15.00]; HAS_REPLYTO(0.00)[adela-gatlin@ethanes.chanteyman.monster]; XM_UA_NO_VERSION(0.01)[]; R_SPF_ALLOW(0.00)[+mx:c]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; FUZZY_DENIED(8.91)[1:ac026b7fc9:0.65:txt,1:ac026b7fc9:0.71:txt]; DKIM_TRACE(0.00)[ethanes.chanteyman.monster:+]; HAS_X_PRIO_THREE(0.00)[3]; SUBJECT_ENDS_EXCLAIM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:14061, ipnet:157.245.32.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(0.00)[ethanes.chanteyman.monster:s=dkim]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-usb@freebsd.org]; DMARC_NA(0.00)[chanteyman.monster]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; BAD_REP_POLICIES(0.10)[]; NEURAL_SPAM_MEDIUM(1.00)[1.000,0]; IP_SCORE(1.31)[ipnet: 157.245.32.0/20(4.70), asn: 14061(1.90), country: US(-0.05)]; NEURAL_SPAM_LONG(1.00)[1.000,0]; GREYLIST(0.00)[pass,body] X-Rspamd-Queue-Id: 47QHn971Zzz4FNg X-Spam: Yes Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Nov 2019 17:05:18 -0000 ATTENTION: freebsd-usb@freebsd.org The last time you visited a porn website with teenagers, you silently downloaded and installed the software I developed. My software has turned on your camera and recorded both your screen and an act of your mɑsturbation.. My sneaky program also downloaded all your email contact lists and a list of your friends from social networks. I have the - Freebsd Usb.mp4 video file - with you jerking off to teenagers, as well as a file with your relatives and associates email addresses. After downloading those files let me say one thing: your fantasies are far beyond the normal! If you want me to delete both files and keep your secret, you must send me the Bitcoin payment. Bitcoin is a secure cryptocurrency, very similar to BTC. I give you 72 houɼs only to send the Bitcoin transfer. If you don't know how to pay with Bitcoin, visit Google and search - how to buy Bitcoin. Visit one of the brokers (Coinbase, Bitstamp, anycoindirect), buy Bitcoin and send it to my address. Only then I will leɑve you ɑlone! At anycoindirect you can pay instantly with SEPA, Giropay, EPS, Mybank, Sofort, credit cards or Bancontract. ****************************************** Send 2.000 GBP = 0.3347259 BTC to this Bitcoin address as soon as possible: 3BVYBqLtgGLYwb1vu Bw9AzA6gRKqLRs1jj (copy & paste - it's case sensitive - and combine both lines into one single address) 1 BTC = 5.980 GBP right now, so send exactly 0.3347259 BTC to my Bitcoin wallet. ****************************************** Do not try to cheat me! As soon as you open this Email I will be notified you opened it. I am monitoring all actions on your device.. This Bitcoin address is linked to you only, so I will know immediately when you send the correct amount. When you pay in full, I will remove both files (your mɑsturbation video and your contact lists) and I will deactivate my sneaky program. Changing your password will not help you, I will still have access to your device remotely. If you choose not to send me the Bitcoin transfer... I will send your mɑsturbation video to all your friends and associates from your contact lists that I downloaded from your device. Your family members will receive it as well. You will regret it, trust me. Here are the payment details again: ****************************************** Send 2.000 GBP = 0.3347259 BTC to this Bitcoin address as soon as possible: 3BVYBqLtgGLYwb1vu Bw9AzA6gRKqLRs1jj (copy & paste - it's case sensitive - and combine both lines into one single address) ****************************************** You can visit police but they will not help you with solving the problem. My program will still be installed on your device and I still will own your mɑsturbation videos. Police will not catch me anyway. I know what I am doing. I do not live in your country and I know how to stay anonymous. Don't ever try to deceive me - I will know it. My program is recording all the websites you visit and all your key presses. If you try to trick me - I will send this ugly video to everyone you know, including your family members. Don't forget the potential shame - your life can be a disaster. I am waiting for your Bitcoin payment. You have 72 houɼs left. Anonymous Hacker From owner-freebsd-usb@freebsd.org Sat Nov 30 21:08:37 2019 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B44711B8805 for ; Sat, 30 Nov 2019 21:08:37 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-ot1-x336.google.com (mail-ot1-x336.google.com [IPv6:2607:f8b0:4864:20::336]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47QP9x0Bsgz4WhB for ; Sat, 30 Nov 2019 21:08:36 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-ot1-x336.google.com with SMTP id m15so27725047otq.7 for ; Sat, 30 Nov 2019 13:08:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:from:date:message-id:subject:to; bh=zO4OiLmuVMRSh9C+iEct7TVX2BdFsheSJNKAseypsdU=; b=FQB8eQ7LpabMFar2G1g+xP5Bu82TKH2cN0oLzpgN8GaK5Mr415rpdsPYxLm6BA4TVZ crKQMlPxht9nY61FjfexjMlFsPfaacgzhqS+Y+y40NdL014rnKdlBQmQU7YAVTU3Grm0 YepqAkH/e296SrxJSmIb4MbWknJbF0X5A9Qmk5TSjxmbUV5NAgzHDzNHQxJA5uNcOHGq o1F9DSFIV0tTWvAop9/r4Q+Y5oNTS37MJdsJVtvtLQNGUSmtLRK3fXqIaqL/0lfHs3NV ZTcDLPd083pmP+XYqzK2Ji+o1yQrEWWj2Ai/LqV9Set33Gi6O8UW9UzElS3OiEs2DujU JIaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=zO4OiLmuVMRSh9C+iEct7TVX2BdFsheSJNKAseypsdU=; b=ptRge/fGucqgvaoD2XxOrZ2sm+Jtyg1DYpnimZfZmQha4nwthDzh3c3si7SHHrarC1 yaItLRl91wN4jTNj+QfkaidVveIm7Goux+Gy3m6+7GC4lVwC4Rm64m1gWgRNUbeYvgBc GPsKjKE1ahgVCfLpyjWxoOYNXJCkZV/ajuts0+UJYb7B23bwKbdw0vDcVOAl+j3GWhQg E8qMGujF0sD8ZWIZqx+8Twz/4xejd8CtxJzFE/U8pJgoslohAgmSgG1QWbDvdEmKS8gj QJ5tyafBbkgDw2y4tBnJurPMyzxPRzl4/doy0GFn7OWa/5QzTcqE9iyMfG2irC9r2rss R8ng== X-Gm-Message-State: APjAAAWY83jcFGsfxu+zObanzc9CjSDKdwzqaimwqVR5o3jxIWf0C0LW tsgvtm4IdeVxloUwdZDAZDt87g== X-Google-Smtp-Source: APXvYqy5WePQOPHegz1V/+08QXStdCY0v7qomn+L0+MoFWCuMIMz0W8QAE2ZBP4oS9yGDbVbmf6CzA== X-Received: by 2002:a05:6830:1b6e:: with SMTP id d14mr9054632ote.120.1575148115451; Sat, 30 Nov 2019 13:08:35 -0800 (PST) Received: from mail-ot1-f49.google.com (mail-ot1-f49.google.com. [209.85.210.49]) by smtp.gmail.com with ESMTPSA id m20sm8908441otr.47.2019.11.30.13.08.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 30 Nov 2019 13:08:34 -0800 (PST) Received: by mail-ot1-f49.google.com with SMTP id i4so757845otr.3; Sat, 30 Nov 2019 13:08:34 -0800 (PST) X-Received: by 2002:a05:6830:13c8:: with SMTP id e8mr14933662otq.159.1575148114053; Sat, 30 Nov 2019 13:08:34 -0800 (PST) MIME-Version: 1.0 From: Tomasz CEDRO Date: Sat, 30 Nov 2019 22:08:21 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: pendrive clone impossible ? To: FreeBSD Questions Mailing List , "freebsd-usb@FreeBSD.org" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 47QP9x0Bsgz4WhB X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=FQB8eQ7L; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2607:f8b0:4864:20::336) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-3.78 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-usb@freebsd.org]; DMARC_NA(0.00)[cedro.info]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cedro.info:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[6.3.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_ALL(0.00)[]; IP_SCORE(-2.48)[ip: (-8.16), ipnet: 2607:f8b0::/32(-2.25), asn: 15169(-1.94), country: US(-0.05)] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Nov 2019 21:08:37 -0000 Hello world :-) I have to clone a pendrive, the same one to another almost the same (number of sectors differs a bit). The problem is that DD does not seem to do the job. It always worked for me. Also I am not really able to clone the MBR: 1. dd if=/dev/da0 of=/dev/da1 bs=512 count=1 does not copy anything. 2. dd if=/dev/zero of=/dev/da1 bs=512 count=1 zeroes the mbr. 3. dd if=/dev/random of=/dev/da1 bs=512 count=1 randoms the mbr. 4. dd if=/dev/da0 of=da0.mbt bs=512 count1; dd if=da0.mbr bc=512 count=1 does NOT copy the mbr. 5. mdconfig -a -tvnode da0.mbr; dd if=/dev/md0 of=/dev/da1 bc=512 count=1 does put the data into mbr, but still da1 seems to have no partitions!!! In such Black Magic situations I usually put /dev/zero on a target disk, just to make sure MBR and GPT are not messed/mixed up, then re-tried and things worked. Not this time. While size of the drives differs a bit, the last partition contains FreeBSD LiveCD image and is much smaller than the partition so it can be truncated with no problem because there are zeros after. Does GEOM in any way prevents me from using disk that has corrupt MBR? Why I cannot write a MBR from a file but I can from a md0? Any hints welcome :-) Tomek # gpart backup da0 | gpart restore -F da1 gpart: size '17575936': Invalid argument ugen0.7: at usbus0 umass0 on uhub0 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks = 0x8100 umass0:2:0: Attached to scbus2 da0 at umass-sim0 bus 0 scbus2 target 0 lun 0 da0: Removable Direct Access SPC-4 SCSI device da0: Serial Number BLAHBLAH da0: 400.000MB/s transfers da0: 118368MB (242417664 512 byte sectors) da0: quirks=0x2 ugen0.8: at usbus0 umass1 on uhub0 umass1: on usbus0 umass1: SCSI over Bulk-Only; quirks = 0x8100 umass1:3:1: Attached to scbus3 da1 at umass-sim1 bus 1 scbus3 target 0 lun 0 da1: Removable Direct Access SPC-4 SCSI device da1: Serial Number BLAHBLAH da1: 400.000MB/s transfers da1: 118272MB (242221056 512 byte sectors) da1: quirks=0x2 GEOM_PART: integrity check failed (da1, MBR) FreeBSD 0xCFMX4 12.1-RELEASE-p1 FreeBSD 12.1-RELEASE-p1 GENERIC amd64 -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-usb@freebsd.org Sat Nov 30 21:33:31 2019 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E06E91B95F7; Sat, 30 Nov 2019 21:33:31 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47QPkf4zxBz4YYK; Sat, 30 Nov 2019 21:33:30 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.2.248]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPA (Nemesis) id 1Mo73N-1hzLqA19RL-00pfdM; Sat, 30 Nov 2019 22:33:25 +0100 Date: Sat, 30 Nov 2019 22:33:22 +0100 From: Polytropon To: Tomasz CEDRO Cc: FreeBSD Questions Mailing List , "freebsd-usb@FreeBSD.org" Subject: Re: pendrive clone impossible ? Message-Id: <20191130223322.1028feab.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:GmuKjll3nLyHpBxijPvGbyL02FXco/JdrAa2fafQOye3OrmMazo RNsPQv+8BVr34d69EwnP0mz87VfygR3usRe5woQXMkG2Ak35+EEypFwa/WjfZktxQ+OkypZ dcbwmJ39MYjz+kf+dqTKgfcP5iovPAXCvyduys/IBvaFiS0Vb4U6MHFyIodlR3mYaSYoNQe 6FvTlW6wt97ErEeUit/Gg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:DX5oZzu46zo=:fYt7sG5LcHlDNpRxKDk5Up 76SyYNSyxFHIrVSUo4wUWv8AJvnQas0fa0/Y/GIxaG+XGBG3OWFG96arJLF2+v6eZbUcr19ow sEDr1LNpxFEPZ5cdmMBR6s/Aq/Hiz1FI2G7Y9mLyiF66Ff93jJB939KLEjZj/zUvriq11lxTt DUBXhqxa6Cwry50Cb+NQjU237ewzZTkwD4om03iSpBNio33I73KquPVJ8sAIgFG0meuh8qKEn 9H0dC09Bj0mtk5ncwr9c8NwvRIFot2CocU6A/pCE45+r5DG9lLCD+M+NY3q9G1e34R2uFz1FH shxrWW0WUmdj1f6bBSwWJ1Ry0UUQ3X8kg5uVx4prVVJBRHITwxujmEexHgWeXsxuS8fc+n/ff D2/PMhVAyOGFIBzsqHayVxPbrA6hUWl/SlFS3SfEdtrtBAfTECprflWtKi4Kbe0ZkpOUMCHMN bcqmJN4dgzUXfUGZZ28QVYQoV4XGYmI0GaHnhYB+h+Mz/OuNR8T3d3Z34IuMsp2rjUBvau638 fBKHc4DkTvUpKKudXxinqH7ceAX9FDmUd7jwlL5GXDaJ1qSBVSMAeYORhs9X4c6UzqIGt6fZR ApmGdThVnd6PN2PO3kAETE8ycMTz2v/68UePJEWAbb86apoq0A6NMBEvUebYhSAX8EsEAop9R tgb5cm4rRBNuhKuiGerUgHtoMJgW80ReGiZEU5W1+yWZBdRywyiSC1dly7wfe/0PxGiHX7hJi b7ahNXURRUE1OkwrU7v0mFxk0s2s+4QXf8/vh/HF1KnQA/OgILv0ENLhbaxU8CnPDiwwNzlLE mfC1AlZ+WVlMu0wtlR/Tw6720dYbgfz0cwpZlO2qE52sMEIKBGPHsR985EDV3uyCAhM7UmPHJ dhSvUxprvu61VHXiNIKA== X-Rspamd-Queue-Id: 47QPkf4zxBz4YYK X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.17.10) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.60 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[248.2.222.94.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.24)[0.238,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.92)[0.925,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[10.17.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.04)[ip: (-0.90), ipnet: 212.227.0.0/16(-1.18), asn: 8560(2.29), country: DE(-0.01)] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Nov 2019 21:33:31 -0000 On Sat, 30 Nov 2019 22:08:21 +0100, Tomasz CEDRO wrote: > I have to clone a pendrive, the same one to another almost the same > (number of sectors differs a bit). The problem is that DD does not > seem to do the job. It always worked for me. > > Also I am not really able to clone the MBR: > 1. dd if=/dev/da0 of=/dev/da1 bs=512 count=1 does not copy anything. What is the error message that dd provides? > 2. dd if=/dev/zero of=/dev/da1 bs=512 count=1 zeroes the mbr. > 3. dd if=/dev/random of=/dev/da1 bs=512 count=1 randoms the mbr. > 4. dd if=/dev/da0 of=da0.mbt bs=512 count1; dd if=da0.mbr bc=512 > count=1 does NOT copy the mbr. The last command seems to be a bit "damaged", I think it should read (separated into two commands for better readability): dd if=/dev/da0 of=da0.mbr bs=512 count=1 dd if=da0.mbr of=/dev/da0 bs=512 count=1 Again, what is the error message of the 2nd dd command? > 5. mdconfig -a -tvnode da0.mbr; dd if=/dev/md0 of=/dev/da1 bc=512 > count=1 does put the data into mbr, but still da1 seems to have no > partitions!!! Have you tried copying more than just the first 512 bytes, let's say, the first whole MB? Of course the rest of the partitions would be "incomplete" and therefore not readable, but you should at least get the partition information when you use gpart or ye olde fdisk to read it. > While size of the drives differs a bit, the last partition contains > FreeBSD LiveCD image and is much smaller than the partition so it can > be truncated with no problem because there are zeros after. That should be no problem. Partitions can always be smaller than But... you're mentioning a FreeBSD Live CD image. Maybe that one is dedicated, i. e., doesn't actually have any partitions with the meaning of "DOS primary partitions" (which is what gpart or fdisk would list, as mentioned above). However, at least gpart should show at least _some_ information, or you use "disklabel /dev/da" and compare source and target data. In case of a dedicated partitioning (with partition meaning an _actual_ partition in the context of a BSD label, "the thing with the letters"), you should at least find one partition (the "a" partition, bootable). So it's no entirely clear if you try to deal with a MBR disk, something dedicated, or GPT? Everything is possible. :-) > Does GEOM in any way prevents me from using disk that has corrupt MBR? That is possible. Try "sysctl kern.geom.debugflags=0x16" which was, at least in the past, often a way to make things work again. :-) > Why I cannot write a MBR from a file but I can from a md0? To dd, a virtual node shouldn't be needed to operate on MBRs. The if= and of= parameters will (should!) accept plain files just like real devices. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-usb@freebsd.org Sat Nov 30 22:28:21 2019 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 371D61BA92E for ; Sat, 30 Nov 2019 22:28:21 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47QQxw1XHyz4bxn for ; Sat, 30 Nov 2019 22:28:20 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-oi1-x22f.google.com with SMTP id 14so29034992oir.12 for ; Sat, 30 Nov 2019 14:28:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=s23lRGmV1sbVGegu0t3aaLPUA5tCpExxgqLKXGcNxhU=; b=Hw01PlfuJzWUrhLQLcvFXv1Qi9jqp48jsvL7ThRppVyUOhkqWS/YYSZb8NKJQ/NbfX sFH/uujhCwB+HwW1Mkv6n9vGzgufhYFl35yJ62hm9HREqMyimtwPSd9PbKHBRUCp78lz 9NnxFcUEb4r9iwlhUat/SYjF4gg8+WBldDvtiO6DGzHKP0CNROQlvruCBTwdsTWn03ZV SOyEQz486Q+gYHuKvlv6Ocb5nM2ShXPIG1z971vAaqMv9Uo1ng7CMNk+0Hfkv3uAx1mS BwLGhKPetKXrEWsF7N0mqRl68aYnOo/uv1D4a7ufMzG87xdkW0BrZWlooqlUqN0JmbuT sC5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=s23lRGmV1sbVGegu0t3aaLPUA5tCpExxgqLKXGcNxhU=; b=iMUiQNqvPHmuXQsDkqqxBZ2vZlv0Uy6s9W/91JI6ZugobQNYQicCg7s2YQlxuVEltP 6Pkeoq5+qpjRKQew3j/EvftLHpIF5Qe4y0XgCb+4twN7IEHXy5mS3yIGeiU+5aaap34o Mv8TV/4B4DA2Nd/URLTaRC94b25q5RK1HMpQ9noScsPP4xt6TTS3A85+/hCNWUAOYVFi 5pLQN8ml8d55ff028mYXgk8dcB/eV0BldIQz1qwess9C3CgrFrGkj8e52/n6a5Tbt7ie u0UxXxRRQQEFm+WyA0Scc6c3ewmJfWBmbhlMe9AOPhE2EXk/8PE/Wq2dONIGkoqPZd1Q BZqQ== X-Gm-Message-State: APjAAAXhYoYn97d2qhawXyAyFRteSKVN2nu3tHAE4ficyCCvTE+G2lrH jiaESva64AtrFEPN4Xe/7owvog== X-Google-Smtp-Source: APXvYqzBgYoTz5Hkm7+9L04lLAWkXzx2Iehs6aa7tSnj4LDKLWdjta//9FhXSYyBDTfD/FADx14MZw== X-Received: by 2002:aca:3889:: with SMTP id f131mr18131811oia.14.1575152899032; Sat, 30 Nov 2019 14:28:19 -0800 (PST) Received: from mail-oi1-f180.google.com (mail-oi1-f180.google.com. [209.85.167.180]) by smtp.gmail.com with ESMTPSA id e25sm8852388otr.53.2019.11.30.14.28.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 30 Nov 2019 14:28:18 -0800 (PST) Received: by mail-oi1-f180.google.com with SMTP id a67so10308700oib.6; Sat, 30 Nov 2019 14:28:17 -0800 (PST) X-Received: by 2002:aca:39d4:: with SMTP id g203mr6864149oia.78.1575152897319; Sat, 30 Nov 2019 14:28:17 -0800 (PST) MIME-Version: 1.0 References: <20191130223322.1028feab.freebsd@edvax.de> In-Reply-To: <20191130223322.1028feab.freebsd@edvax.de> From: Tomasz CEDRO Date: Sat, 30 Nov 2019 23:28:04 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: pendrive clone impossible ? To: Polytropon Cc: FreeBSD Questions Mailing List , "freebsd-usb@FreeBSD.org" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 47QQxw1XHyz4bxn X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=Hw01Plfu; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2607:f8b0:4864:20::22f) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-3.72 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-usb@freebsd.org]; DMARC_NA(0.00)[cedro.info]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cedro.info:+]; RCVD_IN_DNSWL_NONE(0.00)[f.2.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_ALL(0.00)[]; IP_SCORE(-2.42)[ip: (-7.87), ipnet: 2607:f8b0::/32(-2.25), asn: 15169(-1.94), country: US(-0.05)] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Nov 2019 22:28:21 -0000 It looks like either GEOM is hiding something from application/me, or pendrive itself is preventing MBR to be modified, or some sort of mix..? I guess the first is more probable because DD'ing from /dev/md0, /dev/zero, /dev/random devices always works, while DD'ing from da0.mbr file never works. If pendrive was defending itself none of them would be possible, right? The Source pendrive was MBR. This is why I did /dev/zero -> /dev/da1 just to make sure there is no GPT of any sort on the Target pendrive, nor MBR, also I could see where write was skipped. This is the first time ever dd if=/dev/da0 of=/dev/da1 did NOT copy the entire drive (the da1 attached GEOM noted inegrity checked MBR was left blank the rest seems to be there). DD reported NO ERROR.. in fact I got a standard summary on transferred bytes as operation was completed successfully. I did not count all bytes transferred because I never had to before. Is the OS hiding something from me? And from DD? Is Penrdive messing with the GEOM / OS? Because I need to finish quickly, I have used GPART to create and add partitions by hand and I am DD'ing partition by partition. So far so good. The Target pendrive is Kingston 128GB DTSE9 G2 USB3.0. Be careful with that fellow! Below is a Kingston's response cut-and-paste found on a forum where another folk tried to install bootable system on a 32GB DTSE9 G2 ;-) " The first thing to point out is that a USB drive needs to be set as a fixed drive which requires a tweak in the firmware, commonly refereed to as "flipping the RMB". Not every firmware is suitable for such an operation and since we use different flash controller providers to meet the supply and demand for our products, we cannot check the suitability of every firmware to be altered to accomodate booting from USB. Furthermore a standard USB drive is designed for sequential read and writes, rather than random read and write speeds. Booting from the USB will be very slow and will be a detriment to the product, affectively its longevity. Therefore we cannot guarantee the longevity and reliability of the drive within the warranty period, and could offer no further support in case of a drive failure. This is the reason why we at Kingston do not support the bootability of our commodity USB products. If you purchased the DTSE9G2/32GB to be used specifically for this purpose, we can only recommend that you return it to your supplier for a refund and we apologise for any inconvenience this may cause. " WELL, KINGSTON LOOKS LIKE A LOTTERY AND I FEEL LIKE A WINNER! ;-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-usb@freebsd.org Sat Nov 30 22:49:11 2019 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0CA7C1BAF43; Sat, 30 Nov 2019 22:49:11 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47QRPx65nbz4cjC; Sat, 30 Nov 2019 22:49:09 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.2.248]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPA (Nemesis) id 1MauFB-1i3mfU1Q4p-00cRu3; Sat, 30 Nov 2019 23:49:03 +0100 Date: Sat, 30 Nov 2019 23:49:00 +0100 From: Polytropon To: Tomasz CEDRO Cc: FreeBSD Questions Mailing List , "freebsd-usb@FreeBSD.org" Subject: Re: pendrive clone impossible ? Message-Id: <20191130234900.81464b43.freebsd@edvax.de> In-Reply-To: References: <20191130223322.1028feab.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:zGXvU+J6bSMGH5TqUhmPcv5uyVs34HmFHSNbo8tn2iXxbcqVPGR iS/AORYWO95hYFqDwY1mwPyogKZSUS4gAhN1ubCvB0wT7k/jMV2MvUc4cgrQAz8aw+XGk0Q 7kLTQqWn1KNYJidkgeFS8Yt8Hlgsr0Nv7aP36CEvTDED/8y0QEhs2bguB5eXkJtYOFdaXVV DGRwa7z5ojAOipq6/ggdw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:f+ZOKn8saXE=:lAz+jre+JgRuAwKPqO7gvD NJiFmY3MlLSZd1Rrnx4wOaQ0xI2/YlooprMQmq5UiNyJS3FJx6xuhbswxRXLj+WJ77rpjMmLX eze+c9GvD68iuViZqhMrz/sVsZ5izAmjTQoSc90FC5KldHEnhAi4GnFgFIQ1915AKM6Gidh/y q8W9uQw2HaoO2BDuCIqbL/FI0c2iI9vJJPF5VKcFMWtIoZg1ncEf5ag77jiDnGYk7Z+7a+3gh VhSaYQg7AYb5E3ZQgrAklogu6rXo7I5Kfyd/I6z6aecIdvUAqv+CAuVzZzxUPgODBMawNv2dp eD9MgB8cJCbnv+2EGKAaRQkbmhN/x5Snd4TamrhIwUTIBQ/50AGePIbPRZJfHku3Mk+SGP66O kw3sL3okD8rdedRsAYBRYBzWqxP28BqP1kv0KJo9XkUkQH43msNK9860GaqE5d8bK/ZhL8ncx oudFpVdv+VVfT3tnJDuDKhdVn3qyG8pdh/9scztyrOk2vIY6K/XthPy9nE/qHzLksNf6uO4gT HWdRBiJUR71c6xC6TpVey/kbBOfKK3u1TxL2fzGWRuASG5tr4LWX0xbkKRxYazVD4P9rxjRZv GQc+8qVDKaZgMCLZqjN/TqUXklnxmHx9J+VyPimZl6KreVJc5XilGT7COXe/lvcip+3wl3fUh XP9zfbg3RcC+9ZqLHCJjWTTOFsT8DiI6iIlCcl5JT5Xegr2fWLlg0o8TNCqRMOhuAOivmhtCR MuwJdefd8D1/KywyYl6m4hPQ/vq+uWc2d888yZjO8Lay6s98JIyAWTwn1QkXPYaTh9hw8569c DgdKzT2SerBlYzqAlkF1GMm/KRXFJiUAz4eI2+wzZnH4vLF2YXSoh1XrWWNHyzA1GdN4qpZah AWw68w2bdTK9RK97srwA== X-Rspamd-Queue-Id: 47QRPx65nbz4cjC X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.17.13) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.84 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[248.2.222.94.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.38)[0.385,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.96)[0.956,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[13.17.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.10)[ip: (-0.59), ipnet: 212.227.0.0/16(-1.18), asn: 8560(2.29), country: DE(-0.01)] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Nov 2019 22:49:11 -0000 On Sat, 30 Nov 2019 23:28:04 +0100, Tomasz CEDRO wrote: > It looks like either GEOM is hiding something from application/me, or > pendrive itself is preventing MBR to be modified, or some sort of > mix..? That is possible (but unlikely), and there's another (equally unlikely) possibility that your computer has some "boot sector virus protection" activated in the BIOS which prevents writes to block 0 of a device... > I guess the first is more probable because DD'ing from /dev/md0, > /dev/zero, /dev/random devices always works, while DD'ing from da0.mbr > file never works. If pendrive was defending itself none of them would > be possible, right? Yes, that's at least my impression. Can you provide an error message of dd, or does it say "blocks copied", but no MBR data actually arrived on the USB stick? > The Source pendrive was MBR. This is why I did /dev/zero -> /dev/da1 > just to make sure there is no GPT of any sort on the Target pendrive, > nor MBR, also I could see where write was skipped. Okay, so you can _confirm_ that there is MBR (partition table with "DOS primary partitions") in it - good. In that case, using gpart or fdisk to read the MBR should work definitely for the source stick - and should also work for the target stick after the MBR has been written correctly. > This is the first time ever dd if=/dev/da0 of=/dev/da1 did NOT copy > the entire drive (the da1 attached GEOM noted inegrity checked MBR was > left blank the rest seems to be there). If you use something like # dd if=/dev/da0 of=/dev/da1 bs=1M i. e., a block size typical for such media, does it make any difference? Not copying 512 bytes is one thing, but not copying a much larger block - 1 MB - with the 512 bytes at its beginning, that would be _really_ strange. Maybe - even though I cannot imagine why - the target stick does not accept being written smaller amounts of data, which of course is nonsense, as you said that 512 bytes of zeroes or random data _will_ be written. > DD reported NO ERROR.. in fact > I got a standard summary on transferred bytes as operation was > completed successfully. I did not count all bytes transferred because > I never had to before. Is the OS hiding something from me? And from > DD? Is Penrdive messing with the GEOM / OS? If you dd the 1st 512 bytes out of the source and the target and compare them, are they identical? They _should_, according to what dd reports. # dd if=/dev/da0 of=/dev/da1 bs=512 count=1 # dd if=/dev/da0 of=da0.mbr bs=512 count=1 # dd if=/dev/da1 of=da1.mbr bs=512 count=1 # diff da0.mbr da1.mbr You can then repeat this test with a bigger block: # dd if=/dev/da0 of=/dev/da1 bs=1m count=1 # dd if=/dev/da0 of=da0.1mb bs=1m count=1 # dd if=/dev/da1 of=da1.1mb bs=1m count=1 # diff da0.1mb da1.1mb In any case, there should be _no_ difference (no matter if the partitions themselves are incomplete and unreadable on the target stick). > Because I need to finish quickly, I have used GPART to create and add > partitions by hand and I am DD'ing partition by partition. So far so > good. In case they are UFS partitions, you could newfs the target partition, and then use dump | restore - I don't know if this is faster, but it would work as well. > The Target pendrive is Kingston 128GB DTSE9 G2 USB3.0. Be careful with > that fellow! > > Below is a Kingston's response cut-and-paste found on a forum where > another folk tried to install bootable system on a 32GB DTSE9 G2 ;-) > > " > The first thing to point out is that a USB drive needs to be set as a > fixed drive which requires a tweak in the firmware, commonly refereed > to as "flipping the RMB". Not every firmware is suitable for such an > operation and since we use different flash controller providers to > meet the supply and demand for our products, we cannot check the > suitability of every firmware to be altered to accomodate booting from > USB. > > Furthermore a standard USB drive is designed for sequential read and > writes, rather than random read and write speeds. > > Booting from the USB will be very slow and will be a detriment to the > product, affectively its longevity. > > Therefore we cannot guarantee the longevity and reliability of the > drive within the warranty period, and could offer no further support > in case of a drive failure. > > This is the reason why we at Kingston do not support the bootability > of our commodity USB products. > > If you purchased the DTSE9G2/32GB to be used specifically for this > purpose, we can only recommend that you return it to your supplier for > a refund and we apologise for any inconvenience this may cause. > " > > WELL, KINGSTON LOOKS LIKE A LOTTERY AND I FEEL LIKE A WINNER! ;-) Next idea is for them to put some "AI/ML anti virus malware" into the firmware of the USB stick that accepts data, returns "written" to the writer, but doesn't actually write anything to its storage, because... we need to protect the users! :-) Rule: If it stops you to do stupid things, it also stops you to do clever things, and most things we do in UNIX world are usually not invented elsewhere. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-usb@freebsd.org Sat Nov 30 23:29:30 2019 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 88E5E1BC0C0 for ; Sat, 30 Nov 2019 23:29:30 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47QSJT4zQSz4fpJ for ; Sat, 30 Nov 2019 23:29:29 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-ot1-x332.google.com with SMTP id r24so27844905otk.12 for ; Sat, 30 Nov 2019 15:29:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CF/2rqOsr72OFtAUXmyOf0E4a9gvHksldCVmEP63/V8=; b=fAXHMqRN/IL9vy53QNoox5HPmSxz8o/0ryCHTF3njAa3JVL/AVljPUIGcQEI+YRn/l wzZWr7dg9NRtoN+ahkbERNHzYRxdgkVBPdXqBrCjfTSZX0E58NPAqghdFoNd7GH5Dp9I ZM+tIicaGKH+yuba8iwWgbec3+nbi7VkEo/q15n5Nc/sMWnB3QXbESrxLx1jOJSrBVHs VfIsWsBcQhGkkOUm8MZd8/DvWhstHIMmg9BQ4eR4AoL0183FKQRkTSz186QGxmFv4HbJ 5X1yxxpGWRmIqy/GiLTAxIkK/vON8nxjYFeZNFOzqPvlCVwMBSiHVucC/kQtQ62YJCdg HBLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CF/2rqOsr72OFtAUXmyOf0E4a9gvHksldCVmEP63/V8=; b=EQo++51w0PWvYHIKWIriASP8psL+bsXOaHphkAhe1zJgRp7pLQz7ngHFYQFlFheoxI Dobuc8IISMhOAlKE648ho7uOot+zHu7XDrIzehBjau827RZKXPd5dA8Y8uv/yqShBtRm ixn0H3vJthIZhva6vKf6xhVktvlC8CTziVq2dtnaGNoBfKjnJ5sHe0QOCPXLFBZoS2yw ZQ/KqF20rmcG0fv7zjbgbKAx/ikj3PgnJVCwNuSPDyZar0AxfqVrMp3DVYgQnBeCFKOS 3fC6SS938wehRsbJDJMgxSBCHM0+4xi/KhgKBaTE3VTMVC9iqMoQAYI4rBY57XX72i5D jhOw== X-Gm-Message-State: APjAAAWEGrB8M83W9+9gU0LwGPCf9AS4+iYD3Zsud7E9FEY+rvFA27eW IaO4qd2RX6JAn7Ld9y+C2SRUmg== X-Google-Smtp-Source: APXvYqwPYQ0K2hdoLLt/EEZKJymtTQE9FGGxLK9j88FXp87gGq8WBPAlfJtgFfgrIt7paT7nu43Icg== X-Received: by 2002:a9d:5cca:: with SMTP id r10mr15117704oti.57.1575156568323; Sat, 30 Nov 2019 15:29:28 -0800 (PST) Received: from mail-oi1-f174.google.com (mail-oi1-f174.google.com. [209.85.167.174]) by smtp.gmail.com with ESMTPSA id j26sm2066588otq.18.2019.11.30.15.29.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 30 Nov 2019 15:29:27 -0800 (PST) Received: by mail-oi1-f174.google.com with SMTP id k196so12781261oib.2; Sat, 30 Nov 2019 15:29:27 -0800 (PST) X-Received: by 2002:aca:5785:: with SMTP id l127mr6227330oib.168.1575156566754; Sat, 30 Nov 2019 15:29:26 -0800 (PST) MIME-Version: 1.0 References: <20191130223322.1028feab.freebsd@edvax.de> <20191130234900.81464b43.freebsd@edvax.de> In-Reply-To: <20191130234900.81464b43.freebsd@edvax.de> From: Tomasz CEDRO Date: Sun, 1 Dec 2019 00:29:13 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: pendrive clone impossible ? To: Polytropon Cc: FreeBSD Questions Mailing List , "freebsd-usb@FreeBSD.org" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 47QSJT4zQSz4fpJ X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=fAXHMqRN; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2607:f8b0:4864:20::332) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-3.85 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-usb@freebsd.org]; DMARC_NA(0.00)[cedro.info]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cedro.info:+]; RCVD_IN_DNSWL_NONE(0.00)[2.3.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_ALL(0.00)[]; IP_SCORE(-2.55)[ip: (-8.51), ipnet: 2607:f8b0::/32(-2.25), asn: 15169(-1.94), country: US(-0.05)] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Nov 2019 23:29:30 -0000 On Sat, Nov 30, 2019 at 11:49 PM Polytropon wrote: > > On Sat, 30 Nov 2019 23:28:04 +0100, Tomasz CEDRO wrote: > > It looks like either GEOM is hiding something from application/me, or > > pendrive itself is preventing MBR to be modified, or some sort of > > mix..? > > That is possible (but unlikely), and there's another (equally > unlikely) possibility that your computer has some "boot sector > virus protection" activated in the BIOS which prevents writes > to block 0 of a device... Nope, I also though about that, buy would have noticed that, and the problem did not show up with any other device, while I am really cloning lots of drives for servicing/backup purposes :-) > > I guess the first is more probable because DD'ing from /dev/md0, > > /dev/zero, /dev/random devices always works, while DD'ing from da0.mbr > > file never works. If pendrive was defending itself none of them would > > be possible, right? > > Yes, that's at least my impression. Can you provide an error > message of dd, or does it say "blocks copied", but no MBR data > actually arrived on the USB stick? no error at all. just blah bytes transferred in blah seconds (blah bytes / second). > > The Source pendrive was MBR. This is why I did /dev/zero -> /dev/da1 > > just to make sure there is no GPT of any sort on the Target pendrive, > > nor MBR, also I could see where write was skipped. > > Okay, so you can _confirm_ that there is MBR (partition table > with "DOS primary partitions") in it - good. In that case, > using gpart or fdisk to read the MBR should work definitely > for the source stick - and should also work for the target stick > after the MBR has been written correctly. Yes. Source pendrive works and worked fine for several months on dozens of machines connected with no problem. Target pendrive was advertised to be faster so I just wanted to clone the data to a faster device ;-) > If you use something like > # dd if=/dev/da0 of=/dev/da1 bs=1M > i. e., a block size typical for such media, does it make any > difference? Not copying 512 bytes is one thing, but not copying > a much larger block - 1 MB - with the 512 bytes at its beginning, > that would be _really_ strange. I usually use "bs=1000m" or "bs=500m" with "status=progress" for a large drives because that allows optimal performance and progress tracking.. so I guess the bigger block size has already been tested :-) > If you dd the 1st 512 bytes out of the source and the target and > compare them, are they identical? They _should_, according to what > dd reports. > > # dd if=/dev/da0 of=/dev/da1 bs=512 count=1 That did not copy the DA0 MBR to DA1. > # dd if=/dev/da0 of=da0.mbr bs=512 count=1 That did copy DA0 MBR to a file. > # dd if=/dev/da1 of=da1.mbr bs=512 count=1 That did copy DA1 MBR to a file. > # diff da0.mbr da1.mbr Looking with `less -f` when the copy was done the contents was the same, when copy was not done I could see the difference because of writing zeros prior. > You can then repeat this test with a bigger block: I did a copy whole disk data from one to another using much more bigger blocks like 100M 500M and 1000M.. no change. > In any case, there should be _no_ difference (no matter if the > partitions themselves are incomplete and unreadable on the target > stick). Yes, I think so too. > > Because I need to finish quickly, I have used GPART to create and add > > partitions by hand and I am DD'ing partition by partition. So far so > > good. > > In case they are UFS partitions, you could newfs the target > partition, and then use dump | restore - I don't know if this > is faster, but it would work as well. I just have one big FAT32 storage partition for files, one bootable FreeBSD LiveCD/Installed copied from a memstick image, and one Kali Linux bootable image just in case ;-) > Next idea is for them to put some "AI/ML anti virus malware" into > the firmware of the USB stick that accepts data, returns "written" > to the writer, but doesn't actually write anything to its storage, > because... we need to protect the users! :-) Well, I need to stop at assumption that this particular Kingston line of pendrives are messy and should be avoided, maybe some quirk could do the job, but I have no more time to play, so I leave a trace if someone meets similar issues in future :-) > Rule: > If it stops you to do stupid things, it also stops you to do clever > things, and most things we do in UNIX world are usually not invented > elsewhere. :-) This is why I do not respect these modern UX "researchers" that removed menu from a GIMP toolbar "because no other program works that way". This most beautiful Rule in the universe reveals such ignorance instantly! On the other side of the force we have "according to microsoft development is about enforcing changes" and so we do live now in this kind of the "enforced" world.. Thank you Poly for your time, lets stop here! :-) :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info