Debian Sarge on Compaq Armada M700

Contents

1.Introduction

I've bought this laptop in september 2005. Though the notebook was not new, it was the business of Compaq in 2001. It's made from good quality components and enough performance for everyday work like browsing, reading emails, watching movies, etc. It's classed as highly portable, weighing about 2.2 kilograms with normal battery.

I've got the laptop with installed windows 98, without the genuine installation CD, but with licence sticker at bottom of the laptop. Unfortunately, the battery was in a very bad condition, was unable to charge to serv at least few seconds/minutes of power:(

top

2.The hardware

My 'precious' is a 600MHz Intel Pentium3 with 192MB and 6GB harddrive. You can obtain all information from the compaq.com/hp.com website, searching 'armada m700' keywords.

Below you can see the hardware details from the installed system:

art:~# lspci
0000:00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
0000:00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
0000:00:04.0 CardBus bridge: Texas Instruments PCI1450 (rev 03)
0000:00:04.1 CardBus bridge: Texas Instruments PCI1450 (rev 03)
0000:00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
0000:00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
0000:00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
0000:00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
0000:00:08.0 Multimedia audio controller: ESS Technology ES1978 Maestro 2E (rev 10)
0000:00:09.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 09)
0000:00:09.1 Serial controller: Agere Systems LT WinModem
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility P/M AGP 2x (rev 64)
art:~# lsmod
Module                  Size  Used by
snd_mixer_oss          19968  0
af_packet              22216  2
tsdev                   7808  0
mousedev               11776  2
psmouse                31236  0
ipv6                  261984  8
thermal                13224  0
fan                     4516  0
button                  6416  0
processor              21876  1 thermal
ac                      4612  0
battery                 9348  0
pcmcia                 27112  4
evdev                   9728  0
pcspkr                  3332  0
parport_pc             36708  0
parport                36936  1 parport_pc
irtty_sir               8544  0
sir_dev                18668  1 irtty_sir
irda                  201020  2 irtty_sir,sir_dev
crc_ccitt               1920  1 irda
floppy                 60180  0
snd_es1968             30496  0
gameport               15208  1 snd_es1968
snd_ac97_codec         83960  1 snd_es1968
snd_pcm                93416  2 snd_es1968,snd_ac97_codec
snd_timer              24644  1 snd_pcm
snd_page_alloc          9860  2 snd_es1968,snd_pcm
snd_mpu401_uart         7200  1 snd_es1968
snd_rawmidi            24896  1 snd_mpu401_uart
snd_seq_device          8684  1 snd_rawmidi
snd                    56260  8 snd_mixer_oss,snd_es1968,snd_ac97_codec,snd_pcm,
snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
i2c_piix4               8656  0
i2c_core               21776  1 i2c_piix4
pci_hotplug            28468  0
intel_agp              24092  1
uhci_hcd               32176  0
usbcore               122300  2 uhci_hcd
maestro                37864  1
soundcore               9696  3 snd,maestro
e100                   35968  0
mii                     5696  1 e100
yenta_socket           23528  2
rsrc_nonstatic         13728  1 yenta_socket
pcmcia_core            51924  3 pcmcia,yenta_socket,rsrc_nonstatic
rtc                    12376  0
drm                    67732  0
agpgart                35560  2 intel_agp,drm
ide_cd                 43140  0
cdrom                  40640  1 ide_cd
ext3                  141736  2
jbd                    56760  1 ext3
mbcache                 9252  1 ext3
ide_disk               18688  4
ide_generic             1152  0 [permanent]
via82cxxx              13820  0 [permanent]
trm290                  4196  0 [permanent]
triflex                 3680  0 [permanent]
slc90e66                5664  0 [permanent]
sis5513                16488  0 [permanent]
siimage                12448  0 [permanent]
serverworks             9032  0 [permanent]
sc1200                  7296  0 [permanent]
rz1000                  2400  0 [permanent]
piix                   10340  0 [permanent]
pdc202xx_old           11168  0 [permanent]
opti621                 4324  0 [permanent]
ns87415                 4264  0 [permanent]
hpt366                 20384  0 [permanent]
hpt34x                  5152  0 [permanent]
generic                 3808  0 [permanent]
cy82c693                4676  0 [permanent]
cs5530                  5312  0 [permanent]
cs5520                  4544  0 [permanent]
cmd64x                 12028  0 [permanent]
atiixp                  5904  0 [permanent]
amd74xx                14396  0 [permanent]
alim15x3               12268  0 [permanent]
aec62xx                 7360  0 [permanent]
pdc202xx_new            9248  0 [permanent]
ide_core              130388  28 ide_cd,ide_disk,ide_generic,via82cxxx,trm290,triflex,
slc90e66,sis5513,siimage,serverworks,sc1200,rz1000,piix,pdc202xx_old,opti621,ns87415,
hpt366,hpt34x,generic,cy82c693,cs5530,cs5520,cmd64x,atiixp,amd74xx,alim15x3,aec62xx,
pdc202xx_new
unix                   27888  88
fbcon                  39936  0
tileblit                2240  1 fbcon
font                    8096  1 fbcon
bitblit                 5920  1 fbcon
vesafb                  7992  0
cfbcopyarea             3872  1 vesafb
cfbimgblt               2816  1 vesafb
cfbfillrect             4128  1 vesafb
softcursor              2176  1 vesafb
capability              4584  0
commoncap               6912  1 capability
art:~# cat /proc/ide/hda/model
TOSHIBA MK6014MAP
art:~# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 8
model name      : Pentium III (Coppermine)
stepping        : 3
cpu MHz         : 597.166
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips        : 1183.74
top

3.BIOS settings

I've got the laptop with the older BIOS version. After downloading the BIOS update from hp.com website I did'nt marked any change in the BIOS menu structure. More or less, you can leave the default settings, try to enable IrDA port (see below). top

4.Installing Debian Sarge

4.1 General config

STEP 1: download the debian netinst image from here.
STEP 2: burn the image and boot from the CD.
STEP 3: the installation process is more or less automatical, you need to press ENTER on appropriate dialogs and setup partitions (for example this way)

240 heads, 63 sectors/track, 776 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1         227     1716088+  83  Linux
/dev/hda2   *         228         486     1958040    7  HPFS/NTFS
/dev/hda3             487         776     2192400    5  Extended
/dev/hda5             487         539      400648+  82  Linux swap / Solaris
/dev/hda6             540         776     1791688+  83  Linux
the rest of the install process autodetects your hardware and loads suitable kernel-modules to make them work.

top

4.2 XFree86/X.Org config

After the first boot it's time set up the X.org. You can do it by typeing

apt-get install x-window-system
and using the ''ati'' driver.
Cutted from http://users.utu.fi/sjsepp/linuxcompaqarmadam700.html
This laptop has a Ati Mobility Rage P/M graphics card. It will work with the "ati" driver. I have no idea of the horizontal and vertical frequencies, but mine seem to work, even though some errors regarding them are generated to /var/log/XFree86.0.log. I suggest to specify "VideoRam 8192" in your graphics card specification; I don't know if it makes any difference on this laptop, but it's safe thing to do. XFree in my Armada 100S froze strangely if amount of videoram was not defined. Even though the graphics card is different, both are Compaqs and use shared video memory. I'd rather be safe than sorry. The ATI Mobility Rage P/M supports OpenGL, and there were no problems in making it work. I have not, however, managed to enable direct rendering. Sadly this has rendered OpenGL useless for most purposes. Even though the DRI module for Ati Rage 128 (r128) does load without errors, direct rendering is nevertheless disabled. A little googling revealed that it should be possible enable DRI: I guess that Quake and Quake2 will force me to make it work :).

I've realized some 'experiments' to make drm work, following the instructions on this link, without any success. I guess, some extra (experimental) packages are needed to make DRM work.

top

4.3 Enabling powersave features

See Section 5 at Debian Testing on Compaq Armada M700 page. top

4.4 Enabling IrDA

After

setserial /dev/ttyS2 irq 3
and
irattach /dev/ttyS2 -s
you should see in /var/log/messages something like this
Sep 26 23:11:34 localhost irattach: executing: 'echo art > /proc/sys/net/irda/devname'
Sep 26 23:11:34 localhost irattach: executing: 'echo 1 > /proc/sys/net/irda/discovery'
Sep 26 23:11:34 localhost irattach: Starting device irda0
Now, put your IrDA device (for example a Nokia 6021 cell phone with activated Infrared reception) near to the laptops IrDA port.
21:14:44.839367 xid:cmd a07575ac > ffffffff S=6 s=0 (14) 
21:14:44.929346 xid:cmd a07575ac > ffffffff S=6 s=1 (14) 
21:14:45.019331 xid:cmd a07575ac > ffffffff S=6 s=2 (14) 
21:14:45.109318 xid:cmd a07575ac > ffffffff S=6 s=3 (14) 
21:14:45.192301 xid:rsp a07575ac < 0000b6de S=6 s=3 Nokia 6021 hint=b125 [ PnP Modem Fax Telephony IrCOMM IrOBEX ] (27) 
21:14:45.199308 xid:cmd a07575ac > ffffffff S=6 s=4 (14) 
21:14:45.289290 xid:cmd a07575ac > ffffffff S=6 s=5 (14) 
21:14:45.379279 xid:cmd a07575ac > ffffffff S=6 s=* art hint=0400 [ Computer ] (19) 

top

Author: Adrian Toth, adrian.toth@gmail.com
26-09-2005