From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965321AbdAJAsV (ORCPT ); Mon, 9 Jan 2017 19:48:21 -0500 Received: from lucky1.263xmail.com ([211.157.147.131]:56811 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964855AbdAJAsS (ORCPT ); Mon, 9 Jan 2017 19:48:18 -0500 X-263anti-spam: KSV:0;BIG:0; X-MAIL-GRAY: 1 X-MAIL-DELIVERY: 0 X-KSVirus-check: 0 X-ADDR-CHECKED4: 1 X-ABS-CHECKED: 1 X-SKE-CHECKED: 1 X-RL-SENDER: shawn.lin@rock-chips.com X-FST-TO: linux-kernel@vger.kernel.org X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: shawn.lin@rock-chips.com X-UNIQUE-TAG: X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 Subject: Re: [BUG] Boot failure since df9bcc2bc on veyron_speedy To: "S. Gilles" , Jaehoon Chung , Ulf Hansson , Joonyoung Shim , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org References: <20170109141955.GB13205@number18.npnth.net> <20170109144937.GC13205@number18.npnth.net> From: Shawn Lin Message-ID: Date: Tue, 10 Jan 2017 08:47:16 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <20170109144937.GC13205@number18.npnth.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi On 2017/1/9 22:49, S. Gilles wrote: > On 2017-01-09T09:19:55-0500, S. Gilles wrote: >> Hi, >> >> I have a C201, a veyron_speedy device (which uses rk3288) running vanilla >> kernels. With recent kernels it will fail to boot (screen is on, with >> blinking cursor, but no login prompt and the machine does not respond >> over ssh). >> >> I've bisected this to df9bcc2bc0a1f8d2963bd916698268fb2470713b, and >> reverting that commit on -mainline gives me a bootable kernel. I can >> provide more information as needed. > The fix is on the way, https://patchwork.kernel.org/patch/9498527/ > As I was writing that, I let it sit in the non-booting state for longer > than usual. After about 6 minutes, I got panic output, which I hadn't > observed before. I've transcribed it by hand, so there may be typos. > > ... > 1f40: 60000013 ffffffff > [] (__irq_svc) from [] (arch_cpu_idle+0x2c/0x48) > [] (arch_cpu_idle) from [] (default_idle_call+0x38/0x3c) > [] (default_idle_call) from [] (do_idle+0x108/0x1e4) > [] (do_idle) from [] (cpu_startup_entry+0x28/0x2c) > [] (cpu_startup_entry) from [] (rest_init+0x70/0x88) > [] (rest_init) from [] (start_kernel+0x374/0x3f8) > [] (start_kernel) from [<0000807c>] (0x807c) > CPU1: stopping > CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.10.0-rc2-EXPERIMENTAL+ #17 > Hardware name: Rockchip (Device Tree) > [] (unwind_backtrace) from [] (show_stack+0x20/0x24) > [] (show_stack) from [] (dump_stack+0x84/0xa0) > [] (dump_stack) from [] (handle_IPI+0x1c0/0x298) > [] (handle_IPI) from [] (gic_handle_irq+0x88/0xa4) > [] (gic_handle_irq) from [] (__irq_svc+0x6c/0x90) > Exception stack(0xed93bf40 to 0xed93bf88) > bf40: 00000001 00000000 00000000 c011bde0 00000000 00000000 c0b8efd0 c0c942c0 > bf60: 0000406a 410fc0d1 00000000 ed93bf9c ed93bfa0 ed93bf90 c0108424 c0108414 > bf80: 60000013 ffffffff > [] (__irq_svc) from [] (arch_cpu_idle+0x2c/0x48) > [] (arch_cpu_idle) from [] (default_idle_call+0x38/0x3c) > [] (default_idle_call) from [] (do_idle+0x108/0x1e4) > [] (do_idle) from [ [] (cpu_startup_entry) from [] (secondary_start_kernel+0x114/0x134) > [] (secondary_start_kernel) from [<001018cc>] (0x1018cc) > BUG: spinlock bad magic on CPU#2, khungtaskd/33 > lock: 0xeda23a98, .magic: 00000000, .owner: /-1, .owner_cpu: 0 > CPU: 2 PID: 33 Comm: khungtaskd Not tainted 4.10-rc2-EXPERIMENTAL+ #17 > Hardware name: Rockchip (Device Tree) > [] (unwind_backtrace) from [] (show_stack+0x20/0x24) > [] (show_stack) from [] (dump_stack+0x84/0xa0) > [] (dump_stack) from [] (spin_dump+0x8c/0xa0) > [] (spin_dump) from [] (spin_bug+0x34/0x38) > [] (spin_bug) from [] (do_raw_spin_lock+0x30/0x1ac) > [] (do_raw_spin_lock) from [] (_raw_spin_lock_irqsave+0x20/0x298) > [] (_raw_spin_lock_irqsave) from [] (buffer_size_add+0x34/0x74) > [] (buffer_size_add) from [] (persistent_ram_write+0x34/0xc0) > [] (persistent_ram_write) from [] (ramoops_pstore_write_buf+0x1ac/0x228) > [] (ramoops_pstore_write_buf) from [] (pstore_write_compat+0x48/0x55) > [] (pstore_write_compat) from [] (pstore_dump+0x234/0x29c) > [] (pstore_dump) from [] (kmsg_dump+0xb4/0xcc) > [] (kmsg_dump) from [] (panic+0x114/0x26c) > [] (panic) from [] (watchdog+0x36c/0x3ac) > [] (watchdog) from [] (kthread+0x134/0x14c) > [] (kthread) from [] (ret_from_fork+0x14/0x3c) > ---[ end Kernel panic - not syncing: hung_task: blocked tasks > > Hopefully this is helpful. > -- Best Regards Shawn Lin