This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

/dev/mem: permission denied


I just compiled dmidecode[1] with the latest stable version of cygwin.

The binary[2] works fine on XP, but on Windows 2003, it throws a permission denied error on accessing /dev/mem.

I searched the Cygwin list and found this message[3]:

  Accessing \device\physicalmemory from privileged
  user mode processes works only on NT4, W2K and XP.  Starting with 2K3,
  access to physical memory has been restricted to work only in kernel
  mode.

On the other hand, a patched version of dmidecode (not needing Cygwin DLL)[4] works just fine on Windows 2003.

Is there a workaround for /dev/mem: permission denied problem in Cygwin?


[1] http://www.nongnu.org/dmidecode/ [2] http://wpkg.org/Download [3] http://www.cygwin.com/ml/cygwin/2007-04/msg00458.html [4] http://www.breakoutbox.de/software/software.html



--
Tomasz Chmielewski

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]