Gentoo Archives: gentoo-user

From: Henry Gebhardt <hsggebhardt@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] acpid problems
Date: Mon, 19 May 2008 10:00:41
Message-Id: 1bd893420805190300w7d297e6fgf9407a2dd6870928@mail.gmail.com
In Reply to: Re: [gentoo-user] acpid problems by Mick
1 On Sun, May 18, 2008 at 11:43 PM, Mick <michaelkintzios@×××××.com> wrote:
2 > On Sunday 18 May 2008, Henry Gebhardt wrote:
3 >> On Sun, May 18, 2008 at 9:16 PM, Mick <michaelkintzios@×××××.com> wrote:
4 >> >
5 >> > acpid: can't open /proc/acpi/event
6 >>
7 >> Does the file exist? If not, try enabling some kernel options, e.g.
8 >>
9 >> CONFIG_ACPI_PROC_EVENT=y
10 >
11 > Thanks Henry,
12 >
13 > Yes the file exists. I can't cat it because it is busy. Some process (acpid,
14 > or someone else?) is trying to access it seems and I can't look at its
15 > contents.
16
17 With lsof (emerge sys-process/lsof) you can check if a process is
18 accessing a file.
19 Run it like so:
20
21 # lsof /proc/acpi/event
22 COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
23 acpid 2230 root 3r REG 0,3 0 4026531935 /proc/acpi/event
24
25 > --
26 > Regards,
27 > Mick
28 >
29
30 ~Henry
31 --
32 gentoo-user@l.g.o mailing list