Bug 744

Summary: Не запускается сетевой Консультант+
Product: WINE@Etersoft Reporter: Sergey Lebedev <lebedev.v.sergey>
Component: Сетевые возможности ; TCP/IPAssignee: Vitaly Lipatov <lav>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P5 CC: baraka
Version: 1.0.7   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Заявки RT: Связано с:
Дата напоминания:
Bug Depends on:    
Bug Blocks: 584, 767    

Description Sergey Lebedev 2007-09-12 20:20:59 MSD
После выполнения всех описанных действий на http://www.etersoft.ru/content/view/56/#x33, получаю ошибку W23 #6, за ней 105.

сервер alt server 4.0, с samba
rpm -q samba
samba-3.0.25-alt1
в ovz-контейнере.

по etersoft linux-cifs подключен удаленный диск. В winecfg указано, что он сетевой , для CONS.EXE выбрана windows98.

service etersafe status
etersafed status:
        etersafed is running
Test connection to...getting data
. . . . . . . . . . 
1.117

BIOS HASH: 83 4D 32 B0 1F 17 B4 C2 AF B2 73 A5 A9 B0 7A 0C D3 EF 8B C7 0A C9 C3 51 53 C1 EB 08 03 DB 8B 8F 
CPU ID: 82 0F 04 00 FF FB 8B 17 

service linux-cifs status
CIFS module status:
        kernel module cifs is loaded (manually built)
Etersoft extensions for CIFS enabled...                                                                                          [ DONE ]
Linux extensions for CIFS disabled...
Comment 1 Vitaly Lipatov 2007-09-12 23:40:25 MSD
Вот трейс по +file с нормально загружающимся CONSULT.VXD:

trace:file:CreateFileW L"c:\\windows\\system32\\CONSULT.VXD" GENERIC_READ FILE_SHARE_READ FILE_SHARE_WRITE  creation 3 attributes 0x80
trace:file:RtlDosPathNameToNtPathName_U (L"c:\\windows\\system32\\CONSULT.VXD",0x34f538,(nil),(nil))
trace:file:RtlGetFullPathName_U (L"c:\\windows\\system32\\CONSULT.VXD" 520 0x34f28c (nil))
trace:file:wine_nt_to_unix_file_name L"\\??\\C:\\windows\\system32\\CONSULT.VXD" -> "/home/wine/.wine-cons-net/dosdevices/c:/windows/system
trace:file:CreateFileW returning 0x1c
trace:file:ReadFile 0x1c 0x10c7f50 4096 0x34f5e0 (nil)
trace:file:ReadFile 0x1c 0x10c93a8 4096 0x34f5d0 (nil)
trace:file:CreateFileW L"\\\\.\\CONSULT.VXD" QUERY_ACCESS  creation 0 attributes 0x4000000
trace:file:RtlDosPathNameToNtPathName_U (L"C:\\veda9\\consult.vxd",0x34f128,(nil),(nil))
trace:file:RtlGetFullPathName_U (L"C:\\veda9\\consult.vxd" 520 0x34eeac (nil))
warn:file:wine_nt_to_unix_file_name L"consult.vxd" not found in /home/wine/.wine-cons-net/dosdevices/c:/veda9
trace:file:RtlDosPathNameToNtPathName_U (L".\\consult.vxd",0x34f128,(nil),(nil))
trace:file:RtlGetFullPathName_U (L".\\consult.vxd" 520 0x34eeac (nil))
warn:file:wine_nt_to_unix_file_name L"consult.vxd" not found in /home/wine/.wine-cons-net/dosdevices/c:/ConsUserData
trace:file:RtlDosPathNameToNtPathName_U (L"c:\\windows\\system32\\consult.vxd",0x34f128,(nil),(nil))
trace:file:RtlGetFullPathName_U (L"c:\\windows\\system32\\consult.vxd" 520 0x34eeac (nil))
warn:file:wine_nt_to_unix_file_name L"\\??\\C:\\windows\\system32\\consult.vxd" -> "/home/wine/.wine-cons-net/dosdevices/c:/windows/system3
trace:file:wine_nt_to_unix_file_name L"\\??\\C:\\windows\\system32\\consult.vxd" -> "/home/wine/.wine-cons-net/dosdevices/c:/windows/system
trace:file:RtlGetFullPathName_U (L"c:\\windows\\system32\\consult.vxd" 64 0x34f24c 0x34f1e0)
trace:file:RtlDosPathNameToNtPathName_U (L"C:\\windows\\system32\\consult.vxd",0x34f1d0,(nil),(nil))
trace:file:RtlGetFullPathName_U (L"C:\\windows\\system32\\consult.vxd" 520 0x34ef6c (nil))
warn:file:wine_nt_to_unix_file_name L"\\??\\C:\\windows\\system32\\consult.vxd" -> "/home/wine/.wine-cons-net/dosdevices/c:/windows/system3
trace:file:wine_nt_to_unix_file_name L"\\??\\C:\\windows\\system32\\consult.vxd" -> "/home/wine/.wine-cons-net/dosdevices/c:/windows/system
trace:file:RtlDosPathNameToNtPathName_U (L"C:\\windows\\system32\\consult.vxd",0x34efd0,(nil),(nil))
trace:file:RtlGetFullPathName_U (L"C:\\windows\\system32\\consult.vxd" 520 0x34ed5c (nil))
warn:file:wine_nt_to_unix_file_name L"\\??\\C:\\windows\\system32\\consult.vxd" -> "/home/wine/.wine-cons-net/dosdevices/c:/windows/system3
trace:file:wine_nt_to_unix_file_name L"\\??\\C:\\windows\\system32\\consult.vxd" -> "/home/wine/.wine-cons-net/dosdevices/c:/windows/system
trace:file:wine_nt_to_unix_file_name L"\\??\\unix/tmp/.wine-528/server-803-120001/consult.vxd" -> "/tmp/.wine-528/server-803-120001/consult
trace:file:CreateFileW returning 0x5c


Вот вывод у тебя, неработающего:
trace:file:CreateFileW L"c:\\windows\\system32\\CONSULT.VXD" GENERIC_READ FILE_SHARE_READ FILE_SHARE_WRITE  creation 3 attributes 0x80
trace:file:RtlDosPathNameToNtPathName_U (L"c:\\windows\\system32\\CONSULT.VXD",0x34f538,(nil),(nil))
trace:file:RtlGetFullPathName_U (L"c:\\windows\\system32\\CONSULT.VXD" 520 0x34f28c (nil))
trace:file:wine_nt_to_unix_file_name L"\\??\\C:\\windows\\system32\\CONSULT.VXD" -> "/home/lsv/.wine/dosdevices/c:/windows/system32/CONSULT
trace:file:CreateFileW returning 0x1c
trace:file:ReadFile 0x1c 0x10c7f50 4096 0x34f5e0 (nil)
trace:file:ReadFile 0x1c 0x10c93a8 4096 0x34f5d0 (nil)
trace:file:CreateFileW L"\\\\.\\CONSULT.VXD" QUERY_ACCESS  creation 0 attributes 0x4000000
trace:file:RtlDosPathNameToNtPathName_U (L"K:\\veda9\\consult.vxd",0x34f128,(nil),(nil))
trace:file:RtlGetFullPathName_U (L"K:\\veda9\\consult.vxd" 520 0x34eeac (nil))
warn:file:wine_nt_to_unix_file_name L"consult.vxd" not found in /home/lsv/.wine/dosdevices/k:/veda9
trace:file:RtlDosPathNameToNtPathName_U (L".\\consult.vxd",0x34f128,(nil),(nil))
trace:file:RtlGetFullPathName_U (L".\\consult.vxd" 520 0x34eeac (nil))
warn:file:wine_nt_to_unix_file_name L"consult.vxd" not found in /home/lsv/.wine/dosdevices/c:/ConsUserData
trace:file:RtlDosPathNameToNtPathName_U (L"c:\\windows\\system32\\consult.vxd",0x34f128,(nil),(nil))
trace:file:RtlGetFullPathName_U (L"c:\\windows\\system32\\consult.vxd" 520 0x34eeac (nil))
warn:file:wine_nt_to_unix_file_name L"\\??\\C:\\windows\\system32\\consult.vxd" -> "/home/lsv/.wine/dosdevices/c:/windows/system32/CONSULT.
trace:file:wine_nt_to_unix_file_name L"\\??\\C:\\windows\\system32\\consult.vxd" -> "/home/lsv/.wine/dosdevices/c:/windows/system32/CONSULT
trace:file:RtlGetFullPathName_U (L"c:\\windows\\system32\\consult.vxd" 64 0x34f24c 0x34f1e0)
trace:file:RtlDosPathNameToNtPathName_U (L"C:\\windows\\system32\\consult.vxd",0x34f1d0,(nil),(nil))
trace:file:RtlGetFullPathName_U (L"C:\\windows\\system32\\consult.vxd" 520 0x34ef6c (nil))
warn:file:wine_nt_to_unix_file_name L"\\??\\C:\\windows\\system32\\consult.vxd" -> "/home/lsv/.wine/dosdevices/c:/windows/system32/CONSULT.
trace:file:wine_nt_to_unix_file_name L"\\??\\C:\\windows\\system32\\consult.vxd" -> "/home/lsv/.wine/dosdevices/c:/windows/system32/CONSULT
trace:file:RtlDosPathNameToNtPathName_U (L"C:\\windows\\system32\\consult.vxd",0x34efd0,(nil),(nil))
trace:file:RtlGetFullPathName_U (L"C:\\windows\\system32\\consult.vxd" 520 0x34ed5c (nil))
warn:file:wine_nt_to_unix_file_name L"\\??\\C:\\windows\\system32\\consult.vxd" -> "/home/lsv/.wine/dosdevices/c:/windows/system32/CONSULT.
trace:file:wine_nt_to_unix_file_name L"\\??\\C:\\windows\\system32\\consult.vxd" -> "/home/lsv/.wine/dosdevices/c:/windows/system32/CONSULT
trace:file:CreateFileW returning 0xffffffff

Получается, устройство не создаётся. Жду вывод 
$ winediag
Comment 2 Sergey Lebedev 2007-09-13 16:43:19 MSD
Проблема решена. В системе стояли библиотеки от самособранного wine. Удаление всех компонентов содержащих wine, вынос .wine wine_c. Установка следующих компонентов 
haspd-2.0-alt0.M40.3.i586.rpm
haspd-modules-2.0-alt0.M40.3.i586.rpm
libwine-20070621-alt0.M40.1.i586.rpm
linux-cifs-1.48a-alt0.M40.7.i586.rpm
wine-20070621-alt0.M40.1.i586.rpm
wine-etersoft-1.0.network-alt0.M40.7.i586.rpm
И далее по инструкции http://www.etersoft.ru/content/view/56/1/. Всё благополучно заработало.