These tips assisted me whenever I had a need to rebuild the Linux Operating System on my Dell C400 laptop back in 2007. Suggestions I have here may work for other Dell laptops or other Linux distributions, experiment and share please.


The
Dell C400 is a ultra mobile laptop platform sporting a Pentium III Processor, 1.2 GHz Mobile processor, touchpad/pointing stick and a 12.1 inch TFT Display. The C400 can be configured with up to two 512MB SDRAM DIMMs with a portion of that RAM supporting the Intel i830 series 1MB (shared) video. The C400 also has an internal 56k Modem, 10/100 Ethernet and sound card but all CD/DVD drives are externally connected via a special cable only.
All hardware is detected by the Linux kernel (2.6.x) and modules with the internal modem requiring restricted drivers to be enabled. The latest BIOS revision does not support boot from USB devices, the single USB port being version 1.1 only. It is a great small format laptop with just a few quirks while running Linux.
Problem = Install halts (freezes) and no amount of intervention or cursing will allow the install to continue.
Cause = The install process fails to detect an appropriate setting for the frame buffer and the video display halts.
Fix = As with previous version of Ubuntu and other Debian based distributions, you will enjoy a smoother install if you chose a
text mode install type, press F6 and delete
quiet from the command line then add
vga=773 acpi=on. The install command argument
vga=773 specifies an appropriate frame buffer setting so that the video display does not freeze when the hardware detection process probes for available video display resources. The install command argument acpi=on specifies that Linux should probe for and use the correctly identified applicable ACPI kernel modules for the C400's motherboard.
Problem = The install delays significantly for no apparent reason (You assume that the laptop is taunting you).
Cause = The hardware detection process will probe for a floppy disk drive (fd0) and will delay while waiting on the hardware query to time out.
Fix = Be patient, unless you hear motherboard beeps and more than 5 minutes of delay elapses, the laptop is not purposely trying to aggravate you. (It only seems that way)
Problem = X only
sees 1MB of Video RAM.
Cause = The default entry for the Video Chipset detected by Linux (Intel i830 series) during the install does not include a default RAM amount.
Fix = Edit xorg.conf to add video RAM amount.
1. Use the terminal shell to sudo nano /etc/X11/xorg.conf
2. Locate the following section of settings, add the lines shown in
bold if not already present...
Section "Device"
Identifier "Intel Corporation 82830 CGC [Chipset Graphics Controller"
Driver "intel"
BusID "PCI:0:2:0"
VideoRam 16384
Option "DRI" "True"
Option "VBERestore" "True"
EndSection
*The
VideoRam entry value
must be a multiple of 1024.
The
Options DRI and VBERestore support the sleep and hibernate video functions.
3. Save your file edits (For nano it will be by pressing keys CTRL and X then answering Y for yes to save the file.
4. Reboot (Use normal shut down and restart options) to test.
Problem = Linux operating system start up and shut down display is absent or otherwise not viewable.
Cause = The default frame buffer video settings are not configured in grub for the type of LCD display on the laptop.
Fix = Edit Linux kernel grub boot parameters so that video (The splash screen during startup/shutdown) is shown.
1. Use the terminal shell to sudo nano /boot/grub/menu.lst
2. Move the cursor position to the end of the line that starts with
# kopt= add
vga=773 acpi=on to the end of the line. Ensure there is a space separating the new entry from the text already present.
3. Save your file edits (For nano it will be by pressing keys CTRL and X then answering Y for yes to save the file).
4. Use the terminal shell to sudo update-grub
5. Reboot (Use normal shutdown and restart options) to test.
Problem = Linux does not suspend properly, sometimes runs the CPU full out instead of 1/2 speed to save battery.
Cause = APM instead of ACPI is installed by default, the tools to scale the CPU speed are not installed either.
Fix = Install the required tools and configure them. *Warning! Test your changes. Make sure that no additional configuration changes are necessary to suspend to RAM when you close the laptop lid if that is your power saving intention. I'm not kidding, you could lose data because a setting change was missed here and all was assumed to be right as rain.
1. Use the terminal shell to sudo apt-get update *Errors in later process steps about not found packages means you did not enable various distribution repositories from the Synaptic sources configuration interface.
2. Then, use the terminal shell to sudo apt-get upgrade (Installing out of date packages is a waste of time and can actually cause conflicts requiring additional time to troubleshoot and fix later. Spend the time to have an up to date system now versus whishing you had done so... later.)
3. Then, use the terminal shell to
sudo apt-get install acpid cpudyn i8kutils
4. Reboot (Use normal shutdown and restart options) to test.
Problem = The Linux OS seems to spend a lot of time reading from the hard disk, even when launching often used or small applications.
Cause = Prelinking is not installed or configured by default.
Fix = Install and configure the prelink package, prelink does not actually boost performance of the entire OS, just loading of applications only.
1. Use the terminal shell to sudo apt-get install prelink
2. Then, use the terminal shell to sudo nano
/etc/default/prelink
and change
PRELINKING= to
yes
3. Save your file edits (For nano it will be by pressing keys CTRL and X then answering Y for yes to save the file).
4. You can start the initial prelink now by running from the Terminal shell.sudo /etc/cron.daily/prelink(The process will run for 30+ minutes in some cases) or just let cron do its job during the next reboot cycle.
Problem = There is 512MB of RAM installed and the Linux OS insists on heavy use of the swap file, slowing disk access considerably.
Cause = The default kernel setting for swap file use is not aggressive enough for high RAM installs.
Fix = Configure a more appropriate kernel swap directive.
1. Use the terminal shell to sudo nano
/etc/sysctl.conf add
vm.swappiness=3 to the end of the file.
2. Save your file edits (For nano it will be by pressing keys CTRL and X then answering Y for yes to save the file).
3. Reboot (Use normal shutdown and restart options) to test.