Difference between revisions of "Installing Slackware on a ThinkPad 750P"

From ThinkWiki
Jump to: navigation, search
 
(Updated with new revelations and test results)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
__TOC__
 
__TOC__
 
----
 
----
 +
===Overview===
 +
I made my 750P an SMB print server. I may add file sharing. With this document, I plan to tell you how to install Slackware 10.1 on your 750.
  
 +
=== Obstacles ===
 +
The 750 has only 4MB RAM built-in. Linux really likes more than that. Thankfully, you can add a 32MB RAM card to the 750. 36MB should be enough for a few tasks.
  
== This is a DRAFT document ==
+
The 750 has no CD drive, and I don't have a PCMCIA CD drive, so I have to boot from floppy and install over a network. Slackware supports installing over NFS.
I am writing this as I attempt installation.
 
  
===Overview===
+
You will need a wired, 16-bit NIC for the 750 series. Wireless install is not supported, and 32-bit cards won't work in any 750.
I plan to make my 750P an SMB file and print server.
+
The NIC I'm using is the LinkSys PCMPC100, which mostly works. It doesn't seem to like NFS, so I'm using the fizban FTP method. [http://www.slackware.com/~fizban/ftpinstall.php Fizban's page]. By the way, if your system locks up with no messages, please try using the FTP method. If you get "still trying" messages with NFS, try FTP. If you get "next frame inconsistency" messages, it's probably a hardware issue. (I had a very bad network cable that caused this error. Now I get a few, but just re-seating the network cable makes it go fine for a while.)
 +
 
 +
If you get NFS installation working, please edit this page.
  
With this document, I plan to tell you how to install Slackware 10.1 on your 750.
+
The 750 BIOS will recognize hard drives up to 8GB, so ensure your boot partition is entirely under that limit. Linux will use all of a larger drive once the kernel loads, as it does not use the BIOS to access the hard disk.
  
=== Obstacles ===
 
=== Preparation ===
 
 
=== The Steps ===
 
=== The Steps ===
==== Booting and connecting to the network ====
+
==== Preparation ====
Download the bare.i, install.1, install.2, and pcmcia Slackware floppies. Boot the 750 with the bare.i disk. The following line of parameters will suit our needs.
+
Download these standard Slackware floppies: bare.i, install.1, install.2, pcmcia and network. If using fizban, download his modified network and install.2 instead.
 +
 
 +
Choose an IP address. Get your IP gateway and netmask.
 +
 
 +
On another machine, set up an NFS or FTP server with the contents of the Slackware CD's.
 +
 
 +
==== Getting ready to run Setup ====
 +
Boot the 750 with the bare.i disk. The following line of parameters will suit our needs.
 
  ramdisk floppy=thinkpad idebus=33 noacpi noscsi nousb nopci
 
  ramdisk floppy=thinkpad idebus=33 noacpi noscsi nousb nopci
