From owner-freebsd-arm@FreeBSD.ORG Wed Apr 29 04:58:44 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EF1DA3AE for ; Wed, 29 Apr 2015 04:58:44 +0000 (UTC) Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by mx1.freebsd.org (Postfix) with ESMTP id 84E2E16FC for ; Wed, 29 Apr 2015 04:58:43 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2CFBgCBY0BV//4jAg5cgwyBL7UzCAaBAphCAoE1TQEBAQEBAYELhCABAQEDAScvIwULCxguOR4GE4gjB8cLAQEBAQEBAQEBAQEBAQEBAQEBARmGFoUihCIRAR4zB4MXgRYFi2eFfoo/hzuEa4lGI4QELjGBC4E6AQEB Received: from ppp14-2-35-254.lns21.adl2.internode.on.net (HELO midget.dons.net.au) ([14.2.35.254]) by ipmail06.adl6.internode.on.net with ESMTP; 29 Apr 2015 14:28:35 +0930 Received: from [10.0.2.26] ([10.0.2.26]) (authenticated bits=0) by midget.dons.net.au (8.15.1/8.14.9) with ESMTPSA id t3T4wPMX056409 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 29 Apr 2015 14:28:33 +0930 (CST) (envelope-from darius@dons.net.au) Subject: Re: pps_ioctl panic Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Content-Type: text/plain; charset=windows-1252 From: "O'Connor, Daniel" In-Reply-To: <553F3833.5050600@selasky.org> Date: Wed, 29 Apr 2015 14:28:25 +0930 Cc: freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: <80538BF0-EBF5-4C58-A17A-5D8122BC6399@dons.net.au> References: <6CC431C0-2E54-4B49-94D0-D6B7A5919CD3@dons.net.au> <553F3833.5050600@selasky.org> To: Hans Petter Selasky X-Mailer: Apple Mail (2.2098) X-Spam-Score: -2.899 () ALL_TRUSTED,BAYES_00,URIBL_BLOCKED X-Scanned-By: MIMEDefang 2.75 on 10.0.2.1 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Apr 2015 04:58:45 -0000 > On 28 Apr 2015, at 17:05, Hans Petter Selasky wrote: >=20 > On 04/28/15 09:08, O'Connor, Daniel wrote: >> Hi all, >> I'm trying to get gpsd + PPS working on a Beaglebone Black but when I = start gpsd I get the panic at the bottom of the email. >>=20 >> I've run ntpd to the same device with PPS without problems. >>=20 >> I haven't had a more detailed look yet though. >=20 > Hi, >=20 > Try to set "pps.mtx =3D &ttymx" before "pps_init()". I tried adding both.. sc->pps.mtx =3D &ttymx; and sc->pps.mtx =3D &ttymtx; but neither mutex exist. I had a look in the TTY code (sys/kern/tty.c) = and I couldn't see a likely candidate. -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C