From owner-freebsd-embedded@FreeBSD.ORG Wed Aug 6 21:23:29 2014 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D1B75A4A; Wed, 6 Aug 2014 21:23:29 +0000 (UTC) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "funkthat.com", Issuer "funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A6DF22924; Wed, 6 Aug 2014 21:23:29 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id s76LNN4w045518 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Aug 2014 14:23:23 -0700 (PDT) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id s76LNLBG045517; Wed, 6 Aug 2014 14:23:21 -0700 (PDT) (envelope-from jmg) Date: Wed, 6 Aug 2014 14:23:20 -0700 From: John-Mark Gurney To: John Hay Subject: Re: CAMBRIA and more than one atheros card Message-ID: <20140806212320.GU88623@funkthat.com> Mail-Followup-To: John Hay , Adrian Chadd , "freebsd-wireless@freebsd.org" , "freebsd-embedded@freebsd.org" , Ian Lepore References: <20140714194932.GA51947@zibbi.meraka.csir.co.za> <20140714200015.GA54311@zibbi.meraka.csir.co.za> <20140714203707.GB54311@zibbi.meraka.csir.co.za> <20140717103430.GA88108@zibbi.meraka.csir.co.za> <20140717192433.GA35445@zibbi.meraka.csir.co.za> <20140717194412.GA37369@zibbi.meraka.csir.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140717194412.GA37369@zibbi.meraka.csir.co.za> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Wed, 06 Aug 2014 14:23:23 -0700 (PDT) Cc: "freebsd-wireless@freebsd.org" , "freebsd-embedded@freebsd.org" , Ian Lepore X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2014 21:23:30 -0000 John Hay wrote this message on Thu, Jul 17, 2014 at 21:44 +0200: > On Thu, Jul 17, 2014 at 12:30:53PM -0700, Adrian Chadd wrote: > > okay, I think that needs to be fixed first. I can't debug it otherwise. :) > > vmstat -ia output looks the same on an Avila board, so it isn't Cambria > specific. Ok, I tracked this down, and it looks like Ian forgot to add the necessary call to arm_intrnames_init in initarm to setup the names of interrupts properly when he changed how interrupt names were handled... I've fixed this for at least AVILA (and other ixp425 boards) w/ the included patch... Ian will be committing fixes for this issue shortly... He may be using a different method than the attached patch... Index: avila_machdep.c =================================================================== --- avila_machdep.c (revision 269019) +++ avila_machdep.c (working copy) @@ -70,6 +70,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include #include @@ -393,6 +394,7 @@ initarm(struct arm_boot_params *abp) init_proc0(kernelstack.pv_va); + arm_intrnames_init(); arm_vector_init(ARM_VECTORS_HIGH, ARM_VEC_ALL); pmap_curmaxkvaddr = afterkern + PAGE_SIZE; -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."