From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Bareiro Subject: Re: Problem booting guest with Linux 2.6.3x Date: Wed, 7 Oct 2009 07:23:39 -0300 Message-ID: <20091007102339.GA32373@defiant.freesoftware.org> References: <20091007022454.GA17404@defiant.freesoftware.org> <7162ab20910062140w70fad142tabd301a35368ff5d@mail.gmail.com> Reply-To: dbareiro@gmx.net Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3V7upXqbjpZ4EhLz" To: KVM General Return-path: Received: from mail.gmx.net ([213.165.64.20]:35980 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1755610AbZJGKYb (ORCPT ); Wed, 7 Oct 2009 06:24:31 -0400 Received: from defiant (defiant.freesoftware.org [10.1.0.65]) by hermes.freesoftware.org (Postfix) with ESMTP id 7D8BF9D4 for ; Wed, 7 Oct 2009 07:23:35 -0300 (ART) Content-Disposition: inline In-Reply-To: <7162ab20910062140w70fad142tabd301a35368ff5d@mail.gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Alex. On Tuesday, 06 October 2009 22:40:11 -0600, Alex Williamson wrote: > > root =A0(hd0,1) > > =A0Filesystem type is ext2fs, partition type 0x83 > > kernel =A0/boot/vmlinuz-2.6.31.2-dgb root=3D/dev/hda2 ro quiet console= =3Dtty0 console > > =3DttyS0,38400n8 > > =A0 [Linux-bzImage, setup=3D0x3600, size=3D0x203480] > > initrd =A0/boot/initrd.img-2.6.31.2-dgb > > =A0 [Linux-initrd @ 0x1f983000, 0x65c455 bytes] > > > > Loading, please wait... > > WARNING bootdevice may be renamed. Try root=3D/dev/sda2 =20 > I think if you boot without the "quiet" option you'll see that your > guest IDE disk did in fact get installed as /dev/sda and following the > advice of the error message above will allow you to boot the guest. I'm using the option "quiet" with both stock kernel and the kernel compiled by myself. > You could boot using the uuid of the partition or label the filesystem > to avoid device naming issues between your original lenny kernel and > the newer kernel. I was trying changing the not swap devices to the uuid form. Although in this case the swap device was not detected, the guest boots without majors problems. I think that being used the QEMU_HARDDISK names provided by udevinfo would have been solved this problem. But according to it seems, I could verify that the disks that are passed with -hdX in KVM-88 are mapped in 2.6.31.2 guests like SATA/SCSI devices. With Linux stock 2.6.26 these are mapped like IDE disks. Can it be due to some change in the kernel code related with KVM? Thanks for your reply. Regards, Daniel --=20 Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Squeeze - Linux user #188.598 --3V7upXqbjpZ4EhLz Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkrMbCsACgkQZpa/GxTmHTd1VwCdG5P4Kq4aWN2UKgYgK8C7itJi bQUAn14fb6zcpdl2DOmDLLiw31O4uMev =oyW3 -----END PGP SIGNATURE----- --3V7upXqbjpZ4EhLz--