Patchwork [v3,0/6] UBI: add max_beb_per1024 parameter / ioctl

login
register
mail settings
Submitter Richard Genoud
Date Sept. 3, 2012, 1:14 p.m.
Message ID <CACQ1gAjeNq5zNKzSbO_eeDG7ahhBc9mNvMf_s4RadrWSq-5taQ@mail.gmail.com>
Download mbox | patch
Permalink /patch/181365/
State New
Headers show

Comments

Richard Genoud - Sept. 3, 2012, 1:14 p.m.
I finally managed to reproduced it on linux-ubi/master + only one
patch to make my board boot:
(I thought it needed much more code than that...)

The 1st try was a complete hang, with no trace at all. And here are 3
differents oops:

# flash_erase /dev/mtd0 0 8192
Erasing 16 Kibyte @ 7ffc000 -- 100 % complete
# ubiattach -m 0
[  162.984375] UBI: attaching mtd0 to ubi0
[  163.273437] UBI: scanning is finished
[  163.273437] UBI: empty MTD device detected
[  163.289062] ------------[ cut here ]------------
[  163.289062] kernel BUG at mm/slob.c:331!
[  163.289062] Internal error: Oops - BUG: 0 [#1] ARM
[  163.289062] CPU: 0    Not tainted  (3.6.0-rc1+ #893)
[  163.289062] PC is at slob_alloc.clone.18+0x17c/0x1c0
[  163.289062] LR is at slob_page_alloc+0x1a8/0x1d0
[  163.289062] pc : [<c006c23c>]    lr : [<c006bd28>]    psr: 60000093
[  163.289062] sp : c740fd30  ip : 00000000  fp : 04f20014
[  163.289062] r10: 00000000  r9 : a0000013  r8 : 00007406
[  163.289062] r7 : c02a5000  r6 : 00000030  r5 : c038d0c0  r4 : c0281c70
[  163.289062] r3 : 04f20014  r2 : 04f20013  r1 : fb0dffec  r0 : 00000000
[  163.289062] Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM
Segment user
[  163.289062] Control: 0005317f  Table: 27a9c000  DAC: 00000015
[  163.289062] Process ubiattach (pid: 336, stack limit = 0xc740e270)
[  163.289062] Stack: (0xc740fd30 to 0xc7410000)
[  163.289062] fd20:                                     00000030
000000d0 04f20014 c7aac9c0
[  163.289062] fd40: 00000000 c7401060 c7aac940 c74010b4 c7ac1960
c74010b0 00000000 c006c4a8
[  163.289062] fd60: 00000000 c7b2b560 00000000 c013a6b8 00003e00
c01378dc 00003e00 c740fdac
[  163.289062] fd80: c8970000 c7b2b560 00000002 00000000 00000001
7fffefff 00000001 00000000
[  163.289062] fda0: 00000001 02000200 c7aac940 00000001 00000000
c7b2b560 c7aace08 c7ac1960
[  163.289062] fdc0: c7aac940 01000000 00000000 00000000 00000000
c012dd94 c7b2b560 00000000
[  163.289062] fde0: c7ac1960 00000000 00000000 02000000 c7a2d260
c8970000 000080d2 c7ac1960
[  163.289062] fe00: c8970000 00000000 c7aac940 c8973e7c c7aac94c
000000a0 00000000 c012e574
[  163.289062] fe20: 00000000 00000000 00000000 00002000 c7aac940
00000000 c7aac940 c7ac1960
[  163.289062] fe40: 00000199 c7a2d260 c7aac94c 000000a0 00000000
c013c00c ffffffff 00000000
[  163.289062] fe60: c7aac954 00000040 80000013 c0281c70 c7aac954
c7aac944 c7aac94c c7aac95c
[  163.289062] fe80: 00000040 000080d0 00000020 00000020 c7ac1960
c7ac1ddc 00000140 fffffe00
[  163.289062] fea0: c7ac1960 00000000 00000000 c7a2d260 00000000
000000a0 00000000 c01317d8
[  163.289062] fec0: c7a42010 c7a3bed0 00000002 00000000 00000000
c740ff78 00000001 bead4af8
[  163.289062] fee0: c7a2d260 bead4af8 c7a3e4b0 00000003 c740e000
00000000 00000000 c0131fa8
[  163.289062] ff00: ffffffff 00000000 00000000 00000000 00000000
00000000 c7ac7c00 bead4af8
[  163.289062] ff20: bead4af8 c007c5b4 00000000 00000000 00000000
00000000 00000000 00000003
[  163.289062] ff40: 00000003 c0385a20 00000000 c004f75c 00000000
00000003 c7ac7c00 c7051000
[  163.289062] ff60: c7ac7c08 c006c520 c027a224 c7ac7c00 bead4af8
40186f40 00000003 c000d9c4
[  163.289062] ff80: c740e000 c007c66c 00000003 00000000 bead4af8
bead4af8 40186f40 00000003
[  163.289062] ffa0: 00000036 c000d860 bead4af8 40186f40 00000003
40186f40 bead4af8 00000000
[  163.289062] ffc0: bead4af8 40186f40 00000003 00000036 00000003
bead4db4 00000000 00000000
[  163.289062] ffe0: b6f62ec4 bead4ab0 000098c8 b6f62f08 60000010
00000003 00000000 08000002
[  163.289062] [<c006c23c>] (slob_alloc.clone.18+0x17c/0x1c0) from
[<c006c4a8>] (kmem_cache_alloc_node+0x28/0x64)
[  163.289062] [<c006c4a8>] (kmem_cache_alloc_node+0x28/0x64) from
[<c013a6b8>] (ubi_add_to_av+0x6c0/0x7cc)
[  163.289062] [<c013a6b8>] (ubi_add_to_av+0x6c0/0x7cc) from
[<c012dd94>] (create_vtbl+0x1cc/0x258)
[  163.289062] [<c012dd94>] (create_vtbl+0x1cc/0x258) from
[<c012e574>] (ubi_read_volume_table+0xe4/0x960)
[  163.289062] [<c012e574>] (ubi_read_volume_table+0xe4/0x960) from
[<c013c00c>] (ubi_attach+0x13d0/0x147c)
[  163.289062] [<c013c00c>] (ubi_attach+0x13d0/0x147c) from
[<c01317d8>] (ubi_attach_mtd_dev+0x58c/0xb20)
[  163.289062] [<c01317d8>] (ubi_attach_mtd_dev+0x58c/0xb20) from
[<c0131fa8>] (ctrl_cdev_ioctl+0xd8/0x168)
[  163.289062] [<c0131fa8>] (ctrl_cdev_ioctl+0xd8/0x168) from
[<c007c5b4>] (do_vfs_ioctl+0x4c0/0x544)
[  163.289062] [<c007c5b4>] (do_vfs_ioctl+0x4c0/0x544) from
[<c007c66c>] (sys_ioctl+0x34/0x54)
[  163.289062] [<c007c66c>] (sys_ioctl+0x34/0x54) from [<c000d860>]
(ret_fast_syscall+0x0/0x2c)
[  163.289062] Code: e1a0200b ebfffe52 e250a000 1a000000 (e7f001f2)
[  163.289062] ---[ end trace adca1a6dde15e0c1 ]---
Segmentation fault
#

another:
# flash_erase /dev/mtd0 0 8192
Erasing 16 Kibyte @ 7ffc000 -- 100 % complete
# ubiattach -m 0
[   61.882812] UBI: attaching mtd0 to ubi0
[   62.171875] UBI: scanning is finished
[   62.179687] UBI: empty MTD device detected
[   62.187500] Unable to handle kernel NULL pointer dereference at
virtual address 00000000
[   62.195312] pgd = c7adc000
[   62.203125] [00000000] *pgd=27ad9831, *pte=00000000, *ppte=00000000
[   62.203125] Internal error: Oops: 17 [#1] ARM
[   62.203125] CPU: 0    Not tainted  (3.6.0-rc1+ #893)
[   62.203125] PC is at ubi_wl_init+0x138/0x36c
[   62.203125] LR is at schedule_erase+0x50/0x64
[   62.203125] pc : [<c0139b18>]    lr : [<c013845c>]    psr: 60000013
[   62.203125] sp : c7acbe28  ip : 00008000  fp : 00000000
[   62.203125] r10: c7ad2890  r9 : c029ff5c  r8 : ffffffe0
[   62.203125] r7 : c7aaef00  r6 : c7aaef14  r5 : c7ad2508  r4 : c7a6e440
[   62.203125] r3 : 00000000  r2 : c7a6e838  r1 : c7ad2860  r0 : 00000000
[   62.203125] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[   62.203125] Control: 0005317f  Table: 27adc000  DAC: 00000015
[   62.203125] Process ubiattach (pid: 329, stack limit = 0xc7aca270)
[   62.203125] Stack: (0xc7acbe28 to 0xc7acc000)
[   62.203125] be20:                   00000000 c7aaef00 7fffefff
00000000 c7aaef00 c7a6e440
[   62.203125] be40: 00000199 c7a2d260 c7aaef0c 000000a0 00000000
c013c020 ffffffff 00000000
[   62.203125] be60: c7aaef14 00000040 80000013 c039a634 c7aaef14
c7aaef04 c7aaef0c c7aaef1c
[   62.203125] be80: 00000040 000080d0 00000020 00000020 c7a6e440
c7a6e8bc 00000140 fffffe00
[   62.203125] bea0: c7a6e440 00000000 00000000 c7a2d260 00000000
000000a0 00000000 c01317d8
[   62.203125] bec0: c7a42010 c7a3bed0 00000002 00000000 00000000
c7acbf78 00000001 be873af8
[   62.203125] bee0: c7a2d260 be873af8 c7a3e4b0 00000003 c7aca000
00000000 00000000 c0131fa8
[   62.203125] bf00: ffffffff 00000000 00000000 00000000 00000000
00000000 c7aadae0 be873af8
[   62.203125] bf20: be873af8 c007c5b4 00000000 00000000 00000000
00000000 00000000 00000003
[   62.203125] bf40: 00000003 c039a100 00000000 c004f75c 00000000
00000003 c7aadae0 c7a88000
[   62.203125] bf60: c7aadae8 c006c520 c027a224 c7aadae0 be873af8
40186f40 00000003 c000d9c4
[   62.203125] bf80: c7aca000 c007c66c 00000003 00000000 be873af8
be873af8 40186f40 00000003
[   62.203125] bfa0: 00000036 c000d860 be873af8 40186f40 00000003
40186f40 be873af8 00000000
[   62.203125] bfc0: be873af8 40186f40 00000003 00000036 00000003
be873db4 00000000 00000000
[   62.203125] bfe0: b6ed3ec4 be873ab0 000098c8 b6ed3f08 60000010
00000003 27ffe831 27ffec31
[   62.203125] [<c0139b18>] (ubi_wl_init+0x138/0x36c) from
[<c013c020>] (ubi_attach+0x13e4/0x147c)
[   62.203125] [<c013c020>] (ubi_attach+0x13e4/0x147c) from
[<c01317d8>] (ubi_attach_mtd_dev+0x58c/0xb20)
[   62.203125] [<c01317d8>] (ubi_attach_mtd_dev+0x58c/0xb20) from
[<c0131fa8>] (ctrl_cdev_ioctl+0xd8/0x168)
[   62.203125] [<c0131fa8>] (ctrl_cdev_ioctl+0xd8/0x168) from
[<c007c5b4>] (do_vfs_ioctl+0x4c0/0x544)
[   62.203125] [<c007c5b4>] (do_vfs_ioctl+0x4c0/0x544) from
[<c007c66c>] (sys_ioctl+0x34/0x54)
[   62.203125] [<c007c66c>] (sys_ioctl+0x34/0x54) from [<c000d860>]
(ret_fast_syscall+0x0/0x2c)
[   62.203125] Code: e1a01005 e5930000 ebfcca73 ea000074 (e5983020)
[   62.460937] ---[ end trace 41b3746085dc3822 ]---
Segmentation fault



and a big one:
# ubiattach -m 0
[   44.507812] UBI: attaching mtd0 to ubi0
[   44.796875] UBI: scanning is finished
[   44.804687] UBI: empty MTD device detected
[   44.820312] BUG: Bad page state in process klogd  pfn:27ad3
[   44.820312] page:c039aa60 count:0 mapcount:81 mapping:  (null)
index:0xc7ad3ae0
[   44.828125] page flags: 0x800(private)
[   44.835937] [<c00119e8>] (unwind_backtrace+0x0/0xe4) from
[<c004ef88>] (bad_page+0xcc/0xf8)
[   44.843750] [<c004ef88>] (bad_page+0xcc/0xf8) from [<c004fea8>]
(get_page_from_freelist+0x38c/0x4b8)
[   44.851562] [<c004fea8>] (get_page_from_freelist+0x38c/0x4b8) from
[<c00500bc>] (__alloc_pages_nodemask+0xe8/0x5e4)
[   44.859375] [<c00500bc>] (__alloc_pages_nodemask+0xe8/0x5e4) from
[<c006c084>] (slob_new_pages.clone.17+0x10/0x4c)
[   44.875000] [<c006c084>] (slob_new_pages.clone.17+0x10/0x4c) from
[<c006c4c4>] (kmem_cache_alloc_node+0x44/0x64)
[   44.882812] [<c006c4c4>] (kmem_cache_alloc_node+0x44/0x64) from
[<c00762d4>] (getname_flags+0x24/0x94)
[   44.890625] [<c00762d4>] (getname_flags+0x24/0x94) from
[<c006d6a8>] (do_sys_open+0xa0/0x170)
[   44.898437] [<c006d6a8>] (do_sys_open+0xa0/0x170) from [<c000d860>]
(ret_fast_syscall+0x0/0x2c)
[   44.906250] Disabling lock debugging due to kernel taint
[   44.914062] Unable to handle kernel paging request at virtual
address 00100104
[   44.914062] pgd = c7aa8000
[   44.914062] [00100104] *pgd=27a7e831, *pte=00000000, *ppte=00000000
[   44.914062] Internal error: Oops: 817 [#1] ARM
[   44.914062] CPU: 0    Tainted: G    B         (3.6.0-rc1+ #893)
[   44.914062] PC is at get_page_from_freelist+0x24c/0x4b8
[   44.914062] LR is at get_page_from_freelist+0x38c/0x4b8
[   44.914062] pc : [<c004fd68>]    lr : [<c004fea8>]    psr: 60000093
[   44.914062] sp : c7aa1e68  ip : 60000013  fp : 60000013
[   44.914062] r10: c039aa60  r9 : c029ad10  r8 : c0290b10
[   44.914062] r7 : b6fcd990  r6 : c0290558  r5 : c03ae04c  r4 : 00000000
[   44.914062] r3 : 00200200  r2 : 00100100  r1 : 00200200  r0 : 00000000
[   44.914062] Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM
Segment user
[   44.914062] Control: 0005317f  Table: 27aa8000  DAC: 00000015
[   44.914062] Process klogd (pid: 302, stack limit = 0xc7aa0270)
[   44.914062] Stack: (0xc7aa1e68 to 0xc7aa2000)
[   44.914062] 1e60:                   00000041 00000000 c7aa1ec0
000200d0 00000001 00000008
[   44.914062] 1e80: c0290b14 00000000 ffffffff 00000000 c7aa0000
00000000 00000101 00000000
[   44.914062] 1ea0: c7b420c0 c0290558 fffffdee 000000d0 01ffffff
00000000 b6fcd990 c0290b10
[   44.914062] 1ec0: 00000000 00000000 c0290558 c00500bc 00000000
00000041 c0290558 00000000
[   44.914062] 1ee0: 00000000 00000000 c7a6f000 00000000 000200d0
c78296a0 c78296d8 c00eded0
[   44.914062] 1f00: c02809b8 c78296a0 c78296a0 c02809b8 c78296d0
c0290558 c0038dac c7802780
[   44.914062] 1f20: 00000000 00000000 b6fcd990 c000d9c4 c7aa0000
00000000 0000000a c006c084
[   44.914062] 1f40: 00000020 c006c4c4 c027a224 00000000 00000000
c00762d4 00000000 00000000
[   44.914062] 1f60: ffffff9c beefb7d0 00000001 c006d6a8 c7aa1f90
0000004e 00000000 beef0000
[   44.914062] 1f80: 00000024 00000100 00000000 00000000 b6fd9eb0
beefb7d0 00000005 c000d9c4
[   44.914062] 1fa0: 00000000 c000d860 00000000 b6fd9eb0 b6fcd990
00000000 00000054 b6fd9eb0
[   44.914062] 1fc0: 00000000 b6fd9eb0 beefb7d0 00000005 b6fda040
00000fff 000a6e38 0000000a
[   44.914062] 1fe0: beefbc54 beefb710 b6f93ed4 b6fc376c 60000010
b6fcd990 00000000 00000000
[   44.914062] [<c004fd68>] (get_page_from_freelist+0x24c/0x4b8) from
[<c00500bc>] (__alloc_pages_nodemask+0xe8/0x5e4)
[   44.914062] [<c00500bc>] (__alloc_pages_nodemask+0xe8/0x5e4) from
[<c006c084>] (slob_new_pages.clone.17+0x10/0x4c)
[   44.914062] [<c006c084>] (slob_new_pages.clone.17+0x10/0x4c) from
[<c006c4c4>] (kmem_cache_alloc_node+0x44/0x64)
[   44.914062] [<c006c4c4>] (kmem_cache_alloc_node+0x44/0x64) from
[<c00762d4>] (getname_flags+0x24/0x94)
[   44.914062] [<c00762d4>] (getname_flags+0x24/0x94) from
[<c006d6a8>] (do_sys_open+0xa0/0x170)
[   44.914062] [<c006d6a8>] (do_sys_open+0xa0/0x170) from [<c000d860>]
(ret_fast_syscall+0x0/0x2c)
[   44.914062] Code: e59f1254 e24aa014 e59a3018 e59a2014 (e5823004)
[   44.914062] ---[ end trace 4f68e63fbfe364d4 ]---
[   44.914062] Unable to handle kernel paging request at virtual
address 00100104
[   44.914062] pgd = c0004000
[   44.914062] [00100104] *pgd=00000000
[   44.914062] Internal error: Oops: 817 [#2] ARM
[   44.914062] CPU: 0    Tainted: G    B D       (3.6.0-rc1+ #893)
[   44.914062] PC is at get_page_from_freelist+0x24c/0x4b8
[   44.914062] LR is at zone_watermark_ok+0x18/0x1c
[   44.914062] pc : [<c004fd68>]    lr : [<c004dce0>]    psr: 60000093
[   44.914062] sp : c7aa1b78  ip : 00000041  fp : 60000093
[   44.914062] r10: c039aa60  r9 : c029ad10  r8 : c0290b10
[   44.914062] r7 : c7a776f4  r6 : c0290558  r5 : c03ae04c  r4 : 00000000
[   44.914062] r3 : 00200200  r2 : 00100100  r1 : 00200200  r0 : 00000001
[   44.914062] Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM
Segment user
[   44.914062] Control: 0005317f  Table: 27aa8000  DAC: 00000015
[   44.914062] Process klogd (pid: 302, stack limit = 0xc7aa0270)
[   44.914062] Stack: (0xc7aa1b78 to 0xc7aa2000)
[   44.914062] 1b60:
    00000041 c0291934
[   44.914062] 1b80: c0294d50 00020200 00000001 00000008 c0290b14
00000000 ffffffff 00000000
[   44.914062] 1ba0: c7aa0000 00000000 c7aa1c08 00000000 00000001
c0290558 00000006 00000200
[   44.914062] 1bc0: 01ffffff 00000000 c7a776f4 c0290b10 00000000
00000000 c0290558 c00500bc
[   44.914062] 1be0: 00000000 00000041 c0290558 00000000 c0291934
00000000 c02815fc c0290558
[   44.914062] 1c00: 00020200 c0281618 00000001 c00530f4 000002dc
c0053b3c c02815fc c0290558
[   44.914062] 1c20: 00000001 c0290558 c02815bc c7a776c0 c7a95d20
00000000 c7a776f4 00000817
[   44.914062] 1c40: c7a776f4 60000093 00000001 c005063c c7aa1c78
c0063e08 c7a776c0 00000001
[   44.914062] 1c60: 00000000 00000001 00000093 00000000 00000008
c7aa1c78 00000006 00000004
[   44.914062] 1c80: c0291d5e 00000000 00000000 60000093 c7a776c0
00000000 c7a776c0 00000000
[   44.914062] 1ca0: 00000000 c00175a8 c7a776c0 c7a6f000 00000000
c001c5bc c7a6f000 00000000
[   44.914062] 1cc0: c7a77be0 c7a6f000 0000000b c7aa0000 c0220eac
c001db5c 00010000 c01d5d18
[   44.914062] 1ce0: c0222c31 c7aa1cfc 00000002 c7aa1e20 0000000b
c7aa0000 c0220eac 00000817
[   44.914062] 1d00: c7a776f4 60000093 00010000 c00109f4 c7aa0270
0000000b 00000817 00100104
[   44.914062] 1d20: 00000817 c7a776c0 c7aa1e20 00000000 00000029
c0012888 00100104 c7aa1e20
[   44.914062] 1d40: c7a6f000 c7a776c0 00000817 c0012ae8 00100104
00000817 c7aa1e20 00000817
[   44.914062] 1d60: 00000007 00100104 c7aa1e20 c027cfe0 c029ad10
c039aa60 60000013 c00085a0
[   44.914062] 1d80: 00000000 c0049100 c7a6f000 00000012 00000000
c000e0d8 fefff000 c001ae94
[   44.914062] 1da0: 60000013 c000d500 0000006f 00000001 c027f360
c027f360 0000002c 00000006
[   44.914062] 1dc0: 00000004 c0291d5e 00000000 00000000 60000013
00000000 60000093 c7aa1df0
[   44.914062] 1de0: c001ae90 c001ae94 60000013 ffffffff 00000000
00000000 00000000 00000000
[   44.914062] 1e00: c0291d5e 0000002c c004fd68 60000093 ffffffff
c7aa1e54 c0290b10 c000d498
[   44.914062] 1e20: 00000000 00200200 00100100 00200200 00000000
c03ae04c c0290558 b6fcd990
[   44.914062] 1e40: c0290b10 c029ad10 c039aa60 60000013 60000013
c7aa1e68 c004fea8 c004fd68
[   44.914062] 1e60: 60000093 ffffffff 00000041 00000000 c7aa1ec0
000200d0 00000001 00000008
[   44.914062] 1e80: c0290b14 00000000 ffffffff 00000000 c7aa0000
00000000 00000101 00000000
[   44.914062] 1ea0: c7b420c0 c0290558 fffffdee 000000d0 01ffffff
00000000 b6fcd990 c0290b10
[   44.914062] 1ec0: 00000000 00000000 c0290558 c00500bc 00000000
00000041 c0290558 00000000
[   44.914062] 1ee0: 00000000 00000000 c7a6f000 00000000 000200d0
c78296a0 c78296d8 c00eded0
[   44.914062] 1f00: c02809b8 c78296a0 c78296a0 c02809b8 c78296d0
c0290558 c0038dac c7802780
[   44.914062] 1f20: 00000000 00000000 b6fcd990 c000d9c4 c7aa0000
00000000 0000000a c006c084
[   44.914062] 1f40: 00000020 c006c4c4 c027a224 00000000 00000000
c00762d4 00000000 00000000
[   44.914062] 1f60: ffffff9c beefb7d0 00000001 c006d6a8 c7aa1f90
0000004e 00000000 beef0000
[   44.914062] 1f80: 00000024 00000100 00000000 00000000 b6fd9eb0
beefb7d0 00000005 c000d9c4
[   44.914062] 1fa0: 00000000 c000d860 00000000 b6fd9eb0 b6fcd990
00000000 00000054 b6fd9eb0
[   44.914062] 1fc0: 00000000 b6fd9eb0 beefb7d0 00000005 b6fda040
00000fff 000a6e38 0000000a
[   44.914062] 1fe0: beefbc54 beefb710 b6f93ed4 b6fc376c 60000010
b6fcd990 00000000 00000000
[   44.914062] [<c004fd68>] (get_page_from_freelist+0x24c/0x4b8) from
[<c00500bc>] (__alloc_pages_nodemask+0xe8/0x5e4)
[   44.914062] [<c00500bc>] (__alloc_pages_nodemask+0xe8/0x5e4) from
[<c005063c>] (__get_free_pages+0x10/0x4c)
[   44.914062] [<c005063c>] (__get_free_pages+0x10/0x4c) from
[<c0063e08>] (exit_mmap+0x94/0x19c)
[   44.914062] [<c0063e08>] (exit_mmap+0x94/0x19c) from [<c00175a8>]
(mmput+0x38/0xa8)
[   44.914062] [<c00175a8>] (mmput+0x38/0xa8) from [<c001c5bc>]
(exit_mm+0xe8/0xec)
[   44.914062] [<c001c5bc>] (exit_mm+0xe8/0xec) from [<c001db5c>]
(do_exit+0x1d4/0x688)
[   44.914062] [<c001db5c>] (do_exit+0x1d4/0x688) from [<c00109f4>]
(die+0x208/0x244)
[   44.914062] [<c00109f4>] (die+0x208/0x244) from [<c0012888>]
(__do_kernel_fault+0x64/0x84)
[   44.914062] [<c0012888>] (__do_kernel_fault+0x64/0x84) from
[<c0012ae8>] (do_page_fault+0x240/0x254)
[   44.914062] [<c0012ae8>] (do_page_fault+0x240/0x254) from
[<c00085a0>] (do_DataAbort+0x30/0x98)
[   44.914062] [<c00085a0>] (do_DataAbort+0x30/0x98) from [<c000d498>]
(__dabt_svc+0x38/0x60)
[   44.914062] Exception stack(0xc7aa1e20 to 0xc7aa1e68)
[   44.914062] 1e20: 00000000 00200200 00100100 00200200 00000000
c03ae04c c0290558 b6fcd990
[   44.914062] 1e40: c0290b10 c029ad10 c039aa60 60000013 60000013
c7aa1e68 c004fea8 c004fd68
[   44.914062] 1e60: 60000093 ffffffff
[   44.914062] [<c000d498>] (__dabt_svc+0x38/0x60) from [<c004fd68>]
(get_page_from_freelist+0x24c/0x4b8)
[   44.914062] [<c004fd68>] (get_page_from_freelist+0x24c/0x4b8) from
[<c00500bc>] (__alloc_pages_nodemask+0xe8/0x5e4)
[   44.914062] [<c00500bc>] (__alloc_pages_nodemask+0xe8/0x5e4) from
[<c006c084>] (slob_new_pages.clone.17+0x10/0x4c)
[   44.914062] [<c006c084>] (slob_new_pages.clone.17+0x10/0x4c) from
[<c006c4c4>] (kmem_cache_alloc_node+0x44/0x64)
[   44.914062] [<c006c4c4>] (kmem_cache_alloc_node+0x44/0x64) from
[<c00762d4>] (getname_flags+0x24/0x94)
[   44.914062] [<c00762d4>] (getname_flags+0x24/0x94) from
[<c006d6a8>] (do_sys_open+0xa0/0x170)
[   44.914062] [<c006d6a8>] (do_sys_open+0xa0/0x170) from [<c000d860>]
(ret_fast_syscall+0x0/0x2c)
[   44.914062] Code: e59f1254 e24aa014 e59a3018 e59a2014 (e5823004)
[   44.914062] ---[ end trace 4f68e63fbfe364d5 ]---
[   44.914062] Fixing recursive fault but reboot is needed!
[   45.796875] Unable to handle kernel paging request at virtual
address 00100104
[   45.796875] pgd = c7ad8000
[   45.796875] [00100104] *pgd=0000001c
[   45.796875] Unable to handle kernel paging request at virtual
address a0000400
[   45.796875] pgd = c7ad8000
[   45.796875] [a0000400] *pgd=00000000
[   45.796875] Internal error: Oops: 5 [#3] ARM
[   45.796875] CPU: 0    Tainted: G    B D       (3.6.0-rc1+ #893)
[   45.796875] PC is at show_pte+0x74/0xbc
[   45.796875] LR is at show_pte+0x3c/0xbc
[   45.796875] pc : [<c0012708>]    lr : [<c00126d0>]    psr: 60000093
[   45.796875] sp : c7ab5bb8  ip : 60000093  fp : 00010000
[   45.796875] r10: 00000029  r9 : c7ac7254  r8 : 00000000
[   45.796875] r7 : c7ab5cb0  r6 : 00000000  r5 : 00000000  r4 : 00000100
[   45.796875] r3 : a0000000  r2 : 00000000  r1 : 00000000  r0 : c0220df7
[   45.796875] Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM
Segment user
[   45.796875] Control: 0005317f  Table: 27ad8000  DAC: 00000015
[   45.796875] Process ubiattach (pid: 329, stack limit = 0xc7ab4270)
[   45.796875] Stack: (0xc7ab5bb8 to 0xc7ab6000)
[   45.796875] 5ba0:
    00100104 00000817
[   45.796875] 5bc0: c7ac7220 c0012878 00100104 c7ab5cb0 c7ace780
c7ac7220 00000817 c0012ae8
[   45.796875] 5be0: 00100104 00000817 c7ab5cb0 00000817 00000007
00100104 c7ab5cb0 c027cfe0
[   45.796875] 5c00: c029ad10 c039aa60 60000013 c00085a0 00000001
c02806d8 c7ad3b80 c00369ec
[   45.796875] 5c20: c7ab0960 60000093 c7ab5c44 c0036af4 c7ac4000
00000001 0000000e c7ab0c18
[   45.796875] 5c40: 00000002 c0025984 00000001 0000000e c7ab0960
00000001 c7ab0c48 c02806d8
[   45.796875] 5c60: 00000000 c00260e0 0000000e 20000093 c02809b8
c78f54a0 c02809b8 c78f54a0
[   45.796875] 5c80: c02809b8 c78f54a0 c7ab0c48 c02806d0 00000001
c0290c1a c004fd68 60000093
[   45.796875] 5ca0: ffffffff c7ab5ce4 c0290b10 c000d498 00000001
00200200 00100100 00200200
[   45.796875] 5cc0: 00000000 c03ae04c c0290558 80000013 c0290b10
c029ad10 c039aa60 60000013
[   45.796875] 5ce0: 00000041 c7ab5cf8 c004dce0 c004fd68 60000093
ffffffff 00000041 c027e4a0
[   45.796875] 5d00: 00000000 00020050 00000001 00000008 c0290b14
00000000 ffffffff 00000000
[   45.796875] 5d20: c7ab4000 00000000 00000000 00000000 c0296184
c0290558 00000100 00000050
[   45.796875] 5d40: 01ffffff 00000000 80000013 c0290b10 00000000
00000000 c0290558 c00500bc
[   45.796875] 5d60: 00000000 00000041 c0290558 00000000 c7ab5dd4
00000000 00000000 c0049100
[   45.796875] 5d80: 00020050 00000012 00000000 c000e0d8 fefff000
c006c18c 60000013 c000d500
[   45.796875] 5da0: c7ad9f60 c0290558 ffffffe0 c0281c70 c0281c5c
0000003c 80000013 c03995f4
[   45.796875] 5dc0: 0000001e 00000000 00000020 c006c084 00000050
c006c1a4 0000003c 00000050
[   45.796875] 5de0: 00000020 0000001c ffffffff c7b42220 ffffffff
c7ae2000 c029ff5c c7ae1fc0
[   45.796875] 5e00: 00000000 c006c2b0 c7a73440 c0138430 ffffffff
c7a73440 c7b42220 c7ad2774
[   45.796875] 5e20: c7ad2760 c0139afc 00000000 c7ad2760 7fffefff
00000000 c7ad2760 c7a73440
[   45.796875] 5e40: 00000199 c7928380 c7ad276c 000000a0 00000000
c013c020 ffffffff 00000000
[   45.796875] 5e60: c7ad2774 00000040 80000013 c0281c70 c7ad2774
c7ad2764 c7ad276c c7ad277c
[   45.796875] 5e80: 00000040 000080d0 00000020 00000020 c7a73440
c7a738bc 00000140 fffffe00
[   45.796875] 5ea0: c7a73440 00000000 00000000 c7928380 00000000
000000a0 00000000 c01317d8
[   45.796875] 5ec0: c7a42bb0 c7a3bea8 00000002 00000000 00000000
c7ab5f78 00000001 bea1caf8
[   45.796875] 5ee0: c7928380 bea1caf8 c7a3f4b0 00000003 c7ab4000
00000000 00000000 c0131fa8
[   45.796875] 5f00: ffffffff 00000000 00000000 00000000 00000000
00000000 c7ad25a0 bea1caf8
[   45.796875] 5f20: bea1caf8 c007c5b4 00000000 00000000 00000000
00000000 00000000 00000003
[   45.796875] 5f40: 00000003 c039a740 00000000 c004f75c 00000000
00000003 c7ad25a0 c7aba000
[   45.796875] 5f60: c7ad25a8 c006c520 c027a224 c7ad25a0 bea1caf8
40186f40 00000003 c000d9c4
[   45.796875] 5f80: c7ab4000 c007c66c 00000003 00000000 bea1caf8
bea1caf8 40186f40 00000003
[   45.796875] 5fa0: 00000036 c000d860 bea1caf8 40186f40 00000003
40186f40 bea1caf8 00000000
[   45.796875] 5fc0: bea1caf8 40186f40 00000003 00000036 00000003
bea1cdb4 00000000 00000000
[   45.796875] 5fe0: b6f62ec4 bea1cab0 000098c8 b6f62f08 60000010
00000003 00000006 00000004
[   45.796875] [<c0012708>] (show_pte+0x74/0xbc) from [<c0012878>]
(__do_kernel_fault+0x54/0x84)
[   45.796875] [<c0012878>] (__do_kernel_fault+0x54/0x84) from
[<c0012ae8>] (do_page_fault+0x240/0x254)
[   45.796875] [<c0012ae8>] (do_page_fault+0x240/0x254) from
[<c00085a0>] (do_DataAbort+0x30/0x98)
[   45.796875] [<c00085a0>] (do_DataAbort+0x30/0x98) from [<c000d498>]
(__dabt_svc+0x38/0x60)
[   45.796875] Exception stack(0xc7ab5cb0 to 0xc7ab5cf8)
[   45.796875] 5ca0:                                     00000001
00200200 00100100 00200200
[   45.796875] 5cc0: 00000000 c03ae04c c0290558 80000013 c0290b10
c029ad10 c039aa60 60000013
[   45.796875] 5ce0: 00000041 c7ab5cf8 c004dce0 c004fd68 60000093 ffffffff
[   45.796875] [<c000d498>] (__dabt_svc+0x38/0x60) from [<c004fd68>]
(get_page_from_freelist+0x24c/0x4b8)
[   45.796875] [<c004fd68>] (get_page_from_freelist+0x24c/0x4b8) from
[<c00500bc>] (__alloc_pages_nodemask+0xe8/0x5e4)
[   45.796875] [<c00500bc>] (__alloc_pages_nodemask+0xe8/0x5e4) from
[<c006c084>] (slob_new_pages.clone.17+0x10/0x4c)
[   45.796875] [<c006c084>] (slob_new_pages.clone.17+0x10/0x4c) from
[<c006c1a4>] (slob_alloc.clone.18+0xe4/0x1c0)
[   45.796875] [<c006c1a4>] (slob_alloc.clone.18+0xe4/0x1c0) from
[<c006c2b0>] (__kmalloc_node+0x30/0xa0)
[   45.796875] [<c006c2b0>] (__kmalloc_node+0x30/0xa0) from
[<c0138430>] (schedule_erase+0x24/0x64)
[   45.796875] [<c0138430>] (schedule_erase+0x24/0x64) from
[<c0139afc>] (ubi_wl_init+0x11c/0x36c)
[   45.796875] [<c0139afc>] (ubi_wl_init+0x11c/0x36c) from
[<c013c020>] (ubi_attach+0x13e4/0x147c)
[   45.796875] [<c013c020>] (ubi_attach+0x13e4/0x147c) from
[<c01317d8>] (ubi_attach_mtd_dev+0x58c/0xb20)
[   45.796875] [<c01317d8>] (ubi_attach_mtd_dev+0x58c/0xb20) from
[<c0131fa8>] (ctrl_cdev_ioctl+0xd8/0x168)
[   45.796875] [<c0131fa8>] (ctrl_cdev_ioctl+0xd8/0x168) from
[<c007c5b4>] (do_vfs_ioctl+0x4c0/0x544)
[   45.796875] [<c007c5b4>] (do_vfs_ioctl+0x4c0/0x544) from
[<c007c66c>] (sys_ioctl+0x34/0x54)
[   45.796875] [<c007c66c>] (sys_ioctl+0x34/0x54) from [<c000d860>]
(ret_fast_syscall+0x0/0x2c)
[   45.796875] Code: e3c33eff e3c3300f e59f003c e2433460 (e7932104)
[   45.796875] ---[ end trace 4f68e63fbfe364d6 ]---
[   45.796875] Unable to handle kernel paging request at virtual
address 00100104
[   45.796875] pgd = c0004000
[   45.796875] [00100104] *pgd=00000000
[   45.796875] Internal error: Oops: 817 [#4] ARM
[   45.796875] CPU: 0    Tainted: G    B D       (3.6.0-rc1+ #893)
[   45.796875] PC is at get_page_from_freelist+0x24c/0x4b8
[   45.796875] LR is at zone_watermark_ok+0x18/0x1c
[   45.796875] pc : [<c004fd68>]    lr : [<c004dce0>]    psr: 60000093
[   45.796875] sp : c7ab58c8  ip : 00000041  fp : 60000093
[   45.796875] r10: c039aa60  r9 : c029ad10  r8 : c0290b10
[   45.796875] r7 : c7ac7254  r6 : c0290558  r5 : c03ae04c  r4 : 00000000
[   45.796875] r3 : 00200200  r2 : 00100100  r1 : 00200200  r0 : 00000001
[   45.796875] Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM
Segment user
[   45.796875] Control: 0005317f  Table: 27ad8000  DAC: 00000015
[   45.796875] Process ubiattach (pid: 329, stack limit = 0xc7ab4270)
[   45.796875] Stack: (0xc7ab58c8 to 0xc7ab6000)
[   45.796875] 58c0:                   00000041 c0291934 c0294388
00020200 00000001 00000008
[   45.796875] 58e0: c0290b14 00000000 ffffffff 00000000 c7ab4000
00000000 c7ab5958 00000000
[   45.796875] 5900: 00000001 c0290558 00000006 00000200 01ffffff
00000000 c7ac7254 c0290b10
[   45.796875] 5920: 00000000 00000000 c0290558 c00500bc 00000000
00000041 c0290558 00000000
[   45.796875] 5940: c0291934 00000000 c001971c c0222c9f 00020200
00000000 00000001 c0291934
[   45.796875] 5960: c029e088 00000000 00000001 00000000 c02943c0
c0290558 c01114f0 c7ac7220
[   45.796875] 5980: c7acf668 00000000 c7ac7254 00000005 c7ac7254
60000093 00000001 c005063c
[   45.796875] 59a0: c7ab59c8 c0063e08 c7ac7220 00000001 00000000
00000001 0000012c 00000000
[   45.796875] 59c0: 00000008 c7ab59c8 00000006 00000004 c0291d5e
00000000 00000000 60000093
[   45.796875] 59e0: c7ac7220 00000000 c7ac7220 00000000 00000000
c00175a8 c7ac7220 c7ace780
[   45.796875] 5a00: 00000000 c001c5bc c7ace780 0000003d c7acea20
c7ace780 0000000b c7ab4000
[   45.796875] 5a20: c0220eac c001db5c 00010000 c01d5d18 c0222c31
c7ab5a4c 00000002 c7ab5b70
[   45.796875] 5a40: 0000000b c7ab4000 c0220eac 00000005 c7ac7254
60000093 00010000 c00109f4
[   45.796875] 5a60: c7ab4270 0000000b 00000005 a0000400 00000005
c7ac7220 c7ab5b70 00000000
[   45.796875] 5a80: 00000028 c0012888 a0000400 c7ab5b70 c7ace780
c7ac7220 00000005 c0012ae8
[   45.796875] 5aa0: a0000400 00000005 c7ab5b70 00000005 00000005
a0000400 c7ab5b70 c027cfe0
[   45.796875] 5ac0: c7ac7254 00000029 00010000 c00085a0 c0291470
c011153c c01114f0 c0287b4c
[   45.796875] 5ae0: c0291470 00000027 00000018 c001a4bc 00000027
60000093 c0291470 c001aa8c
[   45.796875] 5b00: 00000021 00000010 00000008 ffffffff 4c102108
00000000 000000e2 00000000
[   45.796875] 5b20: 00000018 00000018 00000004 00000001 c0291d5e
00000000 00000000 60000093
[   45.796875] 5b40: 00000000 c001ae90 00000000 00000000 00000000
00000000 c0012708 60000093
[   45.796875] 5b60: ffffffff c7ab5ba4 00000000 c000d498 c0220df7
00000000 00000000 a0000000
[   45.796875] 5b80: 00000100 00000000 00000000 c7ab5cb0 00000000
c7ac7254 00000029 00010000
[   45.796875] 5ba0: 60000093 c7ab5bb8 c00126d0 c0012708 60000093
ffffffff 00100104 00000817
[   45.796875] 5bc0: c7ac7220 c0012878 00100104 c7ab5cb0 c7ace780
c7ac7220 00000817 c0012ae8
[   45.796875] 5be0: 00100104 00000817 c7ab5cb0 00000817 00000007
00100104 c7ab5cb0 c027cfe0
[   45.796875] 5c00: c029ad10 c039aa60 60000013 c00085a0 00000001
c02806d8 c7ad3b80 c00369ec
[   45.796875] 5c20: c7ab0960 60000093 c7ab5c44 c0036af4 c7ac4000
00000001 0000000e c7ab0c18
[   45.796875] 5c40: 00000002 c0025984 00000001 0000000e c7ab0960
00000001 c7ab0c48 c02806d8
[   45.796875] 5c60: 00000000 c00260e0 0000000e 20000093 c02809b8
c78f54a0 c02809b8 c78f54a0
[   45.796875] 5c80: c02809b8 c78f54a0 c7ab0c48 c02806d0 00000001
c0290c1a c004fd68 60000093
[   45.796875] 5ca0: ffffffff c7ab5ce4 c0290b10 c000d498 00000001
00200200 00100100 00200200
[   45.796875] 5cc0: 00000000 c03ae04c c0290558 80000013 c0290b10
c029ad10 c039aa60 60000013
[   45.796875] 5ce0: 00000041 c7ab5cf8 c004dce0 c004fd68 60000093
ffffffff 00000041 c027e4a0
[   45.796875] 5d00: 00000000 00020050 00000001 00000008 c0290b14
00000000 ffffffff 00000000
[   45.796875] 5d20: c7ab4000 00000000 00000000 00000000 c0296184
c0290558 00000100 00000050
[   45.796875] 5d40: 01ffffff 00000000 80000013 c0290b10 00000000
00000000 c0290558 c00500bc
[   45.796875] 5d60: 00000000 00000041 c0290558 00000000 c7ab5dd4
00000000 00000000 c0049100
[   45.796875] 5d80: 00020050 00000012 00000000 c000e0d8 fefff000
c006c18c 60000013 c000d500
[   45.796875] 5da0: c7ad9f60 c0290558 ffffffe0 c0281c70 c0281c5c
0000003c 80000013 c03995f4
[   45.796875] 5dc0: 0000001e 00000000 00000020 c006c084 00000050
c006c1a4 0000003c 00000050
[   45.796875] 5de0: 00000020 0000001c ffffffff c7b42220 ffffffff
c7ae2000 c029ff5c c7ae1fc0
[   45.796875] 5e00: 00000000 c006c2b0 c7a73440 c0138430 ffffffff
c7a73440 c7b42220 c7ad2774
[   45.796875] 5e20: c7ad2760 c0139afc 00000000 c7ad2760 7fffefff
00000000 c7ad2760 c7a73440
[   45.796875] 5e40: 00000199 c7928380 c7ad276c 000000a0 00000000
c013c020 ffffffff 00000000
[   45.796875] 5e60: c7ad2774 00000040 80000013 c0281c70 c7ad2774
c7ad2764 c7ad276c c7ad277c
[   45.796875] 5e80: 00000040 000080d0 00000020 00000020 c7a73440
c7a738bc 00000140 fffffe00
[   45.796875] 5ea0: c7a73440 00000000 00000000 c7928380 00000000
000000a0 00000000 c01317d8
[   45.796875] 5ec0: c7a42bb0 c7a3bea8 00000002 00000000 00000000
c7ab5f78 00000001 bea1caf8
[   45.796875] 5ee0: c7928380 bea1caf8 c7a3f4b0 00000003 c7ab4000
00000000 00000000 c0131fa8
[   45.796875] 5f00: ffffffff 00000000 00000000 00000000 00000000
00000000 c7ad25a0 bea1caf8
[   45.796875] 5f20: bea1caf8 c007c5b4 00000000 00000000 00000000
00000000 00000000 00000003
[   45.796875] 5f40: 00000003 c039a740 00000000 c004f75c 00000000
00000003 c7ad25a0 c7aba000
[   45.796875] 5f60: c7ad25a8 c006c520 c027a224 c7ad25a0 bea1caf8
40186f40 00000003 c000d9c4
[   45.796875] 5f80: c7ab4000 c007c66c 00000003 00000000 bea1caf8
bea1caf8 40186f40 00000003
[   45.796875] 5fa0: 00000036 c000d860 bea1caf8 40186f40 00000003
40186f40 bea1caf8 00000000
[   45.796875] 5fc0: bea1caf8 40186f40 00000003 00000036 00000003
bea1cdb4 00000000 00000000
[   45.796875] 5fe0: b6f62ec4 bea1cab0 000098c8 b6f62f08 60000010
00000003 00000006 00000004
[   45.796875] [<c004fd68>] (get_page_from_freelist+0x24c/0x4b8) from
[<c00500bc>] (__alloc_pages_nodemask+0xe8/0x5e4)
[   45.796875] [<c00500bc>] (__alloc_pages_nodemask+0xe8/0x5e4) from
[<c005063c>] (__get_free_pages+0x10/0x4c)
[   45.796875] [<c005063c>] (__get_free_pages+0x10/0x4c) from
[<c0063e08>] (exit_mmap+0x94/0x19c)
[   45.796875] [<c0063e08>] (exit_mmap+0x94/0x19c) from [<c00175a8>]
(mmput+0x38/0xa8)
[   45.796875] [<c00175a8>] (mmput+0x38/0xa8) from [<c001c5bc>]
(exit_mm+0xe8/0xec)
[   45.796875] [<c001c5bc>] (exit_mm+0xe8/0xec) from [<c001db5c>]
(do_exit+0x1d4/0x688)
[   45.796875] [<c001db5c>] (do_exit+0x1d4/0x688) from [<c00109f4>]
(die+0x208/0x244)
[   45.796875] [<c00109f4>] (die+0x208/0x244) from [<c0012888>]
(__do_kernel_fault+0x64/0x84)
[   45.796875] [<c0012888>] (__do_kernel_fault+0x64/0x84) from
[<c0012ae8>] (do_page_fault+0x240/0x254)
[   45.796875] [<c0012ae8>] (do_page_fault+0x240/0x254) from
[<c00085a0>] (do_DataAbort+0x30/0x98)
[   45.796875] [<c00085a0>] (do_DataAbort+0x30/0x98) from [<c000d498>]
(__dabt_svc+0x38/0x60)
[   45.796875] Exception stack(0xc7ab5b70 to 0xc7ab5bb8)
[   45.796875] 5b60:                                     c0220df7
00000000 00000000 a0000000
[   45.796875] 5b80: 00000100 00000000 00000000 c7ab5cb0 00000000
c7ac7254 00000029 00010000
[   45.796875] 5ba0: 60000093 c7ab5bb8 c00126d0 c0012708 60000093 ffffffff
[   45.796875] [<c000d498>] (__dabt_svc+0x38/0x60) from [<c0012708>]
(show_pte+0x74/0xbc)
[   45.796875] [<c0012708>] (show_pte+0x74/0xbc) from [<c0012878>]
(__do_kernel_fault+0x54/0x84)
[   45.796875] [<c0012878>] (__do_kernel_fault+0x54/0x84) from
[<c0012ae8>] (do_page_fault+0x240/0x254)
[   45.796875] [<c0012ae8>] (do_page_fault+0x240/0x254) from
[<c00085a0>] (do_DataAbort+0x30/0x98)
[   45.796875] [<c00085a0>] (do_DataAbort+0x30/0x98) from [<c000d498>]
(__dabt_svc+0x38/0x60)
[   45.796875] Exception stack(0xc7ab5cb0 to 0xc7ab5cf8)
[   45.796875] 5ca0:                                     00000001
00200200 00100100 00200200
[   45.796875] 5cc0: 00000000 c03ae04c c0290558 80000013 c0290b10
c029ad10 c039aa60 60000013
[   45.796875] 5ce0: 00000041 c7ab5cf8 c004dce0 c004fd68 60000093 ffffffff
[   45.796875] [<c000d498>] (__dabt_svc+0x38/0x60) from [<c004fd68>]
(get_page_from_freelist+0x24c/0x4b8)
[   45.796875] [<c004fd68>] (get_page_from_freelist+0x24c/0x4b8) from
[<c00500bc>] (__alloc_pages_nodemask+0xe8/0x5e4)
[   45.796875] [<c00500bc>] (__alloc_pages_nodemask+0xe8/0x5e4) from
[<c006c084>] (slob_new_pages.clone.17+0x10/0x4c)
[   45.796875] [<c006c084>] (slob_new_pages.clone.17+0x10/0x4c) from
[<c006c1a4>] (slob_alloc.clone.18+0xe4/0x1c0)
[   45.796875] [<c006c1a4>] (slob_alloc.clone.18+0xe4/0x1c0) from
[<c006c2b0>] (__kmalloc_node+0x30/0xa0)
[   45.796875] [<c006c2b0>] (__kmalloc_node+0x30/0xa0) from
[<c0138430>] (schedule_erase+0x24/0x64)
[   45.796875] [<c0138430>] (schedule_erase+0x24/0x64) from
[<c0139afc>] (ubi_wl_init+0x11c/0x36c)
[   45.796875] [<c0139afc>] (ubi_wl_init+0x11c/0x36c) from
[<c013c020>] (ubi_attach+0x13e4/0x147c)
[   45.796875] [<c013c020>] (ubi_attach+0x13e4/0x147c) from
[<c01317d8>] (ubi_attach_mtd_dev+0x58c/0xb20)
[   45.796875] [<c01317d8>] (ubi_attach_mtd_dev+0x58c/0xb20) from
[<c0131fa8>] (ctrl_cdev_ioctl+0xd8/0x168)
[   45.796875] [<c0131fa8>] (ctrl_cdev_ioctl+0xd8/0x168) from
[<c007c5b4>] (do_vfs_ioctl+0x4c0/0x544)
[   45.796875] [<c007c5b4>] (do_vfs_ioctl+0x4c0/0x544) from
[<c007c66c>] (sys_ioctl+0x34/0x54)
[   45.796875] [<c007c66c>] (sys_ioctl+0x34/0x54) from [<c000d860>]
(ret_fast_syscall+0x0/0x2c)
[   45.796875] Code: e59f1254 e24aa014 e59a3018 e59a2014 (e5823004)
[   45.796875] ---[ end trace 4f68e63fbfe364d7 ]---
[   45.796875] Fixing recursive fault but reboot is needed!
[   46.148437] Unable to handle kernel paging request at virtual
address 00100104
[   46.148437] pgd = c0004000
[   46.148437] [00100104] *pgd=00000000
[   46.148437] Internal error: Oops: 817 [#5] ARM
[   46.148437] CPU: 0    Tainted: G    B D       (3.6.0-rc1+ #893)
[   46.148437] PC is at get_page_from_freelist+0x24c/0x4b8
[   46.148437] LR is at zone_watermark_ok+0x18/0x1c
[   46.148437] pc : [<c004fd68>]    lr : [<c004dce0>]    psr: 60000093
[   46.148437] sp : c0273cc0  ip : 00000041  fp : 60000093
[   46.148437] r10: c039aa60  r9 : c029ad10  r8 : c0290b10
[   46.148437] r7 : 80000093  r6 : c0290558  r5 : c03ae04c  r4 : 00000000
[   46.148437] r3 : 00200200  r2 : 00100100  r1 : 00200200  r0 : 00000001
[   46.148437] Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM
Segment kernel
[   46.148437] Control: 0005317f  Table: 27ad8000  DAC: 00000017
[   46.148437] Process swapper (pid: 0, stack limit = 0xc0272270)
[   46.148437] Stack: (0xc0273cc0 to 0xc0274000)
[   46.148437] 3cc0: 00000041 c7acf4a0 c0272000 00020020 00000001
00000008 c0290b14 00000000
[   46.148437] 3ce0: ffffffff 00000000 c0272000 00000000 c7ace7b0
00000000 c0038dac c0290558
[   46.148437] 3d00: c7ace780 00000020 01ffffff 00000000 80000093
c0290b10 00000000 00000000
[   46.148437] 3d20: c0290558 c00500bc 00000000 00000041 c0290558
00000000 00000001 00000000
[   46.148437] 3d40: c0273d74 c00308d8 00020020 c0036604 00000000
20000013 c7a4994c c7abb900
[   46.148437] 3d60: 000000cc 00000060 c7a48a40 c0290558 fffffff8
c0281c70 c0281c5c 00000090
[   46.148437] 3d80: 80000093 c03995f4 00000048 00000000 00000008
c006c084 00000020 c006c1a4
[   46.148437] 3da0: 00000090 00000020 00000008 c7808b40 0000000e
c7ab0c18 c7ab0960 00000001
[   46.148437] 3dc0: c02806d8 00000000 00000002 c006c4a8 c0297524
c0280098 0000000e c0024abc
[   46.148437] 3de0: 00000001 00000001 0000000e c0025834 00000001
0000000e c7ab0960 00000001
[   46.148437] 3e00: c7ab0c48 c02806d8 00000000 c00260e0 0000000e
20000093 c7ab0960 c7a8bfc0
[   46.148437] 3e20: 00000001 0000000e c0280778 c00262d0 c02806d0
00000001 c0290c1a c001e6bc
[   46.148437] 3e40: c001e6a4 c0033b20 00000000 c003bb9c 00000000
00000000 00000000 00000000
[   46.148437] 3e60: 0000002e 0860173b ffc06c00 c027c058 00000000
c027e4a0 00000000 00000000
[   46.148437] 3e80: c0290c20 c7ac7220 00000001 c00240f0 c027c058
c0024124 c0290fdc 0000008f
[   46.148437] 3ea0: c027e4a0 c003ee50 c027e4a0 00000000 c0290fdc
0000008f c027e4a0 00000000
[   46.148437] 3ec0: 00000000 c0016f10 c027e6a8 c78023c0 00000012
c0044dac c78023c0 c027e6a8
[   46.148437] 3ee0: 0005d6d5 c78023c0 00000000 ffffffff c0273f64
c7ace780 c7ac7220 c7ac7220
[   46.148437] 3f00: c0273f8c c0044f40 c78023c0 c0046fc4 00000012
c004485c 00000012 c000e0d4
[   46.148437] 3f20: fefff000 c0036734 60000013 c000d500 c7ace780
00000000 00000000 60000013
[   46.148437] 3f40: c7ace780 c7ac7220 00000002 c0272000 c7ace780
c7ac7220 c7ac7220 c0273f8c
[   46.148437] 3f60: c7ab4044 c0273f78 c01d6ec0 c0036734 60000013
ffffffff c027c058 c02809b8
[   46.148437] 3f80: 00000000 c0272000 c0273fb4 c01d6ec0 c027c058
c0272000 c027cd20 c0290d48
[   46.148437] 3fa0: c03aca60 20004000 41069265 2026c3b0 00000000
c000e300 c027a090 ffffffff
[   46.148437] 3fc0: c026d5ec c02566cc ffffffff ffffffff c02561cc
00000000 00000000 c026d5ec
[   46.148437] 3fe0: 00000000 00053175 c027a01c c026d5bc c027cd14
20008040 00000000 00000000
[   46.148437] [<c004fd68>] (get_page_from_freelist+0x24c/0x4b8) from
[<c00500bc>] (__alloc_pages_nodemask+0xe8/0x5e4)
[   46.148437] [<c00500bc>] (__alloc_pages_nodemask+0xe8/0x5e4) from
[<c006c084>] (slob_new_pages.clone.17+0x10/0x4c)
[   46.148437] [<c006c084>] (slob_new_pages.clone.17+0x10/0x4c) from
[<c006c1a4>] (slob_alloc.clone.18+0xe4/0x1c0)
[   46.148437] [<c006c1a4>] (slob_alloc.clone.18+0xe4/0x1c0) from
[<c006c4a8>] (kmem_cache_alloc_node+0x28/0x64)
[   46.148437] [<c006c4a8>] (kmem_cache_alloc_node+0x28/0x64) from
[<c0024abc>] (__sigqueue_alloc+0x78/0x120)
[   46.148437] [<c0024abc>] (__sigqueue_alloc+0x78/0x120) from
[<c0025834>] (__send_signal.clone.23+0xa4/0x214)
[   46.148437] [<c0025834>] (__send_signal.clone.23+0xa4/0x214) from
[<c00260e0>] (do_send_sig_info+0x40/0x4c)
[   46.148437] [<c00260e0>] (do_send_sig_info+0x40/0x4c) from
[<c00262d0>] (kill_pid_info+0x30/0x44)
[   46.148437] [<c00262d0>] (kill_pid_info+0x30/0x44) from
[<c001e6bc>] (it_real_fn+0x18/0x20)
[   46.148437] [<c001e6bc>] (it_real_fn+0x18/0x20) from [<c0033b20>]
(hrtimer_run_queues+0x12c/0x1e4)
[   46.148437] [<c0033b20>] (hrtimer_run_queues+0x12c/0x1e4) from
[<c00240f0>] (run_local_timers+0x8/0x14)
[   46.148437] [<c00240f0>] (run_local_timers+0x8/0x14) from
[<c0024124>] (update_process_times+0x28/0x48)
[   46.148437] [<c0024124>] (update_process_times+0x28/0x48) from
[<c003ee50>] (tick_handle_periodic+0xc/0x74)
[   46.148437] [<c003ee50>] (tick_handle_periodic+0xc/0x74) from
[<c0016f10>] (at91sam926x_pit_interrupt+0x7c/0xa8)
[   46.148437] [<c0016f10>] (at91sam926x_pit_interrupt+0x7c/0xa8) from
[<c0044dac>] (handle_irq_event_percpu+0x30/0x19c)
[   46.148437] [<c0044dac>] (handle_irq_event_percpu+0x30/0x19c) from
[<c0044f40>] (handle_irq_event+0x28/0x38)
[   46.148437] [<c0044f40>] (handle_irq_event+0x28/0x38) from
[<c0046fc4>] (handle_fasteoi_irq+0x9c/0xdc)
[   46.148437] [<c0046fc4>] (handle_fasteoi_irq+0x9c/0xdc) from
[<c004485c>] (generic_handle_irq+0x20/0x30)
[   46.148437] [<c004485c>] (generic_handle_irq+0x20/0x30) from
[<c000e0d4>] (handle_IRQ+0x60/0x84)
[   46.148437] [<c000e0d4>] (handle_IRQ+0x60/0x84) from [<c000d500>]
(__irq_svc+0x40/0x4c)
[   46.148437] [<c000d500>] (__irq_svc+0x40/0x4c) from [<c0036734>]
(finish_task_switch.clone.52.clone.57+0x2c/0xe0)
[   46.148437] [<c0036734>]
(finish_task_switch.clone.52.clone.57+0x2c/0xe0) from [<c01d6ec0>]
(__schedule+0x300/0x338)
[   46.148437] [<c01d6ec0>] (__schedule+0x300/0x338) from [<c000e300>]
(cpu_idle+0xa4/0xb4)
[   46.148437] [<c000e300>] (cpu_idle+0xa4/0xb4) from [<c02566cc>]
(start_kernel+0x240/0x280)
[   46.148437] Code: e59f1254 e24aa014 e59a3018 e59a2014 (e5823004)
[   46.148437] ---[ end trace 4f68e63fbfe364d8 ]---
[   46.148437] Kernel panic - not syncing: Fatal exception in interrupt


I attached the .config I used


Regards,
Richard.
Artem Bityutskiy - Sept. 3, 2012, 1:31 p.m.
On Mon, 2012-09-03 at 15:14 +0200, Richard Genoud wrote:
> I finally managed to reproduced it on linux-ubi/master + only one
> patch to make my board boot:
> (I thought it needed much more code than that...)

Hmm, you use slob... I guess this is the reason, I do not see issues
with slub. May be there is a bug which is revealed when slob is used?
I'll need to try slob.
Richard Genoud - Sept. 3, 2012, 1:37 p.m.
2012/9/3 Artem Bityutskiy <dedekind1@gmail.com>:
> On Mon, 2012-09-03 at 15:14 +0200, Richard Genoud wrote:
>> I finally managed to reproduced it on linux-ubi/master + only one
>> patch to make my board boot:
>> (I thought it needed much more code than that...)
>
> Hmm, you use slob... I guess this is the reason, I do not see issues
> with slub. May be there is a bug which is revealed when slob is used?
> I'll need to try slob.

Good call Artem !
I switched to slub and I can't reproduce it anymore.

Patch

diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index c8050b1..c6eb877 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -141,6 +141,10 @@  config ARCH_AT91SAM9G45
	bool "AT91SAM9G45"
	select SOC_AT91SAM9G45

+config ARCH_AT91SAM9X5
+	bool "AT91SAM9x5"
+	select SOC_AT91SAM9X5
+
 config ARCH_AT91X40
	bool "AT91x40"
	depends on !MMU