If container of function returns scull_dev pointer, then where the major and minor numbers are located into the different structures??????
Completed: open, close, read (single quantum, multiple quantum),write(single quantum, multiple quantum),semaphore(syn tech). Working: Completion, IOCTL,LSEEK
I have used printk statement in char device driver code. “make” have no warning or error on doing insmod no error is given . but on dmesg the printk statement are not showing. i have checked in /var/log/message but printk … Continue reading
Could any body try ,to satisfied me ,by telling me the truth of the container of function?
why kernel can not dereference user space buffer ??????
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.
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 … Continue reading
i have successfull implemented scull write with one quantum and now i am working on scull write with multiple quantum.
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.
i have done initialization,registration,open,release,trim.
i have successfully implemented scull trimming .
scull_triming and maping of scull_write has been done
please write appropriate comment……………… //this function only remove last node of the scull_dev because it has not any reverencing function for deleting previous nodes till the fist node. //sir has taken one previous pointer but it also deletes only one … Continue reading
i have completed registration, initialization, open, release, and working on trim.