10 Replies Latest reply on Mar 7, 2015 6:51 AM by kyun

    BUG: unable to handle kernel NULL pointer dereference at 00000110

    kyun

      hello?

       

      I got a problem and need help.

       

      When i upload example blink or etc, i got this message.

       

      and it does not work.

       

      [   97.669682] BUG: unable to handle kernel NULL pointer dereference at 00000110

      [   97.669787] IP: [<c14bbecb>] do_raw_spin_lock+0xb/0x120

      [   97.669857] *pdpt = 0000000035e48001 *pde = 0000000000000000

      [   97.669918] Oops: 0000 [#1] PREEMPT SMP

      [   97.669970] Modules linked in: usb_f_acm u_serial g_multi libcomposite bcm_bt_lpm bcm4334x(O)

      [   97.670091] CPU: 0 PID: 23 Comm: kworker/0:1 Tainted: G           O 3.10.17-poky-edison+ #1

      [   97.670158] Hardware name: Intel Corporation Merrifield/BODEGA BAY, BIOS 4662014.06.23:19.20.05

      [   97.670235] Workqueue: events flush_to_ldisc

      [   97.670281] task: f6fe10b0 ti: f646c000 task.ti: f646c000

      [   97.670331] EIP: 0060:[<c14bbecb>] EFLAGS: 00010096 CPU: 0

      [   97.670382] EIP is at do_raw_spin_lock+0xb/0x120

      [   97.670426] EAX: 0000010c EBX: 0000010c ECX: f842fcd0 EDX: f842fcf4

      [   97.670478] ESI: 0000010c EDI: 00000002 EBP: f646ddb0 ESP: f646dd9c

      [   97.670531]  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068

      [   97.670579] CR0: 8005003b CR2: 00000110 CR3: 35e8b000 CR4: 001007f0

      [   97.670630] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000

      [   97.670680] DR6: ffff0ff0 DR7: 00000400

      [   97.670715] Stack:

      [   97.670739]  f5db650c 00002000 00000282 0000010c 00000002 f646ddc0 c1866ab5 0000010c

      [   97.670848]  00000000 f646ddd8 f842fcf4 00001f5e f84313a0 f56cf000 00000002 f646dde8

      [   97.670955]  c150664e f646dd5e f5ced000 f646de18 c150acd9 f56ceaa8 f56cea80 f646de00

      [   97.671062] Call Trace:

      [   97.671114]  [<c1866ab5>] _raw_spin_lock_irqsave+0x25/0x30

      [   97.671179]  [<f842fcf4>] gs_put_char+0x24/0x50 [u_serial]

      [   97.671238]  [<c150664e>] tty_put_char+0x1e/0x40

      [   97.671292]  [<c150acd9>] process_echoes+0x1f9/0x2d0

      [   97.671348]  [<c150bfed>] n_tty_receive_char+0x15d/0xd30

      [   97.671410]  [<c126be8b>] ? update_rq_clock.part.74+0x12b/0x150

      [   97.671472]  [<c150cd43>] n_tty_receive_buf+0x183/0x3a0

      [   97.671531]  [<c186a2e5>] ? sub_preempt_count+0x55/0xe0

      [   97.671590]  [<c1510330>] flush_to_ldisc+0xe0/0x130

      [   97.671647]  [<c125a3a9>] process_one_work+0x119/0x400

      [   97.671702]  [<c186a21d>] ? add_preempt_count+0x7d/0xf0

      [   97.671757]  [<c186a2e5>] ? sub_preempt_count+0x55/0xe0

      [   97.671813]  [<c125af2e>] worker_thread+0xfe/0x330

      [   97.671868]  [<c1866ba7>] ? _raw_spin_unlock_irqrestore+0x47/0x50

      [   97.671930]  [<c125ae30>] ? manage_workers.isra.26+0x250/0x250

      [   97.671989]  [<c12600b4>] kthread+0x94/0xa0

      [   97.672039]  [<c186a2e5>] ? sub_preempt_count+0x55/0xe0

      [   97.672099]  [<c186c177>] ret_from_kernel_thread+0x1b/0x28

      [   97.672155]  [<c1260020>] ? kthread_create_on_node+0xc0/0xc0

      [   97.672203] Code: 55 89 e5 c7 00 00 00 10 00 c7 40 04 ed 1e af de c7 40 0c ff

            ff ff ff c7 40 08 ff ff ff ff 5d c3 55 89 e5 57 56 53 89 c3

            83 ec 08 <81> 78 04 ad 4e ad de 0f 85 f7 00 00 00 64 a1 b0 06 c2 c1 39 43

      [   97.672719] EIP: [<c14bbecb>] do_raw_spin_lock+0xb/0x120 SS:ESP 0068:f646dd9c

      [   97.672793] CR2: 0000000000000110

      [   97.672833] ---[ end trace 4d46cdbc375c51db ]---

      [   97.672883] BUG: sleeping function called from invalid context at /data/jenkins_worker/workspace/edison-rel1-weekly/linux-kernel/kernel/rwsem.c:20

      [   97.672979] in_atomic(): 1, irqs_disabled(): 1, pid: 23, name: kworker/0:1

      [   97.673041] CPU: 0 PID: 23 Comm: kworker/0:1 Tainted: G      D    O 3.10.17-poky-edison+ #1

      [   97.673105] Hardware name: Intel Corporation Merrifield/BODEGA BAY, BIOS 466                                                                                            2014.06.23:19.20.05

      [   97.673179] Workqueue: events flush_to_ldisc

      [   97.673223]  00000017 00000017 f646dbac c1861830 f646dbd0 c1269d53 c1a210cc 00000001

      [   97.673333]  00000001 00000017 f6fe13b0 f640caa8 f6fe10b0 f646dbdc c1864a6c f6fe10b0

      [   97.673441]  f646dbf0 c1252abe 00000000 f646dbf0 00000009 f646dc40 c1242ef8 00000009

      [   97.673549] Call Trace:

      [   97.673595]  [<c1861830>] dump_stack+0x16/0x18

      [   97.673648]  [<c1269d53>] __might_sleep+0xe3/0x110

      [   97.673704]  [<c1864a6c>] down_read+0x1c/0x30

      [   97.673756]  [<c1252abe>] exit_signals+0x1e/0x110

      [   97.673810]  [<c1242ef8>] do_exit+0x98/0x9f0

      [   97.673860]  [<c185d265>] ? printk+0x3d/0x3f

      [   97.673911]  [<c1241efb>] ? kmsg_dump+0xbb/0xd0

      [   97.673965]  [<c1867ebb>] oops_end+0x8b/0xc0

      [   97.674015]  [<c185cc67>] no_context+0x1b5/0x1bd

      [   97.674069]  [<c185cdad>] __bad_area_nosemaphore+0x13e/0x146

      [   97.674132]  [<c15cbbc0>] ? dwc3_prepare_trbs+0x280/0x300

      [   97.674189]  [<c185cdcc>] bad_area_nosemaphore+0x17/0x19

      [   97.674245]  [<c1869bcb>] __do_page_fault+0xab/0x510

      [   97.674302]  [<c1206d7b>] ? native_sched_clock+0x2b/0xd0

      [   97.674360]  [<c12060ea>] ? nommu_map_page+0x4a/0x80

      [   97.674416]  [<c186a2e5>] ? sub_preempt_count+0x55/0xe0

      [   97.674472]  [<c186a030>] ? __do_page_fault+0x510/0x510

      [   97.674527]  [<c186a03d>] do_page_fault+0xd/0x10

      [   97.674581]  [<c186773b>] error_code+0x5f/0x64

      [   97.674638]  [<f842fcd0>] ? gs_flush_chars+0x40/0x40 [u_serial]

      [   97.674702]  [<f842fcf4>] ? gs_put_char+0x24/0x50 [u_serial]

      [   97.674766]  [<c14b007b>] ? sha_transform+0x5db/0x1020

      [   97.674821]  [<c186a030>] ? __do_page_fault+0x510/0x510

      [   97.674878]  [<c14bbecb>] ? do_raw_spin_lock+0xb/0x120

      [   97.674936]  [<c1866ab5>] _raw_spin_lock_irqsave+0x25/0x30

      [   97.674998]  [<f842fcf4>] gs_put_char+0x24/0x50 [u_serial]

      [   97.675056]  [<c150664e>] tty_put_char+0x1e/0x40

      [   97.675109]  [<c150acd9>] process_echoes+0x1f9/0x2d0

      [   97.675167]  [<c150bfed>] n_tty_receive_char+0x15d/0xd30

      [   97.675226]  [<c126be8b>] ? update_rq_clock.part.74+0x12b/0x150

      [   97.675289]  [<c150cd43>] n_tty_receive_buf+0x183/0x3a0

      [   97.675349]  [<c186a2e5>] ? sub_preempt_count+0x55/0xe0

      [   97.675408]  [<c1510330>] flush_to_ldisc+0xe0/0x130

      [   97.675466]  [<c125a3a9>] process_one_work+0x119/0x400

      [   97.675522]  [<c186a21d>] ? add_preempt_count+0x7d/0xf0

      [   97.675577]  [<c186a2e5>] ? sub_preempt_count+0x55/0xe0

      [   97.675634]  [<c125af2e>] worker_thread+0xfe/0x330

      [   97.675689]  [<c1866ba7>] ? _raw_spin_unlock_irqrestore+0x47/0x50

      [   97.675752]  [<c125ae30>] ? manage_workers.isra.26+0x250/0x250

      [   97.675811]  [<c12600b4>] kthread+0x94/0xa0

      [   97.675860]  [<c186a2e5>] ? sub_preempt_count+0x55/0xe0

      [   97.675922]  [<c186c177>] ret_from_kernel_thread+0x1b/0x28

      [   97.675978]  [<c1260020>] ? kthread_create_on_node+0xc0/0xc0

      [   97.676033] note: kworker/0:1[23] exited with preempt_count 1

       

      I did format edison drive, and re install Yocto img, but it doesn't work.