From owner-freebsd-stable@FreeBSD.ORG Thu Sep 23 16:08:43 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29385106566C for ; Thu, 23 Sep 2010 16:08:43 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from thalia-smout.broadpark.no (thalia-smout.broadpark.no [80.202.8.21]) by mx1.freebsd.org (Postfix) with ESMTP id D9D128FC08 for ; Thu, 23 Sep 2010 16:08:42 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from terra-smin.broadpark.no ([80.202.8.13]) by thalia-smout.broadpark.no (Sun Java(tm) System Messaging Server 7u3-15.01 64bit (built Feb 12 2010)) with ESMTP id <0L9700F0VJIH0R70@thalia-smout.broadpark.no> for freebsd-stable@freebsd.org; Thu, 23 Sep 2010 18:08:41 +0200 (CEST) Received: from kg-v2.kg4.no ([80.203.109.34]) by terra-smin.broadpark.no (Sun Java(tm) System Messaging Server 7u3-15.01 64bit (built Feb 12 2010)) with SMTP id <0L9700IKDJIGF3W0@terra-smin.broadpark.no> for freebsd-stable@freebsd.org; Thu, 23 Sep 2010 18:08:41 +0200 (CEST) Date: Thu, 23 Sep 2010 18:08:40 +0200 From: Torfinn Ingolfsen To: freebsd-stable@freebsd.org Message-id: <20100923180840.ac828e05.torfinn.ingolfsen@broadpark.no> In-reply-to: <4C9A7943.1020806@gmail.com> References: <4C9A7943.1020806@gmail.com> X-Mailer: Sylpheed 3.0.3 (GTK+ 2.20.1; amd64-portbld-freebsd8.0) 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 Subject: Re: wifi issues under -stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2010 16:08:43 -0000 On Wed, 22 Sep 2010 16:46:43 -0500 Jim Bryant wrote: > One (this one) has an intel pro wireless 3945ABG installed, which returns: > > wpi0: irq 18 at device 0.0 on pci6 > wpi0: Driver Revision 20071127 > wpi0: 0x1000 bytes of rid 0x10 res 3 failed (0, 0xffffffffffffffff). > wpi0: could not allocate memory resource > device_attach: wpi0 attach returned 6 > > and the broadcom used in the other does the exact same thing. > > I'm thinking that this isn't really a problem with the wifi, but may be > a mini-pci-e issue. More likelely, it is ACPI-related. Simply put: many laptops have broken ACPI implementations. Other OS'es might have a workaround for them, but FreeBSD does not. Since almost none of todays' laptops work correctly with ACPI disabled, this is a major pain. (Some laptops overheat when ACPI is disbled, because of disabled thermal management). You can try to figure out if the problem is acpi-related with the following hint in /boot/loader.conf (but beware of thermal problems; don't run the laptop too long with acpi disabled): hint.acpi.0.disabled="1" > does anyone know how to solve this problem? Well, if you can identify exactly where the problem is, you might be able to work around it. However, the task isn't easy. Sometimes, forcing IRQ routing might help (but at least in 7.x this only works with acpi disabled). Using other OS'es (Linux) to identify if they do something different with the resources (irq, memeory etc. for devices) migh help pointing out wherer the problem might be. However, you will be speninding some time comparing outputs from a FreeBSD verbose boot with the same information from Linux. (This thread reminds me that I should test FreeBSD 8.1 on my old Acer laptop, which have acpi problems, and haven't worked with 6.0 - 8.0.) -- Torfinn