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

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: mmap call gives invalid argument

2008-11-20 Thread Carlo Florendo
On Wed, Nov 19, 2008 at 11:44 PM, Corinna Vinschen wrote: Thanks Corinna! > > Something's going wrong with the offset, it seems. That's a snippet > from your strace: > > 99 60848 [main] dmidecode 540 fhandler_dev_mem::open: MemSize: 958 MB > 108 60956 [main] dmidecode 540 open: 3 = open (

Re: mmap call gives invalid argument

2008-11-20 Thread Corinna Vinschen
On Nov 20 13:10, Phil Betts wrote: > Corinna Vinschen wrote on Wednesday, November 19, 2008 3:45 PM:: > > On Nov 19 22:56, Carlo Florendo wrote: > >> On Wed, Nov 19, 2008 at 7:28 PM, Corinna Vinschen wrote: > >>> On Nov 19 14:49, Carlo Florendo wrote: > > Trees removed to enable wood to be seen...

RE: mmap call gives invalid argument

2008-11-20 Thread Phil Betts
Corinna Vinschen wrote on Wednesday, November 19, 2008 3:45 PM:: > On Nov 19 22:56, Carlo Florendo wrote: >> On Wed, Nov 19, 2008 at 7:28 PM, Corinna Vinschen wrote: >>> On Nov 19 14:49, Carlo Florendo wrote: Trees removed to enable wood to be seen... Table at 0x3BEE3000. > 152 61108 [ma

Re: mmap call gives invalid argument

2008-11-19 Thread Corinna Vinschen
On Nov 19 22:56, Carlo Florendo wrote: > On Wed, Nov 19, 2008 at 7:28 PM, Corinna Vinschen wrote: > > On Nov 19 14:49, Carlo Florendo wrote: > >> Good day Cygwin gurus, > >> > > >> $ ./dmidecode.exe > >> # dmidecode 2.9 > >> SMBIOS 2.5 present. > >> 54 structures occupying 1495 bytes. > >> Table a

Re: mmap call gives invalid argument

2008-11-19 Thread Carlo Florendo
On Wed, Nov 19, 2008 at 7:28 PM, Corinna Vinschen wrote: > On Nov 19 14:49, Carlo Florendo wrote: >> Good day Cygwin gurus, >> >> $ ./dmidecode.exe >> # dmidecode 2.9 >> SMBIOS 2.5 present. >> 54 structures occupying 1495 bytes. >> Table at 0x3BEE3000. >> >> /dev/mem: mmap: Invalid argument > > Ca

Re: mmap call gives invalid argument

2008-11-19 Thread Corinna Vinschen
On Nov 19 14:49, Carlo Florendo wrote: > Good day Cygwin gurus, > > I'm trying to run a very tiny app called dmidecode on cygwin > (http://download.savannah.gnu.org/releases/dmidecode/dmidecode-2.9.tar.gz). > The app is so small it takes 5 seconds for it to compile OOTB. For > several years, I'

Re: mmap call gives invalid argument

2008-11-18 Thread Carlo Florendo
Sorry, here's cygcheck. On Wed, Nov 19, 2008 at 2:49 PM, Carlo Florendo wrote: > Good day Cygwin gurus, > > I'm trying to run a very tiny app called dmidecode on cygwin > (http://download.savannah.gnu.org/releases/dmidecode/dmidecode-2.9.tar.gz). > The app is so small it takes 5 seconds for it to

mmap call gives invalid argument

2008-11-18 Thread Carlo Florendo
Good day Cygwin gurus, I'm trying to run a very tiny app called dmidecode on cygwin (http://download.savannah.gnu.org/releases/dmidecode/dmidecode-2.9.tar.gz). The app is so small it takes 5 seconds for it to compile OOTB. For several years, I've compiled the app on Cygwin on several Pentium sy