> I am writing an Fibre Channel HBA device driver on Redhat 6.0 x86 platform
> and need help on three questions so far:
> 1, I use vmalloc to get 170f0 byte virtual memory and
> allocation OK, got memory starting at c2885000;
> kmalloc to get 0x5808 byte DMA virtual memory and
> allocation OK, got memory starting at c0760000;
> DMA virt_addr is converted to phys_addr with "virt_to_bus"
> and get 760000.
> When access those memories, system gives meesage:
> "Unable to handle kernel paging request at virtual address 0001c000"
Well, 0001c000 isn't either a vmalloc address or a kmalloc address, so
the problem isn't one of just dereferencing the *malloc()ed data
blocks. You haven't really given enough information to go further with
this. What sort of "access" is failing?
--Stephen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/