* kernel crash in fault.c
@ 2002-07-29 11:12 Nandakumar NarayanaSwamy
0 siblings, 0 replies; 3+ messages in thread
From: Nandakumar NarayanaSwamy @ 2002-07-29 11:12 UTC (permalink / raw)
To: linux-kernel
Hi All,
I am getting a kernel crash when i try to load (using insmod) my
driver module into the kernel.
When the kernel boots up, it identifies my device (hardware
device) and allocates memory and fixup irq for that.
Mean while in driver i am registering the driver using,
pci_register_driver. When i tried to access (write a word) the
PCI
memory space allocated for my device, the kernel crashes saying
"Unable to handle kernel paging request at virtual address "
in fault.c function : do_page_fault?
Can anyone throw a light on this?
Thanks in advance,
Nanda.
^ permalink raw reply [flat|nested] 3+ messages in thread
* kernel crash in fault.c
@ 2002-07-29 11:13 Nandakumar NarayanaSwamy
2002-07-29 14:13 ` Rik van Riel
0 siblings, 1 reply; 3+ messages in thread
From: Nandakumar NarayanaSwamy @ 2002-07-29 11:13 UTC (permalink / raw)
To: linux-kernel
Hi All,
I am getting a kernel crash when i try to load (using insmod) my
driver module into the kernel.
When the kernel boots up, it identifies my device (hardware
device) and allocates memory and fixup irq for that.
Mean while in driver i am registering the driver using,
pci_register_driver. When i tried to access (write a word) the
PCI
memory space allocated for my device, the kernel crashes saying
"Unable to handle kernel paging request at virtual address "
in fault.c function : do_page_fault?
Can anyone throw a light on this?
Thanks in advance,
Nanda.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: kernel crash in fault.c
2002-07-29 11:13 Nandakumar NarayanaSwamy
@ 2002-07-29 14:13 ` Rik van Riel
0 siblings, 0 replies; 3+ messages in thread
From: Rik van Riel @ 2002-07-29 14:13 UTC (permalink / raw)
To: Nandakumar NarayanaSwamy; +Cc: linux-kernel
On 29 Jul 2002, Nandakumar NarayanaSwamy wrote:
> When the kernel boots up, it identifies my device (hardware
> device) and allocates memory and fixup irq for that.
> Mean while in driver i am registering the driver using,
> pci_register_driver. When i tried to access (write a word) the
> PCI
> memory space allocated for my device, the kernel crashes saying
> "Unable to handle kernel paging request at virtual address "
> in fault.c function : do_page_fault?
>
> Can anyone throw a light on this?
Are you using bus_to_virt (or whatever that thing is called now)
to translate the bus address to a memory address or are you taking
the bus address and trying to write to that memory address ?
regards,
Rik
--
Bravely reimplemented by the knights who say "NIH".
http://www.surriel.com/ http://distro.conectiva.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-07-29 14:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-29 11:12 kernel crash in fault.c Nandakumar NarayanaSwamy
2002-07-29 11:13 Nandakumar NarayanaSwamy
2002-07-29 14:13 ` Rik van Riel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®