From: sgosavi1 <Sachin.Gosavi@emerson.com>
To: linuxppc-dev@ozlabs.org
Subject: Kernel panic when loading the IDE controller driver
Date: Wed, 13 Feb 2019 04:01:31 -0700 (MST) [thread overview]
Message-ID: <1550055691105-0.post@n7.nabble.com> (raw)
Hi All,
I have been working on porting Linux-4.15.13 kernel on our existing MPC8270
processor board. For this exercise, I have used pq2fads as a reference
board, its associated device tree and used cuImage for building the kernel.
I am facing an issue with the generic IDE flash controller driver in the new
kernel source where it fails to detect the Flash controller connected to 2GB
NAND flash available on the board. We have used non-standard IO port
addresses for this driver in the older kernel and I have added the required
code in the new kernel to setup the set of addresses that we need as IO
ports. Also, modified the code in the drivers/ide/ source to use the
non-standard IO port address. However, during boot up while inserting the
module I continue to get the below errors.
[ 4.116587] ide: forcing hda as a disk (3543/255/63)
[ 4.184190] Probing IDE interface ide0...
[ 4.226330] Machine check in kernel mode.
[ 4.233809] Caused by (from SRR1=49030):
[ 4.233826] Transfer error ack signal
[ 4.249263] IN from bad port e000000e at 004123ef
I understand that this is an addressing issue but not sure exactly what am I
missing to fix the problem. Can you provide me your inputs on debugging this
issue?
Thanks,
Sachin.
--
Sent from: http://linuxppc.10917.n7.nabble.com/linuxppc-dev-f3.html
next reply other threads:[~2019-02-13 11:11 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-13 11:01 sgosavi1 [this message]
2019-02-13 11:46 ` Kernel panic when loading the IDE controller driver Christophe Leroy
2019-02-13 12:24 ` sgosavi1
2019-02-13 12:31 ` Christophe Leroy
2019-02-13 12:53 ` sgosavi1
2019-02-13 15:27 ` Christophe Leroy
2019-02-14 8:17 ` sgosavi1
2019-02-14 18:14 ` Michal Suchánek
2019-02-15 11:27 ` sgosavi1
2019-02-21 8:18 ` sgosavi1
2019-02-14 17:54 ` Christophe Leroy
[not found] ` <CGME20190226115150eucas1p2f759d8df50102507a0ee66c4ab36003f@eucas1p2.samsung.com>
2019-02-26 11:51 ` Bartlomiej Zolnierkiewicz
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=1550055691105-0.post@n7.nabble.com \
--to=sachin.gosavi@emerson.com \
--cc=linuxppc-dev@ozlabs.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).