可以先用命令:cat /proc/cpuinfo 查看cpu类型
cat /proc/cpuinfo,可以看到如下行:
model name : Intel(R) Core(TM)2 Duo CPU T5750 @ 2.00GHz
因此, Processor type and features ---> Processor Family对应的CPU类型为:core 2/newer Xeon
配置如下:
---------------------------------------------------------------------------------------------------------------
Enable loadable module support ---> enabled [*]
Enable Loadable module support ---> Module versioning support ---> disabled
Processor type and features ---> Processor Family ---> Core 2/newer Xeon
Processor type and features ---> HPET Timer Support ---> disabled
Processor type and features ---> Preemtible Kernel (Low-Latency Desktop) (PREEMPT=y)
Processor type and features ---> Interrupt pipeline ---> enabled [*]
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> enabled [*]
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> Deprecated /proc/acpi files ---> disabled
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> Deprecated power /proc/acpi directories ---> disabled
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> Future power /sys interface ---> disabled
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> Deprecated /proc/acpi/event support ---> disabled
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> AC Adapter ---> disabled
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> Battery ---> disabled
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> Button ---> enabled[*]
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> Video ---> module [M]
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> Fan ---> disabled
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> Dock ---> enabled [*]
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> Processor ---> disabled
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> Disable ACPI for systems before Jan 1st this year ---> 0
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> Debug Statements ---> disabled
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> PCI slot detection driver ---> disabled
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> Container and Module Devices ---> disabled
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> Smart Battery System ---> disabled
Power management and ACPI options ---> APM (Advanced Power Management) BIOS support ---> disabled
Power management and ACPI options ---> CPU Frequency scaling ---> disabled
If you are using an older RTAI patch you may get the following error:
include/linux/ipipe.h:76:2: error: #error "CONFIG_NR_CPUS is too large, please lower it."
To fix this disable sparse irq numbering (CONFIG_SPARSE_IRQ=n):
Processor type and features ---> Support sparse irq numbering ---> disabled
If you have a multi cores CPU or SMP system, don't choose a processor family which has no TSC (time stamp counter).
This means that for example you can not choose 586/K5/5x86/6x86/6x86MX as Processor family if you have a dual cores CPU.
In conclusion, choose the most suitable processor family for your machine.
NOTE: No need to disable High Memory Support for RTAI 3.7.1 and newer
NOTE: No need to disable Symmetric multi-processing support for the uniproccesor machine for RTAI 3.7.1 and newer.
But if you don't have a multi cores CPU or SMP system, you can disable it to improve the performance
NOTE: There was supposedly no need to disable Module Versioning Support for RTAI 3.7.1, but it seems to be needed for the latest RTAI (3.8.1 or magma).
I don't know if this is an RTAI problem or emc2, since I could run the RTAI latency test but not the emc2 stuff.
NOTE: No need to turn off debugging if building packages with the ubuntu debian/rules sy
---------------------------------------------------------------------------------------------------------------