http://bugzilla.kernel.org/show_bug.cgi?id=11516





------- Comment #44 from [EMAIL PROTECTED]  2008-10-10 22:17 -------
Great thanks to everyone for the fixes for this! 
However, there still remains a niggle:

Having merged Linus' and Ingo's -tip trees of [EMAIL PROTECTED]:30 EDT :

$ git remote add linus \
   git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
$ git remote add tip \
   git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git
$ git remote update
$ git checkout -b jvd tip/master

and built the resulting kernel, I now get this warning:

[    0.000000] ------------[ cut here ]------------
[    0.000000] WARNING: at arch/x86/kernel/acpi/boot.c:1410
dmi_ignore_irq0_timer_override+0x30/0x60()
[    0.000000] ati_ixp4x0 quirk not complete.
[    0.000000] Modules linked in:
[    0.000000] Pid: 0, comm: swapper Not tainted 2.6.27-jvd #1
[    0.000000] Call Trace:
[    0.000000]  [<ffffffff8024bd87>] warn_slowpath+0xb7/0xe0
[    0.000000]  [<ffffffff80213500>] ? nommu_map_single+0x30/0x70
[    0.000000]  [<ffffffff8024d077>] ? printk+0x67/0x70
[    0.000000]  [<ffffffff809871ca>] ? __reserve_early+0x7a/0xe0
[    0.000000]  [<ffffffff806bbab3>] ? init_memory_mapping+0x633/0x720
[    0.000000]  [<ffffffff80980140>] ? early_idt_handler+0x0/0x72
[    0.000000]  [<ffffffff8098baf0>] dmi_ignore_irq0_timer_override+0x30/0x60
[    0.000000]  [<ffffffff805a69f4>] dmi_check_system+0x74/0xc0
[    0.000000]  [<ffffffff8098c545>] acpi_boot_table_init+0x15/0xf0
[    0.000000]  [<ffffffff809850b5>] setup_arch+0x3f5/0x840
[    0.000000]  [<ffffffff80980140>] ? early_idt_handler+0x0/0x72
[    0.000000]  [<ffffffff806dadb6>] ? _spin_unlock+0x26/0x30
[    0.000000]  [<ffffffff80980140>] ? early_idt_handler+0x0/0x72
[    0.000000]  [<ffffffff80980cb1>] start_kernel+0x71/0x410
[    0.000000]  [<ffffffff8098027c>] x86_64_start_reservations+0x7c/0xc0
[    0.000000]  [<ffffffff809803da>] x86_64_start_kernel+0xea/0x110
[    0.000000] ---[ end trace 4eaa2a86a8e2da22 ]---
[    0.000000] HP 6715b laptop detected: Ignoring BIOS IRQ0 pin2 override

Trying to follow the LKML thread
  "[PATCH] x86 ACPI: Blacklist two HP machines with buggy BIOSes (Re:
2.6.27-rc8+ - first impressions)"
it seems you've applied two fixes for this :

1) Adding an "early-quirk" to x86/kernel/early-quirks.c :
@181:
        { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP400_SMBUS,
          PCI_CLASS_SERIAL_SMBUS, PCI_ANY_ID, 0, ati_bugs },

2) "Blacklisting" HP 6715b laptops so that they assert 
   acpi_skip_timer_override==1 IFF the early quirk did not succeed 
   in arch/x86/kernel/acpi/boot.c, which is now generating the warning :
@1403:
static int __init dmi_ignore_irq0_timer_override(const struct dmi_system_id *d)
{
        /*
         * The ati_ixp4x0_rev() early PCI quirk should have set
         * the acpi_skip_timer_override flag already:
         */
        if (!acpi_skip_timer_override) {
                WARN(1, KERN_ERR "ati_ixp4x0 quirk not complete.\n");
                pr_notice("%s detected: Ignoring BIOS IRQ0 pin2 override\n",
                        d->ident);
                acpi_skip_timer_override = 1;
        }
        return 0;
}


Evidently, the code in early-quirks.c did not recognize mine as a "problem"
system - my dsdt.dsl begins:
/*
 * Intel ACPI Component Architecture
 * AML Disassembler version 20080926
 *
 * Disassembly of dsdt, Mon Sep 29 21:40:26 2008
 *
 *
 * Original Table Header:
 *     Signature        "DSDT"
 *     Length           0x0001193C (71996)
 *     Revision         0x01 **** ACPI 1.0, no 64-bit math support
 *     Checksum         0x0C
 *     OEM ID           "HP    "
 *     OEM Table ID     "SB400"
 *     OEM Revision     0x00010000 (65536)
 *     Compiler ID      "MSFT"
 *     Compiler Version 0x03000001 (50331649)
 */

and my SMBus identifies as :
 $ lspci -nn | grep SMBus
00:14.0 SMBus [0c05]: ATI Technologies Inc SB600 SMBus [1002:4385] (rev 14)

So mine is an "SB600", not an "SB400" / "SB450" ??

The #define PCI_DEVICE_ID_ATI_IXP400_SMBUS is :
include/linux/pci_ids.h:369:#define PCI_DEVICE_ID_ATI_IXP400_SMBUS    0x4372
whereas my PCI ID is defined as:
include/linux/pci_ids.h:374:#define PCI_DEVICE_ID_ATI_SBX00_SMBUS     0x4385

So I'm trying this patch:
<PATCH>
--- early-quirks.c~     2008-10-10 22:32:34.000000000 -0400
+++ early-quirks.c      2008-10-11 01:07:49.000000000 -0400
@@ -178,6 +178,8 @@
          PCI_CLASS_BRIDGE_HOST, PCI_ANY_ID, 0, fix_hypertransport_config },
        { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP400_SMBUS,
          PCI_CLASS_SERIAL_SMBUS, PCI_ANY_ID, 0, ati_bugs },
+       { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_SBX00_SMBUS,
+         PCI_CLASS_SERIAL_SMBUS, PCI_ANY_ID, 0, ati_bugs },
 #ifdef CONFIG_DMAR
        { PCI_VENDOR_ID_INTEL, 0x29c0,
          PCI_CLASS_BRIDGE_HOST, PCI_ANY_ID, 0, intel_g33_dmar },
</PATCH>

Perhaps you might consider also applying this ?

Also, RE: Comment #35:
> Yes, these should be fixed by this commit:
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=07454bfff151d2465ada809bbaddf3548cc1097c

No, those USB event change messages are still with me:

[ 2971.204312] hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 2971.204322] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 2971.454090] hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 2971.454097] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 2971.704074] hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 2971.704081] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 2971.954075] hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 2971.954082] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 2972.204314] hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 2972.204321] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 2972.454326] hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 2972.454334] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 2972.704318] hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 2972.704326] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 2972.954073] hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 2972.954079] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000

usbcore's hub.c seems to be vigorously reporting that it has nothing to report
-
no USB devices are connected to any hub.

Any ideas what caused them to appear in 2.6.27-rc5 going from 2.6.26-rc9 ?

TIA, Jason


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to