From patchwork Mon Apr 18 22:40:44 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Meneghel Rodrigues X-Patchwork-Id: 716651 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p3IMf2qJ024696 for ; Mon, 18 Apr 2011 22:41:03 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753394Ab1DRWlA (ORCPT ); Mon, 18 Apr 2011 18:41:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:11666 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753381Ab1DRWk6 (ORCPT ); Mon, 18 Apr 2011 18:40:58 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p3IMevPq023744 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 18 Apr 2011 18:40:57 -0400 Received: from freedom.redhat.com (vpn-10-142.rdu.redhat.com [10.11.10.142]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p3IMemID003557; Mon, 18 Apr 2011 18:40:55 -0400 From: Lucas Meneghel Rodrigues To: autotest@test.kernel.org Cc: kvm@vger.kernel.org, Lucas Meneghel Rodrigues Subject: [PATCH 4/5] KVM test: Make OpenSUSE and SLES to use unattended_cdrom Date: Mon, 18 Apr 2011 19:40:44 -0300 Message-Id: <1303166445-17898-5-git-send-email-lmr@redhat.com> In-Reply-To: <1303166445-17898-1-git-send-email-lmr@redhat.com> References: <1303166445-17898-1-git-send-email-lmr@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 18 Apr 2011 22:41:03 +0000 (UTC) We had disabled unattended_cdrom usage with SLES and OpenSUSE due to the fact that autoyast=cdrom wasn't working properly to specify a profile. However, the interaction of the linux floppy driver with qemu-kvm and qemu tends to generate some pretty bad guest kernel panics, reason why we came up with unattended_cdrom for Fedora and RHEL in the first place. Thinkering a bit more with autoyast documentation, I've discovered that specifying autoyast=device://scd0/autoinst.xml works fine and so I've changed the default for both distros to use the CD again. Now, people will have a much smoother experience installing those distros under KVM autotest. Signed-off-by: Lucas Meneghel Rodrigues --- client/tests/kvm/tests_base.cfg.sample | 56 ++++++++++++++++---------------- 1 files changed, 28 insertions(+), 28 deletions(-) diff --git a/client/tests/kvm/tests_base.cfg.sample b/client/tests/kvm/tests_base.cfg.sample index fbe416e..5bee383 100644 --- a/client/tests/kvm/tests_base.cfg.sample +++ b/client/tests/kvm/tests_base.cfg.sample @@ -1294,8 +1294,8 @@ variants: unattended_install: # You have to use autoyast=floppy if you want to use floppies to # hold your autoyast file - extra_params += " --append 'autoyast=floppy console=ttyS0,115200 console=tty0'" - #extra_params += " --append 'autoyast=cdrom console=ttyS0,115200 console=tty0'" + #extra_params += " --append 'autoyast=floppy console=ttyS0,115200 console=tty0'" + extra_params += " --append 'autoyast=device://scd0/autoinst.xml console=ttyS0,115200 console=tty0'" wait_no_ack = yes variants: @@ -1308,8 +1308,8 @@ variants: md5sum_1m_cd1 = c720b30557af758e69de450409516369 unattended_install: unattended_file = unattended/OpenSUSE-11.xml - floppy = images/opensuse-11-0-32/autoyast.vfd - #cdrom_unattended = images/opensuse-11-0-32/autoyast.iso + #floppy = images/opensuse-11-0-32/autoyast.vfd + cdrom_unattended = images/opensuse-11-0-32/autoyast.iso kernel = images/opensuse-11-0-32/linux initrd = images/opensuse-11-0-32/initrd boot_path = boot/i386/loader @@ -1323,8 +1323,8 @@ variants: image_name = openSUSE-11.0-64 unattended_install: unattended_file = unattended/OpenSUSE-11.xml - floppy = images/opensuse-11-0-64/autoyast.vfd - #cdrom_unattended = images/opensuse-11-0-64/autoyast.iso + #floppy = images/opensuse-11-0-64/autoyast.vfd + cdrom_unattended = images/opensuse-11-0-64/autoyast.iso kernel = images/opensuse-11-0-64/linux initrd = images/opensuse-11-0-64/initrd boot_path = boot/x86_64/loader @@ -1342,8 +1342,8 @@ variants: md5sum_1m_cd1 = b70217417468389083429f81ba7ce2bd unattended_install: unattended_file = unattended/OpenSUSE-11.xml - floppy = images/opensuse-11-1-32/autoyast.vfd - #cdrom_unattended = images/opensuse-11-1-32/autoyast.iso + #floppy = images/opensuse-11-1-32/autoyast.vfd + cdrom_unattended = images/opensuse-11-1-32/autoyast.iso kernel = images/opensuse-11-1-32/linux initrd = images/opensuse-11-1-32/initrd boot_path = boot/i386/loader @@ -1361,8 +1361,8 @@ variants: md5sum_1m_cd1 = 768ca32503ef92c28f2d144f2a87e4d0 unattended_install: unattended_file = unattended/OpenSUSE-11.xml - floppy = images/opensuse-11-1-64/autoyast.vfd - #cdrom_unattended = images/opensuse-11-1-64/autoyast.iso + #floppy = images/opensuse-11-1-64/autoyast.vfd + cdrom_unattended = images/opensuse-11-1-64/autoyast.iso kernel = images/opensuse-11-1-64/linux initrd = images/opensuse-11-1-64/initrd boot_path = boot/x86_64/loader @@ -1376,8 +1376,8 @@ variants: image_name = openSUSE-11.2-32 unattended_install: unattended_file = unattended/OpenSUSE-11.xml - floppy = images/opensuse-11-2-32/autoyast.vfd - #cdrom_unattended = images/opensuse-11-2-32/autoyast.iso + #floppy = images/opensuse-11-2-32/autoyast.vfd + cdrom_unattended = images/opensuse-11-2-32/autoyast.iso kernel = images/opensuse-11-2-32/linux initrd = images/opensuse-11-2-32/initrd boot_path = boot/i386/loader @@ -1391,8 +1391,8 @@ variants: image_name = openSUSE-11.2-64 unattended_install: unattended_file = unattended/OpenSUSE-11.xml - floppy = images/opensuse11-2-64/autoyast.vfd - #cdrom_unattended = images/opensuse11-2-64/autoyast.iso + #floppy = images/opensuse11-2-64/autoyast.vfd + cdrom_unattended = images/opensuse11-2-64/autoyast.iso kernel = images/opensuse-11-2-64/linux initrd = images/opensuse-11-2-64/initrd boot_path = boot/x86_64/loader @@ -1405,8 +1405,8 @@ variants: image_name = openSUSE-11.3-32 unattended_install: unattended_file = unattended/OpenSUSE-11.xml - floppy = images/opensuse-11-3-32/autoyast.vfd - #cdrom_unattended = images/opensuse-11-3-32/autoyast.iso + #floppy = images/opensuse-11-3-32/autoyast.vfd + cdrom_unattended = images/opensuse-11-3-32/autoyast.iso kernel = images/opensuse-11-3-32/linux initrd = images/opensuse-11-3-32/initrd boot_path = boot/i386/loader @@ -1419,8 +1419,8 @@ variants: image_name = openSUSE-11.3-64 unattended_install: unattended_file = unattended/OpenSUSE-11.xml - floppy = images/opensuse-11-3-64/autoyast.vfd - #cdrom_unattended = images/opensuse-11-3-64/autoyast.iso + #floppy = images/opensuse-11-3-64/autoyast.vfd + cdrom_unattended = images/opensuse-11-3-64/autoyast.iso kernel = images/opensuse-11-3-64/linux initrd = images/opensuse-11-3-64/initrd boot_path = boot/x86_64/loader @@ -1434,8 +1434,8 @@ variants: unattended_install: # You have to use autoyast=floppy if you want to use floppies to # hold your autoyast file - extra_params += " --append 'autoyast=floppy console=ttyS0,115200 console=tty0'" - #extra_params += " --append 'autoyast=cdrom console=ttyS0,115200 console=tty0'" + #extra_params += " --append 'autoyast=floppy console=ttyS0,115200 console=tty0'" + extra_params += " --append 'autoyast=device://scd0/autoinst.xml console=ttyS0,115200 console=tty0'" kernel = linux initrd = initrd wait_no_ack = yes @@ -1445,8 +1445,8 @@ variants: image_name = sles11-32 unattended_install: unattended_file = unattended/SLES-11.xml - floppy = images/sles-11-0-32/autoyast.vfd - #cdrom_unattended = images/sles-11-0-32/autoyast.iso + #floppy = images/sles-11-0-32/autoyast.vfd + cdrom_unattended = images/sles-11-0-32/autoyast.iso kernel = images/sles-11-0-32/linux initrd = images/sles-11-0-32/initrd boot_path = boot/i386/loader @@ -1463,8 +1463,8 @@ variants: md5sum_1m_cd1 = 00000951cab7c32e332362fc424c1054 unattended_install: unattended_file = unattended/SLES-11.xml - floppy = images/sles-11-0-64/autoyast.vfd - #cdrom_unattended = images/sles-11-0-64/autoyast.iso + #floppy = images/sles-11-0-64/autoyast.vfd + cdrom_unattended = images/sles-11-0-64/autoyast.iso kernel = images/sles-11-0-64/linux initrd = images/sles-11-0-64/initrd boot_path = boot/x86_64/loader @@ -1478,8 +1478,8 @@ variants: image_name = sles11sp1-32 unattended_install: unattended_file = unattended/SLES-11.xml - floppy = images/sles-11-1-32/autoyast.vfd - #cdrom_unattended = images/sles-11-1-32/autoyast.iso + #floppy = images/sles-11-1-32/autoyast.vfd + cdrom_unattended = images/sles-11-1-32/autoyast.iso kernel = images/sles-11-1-32/linux initrd = images/sles-11-1-32/initrd boot_path = boot/i386/loader @@ -1492,8 +1492,8 @@ variants: image_name = sles11sp1-64 unattended_install: unattended_file = unattended/SLES-11.xml - floppy = images/sles-11-1-64/autoyast.vfd - #cdrom_unattended = images/sles-11-1-64/autoyast.iso + #floppy = images/sles-11-1-64/autoyast.vfd + cdrom_unattended = images/sles-11-1-64/autoyast.iso kernel = images/sles-11-1-64/linux initrd = images/sles-11-1-64/initrd boot_path = boot/x86_64/loader