http://bugs.winehq.org/show_bug.cgi?id=13004
Summary: 3Com Descovery Util do not see any network interfaces Product: Wine Version: 0.9.58. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: inpos@yandex.ru
In setup window of 3Com Descovery (v.5.0, v.6.0) listbox of available network interfaces have only one option: "none". And setup does not continue with this option. Wine does not output any debug messages.
http://bugs.winehq.org/show_bug.cgi?id=13004
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2008-05-06 02:59:27 --- Wine doesn't support Windows drivers and related tools.
http://bugs.winehq.org/show_bug.cgi?id=13004
--- Comment #2 from Juan Lang juan_lang@yahoo.com 2008-05-07 09:27:27 --- This isn't a driver product, AFAIK.
Can you attach a +setupapi trace of the app? Is there a download URL for it?
http://bugs.winehq.org/show_bug.cgi?id=13004
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |ftp://ftp.3com.com/pub/netwo | |rkservers/networkstorage/Dis | |covery6.0.exe Keywords| |download
--- Comment #3 from Juan Lang juan_lang@yahoo.com 2008-05-07 09:31:49 --- I found a download link. Also, it's definitely not a setupapi bug. I think it may be a bug in iphlpapi, as a +iphlpapi log yields:
trace:iphlpapi:GetAdaptersInfo pAdapterInfo 0x1115b8, pOutBufLen 0x7ebdc624 trace:iphlpapi:GetAdaptersInfo returning 111 trace:iphlpapi:GetAdaptersInfo pAdapterInfo 0x1115b8, pOutBufLen 0x7ebdc624 trace:iphlpapi:GetAdaptersInfo returning 0 trace:iphlpapi:GetAdaptersInfo pAdapterInfo 0x11d8e8, pOutBufLen 0x33f784 trace:iphlpapi:GetAdaptersInfo returning 111 trace:iphlpapi:GetAdaptersInfo pAdapterInfo 0x11d8e8, pOutBufLen 0x33f784 trace:iphlpapi:GetAdaptersInfo returning 0
So it's using GetAdaptersInfo, anyway. Unfortunately there's no iphlpapi component.
http://bugs.winehq.org/show_bug.cgi?id=13004
--- Comment #4 from Juan Lang juan_lang@yahoo.com 2008-05-07 10:07:51 --- A quirk of the app is that it doesn't scan the interfaces every time the app starts. If the registry key HKLM\System\CurrentControlSet\Control\ServiceCurrent exists, it doesn't rescan. Deleting this key will make it scan again.
http://bugs.winehq.org/show_bug.cgi?id=13004
--- Comment #5 from Juan Lang juan_lang@yahoo.com 2008-05-07 10:11:59 --- Created an attachment (id=12799) --> (http://bugs.winehq.org/attachment.cgi?id=12799) +relay log
More digging: the app depends on inetmib1.dll to exist. From a +relay log (attached):
0009:Call KERNEL32.LoadLibraryA(10005064 "inetmib1.dll") ret=10001f95 0009:Ret KERNEL32.LoadLibraryA() retval=00000000 ret=10001f95
Adding a stub inetmib1.dll causes a crash with a call to inetmib1:SnmpExtensionInit.
http://bugs.winehq.org/show_bug.cgi?id=13004
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |juan_lang@yahoo.com Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #6 from Juan Lang juan_lang@yahoo.com 2008-05-07 10:36:54 --- Confirming bug.
http://bugs.winehq.org/show_bug.cgi?id=13004
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
--- Comment #7 from Juan Lang juan_lang@yahoo.com 2008-05-08 10:33:35 --- I've sent a series of patches: http://www.winehq.org/pipermail/wine-patches/2008-May/054711.html http://www.winehq.org/pipermail/wine-patches/2008-May/054712.html http://www.winehq.org/pipermail/wine-patches/2008-May/054713.html http://www.winehq.org/pipermail/wine-patches/2008-May/054714.html http://www.winehq.org/pipermail/wine-patches/2008-May/054715.html http://www.winehq.org/pipermail/wine-patches/2008-May/054716.html http://www.winehq.org/pipermail/wine-patches/2008-May/054717.html http://www.winehq.org/pipermail/wine-patches/2008-May/054718.html http://www.winehq.org/pipermail/wine-patches/2008-May/054719.html http://www.winehq.org/pipermail/wine-patches/2008-May/054720.html http://www.winehq.org/pipermail/wine-patches/2008-May/054721.html http://www.winehq.org/pipermail/wine-patches/2008-May/054722.html
You can get by with the first 5 only if you prefer.
This series of patches will show a list of network interfaces in the combo box, but it'll tell you that none has a working IP address or that the link is down. A workaround is to change all references to dwOperStatus to dwAdminStatus in inetmib1. I'm unsure whether this is a bug in iphlpapi or inetmib1, and need to investigate in Windows before I send a fix.
http://bugs.winehq.org/show_bug.cgi?id=13004
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|wine-bugs@winehq.org |juan_lang@yahoo.com Status|ASSIGNED |NEW
--- Comment #8 from Juan Lang juan_lang@yahoo.com 2008-05-08 10:34:32 --- Taking bug.
http://bugs.winehq.org/show_bug.cgi?id=13004
--- Comment #9 from Juan Lang juan_lang@yahoo.com 2008-05-21 14:43:16 --- I have a set of patches to implement inetmib1, but it very likely won't get accepted until after Wine 1.0 is released. Contact me if you want a copy before then.
http://bugs.winehq.org/show_bug.cgi?id=13004
--- Comment #10 from Austin English austinenglish@gmail.com 2008-05-21 17:06:01 --- (In reply to comment #9)
I have a set of patches to implement inetmib1, but it very likely won't get accepted until after Wine 1.0 is released. Contact me if you want a copy before then.
Would you mind attaching them to this bug? Or are they the same patches you sent above?
http://bugs.winehq.org/show_bug.cgi?id=13004
--- Comment #11 from Juan Lang juan_lang@yahoo.com 2008-05-21 17:09:12 --- I don't mind (I'll do so later today), but the series is rather large. Not the same as before.
http://bugs.winehq.org/show_bug.cgi?id=13004
--- Comment #12 from Juan Lang juan_lang@yahoo.com 2008-05-21 22:50:21 --- Created an attachment (id=13230) --> (http://bugs.winehq.org/attachment.cgi?id=13230) tarball of patches
This set of patches implements inetmib1.dll, and allows the 3Com discovery tool to see the interfaces on my system. It tells me it can't find any 3Com hardware after that, but that's expected.
I'll send them to wine-patches once we're out of code freeze.
http://bugs.winehq.org/show_bug.cgi?id=13004
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #13 from Austin English austinenglish@gmail.com 2008-05-22 12:50:15 --- (In reply to comment #12)
Created an attachment (id=13230)
--> (http://bugs.winehq.org/attachment.cgi?id=13230) [details]
tarball of patches
This set of patches implements inetmib1.dll, and allows the 3Com discovery tool to see the interfaces on my system. It tells me it can't find any 3Com hardware after that, but that's expected.
I'll send them to wine-patches once we're out of code freeze.
Thanks!
http://bugs.winehq.org/show_bug.cgi?id=13004
--- Comment #14 from Juan Lang juan_lang@yahoo.com 2008-06-23 11:58:39 --- Patches sent, beginning here: http://www.winehq.org/pipermail/wine-patches/2008-June/056352.html
http://bugs.winehq.org/show_bug.cgi?id=13004
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #15 from Juan Lang juan_lang@yahoo.com 2008-06-25 10:52:47 --- This should now be fixed in today's git. Not all of my patches got in yet, but what's used by this app should be working.
http://bugs.winehq.org/show_bug.cgi?id=13004
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Alexandre Julliard julliard@winehq.org 2008-06-27 10:15:31 --- Closing bugs fixed in 1.1.0.