(Is there anything else the 750 doesn't have?) Insert install.1 when it asks for the root disk. Continue with install.2 when prompted.
+
'''floppy=thinkpad''' is needed for old ThinkPads that have the drive sense signal polarity inverted. The 750 does.
 +
'''idebus=33''' tells the kernel that the ide bus runs at 33MHz. (Surprise!)
 +
'''noxxx''' means the kernel should not even look for that kind of device, because it's not present on the 750.
 +
 
 +
Insert install.1 when it asks for the root disk. Continue with the fizban '''modified''' install.2 when prompted.
 +
 
 +
Login as root. If you have a 750 or 750P (and its grayscale screen), you can type '''TERM=vt100''' to get menus with higher contrast, but I think the color menus are nicer even on the grayscale screen. Insert your NIC if not done already. Type '''pcmcia'''. Put in the pcmcia floppy when asked. It should find and enable your NIC. If your card has blinky lights, some of them should be on at this point.
  
Login as root. If you have a 750 or 750P (and its grayscale screen), you can type "TERM=vt100" to get menus with higher contrast, but I think the color menus are readable even on the grayscale screen. Insert your NIC if not done already. Type pcmcia. Follow the instructions on the screen. Configure your card:
+
Type '''network''' and insert the modified network diskette when asked. It will display a menu and prompt you. Switch to another console (Alt-F2), hit enter to log in, and type '''modprobe ftpfs'''. Ignore the warnings. Switch back to the first console (Alt-F1) and type '''q''' to skip looking for your network card (since the pcmcia diskette already did it). Hit enter to unmount the diskette.
ifconfig eth0 $IPADDR broadcast $BCAST netmask $NETMASK
 
  
Then make sure you can route to the internet:
+
Now you are ready to partition your disk.
route add -net default gw $GTWAY netmask 0.0.0.0
 
  
 
==== Partitioning your disk ====
 
==== Partitioning your disk ====
Follow section 4, Preparing the Disks, to partition, format, and mount your disk. Remember to ensure your /boot partition is in the first 1024 cylinders or 8GB. Use mke2fs to format them. Be sure to activate your swap partition using swapon. Compiles will take more memory than my 36MB could handle.
+
Make partitions on your disk using the old school fdisk, or the easier cfdisk.
  
Here's what I did after partitioning:
+
Remember that if your drive is larger than 8GB, you should have a /boot partition and that partition must be in the first 1024 cylinders or 8GB. There is no need to format the partitions as Setup will do that for you.
mke2fs /dev/hda6
+
A swap partition is also a good idea. 1.5 to 2 times as much RAM as you have is generally regarded as a good size. (On my 750P, I made a 80MB /boot, 150MB swap and the rest of a 2.1GB drive is the root partition. I also have a FreeDOS partition for running '''PS2.EXE'''.)
mke2fs -j /dev/hda8
 
mkswap /dev/hda7
 
swapon /dev/hda7
 
mkdir /mnt/gentoo
 
mount /dev/hda8 /mnt/gentoo
 
mkdir /mnt/gentoo/boot
 
mount /dev/hda6 /mnt/gentoo/boot
 
  
Your partition numbers will be different.
 
 
==== Running Setup ====
 
==== Running Setup ====
 +
setup
 +
Use that to start installation. The normal installtion procedure should work pretty well from here. (But crossing your fingers won't hurt.) See the Slackware installation documentation.
 +
=== Getting devices to work ===
 +
The parallel port should work perfectly fine. The serial port should work too, but it uses the feeble 16450 serial controller with a one-byte buffer, so high speeds don't work well.
 +
==== Video ====
 +
The 750 family uses the WD90C24 or WD90C30 video chip with 1MB RAM. This chip is supported by XFree86's SVGA driver 640×480@255 colours (tested with version 4.1.0). If you are using X11, the card is not support and one must use the VGA driver with 16 colours and maximum. Keep in mind that the SVGA driver for XF86 needs patching if your ThinkPad 750 features a dual-scan TN display.
 +
==== Audio ====
 +
Sound is provided by a Crystal CS4248. It provides 24-bit system Sampling Rates up to 192 kHz. Although many CS423* chips are supported in kernel 2.4 and 2.6, no driver supports this peticular chip.
 +
==== Pen ====
 +
The 750P has an untethered pen that allows you to write on the screen. It appears as /dev/ttyS03 on Slackware. I don't have it working at all yet.
 
=== Final Thoughts ===
 
=== Final Thoughts ===
 +
After doing an install and configuring Samba, my 750P runs ably (if slowly) as a print server. Installing Slackware was relatively painless, once I got the method nailed down and destroyed a bad network cable.
  
 
[[Category:750]] [[Category:750Cs]] [[Category:750C]] [[Category:750P]]
 
[[Category:750]] [[Category:750Cs]] [[Category:750C]] [[Category:750P]]
 +
[[Category:Slackware]]

Latest revision as of 00:54, 13 July 2016


Overview

I made my 750P an SMB print server. I may add file sharing. With this document, I plan to tell you how to install Slackware 10.1 on your 750.

Obstacles

The 750 has only 4MB RAM built-in. Linux really likes more than that. Thankfully, you can add a 32MB RAM card to the 750. 36MB should be enough for a few tasks.

The 750 has no CD drive, and I don't have a PCMCIA CD drive, so I have to boot from floppy and install over a network. Slackware supports installing over NFS.

You will need a wired, 16-bit NIC for the 750 series. Wireless install is not supported, and 32-bit cards won't work in any 750. The NIC I'm using is the LinkSys PCMPC100, which mostly works. It doesn't seem to like NFS, so I'm using the fizban FTP method. Fizban's page. By the way, if your system locks up with no messages, please try using the FTP method. If you get "still trying" messages with NFS, try FTP. If you get "next frame inconsistency" messages, it's probably a hardware issue. (I had a very bad network cable that caused this error. Now I get a few, but just re-seating the network cable makes it go fine for a while.)

If you get NFS installation working, please edit this page.

The 750 BIOS will recognize hard drives up to 8GB, so ensure your boot partition is entirely under that limit. Linux will use all of a larger drive once the kernel loads, as it does not use the BIOS to access the hard disk.

The Steps

Preparation

Download these standard Slackware floppies: bare.i, install.1, install.2, pcmcia and network. If using fizban, download his modified network and install.2 instead.

Choose an IP address. Get your IP gateway and netmask.

On another machine, set up an NFS or FTP server with the contents of the Slackware CD's.

Getting ready to run Setup

Boot the 750 with the bare.i disk. The following line of parameters will suit our needs.

ramdisk floppy=thinkpad idebus=33 noacpi noscsi nousb nopci

floppy=thinkpad is needed for old ThinkPads that have the drive sense signal polarity inverted. The 750 does. idebus=33 tells the kernel that the ide bus runs at 33MHz. (Surprise!) noxxx means the kernel should not even look for that kind of device, because it's not present on the 750.

Insert install.1 when it asks for the root disk. Continue with the fizban modified install.2 when prompted.

Login as root. If you have a 750 or 750P (and its grayscale screen), you can type TERM=vt100 to get menus with higher contrast, but I think the color menus are nicer even on the grayscale screen. Insert your NIC if not done already. Type pcmcia. Put in the pcmcia floppy when asked. It should find and enable your NIC. If your card has blinky lights, some of them should be on at this point.

Type network and insert the modified network diskette when asked. It will display a menu and prompt you. Switch to another console (Alt-F2), hit enter to log in, and type modprobe ftpfs. Ignore the warnings. Switch back to the first console (Alt-F1) and type q to skip looking for your network card (since the pcmcia diskette already did it). Hit enter to unmount the diskette.

Now you are ready to partition your disk.

Partitioning your disk

Make partitions on your disk using the old school fdisk, or the easier cfdisk.

Remember that if your drive is larger than 8GB, you should have a /boot partition and that partition must be in the first 1024 cylinders or 8GB. There is no need to format the partitions as Setup will do that for you. A swap partition is also a good idea. 1.5 to 2 times as much RAM as you have is generally regarded as a good size. (On my 750P, I made a 80MB /boot, 150MB swap and the rest of a 2.1GB drive is the root partition. I also have a FreeDOS partition for running PS2.EXE.)

Running Setup

setup

Use that to start installation. The normal installtion procedure should work pretty well from here. (But crossing your fingers won't hurt.) See the Slackware installation documentation.

Getting devices to work

The parallel port should work perfectly fine. The serial port should work too, but it uses the feeble 16450 serial controller with a one-byte buffer, so high speeds don't work well.

Video

The 750 family uses the WD90C24 or WD90C30 video chip with 1MB RAM. This chip is supported by XFree86's SVGA driver 640×480@255 colours (tested with version 4.1.0). If you are using X11, the card is not support and one must use the VGA driver with 16 colours and maximum. Keep in mind that the SVGA driver for XF86 needs patching if your ThinkPad 750 features a dual-scan TN display.

Audio

Sound is provided by a Crystal CS4248. It provides 24-bit system Sampling Rates up to 192 kHz. Although many CS423* chips are supported in kernel 2.4 and 2.6, no driver supports this peticular chip.

Pen

The 750P has an untethered pen that allows you to write on the screen. It appears as /dev/ttyS03 on Slackware. I don't have it working at all yet.

Final Thoughts

After doing an install and configuring Samba, my 750P runs ably (if slowly) as a print server. Installing Slackware was relatively painless, once I got the method nailed down and destroyed a bad network cable.