Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Apr 2015 17:32:27 -0700
From:      Waitman Gobble <gobble.wa@gmail.com>
To:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   kvm_nlist failing on arm?
Message-ID:  <CAFuo_fx-q=rjYcrgt_jq78bEOwQk6mYDqQ8gk5C5YDsHbLBUXg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFuo_fx-q=rjYcrgt_jq78bEOwQk6mYDqQ8gk5C5YDsHbLBUXg>