CSB Home | Search | Table of Contents | General Information |
This describes the procedure I used on a particular laptop, with particular hardware, with apparent success. I do not claim, or even imply, that I or anyone else can successfully repeat this procedure even under identical conditions, let alone with inevitable variations.
We used the standard RedHat 7.2 distribution, containing the 2.4.7 kernel. The docs for IEEE1394 (firewire) say that 2.4.7 thru 2.4.11 are unstable for IEEE1394 support. Initial testing with our 2.4.7 kernel has been OK. It may be that the stability probelms were with IEEE1394 devices ofther than disks -- most of the references I have found deal with video I/O devices.
At the time of this writing (2002.01.22) reports are good for 2.4.12, and for 2.4.14 thru 2.4.17. If I was installing the system now, I would check the extra effort to get the 2.4.12 kernel. linux/IEEE1394 docs, and maybe other linux sources, to get the most recent stable kernel.
Note that SBP2 driver support (necessary to support disk drives on IEEE1394) was only included starting with 2.4.7.
Top of Page
Partitioning the Disk
This is our partition layout:
| /boot | hda1 | 24M | |||||||||||||||||
| /usr | hda5 | 2000M | (shared by both) | ||||||||||||||||
| hda6 | 1000M | (used by both)
| / | hda7 | 512M | (default
(synchrotron) root)
| /rootcore | hda8 | 512M | (core system)
| /tmp | hda9 | 400M | (shared by both)
| /home | hda10 | 3337M | (home for
both)
| |
If I was doing it again, I'd probably make /home smaller. It isn't big enough to store a significant amount of raw data. I'd make /usr larger. But it doesn't really matter.
Top of Page
Basic Linux Install and Configure
For the unedited logs of this phase, see http://www.csb.yale.edu/synchrotron/xanthippe-2.txt. But first, read the section above on linux distributions.
Top of Page
Install and Configure IEEE1394(firewire) Disk Support
For the unedited logs of this phase, see http://www.csb.yale.edu/synchrotron/xanthippe-3.txt and http://www.csb.yale.edu/synchrotron/xanthippe-5.txt.
Top of Page
Create fixed-IP root partition for running HKL2000
For the unedited log of this phase, see http://www.csb.yale.edu/synchrotron/xanthippe-4.txt.
To review, this is our partition layout:
| /boot | hda1 | 24M | |
| /usr | hda5 | 2000M | (shared by both) |
| / | hda7 | 512M | (default (synchrotron) root) |
| /rootcore | hda8 | 512M | (core system) |
| /tmp | hda9 | 400M | (shared by both) |
| /home | hda10 | 3337M | (home for both) |
The root partition is the only thing that changes between the two systems. I booted the default system, and logged in as root. I then used dd to copy hda7 (the active root partition) to hda8. This is really dumb -- you should use dump | restore. After using dd, I did fschk /dev/hda8 to fix the filesystem. Then I mounted hda8 onto /rootcore.
We now do a bunch of things designed to turn /rootcore into a
root filesystem that will boot with the correct IP address for
xanthippe.core. (The HKL2000 license is enabled
forXanthippe.core).
# cd /rootcore/etc
# echo "xanthippe.core" > hostname
Edit fstab to mount hda8 as /, and not mount hda7.
Edit hosts to include:
127.0.0.1 localhost.localdomain localhost
172.29.2.187 xanthippe.core xanthippe
172.29.2.10 bunter.core
# cd /rootcore/etc/sysconfig
Edit network: change hostname to xanthippe.core, add
GATEWAY=172.29.1.1
# cd /rootcore/etc/sysconfig/network-scripts
# cp ifcfg-eth0 ifcfg-eth0.NC
# vi ifcfg-eth0
# diff ifcfg-eth0 ifcfg-eth0.NC
< BOOTPROTO=static
< BROADCAST=172.29.255.255
< IPADDR=172.29.2.187
< NETMASK=255.255.0.0
< NETWORK=172.29.0.0
---
> BOOTPROTO=dhcp
Reboot the laptop, while it is connected to the CSB Core network.
From LILO, select Core to boot the new fixed-IP system.
Get the HKL2000 programs. Note that we make /usr/local/bin
writeable so that users can add detector files.
# cd /usr/local/bin
# ftp darwin
ftp> cd /srv/local/denzo/current/linux/
ftp> mget *
ftp> quit
# chmod g+w *
# chmod g+w .
# chgrp users .
# chgrp users *
# chmod +x *
# chmod +w /usr/local/bin
Add HKL setup to /etc/csh.cshrc (executed by all users when they log
in):
echo "setting up for HKL2000"
setenv HKLDIR /usr/local/bin/
limit datasize unlimited
limit stacksize unlimited
Using /usr/local/bin/access_prod , generate information to send to HKL. They will return a cr_info which will be stored in /usr/local/lib/cr_info.
If desired, allow access from other core hosts (see detailed log). Add any corfe pritners you want to be able to access. Edite /etc/group to add standard CSB groups.
CSB Home | Search | Table of Contents | General Information |
Center for Structural Biology (www.csb.yale.edu), Yale University (www.yale.edu) Contact: webadmin(at)mail^csb^yale^edu Last Modified: Tuesday, 05-Nov-2002 09:08:46 EST |