且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

I.MX6 MAC Address 导致的系统崩溃

更新时间:2021-10-13 21:51:00

/****************************************************************************
 *                  I.MX6 MAC Address 导致的系统崩溃
 * 说明:
 *     修改了I.MX6的MAC地址之后,忘了提前设置好MAC地址,结果系统崩溃了,通过
 * Logcat能看到更多的详细信息,这里就不贴出来了。
 *
 *                                          2016-7-26 深圳 南山平山村 曾剑锋
 ***************************************************************************/

一、错误现象
    warning: `zygote' uses 32-bit capabilities (legacy support in use)
    request_suspend_state: wakeup (3->0) at 10356378670 (2000-01-01 00:06:07.704740003 UTC)
    cpufreq_interactive_input_connect: connect to AR1020 Touchscreen
    acc_open
    acc_release
    ehci_fsl_bus_resume begins, DR
    binder: 2551: binder_alloc_buf failed to map pages in userspace, no vma
    binder: 2696:2696 transaction failed 29201, size 3776-4
    binder: release 2551:2551 transaction 1000 in, still active
    binder: send failed reply for transaction 1000 to 2619:2619
    binder: release 2551:2563 transaction 1447 in, still active
    binder: send failed reply for transaction 1447 to 2720:2720
    binder: 2733:2733 transaction failed 29189, size 1196-8
    alarm_release: clear alarm, pending 0
    alarm_release: clear alarm, pending 0
    request_suspend_state: wakeup (0->0) at 14571023004 (2000-01-01 00:06:11.919383336 UTC)
    init: untracked pid 2258 exited
    init: untracked pid 2263 exited
    init: untracked pid 2669 exited
    init: untracked pid 2685 exited
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    request_suspend_state: wakeup (0->0) at 18844367004 (2000-01-01 00:06:16.192728336 UTC)
    acc_open
    acc_release
    SysRq : Show Blocked State
      task                PC stack   pid father
    ipu1_task       D c06a0454     0   464      2 0x00000000
    [<c06a0454>] (__schedule+0x3f0/0x960) from [<c046198c>] (ipu_task_thread+0x954/0xe20)
    [<c046198c>] (ipu_task_thread+0x954/0xe20) from [<c00ab9a8>] (kthread+0x80/0x88)
    [<c00ab9a8>] (kthread+0x80/0x88) from [<c004c408>] (kernel_thread_exit+0x0/0x8)
    ipu1_task       D c06a0454     0   465      2 0x00000000
    [<c06a0454>] (__schedule+0x3f0/0x960) from [<c046198c>] (ipu_task_thread+0x954/0xe20)
    [<c046198c>] (ipu_task_thread+0x954/0xe20) from [<c00ab9a8>] (kthread+0x80/0x88)
    [<c00ab9a8>] (kthread+0x80/0x88) from [<c004c408>] (kernel_thread_exit+0x0/0x8)
    Sched Debug Version: v0.10, 3.0.35 #190
    ktime                                   : 113452.441349
    sched_clk                               : 113623.728013
    cpu_clk                                 : 113623.728679
    jiffies                                 : 4294948639
    
    sysctl_sched
      .sysctl_sched_latency                    : 10.000000
      .sysctl_sched_min_granularity            : 1.500000
      .sysctl_sched_wakeup_granularity         : 2.000000
      .sysctl_sched_child_runs_first           : 0
      .sysctl_sched_features                   : 15471
      .sysctl_sched_tunable_scaling            : 1 (logaritmic)
    
    cpu#0
      .nr_running                    : 0
      .load                          : 0
      .nr_switches                   : 33207
      .nr_load_updates               : 3701
      .nr_uninterruptible            : 4294967292
      .next_balance                  : 4294.948640
      .curr->pid                     : 0
      .clock                         : 113701.338679
      .cpu_load[0]                   : 0
      .cpu_load[1]                   : 0
      .cpu_load[2]                   : 0
      .cpu_load[3]                   : 0
      .cpu_load[4]                   : 0
      .yld_count                     : 12
      .sched_switch                  : 0
      .sched_count                   : 34915
      .sched_goidle                  : 7632
      .avg_idle                      : 1000000
      .ttwu_count                    : 17894
      .ttwu_local                    : 13356
    
    cfs_rq[0]:/apps
      .exec_clock                    : 2759.142373
      .MIN_vruntime                  : 0.000001
      .min_vruntime                  : 3436.651263
      .max_vruntime                  : 0.000001
      .spread                        : 0.000000
      .spread0                       : -20161.851361
      .nr_spread_over                : 77
      .nr_running                    : 0
      .load                          : 0
      .load_avg                      : 0.000000
      .load_period                   : 9.999999
      .load_contrib                  : 0
      .load_tg                       : 1023
      .se->exec_start                : 113701.335013
      .se->vruntime                  : 23598.502624
      .se->sum_exec_runtime          : 2759.148706
      .se->statistics.wait_start     : 0.000000
      .se->statistics.sleep_start    : 0.000000
      .se->statistics.block_start    : 0.000000
      .se->statistics.sleep_max      : 0.000000
      .se->statistics.block_max      : 0.000000
      .se->statistics.exec_max       : 10.014667
      .se->statistics.slice_max      : 7.352333
      .se->statistics.wait_max       : 8.682667
      .se->statistics.wait_sum       : 264.644972
      .se->statistics.wait_count     : 8084
      .se->load.weight               : 2
    
    cfs_rq[0]:/
      .exec_clock                    : 12482.048976
      .MIN_vruntime                  : 0.000001
      .min_vruntime                  : 23598.502624
      .max_vruntime                  : 0.000001
      .spread                        : 0.000000
      .spread0                       : 0.000000
      .nr_spread_over                : 1344
      .nr_running                    : 0
      .load                          : 0
      .load_avg                      : 0.000000
      .load_period                   : 0.000000
      .load_contrib                  : 0
      .load_tg                       : 0
    
    rt_rq[0]:/apps/bg_non_interactive
      .rt_nr_running                 : 0
      .rt_throttled                  : 0
      .rt_time                       : 0.000000
      .rt_runtime                    : 700.000000
    
    rt_rq[0]:/apps
      .rt_nr_running                 : 0
      .rt_throttled                  : 0
      .rt_time                       : 0.000000
      .rt_runtime                    : 800.000000
    
    rt_rq[0]:/
      .rt_nr_running                 : 0
      .rt_throttled                  : 0
      .rt_time                       : 0.000000
      .rt_runtime                    : 950.000000
    
    runnable tasks:
                task   PID         tree-key  switches  prio     exec-runtime         sum-exec        sum-sleep
    ----------------------------------------------------------------------------------------------------------
    
    cpu#1
      .nr_running                    : 1
      .load                          : 1024
      .nr_switches                   : 21618
      .nr_load_updates               : 3427
      .nr_uninterruptible            : 6
      .next_balance                  : 4294.948644
      .curr->pid                     : 3115
      .clock                         : 113561.468346
      .cpu_load[0]                   : 1024
      .cpu_load[1]                   : 768
      .cpu_load[2]                   : 448
      .cpu_load[3]                   : 240
      .cpu_load[4]                   : 124
      .yld_count                     : 16
      .sched_switch                  : 0
      .sched_count                   : 22292
      .sched_goidle                  : 6372
      .avg_idle                      : 1000000
      .ttwu_count                    : 10017
      .ttwu_local                    : 5773
    
    cfs_rq[1]:/apps
      .exec_clock                    : 2663.667650
      .MIN_vruntime                  : 0.000001
      .min_vruntime                  : 3128.090604
      .max_vruntime                  : 0.000001
      .spread                        : 0.000000
      .spread0                       : -20470.431114
      .nr_spread_over                : 81
      .nr_running                    : 1
      .load                          : 1024
      .load_avg                      : 10124.628992
      .load_period                   : 9.887333
      .load_contrib                  : 1023
      .load_tg                       : 1023
      .se->exec_start                : 113561.468346
      .se->vruntime                  : 15696.508707
      .se->sum_exec_runtime          : 2663.667650
      .se->statistics.wait_start     : 0.000000
      .se->statistics.sleep_start    : 0.000000
      .se->statistics.block_start    : 0.000000
      .se->statistics.sleep_max      : 0.000000
      .se->statistics.block_max      : 0.000000
      .se->statistics.exec_max       : 10.003334
      .se->statistics.slice_max      : 10.320667
      .se->statistics.wait_max       : 9.957667
      .se->statistics.wait_sum       : 186.940998
      .se->statistics.wait_count     : 5646
      .se->load.weight               : 1024
    
    cfs_rq[1]:/
      .exec_clock                    : 5726.917278
      .MIN_vruntime                  : 0.000001
      .min_vruntime                  : 15696.508707
      .max_vruntime                  : 0.000001
      .spread                        : 0.000000
      .spread0                       : -7902.013011
      .nr_spread_over                : 1457
      .nr_running                    : 1
      .load                          : 1024
      .load_avg                      : 0.000000
      .load_period                   : 0.000000
      .load_contrib                  : 0
      .load_tg                       : 0
    
    rt_rq[1]:/apps/bg_non_interactive
      .rt_nr_running                 : 0
      .rt_throttled                  : 0
      .rt_time                       : 0.000000
      .rt_runtime                    : 700.000000
    
    rt_rq[1]:/apps
      .rt_nr_running                 : 0
      .rt_throttled                  : 0
      .rt_time                       : 0.000000
      .rt_runtime                    : 800.000000
    
    rt_rq[1]:/
      .rt_nr_running                 : 0
      .rt_throttled                  : 0
      .rt_time                       : 0.127000
      .rt_runtime                    : 950.000000
    
    runnable tasks:
                task   PID         tree-key  switches  prio     exec-runtime         sum-exec        sum-sleep
    ----------------------------------------------------------------------------------------------------------
    R       watchdog  3115      3128.090604       348   120      3128.090604        40.609997     93720.891012 /apps
    
    binder: release 2989:2989 transaction 2481 in, still active
    binder: send failed reply for transaction 2481 to 3054:3054
    binder: release 2989:3000 transaction 2484 in, still active
    binder: send failed reply for transaction 2484 to 3104:3104
    binder: release 2989:3001 transaction 2491 in, still active
    binder: send failed reply for transaction 2491 to 3118:3118
    alarm_release: clear alarm, pending 0
    request_suspend_state: wakeup (0->0) at 116050924349 (2000-01-01 00:07:53.399284015 UTC)
    init: untracked pid 2771 exited
    init: untracked pid 2770 exited
    init: untracked pid 3118 exited
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    request_suspend_state: wakeup (0->0) at 120314997350 (2000-01-01 00:07:57.663358016 UTC)
    acc_open
    acc_release
    binder: release 3354:3354 transaction 4113 in, still active
    binder: send failed reply for transaction 4113 to 3520:3520
    binder: release 3354:3365 transaction 3754 in, still active
    binder: send failed reply for transaction 3754 to 3499:3499
    binder: release 3354:3366 transaction 3485 in, still active
    binder: send failed reply for transaction 3485 to 3422:3422
    binder: release 3354:3569 transaction 4114 in, still active
    binder: send failed reply for transaction 4114 to 3470:3562
    binder: send failed reply for transaction 4115 to 3527:3527
    binder: release proc 3354, transaction 4116, not freed
    binder: 3520:3520 transaction failed 29189, size 84-0
    binder: 3527:3527 transaction failed 29189, size 2788-4
    binder: 3520:3520 transaction failed 29189, size 2788-4
    alarm_release: clear alarm, pending 0
    alarm_release: clear alarm, pending 0
    request_suspend_state: wakeup (0->0) at 122740684350 (2000-01-01 00:08:00.089045682 UTC)
    init: untracked pid 3136 exited
    init: untracked pid 3135 exited
    init: untracked pid 3470 exited
    init: untracked pid 3485 exited
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    request_suspend_state: wakeup (0->0) at 126900545016 (2000-01-01 00:08:04.248906349 UTC)
    acc_open
    acc_release
    binder: release 3793:3804 transaction 5105 in, still active
    binder: send failed reply for transaction 5105 to 3860:3860
    binder: release 3793:3805 transaction 5427 in, still active
    binder: send failed reply for transaction 5427 to 3938:3938
    binder: release 3793:3936 transaction 5528 in, still active
    binder: send failed reply for transaction 5528 to 3923:3923
    binder: release 3793:4003 transaction 5535 in, still active
    binder: send failed reply for transaction 5535 to 3960:3960
    binder: send failed reply for transaction 5536 to 3973:3973
    binder: 3960:3960 transaction failed 29189, size 3104-4
    binder: 3973:3973 transaction failed 29189, size 84-0
    binder: 3973:3973 transaction failed 29189, size 2788-4
    alarm_release: clear alarm, pending 0
    alarm_release: clear alarm, pending 0
    request_suspend_state: wakeup (0->0) at 129290594351 (2000-01-01 00:08:06.638955350 UTC)
    init: untracked pid 3575 exited
    init: untracked pid 3574 exited
    init: untracked pid 3908 exited
    init: untracked pid 3923 exited
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    request_suspend_state: wakeup (0->0) at 133401464351 (2000-01-01 00:08:10.749826017 UTC)
    acc_open
    acc_release
    binder: release 4224:4235 transaction 6508 in, still active
    binder: send failed reply for transaction 6508 to 4292:4292
    binder: release 4224:4356 transaction 6710 in, still active
    binder: send failed reply for transaction 6710 to 4389:4389
    binder: release 4224:4410 transaction 6744 in, still active
    binder: send failed reply for transaction 6744 to 4368:4368
    binder: send failed reply for transaction 6745 to 4341:4341
    binder: send failed reply for transaction 6746 to 4341:4431
    binder: send failed reply for transaction 6753 to 4420:4420
    binder: 4341:4341 transaction failed 29189, size 2712-12
    binder: 4341:4341 transaction failed 29189, size 176-4
    binder: 4389:4389 transaction failed 29189, size 84-0
    binder: 4368:4368 transaction failed 29189, size 84-0
    binder: 4368:4368 transaction failed 29189, size 2788-4
    alarm_release: clear alarm, pending 0
    alarm_release: clear alarm, pending 0
    request_suspend_state: wakeup (0->0) at 136210567018 (2000-01-01 00:08:13.558928351 UTC)
    init: untracked pid 4006 exited
    init: untracked pid 4005 exited
    init: untracked pid 4357 exited
    init: untracked pid 4420 exited
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!
    ERROR: v4l2 capture: slave not found!

二、导致错误的原因:
    未设置正确的MAC地址。

三、解决办法:
    设置好MAC地址。