Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Apr 2015 19:09:57 -0700
From:      Waitman Gobble <gobble.wa@gmail.com>
To:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: kvm_nlist failing on arm?
Message-ID:  <CAFuo_fxMpwkbcEVdF0Sgh20ypJwnEF_7bKvV7JiAa%2BEUSoFZpw@mail.gmail.com>
In-Reply-To: <CAFuo_fx-q=rjYcrgt_jq78bEOwQk6mYDqQ8gk5C5YDsHbLBUXg@mail.gmail.com>
References:  <CAFuo_fx-q=rjYcrgt_jq78bEOwQk6mYDqQ8gk5C5YDsHbLBUXg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 6, 2015 at 5:32 PM, Waitman Gobble <gobble.wa@gmail.com> wrote:
> Hi,
>
> I'm having an issue with kvm_nlist failing on armv6 machine, but works
> on amd64 machines. Anyone have an idea about this?
>
>
> simple example
>
> static struct nlist     nl[] = {
> #define N_HCI_RAW       0
>         { "_ng_btsocket_hci_raw_sockets" },
> };
>
> kvm_t   *kvmd = NULL;
> kvmd = kvm_openfiles(NULL, memf, NULL, O_RDONLY, errbuf);
> kvm_nlist(kvmd, nl);
> if (nl[0].n_type == 0) {
>                 /* bomb - problem */
> }
>
>
>
> # uname -a
> FreeBSD ARTiming150301 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r279488:
> Sun Mar  1 10:27:33 PST 2015
> waitman@rpidev.waitman.net:/usr/home/waitman/crochet-freebsd/work/obj/arm.armv6/usr/src/sys/TMRDEV
>  arm
>
>
> Thanks,
>
> --
> Waitman Gobble
> Los Altos California USA
> 510-830-7975


OOPs, the error:

kvm_nlist: no namelist


-- 
Waitman Gobble
Los Altos California USA
510-830-7975



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFuo_fxMpwkbcEVdF0Sgh20ypJwnEF_7bKvV7JiAa%2BEUSoFZpw>