linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* mtd mxc_nand: mx35 kernel panic during request to read Device ID
@ 2012-06-12 10:35 Alex Gershgorin
  2012-06-12 11:50 ` Uwe Kleine-König
  2012-06-12 12:11 ` Fabio Estevam
  0 siblings, 2 replies; 10+ messages in thread
From: Alex Gershgorin @ 2012-06-12 10:35 UTC (permalink / raw)
  To: artem.bityutskiy@linux.intel.com
  Cc: s.hauer@pengutronix.de, linux-mtd@lists.infradead.org,
	u.kleine-koenig@pengutronix.de

Hi everybody,

In kernel 3.4, I have not encountered this problem

Unhandled fault: imprecise external abort (0x406) at 0x00000000
Internal error: : 406 [#1] ARM
CPU: 0    Not tainted  (3.5.0-rc2+ #2537)
PC is at _memcpy_fromio+0x24/0x38
LR is at send_read_id_v1_v2+0x84/0xd4
pc : [<80011ad4>]    lr : [<801f5704>]    psr: 20000013
sp : 86033d94  ip : 86033da8  fp : 86033da4
r10: ffffffff  r9 : 00000000  r8 : 00000000
r7 : 00000000  r6 : 00000090  r5 : 86128000  r4 : 00000000
r3 : 00000000  r2 : 0000000f  r1 : 8880c000  r0 : 86128448
Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 00c5387d  Table: 80004008  DAC: 00000017
Process swapper (pid: 1, stack limit = 0x86032268)
Backtrace: 
[<80011ab0>] (_memcpy_fromio+0x0/0x38) from [<801f5704>] (send_read_id_v1_v2+0x84/0xd4)
 r4:86128000
[<801f5680>] (send_read_id_v1_v2+0x0/0xd4) from [<801f614c>] (mxc_nand_command+0x210/0x244)
 r4:86128000 r3:801f5680
[<801f5f3c>] (mxc_nand_command+0x0/0x244) from [<801f128c>] (nand_scan_ident+0x190/0xa44)
[<801f10fc>] (nand_scan_ident+0x0/0xa44) from [<803e02d0>] (mxcnd_probe+0x380/0x4b8)
[<803dff50>] (mxcnd_probe+0x0/0x4b8) from [<801c1d78>] (platform_drv_probe+0x1c/0x20)
 r8:00000000 r7:8041a4c0 r6:8041a4c0 r5:86057008 r4:86057008
[<801c1d5c>] (platform_drv_probe+0x0/0x20) from [<801c09a8>] (driver_probe_device+0xb0/0x1cc)
[<801c08f8>] (driver_probe_device+0x0/0x1cc) from [<801c0b2c>] (__driver_attach+0x68/0x8c)
 r7:00000000 r6:8041a4c0 r5:8605703c r4:86057008
[<801c0ac4>] (__driver_attach+0x0/0x8c) from [<801bf404>] (bus_for_each_dev+0x54/0x84)
 r6:00000000 r5:801c0ac4 r4:8041a4c0 r3:801c0ac4
[<801bf3b0>] (bus_for_each_dev+0x0/0x84) from [<801c07e0>] (driver_attach+0x20/0x28)
 r6:804169f0 r5:861107e0 r4:8041a4c0
[<801c07c0>] (driver_attach+0x0/0x28) from [<801bfab0>] (bus_add_driver+0xb4/0x220)
[<801bf9fc>] (bus_add_driver+0x0/0x220) from [<801c1170>] (driver_register+0xa8/0x134)
[<801c10c8>] (driver_register+0x0/0x134) from [<801c210c>] (platform_driver_register+0x4c/0x60)
 r8:00000000 r7:00000000 r6:00000081 r5:803dff2c r4:8041a4ac
r3:00000000
[<801c20c0>] (platform_driver_register+0x0/0x60) from [<803dec68>] (platform_driver_probe+0x20/0x70)
[<803dec48>] (platform_driver_probe+0x0/0x70) from [<803dff44>] (mxc_nd_init+0x18/0x24)
 r5:803dff2c r4:00000006
[<803dff2c>] (mxc_nd_init+0x0/0x24) from [<803ca268>] (do_one_initcall+0xa0/0x170)
[<803ca1c8>] (do_one_initcall+0x0/0x170) from [<803ca4d8>] (kernel_init+0xe4/0x1c0)
 r9:00000000 r8:00000000 r7:803f21e0 r6:00000081 r5:803eb120
r4:00000006
[<803ca3f4>] (kernel_init+0x0/0x1c0) from [<8001ddb8>] (do_exit+0x0/0x698)
 r7:00000013 r6:8001ddb8 r5:803ca3f4 r4:00000000
Code: e7d3c001 e2422001 e3a04000 ee074f9a (e7c0c003) 
---[ end trace 569b102f52cca9c7 ]---
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

Regards,
Alex

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

* Re: mtd mxc_nand: mx35 kernel panic during request to read Device ID
  2012-06-12 10:35 mtd mxc_nand: mx35 kernel panic during request to read Device ID Alex Gershgorin
@ 2012-06-12 11:50 ` Uwe Kleine-König
  2012-06-12 12:13   ` Alex Gershgorin
  2012-06-12 12:11 ` Fabio Estevam
  1 sibling, 1 reply; 10+ messages in thread
From: Uwe Kleine-König @ 2012-06-12 11:50 UTC (permalink / raw)
  To: Alex Gershgorin
  Cc: artem.bityutskiy@linux.intel.com, s.hauer@pengutronix.de,
	linux-mtd@lists.infradead.org

Hi Alex,

On Tue, Jun 12, 2012 at 01:35:57PM +0300, Alex Gershgorin wrote:
> In kernel 3.4, I have not encountered this problem
Which version did you test? Does reverting
4b6f05e14df163e319bc85ca6e35d2720a91207d help? If so Sascha's patch send
with Message-Id:
1338279369-25915-1-git-send-email-s.hauer@pengutronix.de might help you.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

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

* Re: mtd mxc_nand: mx35 kernel panic during request to read Device ID
  2012-06-12 10:35 mtd mxc_nand: mx35 kernel panic during request to read Device ID Alex Gershgorin
  2012-06-12 11:50 ` Uwe Kleine-König
@ 2012-06-12 12:11 ` Fabio Estevam
  2012-06-12 12:25   ` Alex Gershgorin
  2012-06-12 16:16   ` s.hauer
  1 sibling, 2 replies; 10+ messages in thread
From: Fabio Estevam @ 2012-06-12 12:11 UTC (permalink / raw)
  To: Alex Gershgorin
  Cc: artem.bityutskiy@linux.intel.com, s.hauer@pengutronix.de,
	linux-mtd@lists.infradead.org, u.kleine-koenig@pengutronix.de

Hi Alex,

On Tue, Jun 12, 2012 at 7:35 AM, Alex Gershgorin <alexg@meprolight.com> wrote:
> Hi everybody,
>
> In kernel 3.4, I have not encountered this problem

Please try this patch:
https://lkml.org/lkml/2012/6/8/366

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

* RE: mtd mxc_nand: mx35 kernel panic during request to read Device ID
  2012-06-12 11:50 ` Uwe Kleine-König
@ 2012-06-12 12:13   ` Alex Gershgorin
  2012-06-12 16:20     ` s.hauer
  0 siblings, 1 reply; 10+ messages in thread
From: Alex Gershgorin @ 2012-06-12 12:13 UTC (permalink / raw)
  To: Uwe Kleine-König
  Cc: artem.bityutskiy@linux.intel.com, s.hauer@pengutronix.de,
	linux-mtd@lists.infradead.org

Hi Alex,

> On Tue, Jun 12, 2012 at 01:35:57PM +0300, Alex Gershgorin wrote:
> In kernel 3.4, I have not encountered this problem

> > Which version did you test? Does reverting

I tested with v3.5-rc1 and v3.5-rc2, in two cases, I get a kernel panic

>> 4b6f05e14df163e319bc85ca6e35d2720a91207d help? If so Sascha's patch send
>> with Message-Id:
>> 1338279369-25915-1-git-send-email-s.hauer@pengutronix.de might help you.

I'm using v3.5-rc2 + that starts from commit 7452ca511c217b9d7bbadf4680018555c7d9a7ce,
this includes Sasha's patch
 
Thanks,
Alex
 



 

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

* RE: mtd mxc_nand: mx35 kernel panic during request to read Device ID
  2012-06-12 12:11 ` Fabio Estevam
@ 2012-06-12 12:25   ` Alex Gershgorin
  2012-06-12 14:09     ` Fabio Estevam
  2012-06-12 16:16   ` s.hauer
  1 sibling, 1 reply; 10+ messages in thread
From: Alex Gershgorin @ 2012-06-12 12:25 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: artem.bityutskiy@linux.intel.com, s.hauer@pengutronix.de,
	linux-mtd@lists.infradead.org, u.kleine-koenig@pengutronix.de



Hi Fabio,

On Tue, Jun 12, 2012 at 7:35 AM, Alex Gershgorin <alexg@meprolight.com> wrote:
> Hi everybody,
>
> In kernel 3.4, I have not encountered this problem

> > Please try this patch:
> > https://lkml.org/lkml/2012/6/8/366

I applied this patch, but unfortunately I got the same result

Thanks,
Alex

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

* Re: mtd mxc_nand: mx35 kernel panic during request to read Device ID
  2012-06-12 12:25   ` Alex Gershgorin
@ 2012-06-12 14:09     ` Fabio Estevam
  2012-06-12 14:50       ` Alex Gershgorin
  0 siblings, 1 reply; 10+ messages in thread
From: Fabio Estevam @ 2012-06-12 14:09 UTC (permalink / raw)
  To: Alex Gershgorin
  Cc: artem.bityutskiy@linux.intel.com, s.hauer@pengutronix.de,
	linux-mtd@lists.infradead.org, u.kleine-koenig@pengutronix.de

On Tue, Jun 12, 2012 at 9:25 AM, Alex Gershgorin <alexg@meprolight.com> wrote:

> I applied this patch, but unfortunately I got the same result

Could you please run git bisect to figure out the commit that is
causing the oops?

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

* RE: mtd mxc_nand: mx35 kernel panic during request to read Device ID
  2012-06-12 14:09     ` Fabio Estevam
@ 2012-06-12 14:50       ` Alex Gershgorin
  0 siblings, 0 replies; 10+ messages in thread
From: Alex Gershgorin @ 2012-06-12 14:50 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: artem.bityutskiy@linux.intel.com, s.hauer@pengutronix.de,
	linux-mtd@lists.infradead.org, u.kleine-koenig@pengutronix.de




> I applied this patch, but unfortunately I got the same result

> > Could you please run git bisect to figure out the commit that is
> > causing the oops?

I'll try to do it tomorrow, unfortunately I have no time today

Regards,
Alex

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

* Re: mtd mxc_nand: mx35 kernel panic during request to read Device ID
  2012-06-12 12:11 ` Fabio Estevam
  2012-06-12 12:25   ` Alex Gershgorin
@ 2012-06-12 16:16   ` s.hauer
  1 sibling, 0 replies; 10+ messages in thread
From: s.hauer @ 2012-06-12 16:16 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: artem.bityutskiy@linux.intel.com, linux-mtd@lists.infradead.org,
	Alex Gershgorin, u.kleine-koenig@pengutronix.de

On Tue, Jun 12, 2012 at 09:11:05AM -0300, Fabio Estevam wrote:
> Hi Alex,
> 
> On Tue, Jun 12, 2012 at 7:35 AM, Alex Gershgorin <alexg@meprolight.com> wrote:
> > Hi everybody,
> >
> > In kernel 3.4, I have not encountered this problem
> 
> Please try this patch:
> https://lkml.org/lkml/2012/6/8/366

This patch is necessary for the mxc_nand to work with flash based bbt.
However, without this patch the kernel won't crash.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

* Re: mtd mxc_nand: mx35 kernel panic during request to read Device ID
  2012-06-12 12:13   ` Alex Gershgorin
@ 2012-06-12 16:20     ` s.hauer
  2012-06-13  7:19       ` Alex Gershgorin
  0 siblings, 1 reply; 10+ messages in thread
From: s.hauer @ 2012-06-12 16:20 UTC (permalink / raw)
  To: Alex Gershgorin
  Cc: artem.bityutskiy@linux.intel.com, linux-mtd@lists.infradead.org,
	Uwe Kleine-König

On Tue, Jun 12, 2012 at 03:13:47PM +0300, Alex Gershgorin wrote:
> Hi Alex,
> 
> > On Tue, Jun 12, 2012 at 01:35:57PM +0300, Alex Gershgorin wrote:
> > In kernel 3.4, I have not encountered this problem
> 
> > > Which version did you test? Does reverting
> 
> I tested with v3.5-rc1 and v3.5-rc2, in two cases, I get a kernel panic
> 
> >> 4b6f05e14df163e319bc85ca6e35d2720a91207d help? If so Sascha's patch send
> >> with Message-Id:
> >> 1338279369-25915-1-git-send-email-s.hauer@pengutronix.de might help you.
> 
> I'm using v3.5-rc2 + that starts from commit 7452ca511c217b9d7bbadf4680018555c7d9a7ce,
> this includes Sasha's patch

You need this one:

http://patchwork.ozlabs.org/patch/161373/

This is not yet in Linus' tree

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

* RE: mtd mxc_nand: mx35 kernel panic during request to read Device ID
  2012-06-12 16:20     ` s.hauer
@ 2012-06-13  7:19       ` Alex Gershgorin
  0 siblings, 0 replies; 10+ messages in thread
From: Alex Gershgorin @ 2012-06-13  7:19 UTC (permalink / raw)
  To: s.hauer@pengutronix.de
  Cc: artem.bityutskiy@linux.intel.com, linux-mtd@lists.infradead.org,
	Uwe Kleine-König


Hi  Sascha,

On Tue, Jun 12, 2012 at 03:13:47PM +0300, Alex Gershgorin wrote:
> Hi Alex,
>
> > On Tue, Jun 12, 2012 at 01:35:57PM +0300, Alex Gershgorin wrote:
> > In kernel 3.4, I have not encountered this problem
>
> > > Which version did you test? Does reverting
>
> I tested with v3.5-rc1 and v3.5-rc2, in two cases, I get a kernel panic
>
> >> 4b6f05e14df163e319bc85ca6e35d2720a91207d help? If so Sascha's patch send
> >> with Message-Id:
> >> 1338279369-25915-1-git-send-email-s.hauer@pengutronix.de might help you.
>
> I'm using v3.5-rc2 + that starts from commit 7452ca511c217b9d7bbadf4680018555c7d9a7ce,
> this includes Sasha's patch

> > You need this one:

> > http://patchwork.ozlabs.org/patch/161373/

Thanks for your help, this patch fixes the problem :-)

Regards,
Alex

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

end of thread, other threads:[~2012-06-13  7:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-12 10:35 mtd mxc_nand: mx35 kernel panic during request to read Device ID Alex Gershgorin
2012-06-12 11:50 ` Uwe Kleine-König
2012-06-12 12:13   ` Alex Gershgorin
2012-06-12 16:20     ` s.hauer
2012-06-13  7:19       ` Alex Gershgorin
2012-06-12 12:11 ` Fabio Estevam
2012-06-12 12:25   ` Alex Gershgorin
2012-06-12 14:09     ` Fabio Estevam
2012-06-12 14:50       ` Alex Gershgorin
2012-06-12 16:16   ` s.hauer

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