Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jun 2017 14:08:33 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r316767 - head/sys/amd64/amd64
Message-ID:  <20170611140833.GA49908@FreeBSD.org>
In-Reply-To: <20170611122025.GP2088@kib.kiev.ua>
References:  <201704131549.v3DFnt9I004050@repo.freebsd.org> <20170610235125.GA3587@FreeBSD.org> <20170611041357.GA19892@FreeBSD.org> <20170611122025.GP2088@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

--J/dobhs11T7y2rNN
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Sun, Jun 11, 2017 at 03:20:25PM +0300, Konstantin Belousov wrote:
> Do you claim that latest HEAD with reverted r316767 reboots on resume
> on your machine ?  Please confirm.

Yes, I do claim that; confirmed.

> Are you running on AMD CPU ?

Yes, on AMD A8-5550M APU.

> I want to see the first 100 lines of verbose dmesg,

Attached.

> and the output of "cpucontrol -m 0xc0000080 /dev/cpuctl0".

# kldload cpuctl
# cpucontrol -m 0xc0000080 /dev/cpuctl0
MSR 0xc0000080: 0x00000000 0x00000d01

> Also, try the following patch.

Yes, it had fixed resume for me (with r316767 reinstated back in place).

./danfe

--J/dobhs11T7y2rNN
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="dmesg100.txt"

Table 'FACP' at 0x8effc000
Table 'HPET' at 0x8effb000
Table 'APIC' at 0x8effa000
APIC: Found table at 0x8effa000
APIC: Using the MADT enumerator.
MADT: Found CPU APIC ID 16 ACPI ID 0: enabled
SMP: Added CPU 16 (AP)
MADT: Found CPU APIC ID 17 ACPI ID 1: enabled
SMP: Added CPU 17 (AP)
MADT: Found CPU APIC ID 18 ACPI ID 2: enabled
SMP: Added CPU 18 (AP)
MADT: Found CPU APIC ID 19 ACPI ID 3: enabled
SMP: Added CPU 19 (AP)
Copyright (c) 1992-2017 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 12.0-CURRENT #0 r319823M: Sun Jun 11 21:13:32 CST 2017
    danfe@solveig.lawndale.high:/tmp/usr/src/sys/GENERIC amd64
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0)
Table 'FACP' at 0x8effc000
Table 'HPET' at 0x8effb000
Table 'APIC' at 0x8effa000
Table 'MCFG' at 0x8eff9000
Table 'TCPA' at 0x8eff8000
Table 'SLIC' at 0x8efd5000
Table 'MSDM' at 0x8efd4000
Table 'FPDT' at 0x8efd3000
Table 'BGRT' at 0x8efd2000
Table 'SSDT' at 0x8efd1000
Table 'SSDT' at 0x8efcf000
Table 'VFCT' at 0x8efc9000
Table 'SSDT' at 0x8efc8000
ACPI: No SRAT table found
PPIM 0: PA=0xc0000000, VA=0xffffffff81810000, size=0x300000, mode=0x1
VT(efifb): resolution 1024x768
Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffff817a7000.
Calibrating TSC clock ... TSC clock: 2096222875 Hz
CPU: AMD A8-5550M APU with Radeon(tm) HD Graphics    (2096.22-MHz K8-class CPU)
  Origin="AuthenticAMD"  Id=0x610f31  Family=0x15  Model=0x13  Stepping=1
  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x3e98320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,SSE4.1,SSE4.2,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C>
  AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
  AMD Features2=0x1ebbfff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,XOP,SKINIT,WDT,LWP,FMA4,TCE,NodeId,TBM,Topology,PCXC,PNXC>
  Structured Extended Features=0x8<BMI1>
  SVM: Features=0x1cff<NP,LbrVirt,SVML,NRIPS,TscRateMsr,VmcbClean,FlushByAsid,DecodeAssist,PauseFilter,<b11>,PauseFilterThreshold>
Revision=1, ASIDs=65536
  TSC: P-state invariant, performance statistics
L1 2MB data TLB: 64 entries, fully associative
L1 2MB instruction TLB: 24 entries, fully associative
L1 4KB data TLB: 64 entries, fully associative
L1 4KB instruction TLB: 48 entries, fully associative
L1 data cache: 16 kbytes, 64 bytes/line, 1 lines/tag, 4-way associative
L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L2 2MB data TLB: 1024 entries, 8-way associative
L2 2MB instruction TLB: 1024 entries, 8-way associative
L2 4KB data TLB: 1024 entries, 8-way associative
L2 4KB instruction TLB: 1024 entries, 8-way associative
L2 unified cache: 2048 kbytes, 64 bytes/line, 1 lines/tag, 16-way associative
real memory  = 17179869184 (16384 MB)
Physical memory chunk(s):
0x0000000000010000 - 0x0000000000089fff, 499712 bytes (122 pages)
0x0000000000090000 - 0x000000000009efff, 61440 bytes (15 pages)
0x0000000000100000 - 0x00000000001fffff, 1048576 bytes (256 pages)
0x00000000017e3000 - 0x000000008d9c5fff, 2350788608 bytes (573923 pages)
0x000000008efff000 - 0x000000008effffff, 4096 bytes (1 pages)
0x0000000100000000 - 0x0000000423f72fff, 13488304128 bytes (3293043 pages)
avail memory = 15716007936 (14987 MB)
Event timer "LAPIC" quality 100
LAPIC: ipi_wait() us multiplier 19 (r 10500077 tsc 2096222875)
ACPI APIC Table: <HPQOEM 1992    >
Package ID shift: 4
L2 cache ID shift: 1
L1 cache ID shift: 0
Core ID shift: 0
INTR: Adding local APIC 17 as a target
INTR: Adding local APIC 18 as a target
INTR: Adding local APIC 19 as a target
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s)
Package HW ID = 1
	Core HW ID = 16
		CPU0 (BSP): APIC ID: 16
	Core HW ID = 17
		CPU1 (AP): APIC ID: 17
	Core HW ID = 18
		CPU2 (AP): APIC ID: 18
	Core HW ID = 19
		CPU3 (AP): APIC ID: 19
APIC: CPU 0 has ACPI ID 0
APIC: CPU 1 has ACPI ID 1
APIC: CPU 2 has ACPI ID 2
APIC: CPU 3 has ACPI ID 3
lapic16: MCE Thresholding ELVT unmasked
Pentium Pro MTRR support enabled
x86bios:  IVT 0x000000-0x0004ff at 0xfffff80000000000
x86bios: SSEG 0x09e000-0x09efff at 0xfffffe0421485000
x86bios:  ROM 0x0a0000-0x0fefff at 0xfffff800000a0000
arc4random: no preloaded entropy cache
ULE: setup cpu 0

--J/dobhs11T7y2rNN--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170611140833.GA49908>