问题描述:

在编译内核模块驱动时,如果出现如下警告信息:

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)重新编译内核模块则不会出现如上的告警信息。

转载于:https://blog.51cto.com/tigerjibo/1275993

warning: the frame size of 1040 bytes is larger than 1024 bytes相关推荐

  1. linux c 内核 warning: the frame size of 1040 bytes is larger than 1024 bytes

    问题描述: 在编译内核模块驱动时,如果出现如下警告信息: warning: the frame size of 1040 bytes is larger than 1024 bytes.主要是因为内核 ...

  2. ffmpeg编码报错:more samples than frame size (avcodec_encode_audio2)

    fkd_aac默认有好几种采样范围,如下: 2048 HE-AAC v1/v2 1024: Default configuration.//AAC-LC 1024 512: Default lengt ...

  3. mongodb log ,warning: chunk is larger than 65203623200 bytes because of key

    公司的一台放多媒体文件的MONGODB要转成SHARD,在测试环境里面对gridfs里面的fs.chunks做sharding的时候. 在一段时间后报错如下 :  warning: chunk is ...

  4. FFMPEG more samples than frame size (avcodec_encode_audio2) 的解决方案

    FFMPEG more samples than frame size (avcodec_encode_audio2) 的解决方案 参考文章: (1)FFMPEG more samples than ...

  5. Frame size of 257 MB larger than max allowed 100 MB

    ActiveMQ有时会报类似Frame size of 257 MB larger than max allowed 100 MB的错误,意思是单条消息超过了预设的最大值,在配置文件中 <tra ...

  6. WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB)

    Taro打包h5体积限制 警告: WARNING in asset size limit: The following asset(s) exceed the recommended size lim ...

  7. MariaDB [Warning] Could not increase number of max_open_files to more than 1024

    启动mariadb,查看mariadb状态信息时: systemctl start mariadb systemctl -l status mariadb 1 2 报错 在这里插入图片描述 [Warn ...

  8. python3.x执行post请求时报错“POST data should be bytes or an iterable of bytes...”的解决方法...

    使用python3.5.1执行post请求时,一直报错"POST data should be bytes or an iterable of bytes. It cannot be of ...

  9. POI在sax模式下读取xlsx报错 Characters larger than 4 bytes are not supported解决办法

    使用的POI版本为3.14 在sax模式下读取一个20万行的xlsx报错:org.apache.xmlbeans.XmlException: java.io.CharConversionExcepti ...

最新文章

  1. [JAVA EE] JPA技术基础:完成数据列表的删除
  2. springboot 线程池_Spring boot 2 线程池怎么配置
  3. Java反射学习(java reflect)(三)
  4. 【PC工具】更高效更快乐地复制粘贴工具CopyQ
  5. 为什么计算机能听懂人的指令,为什么计算机有听懂命令的能力?
  6. LiveVideoStackCon深圳-精选最新多媒体技术方案
  7. C语言贪吃蛇如何让蛇一直前进,c++贪吃蛇代码中,哪条代码是让蛇知道前进的
  8. 3分钟弄明白JAVA三大修饰符
  9. 201612-5 卡牌游戏
  10. 一些算法(最短路,线段树,01,完全背包,STL)的基本参考资料
  11. 652 Find Duplicate Subtrees
  12. Oracle查询优化改写技巧与案例总结四
  13. DPDK Release 20.08
  14. 计算机固态加机械硬盘,在台式机中添加固态/机械硬盘驱动器,让我与这篇文章一起教你...
  15. 出租司机微软上MBA课 精辟理论让其月入1万6
  16. height:unset在IE上无效
  17. 爬取携程和蚂蜂窝的景点评论数据\携程评论数据爬取\旅游网站数据爬取
  18. BuildAdmin后台管理系统入门分析:01
  19. windows下的.DLL文件
  20. 西安市经开区自行车管理系统设计摘要

热门文章

  1. TortoiseGit拉取或推送,输入账号密码后提示 HTTP Basic: Access denied fatal: Authentication failed 解决方案...
  2. 《架构之美》阅读笔记01
  3. C# WINFORM的自动更新程序
  4. (线性基) bzoj 2460
  5. MS SQL 2008 发布订阅配置错误总结
  6. ASP网站实现防止被采集
  7. windows系统-汇编语言与机器码的关系
  8. C# GC 垃圾回收机制原理
  9. 关于winodows下编程c++遇到的引用文件路径问题
  10. TCP/IP通信程序设计方式