From owner-freebsd-mobile@FreeBSD.ORG Sat Oct 7 16:46:44 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 788C816A412 for ; Sat, 7 Oct 2006 16:46:44 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE08B43D5C for ; Sat, 7 Oct 2006 16:46:43 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0J6R00972YLU5WB0@osl1smout1.broadpark.no> for freebsd-mobile@freebsd.org; Sat, 07 Oct 2006 18:46:43 +0200 (CEST) Received: from kg-work.kg4.no ([80.203.21.224]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with SMTP id <0J6R00HHDYLUGR80@osl1sminn1.broadpark.no> for freebsd-mobile@freebsd.org; Sat, 07 Oct 2006 18:46:42 +0200 (CEST) Date: Sat, 07 Oct 2006 18:46:42 +0200 From: Torfinn Ingolfsen X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH In-reply-to: <20061007150103.GL4945@poupinou.org> To: freebsd-mobile@freebsd.org Message-id: <20061007184642.3869de58.torfinn.ingolfsen@broadpark.no> MIME-version: 1.0 X-Mailer: Sylpheed version 2.2.9 (GTK+ 2.8.20; i386-portbld-freebsd5.5) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <20060930001213.a59d721c.torfinn.ingolfsen@broadpark.no> <20061002124116.GF4945@poupinou.org> <20061002203457.22fe5007.torfinn.ingolfsen@broadpark.no> <20061003082804.GG4945@poupinou.org> <20061003205438.26110696.torfinn.ingolfsen@broadpark.no> <20061004120243.GI4945@poupinou.org> <20061005194343.18138f38.torfinn.ingolfsen@broadpark.no> <20061007150103.GL4945@poupinou.org> Subject: Re: Acer Aspire 5672 and FreeBSD 6.2-beta1 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Oct 2006 16:46:44 -0000 On Sat, 07 Oct 2006 17:01:03 +0200 Bruno Ducrot wrote: > Thanks. The device do not have a BAR when acpi is enabled. We > therefore have to enable one. I think just by poking aroud some pci > config registers onto the pci bridge will do the trick. Your Ok. I'm wondering; will output from lspci under Linux help you get at the info more easily? I have Xubuntu installed on a partition on this machine, so it is easy for me to do that, if you wish. > Looking at this datasheet I think we have to look more carrefully to > register 0x04 (halfword), 0x20h, 0x24, 0x28 and 0x2c. > Looking them both with and without acpi and comparing them will allows > us to know hopefully how to enable the first BAR to the correct adress > for your ethernet card. In short, if you can first boot without ACPI, > then perform > pciconf -r -h pci0:28:2 4 > pciconf -r pci0:28:2 0x20 > pciconf -r pci0:28:2 0x24 > pciconf -r pci0:28:2 0x28 > pciconf -r pci0:28:2 0x2c > > Also do a dump in order to check if something else might be needed: > pciconf -r -b pci0:28:2 0:256 > > Boot with ACPI enabled: > do the same pciconf stuff, then send me the output. Done. I've sent you the files via email, and also uploaded them to the web page, in case anyone else wants them for some reason. Webpage: http://tingox.googlepages.com/aceraspireas5672andfreebsd > After that, we should be able to correct your problem, either by > 1- hacking the DSDT, > OR > 2- hacking pcib.c. > (at your option). I think hacking the DSDT is the more politically correct option, but either one will work for me. -- Regards, Torfinn Ingolfsen, Norway