From owner-freebsd-stable@FreeBSD.ORG Thu Dec 3 15:24:02 2009 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 4FFE01065672; Thu, 3 Dec 2009 15:24:02 +0000 (UTC) (envelope-from lsantagostini@gmail.com) Received: from mail-iw0-f198.google.com (mail-iw0-f198.google.com [209.85.223.198]) by mx1.freebsd.org (Postfix) with ESMTP id DFF7D8FC0A; Thu, 3 Dec 2009 15:24:01 +0000 (UTC) Received: by iwn36 with SMTP id 36so919689iwn.3 for ; Thu, 03 Dec 2009 07:24:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=bVcnx6tHHSG/7/OR29tbYjE3HlZtEI9aF2oJk6JkQz4=; b=QjkRPX112ngZZcXmUGrBLuhjhkjOAKMuCOz8d+SsFd9bWRSnPOmP8Y9gfqQuKfBKXk pUL7g/DwvK2CBr1dihaHQCCCLqr2iNSVKsfXt7Um5dcrsv3lw0cX4YQBbIE688JNJlFe T5proaB4z+u3BzT266YG3TJJBkrJSr2NU62mE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=EiISumGlelfoiaoFXChwNPESfBs7lAKcrgnMDlqEyNZxhiPqELpXgL4o/KvSySy14p sAstMJFHfVRDYPZ/iIX2i+KK7EsGuLYBB8RlHK29AYOu1t/RdQme9XRpG3rjuGi/VA7L Xws28RHJ/+2cAO7GSbOswF4PXrIKgZ0SkM+Y4= MIME-Version: 1.0 Received: by 10.231.161.138 with SMTP id r10mr54459ibx.34.1259853841013; Thu, 03 Dec 2009 07:24:01 -0800 (PST) In-Reply-To: <87tyw8o5xk.fsf@kobe.laptop> References: <9ab7eeeb0912021757g5f60a7edw3256e60e745c0c35@mail.gmail.com> <87tyw8o5xk.fsf@kobe.laptop> Date: Thu, 3 Dec 2009 15:24:00 +0000 Message-ID: <9ab7eeeb0912030724w7acfad22r6c015bc0bd09aa4f@mail.gmail.com> From: Leonardo Santagostini To: Giorgos Keramidas Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org, Jung-uk Kim Subject: Re: Could you please fix this ? 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, 03 Dec 2009 15:24:02 -0000 No for 8.0 Release, sorry for the confussion, but yes in future releases Kind Regards Leonardo Santagostini 2009/12/3 Giorgos Keramidas : > On Thu, 3 Dec 2009 01:57:50 +0000, Leonardo Santagostini wrote: >> Hello everybody, >> >> I was facing one big problem, i have a notebook, which is an Acer >> Aspire 5920. =C2=A0If you like i can send to you my messages file. >> >> Which is: >> >> Intel(R) Core(TM)2 Duo CPU =C2=A0 =C2=A0 T5550 =C2=A0@ 1.83GHz (1833.48-= MHz 686-class CPU) >> Intel(R) PRO/Wireless 3945ABG >> Broadcom NetLink Gigabit Ethernet Controller >> 2 Gigs RAM >> 160 Gigs SATA >> >> The point was: >> With ACPI disabled, i managed to boot but without WIFI; and with ACPI >> enabled, the boot process hanged up all times. >> >> I fixed this adding >> >> =C2=A0 =C2=A0 if (device_get_unit(dev)=3D=3D2){ >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 pci_write_config(dev, PCIR_COMMAND, PCIM_CMD= _MEMEN | PCIM_CMD_PORTEN, 1); >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 pci_enable_busmaster(dev); >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 pci_write_config(dev, PCIR_IOBASEL_1, 0xf0, = 1); >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 pci_write_config(dev, PCIR_MEMBASE_1, 0xf020= , 2); >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 pci_write_config(dev, PCIR_MEMLIMIT_1, 0xf02= 0, 2); >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 pci_write_config(dev, PCIR_PMBASEL_1, 0xfff1= , 2); >> =C2=A0 =C2=A0 } >> =C2=A0 =C2=A0 if (device_get_unit(dev)=3D=3D3){ >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 pci_write_config(dev, PCIR_COMMAND, PCIM_CMD= _MEMEN | PCIM_CMD_PORTEN, 1); >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 pci_enable_busmaster(dev); >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 pci_write_config(dev, PCIR_IOBASEL_1, 0xf0, = 1); >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 pci_write_config(dev, PCIR_MEMBASE_1, 0xf030= , 2); >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 pci_write_config(dev, PCIR_MEMLIMIT_1, 0xf03= 0, 2); >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 pci_write_config(dev, PCIR_PMBASEL_1, 0xfff1= , 2); >> =C2=A0 =C2=A0 } >> >> to /usr/src/sys/dev/acpica/acpi_pcib_pci.c running on a 8.0-RELEASE >> >> I was able to fix it by my way but many people cant do it, so, i would >> really appreciate if you can add this piece of code. > > Hi Leonardo. > > Jung-uk Kim has done a lot of ACPI-related work, so he will probably > know if the change is ok to commit to stable/8. =C2=A0I've added him to t= he > thread, so he can let us know what he thinks of the change. =C2=A0Can you > please post a diff that also shows _where_ the changes have to be > installed in our current version of src/sys/dev/acpica/acpi_pcib_pci.c > for 8.0-RELEASE? > >