From mboxrd@z Thu Jan 1 00:00:00 1970 From: "S. Gilles" Subject: Re: [BUG] Boot failure since df9bcc2bc on veyron_speedy Date: Mon, 9 Jan 2017 09:49:37 -0500 Message-ID: <20170109144937.GC13205@number18.npnth.net> References: <20170109141955.GB13205@number18.npnth.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: <20170109141955.GB13205@number18.npnth.net> Sender: linux-kernel-owner@vger.kernel.org To: Jaehoon Chung , Ulf Hansson , Joonyoung Shim , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: linux-mmc@vger.kernel.org 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. 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. -- S. Gilles