hi... On Sat, Oct 15, 2011 at 07:22, Vaibhav Jain <vjoss197@xxxxxxxxx> wrote: > Hi, > > I am trying to map local APIC on an intel system (physical address > 0xfee00000) in a user level program using mmap > but my mmap is failing saying "Bad file descriptor". I am not sure if this > problem is related to apic or > mmap. I am running the program as root. Please help me figure this out. could you post the code? anyway, check "man mmap" in "errors" section....the hint could be found there..... -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies