LINUX ON A COMPAQ PRESARIO 1800-XL181 Linux on Compaq Presario 1800-XL181 (DEUTSCH)

[...Linux on Laptops...]
[...Linmodem...]
[...Laptopbattle Germany...]


This document describes how to install Linux on a Compaq 1800-XL181. I used Red Hat 6.2 and later updated to Red Hat 7.0
THIS DOCUMENT ONLY DESCRIBES HOW A INSTALLATION COULD LOOK LIKE, I AM NOT RESPONSIBLE FOR ANY DAMAGE YOU MAKE TO YOUR OWN LAPTOP, SOFTWARE, DATA OR YOUR BRAIN AND NERVES!
Document last modified: 14/04/2011 17:27:53
Author / Email-Link: Hakan Kuecuekyilmaz
38.107.179.242 has accessed this side 1 time(s) with CCBot/1.0 (+http://www.commoncrawl.org/bot.html)



1. Introduction
  1.1 Changes
  1.2 Where to get this document?
2. Partitioning
3. Installing Linux
4. Turning the Winmodem into a Linmodem
5. Things left to do
  5.1 Optimize your harddisk!
6. Links

1. Introduction

The 1800-XL181 has a Pentium-III 500 MHz. CPU, 12 GB HD, 128MB of RAM, a 15" XVGA Display, ATI 3D Rage LT Pro AGP-133, a 6x/24x DVD/CD-ROM, 3.5" Floppy, 10/100 Mbit Ethernet, internal Modem, USB, PCMCIA and an external controllable CD-Player.
I started to work as a Access Database programmer involved with visits to customers, so I told my boss that I need a Laptop. Soon a big supermarket had the 1800-XL181 in a special price offer. And so I got this real nice Laptop.
I am using it with a lot of pleasure. It is a good development machine for Access. Sorry but the customers love Access. Some bad things are that it was shipped with Win98SE and that the machine is not modular, you cannot put the floppy or CD-ROM out without disassembling the whole Laptop. The worst thing of course is that it was shipped without Linux.

1.1 Changes

1.2 Where to get this document

Latest version of this document is obtainable from http://esslingen.homeunix.net/~hakan/linux_laptop.php

2. Partitioning

The partitioning was easy to handle, because I soon decided to replace Win98SE by Win2000. If you want to use Win98SE and Linux then you should make a backup and then defrag your C:\ drive. After that you can re-partition your harddisc with fips from the Red Hat CD. If you still want to use the recovery option from Compaq you should not touch the D:\ drive! As I mentioned above I replaced Win98SE with Win2000, after Win98SE crashed several times, that was not acceptable for a development machine. I have made good experiences with Win2000 so far.

My /etc/fstab looks like this:

<hda1> <hda2><hda5 hda6 hda7>
/dev/hda5 / ext2 defaults 1 1 /dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0 /dev/hda1 /w2k/C vfat defaults 0 0 /dev/hda7 /w2k/D vfat defaults 0 0 /dev/fd0 /mnt/floppy auto noauto,owner 0 0 none /proc proc defaults 0 0 none /dev/pts devpts gid=5,mode=620 0 0 /dev/hda6 swap swap defaults 0 0
If you want to use Windows and Linux you should partition the harddisc with the fdisk program of dos. I have had troubles with disappearing partitions as I partitioned with fips from Linux. The sizes of the single partitions depend on your preferences.
Lilo should be installed on MBR (/dev/hda). It works well with Win2000.

Regarding to Jörg Pochmann there should be Partition Magic 4.x on the Recovery-CD.
It should be located in d:\CPQS\Tools\PQMAGICE.exe and runs in dos. The Partitioning is much easier with Partition Magic. But I have not tried it. Details are obtainable from: http://private.addcom.de/meinpresario1800/ntproblem.htm

3. Installing Linux

Now to the easy part. You boot from the Red Hat 6.2 or 7.0 CD. Notice that the versions < 6.2 make troubles with the X-Server. Next choose your language, keyboard preferences and define your mount-points. Then you choose your packages which you want to be installed. The de4x5 module is the right one for the Ethernet adapter, in case that the Ethernet adapter does not get auto-detected.
The graphic-, sound- and Ethernet-adapter should be auto-detected.
For the Display you choose Custom and for the Display configuration:
 Non-interlaced SVGA, 1024x768 at 60 Hz, 800x600 at 72 Hz.

For the vertical frequency I choose 50-70.
Next you have to test the X-Server which should work fine.
The mouse is a ALPS GlidePoint (PS/2).
After approximately 25 minutes the question whether you want to create a boot-disc or not should appear. It is a good idea to say yes here. Now it should be time for the one and only reboot during the installation.
You have installed Linux. Pretty easy isn't it?

4. Turning the Winmodem into a Linmodem

To use the modem I downloaded linux568.zip from www.linmodems.org to use the modem. After unzipping this file I had a problem to install it. After changing line number 17 from the ltinst script
 
/sbin/insmod -f ltmodem       to

/sbin/insmod -f ltmodem.o 
                       ^^^
and running it with ./ltinst script the system should says something about the kernel version but this does not matter. After that minicom -s should be executed to initialize the modem.Please read the readme.txt file about the details!
Voila that's all turning a Winmodem into a Linmodem.

5. Things left to do

Because English is not my mother tongue I would like to know about typos, bad grammar, or difficult parts of the text.
If you miss something, please feel free to write me an email: Hakan Kuecuekyilmaz.
Any hints are welcome.
Soon I will get a DSL (T-DSL) line and I would like to run it with Linux, too.
I discovered that an external ps/2 mouse can be run in parallel with the touchmouse.

5.1 Optimize your harddisk!

With the standart installation of RHat 6.2 / 7.0 the harddisk is unacceptable slow.
Please hande with care, following settings could be dangerous. Visit man hdparm first, and do a "# hdparm -i /dev/hda" before u touch anything!
Under RHat 6.2 I put following line into /etc/rc.d/rc.local hdparm -m16 -c1 -u1 -d1 -W1 -S37 /dev/hda
You can do this with your favorite editor, or as root with:
[root@bwpc87 /root]# echo "hdparm -m16 -c1 -u1 -d1 -W1 -S37 /dev/hda" >> /etc/rc.d/rc.local

With RHat 7.0, which I am actually running, the optimizing of the harddisk is done in a seperate file.
I edited /etc/sysconfig/harddisks as root like this:

# These options are used to tune the hard drives -
# read the hdparm man page for more information

# Set this to 1 to enable DMA. This might cause some 
# data corruption on certain chipset / hard drive
# combinations. This is used with the "-d" option


 USE_DMA=1

# Multiple sector I/O. a feature of most modern IDE hard drives,
# permitting the transfer of multiple sectors per I/O interrupt,
# rather than the usual one sector per interrupt.  When this feature
# is enabled, it typically reduces operating system overhead for disk
# I/O by 30-50%.  On many systems, it also provides increased data
# throughput of anywhere from 5% to 50%.  Some drives, however (most
# notably the WD Caviar series), seem to run slower with multiple mode
# enabled. Under rare circumstances, such failures can result in
# massive filesystem corruption. USE WITH CAUTION AND BACKUP.
# This is the sector count for multiple sector I/O - the "-m" option
#
 MULTIPLE_IO=16

# (E)IDE 32-bit I/O support (to interface card)
# the "-c" option (added by Hakan Kuecuekyilmaz)
 EIDE_32BIT=1

# Enable drive read-lookahead
#
 LOOKAHEAD=1

# Add extra parameters here if wanted
# On reasonably new hardware, you may want to try -X66, -X67 or -X68
# Other flags you might want to experiment with are -u1, -a and -m
# See the hdparm manpage (man hdparm) for details and more options.
#
EXTRA_PARAMS= hdparm -u1 -W1 -S37 /dev/hda


--- after that I did ran some tests

[root@bwpc87 /root]# hdparm -v /dev/hda

/dev/hda:                   /* These are own comments! */
 multcount    = 16 (on)     -m16 /etc/sysconfig/harddisks
 I/O support  =  1 (32-bit) -c1  /etc/sysconfig/harddisks
 unmaskirq    =  1 (on)     -u1  /etc/sysconfig/harddisks EXTRA_PARAMS=... -u1
 using_dma    =  1 (on)     -d1  /etc/sysconfig/harddisks
 keepsettings =  0 (off)
 nowerr       =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)     -a8
 geometry     = 1559/240/63, sectors = 23579136, start = 0


