From mboxrd@z Thu Jan 1 00:00:00 1970 From: robherring2@gmail.com (Rob Herring) Date: Tue, 29 May 2012 15:02:41 -0500 Subject: v3.4 boot failure on qemu-system-arm -M versatilepb In-Reply-To: References: Message-ID: <4FC52B61.2000604@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Adding linux-arm-kernel... On 05/28/2012 09:22 AM, takuo.koguchi.sw at hitachi.com wrote: > Hi, > > I found linux-3.4 kernel fails to mount the rootfs on > "qemu-system-arm -M versatile." > > Git bisect shows commit c334bc1 cause this first. > > So I tried to revert it by putting > arch/arm/mach-versatile/include/mach/io.h and adding select > NEED_MACH_IO_H in the section of ARCH_VERSATILE in arch/arm/Kconfig, > then the kernel can mount the rootfs. > > Can someone confirm and fix this? > What config are you using, and what is your kernel command line? Rob > Takuo Koguchi > > > ----------- Uncompressing Linux... done, booting the kernel. Booting > Linux on physical CPU 0 Initializing cgroup subsys cpuset > Initializing cgroup subsys cpu Linux version 3.4.0-yocto-standard > (koguchi at mg70k) (gcc version 4.5.2 (Sourcery G++ Lite 2011.03-41) ) > #37 PREEMPT Sun May 27 22:36:22 JST 2012 CPU: ARM926EJ-S [41069265] > revision 5 (ARMv5TEJ), cr=00093177 CPU: VIVT data cache, VIVT > instruction cache Machine: ARM-Versatile PB ... eth0: link up > IP-Config: Complete: device=eth0, addr=192.168.7.3, > mask=255.255.255.0, gw=192.168.7.1 host=192.168.7.3, domain=, > nis-domain=(none) bootserver=255.255.255.255, > rootserver=255.255.255.255, rootpath= input: AT Raw Set 2 keyboard as > /devices/fpga:06/serio0/input/input0 md: Skipping autodetection of > RAID arrays. (raid=autodetect will force) VFS: Cannot open root > device "0x0800" or unknown-block(8,0): error -6 Please append a > correct "root=" boot option; here are the available partitions: > Kernel panic - not syncing: VFS: Unable to mount root fs on > unknown-block(8,0) [] (unwind_backtrace+0x0/0xec) from > [] (dump_stack+0x20/0x24) [] > (dump_stack+0x20/0x24) from [] (panic+0x88/0x1c4) > [] (panic+0x88/0x1c4) from [] > (mount_block_root+0x240/0x290) [] > (mount_block_root+0x240/0x290) from [] > (mount_root+0x50/0x68) [] (mount_root+0x50/0x68) from > [] (prepare_namespace+0x170/0x1d0) [] > (prepare_namespace+0x170/0x1d0) from [] > (kernel_init+0x1bc/0x204) [] (kernel_init+0x1bc/0x204) from > [] (kernel_thread_exit+0x0/0x8) > > > > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755836Ab2E2UIs (ORCPT ); Tue, 29 May 2012 16:08:48 -0400 Received: from mail-gg0-f174.google.com ([209.85.161.174]:46835 "EHLO mail-gg0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755789Ab2E2UIH (ORCPT ); Tue, 29 May 2012 16:08:07 -0400 Message-ID: <4FC52B61.2000604@gmail.com> Date: Tue, 29 May 2012 15:02:41 -0500 From: Rob Herring User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: takuo.koguchi.sw@hitachi.com CC: linux-kernel@vger.kernel.org, linus.walleij@linaro.org, "linux-arm-kernel@lists.infradead.org" Subject: Re: v3.4 boot failure on qemu-system-arm -M versatilepb References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Adding linux-arm-kernel... On 05/28/2012 09:22 AM, takuo.koguchi.sw@hitachi.com wrote: > Hi, > > I found linux-3.4 kernel fails to mount the rootfs on > "qemu-system-arm -M versatile." > > Git bisect shows commit c334bc1 cause this first. > > So I tried to revert it by putting > arch/arm/mach-versatile/include/mach/io.h and adding select > NEED_MACH_IO_H in the section of ARCH_VERSATILE in arch/arm/Kconfig, > then the kernel can mount the rootfs. > > Can someone confirm and fix this? > What config are you using, and what is your kernel command line? Rob > Takuo Koguchi > > > ----------- Uncompressing Linux... done, booting the kernel. Booting > Linux on physical CPU 0 Initializing cgroup subsys cpuset > Initializing cgroup subsys cpu Linux version 3.4.0-yocto-standard > (koguchi@mg70k) (gcc version 4.5.2 (Sourcery G++ Lite 2011.03-41) ) > #37 PREEMPT Sun May 27 22:36:22 JST 2012 CPU: ARM926EJ-S [41069265] > revision 5 (ARMv5TEJ), cr=00093177 CPU: VIVT data cache, VIVT > instruction cache Machine: ARM-Versatile PB ... eth0: link up > IP-Config: Complete: device=eth0, addr=192.168.7.3, > mask=255.255.255.0, gw=192.168.7.1 host=192.168.7.3, domain=, > nis-domain=(none) bootserver=255.255.255.255, > rootserver=255.255.255.255, rootpath= input: AT Raw Set 2 keyboard as > /devices/fpga:06/serio0/input/input0 md: Skipping autodetection of > RAID arrays. (raid=autodetect will force) VFS: Cannot open root > device "0x0800" or unknown-block(8,0): error -6 Please append a > correct "root=" boot option; here are the available partitions: > Kernel panic - not syncing: VFS: Unable to mount root fs on > unknown-block(8,0) [] (unwind_backtrace+0x0/0xec) from > [] (dump_stack+0x20/0x24) [] > (dump_stack+0x20/0x24) from [] (panic+0x88/0x1c4) > [] (panic+0x88/0x1c4) from [] > (mount_block_root+0x240/0x290) [] > (mount_block_root+0x240/0x290) from [] > (mount_root+0x50/0x68) [] (mount_root+0x50/0x68) from > [] (prepare_namespace+0x170/0x1d0) [] > (prepare_namespace+0x170/0x1d0) from [] > (kernel_init+0x1bc/0x204) [] (kernel_init+0x1bc/0x204) from > [] (kernel_thread_exit+0x0/0x8) > > > >