Hide Forgot
Description of problem: Boot guest with 126(21 ahci controller) ahci disks, guest works well. Boot guest with 132 ahci disks(22 ahci controller). fail to boot guest. Currently, In theory, qemu-kvm should support Max 180 ahci disks. 30* 6(Max free ahci controller number * per ahci controller support Max disk number) Version-Release number of selected component (if applicable): # uname -r 3.10.0-15.el7.x86_64 qemu-kvm-1.5.3-2.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1.I attached qemu-kvm command line to attachement. 2. 3. Actual results: # sh ahci-multi-disks-cli.sh QEMU 1.5.3 monitor - type 'help' for more information (qemu) KVM internal error. Suberror: 1 emulation failure EAX=0000ffff EBX=00006a00 ECX=0000f9d7 EDX=0000c5d1 ESI=dff27a47 EDI=00000020 EBP=00000006 ESP=000069c6 EIP=000a0000 EFL=00000017 [----APC] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0000 00000000 ffffffff 00809300 CS =0000 00000000 ffffffff 00809b00 SS =0000 00000000 ffffffff 00809300 DS =0000 00000000 ffffffff 00809300 FS =0000 00000000 ffffffff 00809300 GS =0000 00000000 ffffffff 00809300 LDT=0000 00000000 0000ffff 00008200 TR =0000 00000000 0000ffff 00008b00 GDT= 000fd808 00000037 IDT= 00000000 000003ff CR0=00000010 CR2=00000000 CR3=00000000 CR4=00000000 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000ffff0ff0 DR7=0000000000000400 EFER=0000000000000000 Code=00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <ff> ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff I attached guest screenshot to attachement Expected results: all disks are loaded successfully Additional info:
Created attachment 795573 [details] ahci-cli
Created attachment 795574 [details] guest screenshot
Probably seabios runs out of memory, then triggers some bug in some error path and goes crazy ...
http://www.seabios.org/pipermail/seabios/2013-September/006876.html
patch posted.
Fix included in seabios-1.7.2.2-3.el7
Reproduce this bug with components: seabios-1.7.2.2-2.el7 Steps: 1. boot guest with 132 ahci disks. Results: after step1, get same result as Description. Verify this bug with component: seabios-1.7.2.2-4.el7 Same steps as above. Results: after step1, seabios could load into boot menu, but fail to boot from specified device. Base on these test results above, this bug has been fixed, however, still hit bug 947364.
Created attachment 820842 [details] screen shot of verification
Created attachment 820846 [details] boot menu screen shot
Created attachment 820848 [details] command line
According to the issue in comment 9, filed bug 1032955.
This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request.