Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I
1,311 Views

How to fix this Intel edison kernel BUG?

Hello everyone,

I meet this problem when I use my dirver(coded by myself) on edison

[ 3960.093260] INFO: task kworker/u4:4:373 blocked for more than 120 seconds.

[ 3960.093325] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.

[ 3960.093395] kworker/u4:4 D f576de90 6188 373 2 0x00000000

[ 3960.093440] Workqueue: AFE4300_wq AFE4300_do_task [AFE4300]

[ 3960.093456] f5445da8 00000046 c18cb6a6 f576de90 f5445d64 c1ce9000 f6c9e000 0dcd111d

[ 3960.093510] 00000365 f50c3210 f73efb00 f6c810b0 f576de90 f5d34b44 f6c0e000 f5445d70

[ 3960.093564] c127271f f5cf5100 f5445d78 c125acce f5445d94 c125c443 f5cf5100 00000007

[ 3960.093618] Call Trace:

[ 3960.093649] [] ? _raw_spin_unlock_irqrestore+0x26/0x60

[ 3960.093677] [] ? wake_up_process+0x1f/0x40

[ 3960.093703] [] ? wake_up_worker+0x1e/0x20

[ 3960.093728] [] ? insert_work+0x53/0x90

[ 3960.093756] [] ? _raw_spin_unlock+0x17/0x40

[ 3960.093781] [] ? __queue_work+0x10f/0x340

[ 3960.093807] [] schedule+0x23/0x60

[ 3960.093833] [] schedule_timeout+0x165/0x2a0

[ 3960.093863] [] ? get_parent_ip+0xb/0x40

[ 3960.093889] [] ? sub_preempt_count+0x95/0xf0

[ 3960.093915] [] ? get_parent_ip+0xb/0x40

[ 3960.093944] [] wait_for_completion+0xab/0xe0

[ 3960.093968] [] ? wake_up_state+0x20/0x20

[ 3960.093995] [] __spi_sync+0x68/0xb0

[ 3960.123240] [] spi_sync+0xf/0x20

[ 3960.123274] [] AFE4300_do_task+0xb4/0x1d0 [AFE4300]

[ 3960.123302] [] ? get_parent_ip+0xb/0x40

[ 3960.123333] [] ? spi_sync_locked+0x20/0x20

[ 3960.123363] [] process_one_work+0xfe/0x410

[ 3960.123389] [] ? get_parent_ip+0xb/0x40

[ 3960.123415] [] ? add_preempt_count+0x7d/0xf0

[ 3960.123440] [] ? sub_preempt_count+0x95/0xf0

[ 3960.123468] [] worker_thread+0xfc/0x360

[ 3960.123495] [] ? _raw_spin_unlock_irqrestore+0x26/0x60

[ 3960.123522] [] ? rescuer_thread+0x2d0/0x2d0

[ 3960.123547] [] kthread+0xa0/0xb0

[ 3960.123572] [] ? sub_preempt_count+0x95/0xf0

[ 3960.123605] [] ret_from_kernel_thread+0x1b/0x28

[ 3960.123630] [] ? kthread_create_on_node+0xc0/0xc0

Does anyone know why it happens and how can I fix it?

Is it caused by spi master on edison or others?

3 Replies
Highlighted
Employee
15 Views

Hi cer1991,

Could you please provide some more information about the issue?

  • Which image are you using right now?
  • What's the purpose of the driver that you programmed? We would like to know some more details.
  • How are you adding it to the current image? Could you share the process?

Regards,

PabloM_Intel

Employee
15 Views

0 Kudos
Highlighted
Employee
15 Views

Hi cer1991,

Do you have updates in this?

Could you provide more information about the configuration you are using?

Regards,

Charlie

0 Kudos