Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 532840

Summary: RHELSCSI failed 2008/64 Play and Plug Driver Test
Product: Red Hat Enterprise Linux 5 Reporter: koka xiong <kxiong>
Component: xenpv-winAssignee: Paolo Bonzini <pbonzini>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 5.4CC: cshao, fnadge, llim, pbonzini, rwu, xtian
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.3.0-1 Doc Type: Bug Fix
Doc Text:
Previously, running the "Plug and Play Driver Test" from the Windows Logo Kit on RHELSCSI driver caused the windows guest to crash. With this update, the RHELSCSI driver passes the "Plug and Play Driver Test" from the Windows Logo Kit.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-01 09:00:45 UTC Type: ---
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: 526393    
Bug Blocks: 518435    
Attachments:
Description Flags
the screen shot
none
wttEa.log
none
WttJobRun.Xml
none
WTTJQResults none

Description koka xiong 2009-11-04 01:44:14 UTC
Created attachment 367382 [details]
the screen shot

Description of problem:
The xenpv-win driver failed 2008/64 Play and Plug Driver Test

Version-Release number of selected component (if applicable):
xenpv-win-1.1.0-2.el5.noarch.rpm

How reproducible:
always

Steps to Reproduce:
1.Configure xenpv-win driver and run 2008/64 play and plug driver test
2.The guest has no response when running to a certain step,please see the attachment.
3.
  
Actual results:


Expected results:


Additional info:
The window 2008/32 can pass play and plug driver test.

Comment 1 Paolo Bonzini 2009-11-05 13:47:36 UTC
Does it fail if you only try the surprise removal test once?  What if you try the surprise removal test multiple times (like five-ten)?

This might be again the same issue as 526393.

Comment 2 Paolo Bonzini 2010-03-16 13:34:47 UTC
After the latest changes, RHELSCSI testing should be done with
EnumeratingDevices = 3.  In this case, each of the three plug and play tests (removal, surprise removal, rebalance) fails without hanging the machine.

"Reinstall with IO" and "Disable Enable With IO" fail in the same way, and I'm
opening separate bugs for them.

Comment 3 Paolo Bonzini 2010-04-21 12:41:02 UTC
*** Bug 583923 has been marked as a duplicate of this bug. ***

Comment 5 RHEL Program Management 2010-08-09 19:01:06 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.

Comment 6 Paolo Bonzini 2010-09-30 11:48:31 UTC
The fix is now in the master branch of the xenpv-win repo.

Comment 9 Florian Nadge 2010-10-18 16:26:39 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Previously, running the "Plug and Play Driver Test" from the Windows Logo Kit on RHELSCSI driver caused the windows guest to crash. With this update, the RHELSCSI driver passes the "Plug and Play Driver Test" from the Windows Logo Kit.

Comment 10 cshao 2010-10-21 10:44:37 UTC
Created attachment 454785 [details]
wttEa.log

Comment 11 cshao 2010-10-21 10:45:02 UTC
I test this job with xenpv-win-1.3.0-1.el5, I can reproduce the bug.
And it also happened in win2008/32 + win2008R2 OS.

The Failed child job is "Run Surprise PNPD Test" .
Please see logo file.

Comment 12 Paolo Bonzini 2010-10-21 11:15:03 UTC
Can you include the list of files in

C:\WTT\JobsWorkingDir\Tasks\WTTJobRunCFA9227F-6FCE-49CB-A770-62C7700587A2\

on the client machine?  For some reason it cannot find the log file there, but C: should be an IDE disk not a RHELSCSI disk.

Comment 13 cshao 2010-10-21 12:22:55 UTC
(In reply to comment #12)
> Can you include the list of files in
> 
> C:\WTT\JobsWorkingDir\Tasks\WTTJobRunCFA9227F-6FCE-49CB-A770-62C7700587A2\
> 
> on the client machine?  For some reason it cannot find the log file there, but
> C: should be an IDE disk not a RHELSCSI disk.

In my client machine, I can't find log file in C:\WTT\JobsWorkingDir\Tasks\WTTJobRunCFA9227F-6FCE-49CB-A770-62C7700587A2\ too.

I will list the files in C:\WTT\JobsWorkingDir\Tasks\WTTJobRunCFA9227F-6FCE-49CB-A770-62C7700587A2\ after retest it.

Comment 14 Paolo Bonzini 2010-10-21 14:34:14 UTC
Note that the directory path may change, but it is anyway the same directory that contains the wttea.log file.

Comment 15 cshao 2010-10-26 03:28:08 UTC
(In reply to comment #14)
> Note that the directory path may change, but it is anyway the same directory
> that contains the wttea.log file.

Hi Paolo,
  In DTM controller, I can find "Wttea.log" file in \\S1-rhev-m.S1domain.com\DTMLogs\9CB75C9D-12D7-4C67-98DC-A7F52777D58B\4D926B5C-C35B-481C-868F-05FFC2BA2DC5. So I upload the wttea.log file to attachment.

Comment 16 Paolo Bonzini 2010-10-26 16:34:54 UTC
Is there no other file there?

Comment 17 cshao 2010-10-28 14:27:01 UTC
Created attachment 456249 [details]
WttJobRun.Xml

(In reply to comment #16)
> Is there no other file there?

Yup, there are 3 more files:
WttEaData.XMl
WttJobRun.Xml
WTTJQResults.xml

Comment 18 cshao 2010-10-28 14:27:38 UTC
Created attachment 456250 [details]
WTTJQResults

Comment 19 Rita Wu 2010-11-01 08:57:25 UTC
Hi Paolo,

When I testing Win2k8-r2 with xenpv-win-1.3.0-1, I met BSOD(stop-0x4E4558) frequently when doing 3 child jobs of Plug and Play Driver Test-Library Job, there are:

STORAGE:Detect if device is a boot/page parent adapter
Run Remove PNPD Test 
Run Surprise PNPD Test

Is it also caused by memory leak?

Comment 20 Paolo Bonzini 2010-11-01 09:01:55 UTC
Yes, it's always the same cause.  It should be fixed by the same patch.  Thanks!

Comment 21 Rita Wu 2010-11-01 13:27:21 UTC
Hello Paolo,

Finally, Plug and Play Driver Test passed on Win2k8(32bit and 64bit) when doing both BLK and NIC testing.

For win2k8-r2, this job passes on NIC testing, but fails on BLK testing since BSOD. I've commented it in Bug 526411.

So can this bug be set as VERIFIED?

Comment 23 Rita Wu 2010-11-24 10:48:51 UTC
Verified with xenpv-win-1.3.1.el5 + xen-3.0.3-119.el5+ kernel-2.6.18-229.el5xen. Play and Plug Driver Test Passed in Win2k8-r2, Win2k8-32 and Win2k8-64bit OS. So set it as VERIFIED.

Comment 24 errata-xmlrpc 2011-02-01 09:00:45 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0187.html