kernel BUG at arch/i386/mm/highmem.c:63! kunmap_atomic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi,

I get the following kernel panic,

kernel BUG at arch/i386/mm/highmem.c:63!
EIP:    0060:[<c011af5a>]    Tainted: PF     VLI
EFLAGS: 00010006   (2.6.11-1.1369_FC4smp)
EIP is at kunmap_atomic+0x35/0x5f

The following is the code, I am using in my driver:

kmap_atomic code:

int hr_km_type = (in_interrupt())? KM_IRQ0: KM_USER0;
         pDataBuffer = kmap_atomic(cur_seg->page,
hr_km_type) + cur_seg->offset;
         if(pDataBuffer == NULL) {
            return (ENOMEM);
         }

kunmap_atomic code:

int hr_km_type = (in_interrupt())? KM_IRQ0: KM_USER0;
                  kunmap_atomic(pDataBuffer -
sg->offset, hr_km_type);

I am not using any locks like irq_disable/restore
before and after calling kmap_atomic/kunmap_atomic.

The system has 1GB memory.

with regards,
   Anil

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux