RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 691660 - RHEL 6.1 32 bit guest report unsupported hardware during install from url and nfs in AMD host when smp > 1
Summary: RHEL 6.1 32 bit guest report unsupported hardware during install from url and...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.1
Hardware: i386
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Eduardo Habkost
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: Rhel6KvmTier1 833129
TreeView+ depends on / blocked
 
Reported: 2011-03-29 08:06 UTC by Joy Pu
Modified: 2013-05-21 18:26 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-21 18:26:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screen 0 (14.01 KB, image/png)
2011-03-29 08:08 UTC, Joy Pu
no flags Details
info from other console 3 (25.95 KB, image/png)
2011-03-29 08:09 UTC, Joy Pu
no flags Details
info from other consoel: 4 (25.08 KB, image/png)
2011-03-29 08:10 UTC, Joy Pu
no flags Details

Description Joy Pu 2011-03-29 08:06:43 UTC
Description:
In RHEL 6.1 system, RHEL 6.1 32bit guest will report "This hardware (or a combination thereof) is not supported by Red Hat" while install form url or nfs. If install with -smp 1 or in Intel host, it will works fine.
Version-Release number of selected component (if applicable):
2.6.32-125.el6.x86_64
qemu-kvm:
rpm -qa |grep qemu
qemu-kvm-debuginfo-0.12.1.2-2.152.el6.x86_64
qemu-img-0.12.1.2-2.152.el6.x86_64
gpxe-roms-qemu-0.9.7-6.7.el6.noarch
qemu-kvm-tools-0.12.1.2-2.152.el6.x86_64
qemu-kvm-0.12.1.2-2.152.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1.Set up the env
#/usr/sbin/brctl addbr vbr0; \
#echo 1 > /proc/sys/net/ipv6/conf/vbr0/disable_ipv6; \
#echo 1 > /proc/sys/net/ipv4/ip_forward; \
#/usr/sbin/brctl stp vbr0 on; \
#/usr/sbin/brctl setfd vbr0 0; \
#ifconfig vbr0 192.168.58.1; \
#ifconfig vbr0 up; \
#iptables -t nat -A POSTROUTING \
-s 192.168.58.254/24 ! -d 192.168.58.254/24 -j MASQUERADE;
#dnsmasq --strict-order --bind-interfaces \
--listen-address 192.168.58.1 \
--dhcp-range 192.168.58.2,192.168.58.254 \
--enable-tftp --tftp-root /home/tests/kvm/images/tftpboot \
--dhcp-boot pxelinux.0 --dhcp-no-override

2. get the vmlinuz and initrd file from nfs or url
url we use: http://download.englab.nay.redhat.com/pub/rhel/rel-eng/RHEL6.1-20110317.1/

2.install guest with command line and guest will hang while boot up.
/root/autotest-devel/client/tests/kvm/qemu -name 'vm1' -chardev socket,id=qmp_monitor_id_qmpmonitor1,path=/tmp/monitor-qmpmonitor1-20110329-101545-krkw,server,nowait -mon chardev=qmp_monitor_id_qmpmonitor1,mode=control -chardev socket,id=serial_id_20110329-101545-krkw,path=/tmp/serial-20110329-101545-krkw,server,nowait -device isa-serial,chardev=serial_id_20110329-101545-krkw -drive file='/root/autotest-devel/client/tests/kvm/images/RHEL-Server-6.1-32-virtio.qcow2',index=0,if=none,id=drive-virtio-disk1,media=disk,cache=none,format=qcow2,aio=native -device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk1,id=virtio-disk1 -device e1000,netdev=idTsgooc,mac=9a:37:f3:8f:b1:92,id=ndev00idTsgooc,bus=pci.0,addr=0x3 -netdev tap,id=idTsgooc,ifname='t0-101545-krkw',script='/root/autotest-devel/client/tests/kvm/scripts/qemu-ifup-switch',downscript='no' -m 2048 -smp 2,cores=1,threads=1,sockets=2 -drive file='/root/autotest-devel/client/tests/kvm/isos/../images/rhel61-32/ks.iso',index=1,if=none,id=drive-ide0-0-0,media=cdrom,readonly=on,format=raw -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -cpu cpu64-rhel6,+sse2,+x2apic -kernel '/root/autotest-devel/client/tests/kvm/images/rhel61-32/vmlinuz' -initrd '/root/autotest-devel/client/tests/kvm/images/rhel61-32/initrd.img' -vnc :0 -rtc base=utc,clock=host,driftfix=none -M rhel6.1.0 -boot order=cdn,once=n,menu=off   -usbdevice tablet -no-kvm-pit-reinjection --append 'ks=cdrom nicdelay=60 console=ttyS0,115200 console=tty0' -enable-kvm 



