EmbLogic's Blog

Pseudo driver 2.4 kernel

Starting to write Pseudo Driver using 2.4 kernel ?

Any doughts Please let me know

7 Responses to Pseudo driver 2.4 kernel

  1. amanaggarwal says:

    it was indeed good exp to write Psoudo drivers

  2. Kopal says:

    here is the INIT FUNCTION algo

    1> REGISTER DEVICE

    2> GET MEMORY FOR SCULL DEVICES

    3> SET MEMORY TO NULL USING MEMSET

    4> INITIALZE DEVICE

  3. Kopal says:

    oh yes!!!!

    GET DEVICE STATUS is the last step of the INIT FUNCTION ALGO

  4. Kopal says:

    WARNING: modpost: Found 1 section mismatch(es).

    what does this warning indicates???
    i get this warning when i perform MAKE, but if it is ignored my program works all fine….

  5. gulpreet.e2 says:

    One thing you people must keep in mind while passing make command for the drivers, that “WARNINGS ARE MORE DANGEROUS THAN ERROR”. Therefore you MUST REMOVE all the warnings before inserting the module (insmod) into the Kernel. If you ignore these warnings, many serious things can happen with your kernel. Viz. “System hanging problem”, “Object Dump”, and even “Kernel failure”. So be safe :) and remove all the warnings also. !!Have a nice day!!

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>