pps_ioctl panic

O'Connor, Daniel darius at dons.net.au
Wed Apr 29 04:58:45 UTC 2015


> On 28 Apr 2015, at 17:05, Hans Petter Selasky <hps at selasky.org> wrote:
> 
> 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.
>> 
>> I've run ntpd to the same device with PPS without problems.
>> 
>> I haven't had a more detailed look yet though.
> 
> Hi,
> 
> Try to set "pps.mtx = &ttymx" before "pps_init()".

I tried adding both..
        sc->pps.mtx = &ttymx;
and
        sc->pps.mtx = &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



More information about the freebsd-arm mailing list