EmbLogic's Blog

related to char driver

i have done write and read operation for single quantum

Posted in Uncategorized | Leave a comment

char driver……..?

Could any body try ,to satisfied me ,by telling me the truth of the container of function?

Posted in Character Driver | 1 Comment

char deriver……………….??

why kernel can not dereference user space buffer ??????

Posted in Character Driver | 1 Comment

char driver

at time of the writing in multiple quantum there is killed in kernel page and err reported is

sleeping function called from invalid context at arch/x86/mm/fault.c

what dose it mean?

and kernel crash after 5 min.

Posted in Character Driver | Comments Off

status of character driver

i have completed the write operation for single quantum and now i m working on multipal quantum.

Posted in Uncategorized | Leave a comment

status of char driver

i have successfully completed
scull trim,
scull follow,
and write complete using single quantum
and now working on multiple quantum

Posted in Uncategorized | Leave a comment

insmod error

while MAKE there is no error.
when i try to insmod :
following error is produced :
insmod : error inserting ‘./modules/lkm.ko’ : -1 operation not permitted
But the amazing thing is that my driver is registered in /proc/devices(major number is allotted) and on doing dmesg : the buffer has the printk output in it.

Secondly, the *.ko file from different directory and as well as from my other colleagues are working fine my laptop fine.

I tried copying the data to a new place but no avail.
Sir, please let me know what to do.
i am using the above command in super user mode (su – ), but still i have the problem.
Fedora 15 64 bit
kernel 2.6.40

i have written the driver from scratch but again no avail, but i got more confident in driver while writing it again.

Tried google it but no avail.

I am troubled by it and my work is also stopped…

Posted in Character Driver | 2 Comments

char driver

there is kernel crash at the time of kmalloc and give error of unable to hander pegging request

Posted in Uncategorized | Leave a comment

status of scull.

i have successfully completed scull read and write with multiple item at application level .

Posted in Data Structures with C | Leave a comment

status of multiple data com. & decom.

i have successfully done multiple data com. and decom. (bit code length=4).

Posted in Data Structures with C | Leave a comment

status of character driver

i have successfull implemented scull write with one quantum and now i am working on scull write with multiple quantum.

Posted in Character Driver | Leave a comment

char device driver status

I was able to write a single qset successfully, now on to multiple qset…hope to finish that by Wednesday.
Great help from Vaibhav …thanks bro.

Posted in Character Driver | Leave a comment

status of character driver

scull trim is complete……………….in character driver
->sull_write has been done for one quantum……in character driver
->application leval of scull program is also working fine

Posted in Uncategorized | 1 Comment

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

Posted in Uncategorized | 3 Comments

problem regarding to scull

I create the scull of item size 12 Bytes(qset=3,quantum=4), in that when i perform write operation only first 12 bytes are write and remaining are discarded means only one item wrote and item size is not increased. I am confusing where the problem occurs.

Posted in Data Structures with C | 2 Comments