Mail Archives: cygwin/2008/11/21/21:08:52
On Fri, Nov 21, 2008 at 6:20 PM, Corinna Vinschen wrote:
<snip>
>
> 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:0)
> 85 133846 [main] dmidecode 2092 seterrno_from_win_error: /home/Administrator/cygwin-1.5.25-15/winsup/cygwin/mmap.cc:1871 windows error 87
> 79 133925 [main] dmidecode 2092 geterrno_from_win_error: windows error 87 == errno 22
> 74 133999 [main] dmidecode 2092 __set_errno: void seterrno_from_win_error(const char*, int, DWORD):310 val 22
> 82 134081 [main] dmidecode 2092 mmap64: 0xFFFFFFFF = mmap()
>
> Now you get the error message directly from Windows. Unfortunately,
> we don't see the actual NTSTATUS value returned by NtMapViewOfSection
> because I left the value out of the debug message. Silly me!
>
> What you see is the converted Win32 error code 87, which is
> ERROR_INVALID_PARAMETER. The actual NTSTATUS code might give you
> another hint. Just change the debug_printf statement in the MapViewNT
> function (mmap.cc line 384) to
>
> debug_printf ("%p (status %p) = NtMapViewOfSection (h:%x, addr:%x, len:%u,"
> " off:%D, protect:%x, type:%x)",
> base, ret, h, addr, len, off, protect, 0);
>
> recompile, rerun, and look for the "NtMapViewOfSection" lines in
> the strace output. What's the hex status code?
>
> However, since this fails on the native NT level, I don't think this is
> just a simple Cygwin problem. It seems that this SMBIOS stuff is
> somehow broken on that system.
Thank you very much Corinna. I will definitely try that out. The
machine in question, unfortunately, had been pulled out and I would
have access to it only in the next week or two. Hence, my updates
regarding this topic would come a little bit later. I am, however,
interested in a resolution, if there is any. Thanks to all you've
suggested.
Until then.
Best Regards,
Carlo
--
Carlo Florendo
Software Engineer
Astra Philippines - Software Development and Outsourcing
R&D: http://astra.ph, Astra Group: http://astra.co.jp
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -