Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1358198

Summary: [Q35] Installed failed through PXE
Product: Red Hat Enterprise Linux 7 Reporter: jingzhao <jinzhao>
Component: qemu-kvm-rhevAssignee: Amnon Ilan <ailan>
Status: CLOSED DUPLICATE QA Contact: jingzhao <jinzhao>
Severity: high Docs Contact:
Priority: high    
Version: 7.3CC: chayang, juzhang, knoel, virt-maint, yduan, yiwei
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-22 10:01:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
The failed info through remote-viewer none

Description jingzhao 2016-07-20 09:43:32 UTC
Created attachment 1181999 [details]
The failed info through remote-viewer

Description of problem:
Installed failed through PXE 

Version-Release number of selected component (if applicable):
kernel-3.10.0-470.el7.x86_64
qemu-kvm-rhev-2.6.0-13.el7.x86_64
seabios-1.9.1-4.el7.x86_64

How reproducible:
3/3

Steps to Reproduce:
1. Install guest through PXE with following command:
[root@localhost home]# cat pxb2.sh 
/usr/libexec/qemu-kvm \
-M q35 \
-cpu SandyBridge \
-nodefaults -rtc base=utc \
-m 4G \
-smp 2,sockets=2,cores=1,threads=1 \
-enable-kvm \
-name rhel7.3 \
-uuid 990ea161-6b67-47b2-b803-19fb01d30d12 \
-smbios type=1,manufacturer='Red Hat',product='RHEV Hypervisor',version=el6,serial=koTUXQrb,uuid=feebc8fd-f8b0-4e75-abc3-e63fcdb67170 \
-k en-us \
-serial unix:/tmp/serial0,server,nowait \
-boot menu=on \
-bios /usr/share/seabios/bios.bin \
-chardev file,path=/home/seabios.log,id=seabios \
-device isa-debugcon,chardev=seabios,iobase=0x402 \
-vga qxl \
-spice port=5932,disable-ticketing \
-device ioh3420,id=root.0,slot=1 \
-drive file=/home/pxb.qcow2,if=none,id=drive-virtio-disk0,format=qcow2,cache=none,werror=stop,rerror=stop \
-device virtio-blk-pci,bus=root.0,drive=drive-virtio-disk0,id=virtio-disk0,disable-legacy=on,disable-modern=off,bootindex=1 \
-device ioh3420,id=root.2,slot=3 \
-device virtio-net-pci,bus=root.2,netdev=tap10,mac=9a:6a:6b:6c:6d:6e,disable-legacy=on,disable-modern=off -netdev tap,id=tap10 \
-monitor stdio \


Actual results:
Install failed, please check the attachment
And following is the log of seabios
[root@localhost home]# cat seabios.log 
SeaBIOS (version 1.9.1-4.el7)
BUILD: gcc: (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4) binutils: version 2.23.52.0.1-55.el7 20130226
Running on QEMU (q35)
Running on KVM
RamSize: 0x80000000 [cmos]
Relocating init from 0x000e4940 to 0x7ffb2140 (size 56880)
Found QEMU fw_cfg
QEMU fw_cfg DMA interface supported
RamBlock: addr 0x0000000000000000 len 0x0000000080000000 [e820]
RamBlock: addr 0x0000000100000000 len 0x0000000080000000 [e820]
Moving pm_base to 0x600
boot order:
1: /pci@i0cf8/pci-bridge@2/scsi@0/disk@0,0
=== PCI bus & bridge init ===
PCI: pci_bios_init_bus_rec bus = 0x0
PCI: pci_bios_init_bus_rec bdf = 0x10
PCI: primary bus = 0x0
PCI: secondary bus = 0xff -> 0x1
PCI: pci_bios_init_bus_rec bus = 0x1
PCI: subordinate bus = 0x0 -> 0x1
PCI: pci_bios_init_bus_rec bdf = 0x18
PCI: primary bus = 0x0
PCI: secondary bus = 0xff -> 0x2
PCI: pci_bios_init_bus_rec bus = 0x2
PCI: subordinate bus = 0x0 -> 0x2
=== PCI device probing ===
Found 9 PCI devices (max PCI bus is 02)
=== PCI new allocation pass #1 ===
PCI: check devices
PCI: secondary bus 2 size 00000000 type io
PCI: secondary bus 2 size 00200000 type mem
PCI: secondary bus 2 size 00800000 type prefmem
PCI: secondary bus 1 size 00000000 type io
PCI: secondary bus 1 size 00200000 type mem
PCI: secondary bus 1 size 00800000 type prefmem
=== PCI new allocation pass #2 ===
PCI: IO: c000 - c07f
PCI: 32: 00000000c0000000 - 00000000fec00000
PCI: map device bdf=00:1f.3  bar 4, addr 0000c000, size 00000040 [io]
PCI: map device bdf=00:01.0  bar 3, addr 0000c040, size 00000020 [io]
PCI: map device bdf=00:1f.2  bar 4, addr 0000c060, size 00000020 [io]
PCI: map device bdf=00:01.0  bar 0, addr f4000000, size 04000000 [mem]
PCI: map device bdf=00:01.0  bar 1, addr f8000000, size 04000000 [mem]
PCI: map device bdf=00:01.0  bar 6, addr fc400000, size 00010000 [mem]
PCI: map device bdf=00:01.0  bar 2, addr fc410000, size 00002000 [mem]
PCI: map device bdf=00:1f.2  bar 5, addr fc412000, size 00001000 [mem]
PCI: map device bdf=01:00.0  bar 1, addr fc200000, size 00001000 [mem]
PCI: map device bdf=01:00.0  bar 4, addr fe000000, size 00800000 [prefmem]
PCI: map device bdf=02:00.0  bar 6, addr fc000000, size 00040000 [mem]
PCI: map device bdf=02:00.0  bar 1, addr fc040000, size 00001000 [mem]
PCI: map device bdf=02:00.0  bar 4, addr fd800000, size 00800000 [prefmem]
PCI: init bdf=00:00.0 id=8086:29c0
PCI: init bdf=00:01.0 id=1b36:0100
PCI: init bdf=00:02.0 id=8086:3420
PCI: init bdf=00:03.0 id=8086:3420
PCI: init bdf=00:1f.0 id=8086:2918
Q35 LPC init: elcr=00 0c
Using pmtimer, ioport 0x608
PCI: init bdf=00:1f.2 id=8086:2922
PCI: init bdf=00:1f.3 id=8086:2930
PCI: init bdf=01:00.0 id=1af4:1042
PCI: init bdf=02:00.0 id=1af4:1041
PCI: Using 00:01.0 for primary VGA
handle_smp: apic_id=1
Found 2 cpu(s) max supported 2 cpu(s)
Copying PIR from 0x7ffbfd24 to 0x000f26f0
Copying MPTABLE from 0x00006e64/7ffa8fa0 to 0x000f25f0
Copying SMBIOS entry point from 0x00006e64 to 0x000f23a0
Scan for VGA option rom
Running option rom at c000:0003
Start SeaVGABIOS (version 1.9.1-4.el7)
VGABUILD: gcc: (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4) binutils: version 2.23.52.0.1-55.el7 20130226
enter vga_post:
   a=00000008  b=0000ffff  c=00000000  d=0000ffff ds=0000 es=f000 ss=0000
  si=00000000 di=00007ba0 bp=00000000 sp=00006da2 cs=f000 ip=d32e  f=0000
