Re: mmap call gives invalid argument

2008-11-21 Thread Corinna Vinschen
On Nov 21 11:20, Carlo Florendo wrote: > On Wed, Nov 19, 2008 at 11:44 PM, Corinna Vinschen wrote: > > Try building Cygwin from scratch after disabling the first `if' statement > > in fhandler_dev_mem::mmap (file winsup/cygwin/mmap.cc). If that helps, > > it seems that this check is too well meant

Re: Run OpenSSH service with Local System Account

2008-11-21 Thread Corinna Vinschen
On Nov 20 15:37, William Zhang wrote: > Hi All, > > Sorry i hit the send button by mistake before I finished the last > mail. This is my > full question. > > I am wondering if there is a way to run the Cygwin OpenSSH service as > Local System Account in Windows 2003 and 2008 instead of the > cyg_

[ANNOUNCEMENT] Updated: ddrescue-1.9-1

2008-11-21 Thread Christian Franke
Version 1.9-1 of ddrescue has been uploaded. http://www.gnu.org/software/ddrescue/ddrescue.html Description from README: GNU ddrescue is a data recovery tool. It copies data from one file or block device (hard disc, cdrom, etc) to another, trying hard to rescue data in case of read errors. The b

Cygwin 1.7: O_DIRECT read from raw devices returns EOF

2008-11-21 Thread Christian Franke
On cygwin 1.7.0-32, read() from raw devices returns 0 always if device was opened with O_DIRECT. Testcase: $ dd if=/dev/sdb of=/dev/null count=1 1+0 records in 1+0 records out 512 bytes (512 B) copied, 0.027 s, 19.0 kB/s $ dd if=/dev/sdb of=/dev/null count=1 iflag=direct 0+0 records in 0+0 recor

Re: Cygwin 1.7: O_DIRECT read from raw devices returns EOF

2008-11-21 Thread Corinna Vinschen
On Nov 21 13:58, Christian Franke wrote: > void > fhandler_dev_floppy::raw_read (void *ptr, size_t& ulen) > { > ... > DWORD bytes_to_read = 0; > ... > if (devbuf) > { /* !O_DIRECT ... */ } > else > { > _off64_t current_position = get_current_position (); > if (current_posi

Problem with aliases in bash as login shell

2008-11-21 Thread Ryan Stewart
When bash is started with the "-l" (that's an 'L') flag, aliases that I've defined in .bashrc don't take effect. My .bash_profile includes a call to .bashrc, and I know that .bashrc is being executed because I've put an echo at the beginning and end of it, and both messages are printed out. Even if

RE: Problem with aliases in bash as login shell

2008-11-21 Thread Morche Matthias
Hi Ryan, > -Original Message- > From: [EMAIL PROTECTED] ... > When bash is started with the "-l" (that's an 'L') flag, aliases that > I've defined in .bashrc don't take effect. My .bash_profile includes a > call to .bashrc, and I know that .bashrc is being executed because ... I bet Your

RE: Setup wants to revert my upgrade of Emacs

2008-11-21 Thread Phil Betts
Jonathan Ferro wrote on Friday, November 21, 2008 7:05 AM:: > Casual browsing recently revealed that one of my all-time favorite > software packages, Emacs Calc, has returned to active maintenance and > is part of the GNU Emacs distribution. My thought: why does my > Cygwin installation not have

Re: Problem with aliases in bash as login shell

2008-11-21 Thread Ryan Stewart
On Fri, Nov 21, 2008 at 8:46 AM, Morche Matthias <[EMAIL PROTECTED]> wrote: > I bet Your line with the call of .bashrc from .bash_profile looks like > .bashrc > change it to > . .bashrc > and it will do what You intend and then RTFM for an explanation :-) > Thanks. I'm a linux nub. It took a good b

Re: Problem with aliases in bash as login shell

2008-11-21 Thread Christopher Faylor
On Fri, Nov 21, 2008 at 09:10:32AM -0600, Ryan Stewart wrote: >On Fri, Nov 21, 2008 at 8:46 AM, Morche Matthias ><[EMAIL PROTECTED]> wrote: >> I bet Your line with the call of .bashrc from .bash_profile looks like >> .bashrc >> change it to >> . .bashrc >> and it will do what You intend and then RT

Re: Problem with aliases in bash as login shell

2008-11-21 Thread Ryan Stewart
On Fri, Nov 21, 2008 at 9:13 AM, Christopher Faylor <[EMAIL PROTECTED]> wrote: > google is not the final authority. "info bash" or "man bash" would give > you this info much more directly. > A nearly 4900 line man page is not exactly "direct". That was the first place I looked. It was also the las

RE: Problem with aliases in bash as login shell

2008-11-21 Thread Stephan Mueller
Ryan Stewart wrote: " A nearly 4900 line man page is not exactly "direct". That was the " first place I looked. It was also the last place I looked, but even " knowing more or less what I was looking for, I couldn't find it. Can " you point me to a line number in the man page? The '.' command is a

Re: Problem with aliases in bash as login shell

2008-11-21 Thread Greg Chicares
On 2008-11-21 15:24Z, Ryan Stewart wrote: > On Fri, Nov 21, 2008 at 9:13 AM, Christopher Faylor > <[EMAIL PROTECTED]> wrote: ^^ http://www.cygwin.com/acronyms/#PCYMTNQREAIYR >> google is not the final authority. "info bash" or "man bash" would give >> you

Re: Problem with aliases in bash as login shell

2008-11-21 Thread Christopher Faylor
On Fri, Nov 21, 2008 at 09:10:32AM -0600, Ryan Stewart wrote: >On Fri, Nov 21, 2008 at 8:46 AM, Morche Matthias ><[EMAIL PROTECTED]> wrote: >> I bet Your line with the call of .bashrc from .bash_profile looks like >> .bashrc >> change it to >> . .bashrc >> and it will do what You intend and then RT

Re: Problem with aliases in bash as login shell

2008-11-21 Thread Mark J. Reed
On Fri, Nov 21, 2008 at 10:24 AM, Ryan Stewart wrote: > A nearly 4900 line man page is not exactly "direct". That was the > first place I looked. It was also the last place I looked, but even > knowing more or less what I was looking for, I couldn't find it. Can > you point me to a line number in t

Re: Problem with aliases in bash as login shell

2008-11-21 Thread Ryan Stewart
On Fri, Nov 21, 2008 at 9:52 AM, Mark J. Reed <[EMAIL PROTECTED]> wrote: > To be fair, you have to do a lot of reading to learn the necessary > concepts; there's not really a simple statement you can search for. > Start with the section "COMMAND EXECUTION ENVIRONMENT", which is at > line 1665 on my

setup.ini keeps updating with nothing altered except timestamp

2008-11-21 Thread Fergus
Subject says all. Half a dozen times or more today setup.ini has got a new timestamp with nothing else altered, e.g.: ~> diff tmp.setup.ini setup.ini 5c5 < setup-timestamp: 1227280844 --- > setup-timestamp: 1227270014 (where tmp is the "current" version jus

Re: Problem with aliases in bash as login shell

2008-11-21 Thread Mark J. Reed
On Fri, Nov 21, 2008 at 10:58 AM, Ryan Stewart wrote: > On Fri, Nov 21, 2008 at 9:52 AM, Mark J. Reed <[EMAIL PROTECTED]> wrote: ^^ There's a policy on this list of not including email addresses in the body of messages, so as to minimize spam exposure. So please don't include address

Re: Run OpenSSH service with Local System Account

2008-11-21 Thread William Zhang
Hi Corinna, Thank you for the clarification. It is a Microsoft driver testing tool and it can run automated mode so that it will dismiss the confirmation dialog boxes automatically in a regular session but it will hang in a windows service context when those confirmation dialog box pops up. I fig

Re: nearly all postinstall scripts segfaulting in 64bit Windows (XP + Vista)

2008-11-21 Thread Lonni J Friedman
On Thu, Nov 20, 2008 at 3:40 PM, Lonni J Friedman <[EMAIL PROTECTED]> wrote: > Greetings, > I'm attempting to setup a build environment, which happens to require > cygwin. I ran into no problems getting this up with 32bit Windows XP, > however for both WINXP64 and VISTA64, the cygwin installation

[ANNOUNCEMENT] Updated Cygwin Package: fetchmail-6.3.9-1

2008-11-21 Thread Jason Tishler
New News: === I have updated the version of fetchmail to 6.3.9-1. The tarballs should be available on a Cygwin mirror near you shortly. The only change between this version and the previous one is the following: o update to version 6.3.9 Old News: === Fetchmail is a remote mail re

Re: nearly all postinstall scripts segfaulting in 64bit Windows (XP + Vista)

2008-11-21 Thread Larry Hall (Cygwin)
Lonni J Friedman wrote: On Thu, Nov 20, 2008 at 3:40 PM, Lonni J Friedman wrote: Greetings, I'm attempting to setup a build environment, which happens to require cygwin. I ran into no problems getting this up with 32bit Windows XP, however for both WINXP64 and VISTA64, the cygwin installation b

[ANNOUNCEMENT] Updated: python-pyrex 0.9.8.5-1

2008-11-21 Thread Samuel Thibault
Version 0.9.8.5-1 of "python-pyrex" has been uploaded. It lets you write code that mixes Python and C data types any way you want, and compiles it into a C extension for Python. If you have questions or comments, please send them to the Cygwin mailing list at: cygwin@cygwin.com . *

Re: nearly all postinstall scripts segfaulting in 64bit Windows (XP + Vista)

2008-11-21 Thread Christopher Faylor
On Fri, Nov 21, 2008 at 04:51:03PM -0500, Larry Hall (Cygwin) wrote: > Lonni J Friedman wrote: >> On Thu, Nov 20, 2008 at 3:40 PM, Lonni J Friedman wrote: >>> Greetings, >>> I'm attempting to setup a build environment, which happens to require >>> cygwin. I ran into no problems getting this up wit

Re: nearly all postinstall scripts segfaulting in 64bit Windows (XP + Vista)

2008-11-21 Thread Lonni J Friedman
On Fri, Nov 21, 2008 at 3:02 PM, Christopher Faylor <[EMAIL PROTECTED]> wrote: > On Fri, Nov 21, 2008 at 04:51:03PM -0500, Larry Hall (Cygwin) wrote: >> Lonni J Friedman wrote: >>> On Thu, Nov 20, 2008 at 3:40 PM, Lonni J Friedman wrote: Greetings, I'm attempting to setup a build environm

Re: nearly all postinstall scripts segfaulting in 64bit Windows (XP + Vista)

2008-11-21 Thread Larry Hall (Cygwin)
On 11/21/2008, Christopher Faylor wrote: Actually the stack suggests that it is happening in a system call (0x7D61C95D) from the cygwin DLL (0xc101CDEB) but your observations and conclusions are still the same. I'm not aware of anyone actively investigating Xen problems. Doh! I read the sta

Re: nearly all postinstall scripts segfaulting in 64bit Windows (XP + Vista)

2008-11-21 Thread Christopher Faylor
On Fri, Nov 21, 2008 at 03:49:43PM -0800, Lonni J Friedman wrote: >This looks very similar to my problem (except that disabling TS >doesn't seem to help): >http://www.nabble.com/Re:-cygwin-bash-crashes-on-Win-Serv-2008-td20131536.html > >*sigh* Except for the fact that something crashes I don't se

Re: nearly all postinstall scripts segfaulting in 64bit Windows (XP + Vista)

2008-11-21 Thread Lonni J Friedman
On Fri, Nov 21, 2008 at 6:04 PM, Christopher Faylor <[EMAIL PROTECTED]> wrote: > On Fri, Nov 21, 2008 at 03:49:43PM -0800, Lonni J Friedman wrote: >>This looks very similar to my problem (except that disabling TS >>doesn't seem to help): >>http://www.nabble.com/Re:-cygwin-bash-crashes-on-Win-Serv-2

Re: mmap call gives invalid argument

2008-11-21 Thread Carlo Florendo
On Fri, Nov 21, 2008 at 6:20 PM, Corinna Vinschen wrote: > > 156 133660 [main] dmidecode 2092 mmap64: addr 0, len 13783, prot 1, flags > 1, fd 3, off 1005453312 > 101 133761 [main] dmidecode 2092 MapViewNT: 0 = NtMapViewOfSection (h:6F8, > addr:0, len:13783, off:1005453312, protect:2, type