Hi, After finding a workaround for my first problem, I now seem to have a problem with the install. Although Ivan suggested to do a windows install and copy over the stuff, I still want to try and do it all via wine (for learning purposes and maybe even make WINE better). During the install process it tries to copy a large file (130 MB) from the CD to the installation directory. This always fails after writing 21430272 bytes of data. Is this some magic number ? Is there a way to (better) debug copying of files?. --debugmsg +file gives: trace:file:SetFileAttributesW (L"C:\\Program Files\\Microsoft Games\\Zoo Tycoon\\animals.ztd",20) trace:file:CreateFileW L"C:\\Program Files\\Microsoft Games\\Zoo Tycoon\\animals.ztd" GENERIC_WRITE FILE_SHARE_READ CREATE_ALWAYS attributes 0x80 trace:file:CreateFileW returning 0xcc trace:file:ReadFile 0xb0 0x40f22610 65536 0x4194ad00 (nil) trace:file:WriteFile 0xcc 0x40f22610 65536 0x4194ad00 (nil) trace:file:ReadFile 0xb0 0x40f22610 65536 0x4194ad00 (nil) trace:file:WriteFile 0xcc 0x40f22610 65536 0x4194ad00 (nil) trace:file:ReadFile 0xb0 0x40f22610 65536 0x4194ad00 (nil) trace:file:WriteFile 0xcc 0x40f22610 65536 0x4194ad00 (nil) trace:file:ReadFile 0xb0 0x40f22610 65536 0x4194ad00 (nil) trace:file:WriteFile 0xcc 0x40f22610 65536 0x4194ad00 (nil) trace:file:ReadFile 0xb0 0x40f22610 65536 0x4194ad00 (nil) trace:file:WriteFile 0xcc 0x40f22610 65536 0x4194ad00 (nil) and this continues cause the install hangs. Cheers, Paul.
You may want to consider opening a bug report about this. Ivan.
On Sat, 13 Mar 2004 16:02:22 +0100 (CET), you wrote:> > During the install process it tries to copy a large file (130 MB) from the > CD to the installation directory. This always fails after writing 21430272 > bytes of data. Is this some magic number ?[snip]> trace:file:ReadFile 0xb0 0x40f22610 65536 0x4194ad00 (nil) > trace:file:WriteFile 0xcc 0x40f22610 65536 0x4194ad00 (nil) > > and this continues cause the install hangs.I would expect something interesting to happen after 327 of these read/write pairs (327 x 65536 = 21430272 ) If the +file does not show it, perhaps try +file,+relay. Rein. -- Rein Klazes rklazes@xs4all.nl
>During the install process it tries to copy a large file (130 MB) from the >CD to the installation directory. This always fails after writing 21430272 >bytes of data. Is this some magic number ? > >Is there a way to (better) debug copying of files?. --debugmsg +file gives: > >trace:file:SetFileAttributesW (L"C:\\Program Files\\Microsoft Games\\Zoo >Tycoon\\animals.ztd",20) >trace:file:CreateFileW L"C:\\Program Files\\Microsoft Games\\Zoo >Tycoon\\animals.ztd" GENERIC_WRITE FILE_SHARE_READ CREATE_ALWAYS >attributes 0x80 >trace:file:CreateFileW returning 0xcc >trace:file:ReadFile 0xb0 0x40f22610 65536 0x4194ad00 (nil) >trace:file:WriteFile 0xcc 0x40f22610 65536 0x4194ad00 (nil)If you installed wine from source you can change wine itself to output some more debug information. Just enter printf("whatever %d\n", var); wherever you want to inspect some variables or see where wine went through. bye Fab
At 2004-03-15 11:20 +0100, you wrote:> >During the install process it tries to copy a large file (130 MB) from the > >CD to the installation directory. This always fails after writing 21430272 > >bytes of data. Is this some magic number ? > > > >Is there a way to (better) debug copying of files?. --debugmsg +file gives: > > > >trace:file:SetFileAttributesW (L"C:\\Program Files\\Microsoft Games\\Zoo > >Tycoon\\animals.ztd",20) > >trace:file:CreateFileW L"C:\\Program Files\\Microsoft Games\\Zoo > >Tycoon\\animals.ztd" GENERIC_WRITE FILE_SHARE_READ CREATE_ALWAYS > >attributes 0x80 > >trace:file:CreateFileW returning 0xcc > >trace:file:ReadFile 0xb0 0x40f22610 65536 0x4194ad00 (nil) > >trace:file:WriteFile 0xcc 0x40f22610 65536 0x4194ad00 (nil) > >If you installed wine from source you can change wine itself to output >some more debug information. Just enter printf("whatever %d\n", var); >wherever you want to inspect some variables or see where wine went >through. > >bye Fab >Before you get into some serious work. Take a small diversion and check your ulimit. It just might save a lot of time. Geoff>_______________________________________________ >wine-users mailing list >wine-users@winehq.org >http://www.winehq.org/mailman/listinfo/wine-users
> On Sat, 13 Mar 2004 16:02:22 +0100 (CET), you wrote: > >> >> During the install process it tries to copy a large file (130 MB) from >> the >> CD to the installation directory. This always fails after writing >> 21430272 >> bytes of data. Is this some magic number ? > > [snip] > >> trace:file:ReadFile 0xb0 0x40f22610 65536 0x4194ad00 (nil) >> trace:file:WriteFile 0xcc 0x40f22610 65536 0x4194ad00 (nil) >> >> and this continues cause the install hangs. > > I would expect something interesting to happen after 327 of these > read/write pairs (327 x 65536 = 21430272 ) > > If the +file does not show it, perhaps try +file,+relay. > > Rein. > -- > Rein Klazes > rklazes@xs4all.nl >Thanks for the tip but +relay shouts out so much it hurt my eyes hurt and it seems to be in some endless loop ? I left it for 15 minutes and still no first button to push. ulimit btw is ok. Any other tips ? How can I find out what procedure/dll/call is calling the ReadFile and WriteFile ? cheers, Paul.
>Thanks for the tip but +relay shouts out so much it hurt my eyes hurt and >it seems to be in some endless loop ? I left it for 15 minutes and still >no first button to push. > >ulimit btw is ok. > >Any other tips ? How can I find out what procedure/dll/call is calling the >ReadFile and WriteFile ?You can start it with winedbg and then set a breakpoint into Read/WriteFile. But I guess these functions will also be called for other reasons, so you may have to continue a few times until you have your case. bye Fabi
Hi, I have a question. When I look at the logfile (+file,+relay) I see the following (numbers are examples): Write File 1 (size = x*32768+2768): Write * blocks of 32768 Last block is for example 2768 bytes Write File 2 (size = x*32768): Write first block of (32768-2768) = 30000 bytes Write block of 32768 Write block of 2768 bytes Write File 3 (size = 12000): Write block of 12000 bytes Write File 4 (size = 17000): Write block of 17000 bytes Write File 5 (size = 1435): Write block of 1435 bytes Write File 6 (size = ?: Write block of (32768-12000-17000-1435) = 2333 bytes Write blocks of 32768 Write a block at the end All writes are done to the same filedescriptor (coincedence ?) returned by CreateFileW. I also cannot find a close of the filedescriptor. Is the above normal behaviour ? Cheers, Paul.
On Thu, 18 Mar 2004 17:06:56 +0100 (CET), you wrote:> Hi, > > I have a question. When I look at the logfile (+file,+relay) I see the > following (numbers are examples): > > Write File 1 (size = x*32768+2768): > > Write * blocks of 32768 > Last block is for example 2768 bytes > > Write File 2 (size = x*32768): > Write first block of (32768-2768) = 30000 bytes > Write block of 32768 > Write block of 2768 bytes > > Write File 3 (size = 12000): > Write block of 12000 bytes > > Write File 4 (size = 17000): > Write block of 17000 bytes > > Write File 5 (size = 1435): > Write block of 1435 bytes > > Write File 6 (size = ?: > Write block of (32768-12000-17000-1435) = 2333 bytes > Write blocks of 32768 > Write a block at the endThat looks weird. Can you send me the part of the log where this happens.?> > All writes are done to the same filedescriptor (coincedence ?) returned by > CreateFileW. I also cannot find a close of the filedescriptor.They are called handles, if closed they are likely to be reused the next time a file is opened. Is there also no CloseHandle() ? Rein. -- Rein Klazes rklazes@xs4all.nl
> I will try and get more info, but I just thought I mentioned the 8MB thing.Well, this is a problem common to lots of Microsoft demo installers. The old installer they used (The one that installs, for example, Motocross Madness 1.0 trial or Age of Empires 2 Trial) works fine, but the new one they've used for recent games has big problems with wine, and basically never works. I've reported this to bugs.winehq.com, the bug numbers are 998, 991, 1408, 1409, 1671. Ivan.