i use /dev/tty for redirect the stdout for particular portion for the program but it redirect all the stdout statements…
hows inb and outb work internally? getting problem in handshaking through strobe pin in nibble mode. how can i do it?
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.
there is kernel crash at the time of kmalloc and give error of unable to hander pegging request
scull_triming and maping of scull_write has been done
how can i free memory after reading data for item, by free system call or delete the linking between qsets. i use free system call it give me segmentation fault error
#include”header24.h” int i,retvl; module_param(i,int,S_IRUGO); int init_function(void) { retvl=register_chrdev(0,”my_reg”,&fops); if(retvl<0) printk(KERN_ERR “error\n”); printk(KERN_INFO “retvl=%d\n”,retvl); printk(KERN_INFO “HELLO WORLD\n”); printk(KERN_INFO “process name=%s \t process id=%d”,current->comm,current->pid); printk(KERN_INFO “i=%d\n”,i); return 0; } void exit_function(void) { unregister_chrdev(retvl,”my_reg”); printk(KERN_INFO “BYE\n”); }