From owner-freebsd-acpi@FreeBSD.ORG Wed Sep 12 05:15:58 2007 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B843116A418 for ; Wed, 12 Sep 2007 05:15:58 +0000 (UTC) (envelope-from piloyder@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id 2245913C48A for ; Wed, 12 Sep 2007 05:15:57 +0000 (UTC) (envelope-from piloyder@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so79018nfb for ; Tue, 11 Sep 2007 22:15:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=RD/P2An80RtyEkoiFh+JtVO2uWtdkfuxfCRCpL8j63E=; b=naG/WMPEjBDhj6bTXJ5Bvx4fUa2ID9ekaCnpRm+yx6ITLkaT59a8E0TZQpT8BGr2PM1b9aYUDxLVZXGu24Ay6i2NFnUeLys0PJ6Q1yHp9UreFt8AL0TVbNw+4anT86i2Sn7bvuberh4qAYuS8u6+0a7YjOHhWZ/K6b4qw/AVGxA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IjqDhjR9zkBb7pWH8TsG8Gwj3SXFURCOW6YCAOboIa+FSnYBOlELKT4L5hongV8Tsie6We1NXYJBtPD7pWElWfls3oputt3MJOcqqzgUco0u8yhQvrWNa2VAZ6swGZ/RKxfj2oJJ/TDSOxFlyTKk3ZQq1eYKcFA3fQYZ4xr+LzU= Received: by 10.86.98.18 with SMTP id v18mr5119593fgb.1189574156819; Tue, 11 Sep 2007 22:15:56 -0700 (PDT) Received: by 10.86.62.15 with HTTP; Tue, 11 Sep 2007 22:15:56 -0700 (PDT) Message-ID: <325305250709112215o5b26f3fbj1522413689b1ff6f@mail.gmail.com> Date: Wed, 12 Sep 2007 09:15:56 +0400 From: Denis To: "Jung-uk Kim" In-Reply-To: <200709111454.05746.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <325305250709010712n4bd0d62l9a144572441cf3dc@mail.gmail.com> <200709111201.39306.jkim@FreeBSD.org> <325305250709111136o737a176bufdd06bfeff377fc@mail.gmail.com> <200709111454.05746.jkim@FreeBSD.org> Cc: freebsd-acpi@freebsd.org Subject: Re: ACPI error on Compaq nc6220, FreeBSD 7.0 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Sep 2007 05:15:58 -0000 > > > That is strange because I can compile kernel with or without it. > > > In fact, I have been using it without the acfreebsd.h patch for > > > months. :-( > > > OsdSynch.c may have been corrupt. Can you revert the three files, > download the patch again from the URL, re-apply, and recompile? Yes, I did it. Patch, that you sent me directly have different size than that your gave a link. I revert all files back, downloaded patch from the link, patched all but acfreebsd.h and got next error: --- cc -O -pipe -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I/usr/src/sys/modules/acpi/acpi/../../../contrib/dev/acpica -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/GENERIC -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/Osd/OsdSynch.c /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/Osd/OsdSynch.c:254: error: expected declaration specifiers or '...' before numeric constant /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/Osd/OsdSynch.c:254: error: expected declaration specifiers or '...' before numeric constant /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/Osd/OsdSynch.c:255: error: conflicting types for 'AcpiOsCreateSemaphore' /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/Osd/OsdSynch.c:93: error: previous definition of 'AcpiOsCreateSemaphore' was here /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/Osd/OsdSynch.c:278: error: expected identifier or '(' before 'void' /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/Osd/OsdSynch.c:294: error: expected declaration specifiers or '...' before numeric constant /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/Osd/OsdSynch.c:295: error: conflicting types for 'AcpiOsWaitSemaphore' /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/Osd/OsdSynch.c:142: error: previous definition of 'AcpiOsWaitSemaphore' was here /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/Osd/OsdSynch.c:338: error: expected identifier or '(' before 'void' *** Error code 1 Stop in /usr/src/sys/modules/acpi/acpi. *** Error code 1 Stop in /usr/src/sys/modules/acpi. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. --- But when I patched all 3 files, kernel compiled fine, but I got another kernel panic (see next mail) Best regards, Denis.