From owner-freebsd-hackers@freebsd.org Sun Jun 19 15:28:01 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3D09FA792E7 for ; Sun, 19 Jun 2016 15:28:01 +0000 (UTC) (envelope-from mseqs@bsd.com.br) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C651B1EB5 for ; Sun, 19 Jun 2016 15:28:00 +0000 (UTC) (envelope-from mseqs@bsd.com.br) Received: by mail-wm0-x22f.google.com with SMTP id v199so41251782wmv.0 for ; Sun, 19 Jun 2016 08:28:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=EpzIoS/nU8VfoUBBItYc7Q5ni4isyE32KOqtpWVnxKk=; b=FLSrzWZ8epgu0uLJPX8Ub9tU0ne/TcbscLjmW3LY7bUIEYLJHaiaZCBVfTYVRN3oGH 4BvVLidZiwDCI9EelQqP6uZBoHOtaujXOw2GQ0AN6mpNNyLi5zXEiKe9K4QN92LUacsd f6jqRFsxvcwbEupBSKX7x5YUwIEPDEshEpeAY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=EpzIoS/nU8VfoUBBItYc7Q5ni4isyE32KOqtpWVnxKk=; b=As0QxUXtqBbSkORqjB0mjpMh47YnfHXRh9I7lsISxqaxBl5svh0gWPobvVSPjbDpmH oQ9XNYgVLW9e4gPBxpoTuQ4amuu/4ddFJQVrsZCEqdoAs0XTap6qx+b3klqfgtkynEcZ 2sQPTHftBT2wsPjCZ96mx3kNolmwjGTuu7danoeOjC8OSCW1pa5Ox2FkNuQmDKJV25c6 ySXkhb0I7T1aODXhVxuEmUIC8AT/seTihdznNrCpcymp5TWkKk+Iuy2rPlQkTh+Sjza0 7AmPOZlC1L4XXHYmHeSlpuY82nqwaI5JyKwbxpYVkNXMZtTLbq/+bLdaZP3Aeavapmz+ kGWQ== X-Gm-Message-State: ALyK8tJsGNseq7D44trbpgLF+4OlLv6J4DFtZZzZmlC+1xoOHfwb+huZCHxDFFoHn8MOr9B5tzcUUGfWfvnEjw== MIME-Version: 1.0 X-Received: by 10.194.94.69 with SMTP id da5mr5034808wjb.158.1466350078795; Sun, 19 Jun 2016 08:27:58 -0700 (PDT) Received: by 10.194.30.101 with HTTP; Sun, 19 Jun 2016 08:27:58 -0700 (PDT) Received: by 10.194.30.101 with HTTP; Sun, 19 Jun 2016 08:27:58 -0700 (PDT) In-Reply-To: <20160618154455.l23l7yacijwga7hi@ivaldir.etoilebsd.net> References: <20160618154455.l23l7yacijwga7hi@ivaldir.etoilebsd.net> Date: Sun, 19 Jun 2016 12:27:58 -0300 Message-ID: Subject: Re: Pkg conflicts From: Rafael Rodrigues Nakano To: freebsd-hackers@freebsd.org, bapt@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jun 2016 15:28:01 -0000 Thanks, I understand. Is this already present in pkg-devel? I'll try to find the conflicting package, once I find, should I open a PR? I can't say if this affects only me, but I guess not, considering it happened on 3 different fresh-installs. From owner-freebsd-hackers@freebsd.org Sun Jun 19 15:55:58 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 87387A79E27 for ; Sun, 19 Jun 2016 15:55:58 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 046E714FD for ; Sun, 19 Jun 2016 15:55:58 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by mail-wm0-x22c.google.com with SMTP id v199so41699645wmv.0 for ; Sun, 19 Jun 2016 08:55:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=q0rhmO1e8yqU6dqZNYv7MEGusqNGI60tTEVmiutfRUU=; b=Kf46SkLYx//X3vK8EoA64y0ErWmjIQwV/9isN5AVEa7X9/O1gSi91MRYRZIaisnpau 2JyAtnFgP8QNTEGKsXA3p3gv2a89KXZ34ai9l6tCMkSICmIr05So1yV46YTl5zWeC9Ro x0OUWxQ6ohpOpAtbzlsXQBGAEnNkdtYOUO2SdZCS1vfC4I+WAS/3l23qBFTrVHFK+ie5 r0DGiGia9EFMzI5mZHpQOJflX198+5+W2AwyiQ9JICVlNxdBiuMWMPmDwpyPKjLbQYSs JnW+9+fLvOoR3JE/Wkj6xIcgSytLgM/+OCma9O5O5IsyBNdz1Tt6l5gzNajvDgQSB5Pk sy9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=q0rhmO1e8yqU6dqZNYv7MEGusqNGI60tTEVmiutfRUU=; b=h5QEkhjlFGuutThEMggQvLMXMPWNqawLiYohT6YwsBh4kS9Q8PyrbcrQDcFoqgR71i TScJy0IQ7946L7BLyiP6cA372j/R4TtWnxT/24VvuyN4FAGvJQvaU6KhhINfBhSl0y4Z Z8Yuf3JFi+Am8FBvN/y9JOGFC6GHRskrfBikUwnK1BW7x06Wl8pJY8Taino3GXgtVZvN PxHH/RGEtpF5xS75BdrNntVDuHDjle6bBYsuXOFgABT/8t8Ega+dZKCseWCKBdtyqrmw ZvpDWfM9Q+m1b7qVNSW6+xlT856YCB8j7ugd4VY6RRCUxNbZRefR8EEq3vMz9uG/Q78J Ed1Q== X-Gm-Message-State: ALyK8tJW1TYSho03cLWqa1YqmNYTJTmNwSAYjn86TDGhGPrPJ/OCl3TsuXykS4hldwbFhw== X-Received: by 10.194.23.226 with SMTP id p2mr10574550wjf.120.1466351756508; Sun, 19 Jun 2016 08:55:56 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id o10sm22356426wjs.38.2016.06.19.08.55.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Jun 2016 08:55:55 -0700 (PDT) Sender: Baptiste Daroussin Date: Sun, 19 Jun 2016 17:55:55 +0200 From: Baptiste Daroussin To: Rafael Rodrigues Nakano Cc: freebsd-hackers@freebsd.org Subject: Re: Pkg conflicts Message-ID: <20160619155555.nnueeofg4f2y36tk@ivaldir.etoilebsd.net> References: <20160618154455.l23l7yacijwga7hi@ivaldir.etoilebsd.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="wd56p4rtllt72fzz" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.1-neo (2016-06-11) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jun 2016 15:55:58 -0000 --wd56p4rtllt72fzz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 19, 2016 at 12:27:58PM -0300, Rafael Rodrigues Nakano wrote: > Thanks, I understand. >=20 > Is this already present in pkg-devel? I'll try to find the conflicting > package, once I find, should I open a PR? I can't say if this affects only > me, but I guess not, considering it happened on 3 different fresh-install= s. Not yet soon, I have spotted the issue (yours and many others reporting the= same issue). This is due to mozjpeg and jpegturbo conflicting. I am tracking that down Best regards, Bapt --wd56p4rtllt72fzz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXZsBWAAoJEGOJi9zxtz5aq3YP/1b0aExsSif3AJs1Y7OK8s5k awLPmHtjYx82WfB4gqGWZVrDCP0oJERRjoxSuHTVmmeSl2Ueyp41Qg5spXSgxCOl QJELsT3C2fMICIGZGK3kGZK33JjBO6wONzKSG61gxwhqRYeWzgw5JDj23gymelvP ULNhOyBfkIjy3IUv4RVkCNTM1XZdZxESvp7S32JsG//DUqDktKmCQGdIPfg++Kra HfZ15XLA/tcvjv1yu1aM8GGyh3itnHlsqtm57HSRwf/PKhoq0KCcnEfY90/zEXz9 UHr00yvdHmNdU2J2TaTdF/vl9qF72bzcGppWMeKgESklLs/RLgUvxfECIJutNY0V CUAdv65BCweHjpZg23zE8TtmlsEqYdcCBZ44ARKXexc10e6egov/4gqkXr0uIunJ h7YqmNpPEd8YQV+YgXU6IMHvbNcgALTklS45Pvg89bRWo2vYwyCjD6WobK5giqad Jc94l25Agk49DRJ7eTzqXT32Cb45Ma0MGag7eX0TzCsFtb/ppA9ZFmjr2YdD9Y/C 2LOLR8Mr6mC77CoixjRK7vzyt6K0UgWsIe/QwkhjilBZWpfCI6qDJSV6NQzdypCj PGZyw6DlttWW4nuO2ZnbDP5RRfUKRULl58/cEqHTADyVUpksUtEmIysJVsD8uyAZ NBFICi5nmwPbX4MrYu8Q =pXlb -----END PGP SIGNATURE----- --wd56p4rtllt72fzz-- From owner-freebsd-hackers@freebsd.org Sun Jun 19 15:58:19 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6E646A79F08 for ; Sun, 19 Jun 2016 15:58:19 +0000 (UTC) (envelope-from mseqs@bsd.com.br) Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0AF901729 for ; Sun, 19 Jun 2016 15:58:18 +0000 (UTC) (envelope-from mseqs@bsd.com.br) Received: by mail-wm0-x236.google.com with SMTP id a66so47949654wme.0 for ; Sun, 19 Jun 2016 08:58:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=iu3KiW60CLv4n45njP9LAyFHCjscwD9dtKY3F9dcw3k=; b=Z/ZH4Xs0LfTlIbIlK0Cknuv5FkjT20L2JHWq8cvl7zFgk+N6P0Dwr4lHUY9P7jstJ4 DMenZ18vMXeDlU/S0S5F0EUGsjGyw6KiPTQPQJ0OxNGvXIao8zDErCXbgZpmsh184tLZ bdQrc/3rB3w0yAQBc0JAwKr2IE32uuLtCJYNs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=iu3KiW60CLv4n45njP9LAyFHCjscwD9dtKY3F9dcw3k=; b=WoWHlIf6tar0sTCHcBNNORWUTHOdlxeWc+iecAiaK2UXNawraxqW3At/Q8Gwbcxnsy J7MK9ro4sb+w2XOnJ8nNT95gjU2+RRy246hs6n7hli2fjFtt1CVCSLQDtjEi8FDHrExk OeBFiS13JXFZAMZHGyb7C3SFG79aopLG0PbTMR7br5hZTzBpwqSc+yFuU/Yn5wZF50i7 pPv+LtPcA+P3DCnpOBcd9Z9A5CHHN2KwY2dHXYbKd5IGjjIpiQtzx/kcJHidz7N/wreF VrJsw4IKaYpQ/rz6xvsv9BehfWA6vdmU5sTAXhT01HZpRrhZ3dSt+WEPYD8EIP2E3gB4 1Niw== X-Gm-Message-State: ALyK8tLKn9OWvYjvLabQmUUteQh7XLLAI+wy70p3z9J3GSAa/apcq/ipoOWrI1GeI6OS8E4xd90iPNWRcOzkpg== MIME-Version: 1.0 X-Received: by 10.28.145.68 with SMTP id t65mr5804459wmd.31.1466351896946; Sun, 19 Jun 2016 08:58:16 -0700 (PDT) Received: by 10.194.30.101 with HTTP; Sun, 19 Jun 2016 08:58:16 -0700 (PDT) Received: by 10.194.30.101 with HTTP; Sun, 19 Jun 2016 08:58:16 -0700 (PDT) In-Reply-To: <20160619155555.nnueeofg4f2y36tk@ivaldir.etoilebsd.net> References: <20160618154455.l23l7yacijwga7hi@ivaldir.etoilebsd.net> <20160619155555.nnueeofg4f2y36tk@ivaldir.etoilebsd.net> Date: Sun, 19 Jun 2016 12:58:16 -0300 Message-ID: Subject: Re: Pkg conflicts From: Rafael Rodrigues Nakano To: Baptiste Daroussin , freebsd-hackers@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jun 2016 15:58:19 -0000 Glad to hear that, hope it gets fixed soon. Thank you, have a good day. From owner-freebsd-hackers@freebsd.org Sun Jun 19 20:21:35 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 33CF9A799CB for ; Sun, 19 Jun 2016 20:21:35 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: from mail-it0-x231.google.com (mail-it0-x231.google.com [IPv6:2607:f8b0:4001:c0b::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 033FE2083 for ; Sun, 19 Jun 2016 20:21:34 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: by mail-it0-x231.google.com with SMTP id z189so32175200itg.0 for ; Sun, 19 Jun 2016 13:21:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mqM8N7+1eyAZcKb25/ae0fUgP8cs/Z6KO7BIQ2y4x+s=; b=S6hgeLfE9VM/CXiWUT9GqOiOZ0zIX9wBy0Zsef01ylwnAQFgwNQ9iHg9sLqqvTyhnd 2TkCcy8sD926RvgaWZinToTzWA/mIJOrKgmcAYCAP+ENWS4//ao0LKsQqFrGTxsJVbEb 3Flhs2wLKhWhXZrHU7aZmj3m1B259EI8ulbFU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mqM8N7+1eyAZcKb25/ae0fUgP8cs/Z6KO7BIQ2y4x+s=; b=gPPx7hjgrkf1D4yvo527+Kp3TgQEZj22D9Mt6/kpor1FkMEpTZRmehY9NUCVCL0GKh 3Os4otZ5KgddmXHPod39/O/3R1sYY1VrPuxzbgtP1xEUiGpmngmp7TbEjy3w/EFgx9zb a6oJrn5fphu02yUYs0V+RA2EEVrTaIt0br0auZBCYj9vgSgfOlhPDIvxptR7+71UTPU1 l8Df8HbKkmx4GhoGjTlDHolwjxYufgvQNjRegV6svFxTqx4g65lp5FSzY6H5Bcfqko/g Xj40i5pRMOeOn6SMz5ReIRJWnJgwOfC8jV7dG7BjrwXepS12xuGOHO3avaAgW3+zqXCE 8dew== X-Gm-Message-State: ALyK8tLspkWKYcPNxYv+3Ay+Wflhg1HXdcSjMdG/IqQap7MVKPQpD/Kca0wNYhdup3CpKUubaWow3LZABrIq2Q== X-Received: by 10.36.83.9 with SMTP id n9mr12465983itb.34.1466367693836; Sun, 19 Jun 2016 13:21:33 -0700 (PDT) MIME-Version: 1.0 References: <20160618154455.l23l7yacijwga7hi@ivaldir.etoilebsd.net> <20160619155555.nnueeofg4f2y36tk@ivaldir.etoilebsd.net> In-Reply-To: <20160619155555.nnueeofg4f2y36tk@ivaldir.etoilebsd.net> From: =?UTF-8?Q?Otac=C3=ADlio_de_Ara=C3=BAjo_Ramos_Neto?= Date: Sun, 19 Jun 2016 20:21:24 +0000 Message-ID: Subject: Re: Pkg conflicts To: Baptiste Daroussin , Rafael Rodrigues Nakano Cc: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jun 2016 20:21:35 -0000 Em dom, 19 de jun de 2016 12:56, Baptiste Daroussin escreveu: > On Sun, Jun 19, 2016 at 12:27:58PM -0300, Rafael Rodrigues Nakano wrote: > > Thanks, I understand. > > > > Is this already present in pkg-devel? I'll try to find the conflicting > > package, once I find, should I open a PR? I can't say if this affects > only > > me, but I guess not, considering it happened on 3 different > fresh-installs. > > Not yet soon, I have spotted the issue (yours and many others reporting > the same > issue). This is due to mozjpeg and jpegturbo conflicting. I am tracking > that > down > > Best regards, > Bapt > I have faced this problema with libgd and ru-libgd on ALPHA-3 []'S Otac=C3=ADlio > From owner-freebsd-hackers@freebsd.org Sun Jun 19 20:33:33 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 94615A79EF7 for ; Sun, 19 Jun 2016 20:33:33 +0000 (UTC) (envelope-from mseqs@bsd.com.br) Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2693326DF for ; Sun, 19 Jun 2016 20:33:33 +0000 (UTC) (envelope-from mseqs@bsd.com.br) Received: by mail-wm0-x236.google.com with SMTP id v199so46256222wmv.0 for ; Sun, 19 Jun 2016 13:33:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=4EF851HdYtyCi0VriOTYSw5zeDRpVtwrpHtTgj1syHg=; b=BJpPb0fFh3xWrUMecsqHvAGMxznpkTpp+ZeyqnJb22n6rc698xplWYHeK/LHe2Mypq xpVNl8N7QrVjiLSXhNkylzligmsLGYuPrKNkhVcAW+WUixM4sS8C1x67BmJhaJdYq8Ky kqBRP41l3m3pXAf5GFUZVEMCsqm0UlTsETIck= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=4EF851HdYtyCi0VriOTYSw5zeDRpVtwrpHtTgj1syHg=; b=EjxOAzj2j4dKKepMr5MLIdJHULR/FWE+Wy8AS2JaMuQlYpkWUeaN7I/vv35FbH+ZRn mvHmh0eWOU4y8KdVLgBRKbgDh6SOIMFMI9xmyCTAAx/uXQJtTey1LAatjM+y9NHye6u9 jqtTpOqDfmZZD3+GjSj4CYnsyZU8MNiH883qXvK7XwcWKS4P5TohI1zyVUZKdKs8vqeR 5XzU9CWWajDVS5c3pQImHLHdq7lmqpktJWmUO1evwHjnQazLyPlKJ/Vi33B1x51PCYxA t6khMdUWRaOxkCOkYlVRpRElwBeEgGY7KKTnogBb3KZu+jjv4U4vqOOQkMw+2Qa3zRWt moUg== X-Gm-Message-State: ALyK8tKK5erhc5aCh8rv1jcfOow/rjD8jLivPFvHV9YNbY03gLQoeDHr14T6E0bYNoVBJL+YGUJ0RJArd6HbcQ== MIME-Version: 1.0 X-Received: by 10.194.94.69 with SMTP id da5mr5729150wjb.158.1466368411320; Sun, 19 Jun 2016 13:33:31 -0700 (PDT) Received: by 10.194.30.101 with HTTP; Sun, 19 Jun 2016 13:33:31 -0700 (PDT) Received: by 10.194.30.101 with HTTP; Sun, 19 Jun 2016 13:33:31 -0700 (PDT) In-Reply-To: References: <20160618154455.l23l7yacijwga7hi@ivaldir.etoilebsd.net> <20160619155555.nnueeofg4f2y36tk@ivaldir.etoilebsd.net> Date: Sun, 19 Jun 2016 17:33:31 -0300 Message-ID: Subject: Pkg conflicts From: Rafael Rodrigues Nakano To: =?UTF-8?Q?Otac=C3=ADlio_de_Ara=C3=BAjo_Ramos_Neto?= , freebsd-hackers@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jun 2016 20:33:33 -0000 I'm sure it isn't related only to jpeg-turbo. While installing gnome3 it complains about 3 dependencies, but I don't know which. From owner-freebsd-hackers@freebsd.org Sun Jun 19 20:34:52 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3CD2FA79FA5 for ; Sun, 19 Jun 2016 20:34:52 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BE16B2802 for ; Sun, 19 Jun 2016 20:34:51 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by mail-wm0-x22c.google.com with SMTP id v199so46277113wmv.0 for ; Sun, 19 Jun 2016 13:34:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=N4luTRKDQWj+tObdgnD4iIKqKIRdlVFfiB5GOhdyt3Q=; b=P0PfAT6ZwLj/CQFmD/phl15tPl2NYYeM4UnsbdI+srDp8dDHeErwcTQAxaVs0dj1Jh 3Pkro7FMHkBfZUuXRxX2w1JQmCnS7pXSAbUcpKLbe1zNw7UB6npZMNkcoNYrZJbtLRok o0FyctXCD1+ON6NdALx/CZBLZ3BCfiiCXHV2xRMYJczLwPp3ZEPFIaW7xNfxaktQEZts NJyP4paYEz4wmp/cv0jFu8OOZVL53gThjYdSpzMMPQg7Xzdnys34kKQS3/RejVbTRM1f gTKtC54ZEeb8kPRYsp5btD6nKkaVjkOPgrz+ZSp2Z0AGfQrB718jiFmwwDsYV552KDjg rw1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=N4luTRKDQWj+tObdgnD4iIKqKIRdlVFfiB5GOhdyt3Q=; b=Z93+hz5fn+GJg0bHdo5TanJVd5XmrXhwtcvaAO72DSM244JkEM1X6c51OobxAHPSbE mOMrf+YQOjx7lVZOniErAifUSRpL7ka4cdmwF9eUbt8xNjFs0QxR0ArMToasoN3uQm4N xfT4Wy2jxlDzDcfeEHNw5ZRl6m7ZgiMM6cVVCEefSVK7IC0rJss5rrMK4a6X7vwHkNEx 7bNri1DE6bGZ8D2XETNl2jTuYilfdzEiv0gVMDNg5Z0DEGO/pZpoteXF0IIOdFO8Uk8Y p6c88/30A+hryUDmGPF0wH++9Fu5F7mEQ7cntO5kHsDR6flRw/E8ZXzY+temV5zWiVhD 7GVg== X-Gm-Message-State: ALyK8tI3Xt1HWLR9o1Nwi2wWpWnQee6tSbJM2otzktVZqHb1JSjDuQNkU7XWAjloo35Dzg== X-Received: by 10.194.94.69 with SMTP id da5mr5731685wjb.158.1466368490288; Sun, 19 Jun 2016 13:34:50 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id a198sm4968099wme.16.2016.06.19.13.34.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Jun 2016 13:34:49 -0700 (PDT) Sender: Baptiste Daroussin Date: Sun, 19 Jun 2016 22:34:48 +0200 From: Baptiste Daroussin To: Rafael Rodrigues Nakano Cc: =?iso-8859-1?Q?Otac=EDlio_de_Ara=FAjo?= Ramos Neto , freebsd-hackers@freebsd.org Subject: Re: Pkg conflicts Message-ID: <20160619203448.qrtkkzsmuu6f6ozu@ivaldir.etoilebsd.net> References: <20160618154455.l23l7yacijwga7hi@ivaldir.etoilebsd.net> <20160619155555.nnueeofg4f2y36tk@ivaldir.etoilebsd.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sax6vpt4pht3durw" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.1-neo (2016-06-11) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jun 2016 20:34:52 -0000 --sax6vpt4pht3durw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Jun 19, 2016 at 05:33:31PM -0300, Rafael Rodrigues Nakano wrote: > I'm sure it isn't related only to jpeg-turbo. While installing gnome3 it > complains about 3 dependencies, but I don't know which. Yup there is a bug that we have spotted in the solver, we are working on a fix Best regards, Bapt --sax6vpt4pht3durw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXZwHoAAoJEGOJi9zxtz5a3sgP/283Xl7ugDm9MhE5665cm0CB ajaG19vMxBXBUV6CkKJSOdifRa6eMJmtjDAYKf3iurg2PfKQjTxO4gOI846kp4if hGzSGTr+1K169yb53V5/gYorGj2nvILreOQmvjqEmfCSQoVfSgDfbvUIPrOxxgaB H1XZlVYqaGU+xV5YxakcOkKC3gtkZf492wbvVChia/puDsAJN5DJfrZAJH05Assu SOtUio78LHnAL/hyi+LRSwf5OclB+HEfHJoJVr3ZgIN1WgsNUagouJa9Lik/+8Kg DzJGE9SiJ4XCzLWiu4Hl4lssXi+fjIfmEFf4iYIzbXeMklwiGX8faEf8GyolMZSZ N53D9MbPrKDyCzC/WifKiGINeyAvPvV/rbihyO1cs2T/MsWjOrTTTHvtLeCxt3kf R5slX2n4DgQfoaj5dquSyqIXmMjJzEhzd9f5qist74Zl33D+E8uwSWnu3fVu373c sDgW3a9i8GiunYSwvxJe4YLtzI/WyHBPqtQko17y636Tge6505wI5uQCVb5YLFoJ fPaDv8Ka+2LhYvy6mP4WNMaER5kYpTGbMzE3xdFTsRnI99V0OmpU8MqYDZLoYG5L v+sHJthoT7igfZC3cMOHZRlNMvtzYV8EsJ1vRc5x7MP7PzktuhyZmtWcUWoVshZQ l4HA26jnsyw4eDxnFoil =n38G -----END PGP SIGNATURE----- --sax6vpt4pht3durw-- From owner-freebsd-hackers@freebsd.org Sun Jun 19 21:40:29 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A3988A77D09 for ; Sun, 19 Jun 2016 21:40:29 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: from mail-qk0-x22c.google.com (mail-qk0-x22c.google.com [IPv6:2607:f8b0:400d:c09::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 58F1121BC for ; Sun, 19 Jun 2016 21:40:29 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: by mail-qk0-x22c.google.com with SMTP id c73so140875201qkg.2 for ; Sun, 19 Jun 2016 14:40:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=aATkkCnlF3HzZQzV4NKz1jPHi4+92Y1nBj5RxtRGnfU=; b=cEjO+lTExyYWzD4QZz6+5RXp4Ace5wnKNASnaNKG0YbHVTX26zZGJDcesaP5ZhyON+ W1IVwdHDhOjT708PvZ1inNdaZsSSIgaxJXJs+BS782nSnmaCgHbRAcYSPUUR7P5/qbO8 pqtmFd6C8sF5p4YcE1k0ban459iSMs4b1hXsM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=aATkkCnlF3HzZQzV4NKz1jPHi4+92Y1nBj5RxtRGnfU=; b=Qn3bJ9acQ6PVCAlBGsSiQTG3lC91OisAmBuHwXYlsENpjnoZ/nTr4JLyVfETQAdK5B aUuonXV3pcqHi9F1sfAZWG44NLJe3hXVnQ5B7uR8Ls5Q67FuogxC0sd5eMPLoqRMyN7g Bb6Unwh4/8Ndajr5swux9tI1TS+tNvhovdYkkNw2p+xzfpHIJXWxUAyNv/ALR58U8R+x jeog6l62plj8NUBzQREj9GFOspEOaHhI8jbhocP7fyR/Um1qbCZi6Qe1y6qY5AISklWg /T6jwonTzdEVGqj+wvny7VmX3jx2oI+9cCfHhluKMr5RCv/jS60VGeWK88dK5LyuZODQ 11jQ== X-Gm-Message-State: ALyK8tLpbfxA52O9ZBM/YgYuvnq7AGCBFY/q+CrIfEUi2FiKwB+dcJPh8Fb1VxxG1JjWtw== X-Received: by 10.237.53.51 with SMTP id a48mr16913518qte.54.1466372428119; Sun, 19 Jun 2016 14:40:28 -0700 (PDT) Received: from [192.168.0.18] ([187.60.94.34]) by smtp.googlemail.com with ESMTPSA id s13sm14705288qke.6.2016.06.19.14.40.26 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 19 Jun 2016 14:40:27 -0700 (PDT) To: "freebsd-arm@freebsd.org" , freebsd-hackers@freebsd.org From: =?UTF-8?B?T3RhY8OtbGlv?= Subject: (beagleboneblack/urtwn) Kernel page fault with the following non-sleepable locks held Message-ID: Date: Sun, 19 Jun 2016 18:40:07 -0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jun 2016 21:40:29 -0000 I was installing netperf on a fresh FreeBSD-ALPHA3 FreeBSD beaglebone 11.0-ALPHA3 FreeBSD 11.0-ALPHA3 #0 r301846: Mon Jun 13 19:54:27 BRT 2016 ota@nostromo:/root/crochet/work/obj/arm.armv6/usr/src/sys/BEAGLEBONE-DEBUG arm on BeagleboneBlack using wrtwn when I got this kernel panic: root@beaglebone:/usr/home/ota # pkg install netperf Updating FreeBSD repository catalogue... Fetching meta.txz: 100% 944 B 0.9kB/s 00:01 Fetching packagesite.txz: 100% 4 MiB 46.0kB/s 01:42 Processing entries: 6%lock order reversal: 1st 0xc30b35d4 syncer (syncer) @ /usr/src/sys/kern/vfs_subr.c:2048 2nd 0xc319d6f4 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2498 stack backtrace: Processing entries: 58%Kernel page fault with the following non-sleepable locks held: exclusive sleep mutex tcp_sc_head (tcp_sc_head) r = 0 (0xc2f9d520) locked @ /usr/src/sys/netinet/tcp_syncache.c:494 shared rw tcp (tcp) r = 0 (0xc08ef348) locked @ /usr/src/sys/netinet/tcp_input.c:1034 exclusive rw tcpinp (tcpinp) r = 0 (0xc31ab494) locked @ /usr/src/sys/netinet/in_pcb.c:1964 stack backtrace: Fatal kernel mode data abort: 'Alignment Fault' on read trapframe: 0xdcfe58a8 FSR=00000001, FAR=c2e7187a, spsr=60000013 r0 =c08e7988, r1 =00000004, r2 =c06fa3ad, r3 =000007b6 r4 =dcfe5a10, r5 =dcfe5b28, r6 =c2e71876, r7 =c2f9d520 r8 =c2f9d520, r9 =c2e71876, r10=dcfe5b28, r11=dcfe5970 r12=00000000, ssp=dcfe5938, slr=c2d34370, pc =c053d8e8 [ thread pid 13 tid 100036 ] Stopped at syncookie_lookup+0x38: ldmib r6, {r1-r2} db> []'s -Otacílio From owner-freebsd-hackers@freebsd.org Sun Jun 19 21:47:40 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 939E9A7A016 for ; Sun, 19 Jun 2016 21:47:40 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: from mail-qk0-x235.google.com (mail-qk0-x235.google.com [IPv6:2607:f8b0:400d:c09::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4E499274A for ; Sun, 19 Jun 2016 21:47:40 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: by mail-qk0-x235.google.com with SMTP id c73so140977130qkg.2 for ; Sun, 19 Jun 2016 14:47:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=qjmXniEmGtMqz9SS8xuhGquvc4OV6DZqFDyy1720PXU=; b=RnpUYLJIFH64lU4wGldNg8k+rViray17bRDJLJIxKidUrCKVk5Yg9V8bbOwR+os51n M0k8j5IBsa/2LTMHOND0uHbMVy0+SM/qRzvMoEzv165LUi/YjvyleHnSb8pkiOnlO5NE 0+G7G0zOtrEZDdKJTHibW69AMHCKGgWGionuI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=qjmXniEmGtMqz9SS8xuhGquvc4OV6DZqFDyy1720PXU=; b=YEaekbsz8/zg2QUz4oBsgWBANaR8s83HjZ/zmgv7FL0ySLnwmkA3CtlTgCvUwcGWm/ XRnimkDzdQ2948mqg6ihp7kdZRuKjdQZ3NaD9fQXgxJtdhHsUOC5gPt7VR3KdSVcDJr1 llFlItE4GwwtTANlcekv5ZU1HoHdh7bk5NU+iZioyuimvOBM3ZpDTFQ6GInDvG2agWNG Gi1TJgad7vwCzMa1u6nWY74jmLnyiXt/iKrsDX9dgcD3n4rqr7YNjiYmy1FeL6sK7CiZ 3+00Vo02yYXLTBQsI4UnlBU+7Ea2cyeKYScugI2jvjyIGAHiG+NnIl7zDv/lyPohz8Uf mFCA== X-Gm-Message-State: ALyK8tKHeZ15tgicOv2CgIcdwbEqFCGXkZcCV+PigUksQZjk2WvBHeIYNiGXgJ+86TLOfQ== X-Received: by 10.55.209.83 with SMTP id s80mr17258725qki.87.1466372859352; Sun, 19 Jun 2016 14:47:39 -0700 (PDT) Received: from [192.168.0.18] ([187.60.94.34]) by smtp.googlemail.com with ESMTPSA id f13sm14609915qtc.2.2016.06.19.14.47.37 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 19 Jun 2016 14:47:38 -0700 (PDT) Subject: Re: (beagleboneblack/urtwn) Kernel page fault with the following non-sleepable locks held To: "freebsd-arm@freebsd.org" , freebsd-hackers@freebsd.org References: From: =?UTF-8?B?T3RhY8OtbGlv?= Message-ID: <5e322d5a-8c42-8e69-f3c4-e607d40e8724@bsd.com.br> Date: Sun, 19 Jun 2016 18:47:19 -0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jun 2016 21:47:40 -0000 Em 19/06/2016 18:40, Otacílio escreveu: > I was installing netperf on a fresh FreeBSD-ALPHA3 > > FreeBSD beaglebone 11.0-ALPHA3 FreeBSD 11.0-ALPHA3 #0 r301846: Mon Jun > 13 19:54:27 BRT 2016 > ota@nostromo:/root/crochet/work/obj/arm.armv6/usr/src/sys/BEAGLEBONE-DEBUG > arm > > on BeagleboneBlack using wrtwn when I got this kernel panic: > > root@beaglebone:/usr/home/ota # pkg install netperf > Updating FreeBSD repository catalogue... > Fetching meta.txz: 100% 944 B 0.9kB/s 00:01 > Fetching packagesite.txz: 100% 4 MiB 46.0kB/s 01:42 > Processing entries: 6%lock order reversal: > 1st 0xc30b35d4 syncer (syncer) @ /usr/src/sys/kern/vfs_subr.c:2048 > 2nd 0xc319d6f4 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2498 > stack backtrace: > Processing entries: 58%Kernel page fault with the following > non-sleepable locks held: > exclusive sleep mutex tcp_sc_head (tcp_sc_head) r = 0 (0xc2f9d520) > locked @ /usr/src/sys/netinet/tcp_syncache.c:494 > shared rw tcp (tcp) r = 0 (0xc08ef348) locked @ > /usr/src/sys/netinet/tcp_input.c:1034 > exclusive rw tcpinp (tcpinp) r = 0 (0xc31ab494) locked @ > /usr/src/sys/netinet/in_pcb.c:1964 > stack backtrace: > Fatal kernel mode data abort: 'Alignment Fault' on read > trapframe: 0xdcfe58a8 > FSR=00000001, FAR=c2e7187a, spsr=60000013 > r0 =c08e7988, r1 =00000004, r2 =c06fa3ad, r3 =000007b6 > r4 =dcfe5a10, r5 =dcfe5b28, r6 =c2e71876, r7 =c2f9d520 > r8 =c2f9d520, r9 =c2e71876, r10=dcfe5b28, r11=dcfe5970 > r12=00000000, ssp=dcfe5938, slr=c2d34370, pc =c053d8e8 > > [ thread pid 13 tid 100036 ] > Stopped at syncookie_lookup+0x38: ldmib r6, {r1-r2} > db> > > > []'s > > -Otacílio > The kernel panic is totally reproducible. I need only do a ssh in the beaglebone using ptty on windows or ssh on freebsd and the kernel panic is raised. FreeBSD/arm (beaglebone) (ttyu0) login: Kernel page fault with the following non-sleepable locks held: exclusive sleep mutex tcp_sc_head (tcp_sc_head) r = 0 (0xc2f95480) locked @ /usr/src/sys/netinet/tcp_syncache.c:494 shared rw tcp (tcp) r = 0 (0xc08ef348) locked @ /usr/src/sys/netinet/tcp_input.c:1034 exclusive rw tcpinp (tcpinp) r = 0 (0xc341e494) locked @ /usr/src/sys/netinet/in_pcb.c:1964 stack backtrace: Fatal kernel mode data abort: 'Alignment Fault' on read trapframe: 0xdcfe58a8 FSR=00000001, FAR=c2e7807a, spsr=60000013 r0 =c08e7988, r1 =00000004, r2 =c06fa3ad, r3 =000007b6 r4 =dcfe5a10, r5 =dcfe5b28, r6 =c2e78076, r7 =c2f95480 r8 =c2f95480, r9 =c2e78076, r10=dcfe5b28, r11=dcfe5970 r12=00000000, ssp=dcfe5938, slr=c2d34370, pc =c053d8e8 [ thread pid 13 tid 100036 ] Stopped at syncookie_lookup+0x38: ldmib r6, {r1-r2} db> From owner-freebsd-hackers@freebsd.org Sun Jun 19 22:47:07 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4E590A7A8EE for ; Sun, 19 Jun 2016 22:47:07 +0000 (UTC) (envelope-from mseqs@bsd.com.br) Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DE6731CE1 for ; Sun, 19 Jun 2016 22:47:06 +0000 (UTC) (envelope-from mseqs@bsd.com.br) Received: by mail-wm0-x235.google.com with SMTP id r201so38390483wme.1 for ; Sun, 19 Jun 2016 15:47:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=huQS72MSZlt6JhdsQcTZz5tBzwXPDYpQCx9rqCtHP3w=; b=LG2+hycpUjeTBRubbU5ARwef2EUtJPobUvc5PttqIF72EsILPqMazhqIZSCm7iIsGn vLvntCNAlqYhdHAmpUZ52XxGaY9U3PkZi2zO6UPjlX7VmZ12koOUzwwJkYCU8qsEtsVO MLGeYR6GnhH2m1Rwoa0kDxW00x0Bhc0yetiLo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=huQS72MSZlt6JhdsQcTZz5tBzwXPDYpQCx9rqCtHP3w=; b=Ouay7I3o4Ep8uJYw9viWvBaX6BDMeWf/BsAk1Ew6At4wkPraYnIkgXyhozsgitEp/a G6GkFo/SMolEXEOtZZd4P2bvxtmBaVbz/RD5a/26+DpEbpHY0jaVHjH8WwMCMNcwibv1 n/w//Ils0v+AqZUWB3vNZzibBEvKfgQDz3fvkulrHZllD602LBHxYiFiU1KRtNsOnm0M jV02bsNIpaS9/cR3562XooHNnF5RCdBeBigmNXZdlujYh4k0du84DBzxphWtcVM4deQq aq96lt6QGmqdhliwW1JhCSueJk1is4YS7UPfCEskd5wlxION8H2oNuLg7tAEfL38/u7e eliw== X-Gm-Message-State: ALyK8tLc2gFn7VAcaHHHVD0dwxL5qqBAxZRO5yCDrL8cOPvUYDPKHSp8FBQV/vT30bV8SX0SXV0sLi+L9/fftQ== X-Received: by 10.194.94.69 with SMTP id da5mr5994041wjb.158.1466376425161; Sun, 19 Jun 2016 15:47:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.30.101 with HTTP; Sun, 19 Jun 2016 15:47:04 -0700 (PDT) In-Reply-To: <20160619203448.qrtkkzsmuu6f6ozu@ivaldir.etoilebsd.net> References: <20160618154455.l23l7yacijwga7hi@ivaldir.etoilebsd.net> <20160619155555.nnueeofg4f2y36tk@ivaldir.etoilebsd.net> <20160619203448.qrtkkzsmuu6f6ozu@ivaldir.etoilebsd.net> From: Rafael Rodrigues Nakano Date: Sun, 19 Jun 2016 19:47:04 -0300 Message-ID: Subject: Re: Pkg conflicts To: Baptiste Daroussin , freebsd-hackers@freebsd.org, =?UTF-8?Q?Otac=C3=ADlio_de_Ara=C3=BAjo_Ramos_Neto?= Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jun 2016 22:47:07 -0000 Thanks for letting me know that. Is there any thread/conversation about this? So I could "follow" this subject, to know when this issue is fixed? 2016-06-19 17:34 GMT-03:00 Baptiste Daroussin : > On Sun, Jun 19, 2016 at 05:33:31PM -0300, Rafael Rodrigues Nakano wrote: > > I'm sure it isn't related only to jpeg-turbo. While installing gnome3 it > > complains about 3 dependencies, but I don't know which. > > Yup there is a bug that we have spotted in the solver, we are working on a > fix > > Best regards, > Bapt > From owner-freebsd-hackers@freebsd.org Sun Jun 19 23:29:31 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 55BA3A7A0CE for ; Sun, 19 Jun 2016 23:29:31 +0000 (UTC) (envelope-from mseqs@bsd.com.br) Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D819C2ECC for ; Sun, 19 Jun 2016 23:29:30 +0000 (UTC) (envelope-from mseqs@bsd.com.br) Received: by mail-wm0-x22b.google.com with SMTP id a66so56021994wme.0 for ; Sun, 19 Jun 2016 16:29:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=84tJUNp1rgAuAgmtNl93slcN6uZTS1Kcms9ts0mTvI0=; b=NyYFuezq/WnFx45SA2vnfqE09gxi5zMLoFd64SVltzHYKoNvUBoX1DPpbDawj6swPm EucUC6JevkCUUnSTuBfD5hVfbQzvxYZwHStUN9Ln6kNkVOQa/lrzRHoG4G96Y/BTKlG6 myqoAxCkE+uHpo18ZiYX0iL63ZM1vjvChXs2I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=84tJUNp1rgAuAgmtNl93slcN6uZTS1Kcms9ts0mTvI0=; b=Ctjn35ZjfkrA+Tq+HSHv6zwevUBVqmrR/Dh9oTFcbNEk3Qx+3HTZ9IYADLEGTP+gKj /EWzEdoFgUbCjjJLPfLo+P9ri30HRcv8s0sN35hzN88ZMB6UJlre0bFvXzOCgI0FKox4 hfWMIsmi9g9qBBIEGn0PKcloxKkKo0oYW49K2KGVHdb0krx2ALREFC2lp/0TCWx68r1H B8I/bpU/l4WGYPotForm7fUT4XceA/Ss/MJ5h1NITJz4XbsLZU1/0W5/L3poMMzFqY8E Fq4V4X73VGtC+w3HBtZD/LeFnU9hMS0vq18UMOD0DRYfn6rcpO58IO+hXo9M+dxsZmyH KKgg== X-Gm-Message-State: ALyK8tJuz7a/ar3txUQE+ESQbr53XBw8aFkY+VhMF+c55FWyDwyHDd20mQlXnBWvwrDHRy7B8UKzJud7vTF2rg== X-Received: by 10.28.145.68 with SMTP id t65mr6777146wmd.31.1466378969486; Sun, 19 Jun 2016 16:29:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.30.101 with HTTP; Sun, 19 Jun 2016 16:29:28 -0700 (PDT) In-Reply-To: References: <20160618154455.l23l7yacijwga7hi@ivaldir.etoilebsd.net> <20160619155555.nnueeofg4f2y36tk@ivaldir.etoilebsd.net> <20160619203448.qrtkkzsmuu6f6ozu@ivaldir.etoilebsd.net> From: Rafael Rodrigues Nakano Date: Sun, 19 Jun 2016 20:29:28 -0300 Message-ID: Subject: Re: Pkg conflicts To: Dewayne Geraghty , freebsd-hackers@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jun 2016 23:29:31 -0000 Thanks. Is there a earlier version available or should I get it from a older installation media? 2016-06-19 20:24 GMT-03:00 Dewayne Geraghty : > Log a PR is the usual way. Pkg is always under development, I've found > reverting to a known working copy of pkg to be more productive. Stick to > 1.6.4 until you think a later version works. > > I don't mind testing beta grade software, but not SW under development! ;) > > > On Monday, 20 June 2016, Rafael Rodrigues Nakano wrote: > >> Thanks for letting me know that. >> >> Is there any thread/conversation about this? So I could "follow" this >> subject, to know when this issue is fixed? >> >> 2016-06-19 17:34 GMT-03:00 Baptiste Daroussin : >> >> > On Sun, Jun 19, 2016 at 05:33:31PM -0300, Rafael Rodrigues Nakano wrote: >> > > I'm sure it isn't related only to jpeg-turbo. While installing gnome3 >> it >> > > complains about 3 dependencies, but I don't know which. >> > >> > Yup there is a bug that we have spotted in the solver, we are working >> on a >> > fix >> > >> > Best regards, >> > Bapt >> > >> _______________________________________________ >> freebsd-hackers@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org >> " >> > > > -- > *Disclaimer:* > > > > *As implied by email protocols, the information in this message is not > confidential. Any intermediary or recipient may inspect, modify (add), > copy, forward, reply to, delete, or filter email for any purpose unless > said parties are otherwise obligated. Nothing in this message may be > legally binding without cryptographic evidence of its integrity and/or > confidentiality.* > > From owner-freebsd-hackers@freebsd.org Mon Jun 20 00:09:51 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CCFFBA7A9FB for ; Mon, 20 Jun 2016 00:09:51 +0000 (UTC) (envelope-from mseqs@bsd.com.br) Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6707B1FAF for ; Mon, 20 Jun 2016 00:09:51 +0000 (UTC) (envelope-from mseqs@bsd.com.br) Received: by mail-wm0-x22d.google.com with SMTP id a66so56615330wme.0 for ; Sun, 19 Jun 2016 17:09:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=lKULkilkBalUyFFJUtNGcQvLv3/806Tz0xZNO27AFFA=; b=GbxpaJm8cC2WskeTSNK/EsvD2AVtdR2IMsLbxObKC0pWo7OAsvaQ0FEy3WJTbIlJCA 87wT/itQDnptr/9FTI8JQYiGUVA0u6ctvCUmUiFMZTRT0ODS8HrFxM7nm17V4jIgCkkY M6aMSbK1xtOFG7Ek8RoyUw4+Ez1px1++RHGrw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=lKULkilkBalUyFFJUtNGcQvLv3/806Tz0xZNO27AFFA=; b=UuB24C+/w1AgKEK6Y2htovFof4FbeomleexhOWtz1/rsnrdI9RxjoTeI6k2Gsx+Xy1 epYj0uhH2rywbEwHaeQtFIJRFiKar3F6kNOTX8Dn5IKj+QY0nUn/HAEIySpGb8dBJiN5 oC+iGA/u5pDD5n5JyNsn481G/ZISnGr2L7IWFKF1vWcVd7YoMd3EfdIY4qqr5A/+d5H3 ZIFDfkMj2S5Ay0O3kFCf7CPC5hk9k4EfI/lM2fK5wH32Eb+fXFx2VLo5psFMsDsyFdjr gHPzS71UQ1GvCCbIBb0hpZfd+GOpEYd2QymAS81d5WSbk9agzoySMUCm+iYCHS6KhhEJ 0s0Q== X-Gm-Message-State: ALyK8tLma3fb5hadVNbhkSHAhy8DjiIC810Ze/yKMyzLjFsLm1d11mUeTyvBhYYNQB4nr+QH0pNgexTUhQ+AcQ== X-Received: by 10.194.114.228 with SMTP id jj4mr11804112wjb.121.1466381389636; Sun, 19 Jun 2016 17:09:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.30.101 with HTTP; Sun, 19 Jun 2016 17:09:48 -0700 (PDT) In-Reply-To: References: <20160618154455.l23l7yacijwga7hi@ivaldir.etoilebsd.net> <20160619155555.nnueeofg4f2y36tk@ivaldir.etoilebsd.net> <20160619203448.qrtkkzsmuu6f6ozu@ivaldir.etoilebsd.net> From: Rafael Rodrigues Nakano Date: Sun, 19 Jun 2016 21:09:48 -0300 Message-ID: Subject: Re: Pkg conflicts To: Dewayne Geraghty , freebsd-hackers@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2016 00:09:51 -0000 Thats awesome, thank you. 2016-06-19 21:05 GMT-03:00 Dewayne Geraghty : > svnlite update -r "{2016-03-20}" /usr/ports/ports-mgmt/pkg > From owner-freebsd-hackers@freebsd.org Mon Jun 20 00:21:01 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 97C21A7ACA4 for ; Mon, 20 Jun 2016 00:21:01 +0000 (UTC) (envelope-from mseqs@bsd.com.br) Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2862124A6 for ; Mon, 20 Jun 2016 00:21:01 +0000 (UTC) (envelope-from mseqs@bsd.com.br) Received: by mail-wm0-x22c.google.com with SMTP id a66so56781041wme.0 for ; Sun, 19 Jun 2016 17:21:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=G4QRuc+v2UNFC7L5xrzo6xTDksTLqFo+L8hUK95FMpE=; b=NBYTSsfCUNWSbXr6ubWNIYc9EdsnUX74+f2F8zJ/x50brATQANU9VL57gCY7ZJpmeV W9OtrD5ISuuoF4KaodS+G3UGUj3DV2hcezHqmItD3MZn/4xxpep4POIeRVKIGsS8hl6L EKNKTcZncMNerZiPJahYNCw/MyX+0rnV4Uaro= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=G4QRuc+v2UNFC7L5xrzo6xTDksTLqFo+L8hUK95FMpE=; b=a348WOrT/7K6pTHmdR0zTZH/CvnEegKHCRaa2fSQh/4vfx3WiseWE2havvjFIYQ0dE wMjh9i688v/py5g/eiIuQ/EGOOQhU1+mL2mpNtrW6Tp7pHZyOZXxk20dyXBmXfXgSj8q bdxf+hfktInClE4+ov8BC8NScphXwG0piDkQfxXSXdNvREdzkb4LdGePnDvfiqh1dobC M4pafU0JvO86LwbqMq6DIjT7yuch8GtzRgSk5ApjRIFbFgmtvLwM0Se+VXayjmj6xjRT rf16pzFylZN1O17tmsBXbeKv1b7L7A0FQddJ/5PAXWqWrMQInazK7GODlHNzNY41WWvG 4jMA== X-Gm-Message-State: ALyK8tJzVlxhYtX4n4W++8OYicLuA7na6Rb63y3cywV70M2zser1OIcVubDzAOM+HaOs6m4iBgx7epmJApIcag== MIME-Version: 1.0 X-Received: by 10.28.104.214 with SMTP id d205mr8814381wmc.102.1466382059629; Sun, 19 Jun 2016 17:20:59 -0700 (PDT) Received: by 10.194.30.101 with HTTP; Sun, 19 Jun 2016 17:20:59 -0700 (PDT) Received: by 10.194.30.101 with HTTP; Sun, 19 Jun 2016 17:20:59 -0700 (PDT) In-Reply-To: References: <20160618154455.l23l7yacijwga7hi@ivaldir.etoilebsd.net> <20160619155555.nnueeofg4f2y36tk@ivaldir.etoilebsd.net> <20160619203448.qrtkkzsmuu6f6ozu@ivaldir.etoilebsd.net> Date: Sun, 19 Jun 2016 21:20:59 -0300 Message-ID: Subject: Pkg conflicts From: Rafael Rodrigues Nakano To: Dewayne Geraghty , freebsd-hackers@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2016 00:21:01 -0000 Thats awesome, thank you. 2016-06-19 21:05 GMT-03:00 Dewayne Geraghty : > > svnlite update -r "{2016-03-20}" /usr/ports/ports-mgmt/pkg From owner-freebsd-hackers@freebsd.org Mon Jun 20 00:58:05 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 74259A7937D for ; Mon, 20 Jun 2016 00:58:05 +0000 (UTC) (envelope-from freebsd-hackers@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) (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 1DF631197 for ; Mon, 20 Jun 2016 00:58:04 +0000 (UTC) (envelope-from freebsd-hackers@herveybayaustralia.com.au) Received: from [192.168.0.134] (laptop1.herveybayaustralia.com.au [192.168.0.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 046626205A for ; Mon, 20 Jun 2016 10:57:53 +1000 (EST) Subject: [solved]: Re: enabling cpu "features" in custom kernel To: freebsd-hackers@freebsd.org References: <2fa5c2cb-81eb-d44a-3011-db27035e7965@herveybayaustralia.com.au> <092CD08F-3896-451D-8A7E-8DCB056D0118@FreeBSD.org> From: Da Rock Message-ID: <8e9bb248-7c08-436e-6550-c054f449a483@herveybayaustralia.com.au> Date: Mon, 20 Jun 2016 10:57:53 +1000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <092CD08F-3896-451D-8A7E-8DCB056D0118@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2016 00:58:05 -0000 On 17/06/2016 20:20, Dimitry Andric wrote: > On 16 Jun 2016, at 14:35, Da Rock wrote: >> I'm just trying to get my head around kernel building and clang. >> >> If I want to enable certain features available on my cpu which are available by clang, how do I enable them? As I understand it using ccflags is a no no (ie /etc/make.conf), so how do I go about enabling them? I seem to be missing something in my research here... > You can set CPUTYPE in /etc/make.conf, for example: > > CPUTYPE?=broadwell > > then it will be automatically picked up in the correct places during > buildworld, or during ports building. > > See also make.conf(5) and /usr/share/examples/etc/make.conf. > > -Dimitry > Thank you for that lead. It wasn't quite on it, but referring to /usr/share/mk/bsd.cpu.mk provided the answers I sought. From owner-freebsd-hackers@freebsd.org Mon Jun 20 02:37:32 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 88016A7B4E0 for ; Mon, 20 Jun 2016 02:37:32 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x233.google.com (mail-it0-x233.google.com [IPv6:2607:f8b0:4001:c0b::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5A0C9139B for ; Mon, 20 Jun 2016 02:37:32 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x233.google.com with SMTP id a5so36068700ita.1 for ; Sun, 19 Jun 2016 19:37:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=KPV5sMmYbsep6WRupOxVuzX1ibIEkxPUBYbJnQrB6uk=; b=vNGHUX1ROcIuqNCRWsZ45B4ZGjA0Hf16weqNOIda19PERyQm70AKV+cJg3DCAPVs6F VNPGcxKH84nAGmERKuJ56nHJdKvLHfsdJUdWdHdnd/Ikq658yuFXDsZnRlrxOckBFJy6 P3JpHJnrga6r2kWge6506fdd6RgCSyZp4D3rP4gZGmnLDO2GqmbOzdfQ9xVSxJIHyX2Z LeRarYxEKyN4Swbmz6wC4WMf8F1t9HP6kFpear065Gmuw9dQQrC5Fp897f2AmlkCpjqQ 6rjr2CLJUZ6hRQFXHQ0pydUOqqYjEjLLR3zs2JP31uS1FyF2yI9CRYuS93g+9Ju9ZDmT GvjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=KPV5sMmYbsep6WRupOxVuzX1ibIEkxPUBYbJnQrB6uk=; b=OGtuK9p9DA3kOKT1LcOu7qfcG1wptVM7ZrqPtrPFF+8DM6XExu8dGasAjEzPUPFDk4 vdDKlhyAdRCJjJ+EdH11pl+UMdU1zNJ/qA+Ok8y/EAzoEVqYPd98uBJDekabmfPxNBSB xYAz3gkDhVuGrujgrrKVKxyb7DET5TGRlrTN8Dw7aX76LgZx3FaNMychdkRApXwqYF/7 VzM+MbNj3XQkeYxuZnQho9MJS8BY8VTLHNpOtr/m5/ck1dejEtb5QUcccAyn3ZfdO4QL AcsxM7deqRMiGydjorMhZpu5/6QDPaqAZ+uxaLxcT2wyj4aPafMOyahHNzQuVaoHzDxY 0fAQ== X-Gm-Message-State: ALyK8tLdWRLMEnANfAPTOaklqkkwaojbaG7lHK9j+1JTwY7934KiXWwrFpCk68HasvSAU2mxyEIoraG+u0/XMA== MIME-Version: 1.0 X-Received: by 10.36.46.80 with SMTP id i77mr14121923ita.60.1466390251506; Sun, 19 Jun 2016 19:37:31 -0700 (PDT) Sender: wlosh@bsdimp.com Received: by 10.79.75.3 with HTTP; Sun, 19 Jun 2016 19:37:31 -0700 (PDT) X-Originating-IP: [50.253.99.174] In-Reply-To: <8e9bb248-7c08-436e-6550-c054f449a483@herveybayaustralia.com.au> References: <2fa5c2cb-81eb-d44a-3011-db27035e7965@herveybayaustralia.com.au> <092CD08F-3896-451D-8A7E-8DCB056D0118@FreeBSD.org> <8e9bb248-7c08-436e-6550-c054f449a483@herveybayaustralia.com.au> Date: Sun, 19 Jun 2016 20:37:31 -0600 X-Google-Sender-Auth: zVj2mJ7i6uPev-VVJn-bdy5QXfQ Message-ID: Subject: Re: [solved]: Re: enabling cpu "features" in custom kernel From: Warner Losh To: Da Rock Cc: "freebsd-hackers@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2016 02:37:32 -0000 Sadly, the obvious 'makeoptions CPUYPE=broadwell' in the kernel config doesn't work since it is set too late since bsd.cpu.mk is included from sys.mk before anything in the Makefile can change things. Warner On Sun, Jun 19, 2016 at 6:57 PM, Da Rock wrote: > On 17/06/2016 20:20, Dimitry Andric wrote: >> >> On 16 Jun 2016, at 14:35, Da Rock >> wrote: >>> >>> I'm just trying to get my head around kernel building and clang. >>> >>> If I want to enable certain features available on my cpu which are >>> available by clang, how do I enable them? As I understand it using ccflags >>> is a no no (ie /etc/make.conf), so how do I go about enabling them? I seem >>> to be missing something in my research here... >> >> You can set CPUTYPE in /etc/make.conf, for example: >> >> CPUTYPE?=broadwell >> >> then it will be automatically picked up in the correct places during >> buildworld, or during ports building. >> >> See also make.conf(5) and /usr/share/examples/etc/make.conf. >> >> -Dimitry >> > Thank you for that lead. It wasn't quite on it, but referring to > /usr/share/mk/bsd.cpu.mk provided the answers I sought. > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hackers@freebsd.org Mon Jun 20 03:00:14 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 16FAEA7B914 for ; Mon, 20 Jun 2016 03:00:14 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1b.ore.mailhop.org (outbound1b.ore.mailhop.org [54.200.247.200]) (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 DCFFF1E63 for ; Mon, 20 Jun 2016 03:00:13 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: 29668358-3693-11e6-a0ff-e511cd071b9b X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.34.117.227 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.34.117.227]) by outbound1.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA; Mon, 20 Jun 2016 03:00:36 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.14.9) with ESMTP id u5K30BQx002296; Sun, 19 Jun 2016 21:00:11 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1466391611.34556.35.camel@freebsd.org> Subject: Re: [solved]: Re: enabling cpu "features" in custom kernel From: Ian Lepore To: Warner Losh , Da Rock Cc: "freebsd-hackers@freebsd.org" Date: Sun, 19 Jun 2016 21:00:11 -0600 In-Reply-To: References: <2fa5c2cb-81eb-d44a-3011-db27035e7965@herveybayaustralia.com.au> <092CD08F-3896-451D-8A7E-8DCB056D0118@FreeBSD.org> <8e9bb248-7c08-436e-6550-c054f449a483@herveybayaustralia.com.au> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.16.5 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2016 03:00:14 -0000 On Sun, 2016-06-19 at 20:37 -0600, Warner Losh wrote: > Sadly, the obvious 'makeoptions CPUYPE=broadwell' in the kernel > config > doesn't work since it is set too late since bsd.cpu.mk is included > from sys.mk before anything in the Makefile can change things. > > Warner > But makeoptions CONF_CFLAGS="-march=broadwell" should work. (We use that construct in arm config files). -- Ian > On Sun, Jun 19, 2016 at 6:57 PM, Da Rock > wrote: > > On 17/06/2016 20:20, Dimitry Andric wrote: > > > > > > On 16 Jun 2016, at 14:35, Da Rock > > > wrote: > > > > > > > > I'm just trying to get my head around kernel building and > > > > clang. > > > > > > > > If I want to enable certain features available on my cpu which > > > > are > > > > available by clang, how do I enable them? As I understand it > > > > using ccflags > > > > is a no no (ie /etc/make.conf), so how do I go about enabling > > > > them? I seem > > > > to be missing something in my research here... > > > > > > You can set CPUTYPE in /etc/make.conf, for example: > > > > > > CPUTYPE?=broadwell > > > > > > then it will be automatically picked up in the correct places > > > during > > > buildworld, or during ports building. > > > > > > See also make.conf(5) and /usr/share/examples/etc/make.conf. > > > > > > -Dimitry > > > > > Thank you for that lead. It wasn't quite on it, but referring to > > /usr/share/mk/bsd.cpu.mk provided the answers I sought. > > > > _______________________________________________ > > freebsd-hackers@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > To unsubscribe, send any mail to " > > freebsd-hackers-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to " > freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hackers@freebsd.org Mon Jun 20 05:40:23 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1AFA3A7A82F for ; Mon, 20 Jun 2016 05:40:23 +0000 (UTC) (envelope-from noname.esst@yahoo.com) Received: from nm22-vm0.bullet.mail.ne1.yahoo.com (nm22-vm0.bullet.mail.ne1.yahoo.com [98.138.91.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D30251A8F for ; Mon, 20 Jun 2016 05:40:22 +0000 (UTC) (envelope-from noname.esst@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1466401216; bh=VoA4LzB2+oLXlEEqofLE6PuWh2WjHa7Ye/X1aUEbPrc=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=jjqqP3TrzFxmN4nWFfgrQehWziF/IC5HUvTgY9ute4OedoSu9ay47v7Jw7+Q/pbUIE/mIHdW5smYXuWoD0uoQIFeiZmCwhT0IxfhaT2qMNgz/3yixtSICDUMJ0uk2dmJqLiN9PMfhiGlwORlvEnu2WEaK5SQjIegDlZJPFzMeTaqMdc9ezKm+yk0myuE4KN2OHAgJPchXZxhilwbuPuNNuQZ8u4di+DGiIOxuFTO0joKq1yQRn+8hX6om6Nfl02xxrH7w+2ttNOUmlQgpEnnxmNtNqk+QL3R/t3KD5RdXPxcBG4RUpYY78sk3XByhjIQn37mPeYQSRq/OA9qqcsrag== Received: from [98.138.226.180] by nm22.bullet.mail.ne1.yahoo.com with NNFMP; 20 Jun 2016 05:40:16 -0000 Received: from [98.138.89.250] by tm15.bullet.mail.ne1.yahoo.com with NNFMP; 20 Jun 2016 05:40:16 -0000 Received: from [127.0.0.1] by omp1042.mail.ne1.yahoo.com with NNFMP; 20 Jun 2016 05:40:16 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 607501.30703.bm@omp1042.mail.ne1.yahoo.com X-YMail-OSG: OQHds0kVM1l0fO89iukieuXHDaC1QyKx71ZJA7xplRo3Kx_OhmsTNBLMEDmQJhl HVt6Y1PXV7imRpg9GWoh_Dt.OTjXCEGv9qUXYpAEAUq87kIIy1cLdvggYXX48sbLBfFC3AQyUrvI .oVdWecwD5T9dwk90Yllyx.psSNweaAkMm3uqBn07eCka4Tcmwe_QQLVrwX2CgbhuSN83_ODAG9c mGeWKHniE4S1pzsubVkTE3wf5yNeyUWxZQDCpnQlF5Yv1VvD8fyBV4maw.jWF0RASfSo8upgbVSO sYmcPyXK9k243Vohw4yOjo_5jA8BLnZrZ0FsFTLq9HOQYsX1wD9U6NldP.YI2f6BQ7nyUu_igtsz qqAF_iQWaAC8dTe34zOE4lUXa_sYvhL8MkJin4zVucBywuYM_bo5nIoV0Z7MDV2ngt2fXFusARXg 3lQrv4iASHDjdTV1I5ru5JzMOHwYeEX8ld3b8M8jv56jDrQYyb4oX4V2nAVY4KSKxVmEI3Qv7pbl VmkpN6NNWH5LfGcaPy17XMF9ezbUDWw-- Received: from jws100236.mail.ne1.yahoo.com by sendmailws158.mail.ne1.yahoo.com; Mon, 20 Jun 2016 05:40:16 +0000; 1466401216.146 Date: Mon, 20 Jun 2016 05:40:15 +0000 (UTC) From: Nomad Esst Reply-To: Nomad Esst To: FreeBSD Hackers Message-ID: <820876206.1145906.1466401215430.JavaMail.yahoo@mail.yahoo.com> Subject: Using netgraph in kernel modules MIME-Version: 1.0 References: <820876206.1145906.1466401215430.JavaMail.yahoo.ref@mail.yahoo.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2016 05:40:23 -0000 Hi I included the two files in my kernel module : #include #include And here is contents of Makefile: =C2=A0 KMOD=3D echo=C2=A0=C2=A0 SRCS=3D char_dev.c =C2=A0 .include When I try to run make I face the following errors: @/netgraph/ng_message.h:59: error: expected specifier-qualifier-list before= 'u_char' @/netgraph/ng_message.h:227: error: expected specifier-qualifier-list befor= e 'uint32_t' @/netgraph/ng_message.h:269: error: expected specifier-qualifier-list befor= e 'u_int32_t' @/netgraph/ng_message.h:283: error: expected specifier-qualifier-list befor= e 'u_int32_t' @/netgraph/ng_message.h:294: error: expected specifier-qualifier-list befor= e 'u_int32_t' @/netgraph/ng_message.h:306: error: expected specifier-qualifier-list befor= e 'u_int64_t' @/netgraph/ng_message.h:332: error: expected specifier-qualifier-list befor= e 'u_int' @/netgraph/ng_message.h:352: error: expected specifier-qualifier-list befor= e 'uint32_t' In file included from @/sys/lock.h:36, =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from @/netgra= ph/netgraph.h:52, =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from char_dev= .c:2: @/sys/_lock.h:36: error: expected specifier-qualifier-list before 'u_int' In file included from @/netgraph/netgraph.h:52, =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from char_dev= .c:2: @/sys/lock.h:60: error: expected specifier-qualifier-list before 'u_int' In file included from char_dev.c:2: @/netgraph/netgraph.h:1187: error: field 'tag' has incomplete type *** [char_dev.o] Error code 1 Stop in /extra/char-dev. What's the problem?? From owner-freebsd-hackers@freebsd.org Mon Jun 20 06:27:06 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3A68CA7B034 for ; Mon, 20 Jun 2016 06:27:06 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E9CF32CB9 for ; Mon, 20 Jun 2016 06:27:05 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (ppp121-45-242-176.lns20.per4.internode.on.net [121.45.242.176]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id u5K6R0eK086341 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Sun, 19 Jun 2016 23:27:02 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: Using netgraph in kernel modules To: noname.esst@yahoo.com References: <820876206.1145906.1466401215430.JavaMail.yahoo.ref@mail.yahoo.com> <820876206.1145906.1466401215430.JavaMail.yahoo@mail.yahoo.com> From: Julian Elischer Cc: freebsd-hackers@freebsd.org Message-ID: Date: Mon, 20 Jun 2016 14:26:54 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <820876206.1145906.1466401215430.JavaMail.yahoo@mail.yahoo.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2016 06:27:06 -0000 On 20/06/2016 1:40 PM, Nomad Esst via freebsd-hackers wrote: > Hi > > I included the two files in my kernel module : > > #include #include did you start with /usr/src/sys/netgraph/ng_sample.c? My suggestion is to start with that and add in your code a bit at a time To see it compile, go to /usr/src/sys/modules/netgraph/sample and type "make to make your own module, copy the build directory to /usr/src/sys/modules/netgraph/mymodule copy the source files to /usr/src/sys/netgraph/ng_mymodule.h /usr/src/sys/netgraph/ng_mymodule.c and replace all instances of 'sample' in all the files and the Makefile with 'mymodule' Then go to /usr/src/sys/modules/netgraph/mymodule and make sure it still compiles then add all your own code, adding include files as you need them recompile it every time you have the oportunity while you are working on it. > > And here is contents of Makefile: > > KMOD= echo SRCS= char_dev.c > > .include > > When I try to run make I face the following errors: > > > @/netgraph/ng_message.h:59: error: expected specifier-qualifier-list before 'u_char' > @/netgraph/ng_message.h:227: error: expected specifier-qualifier-list before 'uint32_t' > @/netgraph/ng_message.h:269: error: expected specifier-qualifier-list before 'u_int32_t' > @/netgraph/ng_message.h:283: error: expected specifier-qualifier-list before 'u_int32_t' > @/netgraph/ng_message.h:294: error: expected specifier-qualifier-list before 'u_int32_t' > @/netgraph/ng_message.h:306: error: expected specifier-qualifier-list before 'u_int64_t' > @/netgraph/ng_message.h:332: error: expected specifier-qualifier-list before 'u_int' > @/netgraph/ng_message.h:352: error: expected specifier-qualifier-list before 'uint32_t' > In file included from @/sys/lock.h:36, > from @/netgraph/netgraph.h:52, > from char_dev.c:2: > @/sys/_lock.h:36: error: expected specifier-qualifier-list before 'u_int' > In file included from @/netgraph/netgraph.h:52, > from char_dev.c:2: > @/sys/lock.h:60: error: expected specifier-qualifier-list before 'u_int' > In file included from char_dev.c:2: > @/netgraph/netgraph.h:1187: error: field 'tag' has incomplete type > *** [char_dev.o] Error code 1 > > > Stop in /extra/char-dev. > > > What's the problem?? > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > > From owner-freebsd-hackers@freebsd.org Mon Jun 20 06:44:28 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5FFD6A7B4C2 for ; Mon, 20 Jun 2016 06:44:28 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C48C18A2 for ; Mon, 20 Jun 2016 06:44:27 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (ppp121-45-242-176.lns20.per4.internode.on.net [121.45.242.176]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id u5K6iJpc086469 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Sun, 19 Jun 2016 23:44:22 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: gpart inside jails To: Norbert Koch , freebsd-hackers@freebsd.org References: <94b54de6-0817-3171-7715-4610d7e985a4@demig.de> <307505f1-a05f-f869-bb9f-027262e74eb0@freebsd.org> <0d90638f-ca86-5b75-3682-e45ab8220874@demig.de> From: Julian Elischer Message-ID: Date: Mon, 20 Jun 2016 14:44:13 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <0d90638f-ca86-5b75-3682-e45ab8220874@demig.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2016 06:44:28 -0000 On 17/06/2016 2:21 PM, Norbert Koch wrote: > > > Am 2016-06-16 um 17:39 schrieb Allan Jude: >> On 2016-06-16 11:23, Norbert Koch wrote: >>> Hello, >>> >>> for creating freebsd boot flash media for embedded devices >>> I use mdconfig/gpart. >>> >>> Recently I put my 32-bit build machines into a jail under a 64-bit >>> machine. >>> This is my configuration: >>> >>> Host: FreeBSD-10.3/amd64 >>> Jail1: FreeBSD-9.1/i386 >>> Jail2: FreeBSD-10.3/i386 >>> Jail3: FreeBSD-10.3/amd64 >>> >>> If I jexec gpart status I get this: >>> Jail1: segmentation fault >>> Jail2: segmentation fault >>> Jail3: correct result as seen under host system >>> >>> So, this is obviously a 32/64 bit issue. Any idea? >>> >>> Thank you, >>> Norbert Koch >>> >>> _______________________________________________ >>> freebsd-hackers@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers >>> To unsubscribe, send any mail to >>> "freebsd-hackers-unsubscribe@freebsd.org" >> You might want to look at: >> >> makefs(8): create a ufs filesystem in a file, from a directory tree or >> mtree file. This allows you to avoid mdconfig, and can be done as a >> non-root user. >> >> mkimg(8): create a disk or VM (vmdk, vdi, qcow2, raw, etc) image from >> one or more file systems. Allows you to create the partitions and load >> the boot code etc. This allows you to avoid gpart, and can be done >> as a >> non-root user. >> > > Thank you. I'll try these. > > >> Re: why it crashes: I am guessing the kernel interface between >> gpart and >> geom_part.ko is not 32/64 safe or something. Someone else with a >> better >> informed opinion may be able to help you resolve the issue. Maybe the >> above workarounds will help. >> > for a 64bit kernel moduel to work with a 32 bit user space system, all paths from userspace to module have to translate values back and forth as needed. I can quite believe that making such shims for geom has not been a high priorlty. On the other hand, you can cheat, by adding 64 bit versions of the gpart and related programs into your 32 bit jail. they should run just fine and you can use libmap.conf if there are any library collisions that you need to handle. Evrything else should run fie to generate the images.. I'm not sure though how you would MOUNT the images inside the jail once you have partitioned them. All in all the mkimg utility is a good answer, as I think you are going to hit several problems one after the other with trying to mount system devices from within a jail. From owner-freebsd-hackers@freebsd.org Mon Jun 20 07:08:34 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 95724A7BF23 for ; Mon, 20 Jun 2016 07:08:34 +0000 (UTC) (envelope-from nkoch@demig.de) Received: from demig.de (demig.de [81.169.228.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Parallels Panel", Issuer "Parallels Panel" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 113EE2A04 for ; Mon, 20 Jun 2016 07:08:33 +0000 (UTC) (envelope-from nkoch@demig.de) Received: (qmail 22086 invoked from network); 20 Jun 2016 09:07:23 +0200 Received: from b2b-130-180-89-86.unitymedia.biz (HELO firewall.demig.intra) (130.180.89.86) by demig.de with ESMTPSA (DHE-RSA-AES256-SHA encrypted, authenticated); 20 Jun 2016 09:07:23 +0200 Received: from SRV-FS-2.Demig.intra (nameserver.demig.intra [192.168.148.248]) by firewall.demig.intra (8.14.4/8.14.4) with ESMTP id u5K77Hcl096623 for ; Mon, 20 Jun 2016 09:07:17 +0200 (CEST) (envelope-from nkoch@demig.de) Received: from [192.168.148.223] (192.168.148.223) by SRV-FS-2 (192.168.148.248) with Microsoft SMTP Server (TLS) id 14.3.123.3; Mon, 20 Jun 2016 09:07:12 +0200 Subject: Re: gpart inside jails To: References: <94b54de6-0817-3171-7715-4610d7e985a4@demig.de> <307505f1-a05f-f869-bb9f-027262e74eb0@freebsd.org> <0d90638f-ca86-5b75-3682-e45ab8220874@demig.de> From: Norbert Koch Message-ID: <1bf8d133-99ac-1933-378b-0f8cc71281df@demig.de> Date: Mon, 20 Jun 2016 09:07:11 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.73 on 192.168.148.235 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2016 07:08:34 -0000 Am 2016-06-20 um 08:44 schrieb Julian Elischer: > On 17/06/2016 2:21 PM, Norbert Koch wrote: >> >> >> Am 2016-06-16 um 17:39 schrieb Allan Jude: >>> On 2016-06-16 11:23, Norbert Koch wrote: >>>> Hello, >>>> >>>> for creating freebsd boot flash media for embedded devices >>>> I use mdconfig/gpart. >>>> >>>> Recently I put my 32-bit build machines into a jail under a 64-bit >>>> machine. >>>> This is my configuration: >>>> >>>> Host: FreeBSD-10.3/amd64 >>>> Jail1: FreeBSD-9.1/i386 >>>> Jail2: FreeBSD-10.3/i386 >>>> Jail3: FreeBSD-10.3/amd64 >>>> >>>> If I jexec gpart status I get this: >>>> Jail1: segmentation fault >>>> Jail2: segmentation fault >>>> Jail3: correct result as seen under host system >>>> >>>> So, this is obviously a 32/64 bit issue. Any idea? >>>> >>>> Thank you, >>>> Norbert Koch >>>> >>>> _______________________________________________ >>>> freebsd-hackers@freebsd.org mailing list >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers >>>> To unsubscribe, send any mail to >>>> "freebsd-hackers-unsubscribe@freebsd.org" >>> You might want to look at: >>> >>> makefs(8): create a ufs filesystem in a file, from a directory tree or >>> mtree file. This allows you to avoid mdconfig, and can be done as a >>> non-root user. >>> >>> mkimg(8): create a disk or VM (vmdk, vdi, qcow2, raw, etc) image from >>> one or more file systems. Allows you to create the partitions and load >>> the boot code etc. This allows you to avoid gpart, and can be done as a >>> non-root user. >>> >> >> Thank you. I'll try these. >> >> >>> Re: why it crashes: I am guessing the kernel interface between gpart >>> and >>> geom_part.ko is not 32/64 safe or something. Someone else with a better >>> informed opinion may be able to help you resolve the issue. Maybe the >>> above workarounds will help. >>> >> > for a 64bit kernel moduel to work with a 32 bit user space system, all > paths from userspace to module have to translate values back and forth > as needed. I can quite believe that making such shims for geom has not > been a high priorlty. > > On the other hand, you can cheat, by adding 64 bit versions of the > gpart and related programs into your 32 bit jail. > they should run just fine and you can use libmap.conf if there are any > library collisions that you need to handle. > Evrything else should run fie to generate the images.. > I'm not sure though how you would MOUNT the images inside the jail > once you have partitioned them. > You are right. Mounting became my next problem after solving the gpart issue. After having delegated the mount to the host by sending a command via ssh (not really elegant or secure, I know) I had to learn that the path to a mount point is rather limited (88 characters or so). Changing this would lead to a lot of compatibility problems (statfs). Not talking about the job to manage all those very special modifications. I finally decided to delegate image creation and configuration to a "true" virtual machine and only use the jail for software build. > All in all the mkimg utility is a good answer, as I think you are > going to hit several problems one after the other with trying to mount > system devices from within a jail. > > > > -- Dipl.-Ing. Norbert Koch Entwicklung Prozessregler ***************************************** * demig Prozessautomatisierung GmbH * * * * Anschrift: Haardtstrasse 40 * * D-57076 Siegen * * Registergericht: Siegen HRB 2819 * * Geschaeftsfuehrer: Joachim Herbst, * * Winfried Held * * Telefon: +49 271 772020 * * Telefax: +49 271 74704 * * E-Mail: info@demig.de * * http://www.demig.de * ***************************************** From owner-freebsd-hackers@freebsd.org Mon Jun 20 11:08:56 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 570EDA7BFB5 for ; Mon, 20 Jun 2016 11:08:56 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 306AF11FE for ; Mon, 20 Jun 2016 11:08:56 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (ppp121-45-242-176.lns20.per4.internode.on.net [121.45.242.176]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id u5KB8osA087678 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 20 Jun 2016 04:08:53 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: gpart inside jails To: freebsd-hackers@freebsd.org References: <94b54de6-0817-3171-7715-4610d7e985a4@demig.de> <307505f1-a05f-f869-bb9f-027262e74eb0@freebsd.org> <0d90638f-ca86-5b75-3682-e45ab8220874@demig.de> <1bf8d133-99ac-1933-378b-0f8cc71281df@demig.de> From: Julian Elischer Message-ID: Date: Mon, 20 Jun 2016 19:08:44 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <1bf8d133-99ac-1933-378b-0f8cc71281df@demig.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2016 11:08:56 -0000 On 20/06/2016 3:07 PM, Norbert Koch wrote: > > > Am 2016-06-20 um 08:44 schrieb Julian Elischer: >> On 17/06/2016 2:21 PM, Norbert Koch wrote: >>> >>> >>> Am 2016-06-16 um 17:39 schrieb Allan Jude: >>>> On 2016-06-16 11:23, Norbert Koch wrote: >>>>> Hello, >>>>> >>>>> for creating freebsd boot flash media for embedded devices >>>>> I use mdconfig/gpart. >>>>> >>>>> Recently I put my 32-bit build machines into a jail under a >>>>> 64-bit machine. >>>>> This is my configuration: >>>>> >>>>> Host: FreeBSD-10.3/amd64 >>>>> Jail1: FreeBSD-9.1/i386 >>>>> Jail2: FreeBSD-10.3/i386 >>>>> Jail3: FreeBSD-10.3/amd64 >>>>> >>>>> If I jexec gpart status I get this: >>>>> Jail1: segmentation fault >>>>> Jail2: segmentation fault >>>>> Jail3: correct result as seen under host system >>>>> >>>>> So, this is obviously a 32/64 bit issue. Any idea? >>>>> >>>>> Thank you, >>>>> Norbert Koch >>>>> >>>>> _______________________________________________ >>>>> freebsd-hackers@freebsd.org mailing list >>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers >>>>> To unsubscribe, send any mail to >>>>> "freebsd-hackers-unsubscribe@freebsd.org" >>>> You might want to look at: >>>> >>>> makefs(8): create a ufs filesystem in a file, from a directory >>>> tree or >>>> mtree file. This allows you to avoid mdconfig, and can be done as a >>>> non-root user. >>>> >>>> mkimg(8): create a disk or VM (vmdk, vdi, qcow2, raw, etc) image >>>> from >>>> one or more file systems. Allows you to create the partitions and >>>> load >>>> the boot code etc. This allows you to avoid gpart, and can be >>>> done as a >>>> non-root user. >>>> >>> >>> Thank you. I'll try these. >>> >>> >>>> Re: why it crashes: I am guessing the kernel interface between >>>> gpart and >>>> geom_part.ko is not 32/64 safe or something. Someone else with a >>>> better >>>> informed opinion may be able to help you resolve the issue. Maybe >>>> the >>>> above workarounds will help. >>>> >>> >> for a 64bit kernel moduel to work with a 32 bit user space system, >> all paths from userspace to module have to translate values back >> and forth as needed. I can quite believe that making such shims for >> geom has not been a high priorlty. >> >> On the other hand, you can cheat, by adding 64 bit versions of the >> gpart and related programs into your 32 bit jail. >> they should run just fine and you can use libmap.conf if there are >> any library collisions that you need to handle. >> Evrything else should run fie to generate the images.. >> I'm not sure though how you would MOUNT the images inside the jail >> once you have partitioned them. >> > > You are right. Mounting became my next problem after solving the > gpart issue. > After having delegated the mount to the host by sending a command > via ssh > (not really elegant or secure, I know) I had to learn that the path > to a mount point is > rather limited (88 characters or so). Changing this would lead to a > lot of compatibility > problems (statfs). > Not talking about the job to manage all those very special > modifications. > I finally decided to delegate image creation and configuration to a > "true" virtual machine > and only use the jail for software build. I'd seriously look at mkimg there's nothing like having a specialty tool designed for the job > > >> All in all the mkimg utility is a good answer, as I think you are >> going to hit several problems one after the other with trying to >> mount system devices from within a jail. >> >> >> >> > From owner-freebsd-hackers@freebsd.org Mon Jun 20 21:05:32 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4C8E6AC47B0; Mon, 20 Jun 2016 21:05:32 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from mail-yw0-x230.google.com (mail-yw0-x230.google.com [IPv6:2607:f8b0:4002:c05::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0E1C729C6; Mon, 20 Jun 2016 21:05:32 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: by mail-yw0-x230.google.com with SMTP id i12so37812897ywa.1; Mon, 20 Jun 2016 14:05:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=zhxF3O3Z4/iFA/VXcurrF8ydkC4MdzPnyxlEFUiqBd8=; b=ZogEQ7KHgt6uN8lDT8KBROYkdr5lU+YJoB7uM+wSvFTL5p4zKK7lrI3MGdTmHHidCQ 1+ewLZY8+ba8i7WULExMGIztbBMJwfvBPBbnhkACWWYVQSJwKZ8mFrtGV8KPs2sVEjya HmW8ZxpWXzINlejrmBbmAatukz0VqAPWColP2XKoikKp3jLKgvHgaS3nynpa/bL47Tev 83/gFIPjdocfCJ3MGk+EU5is2kct3HqFc0qC9l15axKWlAAedOD80FyxxI0nBYB1pmrP BBN1GgbM4Aj8o+g69QDJuZfmZIGUk0zx4jMqH+QBazbLajSV1z725xSm57T/mZz17hpF U8qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=zhxF3O3Z4/iFA/VXcurrF8ydkC4MdzPnyxlEFUiqBd8=; b=AHlF6KhuxWSKL4BYHmnBVCuGPl/4ur44rIPTQzQ/U4F3wTroveoexoWiiB1+AM223F 7KH0v04su2FESbxfOKaPHdQv0AiLMDNqruPmWYn//DHkkyrIMhVpSF5tkZw2YJMRFC1T TxmR2+fObPp/BxRj2fNYwEguzpi16mjtDq1ym/EmDYiekX5EI/rrd8HrOvYilFxO4jpV ZGZh3OB0+o/RxWjeI1jtmO94cNalImUYSU9GW1sTn38FrO20eOdWBkpcCcvIsc98bU4w 53tw528k4xZWhZV0AOiNlU6tKA3/vzOBFCGmiQ/QxJykUUu4OBxGYcKSAcD770blfoX0 Mbsw== X-Gm-Message-State: ALyK8tIaAGLTj6PMHbsc0U71wcs4JJQJzebr6VCdJ9dyBhXF6Yw2KmJ5+/2HNHX2SRU94hUJgm59tylMCWetRQ== X-Received: by 10.13.221.204 with SMTP id g195mr5655025ywe.238.1466456731187; Mon, 20 Jun 2016 14:05:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.27.130 with HTTP; Mon, 20 Jun 2016 14:05:30 -0700 (PDT) From: Zaphod Beeblebrox Date: Mon, 20 Jun 2016 17:05:30 -0400 Message-ID: Subject: The small installations network filesystem and users. To: freebsd-fs , FreeBSD Hackers Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2016 21:05:32 -0000 Correct me if I'm wrong, but amidst discussions of pNFS (among other things) I thought I should bring up something someone said to me: and that is (to quote him) "using NFS is too hard, I always fail." I can empathize (although I know better) with this statement. I've been using NFS since v2 was a "new thing." Rick Maclem was the sysadmin at my University. So here's the thing. SMB is easier to implement than NFSv4. NFSv3 is easier to implement than v4. In general, even though I know what is required, I implement SMB or v3 rather than v4... which means I'm better off than my friend: he just does without network filesystems. Back-in-the-day, (1995-ish) I worked for an outfit that released on some 30 odd platforms including VMS. We had /d// mounted on every machine. Besides the fact that power outages were a bit of a nightmare (many machines didn't recover well if their NFS imports were not yet ready), This worked well and you could access your home directory on any machine from any other machine. The company never really had the money to have a proper home directory server ... and generally that ended up being your own workstation... and we worked on satellite imagery ... so disks were always full... and the backbone was 10Base2... But just networking 2 FreeBSD boxes' filesystems seems harder than that lot back then. Add in a couple linux boxes and something from M$, and you're into the territory where you just scp files around. I get the fact that network authentication is hard. I get that this is the problem. I've made 3 or 4 serious runs at LDAP ... but I haven't gotten it working. Is it time we (FreeBSD) had a solution that at least worked? Something ever-so-close-to turnkey? I've we're looking at the other more complex adoptions (like pNFS and ZFS and whatnot) ... it would seem that we should ship something that has a chance of working. From owner-freebsd-hackers@freebsd.org Mon Jun 20 22:11:20 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 72AE5AC451C; Mon, 20 Jun 2016 22:11:20 +0000 (UTC) (envelope-from bsdunix44@gmail.com) Received: from mail-ob0-x235.google.com (mail-ob0-x235.google.com [IPv6:2607:f8b0:4003:c01::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 29314297F; Mon, 20 Jun 2016 22:11:20 +0000 (UTC) (envelope-from bsdunix44@gmail.com) Received: by mail-ob0-x235.google.com with SMTP id mu6so1173302obc.3; Mon, 20 Jun 2016 15:11:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:mime-version:in-reply-to:content-transfer-encoding :message-id:cc:from:subject:date:to; bh=pd4D1vJ1e3sfx0cwKLev4YCZDbMTLfP2qfUMdoUdGpo=; b=PiWdI4Br8XjsjNfBVPqpAxWS1M56zy/7Ph+YoPg6jAiQyF873FwlDIWM7m3A7tx2vs NHHs17QGTdJq6d8NUI/QNtvtOVF+QPEKeSGWQdt9AiRuLV5Notn7RqbZDh+rtFAe99Og RMeK6TR7qqdecm20U1o2OpZMbsBb4FfjGSTriH1VCRtXDRKiAQgljksfvCZX3FZEGKO7 mv7CBxV4Lz7xUp/HNnvTbOPdHPLOKL3PefSmucI9XkmJN8lFVTQtt6x+o4S5Q+HJdTQj R0qGdNZepMSMjkLbVzSx1ZQVPQR7ieFCe1vdGflvHxWZ/48FowKdMSw7l2AD7N2Jkebi ej1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:mime-version:in-reply-to :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=pd4D1vJ1e3sfx0cwKLev4YCZDbMTLfP2qfUMdoUdGpo=; b=Y7HziGyzL4L5iAt7sBBXDgd+88+wfz7Oc6/bROPF9Q75yDCs2EyOfqKx2hW2FxOiRM t5WYzD4RqvEJH/nSAj/ukPoxmVDV2BHQePS1uGFO1JuxzRBY0+ocNCuR2DQKD7p36jpX 8DGbGjaBzwWMhWiNR9yhHPi8jyzRgjT8JORqBaplX9NVNsEC6NmMRUMBcF2fXy6nETGc 4t/7zmNctksyhZVneBpEr3oUB6MxjZD034QHX81nKEV2xODgzrx4NIQt1aX5XCi2ycrB tr7BI7ahA03ti1ZZHvu5RfvFQnzFMfJULZ2WSfO9R3lmuZyTZwwolxrbpsRz+Ekeexj3 Wm4g== X-Gm-Message-State: ALyK8tK9k4a7AlrBFNqw0szqRWQABjoroVKYk+lWAAhCbq2Z2kX2ALhDWwuo8buMTDpglw== X-Received: by 10.157.38.185 with SMTP id l54mr12707874otb.112.1466460678994; Mon, 20 Jun 2016 15:11:18 -0700 (PDT) Received: from [192.168.0.10] (cpe-70-118-225-173.kc.res.rr.com. [70.118.225.173]) by smtp.gmail.com with ESMTPSA id e48sm4762426otc.23.2016.06.20.15.11.17 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 20 Jun 2016 15:11:18 -0700 (PDT) References: Mime-Version: 1.0 (1.0) In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: <9BB7E8B3-EC0E-457E-B2B2-FB80B1CF02B0@gmail.com> Cc: freebsd-fs , FreeBSD Hackers X-Mailer: iPhone Mail (13F69) From: Chris Watson Subject: Re: The small installations network filesystem and users. Date: Mon, 20 Jun 2016 17:11:16 -0500 To: Zaphod Beeblebrox X-Mailman-Approved-At: Mon, 20 Jun 2016 22:35:48 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2016 22:11:20 -0000 I'm glad you brought this up. I wanted to but I've heard it before on the li= sts and realize that there is this disconnect between the developers doing t= he actual work to implement these things and the end users.=20 I have always been very grateful to all the developers who over the years, a= nd I've been a FreeBSD consumer since the late 90s? And attended my first us= enix/freenix conf in Monterrey in 2001?, have done some really hard work on m= any many things in FreeBSD. For zero pay. But the thing that has always both= ered me about a lot of it is, it's just to complex to use for most end users= . Not all. But people want to get work done. Sifting through .conf files, go= ogling howtos, spending more time configuring it than installing it has alwa= ys been an issue. Developers in general do not think like an end user. And t= his leads to non developers just going "screw it I'll just get it running on= Linux with my GUI installer." Which is why FreeNas is so popular. It's take= n a lot, not all, but a lot of the pain and time consuming nature of learnin= g all the ins and outs of a NAS appliance from the equation.=20 It's wonderful to have flexibility and lord knows there are plenty of option= s and flags for most software. ZFS took a lot of pain out of file systems an= d volume management. I remember in 2001 staring at an HPUX box trying to fig= ure out Its volume manager and truth be told I never did and wanted to stick= my head in a meat grinder. It would have been less painful. I don't know if= the problem is simply writing things that are simple and optionally complex= is hard? Or if the people doing the work just want it to work for them and d= on't really want to take even more time to sit down and actually consider th= e software and its management from a users/consumers viewpoint.=20 There was a photo from bsdcan this year of a "sysadmin spotting" shirt. If y= ou read the text on it you actually begin to see how systemic and difficult a= ctually using and configuring most software is. It's probably a good reason m= ost developers use macs. In addition to better HW support. I'm not sure what= the solution to this is. I think it would be great if beta testers and the d= evelopers had a closer connection and issues were handles in a timely manner= . But in a volunteer project I get why that is unreasonable. But I mean go t= hrough the bug database and you can see PRs that are years old. I don't know= . I just know I'm getting to old to spend all day beating my head against so= ftware to get it working. Honestly if I have to spend over an hour reading c= rap docs all over the net because your manpage make no sense or is vague, tr= ying to configure the software, your software sucks and I'm rm'ing it. I rec= ently went through this with opensmtpd. I went right back to postfix. And al= l over something as simple or should be as simple as mail aliases!=20 Chris Sent from my iPhone 5 > On Jun 20, 2016, at 4:05 PM, Zaphod Beeblebrox wrote: >=20 > Correct me if I'm wrong, but amidst discussions of pNFS (among other > things) I thought I should bring up something someone said to me: and that= > is (to quote him) "using NFS is too hard, I always fail." >=20 > I can empathize (although I know better) with this statement. I've been > using NFS since v2 was a "new thing." Rick Maclem was the sysadmin at my > University. >=20 > So here's the thing. SMB is easier to implement than NFSv4. NFSv3 is > easier to implement than v4. In general, even though I know what is > required, I implement SMB or v3 rather than v4... which means I'm better > off than my friend: he just does without network filesystems. >=20 > Back-in-the-day, (1995-ish) I worked for an outfit that released on some 3= 0 > odd platforms including VMS. We had /d// mounted on every > machine. Besides the fact that power outages were a bit of a nightmare > (many machines didn't recover well if their NFS imports were not yet > ready), This worked well and you could access your home directory on any > machine from any other machine. The company never really had the money to= > have a proper home directory server ... and generally that ended up being > your own workstation... and we worked on satellite imagery ... so disks > were always full... and the backbone was 10Base2... >=20 > But just networking 2 FreeBSD boxes' filesystems seems harder than that lo= t > back then. Add in a couple linux boxes and something from M$, and you're > into the territory where you just scp files around. >=20 > I get the fact that network authentication is hard. I get that this is th= e > problem. I've made 3 or 4 serious runs at LDAP ... but I haven't gotten i= t > working. Is it time we (FreeBSD) had a solution that at least worked? > Something ever-so-close-to turnkey? >=20 > I've we're looking at the other more complex adoptions (like pNFS and ZFS > and whatnot) ... it would seem that we should ship something that has a > chance of working. > _______________________________________________ > freebsd-fs@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" From owner-freebsd-hackers@freebsd.org Tue Jun 21 00:06:39 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BF296AC49F0 for ; Tue, 21 Jun 2016 00:06:39 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: from mail-qk0-x232.google.com (mail-qk0-x232.google.com [IPv6:2607:f8b0:400d:c09::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 81F422B58 for ; Tue, 21 Jun 2016 00:06:39 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: by mail-qk0-x232.google.com with SMTP id a186so460072qkf.0 for ; Mon, 20 Jun 2016 17:06:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=yQVzk2+4SBJqxNiYq6hpp98vl6/qiW7HBAod0OcyPn4=; b=gDpB0qagYy5cvIQbY3extb7OfCIVjpeXQoqK/XCAtz8xX3hiC7JjOLLs68A/1tTZ50 dOlW2TaFEn4Ra/aMgpw/d/FWya65j+/qIm4Mri/3XE5HwjMQYOyeYRCChR0I+gvAJlqq E1lhvizq2VGUXvwUrBYiNl/ZbIXK2RgLTuWGk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=yQVzk2+4SBJqxNiYq6hpp98vl6/qiW7HBAod0OcyPn4=; b=kS7yNhIX5HYtXr8rmxMMR6cHpreryYC0X7Bx8BETP9eN9YY676eR3epNJ7XcOHYPWS H+FjsXcb2KXwJOeleL0VzcKJS/or6FMjW3p3PnsB+IAcYcx8KQ4N++GEJTcyc3UNGFTp Dh7VUkvipQiaS1u3Li900QZXeVQ5c1ADO90xHTgRFfnPSvR11sBCeDQ6mPbSUZyQWdHZ afRWaiRMkLE8+B6M0dFC2M4hzRbByfBGDZtNqMdzDiv0fRTqgh7Y/k3X+byAKM09bGrV jhzB022gNjXj4y17pg3bSKnUIgu8o+L5v/Qt4sG1aR6QQVji1zKBOl+2H0JW8UGCKshB l6gw== X-Gm-Message-State: ALyK8tK4v2gvVmUcXi+VFwhI2si4JQQ5Vp2lWtqJheTahYb5lbff73I8h66IP/yaiVUkwg== X-Received: by 10.55.203.202 with SMTP id u71mr24913601qkl.12.1466467598271; Mon, 20 Jun 2016 17:06:38 -0700 (PDT) Received: from [192.168.0.18] ([187.60.94.34]) by smtp.googlemail.com with ESMTPSA id a198sm21990458qkc.24.2016.06.20.17.06.36 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 20 Jun 2016 17:06:37 -0700 (PDT) Subject: Re: (beagleboneblack/urtwn) Kernel page fault with the following non-sleepable locks held To: "freebsd-arm@freebsd.org" , freebsd-hackers@freebsd.org References: <5e322d5a-8c42-8e69-f3c4-e607d40e8724@bsd.com.br> From: =?UTF-8?B?T3RhY8OtbGlv?= Message-ID: <1a55f000-eff9-31db-f420-e00278c4c054@bsd.com.br> Date: Mon, 20 Jun 2016 21:06:15 -0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <5e322d5a-8c42-8e69-f3c4-e607d40e8724@bsd.com.br> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jun 2016 00:06:39 -0000 Em 19/06/2016 18:47, Otacílio escreveu: > Em 19/06/2016 18:40, Otacílio escreveu: >> I was installing netperf on a fresh FreeBSD-ALPHA3 >> >> FreeBSD beaglebone 11.0-ALPHA3 FreeBSD 11.0-ALPHA3 #0 r301846: Mon >> Jun 13 19:54:27 BRT 2016 >> ota@nostromo:/root/crochet/work/obj/arm.armv6/usr/src/sys/BEAGLEBONE-DEBUG >> arm >> >> on BeagleboneBlack using wrtwn when I got this kernel panic: >> >> root@beaglebone:/usr/home/ota # pkg install netperf >> Updating FreeBSD repository catalogue... >> Fetching meta.txz: 100% 944 B 0.9kB/s 00:01 >> Fetching packagesite.txz: 100% 4 MiB 46.0kB/s 01:42 >> Processing entries: 6%lock order reversal: >> 1st 0xc30b35d4 syncer (syncer) @ /usr/src/sys/kern/vfs_subr.c:2048 >> 2nd 0xc319d6f4 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2498 >> stack backtrace: >> Processing entries: 58%Kernel page fault with the following >> non-sleepable locks held: >> exclusive sleep mutex tcp_sc_head (tcp_sc_head) r = 0 (0xc2f9d520) >> locked @ /usr/src/sys/netinet/tcp_syncache.c:494 >> shared rw tcp (tcp) r = 0 (0xc08ef348) locked @ >> /usr/src/sys/netinet/tcp_input.c:1034 >> exclusive rw tcpinp (tcpinp) r = 0 (0xc31ab494) locked @ >> /usr/src/sys/netinet/in_pcb.c:1964 >> stack backtrace: >> Fatal kernel mode data abort: 'Alignment Fault' on read >> trapframe: 0xdcfe58a8 >> FSR=00000001, FAR=c2e7187a, spsr=60000013 >> r0 =c08e7988, r1 =00000004, r2 =c06fa3ad, r3 =000007b6 >> r4 =dcfe5a10, r5 =dcfe5b28, r6 =c2e71876, r7 =c2f9d520 >> r8 =c2f9d520, r9 =c2e71876, r10=dcfe5b28, r11=dcfe5970 >> r12=00000000, ssp=dcfe5938, slr=c2d34370, pc =c053d8e8 >> >> [ thread pid 13 tid 100036 ] >> Stopped at syncookie_lookup+0x38: ldmib r6, {r1-r2} >> db> >> >> >> []'s >> >> -Otacílio >> > The kernel panic is totally reproducible. I need only do a ssh in the > beaglebone using ptty on windows or ssh on freebsd and the kernel > panic is raised. > > FreeBSD/arm (beaglebone) (ttyu0) > > login: Kernel page fault with the following non-sleepable locks held: > exclusive sleep mutex tcp_sc_head (tcp_sc_head) r = 0 (0xc2f95480) > locked @ /usr/src/sys/netinet/tcp_syncache.c:494 > shared rw tcp (tcp) r = 0 (0xc08ef348) locked @ > /usr/src/sys/netinet/tcp_input.c:1034 > exclusive rw tcpinp (tcpinp) r = 0 (0xc341e494) locked @ > /usr/src/sys/netinet/in_pcb.c:1964 > stack backtrace: > Fatal kernel mode data abort: 'Alignment Fault' on read > trapframe: 0xdcfe58a8 > FSR=00000001, FAR=c2e7807a, spsr=60000013 > r0 =c08e7988, r1 =00000004, r2 =c06fa3ad, r3 =000007b6 > r4 =dcfe5a10, r5 =dcfe5b28, r6 =c2e78076, r7 =c2f95480 > r8 =c2f95480, r9 =c2e78076, r10=dcfe5b28, r11=dcfe5970 > r12=00000000, ssp=dcfe5938, slr=c2d34370, pc =c053d8e8 > > [ thread pid 13 tid 100036 ] > Stopped at syncookie_lookup+0x38: ldmib r6, {r1-r2} > db> > FreeBSD11-ALPHA4 shows the same behavior. The only thing that I need to raise the fault is ssh in the beaglebone. root@beaglebone:~ # uname -a FreeBSD beaglebone 11.0-ALPHA4 FreeBSD 11.0-ALPHA4 #0 r301975: Fri Jun 17 13:32:55 UTC 2016 root@releng2.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/BEAGLEBONE arm root@beaglebone:~ # Kernel page fault with the following non-sleepable locks held: exclusive sleep mutex tcp_sc_head (tcp_sc_head) r = 0 (0xc2f98740) locked @ /usr/src/sys/netinet/tcp_syncache.c:494 shared rw tcp (tcp) r = 0 (0xc08ef348) locked @ /usr/src/sys/netinet/tcp_input.c:1034 exclusive rw tcpinp (tcpinp) r = 0 (0xc33e4494) locked @ /usr/src/sys/netinet/in_pcb.c:1964 stack backtrace: Fatal kernel mode data abort: 'Alignment Fault' on read trapframe: 0xdcfe58c0 FSR=00000001, FAR=c2e7a07a, spsr=60000013 r0 =c08e7988, r1 =00000004, r2 =c06fabe6, r3 =000007b6 r4 =dcfe5a28, r5 =dcfe5b40, r6 =c2e7a076, r7 =c2f98740 r8 =c2f98740, r9 =c2e7a076, r10=dcfe5b40, r11=dcfe5988 r12=00000000, ssp=dcfe5950, slr=c2d33370, pc =c053df7c [ thread pid 13 tid 100036 ] Stopped at syncookie_lookup+0x38: ldmib r6, {r1-r2} db> From owner-freebsd-hackers@freebsd.org Tue Jun 21 00:58:19 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AD441A7AA39; Tue, 21 Jun 2016 00:58:19 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from mail-yw0-x230.google.com (mail-yw0-x230.google.com [IPv6:2607:f8b0:4002:c05::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6D91713D9; Tue, 21 Jun 2016 00:58:19 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: by mail-yw0-x230.google.com with SMTP id i12so1035353ywa.1; Mon, 20 Jun 2016 17:58:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=BlkcvIv/mNI6Yc7HidWq/8qV8OyrMptLR56uH23xosI=; b=D/UipZ2CdGHVURfkoIMxt8xOqKi3x8c+YHw2jmJwfvk0t4GLxl7jJ/95Z3MIqRzFWJ UVDRGEgITHVZILUqPqGrecjmo+whIJmSFVCACaAI6JuB4ElJ+HHS4TwU0LvLE0PuFbtJ EswAyPDF3vrvC3E6VoUQvpM/u/FXpWT5wtlR/kO/6Ic/kfyN0AG/IH4eazF1/bkaopRT +RuqfFVk9hHJeBFVm6wnf86UXGnvLr2KFw83dr65rCFnRIHZn0Stjzz2nU/QPaOjrY6W LlOrTnEaqKiQ5QdAUXwnTzEaCKI9UbZjoRbiFhw5FJhRu/ARlTMzwPFsJmzXoS18EtUn kp2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=BlkcvIv/mNI6Yc7HidWq/8qV8OyrMptLR56uH23xosI=; b=CNwfCFuE60GSZzVWtBSkNCzPAKELTs7DXzIazV+gr8aZ6/PnooC8YO/AO4yn5gtiTX 9IodCmvyRNEsUe3afw4EOnjsap+L7flQ2eQZG8vBvwH8a6SdAZrtOJCDNZJDcxz9/qmc srbho8kx8/zXTIgiUDRnPfYnpabKY0XZuaYq8hcSb3mbwezFiPATUqxPb0UDg/qkctlU YrdmeBspL2+wgkvERmX4MvPlFPFhG1bAzJrkd3zs46FiLJzEpCzMSuWFfA1K8opaQW8P LioggofBK56j69axvqVHzCpkD6G4O+dVDHNkhV0TCOB9//l0O1QmB+c/gBcUnM8s4Td0 AXIg== X-Gm-Message-State: ALyK8tK/lTVXHjkwR69YeDdzS0ZLMCDEqgRB0gFccEwmIv24gGmqjmhK2bmxL2GpIhLh+6kT+nEUjKNwL7jkZw== X-Received: by 10.129.145.136 with SMTP id i130mr5702225ywg.1.1466470698674; Mon, 20 Jun 2016 17:58:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.27.130 with HTTP; Mon, 20 Jun 2016 17:58:18 -0700 (PDT) In-Reply-To: <9BB7E8B3-EC0E-457E-B2B2-FB80B1CF02B0@gmail.com> References: <9BB7E8B3-EC0E-457E-B2B2-FB80B1CF02B0@gmail.com> From: Zaphod Beeblebrox Date: Mon, 20 Jun 2016 20:58:18 -0400 Message-ID: Subject: Re: The small installations network filesystem and users. To: Chris Watson Cc: freebsd-fs , FreeBSD Hackers Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jun 2016 00:58:19 -0000 On Mon, Jun 20, 2016 at 6:11 PM, Chris Watson wrote: > I'm glad you brought this up. I wanted to but I've heard it before on the > lists and realize that there is this disconnect between the developers > doing the actual work to implement these things and the end users. > > [...] > > There was a photo from bsdcan this year of a "sysadmin spotting" shirt. If > you read the text on it you actually begin to see how systemic and > difficult actually using and configuring most software is. It's probably a > good reason most developers use macs. In addition to better HW support. I'm > not sure what the solution to this is. I think it would be great if beta > testers and the developers had a closer connection and issues were handles > in a timely manner. But in a volunteer project I get why that is > unreasonable. But I mean go through the bug database and you can see PRs > that are years old. I don't know. I just know I'm getting to old to spend > all day beating my head against software to get it working. Honestly if I > have to spend over an hour reading crap docs all over the net because your > manpage make no sense or is vague, trying to configure the software, your > software sucks and I'm rm'ing it. I recently went through this with > opensmtpd. I went right back to postfix. And all over something as simple > or should be as simple as mail aliases! > > Not exactly where I expected this post to go, but for the record, I was at BSDCan this year. When I can get my head around something, I have submitted patches (ethernet drivers, netgraph, softupdate bugs (back-in-the-day), many ports and a few userland utilities). I'm not exactly a user who chucks things and installs linux. I even run a full on ADSL-providing ISP on FreeBSD without help from any non-FreeBSD product other than my core switch. That-all-said, authentication is a possible huge win. I was recently involved in a deployment of ubuntu that included LDAP and even though it was a mess, it eventually was hammered into working. Ubuntu and the implementation were not my choice, but you do-what-you're-told when someone else is paying the bill. Honestly, I don't know how I would have pitched FreeBSD there. Not even ubuntu itself had LDAP right. It was a combination of third parties. Even with that gigantic head start, LDAP was a bear --- but AFAICT, LDAP is _required_ for NFSv4 deployments. Now, LDAP without Winblows is slightly less of a bear, _but_ Maybe this dovetails with a subtext at BSDCan's keysigning BOF: that many projects risk irrelevance with their complexity. It's not that I believe complex setups are bad. But simple things need be simple. I have 3 machines at home (for instance) and a cluster of 8 machines in colo (run the ISP). On my 3 machines at home, I run NFSv3 because it works and I can get it setup. I'd like to run NFSv4 because then my windows machines would look at it, but I run SMB instead (v3, no less) because it roughly works. So at home... I have three machines and a fairly liberal hacking time budget. I have failed at LDAP several times. I'm back to copying the master.password file around because that works. I don't like it, but it works. It seems like the breakeven for LDAP effort vs. scp master.password is somewhere around 50 machines. -ish. I realize the real problem is that authentication has become more complex in the world since networks can't be trusted. I have to wonder if we're getting back closer to that now with all the tunneling on wifi and campus networks. Sigh. I'm starting to feel like this whole post has no purpose. From owner-freebsd-hackers@freebsd.org Tue Jun 21 02:11:17 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7C4E0A7AAB6; Tue, 21 Jun 2016 02:11:17 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.netplex.net", Issuer "RapidSSL SHA256 CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 33CD319F5; Tue, 21 Jun 2016 02:11:17 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.15.1/8.15.1/NETPLEX) with ESMTP id u5L20VdP025342; Mon, 20 Jun 2016 22:00:31 -0400 X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.4.3 (mail.netplex.net [204.213.176.9]); Mon, 20 Jun 2016 22:00:31 -0400 (EDT) Date: Mon, 20 Jun 2016 22:00:31 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net Reply-To: Daniel Eischen To: Zaphod Beeblebrox cc: Chris Watson , freebsd-fs , FreeBSD Hackers Subject: Re: The small installations network filesystem and users. In-Reply-To: Message-ID: References: <9BB7E8B3-EC0E-457E-B2B2-FB80B1CF02B0@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jun 2016 02:11:17 -0000 On Mon, 20 Jun 2016, Zaphod Beeblebrox wrote: > > That-all-said, authentication is a possible huge win. I was recently > involved in a deployment of ubuntu that included LDAP and even though it > was a mess, it eventually was hammered into working. Ubuntu and the > implementation were not my choice, but you do-what-you're-told when someone > else is paying the bill. Honestly, I don't know how I would have pitched > FreeBSD there. Not even ubuntu itself had LDAP right. It was a > combination of third parties. Even with that gigantic head start, LDAP was > a bear --- but AFAICT, LDAP is _required_ for NFSv4 deployments. Now, LDAP > without Winblows is slightly less of a bear, _but_ > > Maybe this dovetails with a subtext at BSDCan's keysigning BOF: that many > projects risk irrelevance with their complexity. It's not that I believe > complex setups are bad. But simple things need be simple. I have 3 > machines at home (for instance) and a cluster of 8 machines in colo (run > the ISP). On my 3 machines at home, I run NFSv3 because it works and I can > get it setup. I'd like to run NFSv4 because then my windows machines would > look at it, but I run SMB instead (v3, no less) because it roughly works. > So at home... I have three machines and a fairly liberal hacking time > budget. I have failed at LDAP several times. I'm back to copying the > master.password file around because that works. I don't like it, but it > works. It seems like the breakeven for LDAP effort vs. scp master.password > is somewhere around 50 machines. -ish. > > I realize the real problem is that authentication has become more complex > in the world since networks can't be trusted. I have to wonder if we're > getting back closer to that now with all the tunneling on wifi and campus > networks. Sigh. I'm starting to feel like this whole post has no purpose. We should support LDAP client out of the box, in base. What sucks now is that we need 3 packages (plus their dependencies) and multiple config files for ldap: pam_ldap nss_ldap openldap-client And modify/tailor 3 config files in ${LOCALBASE}, all similarly: ldap.conf nss_ldap.conf openldap/ldap.conf Then the secret files also in ${LOCALBASE}, again with the same info: etc/ldap.secret etc/nss_ldap.secret Then you have to deal with the certificates, and more than one is a pain. Then in ${BASE} you have to add an ldap file in /etc/pam.d/. And modify /etc/nsswitch.conf. It seems easier, with less config duplication, in Solaris (11): # Initialize the NSS database. $ certutil -N -d /var/ldap $ chmod 444 /var/ldap/*.db # Add your certificate(s). $ certutil -A -n -i /tmp/certfile.pem -t CT -d /var/ldap # Setup the system as an LDAP client. $ ldapclient init Modifying /etc/nsswitch.conf on FreeBSD is easier than Solaris, still haven't gotten use to the many keystrokes needed for svc mods: $ svccfg svc:/system/name-service/switch> setprop config/host = astring: "files dns" svc:/system/name-service/switch> setprop config/password = astring: "files [NOTFOUND=continue] ldap" svc:/system/name-service/switch> setprop config/group = astring: "files [NOTFOUND=continue] ldap" svc:/system/name-service/switch> select system/name-service/switch:default svc:/system/name-service/switch:default> refresh svc:/system/name-service/switch:default> validate svc:/system/name-service/switch:default> quit $ svcadm refresh name-service/switch -- DE From owner-freebsd-hackers@freebsd.org Tue Jun 21 04:03:02 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 68598A7A226; Tue, 21 Jun 2016 04:03:02 +0000 (UTC) (envelope-from kaduk@mit.edu) Received: from dmz-mailsec-scanner-2.mit.edu (dmz-mailsec-scanner-2.mit.edu [18.9.25.13]) (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 04E5F1693; Tue, 21 Jun 2016 04:03:01 +0000 (UTC) (envelope-from kaduk@mit.edu) X-AuditID: 1209190d-993ff70000005c19-32-5768bc7287d2 Received: from mailhub-auth-2.mit.edu ( [18.7.62.36]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id EC.10.23577.27CB8675; Tue, 21 Jun 2016 00:02:59 -0400 (EDT) Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id u5L42wJ0002724; Tue, 21 Jun 2016 00:02:58 -0400 Received: from multics.mit.edu (system-low-sipb.mit.edu [18.187.2.37]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id u5L42tZc004807 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 21 Jun 2016 00:02:57 -0400 Received: (from kaduk@localhost) by multics.mit.edu (8.12.9.20060308) id u5L42s6A013482; Tue, 21 Jun 2016 00:02:54 -0400 (EDT) Date: Tue, 21 Jun 2016 00:02:54 -0400 (EDT) From: Benjamin Kaduk X-X-Sender: kaduk@multics.mit.edu To: freebsd-hackers@FreeBSD.org cc: freebsd-current@FreeBSD.org Subject: Call for 2016Q2 quarterly status reports Message-ID: User-Agent: Alpine 1.10 (GSO 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrIIsWRmVeSWpSXmKPExsUixG6nolu8JyPc4NAlBYs5bz4wWWzf/I/R gcljxqf5LAGMUVw2Kak5mWWpRfp2CVwZnz4vYSs4zlWxs+UTUwPjI44uRk4OCQETiXMnHzN2 MXJxCAm0MUlc2HuUFcLZyCgxZe0RKOcQk8T9g5vYIZwGRol9J+azgfSzCGhLLDy8hgXEZhNQ k1i/4hozxFxFic2nJoHZIgLyEvua3rOD2MxA9pbVk8F6hQUMJXZfvcUIYvMKOEosOdPPBGKL CuhIrN4/hQUiLihxcuYTFoheLYnl07exTGDkn4UkNQtJagEj0ypG2ZTcKt3cxMyc4tRk3eLk xLy81CJdI73czBK91JTSTYygkOOU5N3B+O+u1yFGAQ5GJR7eCsOMcCHWxLLiytxDjJIcTEqi vMzKQCG+pPyUyozE4oz4otKc1OJDjBIczEoivB7bgXK8KYmVValF+TApaQ4WJXHemJtHw4QE 0hNLUrNTUwtSi2CyMhwcShK8cbuBGgWLUtNTK9Iyc0oQ0kwcnCDDeYCGbwKp4S0uSMwtzkyH yJ9iVJQS510KkhAASWSU5sH1glPCbibVV4ziQK8I86qDVPEA0wlc9yugwUxAg5f1p4MMLklE SEk1MN5bsqb61kFrq64VmrsjBKuPMdi1RidemG0672o1Q8jcZxfUhcKrjJbn1H29IVv9gmVH 5vztR8+v+lth7NL379yE0t3fz99W0k4r0NrD1D1rXXHl5Ig5jxbXtQpJLD0hva7WR8/1jvRG 7Z51PLmmP3eXJ4TvMGGSWKQbIfKJse7apj7l1I610UosxRmJhlrMRcWJADNJCrrkAgAA X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jun 2016 04:03:02 -0000 Dear FreeBSD Community, The deadline for the next FreeBSD Quarterly Status update is July 7, 2016, for work done in April through June. Status report submissions do not have to be very long. They may be about anything happening in the FreeBSD project and community, and provide a great way to inform FreeBSD users and developers about what you're working on. Submission of reports is not restricted to committers. Anyone doing anything interesting and FreeBSD-related can -- and should -- write one! The preferred and easiest submission method is to use the XML generator [1] with the results emailed to the status report team at monthly at FreeBSD.org . There is also an XML template [2] which can be filled out manually and attached if preferred. For the expected content and style, please study our guidelines on how to write a good status report [3]. You can also review previous issues [4][5] for ideas on the style and format. We are looking forward to all of your 2016Q2 reports! Thanks, Ben (on behalf of monthly@) [1] http://www.freebsd.org/cgi/monthly.cgi [2] http://www.freebsd.org/news/status/report-sample.xml [3] http://www.freebsd.org/news/status/howto.html [4] http://www.freebsd.org/news/status/report-2015-10-2015-12.html [4] http://www.freebsd.org/news/status/report-2016-01-2016-03.html From owner-freebsd-hackers@freebsd.org Tue Jun 21 06:05:28 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF744A7B135; Tue, 21 Jun 2016 06:05:28 +0000 (UTC) (envelope-from gerrit.kuehn@aei.mpg.de) Received: from umail.aei.mpg.de (umail.aei.mpg.de [194.94.224.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 85E29174A; Tue, 21 Jun 2016 06:05:28 +0000 (UTC) (envelope-from gerrit.kuehn@aei.mpg.de) Received: from mailgate.aei.mpg.de (mailgate.aei.mpg.de [194.94.224.5]) by umail.aei.mpg.de (Postfix) with ESMTP id 583AF20015F; Tue, 21 Jun 2016 07:56:32 +0200 (CEST) Received: from mailgate.aei.mpg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 4A1B5406ADE; Tue, 21 Jun 2016 07:56:32 +0200 (CEST) Received: from intranet.aei.uni-hannover.de (ahin1.aei.uni-hannover.de [130.75.117.40]) by mailgate.aei.mpg.de (Postfix) with ESMTP id 2AF47406ADB; Tue, 21 Jun 2016 07:56:32 +0200 (CEST) Received: from arc.aei.uni-hannover.de ([130.75.117.1]) by intranet.aei.uni-hannover.de (IBM Domino Release 9.0.1FP5) with ESMTP id 2016062107563122-16958 ; Tue, 21 Jun 2016 07:56:31 +0200 Date: Tue, 21 Jun 2016 07:56:31 +0200 From: Gerrit =?ISO-8859-1?Q?K=FChn?= To: Daniel Eischen Cc: Zaphod Beeblebrox , freebsd-fs , FreeBSD Hackers Subject: Re: The small installations network filesystem and users. Message-Id: <20160621075631.38c2eeaa7c224aa22ea9be4d@aei.mpg.de> In-Reply-To: References: <9BB7E8B3-EC0E-457E-B2B2-FB80B1CF02B0@gmail.com> Organization: Max Planck Gesellschaft X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) Mime-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on intranet/aei-hannover(Release 9.0.1FP5|November 22, 2015) at 21/06/2016 07:56:31, Serialize by Router on intranet/aei-hannover(Release 9.0.1FP5|November 22, 2015) at 21/06/2016 07:56:31, Serialize complete at 21/06/2016 07:56:31 X-TNEFEvaluated: 1 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-PMX-Version: 6.0.2.2308539, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2016.6.21.54517 X-PerlMx-Spam: Gauge=IIIIIIIII, Probability=9%, Report=' MULTIPLE_RCPTS 0.1, HTML_00_01 0.05, HTML_00_10 0.05, MIME_LOWER_CASE 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1000_LESS 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, BODY_SIZE_800_899 0, IN_REP_TO 0, LEGITIMATE_NEGATE 0, MSG_THREAD 0, MULTIPLE_RCPTS_RND 0, NO_URI_HTTPS 0, REFERENCES 0, __ANY_URI 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_CC_HDR 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __IN_REP_TO 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __MULTIPLE_RCPTS_CC_X2 0, __REFERENCES 0, __SANE_MSGID 0, __SUBJ_ALPHA_NEGATE 0, __TO_MALFORMED_2 0, __URI_NO_WWW 0, __URI_NS ' X-Mailman-Approved-At: Tue, 21 Jun 2016 11:03:58 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jun 2016 06:05:28 -0000 On Mon, 20 Jun 2016 22:00:31 -0400 (EDT) Daniel Eischen wrote about Re: The small installations network filesystem and users.: DE> We should support LDAP client out of the box, in base. What DE> sucks now is that we need 3 packages (plus their dependencies) DE> and multiple config files for ldap: DE> DE> pam_ldap DE> nss_ldap DE> openldap-client I only have to install/config ldap-clients every now and then, but I would also strongly favour a more "integrated" setup (if that requires having it in base is a different question, though). A few weeks ago I used nss-pam-ldapd instead of pam_ldap and nss_ldap for the first time, and it appeared to work with a bit less of a hassle for me (otoh, I don't do any funky things here, I just need a replacement for what we did with NIS something like 20 years ago). cu Gerrit From owner-freebsd-hackers@freebsd.org Tue Jun 21 19:40:22 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 961F0AC510A; Tue, 21 Jun 2016 19:40:22 +0000 (UTC) (envelope-from s3erios@gmail.com) Received: from mail-lf0-x244.google.com (mail-lf0-x244.google.com [IPv6:2a00:1450:4010:c07::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 257701B0F; Tue, 21 Jun 2016 19:40:22 +0000 (UTC) (envelope-from s3erios@gmail.com) Received: by mail-lf0-x244.google.com with SMTP id l188so6393624lfe.0; Tue, 21 Jun 2016 12:40:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:subject:references:date:cc:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=cVULiHQELlYe2FDJgKE9j4/FK8sugD/AgNvOwh3Ktm0=; b=KKXxSBee2nMCiSiF5TLWvW9bv+vzNzO9m9zRFiHvXHqZn9pD72LdHqlL1x0ktyVn4V y8xrY/mJJ4pb5tXYEckBoK79HthhYt3CeY+aQ1b3SPuWIQU0tUE2F5rxJISSjq7Js0Q2 +tejR1/XVgP9Dvh3NX/WTt7pbZ40wqlxRy3E624BPzNwytG495xUSOp50eOzMUntTwXJ hBB0yddYF6DD4j8DwjRziDYamcbAmbqDU9fhkkQOclOz16f3kTZeudadKD7I6eTPxyCW VGF2HKEAaTE/gd+dV8RbN8vaUrweM6Riigo0DHrQ3qH4/LM3FGB6j2iwCEBvYEb/aC7a h4BQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:subject:references:date:cc:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=cVULiHQELlYe2FDJgKE9j4/FK8sugD/AgNvOwh3Ktm0=; b=XWdHR2h+PHSRF6can+S3hbTS9ItReNmv/rK45xdMMRGkaGEH9loe2NORKwgjOkZ+9q X49tps+JU+FtCS/cH49CgMB22U4BSJOpCL6QJ7PSgGERYqvKp2ujluavraLCxozDAm0z qHLZkswa8xK25i402TeLYZN4npnQ6ItL9v/LknWHJPf8+ePwflkFk9I7tAuuk3szOQD9 Bbe9cExNzs0JogZT6jm01P7YVmr9OgiIaegIjLo3g/l8fumfNWo89Cg1cAQ5jTKnNpSu cT9Yp/0jroC6Ee/+bIySkykwci5/7/CnEnVP0cbF7L8LHYOeQkcJSlpf4GJed37JM10V DSFQ== X-Gm-Message-State: ALyK8tL32jqK9wlcwvsPE4uun/Pbcw8bCgjlK/uf6KLnXGmmPGlA5SB3faMA+UPpo0uuug== X-Received: by 10.25.149.13 with SMTP id x13mr7639126lfd.199.1466538020238; Tue, 21 Jun 2016 12:40:20 -0700 (PDT) Received: from localhost (host-176-37-109-22.la.net.ua. [176.37.109.22]) by smtp.gmail.com with ESMTPSA id 42sm2997952lfw.42.2016.06.21.12.40.18 (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 21 Jun 2016 12:40:19 -0700 (PDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: =?utf-8?Q?Otac=C3=ADlio?= Subject: Re: (beagleboneblack/urtwn) Kernel page fault with the following non-sleepable locks held References: <5e322d5a-8c42-8e69-f3c4-e607d40e8724@bsd.com.br> <1a55f000-eff9-31db-f420-e00278c4c054@bsd.com.br> Date: Tue, 21 Jun 2016 22:40:16 +0300 Cc: "freebsd-arm@freebsd.org" , freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable From: "Andriy Voskoboinyk" Message-ID: In-Reply-To: <1a55f000-eff9-31db-f420-e00278c4c054@bsd.com.br> User-Agent: Opera Mail/12.16 (FreeBSD) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jun 2016 19:40:22 -0000 Tue, 21 Jun 2016 03:06:15 +0300 =D0=B1=D1=83=D0=BB=D0=BE =D0=BD=D0=B0=D0= =BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE Otac=C3=ADlio = : Should be fixed in r302064. > Em 19/06/2016 18:47, Otac=C3=ADlio escreveu: >> Em 19/06/2016 18:40, Otac=C3=ADlio escreveu: >>> I was installing netperf on a fresh FreeBSD-ALPHA3 >>> >>> FreeBSD beaglebone 11.0-ALPHA3 FreeBSD 11.0-ALPHA3 #0 r301846: Mon J= un = >>> 13 19:54:27 BRT 2016 = >>> ota@nostromo:/root/crochet/work/obj/arm.armv6/usr/src/sys/BEAGLEBONE= -DEBUG = >>> arm >>> >>> on BeagleboneBlack using wrtwn when I got this kernel panic: >>> >>> root@beaglebone:/usr/home/ota # pkg install netperf >>> Updating FreeBSD repository catalogue... >>> Fetching meta.txz: 100% 944 B 0.9kB/s 00:01 >>> Fetching packagesite.txz: 100% 4 MiB 46.0kB/s 01:42 >>> Processing entries: 6%lock order reversal: >>> 1st 0xc30b35d4 syncer (syncer) @ /usr/src/sys/kern/vfs_subr.c:2048 >>> 2nd 0xc319d6f4 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2498 >>> stack backtrace: >>> Processing entries: 58%Kernel page fault with the following = >>> non-sleepable locks held: >>> exclusive sleep mutex tcp_sc_head (tcp_sc_head) r =3D 0 (0xc2f9d520)= = >>> locked @ /usr/src/sys/netinet/tcp_syncache.c:494 >>> shared rw tcp (tcp) r =3D 0 (0xc08ef348) locked @ = >>> /usr/src/sys/netinet/tcp_input.c:1034 >>> exclusive rw tcpinp (tcpinp) r =3D 0 (0xc31ab494) locked @ = >>> /usr/src/sys/netinet/in_pcb.c:1964 >>> stack backtrace: >>> Fatal kernel mode data abort: 'Alignment Fault' on read >>> trapframe: 0xdcfe58a8 >>> FSR=3D00000001, FAR=3Dc2e7187a, spsr=3D60000013 >>> r0 =3Dc08e7988, r1 =3D00000004, r2 =3Dc06fa3ad, r3 =3D000007b6 >>> r4 =3Ddcfe5a10, r5 =3Ddcfe5b28, r6 =3Dc2e71876, r7 =3Dc2f9d520 >>> r8 =3Dc2f9d520, r9 =3Dc2e71876, r10=3Ddcfe5b28, r11=3Ddcfe5970 >>> r12=3D00000000, ssp=3Ddcfe5938, slr=3Dc2d34370, pc =3Dc053d8e8 >>> >>> [ thread pid 13 tid 100036 ] >>> Stopped at syncookie_lookup+0x38: ldmib r6, {r1-r2} >>> db> >>> >>> >>> []'s >>> >>> -Otac=C3=ADlio >>> >> The kernel panic is totally reproducible. I need only do a ssh in the= = >> beaglebone using ptty on windows or ssh on freebsd and the kernel pan= ic = >> is raised. >> >> FreeBSD/arm (beaglebone) (ttyu0) >> >> login: Kernel page fault with the following non-sleepable locks held:= >> exclusive sleep mutex tcp_sc_head (tcp_sc_head) r =3D 0 (0xc2f95480) = = >> locked @ /usr/src/sys/netinet/tcp_syncache.c:494 >> shared rw tcp (tcp) r =3D 0 (0xc08ef348) locked @ = >> /usr/src/sys/netinet/tcp_input.c:1034 >> exclusive rw tcpinp (tcpinp) r =3D 0 (0xc341e494) locked @ = >> /usr/src/sys/netinet/in_pcb.c:1964 >> stack backtrace: >> Fatal kernel mode data abort: 'Alignment Fault' on read >> trapframe: 0xdcfe58a8 >> FSR=3D00000001, FAR=3Dc2e7807a, spsr=3D60000013 >> r0 =3Dc08e7988, r1 =3D00000004, r2 =3Dc06fa3ad, r3 =3D000007b6 >> r4 =3Ddcfe5a10, r5 =3Ddcfe5b28, r6 =3Dc2e78076, r7 =3Dc2f95480 >> r8 =3Dc2f95480, r9 =3Dc2e78076, r10=3Ddcfe5b28, r11=3Ddcfe5970 >> r12=3D00000000, ssp=3Ddcfe5938, slr=3Dc2d34370, pc =3Dc053d8e8 >> >> [ thread pid 13 tid 100036 ] >> Stopped at syncookie_lookup+0x38: ldmib r6, {r1-r2} >> db> >> > FreeBSD11-ALPHA4 shows the same behavior. The only thing that I need t= o = > raise the fault is ssh in the beaglebone. > > > root@beaglebone:~ # uname -a > FreeBSD beaglebone 11.0-ALPHA4 FreeBSD 11.0-ALPHA4 #0 r301975: Fri Jun= = > 17 13:32:55 UTC 2016 = > root@releng2.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/BEAGLEBONE= = > arm > root@beaglebone:~ # Kernel page fault with the following non-sleepable= = > locks held: > exclusive sleep mutex tcp_sc_head (tcp_sc_head) r =3D 0 (0xc2f98740) = > locked @ /usr/src/sys/netinet/tcp_syncache.c:494 > shared rw tcp (tcp) r =3D 0 (0xc08ef348) locked @ = > /usr/src/sys/netinet/tcp_input.c:1034 > exclusive rw tcpinp (tcpinp) r =3D 0 (0xc33e4494) locked @ = > /usr/src/sys/netinet/in_pcb.c:1964 > stack backtrace: > Fatal kernel mode data abort: 'Alignment Fault' on read > trapframe: 0xdcfe58c0 > FSR=3D00000001, FAR=3Dc2e7a07a, spsr=3D60000013 > r0 =3Dc08e7988, r1 =3D00000004, r2 =3Dc06fabe6, r3 =3D000007b6 > r4 =3Ddcfe5a28, r5 =3Ddcfe5b40, r6 =3Dc2e7a076, r7 =3Dc2f98740 > r8 =3Dc2f98740, r9 =3Dc2e7a076, r10=3Ddcfe5b40, r11=3Ddcfe5988 > r12=3D00000000, ssp=3Ddcfe5950, slr=3Dc2d33370, pc =3Dc053df7c > > [ thread pid 13 tid 100036 ] > Stopped at syncookie_lookup+0x38: ldmib r6, {r1-r2} > db> > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to = > "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hackers@freebsd.org Wed Jun 22 17:52:52 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9EFACB722BD for ; Wed, 22 Jun 2016 17:52:52 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: from mail-qk0-x22a.google.com (mail-qk0-x22a.google.com [IPv6:2607:f8b0:400d:c09::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5BB9021F3 for ; Wed, 22 Jun 2016 17:52:52 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: by mail-qk0-x22a.google.com with SMTP id t127so75501523qkf.1 for ; Wed, 22 Jun 2016 10:52:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=bdKi4JpVkfDQi2iN8+aHud8d65YNlTea+02z5Rnamco=; b=D0mmzny8D2lUDeuqXQw7qjhxIy0ODsSzXBhuLfHttyYHEUR0tu3AToZ3idRt7e9tIy 9i+Fd4GoYmIZUhY6uiARhTLBUOKVQyH+iZbblnvz1eqp99oQXi/ZW3/3zWV753Nx7QI+ v1G8FI0KdpsYwVnYjBwEz0rxB2K1qKk9aVNbY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=bdKi4JpVkfDQi2iN8+aHud8d65YNlTea+02z5Rnamco=; b=MK2FSkOY8EjuOrJaEhTCHfxHLYN+MjdvJfijIanlb1emJ7Ia5v6VNXgbijUI76gY1p PNYBJvr6TUOoH6YZKjZolq2nBmFrPhOuRp3H2NZ1SO85EazeLdPlcPQxvMwyqHJWlQyi HfcJ0kee7kD1o/3obZPlr1gqkMY8Edung9OQXkniIsUh6JyVleM8S6Uv3XozrhcQlPB8 M6iLIUt+TgIs3tgzavMTJAmxGwC7V/Lo2WKlxM4J/kUcPvCirchUpPsCFYkE9kmuZXud g+fmcTYinjWFySO8iftT1nbyKiXkIxnqwyxMDKUZOZge0ff2MS2j/yS9j6qknjOo7Gms Ldbw== X-Gm-Message-State: ALyK8tLZiKyv5PBApm5EDtyMGUATQiAw141ukGVxp+zp4NfcHOICQh3UtrIi5rcyuhPYFA== X-Received: by 10.237.53.233 with SMTP id d38mr37236158qte.104.1466617971354; Wed, 22 Jun 2016 10:52:51 -0700 (PDT) Received: from [192.168.0.18] ([187.60.94.34]) by smtp.googlemail.com with ESMTPSA id m92sm423591qtd.27.2016.06.22.10.52.49 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 22 Jun 2016 10:52:50 -0700 (PDT) To: "freebsd-arm@freebsd.org" , freebsd-hackers@freebsd.org From: =?UTF-8?B?T3RhY8OtbGlv?= Subject: Poor performance when using urtwn on beaglebone black Message-ID: <8751579c-68ae-7330-eb9b-c67d84ae18db@bsd.com.br> Date: Wed, 22 Jun 2016 14:52:26 -0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jun 2016 17:52:52 -0000 Dears I'm getting poor performance when using wifi by urtwn on beaglebone black. I'm using netperf to do benchmarks and I'm getting less than 1Mbps normally and between 3Mbps and 7.5Mbps when creating the interface with -ht option. I think that previous versions has better performance. FreeBSD beaglebone 11.0-ALPHA4 FreeBSD 11.0-ALPHA4 #0 r302064: Wed Jun 22 00:25:52 BRT 2016 ota@squitch:/root/workdir/crochet/work/obj/arm.armv6/usr/src/sys/BEAGLEBONE arm []'s -Otacílio From owner-freebsd-hackers@freebsd.org Wed Jun 22 17:57:52 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 56C3FB724DF for ; Wed, 22 Jun 2016 17:57:52 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: from mail-qk0-x235.google.com (mail-qk0-x235.google.com [IPv6:2607:f8b0:400d:c09::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1391625B3 for ; Wed, 22 Jun 2016 17:57:52 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: by mail-qk0-x235.google.com with SMTP id t127so75699533qkf.1 for ; Wed, 22 Jun 2016 10:57:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=fq8Fe9tRu/SW4x64NPI7jfR4o7Ehjw3X0dYtqtfigkE=; b=Oo2n+uECVBLvOxZOoaMg52ksj73l1e2fzhY0HZipfyYrX23I1un5PlOkxYNwqbHkCN qXUXdajZmhpbJ4MVOntFAeJwBNe9vcZZeeFMEvR9aChLZg0ITUAqeherNv8ESaoh/zxr VXpYK67vsSK6uk4Yw3O4aylwQavfnsznrTLxU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=fq8Fe9tRu/SW4x64NPI7jfR4o7Ehjw3X0dYtqtfigkE=; b=XEMhlE4T2ZPozqpGjEbooZHyi+dZ4ecLl1fwkTZQEaK/QQIm0gU9rdkS7HMbgVUHtD F0Mzaxg+zMa6ToLhw8Ghfr/O3T2UpZr3c6TvTS/lpaY9Yf6Ml+Y1knps8xqi4YZDmryT t2JZCZSbNUYzrsWB9h/0VUHEBmoEou+UkMCO9o8C6gERzSMsOnaRcg0q/eQerfabpIFD rOPbrCPnqzRypr3AOaKiTqXxn0xto3SgK20DEtz82kIo81dlh0raUSgselqk+89ITQef Lqn4j6oT1B2YxYLCCQ9uBl7RhFSLCNUWoN3xE6oEhqCj9hiyZnO1chYTrfQ9EA6co3fK T+rg== X-Gm-Message-State: ALyK8tLEovSyxWXPy1O9jEWlcF+IHgGp+Q8q+Mh/HMUJF5vZzITYx6tkUSmu2xojjhNuSQ== X-Received: by 10.55.31.140 with SMTP id n12mr40483089qkh.4.1466618271253; Wed, 22 Jun 2016 10:57:51 -0700 (PDT) Received: from [192.168.0.18] ([187.60.94.34]) by smtp.googlemail.com with ESMTPSA id c192sm506966qke.2.2016.06.22.10.57.49 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 22 Jun 2016 10:57:50 -0700 (PDT) To: "freebsd-arm@freebsd.org" , freebsd-hackers@freebsd.org From: =?UTF-8?B?T3RhY8OtbGlv?= Subject: Kernel panic all times when running service netif restart Message-ID: <8e22a408-3d61-d0e4-2285-83448bf48a3e@bsd.com.br> Date: Wed, 22 Jun 2016 14:57:26 -0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jun 2016 17:57:52 -0000 Dears I'm getting a kernel panic all times on FreeBSD beaglebone 11.0-ALPHA4 FreeBSD 11.0-ALPHA4 #0 r302064: Wed Jun 22 00:25:52 BRT 2016 ota@squitch:/root/workdir/crochet/work/obj/arm.armv6/usr/src/sys/BEAGLEBONE arm when I run 'service netif restart' on a beaglebone black using urtwn driver. Look bellow: root@beaglebone:/usr/home/ota # service netif restart dhclient not running? (check /var/run/dhclient.cpsw0.pid). Jun 22 17:53:18 beaglebone dhclient[782]: My address (192.168.0.11) was deleted, dhclient exiting Jun 22 17:53:18 beaglebone dhclient[730]: connection closed Jun 22 17:53:18 beaglebone dhclient[730]: exiting. Stopping wpa_supplicant. Jun 22 17:53:19 beaglebone wpa_supplicant[350]: ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Can't assign requested address dhclient not running? (check /var/run/dhclient.wlan0.pid). Stopping Network: lo0 cpsw0 wlan0. lo0: flags=8048 metric 0 mtu 16384 options=600003 groups: lo nd6 options=21 cpsw0: flags=8c02 metric 0 mtu 1500 options=8000b ether 90:59:af:4c:20:9a media: Ethernet autoselect (none) status: no carrier nd6 options=29 wlan0: flags=8802 metric 0 mtu 1500 ether 14:cc:20:12:ee:55 groups: wlan ssid "" channel 11 (2462 MHz 11g) regdomain FCC country US authmode OPEN privacy OFF txpower 30 bmiss 7 scanvalid 60 protmode CTS wme media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier nd6 options=29 Fatal kernel mode data abort: 'Translation Fault (L2)' on read trapframe: 0xde3abba0 FSR=00000007, FAR=00000014, spsr=20000013 r0 =00000000, r1 =00000000, r2 =c06f1fa6, r3 =000003aa r4 =c31fc000, r5 =c06f1fa6, r6 =c2fe84b8, r7 =c2fe6000 r8 =c2fec000, r9 =00000016, r10=c2fec008, r11=de3abc70 r12=c08b6ca0, ssp=de3abc30, slr=c31941e4, pc =c0484744 [ thread pid 1273 tid 100074 ] Stopped at if_detach+0x28: ldr r4, [r0, #0x014] db> []'s -Otacílio From owner-freebsd-hackers@freebsd.org Wed Jun 22 18:01:35 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5D49DB726B6; Wed, 22 Jun 2016 18:01:35 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: from mail-pf0-x230.google.com (mail-pf0-x230.google.com [IPv6:2607:f8b0:400e:c00::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2E3BE28DC; Wed, 22 Jun 2016 18:01:35 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: by mail-pf0-x230.google.com with SMTP id i123so19859780pfg.0; Wed, 22 Jun 2016 11:01:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=vN6NO+04DfUV66tQxcsHklfqneGvDcPcMNyy94EXFgQ=; b=TqpcVc7LLBYREEcy5fiKEDG8wkIMzZhjPMuv8Exi/hoTYq5QTy/EG0KnUNi/BSsKqS FQ4wPSvty/4zV+JNHIpxZtZXIlYBZmX9XKG49QRorsepx2VnfeK0GTTa5R4Yis8jvLem sSiXXYxXdQQAnqJfTEJHmGXJEqS7txdLOb4k9b3UmW4AiFtxA0wjFnwJkPxrg7ObJ7lT OJm3W/9FTEFsgIrE5o6EPDdVDwdmQ6aPaXJ522fp750WQcc7FxrLB1lL+wp6i2HM/+kf X6qm1ZnvU0fflKAU87EfzhedaJPm+df/qjRyNw/CQdFtDs0fQvxozwEpei0F8si+20ng dXWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=vN6NO+04DfUV66tQxcsHklfqneGvDcPcMNyy94EXFgQ=; b=Hw8HvZqhyEfSreWOmYIxdUqUT8djNX+hfVLx78yjbjM7eOFstlXqHBXap1yxr2U88s 5kbqOs1SdsQGe8RwNvH7XxkPlCKrcFHSHhZUP4lt6IzeG+siaeQdoKaHZVdsExeOeqIt QfQw2jdPNPmWV82OTjFKkp//K+UvhvuZEQNrPTo0ivHVZCJAOcH2AzsD63X5MtS9Qiyv S8n/YuVvYlsEF+xmLXgioCFsa6PgV9jHp33kMIjhWtPivULI6KVYSikzvp1kZsBe8Tjd DQgYFCOtcS7T/6RNz8a90DAKl0UeBco+k3xpJko87zJE7E9pMWS44UPWKq5IAwVEjFzx vUYQ== X-Gm-Message-State: ALyK8tLUtorfYdYuR7lFaV2dRRdZU4Ir9g11UAb8epnaoBHDuWcjmuulBh72MicxaU6xEQ== X-Received: by 10.98.210.66 with SMTP id c63mr36234955pfg.25.1466618494437; Wed, 22 Jun 2016 11:01:34 -0700 (PDT) Received: from [10.192.166.0] ([12.32.117.8]) by smtp.googlemail.com with ESMTPSA id fj13sm1471016pab.0.2016.06.22.11.01.33 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 22 Jun 2016 11:01:33 -0700 (PDT) Subject: Re: Kernel panic all times when running service netif restart To: =?UTF-8?B?T3RhY8OtbGlv?= , "freebsd-arm@freebsd.org" , freebsd-hackers@freebsd.org References: <8e22a408-3d61-d0e4-2285-83448bf48a3e@bsd.com.br> From: Navdeep Parhar Message-ID: <78521866-f22f-5d75-7925-a48996352590@gmail.com> Date: Wed, 22 Jun 2016 11:01:32 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <8e22a408-3d61-d0e4-2285-83448bf48a3e@bsd.com.br> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jun 2016 18:01:35 -0000 Try r302083, it fixed a panic in if_detach. Regards, Navdeep On 06/22/2016 10:57, Otac=C3=ADlio wrote: > Dears >=20 > I'm getting a kernel panic all times on >=20 > FreeBSD beaglebone 11.0-ALPHA4 FreeBSD 11.0-ALPHA4 #0 r302064: Wed Jun > 22 00:25:52 BRT 2016 > ota@squitch:/root/workdir/crochet/work/obj/arm.armv6/usr/src/sys/BEAGLE= BONE > arm >=20 > when I run 'service netif restart' on a beaglebone black using urtwn > driver. Look bellow: >=20 > root@beaglebone:/usr/home/ota # service netif restart > dhclient not running? (check /var/run/dhclient.cpsw0.pid). > Jun 22 17:53:18 beaglebone dhclient[782]: My address (192.168.0.11) was= > deleted, dhclient exiting > Jun 22 17:53:18 beaglebone dhclient[730]: connection closed > Jun 22 17:53:18 beaglebone dhclient[730]: exiting. > Stopping wpa_supplicant. > Jun 22 17:53:19 beaglebone wpa_supplicant[350]: ioctl[SIOCS80211, op=3D= 20, > val=3D0, arg_len=3D7]: Can't assign requested address > dhclient not running? (check /var/run/dhclient.wlan0.pid). > Stopping Network: lo0 cpsw0 wlan0. > lo0: flags=3D8048 metric 0 mtu 16384 > options=3D600003 > groups: lo > nd6 options=3D21 > cpsw0: flags=3D8c02 metric 0 mtu 1= 500 > options=3D8000b > ether 90:59:af:4c:20:9a > media: Ethernet autoselect (none) > status: no carrier > nd6 options=3D29 > wlan0: flags=3D8802 metric 0 mtu 1500 > ether 14:cc:20:12:ee:55 > groups: wlan > ssid "" channel 11 (2462 MHz 11g) > regdomain FCC country US authmode OPEN privacy OFF txpower 30 > bmiss 7 > scanvalid 60 protmode CTS wme > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > nd6 options=3D29 > Fatal kernel mode data abort: 'Translation Fault (L2)' on read > trapframe: 0xde3abba0 > FSR=3D00000007, FAR=3D00000014, spsr=3D20000013 > r0 =3D00000000, r1 =3D00000000, r2 =3Dc06f1fa6, r3 =3D000003aa > r4 =3Dc31fc000, r5 =3Dc06f1fa6, r6 =3Dc2fe84b8, r7 =3Dc2fe6000 > r8 =3Dc2fec000, r9 =3D00000016, r10=3Dc2fec008, r11=3Dde3abc70 > r12=3Dc08b6ca0, ssp=3Dde3abc30, slr=3Dc31941e4, pc =3Dc0484744 >=20 > [ thread pid 1273 tid 100074 ] > Stopped at if_detach+0x28: ldr r4, [r0, #0x014] > db> >=20 >=20 > []'s >=20 > -Otac=C3=ADlio >=20 > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.o= rg" From owner-freebsd-hackers@freebsd.org Thu Jun 23 10:00:54 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3F66BA7999E for ; Thu, 23 Jun 2016 10:00:54 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: from mail-vk0-x236.google.com (mail-vk0-x236.google.com [IPv6:2607:f8b0:400c:c05::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0F81021A2 for ; Thu, 23 Jun 2016 10:00:53 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: by mail-vk0-x236.google.com with SMTP id d185so98554735vkg.0 for ; Thu, 23 Jun 2016 03:00:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=pj980TBrBEmSQ+WBNHJWQ1b98xyhJ5S932Uwg8+eBHg=; b=LRQGNOphNUZ8lLAzPcHj8gYRif9MGAVducxtZLC7HnZLZ4+Sgy7k0xQsYyFpR86p5D 6Dg2RFVKCHnKjVZ7BM4o/RgpEUQhIvprvwXy1QWqHNg5dvuIkyLAOTnPwof41cZviqfr VN1Geh0UzxK9VAdT+G9TiXoDrspCHK9KaSLKQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=pj980TBrBEmSQ+WBNHJWQ1b98xyhJ5S932Uwg8+eBHg=; b=Th486GGGXmXMQBzDc70tor00HwqrKifcBbrO3zdeM8kGUa3sCq+vrhPHHdWKrZbOx1 ZglJma60Vrz6Vrk1AYR2IDqi0tQNWgMdk9cDXQMbyX1Qgj0tOcIPpFuDebap/6n80KSc u1ZMkFYyCu8BU3S0Ca6iP/+GLnTiGqF5Ujsu04en4uAIzi1GXO3gTQIMQ6zvrPdyTvQA 3AA3UUpM3ik7A/wp+xZ6wzfWdOCgeWnm60o4Ibm3wUMloTmW000w12Glmylv/HNrILP2 AFJcmDO2G+0CqSuUT1lx+j+SX6dWlU/751RRil0O3XLV3QKRuEFxVVfyGMoXFJW18Jer q0jQ== X-Gm-Message-State: ALyK8tL7ZpqTQNzOoDgnStEH3xSS0NRIsAR/7PmP39RRXa2a8XOS+HAMiVQQmm/95u9XRQ== X-Received: by 10.176.4.48 with SMTP id 45mr14602925uav.127.1466676052810; Thu, 23 Jun 2016 03:00:52 -0700 (PDT) Received: from [192.168.0.18] ([187.60.94.34]) by smtp.googlemail.com with ESMTPSA id n16sm1089166vkd.2.2016.06.23.03.00.50 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 23 Jun 2016 03:00:51 -0700 (PDT) Subject: Re: Kernel panic all times when running service netif restart To: Navdeep Parhar , "freebsd-arm@freebsd.org" , freebsd-hackers@freebsd.org References: <8e22a408-3d61-d0e4-2285-83448bf48a3e@bsd.com.br> <78521866-f22f-5d75-7925-a48996352590@gmail.com> From: =?UTF-8?B?T3RhY8OtbGlv?= Message-ID: <1608d561-2109-fbb9-39fe-226c43f6120d@bsd.com.br> Date: Thu, 23 Jun 2016 07:00:27 -0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <78521866-f22f-5d75-7925-a48996352590@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2016 10:00:54 -0000 Yes. Works here. Thanks a lot! []'s -Otacilio Em 22/06/2016 15:01, Navdeep Parhar escreveu: > Try r302083, it fixed a panic in if_detach. > > Regards, > Navdeep > > On 06/22/2016 10:57, Otacílio wrote: >> Dears >> >> I'm getting a kernel panic all times on >> >> FreeBSD beaglebone 11.0-ALPHA4 FreeBSD 11.0-ALPHA4 #0 r302064: Wed Jun >> 22 00:25:52 BRT 2016 >> ota@squitch:/root/workdir/crochet/work/obj/arm.armv6/usr/src/sys/BEAGLEBONE >> arm >> >> when I run 'service netif restart' on a beaglebone black using urtwn >> driver. Look bellow: >> >> root@beaglebone:/usr/home/ota # service netif restart >> dhclient not running? (check /var/run/dhclient.cpsw0.pid). >> Jun 22 17:53:18 beaglebone dhclient[782]: My address (192.168.0.11) was >> deleted, dhclient exiting >> Jun 22 17:53:18 beaglebone dhclient[730]: connection closed >> Jun 22 17:53:18 beaglebone dhclient[730]: exiting. >> Stopping wpa_supplicant. >> Jun 22 17:53:19 beaglebone wpa_supplicant[350]: ioctl[SIOCS80211, op=20, >> val=0, arg_len=7]: Can't assign requested address >> dhclient not running? (check /var/run/dhclient.wlan0.pid). >> Stopping Network: lo0 cpsw0 wlan0. >> lo0: flags=8048 metric 0 mtu 16384 >> options=600003 >> groups: lo >> nd6 options=21 >> cpsw0: flags=8c02 metric 0 mtu 1500 >> options=8000b >> ether 90:59:af:4c:20:9a >> media: Ethernet autoselect (none) >> status: no carrier >> nd6 options=29 >> wlan0: flags=8802 metric 0 mtu 1500 >> ether 14:cc:20:12:ee:55 >> groups: wlan >> ssid "" channel 11 (2462 MHz 11g) >> regdomain FCC country US authmode OPEN privacy OFF txpower 30 >> bmiss 7 >> scanvalid 60 protmode CTS wme >> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) >> status: no carrier >> nd6 options=29 >> Fatal kernel mode data abort: 'Translation Fault (L2)' on read >> trapframe: 0xde3abba0 >> FSR=00000007, FAR=00000014, spsr=20000013 >> r0 =00000000, r1 =00000000, r2 =c06f1fa6, r3 =000003aa >> r4 =c31fc000, r5 =c06f1fa6, r6 =c2fe84b8, r7 =c2fe6000 >> r8 =c2fec000, r9 =00000016, r10=c2fec008, r11=de3abc70 >> r12=c08b6ca0, ssp=de3abc30, slr=c31941e4, pc =c0484744 >> >> [ thread pid 1273 tid 100074 ] >> Stopped at if_detach+0x28: ldr r4, [r0, #0x014] >> db> >> >> >> []'s >> >> -Otacílio >> >> _______________________________________________ >> freebsd-hackers@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > From owner-freebsd-hackers@freebsd.org Thu Jun 23 16:23:32 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5D020B730AF for ; Thu, 23 Jun 2016 16:23:32 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: from mail-vk0-x22c.google.com (mail-vk0-x22c.google.com [IPv6:2607:f8b0:400c:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 020B81977 for ; Thu, 23 Jun 2016 16:23:31 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: by mail-vk0-x22c.google.com with SMTP id u64so113661933vkf.3 for ; Thu, 23 Jun 2016 09:23:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=MCmFJPm0c/JcXADKYzvW7+m8rbBlOK2JVf3AxJj+Fiw=; b=fkaOklH5a/ZJDD+81abz1OfE/gUk59YKZs18PRWaqVbLP3WID8SL5usWRlTsdb9/q+ GZ3QJ+O/NiJkdHmX3gadPqeDdV++mhScyNWINeZaH4vg+LIPWCIx25p3GJp1kr1bcBIm TW/TFNd9MolPMmBJlkJx9M0twNBmCBNRDx74Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=MCmFJPm0c/JcXADKYzvW7+m8rbBlOK2JVf3AxJj+Fiw=; b=cUVbE/gGUkgNNcUYxja+So5+5BL/UQxFjcosq4A6PbxijhcIbessP20a8FI52uBbS9 dswVBLIgROxNgDgvbCdA928b0Cud20t8M5BmtWPpAxMLKWvT2gWYFDfKBTueX82GFQ11 YXkx3d4tF9ODCDFGG3uSGDFKul+BZc7v8y8ihd2tmIEsQKpHHfQh/F8Jwwl5huQ+ITMx KUxvoyRV9MCsqfL03e6XKNJ/V06YlKMctrw3L12PZX+/WAV5URDrdfOqbWMMRPHWcdha bHiGJc2e2foKRhPTomAtK9sIKKcQb2HL71TKjxQuHqHqtctBeHhCpYntkyw0kmJtfmAt 6I6g== X-Gm-Message-State: ALyK8tLwEGWRjCaPX0erv2rkRTj/B8uozPUWX/tk8FPUgLFvaEO1FAGG4UXXJF3KeuPmBg== X-Received: by 10.176.64.166 with SMTP id i35mr15842168uad.105.1466699010796; Thu, 23 Jun 2016 09:23:30 -0700 (PDT) Received: from [192.168.0.18] ([187.60.94.34]) by smtp.googlemail.com with ESMTPSA id 48sm323725uat.9.2016.06.23.09.23.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Jun 2016 09:23:30 -0700 (PDT) Subject: Re: Poor performance when using urtwn on beaglebone black To: Adrian Chadd References: <8751579c-68ae-7330-eb9b-c67d84ae18db@bsd.com.br> Cc: "freebsd-arm@freebsd.org" , "freebsd-hackers@freebsd.org" From: =?UTF-8?B?T3RhY8OtbGlv?= Message-ID: <9688c9e7-3619-82ef-a10e-00ef97d435c4@bsd.com.br> Date: Thu, 23 Jun 2016 13:23:27 -0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2016 16:23:32 -0000 I did the tests with two adapters. Bellow RTL8192CU poor performance % dmesg | grep urtwn urtwn0: on usbus1 urtwn0: MAC/BB RTL8192CU, RF 6052 2T2R urtwn0: enabling 11n % netperf -H squitch MIGRATED TCP STREAM TEST from 0.0.0.0 () port 0 AF_INET to squitch () port 0 AF_INET : histogram : interval : dirty data : demo Recv Send Send Socket Socket Message Elapsed Size Size Size Time Throughput bytes bytes bytes secs. 10^6bits/sec 65536 32768 32768 10.72 1.06 good performance (after create the interface using -ht) % dmesg | grep urtwn urtwn0: on usbus1 urtwn0: MAC/BB RTL8192CU, RF 6052 2T2R urtwn0: enabling 11n % netperf -H squitch MIGRATED TCP STREAM TEST from 0.0.0.0 () port 0 AF_INET to squitch () port 0 AF_INET : histogram : interval : dirty data : demo Recv Send Send Socket Socket Message Elapsed Size Size Size Time Throughput bytes bytes bytes secs. 10^6bits/sec 65536 32768 32768 10.16 7.41 ===================================================================================== poor performance for RTL8188CUS % dmesg | grep urtwn urtwn0: on usbus1 urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R urtwn0: enabling 11n % netperf -H squitch MIGRATED TCP STREAM TEST from 0.0.0.0 () port 0 AF_INET to squitch () port 0 AF_INET : histogram : interval : dirty data : demo Recv Send Send Socket Socket Message Elapsed Size Size Size Time Throughput bytes bytes bytes secs. 10^6bits/sec 65536 32768 32768 14.03 0.02 good performance (after create the interface using -ht) urtwn0: on usbus1 urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R urtwn0: enabling 11n % netperf -H squitch MIGRATED TCP STREAM TEST from 0.0.0.0 () port 0 AF_INET to squitch () port 0 AF_INET : histogram : interval : dirty data : demo Recv Send Send Socket Socket Message Elapsed Size Size Size Time Throughput bytes bytes bytes secs. 10^6bits/sec 65536 32768 32768 10.15 5.81 Em 23/06/2016 13:06, Adrian Chadd escreveu: > which urtwn is it? can you do a dmesg | grep urtwn? > > I'd like to see which NIC it is and whether firmware rate control is working. > > Thanks, > > > > -adrian > > > On 22 June 2016 at 10:52, Otacílio wrote: >> Dears >> >> I'm getting poor performance when using wifi by urtwn on beaglebone black. >> I'm using netperf to do benchmarks and I'm getting less than 1Mbps normally >> and between 3Mbps and 7.5Mbps when creating the interface with -ht option. I >> think that previous versions has better performance. >> >> FreeBSD beaglebone 11.0-ALPHA4 FreeBSD 11.0-ALPHA4 #0 r302064: Wed Jun 22 >> 00:25:52 BRT 2016 >> ota@squitch:/root/workdir/crochet/work/obj/arm.armv6/usr/src/sys/BEAGLEBONE >> arm >> >> []'s >> >> -Otacílio >> >> >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-hackers@freebsd.org Thu Jun 23 16:06:52 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A27DDAC5D46; Thu, 23 Jun 2016 16:06:52 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x22b.google.com (mail-io0-x22b.google.com [IPv6:2607:f8b0:4001:c06::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6D673182F; Thu, 23 Jun 2016 16:06:52 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x22b.google.com with SMTP id f30so75564083ioj.2; Thu, 23 Jun 2016 09:06:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=u7evnsm2K1fuFJ86z08kS9qTmh2i75N5wPd9kOczwx0=; b=ireE66i5CrvGLQZONAQSAeuIvIR5OabBhC0sByBuPjpQ6puHCY/BvuNFvOe4JHR7B6 5LXW1p6xz0UWxpnQ623C+Ng8oVF2V/SpH4ai03jvj7Hgeakw6p3kqnGbvGw4Zb/3LLwZ tcA6iVlbdgHZsT44zWA89VCnlYvR0WSf2Qlg0XIZFDp6J6g5j2vh1jksxQCgLDECTv+g 7Vg3s5Do4LnRoG++rm8Z88XKz2OmJh3oqLrdTvChAmjHpwG2RO4PfTrb6oX0VEIyiQ75 vDBJyMuv3VqJYymFn+GZNRG8vUBYAljr7WaBd6D0vCgnAvxvHpJNZpoMSgCSylCudBPy tTkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=u7evnsm2K1fuFJ86z08kS9qTmh2i75N5wPd9kOczwx0=; b=JS19CycyduFMdSQckWO2PBoGTD/JLF0I6O4OTHk/kRK8LjTMHTqKA8DGBlnuVTpQuY X6tbt2eHMknWi/ZhO+8z1Ypp6KDlJ40Aeco9lWKtdy0KDfdDo1sCnhmD3W549NVJzY0o EPskB1ypGFGNVf9wfQDwU+REwfW0x9vPNA2Go8Ifk5Inqva3jEbDbh5WpbY1/qsGu8bp Xczq23l6gccTucMR/E/Cg/fyGanPd5a+JQD3KLzaIdHkECDfdN9LjGYfKiR9vLD4GVM1 EtlQVFK6eYpbavksakwiRk06FdOK4oSU7gYzzHQKxurfIy7DL0azDQ8uJh7s2kCEeSHo SMtw== X-Gm-Message-State: ALyK8tKgFRm0sj7JTTHjGic3f01GiQRvTrke3gQbTm68qh7Agu9dhFF9QR9oEFjslaauDbzWm9EKi3w5EjzrWQ== X-Received: by 10.107.144.86 with SMTP id s83mr1532122iod.165.1466698011582; Thu, 23 Jun 2016 09:06:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.210.212 with HTTP; Thu, 23 Jun 2016 09:06:50 -0700 (PDT) In-Reply-To: <8751579c-68ae-7330-eb9b-c67d84ae18db@bsd.com.br> References: <8751579c-68ae-7330-eb9b-c67d84ae18db@bsd.com.br> From: Adrian Chadd Date: Thu, 23 Jun 2016 09:06:50 -0700 Message-ID: Subject: Re: Poor performance when using urtwn on beaglebone black To: =?UTF-8?B?T3RhY8OtbGlv?= Cc: "freebsd-arm@freebsd.org" , "freebsd-hackers@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Thu, 23 Jun 2016 16:24:26 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2016 16:06:52 -0000 which urtwn is it? can you do a dmesg | grep urtwn? I'd like to see which NIC it is and whether firmware rate control is workin= g. Thanks, -adrian On 22 June 2016 at 10:52, Otac=C3=ADlio wrote: > Dears > > I'm getting poor performance when using wifi by urtwn on beaglebone black= . > I'm using netperf to do benchmarks and I'm getting less than 1Mbps normal= ly > and between 3Mbps and 7.5Mbps when creating the interface with -ht option= . I > think that previous versions has better performance. > > FreeBSD beaglebone 11.0-ALPHA4 FreeBSD 11.0-ALPHA4 #0 r302064: Wed Jun 22 > 00:25:52 BRT 2016 > ota@squitch:/root/workdir/crochet/work/obj/arm.armv6/usr/src/sys/BEAGLEBO= NE > arm > > []'s > > -Otac=C3=ADlio > > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-hackers@freebsd.org Thu Jun 23 16:28:09 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 479EFB73429; Thu, 23 Jun 2016 16:28:09 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-it0-x230.google.com (mail-it0-x230.google.com [IPv6:2607:f8b0:4001:c0b::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1183527B1; Thu, 23 Jun 2016 16:28:09 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-it0-x230.google.com with SMTP id g127so3550055ith.1; Thu, 23 Jun 2016 09:28:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=6smSpgiO0a+prCsH1gSTgnBcHU5IhwQsj2/uTRkqWSk=; b=O4a6hwSQY1UeyksOmOXOjedUWWdu//zBgP08GktX0FuZAkS1wLxEq8Bv5oCqOzuHET dei8KCgqQZVqduUInNyAR4kBuWu6R00MCt4rokgsoi+Glw/ZIHGPzD6XQ3w4Ikk5U7Po B/6LDLX/Xb3rSkHl820TMdPyJPxHrekmiqmvXyIJPXfaTb/aqzQwKJSmONKcEEjXGg2+ asXehCJ+XAzRixE0LvtVKjSkiHKoixal1+99OfvLpuEnobEexJDw95pmquon2b+wZ/X0 Mn0bdtFq5AufghvpZV5YhMoOjloXpcUH25fd5kZ2ogLLCxpRQrHXJ2Boudg9ODTlCUBm S0jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=6smSpgiO0a+prCsH1gSTgnBcHU5IhwQsj2/uTRkqWSk=; b=OtQ4xcxNUnmFvokedslIO3rrlGEKpaPw7XEhV9uau04bBlOKRmzMWcP1ZrU3eb0r5d CjvCncbbJwje5Cd+362KFbsM2uj9pypRmPrzFrPLPZKnqKJQH/ByJtGJvdTKl+U/AjS8 nfropjSexe02oS2d/IOCvdsbO1960cytOuRlC2OgJjRAugstwTS11BHyKNnZg+0s59q7 2M0U3T/mdECer+1WV78QrSozl2DTmi5Spa4/Kbyzh7fKNywi0q3p7c9ub3RietXCiTg3 Eit4lZRIHOYJpa8nzxYGZtvEFBQYveGdbvWNW9P6L3Z3wR2FyUGYA1MUkoeNk3O/A8ai eSzA== X-Gm-Message-State: ALyK8tIcCQPjLwlMYZiCuKNekLzplfaFIBAddll/ZShPl3vWieqiA9qYeEVkJN63RhvCOg7F2OrvBrPUDSoAYw== X-Received: by 10.36.200.131 with SMTP id w125mr1662838itf.80.1466699288138; Thu, 23 Jun 2016 09:28:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.210.212 with HTTP; Thu, 23 Jun 2016 09:28:07 -0700 (PDT) In-Reply-To: <9688c9e7-3619-82ef-a10e-00ef97d435c4@bsd.com.br> References: <8751579c-68ae-7330-eb9b-c67d84ae18db@bsd.com.br> <9688c9e7-3619-82ef-a10e-00ef97d435c4@bsd.com.br> From: Adrian Chadd Date: Thu, 23 Jun 2016 09:28:07 -0700 Message-ID: Subject: Re: Poor performance when using urtwn on beaglebone black To: =?UTF-8?B?T3RhY8OtbGlv?= Cc: "freebsd-arm@freebsd.org" , "freebsd-hackers@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Thu, 23 Jun 2016 16:35:16 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2016 16:28:09 -0000 Hm, okay. I'll go try and reproduce this locally. can you do an 'ifconfig -v wlan0 list scan' and 'ifconfig -v wlan0 list sta' and privately email it to me? That way I can try to see what environment you have. the 2x2 NICs don't do rate control at the moment, so I bet part of the problem there is the default fixed value is terrible :( -adrian On 23 June 2016 at 09:23, Otac=C3=ADlio wrote: > I did the tests with two adapters. Bellow RTL8192CU > > poor performance > % dmesg | grep urtwn > urtwn0: = on > usbus1 > urtwn0: MAC/BB RTL8192CU, RF 6052 2T2R > urtwn0: enabling 11n > % netperf -H squitch > MIGRATED TCP STREAM TEST from 0.0.0.0 () port 0 AF_INET to squitch () por= t 0 > AF_INET : histogram : interval : dirty data : demo > Recv Send Send > Socket Socket Message Elapsed > Size Size Size Time Throughput > bytes bytes bytes secs. 10^6bits/sec > > 65536 32768 32768 10.72 1.06 > > good performance (after create the interface using -ht) > % dmesg | grep urtwn > urtwn0: = on > usbus1 > urtwn0: MAC/BB RTL8192CU, RF 6052 2T2R > urtwn0: enabling 11n > % netperf -H squitch > MIGRATED TCP STREAM TEST from 0.0.0.0 () port 0 AF_INET to squitch () por= t 0 > AF_INET : histogram : interval : dirty data : demo > Recv Send Send > Socket Socket Message Elapsed > Size Size Size Time Throughput > bytes bytes bytes secs. 10^6bits/sec > > 65536 32768 32768 10.16 7.41 > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > poor performance for RTL8188CUS > > % dmesg | grep urtwn > urtwn0: = on > usbus1 > urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R > urtwn0: enabling 11n > % netperf -H squitch > MIGRATED TCP STREAM TEST from 0.0.0.0 () port 0 AF_INET to squitch () por= t 0 > AF_INET : histogram : interval : dirty data : demo > Recv Send Send > Socket Socket Message Elapsed > Size Size Size Time Throughput > bytes bytes bytes secs. 10^6bits/sec > > 65536 32768 32768 14.03 0.02 > > > good performance (after create the interface using -ht) > urtwn0: = on > usbus1 > urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R > urtwn0: enabling 11n > % netperf -H squitch > MIGRATED TCP STREAM TEST from 0.0.0.0 () port 0 AF_INET to squitch () por= t 0 > AF_INET : histogram : interval : dirty data : demo > Recv Send Send > Socket Socket Message Elapsed > Size Size Size Time Throughput > bytes bytes bytes secs. 10^6bits/sec > > 65536 32768 32768 10.15 5.81 > > > Em 23/06/2016 13:06, Adrian Chadd escreveu: >> >> which urtwn is it? can you do a dmesg | grep urtwn? >> >> I'd like to see which NIC it is and whether firmware rate control is >> working. >> >> Thanks, >> >> >> >> -adrian >> >> >> On 22 June 2016 at 10:52, Otac=C3=ADlio wrote= : >>> >>> Dears >>> >>> I'm getting poor performance when using wifi by urtwn on beaglebone >>> black. >>> I'm using netperf to do benchmarks and I'm getting less than 1Mbps >>> normally >>> and between 3Mbps and 7.5Mbps when creating the interface with -ht >>> option. I >>> think that previous versions has better performance. >>> >>> FreeBSD beaglebone 11.0-ALPHA4 FreeBSD 11.0-ALPHA4 #0 r302064: Wed Jun = 22 >>> 00:25:52 BRT 2016 >>> >>> ota@squitch:/root/workdir/crochet/work/obj/arm.armv6/usr/src/sys/BEAGLE= BONE >>> arm >>> >>> []'s >>> >>> -Otac=C3=ADlio >>> >>> >>> _______________________________________________ >>> freebsd-arm@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > > >