From owner-freebsd-bugs@FreeBSD.ORG Sat May 30 08:20:01 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 980A21065676 for ; Sat, 30 May 2009 08:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 72B828FC14 for ; Sat, 30 May 2009 08:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n4U8K1rq000537 for ; Sat, 30 May 2009 08:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n4U8K1Ye000536; Sat, 30 May 2009 08:20:01 GMT (envelope-from gnats) Resent-Date: Sat, 30 May 2009 08:20:01 GMT Resent-Message-Id: <200905300820.n4U8K1Ye000536@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mario Pavlov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBB96106564A for ; Sat, 30 May 2009 08:11:24 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 8F80E8FC15 for ; Sat, 30 May 2009 08:11:24 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n4U8BNee028279 for ; Sat, 30 May 2009 08:11:24 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n4U8BNK8028278; Sat, 30 May 2009 08:11:23 GMT (envelope-from nobody) Message-Id: <200905300811.n4U8BNK8028278@www.freebsd.org> Date: Sat, 30 May 2009 08:11:23 GMT From: Mario Pavlov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/135070: [acpi] BIOS resource allocation and FreeBSD ACPI X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 May 2009 08:20:01 -0000 >Number: 135070 >Category: kern >Synopsis: [acpi] BIOS resource allocation and FreeBSD ACPI >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat May 30 08:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Mario Pavlov >Release: 7-STABLE, 8-CURRENT >Organization: >Environment: FreeBSD 8.0-CURRENT-200905 FreeBSD 8.0-CURRENT-200905 #0: Tue May 19 19:47:24 EEST 2009 root@:/usr/obj/usr/src/sys/GENERIC i386 >Description: The problem is on many laptops (mostly Acer). If I understand it correctly it's because some BIOSes clear the resources for various hardware when ACPI is enabled. And apparently FreeBSD relies on the BIOS to allocated resources for hardware. Probably FreeBSD would have to be able to allocate resources on its own. This is a piece of verbose output on my Acer Aspire 5920: ================================================================================== bge0: irq 17 at device 0.0 on pci8 pcib3: bge0 requested unsupported memory range 0-0xffffffffffffffff (decoding 0-0, 0-0) bge0: 0x10000 bytes of rid 0x10 res 3 failed (0, 0xffffffffffffffff). bge0: couldn't map memory device_attach: bge0 attach returned 6 ================================================================================== more verbose and complete output can be found here: http://lists.freebsd.org/pipermail/freebsd-mobile/2008-May/010727.html the same happens with Acer Aspire 3680: ================================================================================== ath0: irq 17 at device 0.0 on pci3 ath0: 0x10000 bytes of rid 0x10 res 3 failed (0, 0xffffffff). ath0: cannot map register space device_attach: ath0 attach returned 6 ================================================================================== complete dmesg output for this laptop can be found here: http://forums.freebsd.org/showthread.php?t=206 as well as more information about the problem exactly the same problem has been reported with Acer Aspire 6292 I'm positive that other laptops have the same problem. these are different laptops with different hardware but have the same problem that's why I think it's the BIOS resource allocation and ACPI I have updated my laptop's BIOS to the latest version from Acer but this didn't fix the problem... I tried several operating systems: FreeBSD - doesn't work NetBSD - doesn't work OpenSolaris - works Linux - works Windows - works it would be absolutely fantastic if someone could take a look at this issue! I'm always available for testing and providing more information >How-To-Repeat: the problem can be easily reproduced if you have Acer Aspire 5920, 3680, 6292 or other Acer laptop, possibly laptops from other vendors have this problem... the problem can be seen when you just boot FreeBSD, it boots fine but you can see the allocation problem in the output >Fix: there is a very dirty hack by a guy who has one of the problematic laptops the patch can be found here: http://lists.freebsd.org/pipermail/freebsd-acpi/2008-May/004905.html >Release-Note: >Audit-Trail: >Unformatted: