Re: Need help with virt_install

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

 



On 03/16/2011 01:45 PM, JB wrote:
> JD<jd1008<at>  gmail.com>  writes:
>
>> ...
>> is the missing /sys/devices/system/cpu/cpu0/topology/physical_package_id
>> caused by kernel configuration settings?
>> ...
> http://www.kernel.org/doc/Documentation/cputopology.txt
> ...
> 1) /sys/devices/system/cpu/cpuX/topology/physical_package_id:
> ...
> For an architecture to support this feature, it must define some of
> these macros in include/asm-XXX/topology.h:
> #define topology_physical_package_id(cpu)
> ...
>
> $ grep -ir "#define topology_physical_package_id(cpu)"
> rpmbuild/BUILD/kernel-2.6.35.fc14/linux-2.6.35.i686/
> ...
> rpmbuild/BUILD/kernel-2.6.35.fc14/linux-2.6.35.i686/arch/ia64/include
> /asm/topology.h:#define
> topology_physical_package_id(cpu)	(cpu_data(cpu)->socket_id)
> rpmbuild/BUILD/kernel-2.6.35.fc14/linux-2.6.35.i686/arch/x86/include
> /asm/topology.h:#define
> topology_physical_package_id(cpu)	(cpu_data(cpu).phys_proc_id)
> rpmbuild/BUILD/kernel-2.6.35.fc14/linux-2.6.35.i686/arch/sparc/include
> /asm/topology_64.h:#define
> topology_physical_package_id(cpu)	(cpu_data(cpu).proc_id)
>
> $ less -i rpmbuild/BUILD/kernel-2.6.35.fc14/linux-2.6.35.i686/arch/x86/include
> /asm/topology.h
> ...
> #ifdef CONFIG_X86_32<============
> # ifdef CONFIG_X86_HT<============
> #  define ENABLE_TOPO_DEFINES
> # endif
> #else
> # ifdef CONFIG_SMP<============
> #  define ENABLE_TOPO_DEFINES
> # endif
> #endif
> ...
> #ifdef ENABLE_TOPO_DEFINES
> #define topology_physical_package_id(cpu)       (cpu_data(cpu).phys_proc_id)
> ...
>
> JB
>
>
Thank you  very much JB.
That explains it.
Since my cpu is a Unicore (amd athlon 3700+), it does not even have 
hyper threading,
and SMP is not enabled in configuration (my choice), so kernel does not 
support cpu topology.
My kernel local build is that of mainline kernel  2.6.38
from kernel.org.

Cheers,

JD
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux