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

Bug#258061: marked as done ([PATCH] ACPI initialization hangs on Compaq Presario 2100)



Your message dated Wed, 25 Aug 2004 15:48:26 -0400
with message-id <E1C03kw-0006x5-00@newraff.debian.org>
and subject line Bug#258061: fixed in kernel-source-2.6.8 2.6.8-3
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 7 Jul 2004 12:46:58 +0000
>From bruno.diniz@gmail.com Wed Jul 07 05:46:58 2004
Return-path: <bruno.diniz@gmail.com>
Received: from master.debian.org [146.82.138.7] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BiBpB-0005ZE-00; Wed, 07 Jul 2004 05:46:58 -0700
Received: from ([127.0.0.1]) [200.97.6.159] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BiBpA-0001Mk-00; Wed, 07 Jul 2004 07:46:57 -0500
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Bruno Diniz de Paula <bruno.diniz@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: kernel-source-2.6.7: ACPI initialization hangs on Compaq Presario 2100
X-Mailer: reportbug 2.63
Date: Wed, 07 Jul 2004 09:47:00 -0300
X-Debbugs-Cc: bruno.diniz@gmail.com
Message-Id: <E1BiBpA-0001Mk-00@master.debian.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	OUR_MTA_MSGID,RCVD_IN_DSBL,X_DEBBUGS_CC autolearn=no 
	version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: kernel-source-2.6.7
Version: 2.6.7-2
Severity: important
Tags: patch

Hi,

