warning: the frame size of 1040 bytes is larger than 1024 bytes
2013-07-13 00:25
639 查看
问题描述:
在编译内核模块驱动时,如果出现如下警告信息:
warning: the frame size of 1040 bytes is larger than 1024 bytes。主要是因为内核中设置了堆栈报警大小,其默认为1024bytes。我们主要将其修改为4096既可以消除告警信息。
如果解决:
(1)make menuconfig
(2)kernel hacking
(3)修改warn for stack frames larger than 的数值,将其修改为4096(最好不要大过这个数值)
(4)重新编译内核模块则不会出现如上的告警信息。
在编译内核模块驱动时,如果出现如下警告信息:
warning: the frame size of 1040 bytes is larger than 1024 bytes。主要是因为内核中设置了堆栈报警大小,其默认为1024bytes。我们主要将其修改为4096既可以消除告警信息。
如果解决:
(1)make menuconfig
(2)kernel hacking
(3)修改warn for stack frames larger than 的数值,将其修改为4096(最好不要大过这个数值)
(4)重新编译内核模块则不会出现如上的告警信息。
相关文章推荐
- warning: the frame size of 1040 bytes is larger than 1024 bytes
- warning: the frame size of 1040 bytes is larger than 1024 bytes
- warning: the frame size of 1040 bytes is larger than 1024 bytes
- warning: the frame size of 1040 bytes is larger than 1024 bytes
- warning: the frame size of 1456 bytes is larger than 1024 bytes
- warning: the frame size of 1104 bytes is larger than 1024 bytes [-Wframe-larger-than=]
- New Memory allocation 1046759 bytes is smaller than the minimum allocation size of 1048576 bytes.
- InnoDB: auto-extending data file ./ibdata1 is of a different size 640 pages (rounded down to MB) than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero) pages!
- mysql5.7.12/13在安装新实例时报错:InnoDB: auto-extending data file ./ibdata1 is of a different size 640 pages (rounded down to MB) than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero
- The database page size of 4096 bytes obtained from ASE is different from the database page size of 2
- InnoDB: The Auto-extending innodb_system data file './ibdata1' is of a different size 640 pages (rounded down to MB) than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero) pa
- The stack 'CSTACK' is filled to 92% (368 bytes used out of 400). The warning threshold is set to 90.%
- [Cassandra] Mutation of <x> bytes is too large for the maxiumum size of <y>
- which is more than the configured time (StuckThreadMaxTime) of "600" seconds
- <java>No enclosing instance of type GraphicFrame is accessible. Must qualify the allocation with an
- This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in
- pymongo.errors:Sort operation used more than the maximum 33554432 bytes of RAM. Add an index,
- This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in
- What is the maximum amount of memory any single process on Windows can address? Is this different than the maximum virtual memor
- This version of the rendering library is more recent than your version of ADT plug-in. Please update