From: Ye Xiaolong <xiaolong.ye@intel.com>
To: lkp@lists.01.org
Subject: Re: [ASoC] 91c1832579: BUG: unable to handle kernel NULL pointer dereference
Date: Fri, 08 Jul 2016 10:42:33 +0800 [thread overview]
Message-ID: <20160708024233.GG31459@yexl-desktop> (raw)
In-Reply-To: <20160708023741.GF31459@yexl-desktop>
[-- Attachment #1: Type: text/plain, Size: 13160 bytes --]
On Fri, Jul 08, 2016 at 10:37:41AM +0800, Ye Xiaolong wrote:
>On Fri, Jul 08, 2016 at 09:06:58AM +0800, Patel, Vedang wrote:
>>Hi Xialong.
>>
>>Is it possible for you try the attached change and see if you are still
>>able to reproduce the issue?
>>
>
>Hi, Patel
>
>Tried 3-times boot test with your fix patch applied on 91c18325 ("ASoC: Intel:
>Skylake: Increase loglevel of debug messages."), no kernel panic found.
>
Attached the dmesg for the test.
>Tested-by: Ye Xiaolong <xiaolong.ye@intel.com>
>
>Thanks,
>Xiaolong
>
>>Thanks,
>>Vedang
>>
>>On Wed, 2016-07-06 at 18:52 -0700, Patel, Vedang wrote:
>>> Can you send me your test setup to reproduce the bug? In the command
>>> you send, there seem to be some arguments pointing to files on the
>>> subsystem. (like initrd.)
>>>
>>> It will be helpful if I can replicate exactly what you did.
>>>
>>> Thanks,
>>> Vedang
>>>
>>> On Thu, 2016-06-30 at 09:57 +0800, kernel test robot wrote:
>>> >
>>> > FYI, we noticed the following commit:
>>> >
>>> > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>>> > master
>>> > commit 91c1832579700891747820862633f9a8d0d81fa4 ("ASoC: Intel:
>>> > Skylake: Increase loglevel of debug messages.")
>>> >
>>> > in testcase: boot
>>> >
>>> > on test machine: 1 threads qemu-system-i386 -enable-kvm with 360M
>>> > memory
>>> >
>>> > caused below changes:
>>> >
>>> >
>>> > +------------------------------------------------------------+-----
>>> > --
>>> > -----+------------+
>>> > >
>>> > >
>>> > > |
>>> > > ef06b6f391 | 91c1832579 |
>>> > +------------------------------------------------------------+-----
>>> > --
>>> > -----+------------+
>>> > >
>>> > >
>>> > > boot_successes |
>>> > > 0 | 0 |
>>> > > boot_failures |
>>> > > 14 | 14 |
>>> > > genirq:Flags_mismatch_irq##(serial)vs.#(goldfish_pdev_bus) |
>>> > > 14 | |
>>> > > invoked_oom-killer:gfp_mask=0x |
>>> > > 1 | |
>>> > > Mem-Info |
>>> > > 1 | |
>>> > > Out_of_memory:Kill_process |
>>> > > 1 | |
>>> > > backtrace:do_writev |
>>> > > 1 | |
>>> > > backtrace:SyS_writev |
>>> > > 1 | |
>>> > > backtrace:vfs_write |
>>> > > 1 | |
>>> > > backtrace:SyS_write |
>>> > > 1 | |
>>> > > BUG:unable_to_handle_kernel |
>>> > > 0 | 14 |
>>> > > Oops:#[##] |
>>> > > 0 | 14 |
>>> > > EIP_is_at_strlen |
>>> > > 0 | 14 |
>>> > > Kernel_panic-not_syncing:Fatal_exception |
>>> > > 0 | 14 |
>>> > > backtrace:dynamic_debug_init |
>>> > > 0 | 14 |
>>> > > backtrace:kernel_init_freeable |
>>> > > 0 | 14 |
>>> > +------------------------------------------------------------+-----
>>> > --
>>> > -----+------------+
>>> >
>>> >
>>> >
>>> > [ 0.291679] Performance Events:
>>> > [ 0.291679] Performance Events: Broken PMU hardware detected,
>>> > using software events only.
>>> > Broken PMU hardware detected, using software events only.
>>> > [ 0.309122] BUG: unable to handle kernel
>>> > [ 0.309122] BUG: unable to handle kernel NULL pointer
>>> > dereferenceNULL pointer dereference at (null)
>>> > at (null)
>>> > [ 0.310586] IP:
>>> > [ 0.310586] IP: [<c131a701>] strlen+0xb/0x17
>>> > [<c131a701>] strlen+0xb/0x17
>>> > [ 0.311438] *pdpt = 0000000000000000
>>> > [ 0.311438] *pdpt = 0000000000000000 *pde = f000ff53f000ff53
>>> > *pde
>>> > = f000ff53f000ff53
>>> >
>>> > [ 0.312549] Oops: 0000 [#1]
>>> > [ 0.312549] Oops: 0000 [#1]
>>> > [ 0.313064] CPU: 0 PID: 1 Comm: swapper Not tainted 4.7.0-rc1-
>>> > 00046-g91c1832 #1
>>> > [ 0.313064] CPU: 0 PID: 1 Comm: swapper Not tainted 4.7.0-rc1-
>>> > 00046-g91c1832 #1
>>> > [ 0.314469] Hardware name: QEMU Standard PC (i440FX + PIIX,
>>> > 1996),
>>> > BIOS Debian-1.8.2-1 04/01/2014
>>> > [ 0.314469] Hardware name: QEMU Standard PC (i440FX + PIIX,
>>> > 1996),
>>> > BIOS Debian-1.8.2-1 04/01/2014
>>> > [ 0.316115] task: c0058040 ti: c004e000 task.ti: c004e000
>>> > [ 0.316115] task: c0058040 ti: c004e000 task.ti: c004e000
>>> > [ 0.317110] EIP: 0060:[<c131a701>] EFLAGS: 00210246 CPU: 0
>>> > [ 0.317110] EIP: 0060:[<c131a701>] EFLAGS: 00210246 CPU: 0
>>> > [ 0.318160] EIP is at strlen+0xb/0x17
>>> > [ 0.318160] EIP is at strlen+0xb/0x17
>>> > [ 0.318866] EAX: 00000000 EBX: c21facc0 ECX: ffffffff EDX:
>>> > c20bc808
>>> > [ 0.318866] EAX: 00000000 EBX: c21facc0 ECX: ffffffff EDX:
>>> > c20bc808
>>> > [ 0.320029] ESI: 00000004 EDI: 00000000 EBP: c004ff00 ESP:
>>> > c004fefc
>>> > [ 0.320029] ESI: 00000004 EDI: 00000000 EBP: c004ff00 ESP:
>>> > c004fefc
>>> > [ 0.321264] DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068
>>> > [ 0.321264] DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068
>>> > [ 0.322264] CR0: 80050033 CR2: 00000000 CR3: 022a1000 CR4:
>>> > 000006b0
>>> > [ 0.322264] CR0: 80050033 CR2: 00000000 CR3: 022a1000 CR4:
>>> > 000006b0
>>> > [ 0.323471] Stack:
>>> > [ 0.323471] Stack:
>>> > [ 0.323861] 0000003a
>>> > [ 0.323861] 0000003a c004ff2c c004ff2c c2225b46 c2225b46
>>> > c20bc808
>>> > c20bc808 00000024 00000024 00001aa5 00001aa5 000adc33 000adc33
>>> > 00000256 00000256
>>> >
>>> > [ 0.325492] c21fac60
>>> > [ 0.325492] c21fac60 c2225abd c2225abd ffffffff ffffffff
>>> > 00000000
>>> > 00000000 c004ff8c c004ff8c c2201c4f c2201c4f 7fffffff 7fffffff
>>> > c2250884 c2250884
>>> >
>>> > [ 0.327033] c0058000
>>> > [ 0.327033] c0058000 7fffffff 7fffffff c004ff4c c004ff4c
>>> > c1ad6a4b
>>> > c1ad6a4b c004ff80 c004ff80 c1ad4825 c1ad4825 00000000 00000000
>>> > c1ad61f2 c1ad61f2
>>> >
>>> > [ 0.328680] Call Trace:
>>> > [ 0.328680] Call Trace:
>>> > [ 0.329134] [<c2225b46>] dynamic_debug_init+0x89/0x1ee
>>> > [ 0.329134] [<c2225b46>] dynamic_debug_init+0x89/0x1ee
>>> > [ 0.330100] [<c2225abd>] ? dynamic_debug_init_debugfs+0x5f/0x5f
>>> > [ 0.330100] [<c2225abd>] ? dynamic_debug_init_debugfs+0x5f/0x5f
>>> > [ 0.331237] [<c2201c4f>] do_one_initcall+0x89/0x112
>>> > [ 0.331237] [<c2201c4f>] do_one_initcall+0x89/0x112
>>> > [ 0.332161] [<c1ad6a4b>] ? _raw_spin_unlock_irq+0xd/0x15
>>> > [ 0.332161] [<c1ad6a4b>] ? _raw_spin_unlock_irq+0xd/0x15
>>> > [ 0.333158] [<c1ad4825>] ? __wait_for_common+0xed/0xf7
>>> > [ 0.333158] [<c1ad4825>] ? __wait_for_common+0xed/0xf7
>>> > [ 0.334158] [<c1ad61f2>] ?
>>> > console_conditional_schedule+0x24/0x24
>>> > [ 0.334158] [<c1ad61f2>] ?
>>> > console_conditional_schedule+0x24/0x24
>>> > [ 0.335303] [<c2201d1e>] kernel_init_freeable+0x46/0x165
>>> > [ 0.335303] [<c2201d1e>] kernel_init_freeable+0x46/0x165
>>> > [ 0.336383] [<c1ad2e5d>] kernel_init+0x8/0xcb
>>> > [ 0.336383] [<c1ad2e5d>] kernel_init+0x8/0xcb
>>> > [ 0.337209] [<c1ad6c62>] ret_from_kernel_thread+0xe/0x24
>>> > [ 0.337209] [<c1ad6c62>] ret_from_kernel_thread+0xe/0x24
>>> > [ 0.338236] [<c1ad2e55>] ? rest_init+0x65/0x65
>>> > [ 0.338236] [<c1ad2e55>] ? rest_init+0x65/0x65
>>> > [ 0.339151] Code:
>>> > [ 0.339151] Code: 5d 5d c3 c3 55 55 89 89 e5 e5 56 56 89 89 c6
>>> > c6
>>> > 89 89 d0 d0 88 88 c4 c4 ac ac 38 38 e0 e0 74 74 09 09 84 84 c0 c0
>>> > 75
>>> > 75 f7 f7 be be 01 01 00 00 00 00 00 00 89 89 f0 f0 48 48 5e 5e 5d
>>> > 5d
>>> > c3 c3 55 55 83 83 c9 c9 ff ff 89 89 e5 e5 57 57 89 89 c7 c7 31 31
>>> > c0
>>> > c0 <f2> <f2> ae ae 5f 5f b8 b8 fe fe ff ff ff ff ff ff 29 29 c8 c8
>>> > 5d
>>> > 5d c3 c3 85 85 c9 c9 74 74 16 16 55 55 89 89 e5 e5 57 57 89 89
>>> >
>>> > [ 0.343525] EIP: [<c131a701>]
>>> > [ 0.343525] EIP: [<c131a701>] strlen+0xb/0x17strlen+0xb/0x17
>>> > SS:ESP 0068:c004fefc
>>> > SS:ESP 0068:c004fefc
>>> > [ 0.344739] CR2: 0000000000000000
>>> > [ 0.344739] CR2: 0000000000000000
>>> > [ 0.345342] ---[ end trace 04f806a67a86eccc ]---
>>> > [ 0.345342] ---[ end trace 04f806a67a86eccc ]---
>>> >
>>> >
>>> > FYI, raw QEMU command line is:
>>> >
>>> > qemu-system-i386 -enable-kvm -kernel /pkg/linux/i386-
>>> > randconfig-c0-06280858/gcc-
>>> > 6/91c1832579700891747820862633f9a8d0d81fa4/vmlinuz-4.7.0-rc1-00046-
>>> > g91c1832 -append 'root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-
>>> > lkp-
>>> > wsx03-quantal-i386-3/rand_boot-1-quantal-core-i386.cgz-i386-
>>> > randconfig-c0-06280858-91c1832579700891747820862633f9a8d0d81fa4-
>>> > 20160628-92876-1qu8nei-0.yaml ARCH=i386 kconfig=i386-randconfig-c0-
>>> > 06280858 branch=linux-devel/devel-hourly-2016062804
>>> > commit=91c1832579700891747820862633f9a8d0d81fa4
>>> > BOOT_IMAGE=/pkg/linux/i386-randconfig-c0-06280858/gcc-
>>> > 6/91c1832579700891747820862633f9a8d0d81fa4/vmlinuz-4.7.0-rc1-00046-
>>> > g91c1832 max_uptime=600 RESULT_ROOT=/result/boot/1/vm-lkp-wsx03-
>>> > quantal-i386/quantal-core-i386.cgz/i386-randconfig-c0-06280858/gcc-
>>> > 6/91c1832579700891747820862633f9a8d0d81fa4/0 LKP_SERVER=inn
>>> > earlyprintk=ttyS0,115200 systemd.log_level=err debug apic=debug
>>> > sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 panic=-1
>>> > softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2
>>> > prompt_ramdisk=0 console=ttyS0,115200 console=tty0 vga=normal rw
>>> > ip=::::vm-lkp-wsx03-quantal-i386-3::dhcp drbd.minor_count=8' -
>>> > initrd
>>> > /fs/sdc1/initrd-vm-lkp-wsx03-quantal-i386-3 -m 360 -smp 1 -device
>>> > e1000,netdev=net0 -netdev user,id=net0 -boot order=nc -no-reboot
>>> > -watchdog i6300esb -rtc base=localtime -pidfile /dev/shm/kboot/pid-
>>> > vm-lkp-wsx03-quantal-i386-3 -serial file:/dev/shm/kboot/serial-vm-
>>> > lkp-wsx03-quantal-i386-3 -daemonize -display none -monitor null
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > Thanks,
>>> > Xiaolong
>
>>From 8602d6c24a0159be050849aa934ac18f8d13fef3 Mon Sep 17 00:00:00 2001
>>From: Vedang Patel <vedang.patel@intel.com>
>>Date: Thu, 7 Jul 2016 17:38:44 -0700
>>Subject: [PATCH] ASoC: Intel: Skylake: Fix error while dynamic debug.
>>
>>Change-Id: I1e99896a0de5576d8eccdce4dbd666f05b4263ea
>>---
>> sound/soc/intel/skylake/skl-sst-ipc.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>>diff --git a/sound/soc/intel/skylake/skl-sst-ipc.c b/sound/soc/intel/skylake/skl-sst-ipc.c
>>index c141f24..96f2f68 100644
>>--- a/sound/soc/intel/skylake/skl-sst-ipc.c
>>+++ b/sound/soc/intel/skylake/skl-sst-ipc.c
>>@@ -692,7 +692,7 @@ int skl_ipc_init_instance(struct sst_generic_ipc *ipc,
>> /* param_block_size must be in dwords */
>> u16 param_block_size = msg->param_data_size / sizeof(u32);
>>
>>- print_hex_dump_debug(NULL, DUMP_PREFIX_NONE,
>>+ print_hex_dump_debug("Param data:", DUMP_PREFIX_NONE,
>> 16, 4, buffer, param_block_size, false);
>>
>> header.primary = IPC_MSG_TARGET(IPC_MOD_MSG);
>>--
>>2.8.2
>>
>
>_______________________________________________
>LKP mailing list
>LKP(a)lists.01.org
>https://lists.01.org/mailman/listinfo/lkp
[-- Attachment #2: dmesg.xz --]
[-- Type: application/octet-stream, Size: 15172 bytes --]
next prev parent reply other threads:[~2016-07-08 2:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1467940018.15837.23.camel@intel.com>
2016-07-08 2:37 ` [ASoC] 91c1832579: BUG: unable to handle kernel NULL pointer dereference Ye Xiaolong
2016-07-08 2:42 ` Ye Xiaolong [this message]
2016-07-08 18:21 ` Patel, Vedang
2016-06-30 1:57 kernel test robot
2016-06-30 12:26 ` Mark Brown
2016-06-30 12:55 ` Ye Xiaolong
2016-07-01 9:50 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160708024233.GG31459@yexl-desktop \
--to=xiaolong.ye@intel.com \
--cc=lkp@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.