当前位置: 技术问答>linux和unix
请教:内核崩溃如何查询原因
来源: 互联网 发布时间:2016-11-05
本文导语: CPU:Intel CE4100 KERNAL: linux2.6.23 播放普通视频没有问题,当播放高清视频时出现内核崩溃,但是能播放几十秒,每次必然崩溃。 应用程序没有任何错误信息,以下信息全部是内核打印的,每次栈的深度不一定一样: ...
CPU:Intel CE4100
KERNAL: linux2.6.23
播放普通视频没有问题,当播放高清视频时出现内核崩溃,但是能播放几十秒,每次必然崩溃。
应用程序没有任何错误信息,以下信息全部是内核打印的,每次栈的深度不一定一样:
general protection fault: 0000 [#1]
PREEMPT
Modules linked in: pvrsrvkm alsa_shim(F) snd_usb_audio snd_usb_lib snd_rawmidi snd_hwdep snd_seq_device snd_pcm snd_page_alloc snd_timer snd edl_audio_dac_drv_linux edl_thermal ismdavcap_shim avcap_synthetic(F) avcap_core spectra sec_kernel ismdremux ismdbufmon ismdaudio ismdvidrend(F) ismdvidpproc ismdviddec_v2 ismddemux_v2 ismdclock_recovery gdl_mm gen_timer ismdclock ismdcore ioctl_module intel_ce_pm clock_control idl_smartcard idl_spi idl_gpio idl_i2c sven_linux system_utils_linux platform_config pal_linux osal_linux
CPU: 0
EIP: 0060:[] Tainted: GF VLI
EFLAGS: 00010297 (2.6.23 #1)
EIP is at nfs_pagein_one+0x55/0xd0
eax: ffffffff ebx: c00a1134 ecx: c5cdfd44 edx: c132c340
esi: ffffffff edi: c5cdfd44 ebp: c00a1000 esp: c5cdfc5c
ds: 007b es: 007b fs: 0000 gs: 0033 ss: 0068
Process cl_app (pid: 965, ti=c5cde000 task=c5d04000 task.ti=c5cde000)
Stack: c7057e94 c95c57a0 00001000 c5cdfd44 00002000 00000000 c01e4503 00001000
00000000 c5cdfd44 c132cc80 c01e4567 07ee4118 c132cc80 c100ab40 00000000
c01e6b4a 00000000 00001000 c5cdfd6c c7057e94 00001000 c100ab40 c5cdfde8
Call Trace:
[] nfs_pageio_doio+0x53/0x70
[] nfs_pageio_add_request+0x47/0xc0
[] readpage_async_filler+0x10a/0x190
[] read_cache_pages+0x8d/0xd0
[] readpage_async_filler+0x0/0x190
[] nfs_readpages+0xd8/0x1c0
[] nfs_pagein_one+0x0/0xd0
[] nfs_readpages+0x0/0x1c0
[] __do_page_cache_readahead+0x1d1/0x2e0
[] io_schedule+0xe/0x20
[] __wait_on_bit_lock+0x5b/0x70
[] ondemand_readahead+0xfb/0x120
[] page_cache_sync_readahead+0x2b/0x30
[] do_generic_mapping_read+0x28b/0x480
[] generic_file_aio_read+0xbd/0x1e0
[] file_read_actor+0x0/0x130
[] do_path_lookup+0x83/0x200
[] do_sync_read+0xc6/0x110
[] autoremove_wake_function+0x0/0x50
[] vfs_read+0xa1/0x130
[] do_sync_read+0x0/0x110
[] sys_read+0x41/0x70
[] sysenter_past_esp+0x5f/0x85
=======================
Code: 04 8b b0 40 01 00 00 39 fa 75 05 eb 35 83 c6 04 8b 0a 39 ca 74 0d 8b 42 04 89 41 04 89 08 89 52 04 89 12 8b 43 04 89 1a 89 53 04 10 89 42 04 8b 42 08 0f ba 30 01 8b 42 08 89 06 8b 17 39 d7
EIP: [] nfs_pagein_one+0x55/0xd0 SS:ESP 0068:c5cdfc5c
general protection fault: 0000 [#2]
PREEMPT
Modules linked in: pvrsrvkm alsa_shim(F) snd_usb_audio snd_usb_lib snd_rawmidi snd_hwdep snd_seq_device snd_pcm snd_page_alloc snd_timer snd edl_audio_dac_drv_linux edl_thermal ismdavcap_shim avcap_synthetic(F) avcap_core spectra sec_kernel ismdremux ismdbufmon ismdaudio ismdvidrend(F) ismdvidpproc ismdviddec_v2 ismddemux_v2 ismdclock_recovery gdl_mm gen_timer ismdclock ismdcore ioctl_module intel_ce_pm clock_control idl_smartcard idl_spi idl_gpio idl_i2c sven_linux system_utils_linux platform_config pal_linux osal_linux
CPU: 0
EIP: 0060:[] Tainted: GF D VLI
EFLAGS: 00010086 (2.6.23 #1)
EIP is at __kmalloc_track_caller+0x3e/0xb0
eax: 00000000 ebx: ffffffff ecx: ffffffff edx: c1001440
esi: 00000282 edi: c0535004 ebp: 00000020 esp: c5cdfa20
ds: 007b es: 007b fs: 0000 gs: 0033 ss: 0068
Process cl_app (pid: 965, ti=c5cde000 task=c5d04000 task.ti=c5cde000)
Stack: c0359b42 c1128900 c92ab6c0 00000640 00000020 c0534b18 c0358ec7 00000000
00000020 c1181000 000005f2 000000a6 c0359b42 ffffffff 000a2012 00000000
c02ae947 0000ab04 0000aaec 0000aaec 00000046 00000046 00000010 c946d140
Call Trace:
[] __netdev_alloc_skb+0x22/0x50
[] __alloc_skb+0x57/0x120
[] __netdev_alloc_skb+0x22/0x50
[] e1000_alloc_rx_buffers+0x167/0x370
[] e1000_clean_rx_irq+0x2b0/0x4b0
[] e1000_intr+0x6e/0x130
[] handle_IRQ_event+0x25/0x60
[] handle_level_irq+0x6b/0xf0
[] do_IRQ+0x42/0x80
[] common_interrupt+0x23/0x28
[] __do_softirq+0x2d/0x90
[] do_softirq+0x26/0x30
[] irq_exit+0x35/0x40
[] do_IRQ+0x47/0x80
[] show_registers+0x1ac/0x350
[] common_interrupt+0x23/0x28
[] die+0x180/0x200
[] do_general_protection+0x0/0x280
[] error_code+0x6a/0x70
[] nfs_pagein_one+0x55/0xd0
[] nfs_pageio_doio+0x53/0x70
[] nfs_pageio_add_request+0x47/0xc0
[] readpage_async_filler+0x10a/0x190
[] read_cache_pages+0x8d/0xd0
[] readpage_async_filler+0x0/0x190
[] nfs_readpages+0xd8/0x1c0
[] nfs_pagein_one+0x0/0xd0
[] nfs_readpages+0x0/0x1c0
[] __do_page_cache_readahead+0x1d1/0x2e0
[] io_schedule+0xe/0x20
[] __wait_on_bit_lock+0x5b/0x70
[] ondemand_readahead+0xfb/0x120
[] page_cache_sync_readahead+0x2b/0x30
[] do_generic_mapping_read+0x28b/0x480
[] generic_file_aio_read+0xbd/0x1e0
[] file_read_actor+0x0/0x130
[] do_path_lookup+0x83/0x200
[] do_sync_read+0xc6/0x110
[] autoremove_wake_function+0x0/0x50
[] vfs_read+0xa1/0x130
[] do_sync_read+0x0/0x110
[] sys_read+0x41/0x70
[] sysenter_past_esp+0x5f/0x85
=======================
Code: 89 74 24 0c e8 d4 fe ff ff 89 c7 83 ff 10 76 31 9c 5e fa 8b 97 88 00 00 00 85 d2 74 38 8b 4a 0c 85 c9 74 31 8b 5a 0c 0f b7 42 0a 04 83 89 42 0c 56 9d 89 e8 25 00 80 00 00 66 85 c0 75 2f 89
EIP: [] __kmalloc_track_caller+0x3e/0xb0 SS:ESP 0068:c5cdfa20
Kernel panic - not syncing: Fatal exception in interrupt
请问各位知道该从何入手?谢谢。
KERNAL: linux2.6.23
播放普通视频没有问题,当播放高清视频时出现内核崩溃,但是能播放几十秒,每次必然崩溃。
应用程序没有任何错误信息,以下信息全部是内核打印的,每次栈的深度不一定一样:
general protection fault: 0000 [#1]
PREEMPT
Modules linked in: pvrsrvkm alsa_shim(F) snd_usb_audio snd_usb_lib snd_rawmidi snd_hwdep snd_seq_device snd_pcm snd_page_alloc snd_timer snd edl_audio_dac_drv_linux edl_thermal ismdavcap_shim avcap_synthetic(F) avcap_core spectra sec_kernel ismdremux ismdbufmon ismdaudio ismdvidrend(F) ismdvidpproc ismdviddec_v2 ismddemux_v2 ismdclock_recovery gdl_mm gen_timer ismdclock ismdcore ioctl_module intel_ce_pm clock_control idl_smartcard idl_spi idl_gpio idl_i2c sven_linux system_utils_linux platform_config pal_linux osal_linux
CPU: 0
EIP: 0060:[] Tainted: GF VLI
EFLAGS: 00010297 (2.6.23 #1)
EIP is at nfs_pagein_one+0x55/0xd0
eax: ffffffff ebx: c00a1134 ecx: c5cdfd44 edx: c132c340
esi: ffffffff edi: c5cdfd44 ebp: c00a1000 esp: c5cdfc5c
ds: 007b es: 007b fs: 0000 gs: 0033 ss: 0068
Process cl_app (pid: 965, ti=c5cde000 task=c5d04000 task.ti=c5cde000)
Stack: c7057e94 c95c57a0 00001000 c5cdfd44 00002000 00000000 c01e4503 00001000
00000000 c5cdfd44 c132cc80 c01e4567 07ee4118 c132cc80 c100ab40 00000000
c01e6b4a 00000000 00001000 c5cdfd6c c7057e94 00001000 c100ab40 c5cdfde8
Call Trace:
[] nfs_pageio_doio+0x53/0x70
[] nfs_pageio_add_request+0x47/0xc0
[] readpage_async_filler+0x10a/0x190
[] read_cache_pages+0x8d/0xd0
[] readpage_async_filler+0x0/0x190
[] nfs_readpages+0xd8/0x1c0
[] nfs_pagein_one+0x0/0xd0
[] nfs_readpages+0x0/0x1c0
[] __do_page_cache_readahead+0x1d1/0x2e0
[] io_schedule+0xe/0x20
[] __wait_on_bit_lock+0x5b/0x70
[] ondemand_readahead+0xfb/0x120
[] page_cache_sync_readahead+0x2b/0x30
[] do_generic_mapping_read+0x28b/0x480
[] generic_file_aio_read+0xbd/0x1e0
[] file_read_actor+0x0/0x130
[] do_path_lookup+0x83/0x200
[] do_sync_read+0xc6/0x110
[] autoremove_wake_function+0x0/0x50
[] vfs_read+0xa1/0x130
[] do_sync_read+0x0/0x110
[] sys_read+0x41/0x70
[] sysenter_past_esp+0x5f/0x85
=======================
Code: 04 8b b0 40 01 00 00 39 fa 75 05 eb 35 83 c6 04 8b 0a 39 ca 74 0d 8b 42 04 89 41 04 89 08 89 52 04 89 12 8b 43 04 89 1a 89 53 04 10 89 42 04 8b 42 08 0f ba 30 01 8b 42 08 89 06 8b 17 39 d7
EIP: [] nfs_pagein_one+0x55/0xd0 SS:ESP 0068:c5cdfc5c
general protection fault: 0000 [#2]
PREEMPT
Modules linked in: pvrsrvkm alsa_shim(F) snd_usb_audio snd_usb_lib snd_rawmidi snd_hwdep snd_seq_device snd_pcm snd_page_alloc snd_timer snd edl_audio_dac_drv_linux edl_thermal ismdavcap_shim avcap_synthetic(F) avcap_core spectra sec_kernel ismdremux ismdbufmon ismdaudio ismdvidrend(F) ismdvidpproc ismdviddec_v2 ismddemux_v2 ismdclock_recovery gdl_mm gen_timer ismdclock ismdcore ioctl_module intel_ce_pm clock_control idl_smartcard idl_spi idl_gpio idl_i2c sven_linux system_utils_linux platform_config pal_linux osal_linux
CPU: 0
EIP: 0060:[] Tainted: GF D VLI
EFLAGS: 00010086 (2.6.23 #1)
EIP is at __kmalloc_track_caller+0x3e/0xb0
eax: 00000000 ebx: ffffffff ecx: ffffffff edx: c1001440
esi: 00000282 edi: c0535004 ebp: 00000020 esp: c5cdfa20
ds: 007b es: 007b fs: 0000 gs: 0033 ss: 0068
Process cl_app (pid: 965, ti=c5cde000 task=c5d04000 task.ti=c5cde000)
Stack: c0359b42 c1128900 c92ab6c0 00000640 00000020 c0534b18 c0358ec7 00000000
00000020 c1181000 000005f2 000000a6 c0359b42 ffffffff 000a2012 00000000
c02ae947 0000ab04 0000aaec 0000aaec 00000046 00000046 00000010 c946d140
Call Trace:
[] __netdev_alloc_skb+0x22/0x50
[] __alloc_skb+0x57/0x120
[] __netdev_alloc_skb+0x22/0x50
[] e1000_alloc_rx_buffers+0x167/0x370
[] e1000_clean_rx_irq+0x2b0/0x4b0
[] e1000_intr+0x6e/0x130
[] handle_IRQ_event+0x25/0x60
[] handle_level_irq+0x6b/0xf0
[] do_IRQ+0x42/0x80
[] common_interrupt+0x23/0x28
[] __do_softirq+0x2d/0x90
[] do_softirq+0x26/0x30
[] irq_exit+0x35/0x40
[] do_IRQ+0x47/0x80
[] show_registers+0x1ac/0x350
[] common_interrupt+0x23/0x28
[] die+0x180/0x200
[] do_general_protection+0x0/0x280
[] error_code+0x6a/0x70
[] nfs_pagein_one+0x55/0xd0
[] nfs_pageio_doio+0x53/0x70
[] nfs_pageio_add_request+0x47/0xc0
[] readpage_async_filler+0x10a/0x190
[] read_cache_pages+0x8d/0xd0
[] readpage_async_filler+0x0/0x190
[] nfs_readpages+0xd8/0x1c0
[] nfs_pagein_one+0x0/0xd0
[] nfs_readpages+0x0/0x1c0
[] __do_page_cache_readahead+0x1d1/0x2e0
[] io_schedule+0xe/0x20
[] __wait_on_bit_lock+0x5b/0x70
[] ondemand_readahead+0xfb/0x120
[] page_cache_sync_readahead+0x2b/0x30
[] do_generic_mapping_read+0x28b/0x480
[] generic_file_aio_read+0xbd/0x1e0
[] file_read_actor+0x0/0x130
[] do_path_lookup+0x83/0x200
[] do_sync_read+0xc6/0x110
[] autoremove_wake_function+0x0/0x50
[] vfs_read+0xa1/0x130
[] do_sync_read+0x0/0x110
[] sys_read+0x41/0x70
[] sysenter_past_esp+0x5f/0x85
=======================
Code: 89 74 24 0c e8 d4 fe ff ff 89 c7 83 ff 10 76 31 9c 5e fa 8b 97 88 00 00 00 85 d2 74 38 8b 4a 0c 85 c9 74 31 8b 5a 0c 0f b7 42 0a 04 83 89 42 0c 56 9d 89 e8 25 00 80 00 00 66 85 c0 75 2f 89
EIP: [] __kmalloc_track_caller+0x3e/0xb0 SS:ESP 0068:c5cdfa20
Kernel panic - not syncing: Fatal exception in interrupt
请问各位知道该从何入手?谢谢。
|
看起来应该跟网络有关,估计在本地播放不会有问题
|
nfs_pageio_doio与__netdev_alloc_skb这两个函数值得跟踪调试下,跟内存相关。
|
估计是内存溢出问题,具体不清楚。
|
好好看看这个原因
|
楼主,对于kernel panic的信息,每次都不同,比较难定位问题。
换了新CPU出现的(同时文件系统和各种库也换了)。从新cpu, 文件系统,库方面着手吧。
换了新CPU出现的(同时文件系统和各种库也换了)。从新cpu, 文件系统,库方面着手吧。