I've sent a message to debian-kernel with no success, so I'm trying to
report a bug about this problem I've faced. In my Compaq Presario 2100,
when I boot the system with "acpi=on" as one of my kernel parameters,
the system hangs when trying to initialize ACPI (it has happened to all
2.6 versions I've tried). I've looked into the web to find out something
to fix this issue and I found a tiny patch that solved the problem. The 
patch basically disables APIC timer before ACPI initialization and 
re-enables it when ACPI initialization finishes. Below I write the patch
for your knowledgement.

Hope this helps solving the problem!

Thanks a lot,
Bruno.

diff -Bru linux-2.6.0-test8/arch/i386/kernel/apic.c
patched/arch/i386/kernel/apic.c
--- linux-2.6.0-test8/arch/i386/kernel/apic.c   2003-10-18
05:43:36.000000000 +0800
+++ patched/arch/i386/kernel/apic.c     2003-10-30 23:17:50.000000000
+0800
@@ -836,8 +836,8 @@
 {
        unsigned int lvtt1_value, tmp_value;

-       lvtt1_value = SET_APIC_TIMER_BASE(APIC_TIMER_BASE_DIV) |
-                       APIC_LVT_TIMER_PERIODIC | LOCAL_TIMER_VECTOR;
+       lvtt1_value = APIC_LVT_TIMER_PERIODIC | LOCAL_TIMER_VECTOR;
+
        apic_write_around(APIC_LVTT, lvtt1_value);

        /*
diff -Bru linux-2.6.0-test8/drivers/acpi/bus.c
patched/drivers/acpi/bus.c
--- linux-2.6.0-test8/drivers/acpi/bus.c        2003-10-18
05:43:19.000000000 +0800
+++ patched/drivers/acpi/bus.c  2003-10-30 23:20:32.000000000 +0800
@@ -589,6 +589,7 @@

        ACPI_FUNCTION_TRACE("acpi_bus_init");

+       disable_APIC_timer();
        status = acpi_initialize_subsystem();
        if (ACPI_FAILURE(status)) {
                printk(KERN_ERR PREFIX "Unable to initialize the ACPI
Interpreter\n");
@@ -643,6 +644,7 @@
                goto error1;
        }

+       enable_APIC_timer();
        printk(KERN_INFO PREFIX "Interpreter enabled\n");

        /*
@@ -672,6 +674,7 @@
 error1:
        acpi_terminate();
 error0:
+       enable_APIC_timer();
        return_VALUE(-ENODEV);
 }

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-k7
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages kernel-source-2.6.7 depends on:
ii  binutils                   2.14.90.0.7-8 The GNU assembler, linker and bina
ii  bzip2                      1.0.2-1       A high-quality block-sorting file 
ii  coreutils [fileutils]      5.0.91-2      The GNU core utilities
ii  fileutils                  5.0.91-2      The GNU file management utilities 

-- no debconf information

---------------------------------------
Received: (at 258061-close) by bugs.debian.org; 25 Aug 2004 19:53:07 +0000
>From katie@ftp-master.debian.org Wed Aug 25 12:53:07 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1C03pT-0005UI-00; Wed, 25 Aug 2004 12:53:07 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1C03kw-0006x5-00; Wed, 25 Aug 2004 15:48:26 -0400
From: Sven Luther <luther@debian.org>
To: 258061-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#258061: fixed in kernel-source-2.6.8 2.6.8-3
Message-Id: <E1C03kw-0006x5-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Wed, 25 Aug 2004 15:48:26 -0400
Delivered-To: 258061-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 5

Source: kernel-source-2.6.8
Source-Version: 2.6.8-3

We believe that the bug you reported is fixed in the latest version of
kernel-source-2.6.8, which is due to be installed in the Debian FTP archive:

kernel-doc-2.6.8_2.6.8-3_all.deb
  to pool/main/k/kernel-source-2.6.8/kernel-doc-2.6.8_2.6.8-3_all.deb
kernel-patch-debian-2.6.8_2.6.8-3_all.deb
  to pool/main/k/kernel-source-2.6.8/kernel-patch-debian-2.6.8_2.6.8-3_all.deb
kernel-source-2.6.8_2.6.8-3.diff.gz
  to pool/main/k/kernel-source-2.6.8/kernel-source-2.6.8_2.6.8-3.diff.gz
kernel-source-2.6.8_2.6.8-3.dsc
  to pool/main/k/kernel-source-2.6.8/kernel-source-2.6.8_2.6.8-3.dsc
kernel-source-2.6.8_2.6.8-3_all.deb
  to pool/main/k/kernel-source-2.6.8/kernel-source-2.6.8_2.6.8-3_all.deb
kernel-tree-2.6.8_2.6.8-3_all.deb
  to pool/main/k/kernel-source-2.6.8/kernel-tree-2.6.8_2.6.8-3_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 258061@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sven Luther <luther@debian.org> (supplier of updated kernel-source-2.6.8 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 25 Aug 2004 17:40:07 +0200
Source: kernel-source-2.6.8
Binary: kernel-source-2.6.8 kernel-doc-2.6.8 kernel-tree-2.6.8 kernel-patch-debian-2.6.8
Architecture: source all
Version: 2.6.8-3
Distribution: unstable
Urgency: high
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Sven Luther <luther@debian.org>
Description: 
 kernel-doc-2.6.8 - Linux kernel specific documentation for version 2.6.8
 kernel-patch-debian-2.6.8 - Debian patches to Linux 2.6.8
 kernel-source-2.6.8 - Linux kernel source for version 2.6.8 with Debian patches
 kernel-tree-2.6.8 - Linux kernel tree for building prepackaged Debian kernel images
Closes: 255931 256757 256871 257763 258061 261784 266731 266892 267338 267464
Changes: 
 kernel-source-2.6.8 (2.6.8-3) unstable; urgency=high
 .
   * Suggest libqt3-dev for xconfig (closes: #261784) (Andres Salomon).
 .
   * Update documentation (Christoph Hellwig).
 .
   * Add bio_uncopy_user leak fix from Kurt Garloff (closes: #256871)
     (Christoph Hellwig).
 .
   * Update scsi blacklist for USB multi card readers (Christoph Hellwig).
 .
   * Claim we're Windows (TM) to ACPI to work around broken BIOSes
     (Christoph Hellwig).
 .
   * Fix early boot crash on some oldworld Power Macs. (closes: #266731)
     (Christoph Hellwig).
 .
   * Add qdisc crash fix (closes: #266892) (Christoph Hellwig).
 .
   * Replace the drivers-scsi-sym53c8xx_revert workaround with
     drivers-scsi-sym_2-dv-hang, which is a proper fix for the hang
     (dann frazier).
 .
   * Enter ACPI mode earlier (closes: #258061) (Christoph Hellwig).
 .
   * Add a comment about the Adaptec firmware rebuild situation to
     README.Debian (closes: #256757) (Christoph Hellwig).
 .
   * Update bio_uncopy_user-memleak to really fix the problem
     (closes: #267464, #267338) (Christoph Hellwig).
 .
   * Update list of safe SCSI commands for SG_IO to match 2.6.9-rc1
     (Christoph Hellwig).
 .
   * Update CCISS driver (Christoph Hellwig).
 .
   * Add minix block accounting fix (Christoph Hellwig).
 .
   * Fix nfsd to not errornously return ESTALE on failed permission check
     (closes: #255931) (Christoph Hellwig).
 .
   * Fix SHM segment count limit off by one (Christoph Hellwig).
 .
   * Modularize xfrm_tunnel (Christoph Hellwig).
 .
   * Add small ACPI fix that makes speedstep work on some Centrino Laptops
     (closes: #257763) (Christoph Hellwig).
Files: 
 e11d871c94e4c2b80ea109ec281dc0a5 911 devel optional kernel-source-2.6.8_2.6.8-3.dsc
 d192fad5d8c8534399539270da0f57c0 546373 devel optional kernel-source-2.6.8_2.6.8-3.diff.gz
 04d63a08fbf900ef2fa305cc02ffd281 200988 devel optional kernel-patch-debian-2.6.8_2.6.8-3_all.deb
 046d99bea7140fabb523d919ea9d5a9e 302996 devel optional kernel-tree-2.6.8_2.6.8-3_all.deb
 d6c04d060fc960b8d1508d2591e7047d 34904884 devel optional kernel-source-2.6.8_2.6.8-3_all.deb
 39fe9e5c1746d42f3c8fe78f27745fe9 6144040 doc optional kernel-doc-2.6.8_2.6.8-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBLNnk2WTeT3CRQaQRAhlmAJ0WVH/vM3Md/zYovrmGmS1z528+rgCgooH8
i3y541uLYfJJCuEIR8fBMTs=
=gd5r
-----END PGP SIGNATURE-----



Reply to: