Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764408AbXKOLcx (ORCPT ); Thu, 15 Nov 2007 06:32:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1765372AbXKOLcn (ORCPT ); Thu, 15 Nov 2007 06:32:43 -0500 Received: from mtagate5.de.ibm.com ([195.212.29.154]:63124 "EHLO mtagate5.de.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1765247AbXKOLcm (ORCPT ); Thu, 15 Nov 2007 06:32:42 -0500 Message-ID: <473C2D30.4070309@fr.ibm.com> Date: Thu, 15 Nov 2007 12:27:44 +0100 From: Daniel Lezcano User-Agent: Thunderbird 2.0.0.5 (X11/20070727) MIME-Version: 1.0 To: Alexey Dobriyan CC: Linux Kernel Mailing List , gregkh@suse.de Subject: Re: [2.6.24-rc2-git5] kernel panic when config_sysfs = n References: <473C2854.90305@fr.ibm.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1223 Lines: 32 Alexey Dobriyan wrote: > On 11/15/07, Daniel Lezcano wrote: >> When I tryed to boot with qemu a 2.6.24-rc2-git5 with sysfs disabled, >> the boot fails when trying to mount root partition: >> >> "VFS: Cannot open root device "hda2" or unknown-block(0,0) >> Please append a correct "root=" boot option; here are the available >> partitions: >> 0300 2097152 hda0300 2097152 hda driver: ide-disk >> driver: ide-disk >> 0301 257008 hda1 >> 0302 1839442 hda2 >> 1600 4194302 hdc1600 4194302 hdc driver: ide-cdrom >> driver: ide-cdrom >> Kernel panic - not syncing: VFS: Unable to mount root fs on >> unknown-block(0,0)" > > From CONFIG_SYSFS help text: > > sysfs is currently used by the block subsystem to mount the root > partition. If sysfs is disabled you must specify the boot device on > the kernel boot command line via its major and minor numbers. For > example, "root=03:01" for /dev/hda1. Shame on me :) Thanks a lot. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/