Expected results:
Guest install can finished.

Additional info:
1.Host cpuinfo
processor	: 1
vendor_id	: AuthenticAMD
cpu family	: 15
model		: 67
model name	: Dual-Core AMD Opteron(tm) Processor 1216
stepping	: 3
cpu MHz		: 1000.000
cache size	: 1024 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy
bogomips	: 2009.29
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc

Comment 1 Joy Pu 2011-03-29 08:08:33 UTC
Created attachment 488367 [details]
screen 0

Comment 2 Joy Pu 2011-03-29 08:09:27 UTC
Created attachment 488368 [details]
info from other console 3

Comment 3 Joy Pu 2011-03-29 08:10:00 UTC
Created attachment 488369 [details]
info from other consoel: 4

Comment 6 Dor Laor 2011-03-29 09:02:05 UTC
What happens when you run the guest w/o -kernel/-initrd ?
Why is that testBlocker? -initrd is not that important for us

Comment 7 Joy Pu 2011-03-29 09:41:06 UTC
(In reply to comment #6)
> What happens when you run the guest w/o -kernel/-initrd ?
> Why is that testBlocker? -initrd is not that important for us

It is OK to run the install test with boot ISO. Just thought that install failed should be testBlocker. It should be OK to remove that flag.

Comment 8 john cooper 2011-03-29 13:50:02 UTC
(In reply to comment #0)

> 2.install guest with command line and guest will hang while boot up.
    :
> -m 2048 -smp 2,cores=1,threads=1,sockets=2 -drive

Just for my understanding, the problem occurs as above when "-smp 2"
but does not occur for "-smp 1", all other options being the same?

The cpuid data exported appears to be confusing the guest somehow.
It is also not surprising for a difference to exist between AMD and
Intel as different cpuid encodings to represent the cpu/cache topology.

Is this a recent regression or is the test scenario above new?

Comment 9 Joy Pu 2011-03-30 04:48:30 UTC
(In reply to comment #8)
> (In reply to comment #0)
> 
> > 2.install guest with command line and guest will hang while boot up.
>     :
> > -m 2048 -smp 2,cores=1,threads=1,sockets=2 -drive
> 
> Just for my understanding, the problem occurs as above when "-smp 2"
> but does not occur for "-smp 1", all other options being the same?
> 
Yes, only the smp parameter changed.

> The cpuid data exported appears to be confusing the guest somehow.
> It is also not surprising for a difference to exist between AMD and
> Intel as different cpuid encodings to represent the cpu/cache topology.
> 
> Is this a recent regression or is the test scenario above new?

I tried the RHEL 6.0 host(kernel:2.6.32-71 qemu:qemu-kvm-0.12.1.2-2.113), RHEL 6.1 guest also has the same problem. At the same time RHEL 6.0 guest works well in both RHEL 6.0 host and RHEL 6.1 host.

Comment 10 Amos Kong 2011-03-31 01:02:22 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > (In reply to comment #0)
> > 
> > > 2.install guest with command line and guest will hang while boot up.
> >     :
> > > -m 2048 -smp 2,cores=1,threads=1,sockets=2 -drive
> > 
> > Just for my understanding, the problem occurs as above when "-smp 2"
> > but does not occur for "-smp 1", all other options being the same?
> > 
> Yes, only the smp parameter changed.

Fail: -m 2048 -smp 2,cores=1,threads=1,sockets=2 -drive ...
Good: -m 2048 -smp 1,cores=1,threads=1,sockets=1 -drive ...

Comment 19 Eduardo Habkost 2013-05-21 14:56:30 UTC
The error message is due to a guest-side check for known/supported CPU information. Could you check if this is still reproducible using RHEL-6.4 as guest?

Comment 20 Eduardo Habkost 2013-05-21 18:26:53 UTC
This was an Anaconda bug, fixed on anaconda-13.21.94-1~1. I couldn't reproduce it even using a RHEL-6.1 guest because the bug was fixed before 6.1 was released. See https://bugzilla.redhat.com/show_bug.cgi?id=623140#c10


Note You need to log in before you can comment on or make changes to this bug.