public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* UBI leb_write_unlock NULL pointer Oops
@ 2013-05-13 23:09 Brent Taylor
  2013-06-25 13:13 ` Jan Lübbe
  2013-07-01  7:05 ` Artem Bityutskiy
  0 siblings, 2 replies; 6+ messages in thread
From: Brent Taylor @ 2013-05-13 23:09 UTC (permalink / raw)
  To: linux-mtd

I'm working with an atmel at91sam9g20 evaluation board
(http://www.atmel.com/Images/doc6413.pdf) running the Linux kernel
version 3.6.9.  On two occasions I have had the following Oops
reported:

Unable to handle kernel NULL pointer dereference at virtual address 0000000c
pgd = c313c000
[0000000c] *pgd=231a5831, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1] ARM
Modules linked in:
CPU: 0    Tainted: G        W     (3.6.9-00.04 #1)
PC is at __up_write+0x34/0x16c
LR is at leb_write_unlock+0x2c/0x88
pc : [<c013493c>]    lr : [<c01933d4>]    psr: a0000093
sp : c3337c00  ip : 00000000  fp : 00000000
r10: c396e800  r9 : c3b89e38  r8 : c3972200
r7 : 000003c8  r6 : c3b89e3c  r5 : c396e800  r4 : c3b89e20
r3 : 00000000  r2 : 60000013  r1 : 00000000  r0 : c3b89e38
Flags: NzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: 0005317f  Table: 2313c000  DAC: 00000015
Process ipkg (pid: 25472, stack limit = 0xc3336270)
Stack: (0xc3337c00 to 0xc3338000)
7c00: 00001000 60000013 c3b89e20 c3b89e20 c396e800 00000293 000003c8 c3972200
7c20: c39feca0 c396e800 00000000 c01933d4 0001e800 00000000 c3a8f000 c0193acc
7c40: 00000800 000003c8 c3bac890 00000800 00000001 c00f46f0 00000000 00000800
7c60: 00000001 00000000 c3827adc 0000f2b2 c3a8eed0 c032dbf4 60000013 c0135814
7c80: 0000f2b2 c3a8eed0 c032dbe8 c3a8eed0 c032dbe8 c003109c 0000f2b2 23b61667
7ca0: 0000f2b2 c0031698 000003c8 0001edd8 70e5b867 0000f2b1 c3a8ee90 c3972200
7cc0: 00000800 00000800 000003c8 c396e800 c39feca0 00000000 c3a8f000 c0192874
7ce0: 00000800 00000800 c3a8eed0 c3a8f000 c3a4a000 00000800 000003c8 c033f178
7d00: c34bcdc0 c34463b8 00000188 c00dd268 00000800 000005d8 c033f178 c34bcdc0
7d20: c34463b8 c3a8ee90 c3a4a000 00000800 000005d8 c00dde20 00000800 c34bcdc0
7d40: c34463b8 c3b0f248 00000000 c3b0f200 c3a4a000 c348e460 c34463b8 c00d07bc
7d60: c3337d8c 00000001 c035ab68 c34463b8 00000000 00000001 00000048 000000a0
7d80: 00000043 000000a0 000003c8 000008a0 0000090c 45bfb79e 00000000 c0096178
7da0: 00000000 971f618a 00000000 00000048 00000000 c34463b8 00000000 c3a4a000
7dc0: c34bcdc0 c348e448 00000158 c00d7298 00000000 00000000 00000000 c34464f8
7de0: 00000018 00100050 00000000 00000180 000001d8 000000a0 c3337f08 00000000
7e00: c348e448 c34463b8 00000001 c3337ec0 c3b1e9a0 00000022 c3337f78 c0089e60
7e20: 00000301 c0089654 00000000 000081a4 c3337f00 c3445118 00000241 c008c94c
7e40: 00000003 c3337e60 00000000 c008a05c 000081b6 c3445118 00000000 00000001
7e60: c348e448 00000000 c34463b8 000003c8 00bfb79e 0000000a 00000000 00000000
7e80: c3337f00 c3b1e9a0 c3337f00 00000000 c3337f78 c3337ec0 c3336000 c3336000
7ea0: 00000000 c008cdf8 c3337ebc 00000000 c3a4a000 00000001 00000000 00000001
7ec0: c34b8068 c00d1050 00000000 00000000 000003c8 c3337f78 00000001 c336a000
7ee0: ffffff9c ffffff9c c3336000 00000000 be94e784 c008d47c 00000041 c0009424
7f00: c38121d0 c3445118 25bfb79e 0000000a c336a00f c032fca8 00000000 c3417338
7f20: c34463b8 00000301 00000002 00000000 00000000 c008ba04 00000005 c3821080
7f40: c335b380 00000000 ffffff9c c00970b8 bf000000 00000241 c336a000 00000241
7f60: c336a000 00000005 00000001 c007f8d4 00000000 00000000 00000241 000081b6
7f80: 00000022 00000300 5191533c 005491b0 b6f509b5 00000004 00000005 c0009424
7fa0: 00000000 c00092c0 005491b0 b6f509b5 00548e70 00000241 000001b6 000001b6
7fc0: 005491b0 b6f509b5 00000004 00000005 b6f509b4 00548cd0 00000001 be94e784
7fe0: 00000000 be94e72c b6e6c750 b6ebd0dc 60000010 00548e70 00000000 00000000
[<c013493c>] (__up_write+0x34/0x16c) from [<c01933d4>]
(leb_write_unlock+0x2c/0x88)
[<c01933d4>] (leb_write_unlock+0x2c/0x88) from [<c0193acc>]
(ubi_eba_write_leb+0xa0/0x984)
[<c0193acc>] (ubi_eba_write_leb+0xa0/0x984) from [<c0192874>]
(ubi_leb_write+0xe0/0x124)
[<c0192874>] (ubi_leb_write+0xe0/0x124) from [<c00dd268>]
(ubifs_leb_write+0x9c/0x130)
[<c00dd268>] (ubifs_leb_write+0x9c/0x130) from [<c00dde20>]
(ubifs_wbuf_sync_nolock+0x104/
0x34c)
[<c00dde20>] (ubifs_wbuf_sync_nolock+0x104/0x34c) from [<c00d07bc>]
(ubifs_jnl_update+0x2b8/0x60c)
[<c00d07bc>] (ubifs_jnl_update+0x2b8/0x60c) from [<c00d7298>]
(ubifs_create+0x108/0x1dc)
[<c00d7298>] (ubifs_create+0x108/0x1dc) from [<c0089e60>] (vfs_create+0x84/0xb4)
[<c0089e60>] (vfs_create+0x84/0xb4) from [<c008c94c>]
(do_last.isra.38+0x78c/0xb90)
[<c008c94c>] (do_last.isra.38+0x78c/0xb90) from [<c008cdf8>]
(path_openat+0xa8/0x448)
[<c008cdf8>] (path_openat+0xa8/0x448) from [<c008d47c>] (do_filp_open+0x2c/0x80)
[<c008d47c>] (do_filp_open+0x2c/0x80) from [<c007f8d4>] (do_sys_open+0xe8/0x180)
[<c007f8d4>] (do_sys_open+0xe8/0x180) from [<c00092c0>]
(ret_fast_syscall+0x0/0x2c)
Code: e5903004 e58d2004 e1560003 0a00002a (e593200c)
---[ end trace 287ddd4605e3394c ]---
Kernel panic - not syncing: Fatal exception


Unable to handle kernel NULL pointer dereference at virtual address 0000000c
pgd = c3168000
[0000000c] *pgd=230d9831, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1] ARM
Modules linked in:
CPU: 0    Tainted: G        W     (3.6.9-00.04 #52)
PC is at __up_write+0x34/0x16c
LR is at leb_write_unlock+0x2c/0x88
pc : [<c013493c>]    lr : [<c01933d4>]    psr: a0000093
sp : c3137d50  ip : 00000000  fp : 00000000
r10: c3947800  r9 : c3b32478  r8 : c3972200
r7 : 000001ab  r6 : c3b3247c  r5 : c3947800  r4 : c3b32460
r3 : 00000000  r2 : 60000013  r1 : 00000000  r0 : c3b32478
Flags: NzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: 0005317f  Table: 23168000  DAC: 00000015
Process ipkg (pid: 3180, stack limit = 0xc3136270)
Stack: (0xc3137d50 to 0xc3138000)
7d40:                                     00001000 60000013 c3b32460 c3b32460
7d60: c3947800 000001ae 000001ab c3972200 c39fee20 c3947800 00000000 c01933d4
7d80: 0001e800 00000000 c3a8f000 c0193acc 00000800 000001ab c3bd4ef8 00000800
7da0: 00000001 c00f46f0 00000000 00000000 00000001 00000000 c3861a50 0000139a
7dc0: c3a8eed0 c032dbf4 60000013 c0135814 0000139a c3a8eed0 c032dbe8 c3a8eed0
7de0: c032dbe8 c003109c 0000139a cda4b1d9 00001399 c0031698 000001ab 0001edc8
7e00: 1ad453d9 00001399 c3a8ee90 c3972200 00000800 00000800 000001ab c3947800
7e20: c39fee20 00000000 c3a8f000 c0192874 00000800 00000800 c3a8eed0 c3a8f000
7e40: c3a4a000 00000800 000001ab c033f178 c3488860 c3439860 00000198 c00dd268
7e60: 00000800 000005c8 c033f178 c3488860 c3439860 c3a8ee90 c3a4a000 00000800
7e80: 000005c8 c00dde20 00000800 c3488860 c3439860 c3bc6040 00000000 c3bc6000
7ea0: c3a4a000 c3443ac0 c3439860 c00d07bc c3137edc 00000001 c035ab68 c3439860
7ec0: 00000000 00000001 00000040 000000b8 0000003f 000000b8 000001ab 000008a0
7ee0: 000002bb 56598f8f 00000000 c0096178 00000000 39add542 00000600 00000018
7f00: 00000000 c3439860 00000000 c3a4a000 c3488860 c3443aa8 00000040 c00d70c8
7f20: 00000000 00000000 c3439860 c34399a0 00000002 00100c50 00000000 00000180
7f40: 000001f0 000000a0 00000000 00000000 c3443aa8 c3439860 00000053 c0009424
7f60: c3136000 00000000 00000000 c0089fd0 00000000 c008b72c 00000000 c30c0000
7f80: c30c0000 c3443aa8 007ed440 c008d84c c38121d0 c3437118 007ed400 00000270
7fa0: 007ed748 c00092c0 007ed400 00000270 007ed480 007ed440 0000a1ff 0000a000
7fc0: 007ed400 00000270 007ed748 00000053 b6f09198 007ed290 b6eda9d8 00000000
7fe0: b6e6af80 bed777b4 b6ef94c0 b6e6af8c 60000010 007ed480 00000000 00000000
[<c013493c>] (__up_write+0x34/0x16c) from [<c01933d4>]
(leb_write_unlock+0x2c/0x88)
[<c01933d4>] (leb_write_unlock+0x2c/0x88) from [<c0193acc>]
(ubi_eba_write_leb+0xa0/0x984)
[<c0193acc>] (ubi_eba_write_leb+0xa0/0x984) from [<c0192874>]
(ubi_leb_write+0xe0/0x124)
[<c0192874>] (ubi_leb_write+0xe0/0x124) from [<c00dd268>]
(ubifs_leb_write+0x9c/0x130)
[<c00dd268>] (ubifs_leb_write+0x9c/0x130) from [<c00dde20>]
(ubifs_wbuf_sync_nolock+0x104/0x34c)
[<c00dde20>] (ubifs_wbuf_sync_nolock+0x104/0x34c) from [<c00d07bc>]
(ubifs_jnl_update+0x2b8/0x60c)
[<c00d07bc>] (ubifs_jnl_update+0x2b8/0x60c) from [<c00d70c8>]
(ubifs_symlink+0x184/0x24c)
[<c00d70c8>] (ubifs_symlink+0x184/0x24c) from [<c0089fd0>]
(vfs_symlink+0x70/0xa0)
[<c0089fd0>] (vfs_symlink+0x70/0xa0) from [<c008d84c>] (sys_symlinkat+0x5c/0x8c)
[<c008d84c>] (sys_symlinkat+0x5c/0x8c) from [<c00092c0>]
(ret_fast_syscall+0x0/0x2c)
Code: e5903004 e58d2004 e1560003 0a00002a (e593200c)
---[ end trace 87f6e7e0bf0f559a ]---
Kernel panic - not syncing: Fatal exception

I'm sorry I don't have more information, but both oops' occurred while
the program 'ipkg' was unpacking a tarball into the root filesystem.
I tried to reproduce the problem by unpacking a tarball, deleting the
files, the unpacking the same tarball again.  The board ran
successfully for hours until I stopped the test.

I have found the ubifs-v3.6.git tree but since I'm using version
3.6.9, how can I easily apply all the patches from 3.6 to the current
release since some of the patches seem to have already made it into
the 3.6.9 release.

I didn't see anything in the patches listed in ubifs-v3.6.git that
would fix something like this.

Thanks for your time,
Brent Taylor

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

* Re: UBI leb_write_unlock NULL pointer Oops
  2013-05-13 23:09 UBI leb_write_unlock NULL pointer Oops Brent Taylor
@ 2013-06-25 13:13 ` Jan Lübbe
  2013-07-01  7:05 ` Artem Bityutskiy
  1 sibling, 0 replies; 6+ messages in thread
From: Jan Lübbe @ 2013-06-25 13:13 UTC (permalink / raw)
  To: Brent Taylor; +Cc: linux-mtd

Hi,

On Mon, 2013-05-13 at 18:09 -0500, Brent Taylor wrote:
> I'm working with an atmel at91sam9g20 evaluation board
> (http://www.atmel.com/Images/doc6413.pdf) running the Linux kernel
> version 3.6.9.  On two occasions I have had the following Oops
> reported:
> 
> Unable to handle kernel NULL pointer dereference at virtual address 0000000c
> pgd = c313c000
> [0000000c] *pgd=231a5831, *pte=00000000, *ppte=00000000
> Internal error: Oops: 17 [#1] ARM
> Modules linked in:
> CPU: 0    Tainted: G        W     (3.6.9-00.04 #1)
> PC is at __up_write+0x34/0x16c
> LR is at leb_write_unlock+0x2c/0x88

> [<c013493c>] (__up_write+0x34/0x16c) from [<c01933d4>] (leb_write_unlock+0x2c/0x88)
> [<c01933d4>] (leb_write_unlock+0x2c/0x88) from [<c0193acc>] (ubi_eba_write_leb+0xa0/0x984)
> [<c0193acc>] (ubi_eba_write_leb+0xa0/0x984) from [<c0192874>] (ubi_leb_write+0xe0/0x124)
> [<c0192874>] (ubi_leb_write+0xe0/0x124) from [<c00dd268>] (ubifs_leb_write+0x9c/0x130)
> [<c00dd268>] (ubifs_leb_write+0x9c/0x130) from [<c00dde20>] (ubifs_wbuf_sync_nolock+0x104/0x34c)
> [<c00dde20>] (ubifs_wbuf_sync_nolock+0x104/0x34c) from [<c00d07bc>] (ubifs_jnl_update+0x2b8/0x60c)
> [<c00d07bc>] (ubifs_jnl_update+0x2b8/0x60c) from [<c00d7298>] (ubifs_create+0x108/0x1dc)
> [<c00d7298>] (ubifs_create+0x108/0x1dc) from [<c0089e60>] (vfs_create+0x84/0xb4)
> [<c0089e60>] (vfs_create+0x84/0xb4) from [<c008c94c>] (do_last.isra.38+0x78c/0xb90)
> [<c008c94c>] (do_last.isra.38+0x78c/0xb90) from [<c008cdf8>] (path_openat+0xa8/0x448)
> [<c008cdf8>] (path_openat+0xa8/0x448) from [<c008d47c>] (do_filp_open+0x2c/0x80)
> [<c008d47c>] (do_filp_open+0x2c/0x80) from [<c007f8d4>] (do_sys_open+0xe8/0x180)
> [<c007f8d4>] (do_sys_open+0xe8/0x180) from [<c00092c0>] (ret_fast_syscall+0x0/0x2c)
> Code: e5903004 e58d2004 e1560003 0a00002a (e593200c)
> ---[ end trace 287ddd4605e3394c ]---
> Kernel panic - not syncing: Fatal exception

I've seen the same traceback with 3.7.5, I seems to have something to do
with remounting read-only or failing to unmount a busy FS. Did you also
use remount?

You could also try to enable CONFIG_DEBUG_SPINLOCK, CONFIG_DEBUG_MUTEXES
and CONFIG_DEBUG_LOCK_ALLOC, as the cash seems to happen during lock
operations.

Regards,
Jan Lübbe
-- 
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] 6+ messages in thread

* Re: UBI leb_write_unlock NULL pointer Oops
  2013-05-13 23:09 UBI leb_write_unlock NULL pointer Oops Brent Taylor
  2013-06-25 13:13 ` Jan Lübbe
@ 2013-07-01  7:05 ` Artem Bityutskiy
  2013-07-01 14:50   ` Brent Taylor
  1 sibling, 1 reply; 6+ messages in thread
From: Artem Bityutskiy @ 2013-07-01  7:05 UTC (permalink / raw)
  To: Brent Taylor; +Cc: linux-mtd

On Mon, 2013-05-13 at 18:09 -0500, Brent Taylor wrote:
> I'm working with an atmel at91sam9g20 evaluation board
> (http://www.atmel.com/Images/doc6413.pdf) running the Linux kernel
> version 3.6.9.  On two occasions I have had the following Oops
> reported:

Looks like some kind of memory corruption, or use after free. I do not
have other ideas.

Well, another comment I could give is that the LEB locking in UBI is
over-engineered, and could be simplified.

> I have found the ubifs-v3.6.git tree but since I'm using version
> 3.6.9, how can I easily apply all the patches from 3.6 to the current
> release since some of the patches seem to have already made it into
> the 3.6.9 release.

We discovered a bug recently which may cause memory corruptions. I do
not know if it is accountable for this problem or not, but it is worth
having it. See these patches in the l2-mtd.git tree:

605c912bb843c024b1ed173dc427cd5c08e5d54d UBIFS: fix a horrid bug
33f1a63ae84dfd9ad298cf275b8f1887043ced36 UBIFS: prepare to fix a horrid bug

-- 
Best Regards,
Artem Bityutskiy

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

* Re: UBI leb_write_unlock NULL pointer Oops
  2013-07-01  7:05 ` Artem Bityutskiy
@ 2013-07-01 14:50   ` Brent Taylor
  2013-07-09  8:23     ` enrico benetti
  0 siblings, 1 reply; 6+ messages in thread
From: Brent Taylor @ 2013-07-01 14:50 UTC (permalink / raw)
  To: linux-mtd@lists.infradead.org

I have yet to reproduce the oops', but the two patches submitted by
Atrem look like them may correct the issue.  I'll apply the patches
and try to reproduce the issue again.

Thanks for your time,
Brent

On Mon, Jul 1, 2013 at 2:05 AM, Artem Bityutskiy <dedekind1@gmail.com> wrote:
> On Mon, 2013-05-13 at 18:09 -0500, Brent Taylor wrote:
>> I'm working with an atmel at91sam9g20 evaluation board
>> (http://www.atmel.com/Images/doc6413.pdf) running the Linux kernel
>> version 3.6.9.  On two occasions I have had the following Oops
>> reported:
>
> Looks like some kind of memory corruption, or use after free. I do not
> have other ideas.
>
> Well, another comment I could give is that the LEB locking in UBI is
> over-engineered, and could be simplified.
>
>> I have found the ubifs-v3.6.git tree but since I'm using version
>> 3.6.9, how can I easily apply all the patches from 3.6 to the current
>> release since some of the patches seem to have already made it into
>> the 3.6.9 release.
>
> We discovered a bug recently which may cause memory corruptions. I do
> not know if it is accountable for this problem or not, but it is worth
> having it. See these patches in the l2-mtd.git tree:
>
> 605c912bb843c024b1ed173dc427cd5c08e5d54d UBIFS: fix a horrid bug
> 33f1a63ae84dfd9ad298cf275b8f1887043ced36 UBIFS: prepare to fix a horrid bug
>
> --
> Best Regards,
> Artem Bityutskiy
>

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

* Re: UBI leb_write_unlock NULL pointer Oops
  2013-07-01 14:50   ` Brent Taylor
@ 2013-07-09  8:23     ` enrico benetti
  2013-07-09 16:08       ` enrico benetti
  0 siblings, 1 reply; 6+ messages in thread
From: enrico benetti @ 2013-07-09  8:23 UTC (permalink / raw)
  To: linux-mtd


> I have yet to reproduce the oops', but the two patches submitted by
> Atrem look like them may correct the issue.  I'll apply the patches
> and try to reproduce the issue again.
>
Hi Brent,
I'm working on a back-ported 2.6.35.3 tree for a NOR based system (
00AM29EWH).

I already merged

605c912bb843c024b1ed173dc427cd5c08e5d54d UBIFS: fix a horrid bug
33f1a63ae84dfd9ad298cf275b8f1887043ced36 UBIFS: prepare to fix a horrid bug

but rarely I fall into this oops on NULL pointer, so they don't seem to fix
the issue.
I'm going to run again integck test with ubi debug messages active.

Trace follows below:

integck: write 152 bytes, offset 251, file 2694 (line 903)
integck: write 2 bytes, offset 10225, file 632263 (line 903)
integck: write 1 bytes, offset 0, file 
kdubxbrrfdtmjdhbqlhkpzguwvcmdjaprvibhjcvpfmkylppqaxnkocxjbxqssmxcnsdmsfbxesrssgtzkejenoccxgqusrov
ngonlypkcejuqxiyjzxbsykagidcfmckgpfzcvvfwkiawgizuarwvlfcibwtefadewrhzthaazwzylqjnauhmlavxhqmpmxdbhriyknugufzowqbutprulmyzsckvnscixdlejbf 

ftfloltumrmoayncb (line 903)
integck: write 30564 bytes, offset 6132, file 538228 (line 903)
integck: write 1 bytes, offset 30284, file 538228 (line 903)
integck: write 42 bytes, offset 36734, file 433076 (line 903)
[  300.554525] Unable to handle kernel NULL pointer dereference at 
virtual address 0000000c
[  300.562641] pgd = 8d408000
[  300.565353] [0000000c] *pgd=9d46b031, *pte=00000000, *ppte=00000000
[  300.571672] Internal error: Oops: 17 [#1] PREEMPT
[  300.576383] last sysfs file: /sys/devices/virtual/ubi/ubi0/min_io_size
[  300.582919] Modules linked in:
[  300.585996] CPU: 0    Not tainted 
(2.6.35.3-998-ga1cd8a7-v3.8-gabc6f42 #15)
[  300.593080] PC is at __up_write+0x40/0x188
[  300.597192] LR is at leb_write_unlock+0xa0/0xf4
[  300.601733] pc : [<801fb698>]    lr : [<80283e08>] psr: 00000093
[  300.601741] sp : 8d3a9ad0  ip : 8d3a9af8  fp : 00000012
[  300.613236] r10: 00013d08  r9 : 00000080  r8 : 60000013
[  300.618470] r7 : 8d3fb29c  r6 : 00000000  r5 : 8d3fb298  r4 : 8d3fb280
[  300.625006] r3 : 8d3a8000  r2 : 00000000  r1 : 00000000  r0 : 8d3fb298
[  300.631547] Flags: nzcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM 
Segment user
[  300.638780] Control: 10c5387d  Table: 9d408019  DAC: 00000015
[  300.644535] Process integck (pid: 1243, stack limit = 0x8d3a82e8)
[  300.650638] Stack: (0x8d3a9ad0 to 0x8d3aa000)
[  300.655006] 9ac0:                                     8d3fb298 
8d3fb280 8d31f000 00000000
[  300.663201] 9ae0: 0000000b 00000000 00000080 00013d08 00000012 
80283e08 8d31f000 8d343c00
[  300.671395] 9b00: 00000000 802850e0 000002f8 00000021 00000000 
80057180 0000001f 8002a070
[  300.679591] 9b20: ffffffff 8e800000 8d343c00 8002aa8c 8b5cf000 
8b9024b1 8b5cf125 8d434000
[  300.687786] 9b40: ffccd581 8b5cf000 000008cd 8ea62000 000000bd 
000002f8 8d343c00 00013d08
[  300.695981] 9b60: 8d31f000 0000000b 8d43f080 00000000 8d434000 
80282c34 00013d08 000002f8
[  300.704176] 9b80: 8b5d0000 00005789 00000057 000000bb 8d434030 
8d434000 8d440000 00013d08
[  300.712371] 9ba0: 0000000b 000002f8 8d434000 00000108 00013d08 
801a4bd4 000002f8 0000000b
[  300.720566] 9bc0: 8d434000 00013d08 8d400520 8d440000 00001030 
8d400520 00001030 801a5308
[  300.728761] 9be0: 000002f8 8d400544 00000000 00000000 8d434000 
00001030 00000000 0004a6f6
[  300.736955] 9c00: 8d440000 0000000b 00000000 8d434000 8d440000 
8d3a9cc0 8d400520 00001030
[  300.745150] 9c20: 0000000b 00000001 00013d08 80198984 8d3a9c74 
00000108 00000012 00013c80
[  300.753344] 9c40: 00000000 8d440000 00000000 8d3a9d1c 00000008 
00000000 4000286d 806f89e0
[  300.761540] 9c60: 8c0eb9d0 00000000 a0000013 8d440008 00001000 
00000000 00000000 806f89e0
[  300.769735] 9c80: 8d440000 8c0eb930 00001000 20000008 00000880 
8b5cf000 00000001 8019a954
[  300.777930] 9ca0: 00001000 80085108 00000000 8d4405f4 8d440604 
806f89e0 806f89e0 8d3a9d80
[  300.786125] 9cc0: 00000880 20000008 8c0eb9d0 00000008 806f89e0 
8d3a9d14 00000000 8c0eb9d0
[  300.794319] 9ce0: 00000000 8008bd80 8d3a9d80 8008c718 00000001 
00000000 00000009 00000001
[  300.802513] 9d00: 8008bd6c 8c0eb9d0 00008f7d 00000000 00008fa8 
00000001 00000000 806f89e0
[  300.810708] 9d20: 8b5cf000 8b5cff7e 0000002a 00000000 0000002a 
0000002a 8d3a8000 8c0eb9d0
[  300.818902] 9d40: 00000000 00000f7e 803eb838 00000000 0000002a 
00000009 0000002a 8d3a9d80
[  300.827096] 9d60: 8c0eb9d0 00008f7e 00000000 00008f7e 00000000 
00000001 00000000 80085dac
[  300.835291] 9d80: 00000001 00000000 00000000 7fffffff 00000000 
00000000 00008f7e 00000000
[  300.843485] 9da0: 00008fa7 00000000 00000000 00000000 8c0eb9d0 
00000015 8c0eb9d0 00008fa7
[  300.851680] 9dc0: 00000000 80085de8 00008fa7 00000000 00000001 
80574e68 80574e60 8c0eb9d0
[  300.859875] 9de0: 8d087a80 00008fa7 00000000 0000002a 8d3a9f38 
800d4294 00008fa7 00000000
[  300.868069] 9e00: 00008f7e 00008fa7 00000000 0000002a 00000000 
800d4348 00008fa7 00000000
[  300.876264] 9e20: 00000001 8d087a80 8c0eb9a4 0000002a 00000000 
8d087a80 00000001 800865c0
[  300.884458] 9e40: 0000002a 00000000 00008f7e 00000000 8d3a9ec0 
8d440000 00000000 00000001
[  300.892653] 9e60: 8d3a9f38 80199254 00008f7e 00000000 8052db38 
00100000 00000000 00000000
[  300.900847] 9e80: 00000000 000000a0 60000013 00000000 00000002 
a0000013 8d3a9ec0 8d3a9f80
[  300.909042] 9ea0: 8d087a80 8d3a9f38 fffffdee 8d3a8000 00008f7e 
800b25c0 00008f7e 00000000
[  300.917236] 9ec0: a0000013 8d0d1d80 00000000 00000001 ffffffff 
8d087a80 00000000 00000000
[  300.925431] 9ee0: 00000000 00000000 8d102e60 40000013 00000000 
00000000 00008fa8 00000000
[  300.933626] 9f00: 2aac9000 0000003e 0000002a 60000113 0000002a 
00000000 00000000 00000102
[  300.941821] 9f20: 0000000a 80533af0 8d3a9f44 8004e01c 00000004 
8c004000 7eb99a48 0000002a
[  300.950016] 9f40: 0000002a 8d087a80 7eb99a48 8d3a9f80 0000002a 
00000000 0002a6f0 800b2fc4
[  300.958211] 9f60: 8d087a80 7eb99a48 8d087a80 7eb99a48 00008f7e 
00000000 0000002a 800b3118
[  300.966405] 9f80: 00008f7e 00000000 0000002a 00000000 0000002a 
00007fff 7eba1a70 00000004
[  300.974600] 9fa0: 8002b104 8002af80 0000002a 00007fff 00000004 
7eb99a48 0000002a 000003be
[  300.982794] 9fc0: 0000002a 00007fff 7eba1a70 00000004 7eb99a48 
0000002a 00000000 0002a6f0
[  300.990989] 9fe0: 0000002a 7eb99a28 0000ae1c 2ab9924c 40000010 
00000004 00000000 00000000
[  300.999209] [<801fb698>] (__up_write+0x40/0x188) from [<80283e08>] 
(leb_write_unlock+0xa0/0xf4)
[  301.007931] [<80283e08>] (leb_write_unlock+0xa0/0xf4) from 
[<802850e0>] (ubi_eba_write_leb+0x568/0x80c)
[  301.017345] [<802850e0>] (ubi_eba_write_leb+0x568/0x80c) from 
[<80282c34>] (ubi_leb_write+0x124/0x168)
[  301.026683] [<80282c34>] (ubi_leb_write+0x124/0x168) from 
[<801a4bd4>] (ubifs_leb_write+0x104/0x118)
[  301.035842] [<801a4bd4>] (ubifs_leb_write+0x104/0x118) from 
[<801a5308>] (ubifs_wbuf_write_nolock+0x520/0x9e8)
[  301.045867] [<801a5308>] (ubifs_wbuf_write_nolock+0x520/0x9e8) from 
[<80198984>] (ubifs_jnl_write_data+0x200/0x33c)
[  301.056326] [<80198984>] (ubifs_jnl_write_data+0x200/0x33c) from 
[<8019a954>] (do_writepage+0x9c/0x1e4)
[  301.065751] [<8019a954>] (do_writepage+0x9c/0x1e4) from [<8008bd80>] 
(__writepage+0x14/0x5c)
[  301.074215] [<8008bd80>] (__writepage+0x14/0x5c) from [<8008c718>] 
(write_cache_pages+0x24c/0x32c)
[  301.083197] [<8008c718>] (write_cache_pages+0x24c/0x32c) from 
[<80085dac>] (__filemap_fdatawrite_range+0x64/0x6c)
[  301.093482] [<80085dac>] (__filemap_fdatawrite_range+0x64/0x6c) from 
[<80085de8>] (filemap_write_and_wait_range+0x34/0x68)
[  301.104562] [<80085de8>] (filemap_write_and_wait_range+0x34/0x68) 
from [<800d4294>] (vfs_fsync_range+0x34/0x7c)
[  301.114677] [<800d4294>] (vfs_fsync_range+0x34/0x7c) from 
[<800d4348>] (generic_write_sync+0x6c/0x74)
[  301.123918] [<800d4348>] (generic_write_sync+0x6c/0x74) from 
[<800865c0>] (generic_file_aio_write+0xb4/0xc8)
[  301.133768] [<800865c0>] (generic_file_aio_write+0xb4/0xc8) from 
[<80199254>] (ubifs_aio_write+0x168/0x17c)
[  301.143533] [<80199254>] (ubifs_aio_write+0x168/0x17c) from 
[<800b25c0>] (do_sync_write+0xa0/0xe8)
[  301.152513] [<800b25c0>] (do_sync_write+0xa0/0xe8) from [<800b2fc4>] 
(vfs_write+0xac/0x154)
[  301.160884] [<800b2fc4>] (vfs_write+0xac/0x154) from [<800b3118>] 
(sys_write+0x3c/0x68)
[  301.168917] [<800b3118>] (sys_write+0x3c/0x68) from [<8002af80>] 
(ret_fast_syscall+0x0/0x30)
[  301.177375] Code: e4871004 e5902004 e1520007 0a00003c (e592600c)
[  301.183561] mxc_ipu mxc_ipu: Channel already disabled 9
[  301.188798] mxc_ipu mxc_ipu: Channel already uninitialized 9
[  301.194579] BUG: scheduling while atomic: integck/1243/0x00000004
[  301.200679] Modules linked in:
[  301.203783] [<8002f828>] (unwind_backtrace+0x0/0x16c) from 
[<803d74e4>] (schedule+0x6c/0x324)
[  301.212333] [<803d74e4>] (schedule+0x6c/0x324) from [<803d7f70>] 
(schedule_timeout+0x1c8/0x1fc)
[  301.221059] [<803d7f70>] (schedule_timeout+0x1c8/0x1fc) from 
[<8005d758>] (msleep+0x14/0x24)
[  301.229538] [<8005d758>] (msleep+0x14/0x24) from [<802f86cc>] 
(ipu_init_sync_panel+0x314/0x1150)
[  301.238362] [<802f86cc>] (ipu_init_sync_panel+0x314/0x1150) from 
[<8021c4cc>] (mxcfb_set_par+0x4e0/0x5e8)
[  301.247955] [<8021c4cc>] (mxcfb_set_par+0x4e0/0x5e8) from 
[<8021c690>] (mxcfb_blank+0xbc/0xf8)
[  301.256587] [<8021c690>] (mxcfb_blank+0xbc/0xf8) from [<8020c264>] 
(fb_blank+0x3c/0x68)
[  301.264612] [<8020c264>] (fb_blank+0x3c/0x68) from [<80214898>] 
(fbcon_blank+0xe8/0x1f4)
[  301.272729] [<80214898>] (fbcon_blank+0xe8/0x1f4) from [<8023be44>] 
(do_unblank_screen+0xc4/0x13c)
[  301.281712] [<8023be44>] (do_unblank_screen+0xc4/0x13c) from 
[<801fef08>] (bust_spinlocks+0x20/0x44)
[  301.290869] [<801fef08>] (bust_spinlocks+0x20/0x44) from [<8002e358>] 
(die+0x240/0x304)
[  301.298894] [<8002e358>] (die+0x240/0x304) from [<800306ac>] 
(__do_kernel_fault+0x64/0x84)
[  301.307178] [<800306ac>] (__do_kernel_fault+0x64/0x84) from 
[<8003088c>] (do_page_fault+0x1c0/0x1d4)
[  301.316332] [<8003088c>] (do_page_fault+0x1c0/0x1d4) from 
[<8002a2c8>] (do_DataAbort+0x34/0x94)
[  301.325054] [<8002a2c8>] (do_DataAbort+0x34/0x94) from [<8002aa2c>] 
(__dabt_svc+0x4c/0x60)
[  301.333329] Exception stack(0x8d3a9a88 to 0x8d3a9ad0)
[  301.338395] 9a80:                   8d3fb298 00000000 00000000 
8d3a8000 8d3fb280 8d3fb298
[  301.346592] 9aa0: 00000000 8d3fb29c 60000013 00000080 00013d08 
00000012 8d3a9af8 8d3a9ad0
[  301.354782] 9ac0: 80283e08 801fb698 00000093 ffffffff
[  301.359855] [<8002aa2c>] (__dabt_svc+0x4c/0x60) from [<801fb698>] 
(__up_write+0x40/0x188)
[  301.368055] [<801fb698>] (__up_write+0x40/0x188) from [<80283e08>] 
(leb_write_unlock+0xa0/0xf4)
[  301.376775] [<80283e08>] (leb_write_unlock+0xa0/0xf4) from 
[<802850e0>] (ubi_eba_write_leb+0x568/0x80c)
[  301.386189] [<802850e0>] (ubi_eba_write_leb+0x568/0x80c) from 
[<80282c34>] (ubi_leb_write+0x124/0x168)
[  301.395519] [<80282c34>] (ubi_leb_write+0x124/0x168) from 
[<801a4bd4>] (ubifs_leb_write+0x104/0x118)
[  301.404674] [<801a4bd4>] (ubifs_leb_write+0x104/0x118) from 
[<801a5308>] (ubifs_wbuf_write_nolock+0x520/0x9e8)
[  301.414697] [<801a5308>] (ubifs_wbuf_write_nolock+0x520/0x9e8) from 
[<80198984>] (ubifs_jnl_write_data+0x200/0x33c)
[  301.425155] [<80198984>] (ubifs_jnl_write_data+0x200/0x33c) from 
[<8019a954>] (do_writepage+0x9c/0x1e4)
[  301.434571] [<8019a954>] (do_writepage+0x9c/0x1e4) from [<8008bd80>] 
(__writepage+0x14/0x5c)
[  301.443031] [<8008bd80>] (__writepage+0x14/0x5c) from [<8008c718>] 
(write_cache_pages+0x24c/0x32c)
[  301.452012] [<8008c718>] (write_cache_pages+0x24c/0x32c) from 
[<80085dac>] (__filemap_fdatawrite_range+0x64/0x6c)
[  301.462296] [<80085dac>] (__filemap_fdatawrite_range+0x64/0x6c) from 
[<80085de8>] (filemap_write_and_wait_range+0x34/0x68)
[  301.473367] [<80085de8>] (filemap_write_and_wait_range+0x34/0x68) 
from [<800d4294>] (vfs_fsync_range+0x34/0x7c)
[  301.483479] [<800d4294>] (vfs_fsync_range+0x34/0x7c) from 
[<800d4348>] (generic_write_sync+0x6c/0x74)
[  301.492722] [<800d4348>] (generic_write_sync+0x6c/0x74) from 
[<800865c0>] (generic_file_aio_write+0xb4/0xc8)
[  301.502570] [<800865c0>] (generic_file_aio_write+0xb4/0xc8) from 
[<80199254>] (ubifs_aio_write+0x168/0x17c)
[  301.512332] [<80199254>] (ubifs_aio_write+0x168/0x17c) from 
[<800b25c0>] (do_sync_write+0xa0/0xe8)
[  301.521311] [<800b25c0>] (do_sync_write+0xa0/0xe8) from [<800b2fc4>] 
(vfs_write+0xac/0x154)
[  301.529681] [<800b2fc4>] (vfs_write+0xac/0x154) from [<800b3118>] 
(sys_write+0x3c/0x68)
[  301.537706] [<800b3118>] (sys_write+0x3c/0x68) from [<8002af80>] 
(ret_fast_syscall+0x0/0x30)
[  301.548089] BUG: scheduling while atomic: integck/1243/0x00000004
[  301.554197] Modules linked in:
[  301.557323] [<8002f828>] (unwind_backtrace+0x0/0x16c) from 
[<803d74e4>] (schedule+0x6c/0x324)
[  301.565872] [<803d74e4>] (schedule+0x6c/0x324) from [<803d7f70>] 
(schedule_timeout+0x1c8/0x1fc)
[  301.574612] [<803d7f70>] (schedule_timeout+0x1c8/0x1fc) from 
[<8005d758>] (msleep+0x14/0x24)
[  301.583093] [<8005d758>] (msleep+0x14/0x24) from [<802f86cc>] 
(ipu_init_sync_panel+0x314/0x1150)
[  301.591921] [<802f86cc>] (ipu_init_sync_panel+0x314/0x1150) from 
[<8021c4cc>] (mxcfb_set_par+0x4e0/0x5e8)
[  301.601528] [<8021c4cc>] (mxcfb_set_par+0x4e0/0x5e8) from 
[<8021c690>] (mxcfb_blank+0xbc/0xf8)
[  301.610175] [<8021c690>] (mxcfb_blank+0xbc/0xf8) from [<8020c264>] 
(fb_blank+0x3c/0x68)
[  301.618213] [<8020c264>] (fb_blank+0x3c/0x68) from [<80214898>] 
(fbcon_blank+0xe8/0x1f4)
[  301.626327] [<80214898>] (fbcon_blank+0xe8/0x1f4) from [<8023be44>] 
(do_unblank_screen+0xc4/0x13c)
[  301.635324] [<8023be44>] (do_unblank_screen+0xc4/0x13c) from 
[<801fef08>] (bust_spinlocks+0x20/0x44)
[  301.644494] [<801fef08>] (bust_spinlocks+0x20/0x44) from [<8002e358>] 
(die+0x240/0x304)
[  301.652532] [<8002e358>] (die+0x240/0x304) from [<800306ac>] 
(__do_kernel_fault+0x64/0x84)
[  301.660829] [<800306ac>] (__do_kernel_fault+0x64/0x84) from 
[<8003088c>] (do_page_fault+0x1c0/0x1d4)
[  301.669995] [<8003088c>] (do_page_fault+0x1c0/0x1d4) from 
[<8002a2c8>] (do_DataAbort+0x34/0x94)
[  301.678727] [<8002a2c8>] (do_DataAbort+0x34/0x94) from [<8002aa2c>] 
(__dabt_svc+0x4c/0x60)
[  301.687015] Exception stack(0x8d3a9a88 to 0x8d3a9ad0)
[  301.692080] 9a80:                   8d3fb298 00000000 00000000 
8d3a8000 8d3fb280 8d3fb298
[  301.700289] 9aa0: 00000000 8d3fb29c 60000013 00000080 00013d08 
00000012 8d3a9af8 8d3a9ad0
[  301.708492] 9ac0: 80283e08 801fb698 00000093 ffffffff
[  301.713567] [<8002aa2c>] (__dabt_svc+0x4c/0x60) from [<801fb698>] 
(__up_write+0x40/0x188)
[  301.721782] [<801fb698>] (__up_write+0x40/0x188) from [<80283e08>] 
(leb_write_unlock+0xa0/0xf4)
[  301.730515] [<80283e08>] (leb_write_unlock+0xa0/0xf4) from 
[<802850e0>] (ubi_eba_write_leb+0x568/0x80c)
[  301.739951] [<802850e0>] (ubi_eba_write_leb+0x568/0x80c) from 
[<80282c34>] (ubi_leb_write+0x124/0x168)
[  301.749298] [<80282c34>] (ubi_leb_write+0x124/0x168) from 
[<801a4bd4>] (ubifs_leb_write+0x104/0x118)
[  301.758469] [<801a4bd4>] (ubifs_leb_write+0x104/0x118) from 
[<801a5308>] (ubifs_wbuf_write_nolock+0x520/0x9e8)
[  301.768507] [<801a5308>] (ubifs_wbuf_write_nolock+0x520/0x9e8) from 
[<80198984>] (ubifs_jnl_write_data+0x200/0x33c)
[  301.778978] [<80198984>] (ubifs_jnl_write_data+0x200/0x33c) from 
[<8019a954>] (do_writepage+0x9c/0x1e4)
[  301.788408] [<8019a954>] (do_writepage+0x9c/0x1e4) from [<8008bd80>] 
(__writepage+0x14/0x5c)
[  301.796882] [<8008bd80>] (__writepage+0x14/0x5c) from [<8008c718>] 
(write_cache_pages+0x24c/0x32c)
[  301.805865] [<8008c718>] (write_cache_pages+0x24c/0x32c) from 
[<80085dac>] (__filemap_fdatawrite_range+0x64/0x6c)
[  301.816163] [<80085dac>] (__filemap_fdatawrite_range+0x64/0x6c) from 
[<80085de8>] (filemap_write_and_wait_range+0x34/0x68)
[  301.827251] [<80085de8>] (filemap_write_and_wait_range+0x34/0x68) 
from [<800d4294>] (vfs_fsync_range+0x34/0x7c)
[  301.837378] [<800d4294>] (vfs_fsync_range+0x34/0x7c) from 
[<800d4348>] (generic_write_sync+0x6c/0x74)
[  301.846634] [<800d4348>] (generic_write_sync+0x6c/0x74) from 
[<800865c0>] (generic_file_aio_write+0xb4/0xc8)
[  301.856485] [<800865c0>] (generic_file_aio_write+0xb4/0xc8) from 
[<80199254>] (ubifs_aio_write+0x168/0x17c)
[  301.866277] [<80199254>] (ubifs_aio_write+0x168/0x17c) from 
[<800b25c0>] (do_sync_write+0xa0/0xe8)
[  301.875273] [<800b25c0>] (do_sync_write+0xa0/0xe8) from [<800b2fc4>] 
(vfs_write+0xac/0x154)
[  301.883669] [<800b2fc4>] (vfs_write+0xac/0x154) from [<800b3118>] 
(sys_write+0x3c/0x68)
[  301.891708] [<800b3118>] (sys_write+0x3c/0x68) from [<8002af80>] 
(ret_fast_syscall+0x0/0x30)
[  301.904585] ---[ end trace 650a5c397325e07d ]---
[  301.909255] note: integck[1243] exited with preempt_count 2
/ubitest-sync-136.sh: line 24:  1243 Segmentation fault 
/tests-1.4.9/fs-tests/integrity/integck -v -e /mnt/integ-nor-ubi-136/


> We discovered a bug recently which may cause memory corruptions. I do
> not know if it is accountable for this problem or not, but it is worth
> having it. See these patches in the l2-mtd.git tree:
>
> 605c912bb843c024b1ed173dc427cd5c08e5d54d UBIFS: fix a horrid bug
> 33f1a63ae84dfd9ad298cf275b8f1887043ced36 UBIFS: prepare to fix a horrid bug
>
> --
> Best Regards,
> Artem Bityutskiy
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

* Re: UBI leb_write_unlock NULL pointer Oops
  2013-07-09  8:23     ` enrico benetti
@ 2013-07-09 16:08       ` enrico benetti
  0 siblings, 0 replies; 6+ messages in thread
From: enrico benetti @ 2013-07-09 16:08 UTC (permalink / raw)
  To: linux-mtd; +Cc: motobud

On 07/09/2013 10:23 AM, enrico benetti wrote:
>
>> I have yet to reproduce the oops', but the two patches submitted by
>> Atrem look like them may correct the issue.  I'll apply the patches
>> and try to reproduce the issue again.
>>
> Hi Brent,
> I'm working on a back-ported 2.6.35.3 tree for a NOR based system (
> 00AM29EWH).
>
> I already merged
>
> 605c912bb843c024b1ed173dc427cd5c08e5d54d UBIFS: fix a horrid bug
> 33f1a63ae84dfd9ad298cf275b8f1887043ced36 UBIFS: prepare to fix a 
> horrid bug
>
> but rarely I fall into this oops on NULL pointer, so they don't seem 
> to fix
> the issue.
> I'm going to run again integck test with ubi debug messages active.
>
>
Hi All,
again running integck test for power cut recovery testing I fell into 
this OOPS, but now on __up_read from leb_read_unlock.

So this issue is always related to (maybe unneeded) leb unlock calls.
Tonight I'm going to run integck with UBI DBG eba messages.
I'll let you know.


integck: write 27 bytes, offset 25043, file 756372 (line 903)
[   38.471134] Unable to handle kernel NULL pointer dereference at 
virtual address 00000000
[   38.479252] pgd = 8d2b8000
[   38.481964] [00000000] *pgd=9d438031, *pte=00000000, *ppte=00000000
[   38.488283] Internal error: Oops: 17 [#1] PREEMPT
[   38.492993] last sysfs file: /sys/devices/virtual/ubi/ubi0/min_io_size
[   38.499529] Modules linked in:
[   38.502609] CPU: 0    Not tainted 
(2.6.35.3-998-ga1cd8a7-v3.8-gabc6f42-dirty #18)
[   38.510214] PC is at __up_read+0x50/0xec
[   38.514151] LR is at leb_read_unlock+0xa0/0xf4
[   38.518605] pc : [<801fb830>]    lr : [<80285884>] psr: 00000093
[   38.518613] sp : 8d4839d8  ip : 8d4839e8  fp : 0001ff80
[   38.530107] r10: 0000000b  r9 : 00000000  r8 : 8d487c00
[   38.535341] r7 : 8d482000  r6 : 8d31c800  r5 : 60000013  r4 : 8d107340
[   38.541879] r3 : 00000000  r2 : 00000000  r1 : ffffffff  r0 : 8d107358
[   38.548420] Flags: nzcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM 
Segment user
[   38.555653] Control: 10c5387d  Table: 9d2b8019  DAC: 00000015
[   38.561408] Process integck (pid: 1276, stack limit = 0x8d4822e8)
[   38.567512] Stack: (0x8d4839d8 to 0x8d484000)
[   38.571880] 
39c0:                                                       8d107340 
8d31c800
[   38.580075] 39e0: 8d31c800 80285884 00000000 0000000b 8d31c800 
80285cdc 0001ff80 8d483a34
[   38.588269] 3a00: 00000000 00000000 00000000 00000002 00000001 
00000000 00000006 910ce000
[   38.596463] 3a20: 8d242d50 8d487c00 0000000b 0001ff80 00000000 
00000000 910ce000 8d31c800
[   38.604658] 3a40: 00000080 802830dc 00000000 0001ff80 00000000 
00000003 00000000 801bc374
[   38.612853] 3a60: 8d33b000 0000002b 00000001 8d3968c0 0001ff80 
00000000 0000000b 8d33b000
[   38.621048] 3a80: 8d3a8800 8d33b000 8055f2e0 801a5e28 0001ff80 
00000000 80524294 00008050
[   38.629242] 3aa0: 00000000 8d3968c0 00000000 910ce000 0000000b 
801accc4 0001ff80 00000000
[   38.637437] 3ac0: 00000000 910ce000 00000000 910ce000 0001ff80 
8d482000 0000000b 801ad120
[   38.645633] 3ae0: 8d33b000 0000000b 00000000 8d33b000 000011c0 
8d483b88 8d482000 80574e60
[   38.653827] 3b00: 8d3a8800 0000000b 8055f2e0 801b2a88 00000000 
00000000 00000002 60000113
[   38.662022] 3b20: 8056f1ec 8d482000 00000002 8008b494 00000041 
00000000 00001030 8d33b000
[   38.670217] 3b40: 000011c0 8d3a8800 8d482000 80574e60 00000038 
80574e68 8055f2e0 801b3350
[   38.678411] 3b60: 00000001 00000000 4c4bc35d 00000000 00000000 
8055c63c 00000000 8d3a8824
[   38.686606] 3b80: 8d33b790 00000000 00000000 0001bb60 00000010 
0000000b 8d432470 8d33b868
[   38.694801] 3ba0: 00001000 ffffffe4 8d33b000 8d482000 80574e68 
80574e60 8055e170 8d3a8920
[   38.702997] 3bc0: 00000002 80195cac 8d344030 8d483c70 8053e650 
8d483c70 8d344030 801e2e1c
[   38.711191] 3be0: 00000000 8d3a8944 00000000 00000000 8d33b15c 
00001030 00000120 00000000
[   38.719387] 3c00: 00001000 801b9dfc 8d483c70 8d344000 8d33b000 
8d483cc0 00001000 00001030
[   38.727582] 3c20: 00001b84 00000001 8afd2000 80198910 8d483c74 
80533af0 00000000 80084014
[   38.735776] 3c40: 8d482000 00000001 00000000 8d483d1c 00000006 
00000000 40002869 806eca40
[   38.743971] 3c60: 8c0d9848 00000000 a0000113 8d33b008 00001000 
00000000 00000000 806eca40
[   38.752166] 3c80: 8d33b000 8c0d97a8 00001000 20000006 00001b84 
8afd2000 00000001 8019a954
[   38.760361] 3ca0: 00001000 80085108 00000000 803d7740 40000000 
806eca40 806eca40 8d483d80
[   38.768556] 3cc0: 00001b84 20000006 8c0d9848 00000006 806eca40 
8d483d14 00000000 8c0d9848
[   38.776750] 3ce0: 00000000 8008bd80 8d483d80 8008c718 00000001 
801bc374 00000007 00000001
[   38.784945] 3d00: 8008bd6c 8c0d9848 000061d2 00000000 000061ee 
00000001 00000000 806eca40
[   38.793139] 3d20: 00000000 8afd21d3 0000001b 00000000 0000001b 
0000001b 8d482000 8c0d9848
[   38.801334] 3d40: 00000000 000001d3 803eb85c 00000000 0000001b 
00000007 0000001b 8d483d80
[   38.809528] 3d60: 8c0d9848 000061d3 00000000 000061d3 00000000 
00000001 00000000 80085dac
[   38.817722] 3d80: 00000001 00000000 00000000 7fffffff 00000000 
00000000 000061d3 00000000
[   38.825916] 3da0: 000061ed 00000000 00000000 00000000 8c0d9848 
00000018 8c0d9848 000061ed
[   38.834111] 3dc0: 00000000 80085de8 000061ed 00000000 00000001 
8004ea28 00000001 8c0d9848
[   38.842305] 3de0: 8d281800 000061ed 00000000 0000001b 8d483f38 
800d4294 000061ed 00000000
[   38.850500] 3e00: 000061d3 000061ed 00000000 0000001b 00000000 
800d4348 000061ed 00000000
[   38.858694] 3e20: 00000001 8d281800 8c0d981c 0000001b 00000000 
8d281800 00000001 800865c0
[   38.866889] 3e40: 0000001b 00000000 000061d3 00000000 8d483ec0 
8d33b000 fffffdee 00000001
[   38.875083] 3e60: 8d483f38 80199254 000061d3 00000000 8d482000 
8d090784 8052db38 00000bb0
[   38.883279] 3e80: 8052db38 00002201 60000013 00000000 00000002 
a0000013 8d483ec0 8d483f80
[   38.891474] 3ea0: 8d281800 8d483f38 fffffdee 8d482000 000061d3 
800b25c0 000061d3 00000000
[   38.899668] 3ec0: a0000013 8d26dd80 00000000 00000001 ffffffff 
8d281800 00000000 00000000
[   38.907862] 3ee0: 00000000 00000000 8d1228a0 40000013 00000000 
00000000 000061ee 00000000
[   38.916057] 3f00: 2aac9000 0000003e 0000001b 60000113 0000001b 
00000000 00000000 00000102
[   38.924251] 3f20: 0000000a 80533af0 8d483f44 8004e01c 00000004 
8c004000 7ea8d858 0000001b
[   38.932446] 3f40: 0000001b 8d281800 7ea8d858 8d483f80 0000001b 
00000000 0002b7e8 800b2fc4
[   38.940641] 3f60: 8d281800 7ea8d858 8d281800 7ea8d858 000061d3 
00000000 0000001b 800b3118
[   38.948835] 3f80: 000061d3 00000000 0000001b 00000000 0000001b 
00007fff 7ea95880 00000004
[   38.957031] 3fa0: 8002b104 8002af80 0000001b 00007fff 0000000d 
7ea8d858 0000001b 00000175
[   38.965226] 3fc0: 0000001b 00007fff 7ea95880 00000004 7ea8d858 
0000001b 00000000 0002b7e8
[   38.973421] 3fe0: 0000001b 7ea8d838 0000ae1c 2ab9924c 40000010 
0000000d 00000000 00000000
[   38.981638] [<801fb830>] (__up_read+0x50/0xec) from [<80285884>] 
(leb_read_unlock+0xa0/0xf4)
[   38.990100] [<80285884>] (leb_read_unlock+0xa0/0xf4) from 
[<80285cdc>] (ubi_eba_read_leb+0x404/0x480)
[   38.999339] [<80285cdc>] (ubi_eba_read_leb+0x404/0x480) from 
[<802830dc>] (ubi_leb_read+0x124/0x1a8)
[   39.008503] [<802830dc>] (ubi_leb_read+0x124/0x1a8) from [<801a5e28>] 
(ubifs_leb_read+0x24/0x84)
[   39.017315] [<801a5e28>] (ubifs_leb_read+0x24/0x84) from [<801accc4>] 
(ubifs_start_scan+0xbc/0x140)
[   39.026386] [<801accc4>] (ubifs_start_scan+0xbc/0x140) from 
[<801ad120>] (ubifs_scan+0x1c/0x348)
[   39.035196] [<801ad120>] (ubifs_scan+0x1c/0x348) from [<801b2a88>] 
(ubifs_garbage_collect_leb+0x1d8/0x810)
[   39.044876] [<801b2a88>] (ubifs_garbage_collect_leb+0x1d8/0x810) from 
[<801b3350>] (ubifs_garbage_collect+0x290/0x724)
[   39.055597] [<801b3350>] (ubifs_garbage_collect+0x290/0x724) from 
[<80195cac>] (make_reservation+0x15c/0x618)
[   39.065533] [<80195cac>] (make_reservation+0x15c/0x618) from 
[<80198910>] (ubifs_jnl_write_data+0x18c/0x33c)
[   39.075383] [<80198910>] (ubifs_jnl_write_data+0x18c/0x33c) from 
[<8019a954>] (do_writepage+0x9c/0x1e4)
[   39.084808] [<8019a954>] (do_writepage+0x9c/0x1e4) from [<8008bd80>] 
(__writepage+0x14/0x5c)
[   39.093270] [<8008bd80>] (__writepage+0x14/0x5c) from [<8008c718>] 
(write_cache_pages+0x24c/0x32c)
[   39.102252] [<8008c718>] (write_cache_pages+0x24c/0x32c) from 
[<80085dac>] (__filemap_fdatawrite_range+0x64/0x6c)
[   39.112538] [<80085dac>] (__filemap_fdatawrite_range+0x64/0x6c) from 
[<80085de8>] (filemap_write_and_wait_range+0x34/0x68)
[   39.123618] [<80085de8>] (filemap_write_and_wait_range+0x34/0x68) 
from [<800d4294>] (vfs_fsync_range+0x34/0x7c)
[   39.133732] [<800d4294>] (vfs_fsync_range+0x34/0x7c) from 
[<800d4348>] (generic_write_sync+0x6c/0x74)
[   39.142974] [<800d4348>] (generic_write_sync+0x6c/0x74) from 
[<800865c0>] (generic_file_aio_write+0xb4/0xc8)
[   39.152823] [<800865c0>] (generic_file_aio_write+0xb4/0xc8) from 
[<80199254>] (ubifs_aio_write+0x168/0x17c)
[   39.162589] [<80199254>] (ubifs_aio_write+0x168/0x17c) from 
[<800b25c0>] (do_sync_write+0xa0/0xe8)
[   39.171571] [<800b25c0>] (do_sync_write+0xa0/0xe8) from [<800b2fc4>] 
(vfs_write+0xac/0x154)
[   39.179942] [<800b2fc4>] (vfs_write+0xac/0x154) from [<800b3118>] 
(sys_write+0x3c/0x68)
[   39.187974] [<800b3118>] (sys_write+0x3c/0x68) from [<8002af80>] 
(ret_fast_syscall+0x0/0x30)
[   39.196433] Code: e1530001 0a000016 e3e01000 e5801000 (e8930003)

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

end of thread, other threads:[~2013-07-09 16:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-13 23:09 UBI leb_write_unlock NULL pointer Oops Brent Taylor
2013-06-25 13:13 ` Jan Lübbe
2013-07-01  7:05 ` Artem Bityutskiy
2013-07-01 14:50   ` Brent Taylor
2013-07-09  8:23     ` enrico benetti
2013-07-09 16:08       ` enrico benetti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox