# Slackware 9.0 Compaq Presario 2500 Install HOWTO
# Updated Aki Sun Jul 20 18:17:57 EDT 2003
# Initial version Aki Mon May 19 00:27:15 EDT 2003
0. Slackware does not provide a tool to resize a NTFS partition, so use different tool for the job. Used BootItNG with great results.
Partition info:
/dev/hda1: Win XP (NTFS, 12 GB)
/dev/hda2: drive D (shared data partition) (FAT32, 15 GB)
/dev/hda3: root linux partion (EXT3, 9 GB)
/dev/hda4: swap (EXT3, 480 MB)
/dev/hda6: /var (EXT3, 2 GB)
/dev/hda7: /tmp (EXT3, 82 MB)
- Bootable CD boots properly using stock bare.ide kernel
- Follow setup installation instructions and do a full install
- Install LILO on MBR
- ohci1394 module causes system to hang on boot. To circumvent this
temporarily:
- boot using Slackware 9.0 cd-rom
- mkdir /mnt/root
- mount -t auto /dev/hda3 /mnt/root
- tar /lib/modules/kernel/drivers/ieee134 directory to hide offending module
- configue XFree. Stock config file works fine, but does not utilize hardware acceleration. glxgears runs at 120 FPS.
- stock ATI driver provided does not recognize ATI Radeon IG340M chip
- download updated driver from http://sylvestre.ledru.info
- backup /usr/X11R6/lib/modules and copy updated ones from above
- Chipset is recognized, but DRI/acceleration does not work. glxgears runs @ 350 FPS with 100% cpu utilization.
- Status of initial installation:
- CD-RW/DVD-ROM ok
- USB not tested
- IEEE 1394 can't load module on boot
- Wireless Wi-Fi kernel loads wrong module (orinoco_pci)
- Sound ok
- ACPI no
- Ethernet not tested
- X ok, but no TrueType fonts
- Synaptics Touchpad works, but inadvertent double-clicks frequently
- Video framebuffer ok @ 1024x768x256
- DRI no
To use ACPI, need to apply appropriate patch for kernel version. Get patch at sourceforge.net
Before moving on to the ACPI patch, update 2.4.20 kernel sources to 2.4.21:
- install kernel sources from disk series k. (Not installed by full install).
- fetch patch-2.4.21.bz2 from www.kernel.org
- apply patch using patch-kernel
- OOOPS - patch fails. ????
Not a problem, fetch a fresh 2.4.21 tree from www.kernel.org
Now apply appropriate ACPI patch: acpi-20030619-2.4.21.diff.gz
cd /usr/src/linux
patch -p1 < acpi-YYYYMMDD-2.4.XX.diff.gz
Now configure the kernel, using the output of dmesg as a guide.
ACCPI Support
#
CONFIG_ACPI=y
# CONFIG_ACPI_HT_ONLY is not set
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_BUS=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SYSTEM=y
CONFIG_ACPI_AC=m
CONFIG_ACPI_BATTERY=m
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_FAN=m
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_THERMAL=m
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_DEBUG is not set
- hardware support is configured as modules, so add to /etc/rc.d/rc.modules:
- kernel boots ok and modules load cleanly. See lsmod
- get dockapp to monitor battery + temperature: wmacpi-1.34 and wmacpiload-0.2.1
Correct module to use is the prism2_pci from the linux-wlan2 project.
- fetch latest and greatest from http://www.linux-wlan.org. Found linux-wlan-ng-0.2.1-pre5.tar.gz
- compile and install per instructions
- Problem: this version uses the hotplug system for start-up, but Slackware does not seem to include the required agent.
- So, try older version. Found linux-wlan-ng-0.1.16-pre9.tar.gz
- compile and install and SUCCESS
- configure WEP and SSID on /etc/wlan
- update start-up scripts to start wireless system automatically:
o add to rc.modules:
/sbin/modprobe prism2_pci
o to start wlan subsystem, call rc.wlan from rc.M:
# Initialize the wireless networking hardware:
if [ -x /etc/rc.d/rc.wlan ]; then
. /etc/rc.d/rc.wlan start
fi
Update rc.inet1 to configure wlan0 interface:
- enable configuration via dhcp:
- change "eth1" to "wlan0" everywhere
That's all. wlan0 comes up on boot now.
Slackware 9.0 comes setup with hotplug, so try to see if recognizes a Lexar Jumpdrive Trio drive:
- plug in drive
- cat /proc/scsi/usb-storage-0/1:
Host scsi1: usb-storage
Vendor: Lexar Media
Product: JumpDrive Trio
Serial Number: 0000055424
Protocol: Transparent SCSI
Transport: Bulk
GUID: 05dcb0130000000000055424
Attached: Yes
- Whoo hoooo!!! Works out of the box. Excellent.
- Now create mount point and mount the flash drive:
mkdir /mnt/usb1
mount -t auto /dev/sda1 /mnt/usb1
- Works, so add entry to /etc/fstab:
/dev/sda1 /mnt/usb1 auto noauto,user,rw 0 0
- The GLUT library, used by many applications, is not installed by default. So first step is to get it installed.
- get GLUT header and library from dri.sourceforge.net
glut.h
libglut.so.3.7.0
- copy to appropriate directories
- /usr/include/GL/glut.h
- /usr/lib/libglut.so.3.7.0
- run ldconfig to add to cache
- the link below should be created automatically:
lrwxrwxrwx 1 root root 16 Jul 19 11:52 /usr/lib/libglut.so.3 -> libglut.so.3.7.0
- ACPI: figure out how to configure lid switch and get sleep modes setup.
- X/DRI: get 3D acceleration working
- 1394: get it configured/working
- IRDA: get it configured/working