Tags

redhat
employment
ripple
interfaces
ncurses
ruby
refs
filesystems
retro gaming
raspberry pi
sinatra
3d printing
nethack
gcc
compiler
fedora
virtfs
project
gaming
vim
grep
sed
aikido
philosophy
splix
android
lvm
storage
bitcoin
projects
sig315
miq
db
polisher
meditation
hopex
conferences
omega
simulator
bundler_ext
rubygems
book review
google code in
isitfedoraruby
svn
gsoc
design patters
jsonrpc
rjr
aeolus
ohiolinuxfest
rome
europe
travel
brno
gtk
python
puppet
conference
fudcon
snap
html5
tips
ssh
linux
hardware
libvirt
virtualization
engineering expo
cloud
rpm
yum
rake
redmine
plugins
screencasting
jruby
fosscon
pidgin
gnome-shell
distros
notacon
presentation
rails
deltacloud
apache
qmf
passenger
syrlug
hackerspace
music
massive attack
crypto
backups
vnc
xsd
rxsd
x3d
mercurial
ovirt
qpid
webdev
haikus
poetry
legaleese
jquery
selenium
testing
xpath
git
sshfs
svg
ldap
autotools
pygtk
xmlrpc
slackware

Feb 18 2007 linux slackware hardware

Installing Slackware 11.0 on the Acer Aspire 5102WLMI Notebook

(Standard Disclamer: I am not responsible for any changes you do to your system and their results/outcomes, follow this guide at your own risk!)

Overview: To make things short, I bought this laptop to use in grad school last fall. Overally it is a nice (not great) notebook that I bought for a reasonable price though Unfortunately I was unable to get my first distro of choice working, Fedora 5, as the installation worked 100% but the system froze when intializing udev, early in the boot process. Afterwards, I installed Ubuntu, without any glitches, and spent a while configuring the system so that it worked properly (for some reason my synaptics touchpad was giving me alot of trouble). Unfortunately after all the hastle, the laptop would boot/run as normal but would periodically suddenly just freeze when in use. There was no single action that caused this, and after much debugging, I gave up and decided to try my staple and still favorite distro Slackware.

General Hardware Specifications:

Hardware ComponentsStatus Under LinuxNotes
AMD Turion 64x2 (64-bit, dual core) CPUWorksSelect right processor in kernel config. All ACPI power options built into kernel for full power management support
512MB DDR2 RAMWorksNo special setup needed
100GB PATA Hard DriveWorksATI PATA chipset must be enabled in kernel config
TouchpadWorksEnable synaptics and psmouse drivers in the kernel
Speakers/Headphone JackWorksNo special setup
ATI Radeon Xpress 1100WorksRequired a bit of configuration, see below
Realtek Ethernet network cardWorksJust select appropriate driver in the kernel config
Atheros Wifi Network CardWorksHad to fiddle around to get this working, see below
CD/DVD Reader/BurnerWorksNo special setup needed
USB PortWorksNo special setup needed
Card ReaderNot workingDidn’t mess around with this too much, but I’m unable to mount a SD card that I have

