Jukka Ruohonen | 1 Feb 2012 13:15
Picon
Picon
Favicon

Re: AMD FX-6100 boot pauses with ACPI

On Wed, Feb 01, 2012 at 09:56:22AM +0000, Ian Clark wrote:
> Yup, I think it's 0x15. Even checked with a printf  in the above code
> to be sure. :) (As I don't really know what I'm doing.)
> 
> However applying the above didn't seem to change anything.

The last time I checked, AMD did not have a BKDG ("bios and kernel
developer's guide") for family 15h yet, so I don't know about the
details of C1E on Bulldozers. Of course this is entirely NetBSD's fault,
as all C1E-problems are caused by the fact that C-states are not generally
supported, whatever their name may be.

> When fiddling again last night I did notice the bios setting has 'on,
> off and auto', is there any chance that 'on' could be causing the
> above to be ignored?

Could be, but no idea.

> (root:/usr2/src)# cvs diff sys/arch/x86/acpi/acpi_cpu_md.c
> 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.69
> diff -r1.69 acpi_cpu_md.c
> 269a270
> >               case 0x15:

Yes.

> AS the problem can be addressed by flipping a setting I'm not worried
(Continue reading)

Christoph Egger | 1 Feb 2012 14:09
Picon
Picon

Re: AMD FX-6100 boot pauses with ACPI

On 02/01/12 13:15, Jukka Ruohonen wrote:
> On Wed, Feb 01, 2012 at 09:56:22AM +0000, Ian Clark wrote:
>> Yup, I think it's 0x15. Even checked with a printf  in the above code
>> to be sure. :) (As I don't really know what I'm doing.)
>>
>> However applying the above didn't seem to change anything.
>
> The last time I checked, AMD did not have a BKDG ("bios and kernel
> developer's guide") for family 15h yet, so I don't know about the
> details of C1E on Bulldozers. Of course this is entirely NetBSD's fault,
> as all C1E-problems are caused by the fact that C-states are not generally
> supported, whatever their name may be.

http://support.amd.com/us/Processor_TechDocs/42301_15h_Mod_00h-0Fh_BKDG.pdf

>> When fiddling again last night I did notice the bios setting has 'on,
>> off and auto', is there any chance that 'on' could be causing the
>> above to be ignored?
>
> Could be, but no idea.
>
>> (root:/usr2/src)# cvs diff sys/arch/x86/acpi/acpi_cpu_md.c
>> 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.69
>> diff -r1.69 acpi_cpu_md.c
>> 269a270
>>>                case 0x15:
>
(Continue reading)

Paul Goyette | 1 Feb 2012 14:42

Re: AMD FX-6100 boot pauses with ACPI

It would be best to get the output of 'cpuctl identify 0' from the 
system in question.  AMD cpu families include the extended family field, 
and it could be that Bulldozer is family 16 or 17...

On Wed, 1 Feb 2012, Jukka Ruohonen wrote:

> On Wed, Feb 01, 2012 at 09:56:22AM +0000, Ian Clark wrote:
>> Yup, I think it's 0x15. Even checked with a printf  in the above code
>> to be sure. :) (As I don't really know what I'm doing.)
>>
>> However applying the above didn't seem to change anything.
>
> The last time I checked, AMD did not have a BKDG ("bios and kernel
> developer's guide") for family 15h yet, so I don't know about the
> details of C1E on Bulldozers. Of course this is entirely NetBSD's fault,
> as all C1E-problems are caused by the fact that C-states are not generally
> supported, whatever their name may be.
>
>> When fiddling again last night I did notice the bios setting has 'on,
>> off and auto', is there any chance that 'on' could be causing the
>> above to be ignored?
>
> Could be, but no idea.
>
>> (root:/usr2/src)# cvs diff sys/arch/x86/acpi/acpi_cpu_md.c
>> 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.69
>> diff -r1.69 acpi_cpu_md.c
(Continue reading)

Christoph Egger | 1 Feb 2012 15:04
Picon
Picon

Re: AMD FX-6100 boot pauses with ACPI

On 02/01/12 14:42, Paul Goyette wrote:
> It would be best to get the output of 'cpuctl identify 0' from the
> system in question. AMD cpu families include the extended family field,
> and it could be that Bulldozer is family 16 or 17...

Bulldozer is family 0x15.

Christoph

>
> On Wed, 1 Feb 2012, Jukka Ruohonen wrote:
>
>> On Wed, Feb 01, 2012 at 09:56:22AM +0000, Ian Clark wrote:
>>> Yup, I think it's 0x15. Even checked with a printf in the above code
>>> to be sure. :) (As I don't really know what I'm doing.)
>>>
>>> However applying the above didn't seem to change anything.
>>
>> The last time I checked, AMD did not have a BKDG ("bios and kernel
>> developer's guide") for family 15h yet, so I don't know about the
>> details of C1E on Bulldozers. Of course this is entirely NetBSD's fault,
>> as all C1E-problems are caused by the fact that C-states are not
>> generally
>> supported, whatever their name may be.
>>
>>> When fiddling again last night I did notice the bios setting has 'on,
>>> off and auto', is there any chance that 'on' could be causing the
>>> above to be ignored?
>>
>> Could be, but no idea.
(Continue reading)

Ian Clark | 2 Feb 2012 11:18
Picon

Re: AMD FX-6100 boot pauses with ACPI

On 1 February 2012 13:42, Paul Goyette <paul <at> whooppee.com> wrote:
> It would be best to get the output of 'cpuctl identify 0' from the system in
> question.

$ sudo cpuctl identify 0
cpu0: AMD Unknown K8 (Athlon) (686-class), 3314.75 MHz, id 0x600f12
cpu0: features  0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features  0x178bfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2>
cpu0: features  0x178bfbff<HTT>
cpu0: features2 0x1698220b<SSE3,PCLMULQDQ,MONITOR,SSSE3,CX16,SSE41,SSE42>
cpu0: features2 0x1698220b<POPCNT,AES,XSAVE,AVX>
cpu0: features3 0x2fd3fbff<SYSCALL/SYSRET,NOX,MXX,FFXSR,P1GB,RDTSCP,LONG>
cpu0: features4 0x1c9bfff<LAHF,CMPLEGACY,SVM,EAPIC,ALTMOVCR0,LZCNT,SSE4A>
cpu0: features4 0x1c9bfff<MISALIGNSSE,3DNOWPREFETCH,OSVW,IBS,XOP,SKINIT,WDT>
cpu0: features4 0x1c9bfff<LWP,FMA4,NodeID,TopoExt,B23,B24>
cpu0: "AMD FX(tm)-6100 Six-Core Processor             "
cpu0: I-cache 64KB 64B/line 2-way, D-cache 16KB 64B/line 4-way
cpu0: L2 cache 2MB 64B/line 16-way
cpu0: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 32 4MB entries fully associative
cpu0: Initial APIC ID 0
cpu0: AMD Power Management features: 0x3d9<TS,TTP,HTC,100,HWP,TSC,CPB>
cpu0: SVM Rev. 1
cpu0: SVM NASID 65536
cpu0: SVM features 0x14ff<NP,LbrVirt,SVML,NRIPS,TSCRate,VMCBCleanBits>
cpu0: SVM features 0x14ff<FlushByASID,DecodeAssist,PauseFilter,B12>
cpu0: family 0f model 01 extfamily 06 extmodel 00

>  AMD cpu families include the extended family field, and it could
> be that Bulldozer is family 16 or 17...
(Continue reading)


Gmane