From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754213Ab0IRB1O (ORCPT ); Fri, 17 Sep 2010 21:27:14 -0400 Received: from skyboo.net ([82.160.187.4]:54841 "EHLO skyboo.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1753157Ab0IRB1N (ORCPT ); Fri, 17 Sep 2010 21:27:13 -0400 X-Greylist: delayed 2054 seconds by postgrey-1.27 at vger.kernel.org; Fri, 17 Sep 2010 21:27:13 EDT Message-ID: <4C940D5C.4090408@skyboo.net> Date: Sat, 18 Sep 2010 02:52:44 +0200 From: manio User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100620 Icedove/3.0.5 MIME-Version: 1.0 To: linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:470:1f0b:1af:f000::2 X-SA-Exim-Mail-From: manio@skyboo.net Subject: PROBLEM: GPT partition table + RAID: kernel could not load init while root filesystem is mounted X-SA-Exim-Version: 4.2.1 (built Mon, 22 Mar 2010 06:26:47 +0000) X-SA-Exim-Scanned: Yes (on skyboo.net) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello I am trying to migrate from old root filesystem (linux raid1 on disks with msdos partition table) to new (4K sector) disks with GPT partition table (also raid1). I am using raid autodetection (i have superblock v0.90 on all raid devices) and i am passing /dev/mdX as a root device to the kernel. When i am passing root=/dev/md10 (old disks with msdos partition tables) booting process is fine (i am pasting relevant info): [ 6.695241] raid1: raid set md10 active with 2 out of 2 mirrors [ 6.695280] md10: detected capacity change from 0 to 6999572480 [ 6.695332] md: ... autorun DONE. [ 6.695407] md10: unknown partition table [ 6.696236] EXT3-fs (md10): error: couldn't mount because of unsupported optional features (240) [ 6.696508] EXT2-fs (md10): error: couldn't mount because of unsupported optional features (240) [ 6.743086] EXT4-fs (md10): mounted filesystem with ordered data mode [ 6.743185] VFS: Mounted root (ext4 filesystem) readonly on device 9:10. [ 6.743227] Freeing unused kernel memory: 424k freed ..... now comes INIT - and it boots correctly BUT (!) the problem is when i am trying to pass root=/dev/md0 (raid1 on new disks with GPT partition tables). Then it seems like kernel cannot run /sbin/init from my ext4 root partition. The root filesystem seems to be mounted OK: md: ... autorun DONE. md0: unknown partition table EXT3-fs (md0): error: couldn't mount because of unsupported optional features (240) EXT2-fs (md0): error: couldn't mount because of unsupported optional features (240) EXT4-fs (md0): mounted filesystem with ordered data mode VFS: Mounted root (ext4 filesystem) readonly on device 9:0. Freeing unused kernel memory: 424k freed ..... now there is some USB init debug info and it stop :( /sbin/init is not launched and it seems like the kernel hung :( i was waiting several minutes then - and nothing happend. If you would like to see how the boot process look like from the grub to the kernel hung (filmed with my digital camera) then download this: http://manio.skyboo.net/kernel-gpt-init-problem.avi please help me - any tips are welcome best regards, -- Mariusz Bialonczyk jabber/e-mail: manio@skyboo.net http://manio.skyboo.net