title: Simple Device Driver Issue : cat: /dev/chardev: No such device or address
body: <p>I am trying to learn Device Drivers and tried to compile a code, but I get the below error messages. I would appreciate if you give me pointers to resolve this issue
  cat: /dev/chardev: No such device or address</p>
  
  <p>Below are the logs:
  @ubuntu:~/Desktop/C_code$ lsmod </p>
  
  <p>Module                  Size  Used by
  chardev                12767  0 </p>
  
  <p>@ubuntu:~/Desktop/C_code$ ls -l /dev</p>
  
  <p>crw-rw-rw-  1 root root     77,   0 2011-10-03 20:47 chardev</p>
  
  <p>~/Desktop/C_code$ uname -r</p>
  
  <p>2.6.38-8-generic</p>
  
  <p>I am using the code from the following site "http://tldp.org/LDP/lkmpg/2.6/html/x569.html"</p>