linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Kernel panic when loading the IDE controller driver
@ 2019-02-13 11:01 sgosavi1
  2019-02-13 11:46 ` Christophe Leroy
  0 siblings, 1 reply; 12+ messages in thread
From: sgosavi1 @ 2019-02-13 11:01 UTC (permalink / raw)
  To: linuxppc-dev

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-02-26 12:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-13 11:01 Kernel panic when loading the IDE controller driver sgosavi1
2019-02-13 11:46 ` 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

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).