Hide Forgot
Created attachment 1196697 [details] Seabios log when boot from pxe Description of problem: Boot from PXE fail Version-Release number of selected component (if applicable): kernel version:3.10.0-496.el7.x86_64 qemu version:qemu-kvm-rhev-2.6.0-22.el7.x86_64 seabios version:seabios-1.9.1-4.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1.Create a qcow2 img "pxe.qcow2". 2.Start rhel6.8-32bit guest using cmds bellow: ********** /usr/libexec/qemu-kvm -name rhel7 \ -machine pc,accel=kvm,usb=off,vmport=off \ -cpu host \ -m 3072 \ -realtime mlock=off \ -smp 1,sockets=64,maxcpus=240 \ -uuid 1534fa42-4818-4493-9f67-eee5ba758385 \ -no-user-config -nodefaults \ -chardev socket,id=qmp_id_catch_monitor,path=/var/tmp/test1,server,nowait \ -mon chardev=qmp_id_catch_monitor,id=monitor,mode=control \ -no-hpet \ -boot menu=on,splash-time=6000 \ -vga std \ -vnc 0:3 \ -spice ipv4,port=5000,disable-ticketing \ -enable-kvm \ -monitor stdio \ -global PIIX4_PM.disable_s3=0 \ -netdev tap,id=hostnet10 \ -device virtio-net-pci,netdev=hostnet10,id=net10,mac=50:54:00:49:b2:5f \ -device virtio-scsi-pci,id=scsi0 \ -drive file=/home/img/pxe.qcow2,if=none,id=drive-ide-1,media=disk,format=qcow2,cache=none,aio=native \ -device scsi-hd,bus=scsi0.0,drive=drive-ide-1,id=scsi0-0 \ -chardev socket,id=seabioslog,path=/var/tmp/seabios_log,server,nowait \ -device isa-debugcon,chardev=seabioslog,iobase=0x402 \ **************** A. CPU info as bellow: [root@amd-5400b-4-2 seabios]# cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 107 model name : AMD Athlon(tm) Dual Core Processor 5400B stepping : 2 cpu MHz : 2800.000 cache size : 512 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow art rep_good nopl extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch lbrv bogomips : 5611.72 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 100mhzsteps processor : 1 vendor_id : AuthenticAMD cpu family : 15 model : 107 model name : AMD Athlon(tm) Dual Core Processor 5400B stepping : 2 cpu MHz : 2800.000 cache size : 512 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 sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow art rep_good nopl extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch lbrv bogomips : 5611.72 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 100mhzsteps B. Ethernet Card info as bellow: [root@amd-5400b-4-2 seabios]# lspci -vvv -s 02:00.0 02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5754 Gigabit Ethernet PCI Express (rev 02) Subsystem: Dell Device 01ec Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 27 NUMA node: 0 Region 0: Memory at fdef0000 (64-bit, non-prefetchable) [size=64K] Expansion ROM at <ignored> [disabled] Capabilities: [48] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold+) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=1 PME- Capabilities: [50] Vital Product Data Product Name: Broadcom NetXtreme Gigabit Ethernet Controller Read-only fields: [PN] Part number: BCM95754 [EC] Engineering changes: 106679-15 [SN] Serial number: 0123456789 [MN] Manufacture ID: 31 34 65 34 [RV] Reserved: checksum good, 28 byte(s) reserved Read/write fields: [YA] Asset tag: 01ec.000 [RW] Read-write area: 110 byte(s) free End Capabilities: [58] Vendor Specific Information: Len=78 <?> Capabilities: [e8] MSI: Enable+ Count=1/1 Maskable- 64bit+ Address: 00000000fee0200c Data: 41e1 Capabilities: [d0] Express (v1) Endpoint, MSI 00 DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 0.000W DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported- RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- MaxPayload 128 bytes, MaxReadReq 512 bytes DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend- LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s, Exit Latency L0s <4us, L1 <64us ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp- LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk+ ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- Capabilities: [100 v1] Advanced Error Reporting UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol- CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr- CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+ AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn- Capabilities: [13c v1] Virtual Channel Caps: LPEVC=0 RefClk=100ns PATEntryBits=1 Arb: Fixed- WRR32- WRR64- WRR128- Ctrl: ArbSelect=Fixed Status: InProgress- VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans- Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256- Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=ff Status: NegoPending- InProgress- Capabilities: [160 v1] Device Serial Number 00-22-19-ff-fe-30-7c-af Capabilities: [16c v1] Power Budgeting <?> Kernel driver in use: tg3 Kernel modules: tg3 Actual results: Boot from pxe fail. The problem not exist on Intel Corporation 82579LM Gigabit Card. Expected results: Boot from pxe success. Additional info: seabios log &screen snapshot as attachment.
Hi Aihua Liang, Sorry for the delay. A few questions if you don't mind. (In reply to aihua liang from comment #0) > -netdev tap,id=hostnet10 \ How is tap networking configured in the host? Are you sure that the guest is able to access a network with a running PXE server? If you boot an operating system from the virtual disk, does it have access to the right network (i.e. is the issue limited only to seabios / pre-boot environment)? > Additional info: > seabios log &screen snapshot as attachment. I'd be interested in seeing iPXE screen shots. The attached seabios log looks fine to me. Thanks! Ladi
No available resource now, will give info as soon as possible.
Created attachment 1202475 [details] PXE Boot Screen
Misunderstanding of PXE Boot in RedHat Engineering Lab. From the captured pxe boot screen, we can see that: Install menu can't be entered automatically, you should enter "menu" in boot prompt, then you can select the os you want to install. If you do nothing, it will skip pxe boot and try to boot from other devices. Manually enter boot install menu, select an OS, then install it. The guest os was installed successfully and worked normally. So, close the bug as "NOTABUG".