From owner-freebsd-amd64@FreeBSD.ORG Sat Nov 21 11:20:02 2009 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE0CE1065679 for ; Sat, 21 Nov 2009 11:20:02 +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 40BF08FC20 for ; Sat, 21 Nov 2009 11:20:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nALBK2Re007210 for ; Sat, 21 Nov 2009 11:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nALBK2LM007209; Sat, 21 Nov 2009 11:20:02 GMT (envelope-from gnats) Resent-Date: Sat, 21 Nov 2009 11:20:02 GMT Resent-Message-Id: <200911211120.nALBK2LM007209@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Chen Neko Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 181FE106568B for ; Sat, 21 Nov 2009 11:10:17 +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 E08128FC12 for ; Sat, 21 Nov 2009 11:10:16 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nALBAGJH042612 for ; Sat, 21 Nov 2009 11:10:16 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nALBAGxZ042593; Sat, 21 Nov 2009 11:10:16 GMT (envelope-from nobody) Message-Id: <200911211110.nALBAGxZ042593@www.freebsd.org> Date: Sat, 21 Nov 2009 11:10:16 GMT From: Chen Neko To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Sat, 21 Nov 2009 12:27:23 +0000 Cc: Subject: amd64/140751: BIOS resource allocation and FreeBSD ACPI in TOSHIBA laptop X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Nov 2009 11:20:02 -0000 >Number: 140751 >Category: amd64 >Synopsis: BIOS resource allocation and FreeBSD ACPI in TOSHIBA laptop >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Nov 21 11:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Chen Neko >Release: 8.0 Current RC-3 amd64 >Organization: >Environment: FreeBSD 8.0-RC3 #2: Sat Nov 21 17:43:43 JST 2009 root@:/usr/obj/usr/src/sys/EpopenKernel >Description: Hello... FreeBSD team. The problem is on my laptop (TOSHIBA M800 with least newest BIOS). After Google search, The problem look like BIOS?ACPI? to allocated resources for hardware problem. I think ACPI for TOSHIBA kernel code have problem (bug?).... Probably FreeBSD would have to be able to allocate resources on its own. This is a piece of verbose output on my TOSHIBA M800: PS1: GENERIC and my own kernel configure have same problem. PS2: My own kernel configure add "device acpi_toshiba", But have it or not, Always get same problem ================================================================================== mskc0: irq 16 at device 0.0 on pci7 mskc0: 0x4000 bytes of rid 0x10 res 3 failed (0, 0xffffffffffffffff). mskc0: unknown device: id=0xff, rev=0x0f device_attach: mskc0 attach returned 6 ================================================================================== Note: The laptop have Intel 5100 agn wifi adapter, But RC-3 can't recognize and drive it(Add "device iwn" in kernel configure). I had been try under two: 1.Use third party driver code(http://techwires.net/~bschmidt/patches/freebsd/iwn/) in 8.0 RC-2 2.Use Marvell official binary driver package in 7-Stable amd64 But either get same problem under... ================================================================================== iwn0: irq 17 at device 0.0 on pci8 iwn0: 0x2000 bytes of rid 0x10 res 3 failed (0, 0xffffffffffffffff). iwn0: could not allocate memory resources device_attach: iwn0 attach returned 12 ================================================================================== Two error message look like same, I think all of same problem cause... more verbose and complete output and complete "dmesg -a" output can be found here: http://forums.freebsd.org/showpost.php?p=46261&postcount=41 I had tried disable ACPI... But it is impossible, Because.... 1.TOSHIBA BIOS cmos option haven't any about ACPI option. 2.Remove "device acpi" in kernel configure, But kernel panic because can't recognize hard disk drive. It would be absolutely fantastic if someone could take a look at this issue! I'm always available for testing and providing more information I gauss other(ALL?) TOSHIBA laptop have same problem. If need more and more test or information, Please tell me. Thanks FreeBSD team :D >How-To-Repeat: The problem can be easily reproduced.. 1.First boot after installion. 2.Boot after kernel complier. >Fix: none >Release-Note: >Audit-Trail: >Unformatted: