LINUX.ORG.RU

История изменений

Исправление cvs-255, (текущая версия) :

О, тут заработало!

Правда падает дальше. Каким то не очень понятным образом похоже кончается память

mmc0: new high speed SD card at address 0002
mmcblk0: mmc0:0002 00000 1.87 GiB
kworker/0:1 invoked oom-killer: gfp_mask=0x40cc0(GFP_KERNEL|__GFP_COMP), order=0, oom_score_adj=0
CPU: 0 PID: 45 Comm: kworker/0:1 Not tainted 5.4.6 #3
Hardware name: Atmel AT91SAM9
Workqueue: events_freezable mmc_rescan
[<c000fcb4>] (unwind_backtrace) from [<c000d6b8>] (show_stack+0x10/0x18)
[<c000d6b8>] (show_stack) from [<c05ae310>] (dump_stack+0x18/0x24)
[<c05ae310>] (dump_stack) from [<c007014c>] (dump_header+0x50/0x1f0)
[<c007014c>] (dump_header) from [<c0070d64>] (out_of_memory+0x258/0x358)
[<c0070d64>] (out_of_memory) from [<c009c5a8>] (__alloc_pages_nodemask+0x800/0x9c8)
[<c009c5a8>] (__alloc_pages_nodemask) from [<c00a0f28>] (____cache_alloc+0x1c0/0x5e4)
[<c00a0f28>] (____cache_alloc) from [<c00a14c0>] (__kmalloc+0x60/0x9c)
[<c00a14c0>] (__kmalloc) from [<c03f1c34>] (mmc_mq_init_request+0x34/0x5c)
[<c03f1c34>] (mmc_mq_init_request) from [<c01ea564>] (blk_mq_alloc_rqs+0x15c/0x1f8)
[<c01ea564>] (blk_mq_alloc_rqs) from [<c01ed7a4>] (blk_mq_init_sched+0x88/0x188)
[<c01ed7a4>] (blk_mq_init_sched) from [<c01df278>] (elevator_init_mq+0xa0/0x13c)
[<c01df278>] (elevator_init_mq) from [<c01f0090>] (__device_add_disk+0x2c/0x4c8)
[<c01f0090>] (__device_add_disk) from [<c03eeec8>] (mmc_add_disk+0x18/0xf4)
[<c03eeec8>] (mmc_add_disk) from [<c03f0ed4>] (mmc_blk_probe+0x2c0/0x69c)
[<c03f0ed4>] (mmc_blk_probe) from [<c02f3350>] (really_probe+0x1f8/0x31c)
[<c02f3350>] (really_probe) from [<c02f36fc>] (driver_probe_device+0x140/0x15c)
[<c02f36fc>] (driver_probe_device) from [<c02f1838>] (bus_for_each_drv+0xa4/0xbc)
[<c02f1838>] (bus_for_each_drv) from [<c02f351c>] (__device_attach+0xa8/0x124)
[<c02f351c>] (__device_attach) from [<c02f2508>] (bus_probe_device+0x24/0x80)
[<c02f2508>] (bus_probe_device) from [<c02f03d8>] (device_add+0x424/0x558)
[<c02f03d8>] (device_add) from [<c03e28dc>] (mmc_add_card+0x14c/0x244)
[<c03e28dc>] (mmc_add_card) from [<c03e8e5c>] (mmc_attach_sd+0xfc/0x160)
[<c03e8e5c>] (mmc_attach_sd) from [<c03e2204>] (mmc_rescan+0x1a8/0x24c)
[<c03e2204>] (mmc_rescan) from [<c002b288>] (process_one_work+0x154/0x1f0)
[<c002b288>] (process_one_work) from [<c002bb40>] (worker_thread+0x214/0x2d0)
[<c002bb40>] (worker_thread) from [<c0030a94>] (kthread+0xe4/0xf0)
[<c0030a94>] (kthread) from [<c00090e0>] (ret_from_fork+0x14/0x34)
Exception stack(0xc0e69fb0 to 0xc0e69ff8)

UPD: с этим разобрался, передав в ядро mem=64M

Исправление cvs-255, :

О, тут заработало!

Правда падает дальше. Каким то не очень понятным образом похоже кончается память

mmc0: new high speed SD card at address 0002
mmcblk0: mmc0:0002 00000 1.87 GiB
kworker/0:1 invoked oom-killer: gfp_mask=0x40cc0(GFP_KERNEL|__GFP_COMP), order=0, oom_score_adj=0
CPU: 0 PID: 45 Comm: kworker/0:1 Not tainted 5.4.6 #3
Hardware name: Atmel AT91SAM9
Workqueue: events_freezable mmc_rescan
[<c000fcb4>] (unwind_backtrace) from [<c000d6b8>] (show_stack+0x10/0x18)
[<c000d6b8>] (show_stack) from [<c05ae310>] (dump_stack+0x18/0x24)
[<c05ae310>] (dump_stack) from [<c007014c>] (dump_header+0x50/0x1f0)
[<c007014c>] (dump_header) from [<c0070d64>] (out_of_memory+0x258/0x358)
[<c0070d64>] (out_of_memory) from [<c009c5a8>] (__alloc_pages_nodemask+0x800/0x9c8)
[<c009c5a8>] (__alloc_pages_nodemask) from [<c00a0f28>] (____cache_alloc+0x1c0/0x5e4)
[<c00a0f28>] (____cache_alloc) from [<c00a14c0>] (__kmalloc+0x60/0x9c)
[<c00a14c0>] (__kmalloc) from [<c03f1c34>] (mmc_mq_init_request+0x34/0x5c)
[<c03f1c34>] (mmc_mq_init_request) from [<c01ea564>] (blk_mq_alloc_rqs+0x15c/0x1f8)
[<c01ea564>] (blk_mq_alloc_rqs) from [<c01ed7a4>] (blk_mq_init_sched+0x88/0x188)
[<c01ed7a4>] (blk_mq_init_sched) from [<c01df278>] (elevator_init_mq+0xa0/0x13c)
[<c01df278>] (elevator_init_mq) from [<c01f0090>] (__device_add_disk+0x2c/0x4c8)
[<c01f0090>] (__device_add_disk) from [<c03eeec8>] (mmc_add_disk+0x18/0xf4)
[<c03eeec8>] (mmc_add_disk) from [<c03f0ed4>] (mmc_blk_probe+0x2c0/0x69c)
[<c03f0ed4>] (mmc_blk_probe) from [<c02f3350>] (really_probe+0x1f8/0x31c)
[<c02f3350>] (really_probe) from [<c02f36fc>] (driver_probe_device+0x140/0x15c)
[<c02f36fc>] (driver_probe_device) from [<c02f1838>] (bus_for_each_drv+0xa4/0xbc)
[<c02f1838>] (bus_for_each_drv) from [<c02f351c>] (__device_attach+0xa8/0x124)
[<c02f351c>] (__device_attach) from [<c02f2508>] (bus_probe_device+0x24/0x80)
[<c02f2508>] (bus_probe_device) from [<c02f03d8>] (device_add+0x424/0x558)
[<c02f03d8>] (device_add) from [<c03e28dc>] (mmc_add_card+0x14c/0x244)
[<c03e28dc>] (mmc_add_card) from [<c03e8e5c>] (mmc_attach_sd+0xfc/0x160)
[<c03e8e5c>] (mmc_attach_sd) from [<c03e2204>] (mmc_rescan+0x1a8/0x24c)
[<c03e2204>] (mmc_rescan) from [<c002b288>] (process_one_work+0x154/0x1f0)
[<c002b288>] (process_one_work) from [<c002bb40>] (worker_thread+0x214/0x2d0)
[<c002bb40>] (worker_thread) from [<c0030a94>] (kthread+0xe4/0xf0)
[<c0030a94>] (kthread) from [<c00090e0>] (ret_from_fork+0x14/0x34)
Exception stack(0xc0e69fb0 to 0xc0e69ff8)

Исходная версия cvs-255, :

О, тут заработало!

Правда падает дальше

mmc0: new high speed SD card at address 0002
mmcblk0: mmc0:0002 00000 1.87 GiB
kworker/0:1 invoked oom-killer: gfp_mask=0x40cc0(GFP_KERNEL|__GFP_COMP), order=0, oom_score_adj=0
CPU: 0 PID: 45 Comm: kworker/0:1 Not tainted 5.4.6 #3
Hardware name: Atmel AT91SAM9
Workqueue: events_freezable mmc_rescan
[<c000fcb4>] (unwind_backtrace) from [<c000d6b8>] (show_stack+0x10/0x18)
[<c000d6b8>] (show_stack) from [<c05ae310>] (dump_stack+0x18/0x24)
[<c05ae310>] (dump_stack) from [<c007014c>] (dump_header+0x50/0x1f0)
[<c007014c>] (dump_header) from [<c0070d64>] (out_of_memory+0x258/0x358)
[<c0070d64>] (out_of_memory) from [<c009c5a8>] (__alloc_pages_nodemask+0x800/0x9c8)
[<c009c5a8>] (__alloc_pages_nodemask) from [<c00a0f28>] (____cache_alloc+0x1c0/0x5e4)
[<c00a0f28>] (____cache_alloc) from [<c00a14c0>] (__kmalloc+0x60/0x9c)
[<c00a14c0>] (__kmalloc) from [<c03f1c34>] (mmc_mq_init_request+0x34/0x5c)
[<c03f1c34>] (mmc_mq_init_request) from [<c01ea564>] (blk_mq_alloc_rqs+0x15c/0x1f8)
[<c01ea564>] (blk_mq_alloc_rqs) from [<c01ed7a4>] (blk_mq_init_sched+0x88/0x188)
[<c01ed7a4>] (blk_mq_init_sched) from [<c01df278>] (elevator_init_mq+0xa0/0x13c)
[<c01df278>] (elevator_init_mq) from [<c01f0090>] (__device_add_disk+0x2c/0x4c8)
[<c01f0090>] (__device_add_disk) from [<c03eeec8>] (mmc_add_disk+0x18/0xf4)
[<c03eeec8>] (mmc_add_disk) from [<c03f0ed4>] (mmc_blk_probe+0x2c0/0x69c)
[<c03f0ed4>] (mmc_blk_probe) from [<c02f3350>] (really_probe+0x1f8/0x31c)
[<c02f3350>] (really_probe) from [<c02f36fc>] (driver_probe_device+0x140/0x15c)
[<c02f36fc>] (driver_probe_device) from [<c02f1838>] (bus_for_each_drv+0xa4/0xbc)
[<c02f1838>] (bus_for_each_drv) from [<c02f351c>] (__device_attach+0xa8/0x124)
[<c02f351c>] (__device_attach) from [<c02f2508>] (bus_probe_device+0x24/0x80)
[<c02f2508>] (bus_probe_device) from [<c02f03d8>] (device_add+0x424/0x558)
[<c02f03d8>] (device_add) from [<c03e28dc>] (mmc_add_card+0x14c/0x244)
[<c03e28dc>] (mmc_add_card) from [<c03e8e5c>] (mmc_attach_sd+0xfc/0x160)
[<c03e8e5c>] (mmc_attach_sd) from [<c03e2204>] (mmc_rescan+0x1a8/0x24c)
[<c03e2204>] (mmc_rescan) from [<c002b288>] (process_one_work+0x154/0x1f0)
[<c002b288>] (process_one_work) from [<c002bb40>] (worker_thread+0x214/0x2d0)
[<c002bb40>] (worker_thread) from [<c0030a94>] (kthread+0xe4/0xf0)
[<c0030a94>] (kthread) from [<c00090e0>] (ret_from_fork+0x14/0x34)
Exception stack(0xc0e69fb0 to 0xc0e69ff8)