日期:2014-05-16  浏览次数:20736 次

求助为何dmesg里面一直在打印unmapping pfn信息
求助:
我的Centos 6.2系统里面,为何dmesg里面一直在打印下面这些信息:

[1027429.245858] Device 0000:08:00.1 unmapping: pfn ff659-ff659
[1027429.318071] Device 0000:08:00.1 unmapping: pfn ffe18-ffe18
[1027429.327332] Device 0000:08:00.1 unmapping: pfn ff93b-ff93b
[1027429.333287] Device 0000:08:00.1 unmapping: pfn ffe5a-ffe5a
[1027429.368714] Device 0000:08:00.1 unmapping: pfn fff11-fff11
[1027429.378623] Device 0000:08:00.1 unmapping: pfn ff692-ff693
[1027429.378858] Device 0000:08:00.1 unmapping: pfn fff73-fff73
[1027429.379055] Device 0000:08:00.1 unmapping: pfn ff56c-ff56d
[1027429.379082] Device 0000:08:00.1 unmapping: pfn ffa8b-ffa8b
[1027429.379394] Device 0000:08:00.1 unmapping: pfn ffb67-ffb67
[1027429.379670] Device 0000:08:00.1 unmapping: pfn ff690-ff691
[1027429.379693] Device 0000:08:00.1 unmapping: pfn fff23-fff23
[1027429.379769] Device 0000:08:00.1 unmapping: pfn ff706-ff707
[1027429.389809] Device 0000:08:00.1 unmapping: pfn ffb90-ffb90
[1027429.408829] Device 0000:08:00.1 unmapping: pfn fff89-fff89


通过lspci查看00:08:00.1设备信息如下:
08:00.0 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01)
08:00.1 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01)


------解决方案--------------------
你的打印很不对劲

你可以尝试在bios里找找IO Virtual 相关的配置看看有没改善
------解决方案--------------------
有这个打印倒不见得是错,具体源代码是
pr_debug("Device %s unmapping: pfn %lx-%lx\n",
pci_name(pdev), start_pfn, last_pfn);
以2.6.36内核为例
在intel网卡驱动 e1000e/netdev.c 的接收中断服务函数里,使用的是流式dma,用过的缓冲区释放掉,就会执行intel_unmap_page ,也就会执行到这句,倒也不算什么错误
这个是调试信息,不知道为什么你能看到