在我的系统中,安装了内核3.13.0-32-generic(Ubuntu Server 14.04.1 LTS),系统中的一个PCIe板卡(06:00.0)忽略了内存区域:
Interrupt: pin A routed to IRQ 10 Region 0: Memory at <ignored> (32-bit, non-prefetchable) Region 2: Memory at <ignored> (32-bit, non-prefetchable)
在dmesg中:
me@system:~$ dmesg | grep 06:00.0 [ 1.326963] pci 0000:06:00.0: [ad00:0122] type 00 class 0x000000 [ 1.326979] pci 0000:06:00.0: reg 0x10: [mem 0xf7400000-0xf74001ff] [ 1.327000] pci 0000:06:00.0: reg 0x18: [mem 0xf7200000-0xf73fffff]
当我随后尝试通过它的内核模块访问板时,它当然不起作用。
如果我在系统上安装Debian 7.5或7.8而不改变其他东西,一切工作正常:
Debian的:
Interrupt: pin A routed to IRQ 17 Region 0: Memory at f7400000 (32-bit, non-prefetchable) Region 2: Memory at f7200000 (32-bit, non-prefetchable) me@system:~$ dmesg | grep 06:00.0 [ 1.438114] pci 0000:06:00.0: [ad00:0122] type 0 class 0x000000 [ 1.438130] pci 0000:06:00.0: reg 10: [mem 0xf7400000-0xf74001ff] [ 1.438151] pci 0000:06:00.0: reg 18: [mem 0xf7200000-0xf73fffff]
所以,硬件是好的,问题是内核版本和硬件的结合。
Ubuntu内核:3.13.0-32-通用
Debian内核:3.2.0-4-amd64 /
我能做些什么来得到这个在3.13.0-32generics的工作,即使内存区域不被忽略?
我试过以下没有成功:
非常感谢!