New: Win Vista and Win2K8 guests cann't find NIC driver
https://bugzilla.kernel.org/show_bug.cgi?id=39412
Summary: Win Vista and Win2K8 guests cann't find NIC driver
Product: Virtualization
Version: unspecified
Kernel Version: 3.0.0-rc6+
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: high
Priority: P1
Component: kvm
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Regression: Yes
Win Vista and Win 2K8 guests cannot find NIC driver using latest kvm upstream tree. (I've installed these NIC drivers in the win imgages, and they worked well before.)
Windows XP doesn't have this this issue.
Both UP and SMP guests have the same issue.
Both virtual NIC and VTD NIC have the same issue, but SR-IOV NIC doesn't have this issue.
Linux guest doesn't have this issue.
reproduce steps:
1.install qemu-kvm and kvm(e2dd78cba341fa7f4d2aa2a3f2a5ec48615155ad) 2.create a win2k8 or Vista guest:
qemu-system-x86_64 -m 1024 -smp 2 -net nic,macaddr=00:16:3e:41:50:cc,model=rtl8139 -net tap,script=/etc/kvm/qemu-ifup -hda /root/win2k8.img
3.In guest, you'll find that NIC driver cannot be available. In device manager, it shows the NIC doesn't have the corresponding driver. And 'ipconfig' command shows nothing.
BTW,e2dd78cba341fa7f4d2aa2a3f2a5ec48615155ad commit has the issue; but e62c2ef9d55731476d5783b06c93976c70b96afa commit doesn't have this issue.
Signature · 4 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are watching the assignee of the bug.
[Bug 39412] Win Vista and Win2K8 guests cann't find NIC driver
https://bugzilla.kernel.org/show_bug.cgi?id=39412
Rafael J. Wysocki <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected], | |[email protected], | |[email protected] Blocks| |36912
Signature · 4 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are watching the assignee of the bug.
[Bug 39412] Win Vista and Win2K8 guests cann't find NIC driver
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=39412
Rafael J. Wysocki <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected], | |[email protected], | |[email protected] Blocks| |36912
Yan Vugenfirer <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #1 from Yan Vugenfirer <[email protected]> 2011-07-16 12:26:14 --- Driver for Realtek nic (rtl8139) is no longer included in inbox drivers starting with Windows Vista.
Either use e1000 driver NIC or it is possible to copy related files from the previous Windows (XP) and use them (inf, sys files).
Signature · 4 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are watching the assignee of the bug.
[Bug 39412] Win Vista and Win2K8 guests' network breaks down
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=39412
Jay Ren <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Win Vista and Win2K8 guests |Win Vista and Win2K8
|cann't find NIC driver |guests' network breaks down--- Comment #2 from Jay Ren <[email protected]> 2011-07-17 10:39:20 --- (In reply to comment #1)
Quoted 5 lines
Driver for Realtek nic (rtl8139) is no longer included in inbox drivers starting with Windows Vista.
Either use e1000 driver NIC or it is possible to copy related files from the previous Windows (XP) and use them (inf, sys files).
Guest have driver for the assigned NIC ( If not originally, I installed the driver), but network in guest breaks down. Sorry for unclear description, and I modified the bug title. It shows NIC has driver, but network breaks down, for example guest cannot get IP from the DHCP server. If using kvm.git commit e62c2ef9, it doesn't have this issue. I use the same win2k8 and Vista image in my test.
BTW, even if I use e1000 NIC, Win2k8 and Vista guest's network is bad, while Win7 and Win XP works well.
Signature · 4 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are watching the assignee of the bug.
[Bug 39412] Win Vista and Win2K8 guests' network breaks down
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=39412
Jay Ren <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |CODE_FIX--- Comment #3 from Jay Ren <[email protected]> 2011-07-29 11:16:55 --- This bug got fixed and I verified it. It doesn't exist in latest kvm.git tree e72ef590a3ef3047f6ed5bcb8808a9734f6c4b32.
Signature · 4 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are watching the assignee of the bug.
[Bug 39412] Win Vista and Win2K8 guests' network breaks down
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=39412
Jay Ren <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |VERIFIED
Signature · 4 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are watching the assignee of the bug.
[Bug 39412] Win Vista and Win2K8 guests' network breaks down
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=39412
Florian Mickler <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|VERIFIED |REOPENED
Resolution|CODE_FIX |Rafael J. Wysocki <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |NEEDINFO
--- Comment #4 from Florian Mickler <[email protected]> 2011-08-04 20:41:57 --- Please close it, when it hit's Linus tree. In the meantime we leave it as open, so this doesn't get lost.
Do you have a pointer to the actual commit that fixed it?
--- Comment #5 from Rafael J. Wysocki <[email protected]> 2011-08-14 19:13:36 --- Has the bug been fixed in the mainline kernel?
Signature · 4 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are watching the assignee of the bug.
[Bug 39412] Win Vista and Win2K8 guests' network breaks down
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=39412
Jay Ren <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |VERIFIED
Resolution| |CODE_FIX--- Comment #6 from Jay Ren <[email protected]> 2011-08-16 02:43:02 --- This bug has been fixed in master tree of kvm.git
Sorry but I don't think I have time to bisect which commit or patch introduced and fixed this issue very accurately.
Quoted 1 line
From git log of Avi's kvm.git master tree:
------good commit----------
commit e62c2ef9d55731476d5783b06c93976c70b96afa
Merge: 2e0d8e2 ca56a95
Author: Avi Kivity <[email protected]>
Date: Thu Jun 30 11:45:57 2011 +0300
-------bad commit---------
commit e2dd78cba341fa7f4d2aa2a3f2a5ec48615155ad
Merge: 481ac8d 4dd1b49
Author: Marcelo Tosatti <[email protected]>
Date: Thu Jul 7 09:29:58 2011 -0300
-----good commit--------(issue has been fixed)
commite72ef590a3ef3047f6ed5bcb8808a9734f6c4b32
Author: Stefan Hajnoczi <[email protected]> Date: Fri Jul 22 12:46:53 2011 +0100
Signature · 4 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are watching the assignee of the bug.
[Bug 39412] Win Vista and Win2K8 guests' network breaks down
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=39412
Jay Ren <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|VERIFIED |CLOSED
Signature · 4 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are watching the assignee of the bug.
[Bug 39412] Win Vista and Win2K8 guests' network breaks down
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=39412
Florian Mickler <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|CLOSED |NEEDINFO
Resolution|CODE_FIX |--- Comment #7 from Florian Mickler <[email protected]> 2011-08-24 12:29:52 --- As far as I can see, the master branch of kvm.git is based upon v3.0. In fact none of the 3 commits mentioned above are contained in Linus tree.
Can you please test Linus tree (i.e the mainline kernel, currently at v3.1-rc3) and verify that it works (or doesn't work)?
Signature · 4 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are watching the assignee of the bug.
[Bug 39412] Win Vista and Win2K8 guests' network breaks down
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=39412
Jay Ren <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |CLOSED
Resolution| |CODE_FIX--- Comment #8 from Jay Ren <[email protected]> 2011-08-29 08:48:53 --- I tried this on Linus' linux 3.1.0-rc4 tree and found this bug got fixed. The commit I tried is below.
commit c6a389f123b9f68d605bb7e0f9b32ec1e3e14132
Author: Linus Torvalds <[email protected]> Date: Sun Aug 28 21:16:01 2011 -0700
Signature · 4 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are watching the assignee of the bug.
[Bug 39412] Win Vista and Win2K8 guests' network breaks down
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=39412
Florian Mickler <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|CODE_FIX |UNREPRODUCIBLE
--- Comment #9 from Florian Mickler <[email protected]> 2011-08-29 08:53:53 --- Thank you.
[Because we don't exactly know what fixed it, our rule is to close this as unreproducible.]
Signature · 4 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are watching the assignee of the bug.
[Bug 39412] Win Vista and Win2K8 guests' network breaks down
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=39412
--- Comment #10 from Rafael J. Wysocki <[email protected]> 2011-08-29 16:23:57 ---
Quoted 32 lines · Yongjie
I've verified this bug in Linus' tree 3.1.0-rc4. It got fixed, so I closed the bug. The commit I tried is below.
commitc6a389f123b9f68d605bb7e0f9b32ec1e3e14132Author: Linus Torvalds <[email protected]> Date: Sun Aug 28 21:16:01 2011 -0700Best Regards,
Yongjie Ren (Jay)Quoted 21 lines
-----Original Message-----
From: Rafael J. Wysocki [mailto:[email protected]]
Sent: Monday, August 29, 2011 3:01 AM
To: Linux Kernel Mailing List
Cc: Kernel Testers List; Maciej Rutecki; Florian Mickler; Avi Kivity; Ren, Yongjie; Marcelo Tosatti; Stefan Hajnoczi
Subject: [Bug #39412] Win Vista and Win2K8 guests' network breaks downThis message has been generated automatically as a part of a report of regressions introduced between 2.6.39 and 3.0.
The following bug entry is on the current list of known regressions introduced between 2.6.39 and 3.0. Please verify if it still should be listed and let the tracking team know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=39412
Subject : Win Vista and Win2K8 guests' network breaks down
Submitter : Jay Ren <[email protected]>
Date : 2011-07-15 15:31 (45 days old)
Signature · 4 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are watching the assignee of the bug.