[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/kernel/F-7 linux-2.6-acpi-unblacklist-dell-gx240.patch, NONE, 1.1 kernel-2.6.spec, 1.3198, 1.3199



Author: davej

Update of /cvs/pkgs/rpms/kernel/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16897

Modified Files:
	kernel-2.6.spec 
Added Files:
	linux-2.6-acpi-unblacklist-dell-gx240.patch 
Log Message:
* Thu May 24 2007 Dave Jones <davej redhat com>
- Remove Dell Optiplex GX240 from the ACPI blacklist.


linux-2.6-acpi-unblacklist-dell-gx240.patch:

--- NEW FILE linux-2.6-acpi-unblacklist-dell-gx240.patch ---
>From davej  Wed May 23 17:33:54 2007
Return-Path: <linux-acpi-owner vger kernel org>
X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on
	gelk.kernelslacker.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,FORGED_RCVD_HELO,
	NO_REAL_NAME,UNPARSEABLE_RELAY autolearn=no version=3.1.8
Received: from pobox.devel.redhat.com [10.11.255.8]
	by gelk.kernelslacker.org with IMAP (fetchmail-6.3.6)
	for <davej localhost> (single-drop); Wed, 23 May 2007 17:33:54 -0400 (EDT)
Received: from pobox.devel.redhat.com ([unix socket])
	 by pobox.devel.redhat.com (Cyrus v2.2.12-Invoca-RPM-2.2.12-8.1.RHEL4) with LMTPA;
	 Wed, 23 May 2007 17:31:47 -0400
X-Sieve: CMU Sieve 2.2
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254])
	by pobox.devel.redhat.com (8.13.1/8.13.1) with ESMTP id l4NLVlpG032241
	for <davej pobox devel redhat com>; Wed, 23 May 2007 17:31:47 -0400
Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31])
	by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l4NLVkpU029647;
	Wed, 23 May 2007 17:31:46 -0400
Received: from vger.kernel.org (vger.kernel.org [209.132.176.167])
	by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l4NJIQrC021439;
	Wed, 23 May 2007 17:31:45 -0400
Received: (majordomo vger kernel org) by vger.kernel.org via listexpand
	id S1755625AbXEWVYq (ORCPT <rfc822;prarit redhat com> + 1 other);
	Wed, 23 May 2007 17:24:46 -0400
Received: (majordomo vger kernel org) by vger.kernel.org id S1755898AbXEWVYq
	(ORCPT <rfc822;linux-acpi-outgoing>);
	Wed, 23 May 2007 17:24:46 -0400
Received: from smtp1.linux-foundation.org ([207.189.120.13]:57412 "EHLO
	smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK)
	by vger.kernel.org with ESMTP id S1755684AbXEWVYp (ORCPT
	<rfc822;linux-acpi vger kernel org>);
	Wed, 23 May 2007 17:24:45 -0400
X-Greylist: delayed 661 seconds by postgrey-1.27 at vger.kernel.org; Wed, 23 May 2007 17:24:44 EDT
Received: from shell0.pdx.osdl.net (fw.osdl.org [65.172.181.6])
	by smtp1.linux-foundation.org (8.13.5.20060308/8.13.5/Debian-3ubuntu1.1) with ESMTP id l4NLCVvd022824
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Wed, 23 May 2007 14:12:32 -0700
Received: from localhost.localdomain (shell0.pdx.osdl.net [10.9.0.31])
	by shell0.pdx.osdl.net (8.13.1/8.11.6) with ESMTP id l4NLCUrC032160;
	Wed, 23 May 2007 14:12:31 -0700
Message-Id: <200705232112 l4NLCUrC032160 shell0 pdx osdl net>
Subject: [patch 6/6] Remove Dell Optiplex GX240 from the ACPI blacklist
To: lenb kernel org
Cc: linux-acpi vger kernel org, akpm linux-foundation org, tarrqt yahoo com
From: akpm linux-foundation org
Date: 	Wed, 23 May 2007 14:12:30 -0700
X-MIMEDefang-Filter: osdl$Revision: 1.179 $
X-Scanned-By: MIMEDefang 2.53 on 207.189.120.13
Sender: linux-acpi-owner vger kernel org
Precedence: bulk
X-Mailing-List: 	linux-acpi vger kernel org
X-RedHat-Spam-Score: 0.55 
Status: RO
Content-Length: 2331
Lines: 62

From: Tear <tarrqt yahoo com>

I have a Dell Optiplex GX240 and when I boot Linux, ACPI gets set up by only
acpi=ht.  dmesg shows the following line:

   DELL GX240 detected: force use of acpi=ht

Everything seemed to be fine.  However, I discovered that everything is not
fine.  The USB controller works so slowly that copying a few (uncached) 1
megabyte large photos from a USB-enabled digital camera takes many minutes
instead of a couple of seconds.

I am using Linux 2.6.21.1 on a Debian 4.0 ("Etch") system.

I thought that this might be related to ACPI.  So I tried to boot with _only_
"acpi=force" appended to the kernel command line.  Voila, the USB controller
started to work at full speed and copying photos from my digital camera took
only seconds.

I tested the system with "acpi=force" and could not find anything which did
not work.  So, can we please remove Dell Optiplex GX240 from the blacklist in

..../arch/i386/kernel/acpi/boot.c

?  The attached patch does just that: It removes Dell Optiplex GX240 from the
ACPI blacklist.

I thought that this might be related to interrupts and APIC as well.  (Note
that this is APIC, not ACPI.) I tried booting with _only_ "noapic" and
"nolapic" appended to the command line.  Again, the USB controller started to
work at full speed.

Cc: Len Brown <lenb kernel org>
Signed-off-by: Andrew Morton <akpm linux-foundation org>
---

 arch/i386/kernel/acpi/boot.c |    8 --------
 1 files changed, 8 deletions(-)

diff -puN arch/i386/kernel/acpi/boot.c~remove-dell-optiplex-gx240-from-the-acpi-blacklist arch/i386/kernel/acpi/boot.c
--- a/arch/i386/kernel/acpi/boot.c~remove-dell-optiplex-gx240-from-the-acpi-blacklist
+++ a/arch/i386/kernel/acpi/boot.c
@@ -971,14 +971,6 @@ static struct dmi_system_id __initdata a
 	 },
 	{
 	 .callback = force_acpi_ht,
-	 .ident = "DELL GX240",
-	 .matches = {
-		     DMI_MATCH(DMI_BOARD_VENDOR, "Dell Computer Corporation"),
-		     DMI_MATCH(DMI_BOARD_NAME, "OptiPlex GX240"),
-		     },
-	 },
-	{
-	 .callback = force_acpi_ht,
 	 .ident = "HP VISUALIZE NT Workstation",
 	 .matches = {
 		     DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),
_
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo vger kernel org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-7/kernel-2.6.spec,v
retrieving revision 1.3198
retrieving revision 1.3199
diff -u -r1.3198 -r1.3199
--- kernel-2.6.spec	24 May 2007 15:35:50 -0000	1.3198
+++ kernel-2.6.spec	24 May 2007 15:42:58 -0000	1.3199
@@ -638,6 +638,7 @@
 Patch2403: linux-2.6-clockevents-fix-resume-logic.patch
 
 # ACPI bits
+Patch2500: linux-2.6-acpi-unblacklist-dell-gx240.patch
 Patch2501: linux-2.6-acpi-dock-oops.patch
 
 # Excessive wakeups.
@@ -1435,6 +1436,8 @@
 %patch2403 -p1
 
 # ACPI patches
+# Remove Dell Optiplex GX240 from the ACPI blacklist
+%patch2500 -p1
 # Fix ACPI dock oops (#238054)
 %patch2501 -p1
 
@@ -2415,6 +2418,9 @@
 
 %changelog
 * Thu May 24 2007 Dave Jones <davej redhat com>
+- Remove Dell Optiplex GX240 from the ACPI blacklist.
+
+* Thu May 24 2007 Dave Jones <davej redhat com>
 - softirqs: print out irq-trace events. (#240982)
 
 * Thu May 24 2007 Dave Jones <davej redhat com>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]