Bug 821709
Summary: | Guest will die if try to mount a disconnected floppy image. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Geyang Kong <gkong> | ||||||
Component: | qemu-kvm | Assignee: | Markus Armbruster <armbru> | ||||||
Status: | CLOSED DUPLICATE | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 6.3 | CC: | acathrow, ajia, areis, bsarathy, dallan, dyasny, dyuan, mjenner, mkenneth, mzhan, phrdina, rwu, tburke, virt-maint, weizhan, yupzhang, zpeng | ||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2012-07-25 15:50:57 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: | |||||||||
Bug Depends On: | 729244 | ||||||||
Bug Blocks: | |||||||||
Attachments: |
|
This looks to me like qemu crashing, so I've changed the component to qemu-kvm. If that's not the case, please reassign back to libvirt. (In reply to comment #2) > This looks to me like qemu crashing, so I've changed the component to qemu-kvm. > If that's not the case, please reassign back to libvirt. Did the kernel crashed (maybe a kernel issue) or was it qemu? Looks like kernel crash. I can get a line from guest: "Kernel panic - not syncing: Fatal exception." For a guest kernel crash, please provide guest kernel version information. Output of "uname -a" in guest should do. Also provide guest's dmesg. Recommend to capture it on a serial console. Created attachment 598775 [details]
guest output
Serial output file attached here. Guest kernel info is 2.6.32-220.el6.x86_64
This bug will be fixed by patches for bug 729244. You can try the whole patch-file attached for that bug. This bug report is really two bugs: 1. A bug in qemu-kvm floppy device model. Probably a duplicate of bug 729244 mentioned in comment#8. 2. A bug in the guest kernel, which really shouldn't crash just because the floppy controller acts up. Probably a duplicate of bug 815472. (In reply to comment #8) > This bug will be fixed by patches for bug 729244. You can try the whole > patch-file attached for that bug. (In reply to comment #9) > This bug report is really two bugs: > > 1. A bug in qemu-kvm floppy device model. Probably a duplicate of bug > 729244 mentioned in comment#8. > > 2. A bug in the guest kernel, which really shouldn't crash just because the > floppy controller acts up. Probably a duplicate of bug 815472. Closing as duplicate of Bug 729244. This scenario should be included in the testcase of Bug 729244. *** This bug has been marked as a duplicate of bug 729244 *** |
Created attachment 584646 [details] libvirtd log file Description of problem: Guest will die if try to mount a disconnected floppy driver. Version-Release number of selected component (if applicable): virt-manager-0.9.0-14.el6.x86_64 libvirt-0.9.10-18.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1. Make sure there is a running guest. 2. Add a floppy device and connect to an img file. 3. Run #modprobe floppy in guest. 4. Run #mount /dev/floppy /mnt in guest. 5. Make sure floppy image has been mounted to /mnt 6. Run #umount /mnt in guest. 7. Create a floppy eject XML. #cat eject.xml <disk type='block' device='floppy'> <target dev='fda' bus='fdc'/> </disk> 8. Run #virsh update-device $guest eject.xml in host 9. Run #mount /dev/floppy /mnt in guest. Actual results: 1. After step 9. Guest will die. Expected results: 1. Guest should keep living. Additional info: