Slackware Linux on the IBM Thinkpad 560Z |
| All rights reserved. 0. System Description
1. InstallationThe following is a description of how to install Slackware Linux 10 on the Thinkpad 560z, which is a Pentium II system.Because the video performance of the system is significantly better under Windows than it is under Linux, I would recommend keeping Windows on the computer for things such as web browsing. On my system, I upgraded to a 40 gig hard drive with 6 gig for Windows 98SE, and the remaining area for Linux. I had previously also used the stock 4 gig drive in a 2/2 arrangement.
If you are using the stock 4 gig drive, you can create a Linux partition that is 1.8 gigs and that will be quite sufficient. I also created a Linux Swap partition of 80 megs. I installed most of the A, AP, D, and L series files as well as the Linux kernel sources for version 2.6.9, and I had 950 megs free afterwards. Mind you, to fit Linux in 1.8 gigs and have almost 1 gig free afterwards, you will need to delete junk you don't need e.g. Samba, Java, and the CD writing software. 2. Drivers2.1. VideoThe 560Z has a Neomagic Corporation NM2160 MagicGraph 128X. SUBSUBSECTON(2.1.1. X Windows) X seems to find the NM2160 and recognize it -- it's not clear however that there's any acceleration. In fact I would call it slow. SUBSUBSECTON(2.1.2. Framebuffer) Although the framebuffer driver "neofb.c"
doesn't reject the NM2160
it seems that much of the chip's capability is ignored
by the driver because it was written for subsequent chips.
(Developers: if you're interested,
some NM2160 registers are described here.)
Therefore, I suggest using the standard VESA driver because that driver is being continually improved and it is certainly fast enough. Note! My in-kernel windowing system FBUI works well with the VESA interface and I've included routines for faster drawing.
To set the VESA mode in LILO to get the
framebuffer console, firstly compile the kernel
to enable the Framebuffer and the framebuffer console,
then set
the video mode in lilo.conf
as 2.2. SoundThe sound chip is said by some people to be a CS4237b on the ISA bus. It is not a plug-and-play chip, but rather you can configure it under MSDOS using the PS2.exe utility.Under Slackware 10.2's provided 2.4.31 kernel, the chip is automatically detected as a CS4231 and that driver is loaded, not the CS4236 driver. And the CS4231 driver works just fine. I have not gotten it to work under 2.6 yet. You do not need to run alsaconf. To check if the CS4231 driver is loaded, do a "cat /proc/dma". If you experience any profound problems, I would suggest that you turn the 506z off, turn it over, open the lithium battery slot and remove the battery for a few seconds, then reinsert it. This will reset the I/O devices to system defaults. 2.3. Power Management: ACPIThe ACPI driver in the 2.6.9 kernel works wonderfully. You can look at the status of various PM related devices in /proc/acpi.2.4. Hard driveSince this is an older machine, it is fussy about which newer drives it will accept, even if you update the BIOS to the final version which ought to know about bigger drives.Key points:
2.5. USBUSB flash drives work like a charm. I haven't tried printing.2.6. Printing via lp0Catting a file to lp0 is the method I have always used for printing. It works fine.2.7. PCMCIAUnder kernel 2.4, PCMCIA works fine, although not all drivers are provided in that kernel that you may need.With kernel 2.6.15, which is the latest I've tried, PCMCIA is more of a problem. It helps to run cardmgr. Note, I have not seen Cardbus cards working properly. Only 16 bit. This dot-config file is for kernel 2.6.15 and permits the use of PCMCIA. 3. Performance3.1. VideoSUBSUBSECTON(3.1.1. X Windows) The X server performance is not great, however Xine plays MPEG1 movies very fast indeed. If you plan to use X, you should disable the opaque window move feature. SUBSUBSECTON(3.1.2. Framebuffer) My FBUI in-kernel GUI is very fast in VESA mode.3.2. Hard drivePerformance of my 4GB standard IBM hard drive is:From hdparm -T: /dev/hda: Timing buffer-cache reads: 212 MB in 2.01 seconds = 105.47 MB/sec hdparm -t: /dev/hda: Timing buffered disk reads: 24 MB in 3.05 seconds = 7.87 MB/sec I have since put in a 40 gig Hitachi drive and the performance is as follows: Buffer-cache: 212 MB in 2 seconds = 106 MB/sec Buffered-disk reads: 84 MB in 3 seconds = 27 MB/sec Clearly, upgrading the hard drive was worth it for the speed increase alone. It's also always good to put these in your /etc/rc.d/rc.0 : /usr/sbin/hdparm -f /dev/hda [flush the hard drive cache] /usr/sbin/hdparm -S 1 /dev/hda [get it to spin down ASAP] 3.3. ProcessorRunning the BYTE drystone 2 without register variables, which is at http://www.anime.net/~goemon/benchmarks.html, I get:TEST INDEX Dhrystone 2 without register variables 17.1 This is 25% faster than the 560X, which got an index of 13.6. 3.4. Memory BandwidthTo ascertain memory performance, I wrote a utility called "bandwidth". You can see the results of testing this laptop here.3.5. Power UtilizationHere is what I've measured using a Kill-a-Watt meter:![]()
4. ManualIf that link is dead, search google for 56zhmm.pdf. 5. Thinkpad links
Links
|
|