linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Steve Rossi <srossi@labs.mot.com>
To: John_McRoberts@mitel.com
Cc: "linuxppc-embedded@lists.linuxppc.org"
	<linuxppc-embedded@lists.linuxppc.org>
Subject: Re: Hard disk and segmentation violation.
Date: Fri, 05 Oct 2001 11:28:04 -0500	[thread overview]
Message-ID: <3BBDDF94.9728840D@labs.mot.com> (raw)
In-Reply-To: 85256ADC.00515614.00@kanmta01.software.mitel.com


I just had this exact same problem earlier this week. I read the archives regarding
the use of ioremap in early kernel initialization. Still I don't yet have a good
grasp on what space can be mapped 1:1 in arch/ppc/mm/init.c and what cannot. For
now my solution was to move the harddisk up to 0xF8000000.  I chose that space only
because other boards use that address for IO space. Apparently this can be 1:1
mapped. I don't get seg faults with fdisk anymore.

Steve

John_McRoberts@mitel.com wrote:

> I seem to have a problem with fdisk whereby I get an segmentation violation to
> the hard disk, address 0x43000000 +. I have performed and ioremap to this area.

--
-------------------------------------------------------
Steven K. Rossi                     srossi@labs.mot.com
Staff Engineer
Multimedia Communications Research Laboratory
Motorola Labs
-------------------------------------------------------


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  parent reply	other threads:[~2001-10-05 16:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-05 14:50 Hard disk and segmentation violation John_McRoberts
2001-10-05 15:41 ` Dan Malek
2001-10-05 16:28 ` Steve Rossi [this message]
2001-10-05 16:54   ` Dan Malek

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=3BBDDF94.9728840D@labs.mot.com \
    --to=srossi@labs.mot.com \
    --cc=John_McRoberts@mitel.com \
    --cc=linuxppc-embedded@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).