Bug 966809
| Summary: | [virtio-win][serial]Guest win7-64 BSOD(7E) during resume from s4 after hot plug virtio serial device | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | lijin <lijin> |
| Component: | virtio-win | Assignee: | Gal Hammer <ghammer> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.5 | CC: | acathrow, bcao, bsarathy, kzhang, qzhang, rhod, vrozenfe |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | virtio-win-prewhql-0.1-64 | Doc Type: | Bug Fix |
| Doc Text: |
Cause: resume from s4 after hot plug virtio serial device
Consequence: System fail in BSOD with bugcheck code 7E
Fix: In vioseral code by handling device surprise-removal condition
Result: guest can resume successfully,no BSOD happens.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-11-22 00:12:18 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: | |||
|
Description
lijin
2013-05-24 03:29:32 UTC
the windbg info: 1: kd> !analyze -v ******************************************************************************* * * * Bugcheck Analysis * * * ******************************************************************************* SYSTEM_THREAD_EXCEPTION_NOT_HANDLED (7e) This is a very common bugcheck. Usually the exception address pinpoints the driver/function that caused the problem. Always note this address as well as the link date of the driver/image that contains this address. Arguments: Arg1: ffffffffc0000005, The exception code that was not handled Arg2: fffff88002bc4200, The address that the exception occurred at Arg3: fffff8800311d6f8, Exception Record Address Arg4: fffff8800311cf50, Context Record Address Debugging Details: ------------------ EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s. FAULTING_IP: vioser+5200 fffff880`02bc4200 488b4308 mov rax,qword ptr [rbx+8] EXCEPTION_RECORD: fffff8800311d6f8 -- (.exr 0xfffff8800311d6f8) ExceptionAddress: fffff88002bc4200 (vioser+0x0000000000005200) ExceptionCode: c0000005 (Access violation) ExceptionFlags: 00000000 NumberParameters: 2 Parameter[0]: 0000000000000000 Parameter[1]: 0000000000000008 Attempt to read from address 0000000000000008 CONTEXT: fffff8800311cf50 -- (.cxr 0xfffff8800311cf50) rax=000000002d497978 rbx=0000000000000000 rcx=fffff8800311d978 rdx=0000000fffffffff rsi=0000000000000001 rdi=0000000000000000 rip=fffff88002bc4200 rsp=fffff8800311d930 rbp=0000000000000000 r8=fffff8800311d938 r9=0000000000000000 r10=0000000000000978 r11=fffff8800311d940 r12=00000000ffffffff r13=0000000000000335 r14=0000000000000000 r15=fffff88000f60250 iopl=0 nv up ei pl zr na po nc cs=0010 ss=0018 ds=002b es=002b fs=0053 gs=002b efl=00010246 vioser+0x5200: fffff880`02bc4200 488b4308 mov rax,qword ptr [rbx+8] ds:002b:00000000`00000008=???????????????? Resetting default scope PROCESS_NAME: System CURRENT_IRQL: 0 ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s. EXCEPTION_PARAMETER1: 0000000000000000 EXCEPTION_PARAMETER2: 0000000000000008 READ_ADDRESS: 0000000000000008 FOLLOWUP_IP: vioser+5200 fffff880`02bc4200 488b4308 mov rax,qword ptr [rbx+8] BUGCHECK_STR: 0x7E DEFAULT_BUCKET_ID: NULL_CLASS_PTR_DEREFERENCE LAST_CONTROL_TRANSFER: from fffff88002bcdb24 to fffff88002bc4200 STACK_TEXT: fffff880`0311d930 fffff880`02bcdb24 : fffffa80`03831650 00000000`00000000 fffff880`00f60a80 0000057f`fc7ced18 : vioser+0x5200 fffff880`0311d9a0 fffff880`00f4c904 : fffffa80`02b7c7c0 00000000`00000000 fffff880`00f60a80 fffffa80`02b7c7c0 : vioser+0xeb24 fffff880`0311d9d0 fffff880`00f4b6eb : 00000000`00000000 00000000`00000000 fffff880`00f60a40 00000000`00000001 : Wdf01000!FxPkgPnp::PowerWakingConnectInterrupt+0x4c fffff880`0311da30 fffff880`00f4b38e : fffffa80`02b7c7c0 00000000`00000000 fffff880`00f607c0 00000000`00000001 : Wdf01000!FxPkgPnp::PowerEnterNewState+0x1db fffff880`0311db60 fffff880`00f4b218 : fffffa80`02b7c958 00000000`00000000 fffff880`0311dc50 fffffa80`02b7c7c0 : Wdf01000!FxPkgPnp::PowerProcessEventInner+0x13e fffff880`0311dbd0 fffff880`00f5759f : fffffa80`02b7c958 fffffa80`018bbb60 fffffa80`02b7c7c0 fffffa80`02b7c958 : Wdf01000!FxPkgPnp::_PowerProcessEventInner+0x60 fffff880`0311dc10 fffff800`02988527 : 00000000`00000000 fffffa80`019b57e0 fffff800`028325f8 fffffa80`018bbb60 : Wdf01000!FxEventQueue::EventQueueWorker+0x83 fffff880`0311dc80 fffff800`0269c161 : fffff800`028325f8 fffff800`02988504 fffffa80`018bbb60 fffffa80`018bbb60 : nt!IopProcessWorkItem+0x23 fffff880`0311dcb0 fffff800`02932166 : 00000000`00000000 fffffa80`018bbb60 00000000`00000080 fffffa80`0184bb30 : nt!ExpWorkerThread+0x111 fffff880`0311dd40 fffff800`0266d486 : fffff880`009eb180 fffffa80`018bbb60 fffff880`009f5f40 00000000`00000000 : nt!PspSystemThreadStartup+0x5a fffff880`0311dd80 00000000`00000000 : fffff880`0311e000 fffff880`03118000 fffff880`0311d3a0 00000000`00000000 : nt!KiStartSystemThread+0x16 SYMBOL_STACK_INDEX: 0 SYMBOL_NAME: vioser+5200 FOLLOWUP_NAME: MachineOwner MODULE_NAME: vioser IMAGE_NAME: vioser.sys DEBUG_FLR_IMAGE_TIMESTAMP: 519b2b89 STACK_COMMAND: .cxr 0xfffff8800311cf50 ; kb FAILURE_BUCKET_ID: X64_0x7E_vioser+5200 BUCKET_ID: X64_0x7E_vioser+5200 Followup: MachineOwner --------- A simple scenario which reproduce the bug: 1. Start a VM without virtio-serial-pci device. 2. Attach a device: (qemu) device_add virtio-serial-pci,id=virtio-serial0,max_ports=16 (qemu) device_add virtserialport,chardev=charchannel0,name=linux-kvm,bus=virtio-serial0.0,id=serialport0 3. Hibernate the guest. 4. Start the VM again. Reproduced this issue on build 62 Verified this issue on build 64 steps same as comment #4 Actual Results: on build 62, win7-64 guest get BSOD with 7E code on build 64,guest can resume successfully,no BSOD happened. Based on above ,this issue has been fixed already . Move Status to VERIFIED accordingt to comment #5 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-1729.html |