mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Brian Gerst <bgerst@didntduck.org>
To: Guillaume Lancelin <guillaumelancelin@yahoo.es>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Memory access
Date: Tue, 03 Jul 2001 10:54:05 -0400	[thread overview]
Message-ID: <3B41DC8D.3316A7A8@didntduck.org> (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!)

Use ioremap()

--

				Brian Gerst

  parent reply	other threads:[~2001-07-03 14:54 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 [this message]
2001-07-03 14:56 ` Eli Carter
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=3B41DC8D.3316A7A8@didntduck.org \
    --to=bgerst@didntduck.org \
    --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®