i have completed scull using c…and my scull write function also working using single quantum write but after 5 min my system is hang…whats the problem
i have completed scull using c…and my scull write function also working using single quantum write but after 5 min my system is hang…whats the problem
EmbLogic Research & Competency Development Labs
Phone: +91 9818467776, 8527567776, 9650467776
Email: info@emblogic.com
Copyright © EmbLogic Embedded Technologies Pvt. Ltd.
there is some memory fault occurred you just check your memory allocation or memset method and its argument also . and study about memory leakage and page fault……
may be you are making the memory area free that is not allocated to your program . thing is that your kfree will work properly and free the memory area specified to it ,but as this memory region wasn’t allocated to your program and u mistakenly freed it thus when the program that was attached to the memory region tries to access it doesn’t find out and kernel got CRAAAASHhh.
Another 1 ,, there can be a problem with ur memset as u r trying to set memory locations that aren’t allocated to you program and after memset performs the setting oprations at unauthorized locations , the program that hv acces to this modified area will found garbeled value and will result into a CRASSShh
;(