linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Locke <mlocke@mvista.com>
To: lmphuc@yahoo.com, linuxppc-embedded@lists.linuxppc.org
Subject: Re: FWD: Installing PCMCIA hard disk on DVK MPC823
Date: Wed, 02 Aug 2000 13:44:06 -0700	[thread overview]
Message-ID: <39888816.AEA4C307@mvista.com> (raw)
In-Reply-To: 380658298.965240776157.JavaMail.root@web621-wrb.mail.com


> My name's Phuc Le. I am new on this field. I just installed
> PCMCIA HDD on the the DVK MPC823 but it failed.

What is the DVK 823? I  haven't heard of that one.


> The result was the cardmgr detects the flugged pcmcia device to be
> ATA/IDE and it tried to load the 'ide_cs.o' module. But it failed. The error
> message were displayed as below:
>
> .... ide_cs.o: unresolved symbol 'ide_register'
> .... ide_cs.o: unresolved symbol 'ide_unregister'
>
> I tried to rebuilt the kernel with turn-on some IDE features in the
> configuration phase and recompile the pcmcia based on the new kernel.
>
> The result was still failed with the kernel to be panic status.
>

As usual Dan beat me to a response, but I can give a little more
detail:-)

My next task (probably after LinuxWorld this month) is to figure out all
the details for making card services work on 8xx and document them.  In
the mean time, here is what I know:

The 8xx portion of the kernel has some code that connects the PCMCIA
controller to the IDE driver (without card services).  this code is
activated when you select the *_IDE and *_IDEDISK config options.  So it
probably is conflicting with the ide_cs modules in card services.  I
think if you pass in the ide=noprobe (check docs for exact args) at the
boot prompt it might work, maybe.

If you don't need hot swap, I suggest not using card services until I
have packaged it for HardHat.  Instead use the existing code that
connects the controller to the IDE driver.  You may need to tune some
timing parameters to your PCMCIA h/w.  I have a patch that makes it work
with a SanDisk at  ftp://ftp.mvista.com/pub/Area51/embedded-planet
To do this:

apply the patch
Enable the _IDE and _IDEDISK kernel config options
make dep; make zImage
insert PCMCIA card
load and boot linux


I will post a message when Card Services is available on Montavista's
ftp site.


Matthew Locke
Software Engineer
Montavista Software

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

       reply	other threads:[~2000-08-02 20:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <380658298.965240776157.JavaMail.root@web621-wrb.mail.com>
2000-08-02 20:44 ` Matthew Locke [this message]
2000-08-03 18:31   ` Usb slave API Nguyen Xuan Hoang
2000-08-04  4:45     ` Dan Malek
2000-09-13 16:56       ` Gary Swanson
2000-08-05  1:50     ` Nguyen Xuan Hoang
2000-08-04 18:31       ` Matthew Locke
2000-08-05 20:03         ` Nguyen Xuan Hoang

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=39888816.AEA4C307@mvista.com \
    --to=mlocke@mvista.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=lmphuc@yahoo.com \
    /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).