kernel hang

37 views
Skip to first unread message

johnpeng

unread,
Mar 5, 2021, 5:07:53 PM3/5/21
to opennetworklinux
1,when user code try mmap the pcie bar while the kernel driver code "pgprot_noncached,remap_pfn_range",the console BLOCK and kernel cann't be ping successfully; kdb sysrq is also not trigger;(without more info)
 2,if mmap len<8m, it is ok but the device 128M,The larger the mapping length, the sooner the subsequent user code hang ,(It has nothing to do with whether to access the pcie address,only mmap called);
3, check /proc/xxx/pid , mtrr pat OK ,addr not conflict
4,cpu x86 ATOM3558,  onl kernel vesioon 4.9     4.14;
5,ulimit unlimited stack, vme count not 
effective
who can give me some suggestion, kernel boot param or feature needed? thanks

johnpeng

unread,
Mar 6, 2021, 3:21:56 AM3/6/21
to opennetworklinux
It needs to be explained that mmap always returned success
Reply all
Reply to author
Forward
0 new messages