[Wine]Cluster size not supported

Rein Klazes wijn at wanadoo.nl
Fri Dec 31 07:14:31 CST 2004


On Thu, 30 Dec 2004 21:31:41 -0500, you wrote:

> % df
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/hda1             15480832   3031468  11662984  21% /
> 
> I was running ext2.
> 
> I had lba32 specified already in lilo.conf
> 
> i'm running debian testing/sarge
> 
> OK, I tried upgrading to ext2 to ext3
> % sudo tune2fs -j /dev/hda1
> % sudo emacs /etc/fstab   [ changed / from ext2 to ext3 ]
> [rebooted]
> 
> I still have the same error. Here's what I get now:
> % wine fds.exe
> ret 1 gle 0
> sectpclust 1 bytpersect 1104460065 freeclust 1 totalclust 1
> sectpclust 1 bytpersect 41d4b921 freeclust 1 totalclust 1
> 

OK, don't try to 'fix' your system for now. I appreciate the chance to
debug this.

I have attached a patch that adds some more debugging output. Can you
apply it and send me the output of 'wine fds.exe' ?

To apply:

- cd to the top of the wine source tree
- patch the source with "patch -p1 < debugstavfs.diff"
- do a make and make install as usual. There should not be any compile
errors or warnings when compiling dlls/ntdll/file.c .

After this you may want to reverse the patch. Do the same steps, but add
a -R option to patch.

Thanks,

Rein.
-------------- next part --------------
--- wine/dlls/ntdll/file.c	2004-12-02 09:23:47.000000000 +0100
+++ mywine/dlls/ntdll/file.c	2004-12-31 13:52:44.000000000 +0100
@@ -1317,6 +1317,19 @@ NTSTATUS WINAPI NtQueryVolumeInformation
             if (fstatvfs( fd, &stvfs ) < 0) io->u.Status = FILE_GetNtStatus();
             else
             {
+            MESSAGE("fstatvfs is %savailable\n",
+#ifndef HAVE_FSTATVFS
+                    "not "
+#else
+                    ""
+#endif
+                   );
+            MESSAGE(" bsize %lu frsize %lu blocks %llx bfree %llx bavail %llx\n",
+                    stvfs.f_bsize,
+                    stvfs.f_frsize,
+                    stvfs.f_blocks,
+                    stvfs.f_bfree,
+                    stvfs.f_bavail);
                 info->TotalAllocationUnits.QuadPart = stvfs.f_blocks;
                 info->AvailableAllocationUnits.QuadPart = stvfs.f_bavail;
                 info->SectorsPerAllocationUnit = 1;


More information about the wine-users mailing list