hi, u confirm yrself what's this error by giving errno to strerror might be coz the file is not in existance,but u have succesfull make the mknod, if u r giving major number statically, then rather try to allot it dynamically check /proc/devices file lsmod , and rather some dependancy problem is still there then u include "sysdep.h" file of rubini which is nearly have resolved all symbols from 2.2 kernels, i given u all possibilities which i could think. --- vishwas manral <vishwas.manral@lycos.com> wrote: > Hi Prasanna, > > Going ahead from the previous after creating a > device file using mknod, if I try to do an open from > user space I get the fd as -1. > > Do let me know what you think I have done wrong? > > Thanks, > Vishwas > > > ____________________________________________________________ > Find what you are looking for with the Lycos Yellow > Pages > http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10 __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/