From owner-freebsd-arm@FreeBSD.ORG Tue Apr 7 00:32:29 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 8E6376DD for ; Tue, 7 Apr 2015 00:32:29 +0000 (UTC) Received: from mail-wi0-x236.google.com (mail-wi0-x236.google.com [IPv6:2a00:1450: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 27A59E25 for ; Tue, 7 Apr 2015 00:32:29 +0000 (UTC) Received: by wizk4 with SMTP id k4so2829838wiz.1 for ; Mon, 06 Apr 2015 17:32:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=/VyW5QhtdnAWBjnixdt4SUUoS6PLK3gq0jREaeAqU3E=; b=LZITK6d8lB8aKS2jAAa5YRbR890TETpKsZ8i//poLag2UNuHG7tHwQjutMK6/kV7cC xycIvfHq1Gq0XYb//sqSO9Wo9ivRJgORDCItB1QP0/CAEjPxYiiPlaIll5h9WM5K0/0d nkIB8V7Z8TLZ7qpTgKo6QuaiMPk2B76nEY9ytI0EgxPFflFL2FpdzdQfX93SefAwPEmk iaeMTVU6vti7LmVYinQ5VKrvCSf/w1RXAlyKNtzNva5v8GgqWgkz6YoS1oeaqSHuy6j0 qFCyjStWnuA8R1GuyFQV5NUgaofo3VuWMFoPU6o7hzfVs5HnLe0KwTFjk/PIdPsatzXs s36w== MIME-Version: 1.0 X-Received: by 10.180.84.97 with SMTP id x1mr1366973wiy.1.1428366747759; Mon, 06 Apr 2015 17:32:27 -0700 (PDT) Received: by 10.27.91.75 with HTTP; Mon, 6 Apr 2015 17:32:27 -0700 (PDT) Date: Mon, 6 Apr 2015 17:32:27 -0700 Message-ID: Subject: kvm_nlist failing on arm? From: Waitman Gobble To: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Apr 2015 00:32:29 -0000 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