Subject: Re: apmd question
To: scott worley <>
From: Steven M. Bellovin <>
List: port-i386
Date: 11/06/2001 14:26:44
In message <>, scott worley writes
>Just installed 1.5.2 and see this when apmd starts:
>apmd: cannot open device file '/dev/apmctl': device not configured
>Does this mean the default kernel doesn't have apm compiled in?

Yes, that's exactly what it means.
>I have
>crw-r--r-- 1 root wheel 21, 0 Aug 18 17:19 /dev/apm
>crw-r--r-- 1 root wheel 21, 8 Aug 18 17:19 /dev/apmctl
>Read the man pages but found nothing about the above message.

Hmm -- the man page (errno(2) gives the text "No such device or address",
but /usr/include/sys/errno.h says "device not configured" for ENXIO.
That probably merits filing a PR.  (I haven't found where in the C 
library that string lives, however.)

		--Steve Bellovin,
		Full text of "Firewalls" book now at