RedHat 8.0 Linux on a IBM X30 Laptop

Overall the install went smoothly from a RedHat 8.0 DVD (a novelty, as it was the first time I installed Linux from that medium. It seems not-to-long-ago, that floppy installs were commonplace.)

Everything critical came up first try, namely XFree86 came up, and my eepro100 apapter loaded, etc. Sound even worked. At first the laptop wouldn't suspend, and I originally had though it was a apm issue, so I futzed with stuff in /etc/sysconfig/apmd for a while, but figured out that it would suspend fine from console but not from X. Also, I could not CTRL-ALT-F1, etc to get out to console mode. Well, more specifically, it would go to console but not back, to X without locking the machine. The Intel i830 video card was handled by the i820 XFree86 driver, with some built-in extensions for the i830. I checked out the various XFree86 mailing lists and noticed a lot of work was being done on that chipset, so I pulled a copy out of CVS (2.3.99) and built/compiled it. Also, I updated to the latest stable kernel 2.4.20. See attached XF86Config and .config for specifics. Related info about the driver here (thanks to David Dawes).

Note, all the DRI stuff needs to be working for you to get OpenGL stuff to work as well as the suspend stuff.

The next bit to figure out was the integrated wireless pci card. It uses the prism2 chipset and is supported by the fine folks at AbsoluteValue Systems, Inc.. The syntax, once you've got every thing compile or installed ( I used the rpm's available here for the stock RH8.0 kernels, but had to compile from source when I updated to the 2.4.20 kernel. Anyway, is an example script on how I attach to my Airport network (not *really* and airport but one of those Orinoco access points that *looks* like an Airport, internally). It uses WEP, and that was the tricky bit to figure out the syntax.

/sbin/modprobe prism2_pci
/sbin/modprobe p80211
/sbin/wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
/sbin/wlanctl-ng wlan0 lnxreq_autojoin ssid=<insert your ssid> authtype=sharedkey
/sbin/wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKey0=xx:xx:xx:xx:xx
/sbin/wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKeyID=0
/sbin/wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11PrivacyInvoked=true
/sbin/dhclient wlan0

You'll probably want to incorporate this into your /etc/init.d scripts but this gives you the basic gist of things. Also, remember the xx:xx:xx:xx:xx bits of your WEP key is the hexidecimal representation of what would be your Airport "password". For instance, pW3rD would be 70:57:33:72:44. Check `man ascii` for a conversion chart.

I haven't checked the modem, but when I do I'll post it here. Hopefully, it will be a while before I'm unable to find a real network connection. Also, the ohci1394 drivers seem to work but I don't have any firewire stuff to confirm. USB seems to be working nicely on at least mass-storage devices that I've tested, and the X30 included Compact Flash slot also worked out-of-the-box. I think that's about it, if you have questions/comments/corrections, please email me at vmarshall AT fartytowels DOT org .

I actually got all these bits working over the course of the Christmas holidays, and braindumped them on the flight home, so some details might have been obscured in recollection, so please let me know if your experience is different. This is a great laptop and Linux runs beautifully on it. Now if I can only get the Rio s35s I got for Christmas to work with Linux...

I've dumped some (maybe) useful bits of info below:

OS = RedHat 8.0
Laptop Model = IBM X30
CPU = 1.20 Mhz
RAM = 512 MB

Output of `X -version`:

XFree86 Version (grabbed from CVS, 12/2002)
This is a pre-release version of XFree86, and is not supported in any
way. Bugs may be reported to XFree86@XFree86.Org and patches submitted
to fixes@XFree86.Org. Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository

XFree86 Version / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 21 December 2002
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.20 i686 [ELF]
Module Loader present

Output of lspci:

00:00.0 Host bridge: Intel Corp. 82830 830 Chipset Host Bridge (rev 04)
00:02.0 VGA compatible controller: Intel Corp. 82830 CGC [Chipset Graphics Controller] (rev 04)
00:02.1 Display controller: Intel Corp. 82830 CGC [Chipset Graphics Controller]
00:1d.0 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #1) (rev 02)
00:1d.1 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #2) (rev 02)
00:1d.2 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #3) (rev 02)
00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev 42)
00:1f.0 ISA bridge: Intel Corp. 82801CAM ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801CAM IDE U100 (rev 02)
00:1f.3 SMBus: Intel Corp. 82801CA/CAM SMBus (rev 02)
00:1f.5 Multimedia audio controller: Intel Corp. 82801CA/CAM AC'97 Audio (rev 02)
00:1f.6 Modem: Intel Corp. 82801CA/CAM AC'97 Modem (rev 02)
01:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev a8)
01:00.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev a8)
01:00.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller
01:02.0 Network controller: Harris Semiconductor Prism 2.5 Wavelan chipset (rev 01)
01:08.0 Ethernet controller: Intel Corp. 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller (rev 42)

RedHat 9.0 Linux on a IBM X30 Laptop

Sometime in May, 2003

Ok, so to update to RedHat 9.0, I already had apt installed from . So I moved over the stuff from /usr/X11R6 (from cvs) and updated my /etc/apt/sources.list to this:

# Red Hat Linux 9.0
rpm redhat/9/i386 os updates freshrpms
rpm-src redhat/9/i386 os updates freshrpms

and did an 'apt-get update; apt-get dist-upgrade', and moved back relevent pieces from the old X tree and all was well.

Useful linux laptop sites: