https://bugs.winehq.org/show_bug.cgi?id=39025
Bug ID: 39025 Summary: winecfg : no more available letters while scanning /etc/fstab Product: Wine Version: 1.7.48 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: programs Assignee: wine-bugs@winehq.org Reporter: manualinux@gmail.com Distribution: ---
Created attachment 51984 --> https://bugs.winehq.org/attachment.cgi?id=51984 Output of the command line
winecfg not create symbolic links of the mounting points of the devices when the command 'winecfg -d' in the command line is executed.
https://bugs.winehq.org/show_bug.cgi?id=39025
--- Comment #1 from Austin English austinenglish@gmail.com --- Could you attach your /etc/fstab and the output from 'mount' please?
https://bugs.winehq.org/show_bug.cgi?id=39025
--- Comment #2 from manualinux@gmail.com --- Created attachment 51993 --> https://bugs.winehq.org/attachment.cgi?id=51993 fstab content
https://bugs.winehq.org/show_bug.cgi?id=39025
--- Comment #3 from manualinux@gmail.com --- The devices are all mounted on startup. Until version 1.7.45 the command has worked without any problems. I put the version 1.7.48 because it's where I've tried, but most likely in the 1.7.46 and 1.7.47 not working. Write Wine installation manuals, and all put this command to enable the devices. Using Fluxbox. Example:
http://manualinux.eu/psp7.html
This command has always worked so far.
https://bugs.winehq.org/show_bug.cgi?id=39025
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
--- Comment #4 from Austin English austinenglish@gmail.com --- (In reply to manualinux from comment #3)
The devices are all mounted on startup. Until version 1.7.45 the command has worked without any problems. I put the version 1.7.48 because it's where I've tried, but most likely in the 1.7.46 and 1.7.47 not working.
Could you please run a regression test? http://wiki.winehq.org/RegressionTesting
https://bugs.winehq.org/show_bug.cgi?id=39025
--- Comment #5 from manualinux@gmail.com --- I compiled packages of different versions of wine and the results are as follows:
configuration parameters = ./configure --prefix=/opt/wine-${VERSION} --disable-tests --without-gstreamer dependencies = full
Compiler= Clang 3.6.2
wine-1.7.45 -> KO wine-1.7.44 -> KO wine-1.7.40 -> KO wine-1.7.35 -> KO
They worked before. I always use Clang to compile wine.
Compiler= GCC 5.2.0
wine-1.7.48 -> KO
Compiler= GCC 4.9.3
wine-1.7.48 -> KO
To verify that it is not a problem specific to my system, I tested on FreeBSD 10.1 (amd64), installing the package i386-wine-devel-1.7.47 and the command does not work either. With the 64-bit version, wine-staging-1.7.48, does not work either.
And I've also tested distributions precompiled packages.
Slackware 14.1
wine-1.7.47 -> OK
OpenMandriva 2014.2
wine-staging-1.7.42 -> hangs in the two modes (graphic and console)
OpenSUSE 13.2
wine-1.7.28 -> OK
https://bugs.winehq.org/show_bug.cgi?id=39025
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|regression |download, source
--- Comment #6 from Ken Sharp imwellcushtymelike@gmail.com --- ...so it isn't a regression at all?
https://bugs.winehq.org/show_bug.cgi?id=39025
--- Comment #7 from manualinux@gmail.com --- (In reply to Ken Sharp from comment #6)
...so it isn't a regression at all?
For my part I close this, but the problem is still there. I have nothing more to add.
Thanks for your attention.
https://bugs.winehq.org/show_bug.cgi?id=39025
--- Comment #8 from Bruno Jesus 00cpxxx@gmail.com --- It looks like you have more drives than it's possible to mount, winecfg error seems clear in saying that it is running out of letters.
Please attach the output of: WINEDEBUG=+winecfg winecfg -d &> log.txt
https://bugs.winehq.org/show_bug.cgi?id=39025
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #9 from super_man@post.com --- I think the driver letter maximum value has been hard coded into 32. I looked winecfg source code not so long ago.
https://bugs.winehq.org/show_bug.cgi?id=39025
--- Comment #10 from super_man@post.com --- http://source.winehq.org/git/wine.git/blob/797c037bff2f7621f5b3d632bd8993495...
It's lower than that.
struct drive drives[26]; /* one for each drive letter */
https://bugs.winehq.org/show_bug.cgi?id=39025
--- Comment #11 from Rosanne DiMesio dimesio@earthlink.net --- (In reply to super_man from comment #10)
http://source.winehq.org/git/wine.git/blob/ 797c037bff2f7621f5b3d632bd899349529d6b2b:/programs/winecfg/drive.c#l55
It's lower than that.
struct drive drives[26]; /* one for each drive letter */
There are only 26 letters in the English alphabet. Windows has the same limit on drive letters; above 26, you have to mount the volume to a directory.
https://bugs.winehq.org/show_bug.cgi?id=39025
--- Comment #12 from manualinux@gmail.com --- Created attachment 52033 --> https://bugs.winehq.org/attachment.cgi?id=52033 output WINEDEBUG=+winecfg winecfg -d
https://bugs.winehq.org/show_bug.cgi?id=39025
--- Comment #13 from manualinux@gmail.com --- (In reply to Bruno Jesus from comment #8)
It looks like you have more drives than it's possible to mount, winecfg error seems clear in saying that it is running out of letters.
Please attach the output of: WINEDEBUG=+winecfg winecfg -d &> log.txt
In graphics mode it works perfectly. In Slackware 14.1 with the same fstab the command works. In FreeBSD 10.1 (amd64) with another smaller fstab the command fails.
https://bugs.winehq.org/show_bug.cgi?id=39025
--- Comment #14 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to manualinux from comment #13)
In graphics mode it works perfectly. In Slackware 14.1 with the same fstab the command works. In FreeBSD 10.1 (amd64) with another smaller fstab the command fails.
Thanks, please also attach the same log when running graphically since it works for comparison.
The log is clear as expected, since Z is a special drive the last available letter is Y, so it reaches the drive limit at mount point "/dev/sdc2 /mnt/win_h". I expect the graphical mode to run a slightly different code path.
https://bugs.winehq.org/show_bug.cgi?id=39025
--- Comment #15 from manualinux@gmail.com --- Created attachment 52034 --> https://bugs.winehq.org/attachment.cgi?id=52034 output WINEDEBUG=+winecfg winecfg
https://bugs.winehq.org/show_bug.cgi?id=39025
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Summary|winecfg : no more available |winecfg inconsistency when |letters while scanning |running out of letters |/etc/fstab |while mapping drives in GUI | |and console methods Ever confirmed|0 |1
--- Comment #16 from Bruno Jesus 00cpxxx@gmail.com --- Ok, thanks again. As expected wine is running out of letters in both console and GUI modes. The difference is that when run in GUI mode it will always apply the drive changes even if not all drives could be mapped, while in the console mode (-d) it will only apply the changes if all drives could be mapped.
So we have a bug because there is an inconsistency between the console and GUI. Should we change the GUI or console? That requires some discussion.