/dev/hda:
 Timing buffer-cache reads:   128 MB in  0.95 seconds =134.74 MB/sec
 Timing buffered disk reads:  64 MB in  4.82 seconds = 13.28 MB/sec

/dev/hda:
 Timing buffer-cache reads:   128 MB in  0.94 seconds =136.17 MB/sec
 Timing buffered disk reads:  64 MB in  4.79 seconds = 13.36 MB/sec

/dev/hda:
 Timing buffer-cache reads:   128 MB in  0.94 seconds =136.17 MB/sec
 Timing buffered disk reads:  64 MB in  4.81 seconds = 13.31 MB/sec

 with 
[root@bwpc87 /root]# hdparm -X66 /dev/hda

/dev/hda:
 Timing buffer-cache reads:   128 MB in  0.94 seconds =136.17 MB/sec
 Timing buffered disk reads:  64 MB in  4.82 seconds = 13.28 MB/sec

/dev/hda:
 Timing buffer-cache reads:   128 MB in  0.94 seconds =136.17 MB/sec
 Timing buffered disk reads:  64 MB in  5.26 seconds = 12.17 MB/sec

/dev/hda:
 Timing buffer-cache reads:   128 MB in  0.94 seconds =136.17 MB/sec
 Timing buffered disk reads:  64 MB in  4.80 seconds = 13.33 MB/sec

--> makes no difference, so I let the -X66 out of EXTRA_PARAMS...

If you can realize any better results, please inform me!

6. Links

Related links you will find at the righter top of this document.




Linux on a Compaq 1800XL © 2000, 2001, 2002 by Hakan Küçükyılmaz; document last modified: 04/14/2011-17:27:53
Your Browser: CCBot/1.0 (+http://www.commoncrawl.org/bot.html), your IP: 38.107.179.242