Re: mkpasswd (434): [31] A device attached to the system is not functioning.
On 8/7/2010 4:46 PM, Linda Walsh wrote: I'm willing to try again if anything has improved. But there were also issues about me signing off contracts to Redhat or something -- not something normal to most open source projects...and that was a bit of a put off as well. Has anything changed? I believe you are confused. There are no contracts involved to build Cygwin. You would be asked to fill out an assignment form if you're contributing anything of significant amount back (with what constitutes significant being defined by Red Hat). I won't speculate about the particular conversation you refer to and how this came up or to what it was referring specifically. But if you're just looking for instructions on building Cygwin, they're in the FAQ: http://cygwin.com/faq/faq-nochunks.html#faq.programming.building-cygwin I'll let you be the judge of whether anything there has changed from the last time you tried to build the DLL. It is, however, worth noting that building the DLL is *not* necessary to build mkpasswd. Certainly it's easiest if you just grab the source for everything from CVS but if you're just looking to be able to debug your mkpasswd issue, I'd recommend foregoing any efforts, at least at the moment, to build the Cygwin DLL. You won't need to do that to investigate the problem with which you started this thread. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: mkpasswd (434): [31] A device attached to the system is not functioning.
Larry Hall (Cygwin) wrote: It's possible, sure. I expect it's pretty obvious where you might want to make such a change in mkpasswd.c if you're so inclined. --- Inclined is FAR from the issue. I've tried to build cygwin at least 3 times and never been able to get it to make. It's a non-starter. There are no build instructions laying out what is needed to build it. There seems to be some presumption about what I have in my environment, that just isn't so. I mentioned it each time, but received no response -- as though I'm just expected to know -- which is the same problem -- assumption of some environment that I don't have. Or are there other programs in windows that would try to print out the same information? I.e. say some variant of the net or netsh commands? On linux, I can try debugging with the 'net' command and it's various outputs, but I don't know what I'd use here to do the same. I'm sure. The APIs in use aren't only for Cygwin. I don't know of any utility that you can use, off the top of my head, that would provide better insight than debugging through the code. I tried a trace (and printed in my last report) of mkpasswd -- but couldn't even see what syscall it was that was failing! All I got was one of your fellow developer-children that went into some rant about things in my environment that made absolutely no difference to the issue at hand. Purely a waste of time trying to follow his insulting rant advice. I've tried building things from cygwin before and never had any luck just satisfying the dependencies, so that's been a non-starter for me. Perhaps it's time to try again. In this case anyway, you wouldn't need to build more than 'mkpasswd'. Shouldn't be too hard if you're used to building any software. Sounds like you've done some of this before but I may be misinterpreting. I build software on linux all the time. I check things out from source as well as from tar modules. I rarely have problems building when the prerequisites are spelled out...like must have 'foobar- headers (or devel package), or must have 'snorpsnip' util installed... That wasn't the case when I tried building anything cygwin. When I asked about any documentation on such prerequisites, I believe I was told I could submit the documentation I needed myself (or some such verbage) -- which I took too mean go Fiddle yourself. :-/ I'm willing to try again if anything has improved. But there were also issues about me signing off contracts to Redhat or something -- not something normal to most open source projects...and that was a bit of a put off as well. Has anything changed? For that matter, does cygwin build on linux, or is that more of a pain? Since I assume it's a large project, my large build machine is linux, though I've gotten a fairly good Windows machine since last time I tried building. I hope the make is amenable to make -j? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: mkpasswd (434): [31] A device attached to the system is not functioning.
On Sat, Aug 07, 2010 at 01:46:12PM -0700, Linda Walsh wrote: Larry Hall (Cygwin) wrote: It's possible, sure. I expect it's pretty obvious where you might want to make such a change in mkpasswd.c if you're so inclined. Inclined is FAR from the issue. I've tried to build cygwin at least 3 times and never been able to get it to make. It's a non-starter. There are no build instructions laying out what is needed to build it. There seems to be some presumption about what I have in my environment, that just isn't so. I mentioned it each time, but received no response -- as though I'm just expected to know -- which is the same problem -- assumption of some environment that I don't have. You keep mentioning this as if you're expecting a response which will provide you with pinpoint instructions to deal with your situation without the requirement of providing little things like error messages. Non-starter is not a bug report. We do have a FAQ about building Cygwin so if it is not complete then what you *should* be doing is offering suggestions about what is missing rather than just repeated fact-free I can't build it complaintes here. cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: mkpasswd (434): [31] A device attached to the system is not functioning.
On 7/30/2010 6:33 AM, Larry Hall (Cygwin) wrote: On 7/30/2010 3:14 AM, Linda Walsh wrote: This is still a problem. /bin mkpasswd SYSTEM:*:18:544:,S-1-5-18:: LocalService:*:19:544:U-NT AUTHORITY\LocalService,S-1-5-19:: NetworkService:*:20:544:U-NT AUTHORITY\NetworkService,S-1-5-20:: Administrators:*:544:544:,S-1-5-32-544:: mkpasswd (434): [31] A device attached to the system is not functioning. /bin Looking at the code (which you can find here http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/utils/mkpasswd.c?rev=1.54content-type=text/x-cvsweb-markupcvsroot=src), it appears either NetUserGetInfo() or NetUserEnum() is failing. Seems like a strange error message but perhaps it makes more sense in context. Since I cannot reproduce it, I cannot be of more help. Note: mkgroup doesn't give an error message. Why mkpasswd does and mkgroup does not might be pertinent -- don't they use similar mechanisms? What do they do different? Because they are looking for different information. See http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/utils/mkgroup.c?rev=1.47content-type=text/x-cvsweb-markupcvsroot=src There's lots of places where error results are printed out without saying what call they are referring to. Since I'm not the only one with this problem, is it possible to have error messages also mention what call returned the error? - maybe print out any useful (human interpretable) parameters? Or are there other programs in windows that would try to print out the same information? I.e. say some variant of the net or netsh commands? On linux, I can try debugging with the 'net' command and it's various outputs, but I don't know what I'd use here to do the same. I've tried building things from cygwin before and never had any luck just satisfying the dependencies, so that's been a non-starter for me. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: mkpasswd (434): [31] A device attached to the system is not functioning.
On 8/2/2010 7:19 PM, Linda Walsh wrote: On 7/30/2010 6:33 AM, Larry Hall (Cygwin) wrote: On 7/30/2010 3:14 AM, Linda Walsh wrote: This is still a problem. /bin mkpasswd SYSTEM:*:18:544:,S-1-5-18:: LocalService:*:19:544:U-NT AUTHORITY\LocalService,S-1-5-19:: NetworkService:*:20:544:U-NT AUTHORITY\NetworkService,S-1-5-20:: Administrators:*:544:544:,S-1-5-32-544:: mkpasswd (434): [31] A device attached to the system is not functioning. /bin Looking at the code (which you can find here http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/utils/mkpasswd.c?rev=1.54content-type=text/x-cvsweb-markupcvsroot=src), it appears either NetUserGetInfo() or NetUserEnum() is failing. Seems like a strange error message but perhaps it makes more sense in context. Since I cannot reproduce it, I cannot be of more help. Note: mkgroup doesn't give an error message. Why mkpasswd does and mkgroup does not might be pertinent -- don't they use similar mechanisms? What do they do different? Because they are looking for different information. See http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/utils/mkgroup.c?rev=1.47content-type=text/x-cvsweb-markupcvsroot=src There's lots of places where error results are printed out without saying what call they are referring to. Since I'm not the only one with this problem, is it possible to have error messages also mention what call returned the error? - maybe print out any useful (human interpretable) parameters? It's possible, sure. I expect it's pretty obvious where you might want to make such a change in mkpasswd.c if you're so inclined. Or are there other programs in windows that would try to print out the same information? I.e. say some variant of the net or netsh commands? On linux, I can try debugging with the 'net' command and it's various outputs, but I don't know what I'd use here to do the same. I'm sure. The APIs in use aren't only for Cygwin. I don't know of any utility that you can use, off the top of my head, that would provide better insight than debugging through the code. I've tried building things from cygwin before and never had any luck just satisfying the dependencies, so that's been a non-starter for me. Perhaps it's time to try again. In this case anyway, you wouldn't need to build more than 'mkpasswd'. Shouldn't be too hard if you're used to building any software. Sounds like you've done some of this before but I may be misinterpreting. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: mkpasswd (434): [31] A device attached to the system is not functioning.
On 7/30/2010 3:14 AM, Linda Walsh wrote: This is still a problem. /bin mkpasswd SYSTEM:*:18:544:,S-1-5-18:: LocalService:*:19:544:U-NT AUTHORITY\LocalService,S-1-5-19:: NetworkService:*:20:544:U-NT AUTHORITY\NetworkService,S-1-5-20:: Administrators:*:544:544:,S-1-5-32-544:: mkpasswd (434): [31] A device attached to the system is not functioning. /bin Looking at the code (which you can find here http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/utils/mkpasswd.c?rev=1.54content-type=text/x-cvsweb-markupcvsroot=src), it appears either NetUserGetInfo() or NetUserEnum() is failing. Seems like a strange error message but perhaps it makes more sense in context. Since I cannot reproduce it, I cannot be of more help. Note: mkgroup doesn't give an error message. Why mkpasswd does and mkgroup does not might be pertinent -- don't they use similar mechanisms? What do they do different? Because they are looking for different information. See http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/utils/mkgroup.c?rev=1.47content-type=text/x-cvsweb-markupcvsroot=src -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: DomainUser homedir should be ? = probem: mkpasswd: (434): [31] A device attached to the system is not functioning.
2010/7/13 Linda Walsh cyg...@tlinx.org: ... Windows 7 Ultimate Ver 6.1 Build 7600 Running under WOW64 on AMD64 Path: . C:\sbin C:\usr\sbin C:\usr\local\sbin C:\Prog64\strawberry-perl\c\bin C:\prog64\strawberry-perl\perl\site\bin C:\prog64\strawberry-perl\perl\bin %CommonProgramFiles%\Microsoft Shared\Windows Live C:\bin C:\prog64\vim C:\prog\sysinternals C:\Windows\system32 C:\Windows C:\Windows\System32\Wbem C:\Windows\System32\WindowsPowerShell\v1.0 C:\Prog64\WIDCOMM\Bluetooth Software C:\Prog64\WIDCOMM\Bluetooth Software\syswow64 C:\Prog\Common Files\Acronis\SnapAPI C:\Prog\Autodesk\Backburner C:\Prog64\Common Files\Autodesk Shared C:\Prog\Common Files\DivX Shared\ C:\Prog\Common Files\Acronis\SnapAPI\ C:\Prog\NVIDIA Corporation\PhysX\Common C:\Prog\Sysinternals\cmd C:\Prog\Sysinternals C:\usr\local\bin C:\users\law.Bliss\bin C:\users\law.Bliss\scripts /bin behind the strawberry bins cries for trouble. If you want cygwin put c:/bin first If you want strawberry gcc and perl prepend strawberry in your cmd.exe console. But do not mix it. Found: C:\bin\awk - C:\bin\gawk.exe Found: C:\bin\bash.exe Found: C:\bin\cat.exe Found: C:\bin\cp.exe Found: C:\Prog64\strawberry-perl\c\bin\cpp.exe Found: C:\bin\cpp.exe Found: C:\bin\crontab.exe Found: C:\bin\find.exe Found: C:\Windows\system32\find.exe Found: C:\Prog64\strawberry-perl\c\bin\gcc.exe Found: C:\bin\gcc.exe Found: C:\bin\gdb.exe Found: C:\bin\grep.exe Found: C:\bin\kill.exe Found: C:\Prog64\strawberry-perl\c\bin\ld.exe Found: C:\bin\ld.exe Found: C:\bin\ls.exe Found: C:\bin\make.exe Found: C:\bin\mv.exe Found: C:\Prog64\strawberry-perl\c\bin\patch.exe Found: C:\bin\patch.exe Found: C:\prog64\strawberry-perl\perl\bin\perl.exe Good to see that mess finally, so I can reject your cygwin perl problems right away net time. Found: C:\bin\perl.exe -- Reini Urban -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple