From owner-freebsd-ppc@FreeBSD.ORG Tue Dec 22 16:09:05 2009 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11062106566C for ; Tue, 22 Dec 2009 16:09:05 +0000 (UTC) (envelope-from lbhudda@googlemail.com) Received: from mail-fx0-f218.google.com (mail-fx0-f218.google.com [209.85.220.218]) by mx1.freebsd.org (Postfix) with ESMTP id 6CB808FC1E for ; Tue, 22 Dec 2009 16:09:04 +0000 (UTC) Received: by fxm10 with SMTP id 10so3315994fxm.14 for ; Tue, 22 Dec 2009 08:09:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=qCCCeBjrctXrntBTvFe5T1+1XOg6zQMoJGs2t0rD/EU=; b=tSNA5n9s89Y6v4FSUnTjuveJU/IRYHDTlnFJSLLHxVzNEhOoQGS99mYvMO8R/vUx6R 8s6bMa1jsUQGNW5W3qdj14rLPIb2d/gnvgxuKfXq4nI7nWqUzZgIX2Ws0LwbKTcb14/q ROo+R5EjWALxTyEE1mshLYvCQPw1uOTJkd2Ek= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=rzdi0O8i7W/puI1TNCgvZ5Ltvm0lTRNrpRIGuZjTA2py833hpXanT0cDlBx+C37A+c ry2Z6iWiKOW0qHLV/PTBHxvYMTNJioSdx0h8RCDglJs3qINpbCsIELlARzPKYhlE05/W KJtx+vd6ivyEk+m6zzPN35xVrC1YWlkr2iiT8= Received: by 10.223.97.132 with SMTP id l4mr2920469fan.100.1261498143317; Tue, 22 Dec 2009 08:09:03 -0800 (PST) Received: from ?192.168.2.137? (f048048250.adsl.alicedsl.de [78.48.48.250]) by mx.google.com with ESMTPS id h2sm10164788fkh.32.2009.12.22.08.09.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 22 Dec 2009 08:09:02 -0800 (PST) Message-Id: <49FAE178-E4A7-406C-A0A1-D64E5C8868E1@googlemail.com> From: Little Bhudda To: John Baldwin In-Reply-To: <200912221033.49245.jhb@freebsd.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Tue, 22 Dec 2009 17:09:01 +0100 References: <644B6D20-37A0-49CB-8BE8-5E3E67C7C379@googlemail.com> <200912220805.59252.john@baldwin.cx> <24D4D117-6252-4AB6-9A0C-5F5F1B3BF3FB@googlemail.com> <200912221033.49245.jhb@freebsd.org> X-Mailer: Apple Mail (2.936) Cc: freebsd-ppc@freebsd.org Subject: Re: Mac Mini G4 1.5GHz Broadcomm bwi BCM4318 problems X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Dec 2009 16:09:05 -0000 John, I'm ok with messing with the sources, if you (and other people?) think that is worthwhile. I don't feel it's a good idea to do this without some support, however. Are you ok giving me some hints on what variables to monitor, and where in the source code? Thanks Rob > On Tuesday 22 December 2009 9:09:21 am Little Bhudda wrote: >> Hello John, >> >> Thanks for replying. I'm wondering if this should go to the mailing >> list as well? >> >> Just to make sure we've got everything clear: >> 1. I boot with the bwi module available to the kernel >> 2. The kernel recognises my BCM4318 device >> 3. I login and attempt to use ifconfig (I did ifconfig bwi0 up scan >> 4. The firmware kmod barfs with the error message I mentioned below. >> >> Now that we have that clear, the output of kgdb is attached here: > > It would probably be good to keep this on the list. From your kgdb > output you > have 16 free slots in your firmware table, so I'm not sure why it > isn't > finding a free slot. :( You could try adding some debugging printfs > to > the lookup() routine in src/sys/kern/subr_firmware.c perhaps. > > -- > John Baldwin