NetBSD-Bugs archive

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

Re: install/47224



The following reply was made to PR install/47224; it has been noted by GNATS.

From: Imre Vadasz <imre%vdsz.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: install/47224
Date: Thu, 6 Dec 2012 01:26:18 +0100

 a) Try disabling C1E in the bios if that is possible.
 If C1E cannot be disabled in the bios, you can try the appended patch,
 which disables C1E on AMD k8 cpus (like the tl-60) which belong to
 family 0x0f.
 That patch fixes a problem with identical symptoms on my HP 6715s
 notebook, which has almost the same hardware.
 
 When your system freezes during bootup, try pressing random keys for
 a while, if NetBSD slowly continues to boot, then your problem is
 definitely caused by an enabled C1E mode.
 When the cpu goes into C1E power-saving mode, no more timer-interrupts
 are received by the OS. Pressing keys on the keyboard or otherwise
 putting load on the system causes some of the interrupts to come through.
 
 b)I also experienced problems on boot when the ohci driver was enabled,
 using 6.99.15 on my HP 6715s notebook.
 The problem caused by ohci manifested in a blanked screen and a frozen
 system on some bootups.
 I worked around that problem by disabling ohci.
 
 A patch for the C1E problem, which also disables C1E on AMD K8 cpus
 (family 0x0f) (current code in HEAD only disables C1E on families 0x10
 and 0x11).
 
 Index: sys/arch/x86/acpi/acpi_cpu_md.c
 ===================================================================
 RCS file: /cvsroot/src/sys/arch/x86/acpi/acpi_cpu_md.c,v
 retrieving revision 1.71
 diff -u -r1.71 acpi_cpu_md.c
 --- sys/arch/x86/acpi/acpi_cpu_md.c    11 Feb 2012 22:09:47 -0000      1.71
 +++ sys/arch/x86/acpi/acpi_cpu_md.c    5 Dec 2012 16:09:37 -0000
 @@ -252,6 +252,9 @@
  
                case 0x0f:
  
 +                      if (rdmsr_safe(MSR_CMPHALT, &msr) != EFAULT)
 +                              val |= ACPICPU_FLAG_C_C1E;
 +
                        /*
                         * Evaluate support for the "FID/VID
                         * algorithm" also used by powernow(4).
 


Home | Main Index | Thread Index | Old Index