manual & docs
drivers & updates
What you need to know about the aero
Partitioning the harddisk
Choosing the installation method
Preparing the Aero for a Red Hat 6.1 harddisk install
The Red Hat 6.1 Installation Process
Access to DOS-Partitions
Patching and compiling a new kernel
Solving the RAM problem
Installing PCMCIA and configuring it for Bad RAM
Finished - What comes next?
Advanced Power Management
Getting WebDAV to work with XP
GNU Free Documentation License
the people (& their mails)
the aeros wildest dream...
Silent drive with APM
This chapter contains information about
The Compaq Contura Aero comes with Advanced Power Management (APM) in version 1.1.
That means that the aero's BIOS has still control over the suspend-function.
This should be easier to handle than the more autonomous "Advanced Configuration & Power Interface" ACPI in recent laptops.
Using APM with the aero
APM has to be configured into the kernel. UPDATE: As I found out with kernels 2.4.25 and 2.4.26 these settings work fine:
[*] Power Management support [ ] ACPI support <*> Advanced Power Management BIOS support [ ] Ignore USER SUSPEND [*] Enable PM at boot time [ ] Make CPU Idle calls when idle [ ] Enable console blanking using APM [*] RTC stores time in GMT [*] Allow interrupts during APM BIOS calls [ ] Use real mode APM BIOS call to power off
Without the "Enable PM at boot time" and "Allow interrupts during APM BIOS calls" settings I sometimes
got the message "hda: lost interrupt" after resuming from hibernated state. This doesn't seem to happen any more since I
enabled these kernels settings.
You need these packages for sending the aero into suspend mode (what compaq called
"hibernation" and "standby").
The APMD ConflictWhat you actually don't need to use is the daemon "apmd". Kernel-apm seems to be able to answer all apm-requests alone. In fact kernel-apm and apmd conflict with each other and cause some interesting behaviours:
For instance when shutting down the aero, apmd is (like all other daemons) stopped. But one of the apm-programs understand this stop-command as order to suspend - and suspends. When you reboot the aero it goes back to the hibernated state, which was in the middle of the shutdown-process, and continues shutting down.
Also if the aero is in power-saving mode and I run apmd with an apm-enabled kernel, from time to time the hdd spins up for 20 seconds. In /var/log/daemon.log I find the entries:
Mar 28 18:14:53 dog2 apmd: apmd_call_proxy: Executing proxy: '/etc/apm/apmd_proxy' 'standby' 'system' Mar 28 18:14:55 dog2 apmd: System Standby [repeated 18 times till:] Mar 28 18:15:18 dog2 apmd: apmd_call_proxy: Executing proxy: '/etc/apm/apmd_proxy' 'standby' 'system' Mar 28 18:15:19 dog2 apmd: System Standby
This is annoying. So don't start apmd and delete the symlink in your bootscripts.
With the standard settings, the aero suspends to disk (hibernates) perfectly if
The aero wakes up from suspend like it did in win 3.1/win95 with the usual info
"Restoring hibernated state..."
I must confess, I still didn't find out if there is a "hibrn8.dat"-file
or where apm stores the information from RAM. I don't know
if it matters, but I still have a first partition (hda1) with fat16,
so maybe this is the reason why it works.
Suspend to disk? Or Suspend to RAM?
As you saw, my aeros default suspend-mode is hibernation. But this can be changed easily. Compaq offers for this purpose
SP0801 with the software "STBY_HIB.COM" for free.
If you want 'Suspend to disk' (hibernation):
You may perhaps use the linux-package "dosemu" (in most distributions included) for this dos-utility, then you don't need to reboot after this step.
"autonegotiation restarted, found link beat, autonegotiation complete.."no beep and everything's up again.
No standby if idle
I didn't find out yet how to enable the aero to automatically enter standby if idle for a certain time.
Normally this is defined in the power-saving-modes in BIOS or by Fn+F7.
ide0: unexpected interrupt, status=0x80
Because that information is written into syslog, the hdd can't spin down. If the syslog-daemon is disabled,
the hdd indeed spins down. But I still receive that error-message on the screen.
Bogomips and how to slow down the aero
At the beginning of the boot-process Linux will take the power-saving mode of the aero as measure of the aeros speed (bogomips-count). So if you
boot up the aero in highest power-saving mode, Linux will give it only a bogomips-count of 8,4.
So if you run a 4/33, start linux with loadlin.
I want to run the aero-server as silent as possible. It has no fan, so it is a nice companion in my apartment.
But of course there is still the hdd. Avoiding disk-accesses and silencing linux is a very special piece of art.
Thanks, Bart Samwel, for the correction!
Configuration of noflushd
In the configuration file /etc/default/noflushd I use:
for spinning down after one minute.
for maximal silence... ;-)
Check who's spinning up!
Laptop-mode also offers a possibility to see which programs are causing spin-ups:
You disable this feature with:
The output can be viewed by commanding "dmesg" on the console.
Other tricksThere are of course many more tweaks for all the different linux-software. For instance: Samba likes to access it's cache and it's lock-file every few minutes.
So I mounted with
mount tmpfs /var/run/samba -t tmpfs mount tmpfs /var/log/samba -t tmpfs mount tmpfs /var/cache/samba -t tmpfs
the appropriate samba-folders to a temporary filesystem in RAM. Of course I had to change the samba logrotate-scripts for
not filling up the 20 MB RAM with log-files...
Suggestions for this page? Ideas? Please drop a note!