EmbLogic's Blog

status of scull and char driver

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

3 Responses to status of scull and char driver

  1. 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……

  2. John Mcarthur says:

    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. :D ;)

  3. John Mcarthur says:

    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
    :( ;(

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>