From: Eli Carter <eli.carter@inet.com>
To: Guillaume Lancelin <guillaumelancelin@yahoo.es>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Memory access
Date: Tue, 03 Jul 2001 09:56:24 -0500 [thread overview]
Message-ID: <3B41DD18.A7E5860F@inet.com> (raw)
In-Reply-To: <20010703144532.11007.qmail@web4201.mail.yahoo.com>
Guillaume Lancelin wrote:
>
> Writing a device driver for a IO card, I have the following message from
> the kernel:
> Unable to handle kernel paging request at virtual address 000d0804.
> [then it gives the register values]
> Segmentation fault."
>
> This address (0xd0804) is the location of a "mailbox" reserved by the IO
> card, and from which commands are passed to the card.
>
> My question: is the kernel using or protecting this area of the memory,
> and is there a way to deprotect it??? (how dangerous!)
Sounds like you may want to look into ioremap() and maybe buy Linux
Device Drivers by Rubini (O'Reilly).
Have fun!
Eli
-----------------------. No wonder we didn't get this right first time
Eli Carter | through. It's not really all that horribly
eli.carter(at)inet.com `- complicated, but the _details_ kill you. Linus
next prev parent reply other threads:[~2001-07-03 14:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-03 14:45 Guillaume Lancelin
2001-07-03 14:51 ` Arnaldo Carvalho de Melo
2001-07-03 14:54 ` Brian Gerst
2001-07-03 14:56 ` Eli Carter [this message]
2001-07-03 14:57 ` Richard B. Johnson
2001-07-03 15:33 ` Alan Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3B41DD18.A7E5860F@inet.com \
--to=eli.carter@inet.com \
--cc=guillaumelancelin@yahoo.es \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®