免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1782 | 回复: 1
打印 上一主题 下一主题

[Linux资讯] Question: Will Linux kernel disable acess to Legacy VGA Mem (0xA0000 - 0xBFFFF) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-07-15 16:07 |只看该作者 |倒序浏览
Recently I met a problem when run some GPU/CPU test on Ubuntu12.04. The tests are failing when boot with EFI Ubuntu hard disk, but passing when boot with legacy Ubuntu hard disk.

Basically I suspect kernel disabled access to memory range 0xA0000 – 0xBFFFF, but I have no evidence.

I am not familiar with kernel code, only thing I found is below snippet in kernel. Would someone know the answer?

# if defined(CONFIG_VGA_CONSOLE)
        /*
        * Non-legacy systems may route legacy VGA MMIO range to system
        * memory.  vga_con probes the MMIO hole, so memory looks like
        * a VGA device to it.  The EFI memory map can tell us if it's
        * memory so we can avoid this problem.
        */
        if (efi_mem_type(0xA0000) != EFI_CONVENTIONAL_MEMORY)
            conswitchp = &vga_con;
# endif

论坛徽章:
1
处女座
日期:2014-01-21 13:20:51
2 [报告]
发表于 2013-07-15 16:13 |只看该作者
我想是内存不够原因
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP