/etc/rc: WARNING: /dev/apmctl not found

2005-01-03 Thread Mike Jakubik
Since a recent buildworld, i have noticed the following on my laptop.

dmesg output:
--

Starting usbd.
/etc/rc: WARNING: /dev/apmctl not found; kernel is missing apm(4)
Starting apmd.

--

My kernel:
--
# Power management support (see NOTES for more options)
device  apm
# Add suspend/resume support for the i8254.
device  pmtimer
--


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /etc/rc: WARNING: /dev/apmctl not found

2005-01-03 Thread Godwin Stewart
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 3 Jan 2005 10:14:27 -0500 (EST), Mike Jakubik [EMAIL PROTECTED]
wrote:

 Starting usbd.
 /etc/rc: WARNING: /dev/apmctl not found; kernel is missing apm(4)
 Starting apmd.
 
 --
 
 My kernel:
 --
 # Power management support (see NOTES for more options)
 device  apm
 # Add suspend/resume support for the i8254.
 device  pmtimer

Do you also have this in /boot/device.hints:

hint.apm.0.disabled=0
hint.acpi.0.disabled=1

- -- 
G. Stewart - [EMAIL PROTECTED]

The day Microsoft makes something that doesn't suck is probably the day
 they start making vacuum cleaners.
   --- Ernst Jan Plugge
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFB2WWhK5oiGLo9AcYRAhYUAJoCuQK3hrzibVZxQciHLwB8ntk/kgCfVjdu
lfozQR6kzf1PZB1rQkWRXm4=
=9m00
-END PGP SIGNATURE-
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /etc/rc: WARNING: /dev/apmctl not found

2005-01-03 Thread Kevin Oberman
 Date: Mon, 3 Jan 2005 10:14:27 -0500 (EST)
 From: Mike Jakubik [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 Since a recent buildworld, i have noticed the following on my laptop.
 
 dmesg output:
 --
 
 Starting usbd.
 /etc/rc: WARNING: /dev/apmctl not found; kernel is missing apm(4)
 Starting apmd.
 
 --
 
 My kernel:
 --
 # Power management support (see NOTES for more options)
 device  apm
 # Add suspend/resume support for the i8254.
 device  pmtimer

OK. A couple of basics:
1. What version are you running? I'm guessing 5.3-Stable.
2. Does /boot/loader.conf disable ACPI? How about /boot/device.hints?
   (hw.acpi.0.disabled=1)

It looks like you are starting ACPI which will block apm even if it is
in the kernel. Since APM never really starts, no /dev/apmctl is created
and ampd can't start without /dev/apmctl. (Note: You will nave /dev/apm
with either APM or ACPI.)

Do you want/need to run with APM? On older hardware it is often much
more stable than ACPI, but on newer hardware it is often getting pretty
limited and may be vanishing completely in some cases. ACPI is the way
of the future and, for new hardware may be the only way the system will
run, but, if your system does OK on APM, it may be a safer way to go for
laptops in particular. (I run ACPI on my laptop, but I may just be a bit
crazy.)
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /etc/rc: WARNING: /dev/apmctl not found

2005-01-03 Thread Mike Jakubik
Godwin Stewart said:

 Do you also have this in /boot/device.hints:

 hint.apm.0.disabled=0
 hint.acpi.0.disabled=1

I have whatever the default values are for 5.3. Do these need to be set
manally? Any reason for this?

Thanks.


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /etc/rc: WARNING: /dev/apmctl not found

2005-01-03 Thread Mike Jakubik
Kevin Oberman said:

 OK. A couple of basics:
 1. What version are you running? I'm guessing 5.3-Stable.
 2. Does /boot/loader.conf disable ACPI? How about /boot/device.hints?
(hw.acpi.0.disabled=1)

It is 5.3-STABLE (from Jan 1). The values in /boot are all default.

 It looks like you are starting ACPI which will block apm even if it is
 in the kernel. Since APM never really starts, no /dev/apmctl is created
 and ampd can't start without /dev/apmctl. (Note: You will nave /dev/apm
 with either APM or ACPI.)

 Do you want/need to run with APM? On older hardware it is often much
 more stable than ACPI, but on newer hardware it is often getting pretty
 limited and may be vanishing completely in some cases. ACPI is the way
 of the future and, for new hardware may be the only way the system will
 run, but, if your system does OK on APM, it may be a safer way to go for
 laptops in particular. (I run ACPI on my laptop, but I may just be a bit
 crazy.)

Ok, i think i may be confsed here. This is a recent (~1 year old) laptop,
but basically i want the os to support all the power managment functions,
be able to see the battery status, supsend/resume, etc. Is apmd not
required for this?

Thanks.


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /etc/rc: WARNING: /dev/apmctl not found

2005-01-03 Thread Godwin Stewart
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 3 Jan 2005 11:19:33 -0500 (EST), Mike Jakubik [EMAIL PROTECTED]
wrote:

 I have whatever the default values are for 5.3. Do these need to be set
 manally?

Yes, they do.

 Any reason for this?

ACPI and APM are mutually exclusive. If one's running the other will refuse
to start.

The default kernel tries to load ACPI by default first thing unless either
of the 2 following conditions are met:

1) The laptop is on a blacklist of machines known to have a fscked up ACPI
subsystem.

2) You tell it explicitly *not* to do so. This is done by adding the
`hint.acpi.0.disabled=1' hint.

- -- 
G. Stewart - [EMAIL PROTECTED]

Why do people pay to go up tall buildings and then put money in
binoculars to look down at things on the ground?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFB2XV8K5oiGLo9AcYRAo+JAKCE8J4tSPvvwu9EenRPzONboYTj2QCfd4k0
hqwFUdbLHyWgtv3G/UD8m3A=
=tw4C
-END PGP SIGNATURE-
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /etc/rc: WARNING: /dev/apmctl not found

2005-01-03 Thread Kevin Oberman
 Date: Mon, 3 Jan 2005 11:19:33 -0500 (EST)
 From: Mike Jakubik [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 Godwin Stewart said:
 
  Do you also have this in /boot/device.hints:
 
  hint.apm.0.disabled=0
  hint.acpi.0.disabled=1
 
 I have whatever the default values are for 5.3. Do these need to be set
 manally? Any reason for this?

What you have leaves ACPI as the power management system on you r
computer. This is probably a good thing as ACPI will certainly receive
better support as time goes on.

ACPI is not a new APM. It covers far more things than just power
management, but, since it does deal with power management, it can't
co-exist with APM. It's one or the other if your BIOS supports
both. Old BIOS may not support ACPI and new BIOS may not support
APM. Old BIOS that does support ACPI and APM may not have very good ACPI
capability, making APM a better choice.

If you run ACPI, an APM emulator is also available that provides a
limited APM API for utilities that used APM for things like battery life
and such. For that reason, you will probably see /dev/apm if either ACPI
or APM is running. You will see an apmd process and /dev/apmctl only
when actual APM is used. If you have APMD_ENABLE=YES in /etc/rc.conf,
apmd will error when started with ACPI. Simply remove the like from
/etc/rc/conf if you run ACPI.

When you have a little time, issue the command sysctl hw.acpi for a
list of things you can read and/or modify. Also, if you are using a
laptop, try acpiconf -i 0. (This will probably do nothing on a
desktop.) 
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]