X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <47FB28E6.4010707@wpkg.org> Date: Tue, 08 Apr 2008 10:12:22 +0200 From: Tomasz Chmielewski User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061110 Mandriva/1.5.0.8-1mdv2007.1 (2007.1) Thunderbird/1.5.0.8 Mnenhy/0.7.4.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: /dev/mem: permission denied Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/