Steps I performed to get Slackware Working: 1. Immediately upon reciving computer, boot into Windows XP and go through the Acer setup / create a backup cd.

  1. Wipe the hard drive clean (note you will lose a small Acer recovery partition located in the first sector of your hard drive, but you don’t need this) using a live Knoppix CD, and created/formatted 4 partitions:
  2. /dev/hda1 20GB vfat for Windows XP
  3. /dev/hda2 20GB ext3 for Slackware
  4. /dev/hda3 1GB swap (yea this is probably alot bigger than I need but w/e)
  5. /dev/hda4 55GB vfat for shared documents and data Knoppix has a graphical tool called kparted to do this. Just simply boot from knoppix (you might have to use the ‘noagp’ and/or ‘nohotplug’ boot options to do this, I cant recall though), launch a terminal and type ‘kparted’, then format as necessary.

  6. Reboot and put the Windows XP backup cd you made in step 1 into the drive. Restore your Windows XP installation to the first partition (make sure you can boot and everything works)

  7. Reboot and place the slackware cd/dvd you downloaded into the drive. Install Slack. Space isn’t really an issue, so I went with the full install and chose to install Lilo over the MBR. I had slack mount windows xp under /mnt/winxp and my shared data partition under /mnt/shared

  8. Boot into Slack, there should be no problems getting the system up and running. I did have a few issues with some hardware at first, and you will need a hard link to your ethernet port at first for an internet connection (eg. wifi doesnt work) and you should use the physical terminals (ctrl-alt-f1 though f6) as the touchpad is unusable.

  9. I downloaded swaret to manage packages and dependencies for this box. A pet peeve I have with Slackware is that the built in package management system does not support dependency resolution (done on purpose for simplicity) and many of the packages out there are not setup to work with the external utilities to do so (such as Swaret). This of course depends on the community and is getting better everyday, and I plan on contributing a few packages which I manually installed/compiled to the Linuxpackages.net repository once I refamiliarize myself with Slackware again (it was my first distro, but I was using Fedora for a long time since then). Regardless, my /etc/swaret.conf file is attached for your use. I disabled the FTP repositories as I block FTP in my network firewall.

  10. Since slack comes with the 2.4.32 kernel by default and the 2.6 kernel in the repo is a bit outdate (albiet not by much; eg. is 2.6.13 and the current kernel in development is 2.6.20), I decided to download and compile the 2.6.19 (current stable version) kernel from kernel.org and get my hardware working from there. Note: Later on in the process I downloaded and installed the bootsplash package in the Slackware repository to enable a graphical bootup for my system. My kernel configuration which I have included with this article incorporates the patch which enables the startup bootsplash in the kernel. I’m not sure if trying to use my config with a native kernel (eg. without the bootsplash patch) will work. You can find the patch I used here: http://forums.debian.net/viewtopic.php?t=10983

  11. Copy the kernel config file included with this post to the /usr/src/linux-2.6.19/.config file, then run “make”, “make install” (this will overwrite the kernel you are using to boot your system, so make a backup, but all should work regardless), “make modules_install”, and “lilo”. Then reboot

  12. At this point most of your hardware should work. I’ve included my lilo.conf and xorg.conf files with this post incase you need trouble.

  13. Because I prefer gnome to KDE, I installed dropline-gnome from the slackware repository (using the install tool which was provided, I installed all applications that came with it), as well as libgksu (from the repo), and gksu (which for some reason did not come with dropline-gnome and was not in the repo, thus I had to d/l the source, compile, and install manually; simple process though with no hickups).

  14. To get wifi working, I downloaded/compiled/installed the madwifi driver (simply google “madwifi”). I added “/sbin/modprobe ath_pci” to /etc/rc.d/rc.modules, restarted, and whala the wifi card was present and worked (I connect to the network via the NetworkManager applet in gnome, which offers an incredibly simple interface which to select and connect to availible networks in the area).

  15. My ATI Radeon Xpress 1100 Graphics Card gave me a bit of trouble. All in all, it turned out to be a kernel issue, and the working kernel/xorg.conf is attached. Essentially after compiling your kernel and rebooting (so that your using it), download the ati linux driver from www.ati.com (xpress1100 will not be on the list, but as far as i can tell there is only one linux driver). Since the header linux/config.h was removed from kernel 2.6.19, and the ati driver code relied on this, I simply copied config.h from an old kernel to my current one (eg. cp /usr/src/linux-2.4.30/include/linux/config.h /usr/src/linux-2.6.19/include/linux/config.h). Then simply run the installer script as root, and upon successful completion, backup your /etc/X11/xorg.conf and run “aticonfig –initial”. Finally reboot and test 3D acceleration w/ GLX gears. Notes: your running kernel cannot include support for DRM under character devices, if it is a module on your system, disable it. My attached kernel config has it disabled, so you can just use that. Furthermore, every time you upgrade your kernel you will need to run the ati driver installer so it builds a new driver for your kernel.

Unresolved Problems: * Bootup takes a long time. On the same machine, Windows XP takes about 30 sec to bootup to the login screen (though from login to usable system takes longer than in Linux) while Slackware takes anywhere up to a minute and a half to boot. When I had Ubuntu on this system, it never took longer than 40sec to boot, and I feel this is because I have a big kernel (built all my required drivers right in, instead of making them modules)

Attached Files: * 2.6.19 Kernel config (recall this is with the bootsplash patch) * lilo.conf * swaret.conf * xorg.conf * “lspci -v” and “lsmod” output from my working system * glxinfo output

Conclusion: I really like Slackware. Minus a few minor annoyances, Slack has always proven to be a solid, simple, and powerfull distro that just works. If some hardware isn’t working, its simply because the driver isn’t present and getting it working simply involves downloading the necessary software, (compiling it,) and installing as necessary. You never have to digg to far to try to debug a problem and once you setup your system (and dont mess with it :-p) it will forever work.

Hope this helped you! (As I play around with this machine more, I will keep this article update with what I did and the effect on the system).

Linux On LaptopsTuxMobil - Linux on Laptops, Notebooks, PDAs and Mobile Phones