VBE DISPI: bdf 00:01.0, bar 0
VBE DISPI: lfb_addr=f4000000, size 16 MB
Turning on vga text mode console
set VGA mode 3
SeaBIOS (version 1.9.1-4.el7)
Machine UUID feebc8fd-f8b0-4e75-abc3-e63fcdb67170
All threads complete.
Found 0 lpt ports
Found 1 serial ports
AHCI controller at 1f.2, iobase fc412000, irq 10
PS2 keyboard initialized
found virtio-blk at 1:0
pci dev 1:0 using modern (1.0) virtio mode
Searching bootorder for: /pci@i0cf8/pci-bridge@2/*@0
All threads complete.
Scan for option roms
Running option rom at c980:0003
pmm call arg1=1
pmm call arg1=0
pmm call arg1=1
pmm call arg1=0
Searching bootorder for: /pci@i0cf8/pci-bridge@3/*@0
Searching bootorder for: /rom@genroms/kvmvapic.bin

Press ESC for boot menu.

Searching bootorder for: HALT
drive 0x000f2300: PCHS=16383/16/63 translation=lba LCHS=1024/255/63 s=62914560
Running option rom at ca80:0003
Space available for UMB: cd000-ee800, f0000-f2300
Returned 122880 bytes of ZoneHigh
e820 map has 10 items:
  0: 0000000000000000 - 000000000009fc00 = 1 RAM
  1: 000000000009fc00 - 00000000000a0000 = 2 RESERVED
  2: 00000000000f0000 - 0000000000100000 = 2 RESERVED
  3: 0000000000100000 - 000000007ffde000 = 1 RAM
  4: 000000007ffde000 - 0000000080000000 = 2 RESERVED
  5: 00000000b0000000 - 00000000c0000000 = 2 RESERVED
  6: 00000000fed1c000 - 00000000fed20000 = 2 RESERVED
  7: 00000000feffc000 - 00000000ff000000 = 2 RESERVED
  8: 00000000fffc0000 - 0000000100000000 = 2 RESERVED
  9: 0000000100000000 - 0000000180000000 = 1 RAM
enter handle_19:
  NULL
Booting from Hard Disk...
Boot failed: not a bootable disk

enter handle_18:
  NULL
Booting from ROM...
Booting from c980:0374
enter handle_18:
  NULL
Booting from Floppy...
Boot failed: could not read the boot disk

enter handle_18:
  NULL
No bootable device.


Expected results:
Install successfully

Additional info:
Guest can be installed without "disable-legacy=on,disable-modern=off" parameters of Nic

Comment 2 jingzhao 2016-07-22 10:01:32 UTC
Updated ipxe and didn't hit this issue

[root@localhost home]# rpm -qa |grep ipxe
ipxe-roms-20160127-3.git6366fa7a.el7.noarch
ipxe-roms-qemu-20160127-3.git6366fa7a.el7.noarch
ipxe-bootimgs-20160127-3.git6366fa7a.el7.noarch

qemu-kvm-rhev-2.6.0-14.el7.x86_64
kernel-3.10.0-470.el7.x86_64

Close it as duplicate bug

*** This bug has been marked as a duplicate of bug 1242850 ***