Cyberspace installation
10 March 2002

Current state summary

Cyberspace is UCLA 994012442. running only Linux. I installed Linux using the SuSE 7.3 disks, and followed in broad parts the instructions from the SuSE installation, which was done on Gubbio, my home machine.

Cyberspace now runs a web server at 128.97.184.95, along with Samba, vsFTPd, and TightVNC. It's always left on.

Font `-misc-fixed-medium-r-normal-20-200-75--75-c-100-iso8859-*' not found
-- that's the large font I'd like to have as default for console on cyberspace. Where is it and why did it stop working?

Bootup instructions

Cyberspace currently has a problem with Lilo -- the bios doesn't support a USB keyboard, so if you want to load a kernel that is not the default, you need to plug in the PS/2 keyboard.

Modules autoload, so you shouldn't need to manually load the firewire modules, or any other.

The /vc file system (ext3) is on /dev/hdb1 and will automount both on cyberspace and on gubbio. This is robust and has worked for a long time. (Note that on 24 September 2002 I switched /vc from LVM to ext3.)

The /vd file system (ext3) is on /dev/hdd1 and will NOT automount. This is the DeathStar drive that doesn't want to be powered for more than 8 hours a day.

Both of these drives take the hdparm -S 242 /dev/hdb or /hdd setting -- they will then spin down after an hour of idleness. You can use the -k switch to make this stick through a warm boot (soft reset), but it has to be re-issued if you power it down.

Installation summary

On 29 October I upgraded the kernel, so that I can use the new dv1394io utility on cyberspace. It was a hassle -- especially sound. It would have been faster to install Libranet.

On 10 Mar 02 I upgraded the Bios on Cyberspace from A06 to A07 and defined the zip drive as drive B:, which also makes it bootable. I've not tried to access it under Linux and don't know if Linux can handle this arrangement. If not, just go into the bios setup (F2 at bootup) and change the zip drive back to a normal ATAPI drive.

Cyberspace has user root and user steen.

On 10 Mar 02 I also updated XFree86 from SuSE's 4.1 to SuSE's update 4.2 (see below). I also got the files for SuSE's 2.4.16 kernel, including the source code, but I didn't install it. I'm hoping I may be able to use the source code to make a new kernel, after patching it with the gigadrive patch.

On 15 March 2002, I installed a security update from SuSE, the libz update at ftp://ftp.suse.com/pub/suse/i386/update/7.3/a1/. I performed the update on both Gubbio and Cyberspace. I downloaded the rpm file into the root directory switched to the command line with Alt+F2. Then I did "init S" or Single User Mode. This shuts down a lot of programs, including the NIC card, placing the system in a good mode for fundamental upgrades. I then ran the rpm file with the command "rpm -Fhv <filename>" It went fine. Single User Mode could also be useful in the case of a hacker attack, as it basically shuts you off from the world.

On 25 April 2002 I installed TightVNC -- see details. I did it all remotely, through VNC and SSH.

On 26 April 02 I installed xcpustate, a cpu monitor. I checked the SuSE Pro site and found it's in xap3 in 8.0, which turned out not to be the same as 7.3, where it is in xap2. I then went to the gatech mirror and kept running into password requests. I found the file at ftp://chuck.ucs.indiana.edu/linux/suse/suse/i386/7.3/suse/xap2/, and I also discovered that you can download 8.0 for free, so I might do that. For some reason, however, I was unable to retrieve the rpm from any of the mirrors, using any Linux program (I tried KBear, Konqueror, and Opera); I ended up having to get it using my local Windows machine and save it on Nicco. It works fine, but this was a hassle.

On 29 April 2002 I worked on the Apache web server -- see details.

On 9 May I looked into disabling nscd, the Nameserver Cache Daemon -- it doesn't appear to be required; cf. instructions. (I ran the program top for the first time, to get a sense of active systems and resource use -- there are lots of instances of nscd running, and then it turns out they're not needed). Basically I just stopped nscd with /etc/init.d/nscd stop and then went into /etc/rc.config and changed "Run the Name Service Caching Daemon at boot time" to no -- and then did a /etc/init.d/inetd reload. It's possible that it was nscd that was causing me grief trying to establish virtual hosts yesterday! I also looked into /etc/inittab -- the main init configuration file -- to see why I have so many mingettys. I gather I have six so that they can all be accessed with Ctrl-Alt-F1 through F6. Three is surely enough? I commented out mingetty 4, 5, and 6 -- how do you reload inittab? It turns out you use telinit q. This worked great -- the last three mingettys are gone and the top list looks more tidy.

On 11 May I installed gprename -- see details.

On 12 May I installed GKrellM, a system monitor. I had to install gtk-devel, imlib, and imlib-devel to compile it.

On 25 May 2002, I got powertweak 0.95 from CVS. To configure it, I had to get libxml2-devel from SuSE. It runs fine, and reports the CPU is running at 800MHz.

On 25 May 2002, I got the file k_i386-2.4.16-35.i386.rpm from SuSE's kernel update directory. I renamed vmlinuz vmlinuz.2.4.10 and created a new entry in lilo. I ran lilo to make it stick.

On 23 June 2005, three years later, the replacement CPU failed. It may just have been really dusty and shorted out, but since I'm leaving the country for three months soon, I just replaced it with the original CPU. It's possible that these replacement CPUs don't last as long -- the one on gubbio also started having problems after a while, and I replaced it with the original. Things seem to be running fine now and CPU speed isn't a big deal for servers.

Installation details

XFree86 Upgrade

I downloaded the new XFree version 4.2 in SuSE's RPM from here:
ftp://ftp.suse.com/pub/suse/i386/supplementary/X/XFree86/XFree86-4.2.0-SuSE/suse73

At the same place, I downloaded the xf86-glx, since I had 4.1 installed
ftp://ftp.suse.com/pub/suse/i386/supplementary/X/XFree86/XFree86-4.2.0-SuSE/suse73/
DRI/xf86_glx-4.2.0-2.i386.rpm

I also got xdevel, for the same reason (packager showed 4.1)

xf86tools contains the fetchmsfonts script, so I updated it. Ditto xman, fntscl (scalable fonts), xloader, xshared, and xmodules.

Then I got the SAX2 update and saxident at
ftp://ftp.suse.com/pub/suse/i386/supplementary/X/XFree86/SaX2/suse73

saxident provides provides /usr/X11R6/lib/sax/sysp/maps/Identity.map
sax2 provides Gnu.so, PLog.so, XFree.so

When I installed xf86, I got this:

Dependency Problems: I seem to be missing a vital libX library -- lots of
stuff missing.

xf86
libXTrap.so.6 is needed by xf86-4.2.0-2
libXrandr.so.1 is needed by xf86-4.2.0-2

xshared had reams of dependency problems --
libXv.so.1
libXxf86dga.so.1
libXxf86misc.so.1
libXxf86vm.so.1

xf86-glx
glidedri conflicts with glide_v2-2.53-54
gldri_v5 conflicts with glide_v2-2.53-54

Since xf86-glx is for 3D rendering, I I believe I don't have it anyway, I
cancelled the update of this rpm file.

xdevel
none

xftools provides xf86/usr/X11R6/bin/fetchmsttfonts
I had to check "replace files" to avoid an error message

xserver provides x_server, XFree86-V4L
I checked replace files, no errors

xmodules provides vmware-driver, gamma_dri.so, mesa_dri.so, tdfx_dri.so,
tdfx_dri

xfntscl provides x312fscl, fntscl, speedo, x311fscl

xman provides x312man, x311man, xman1, xman3

The trouble is the libX library. It's provided by xshared, which I finally ran after unchecking "check dependencies" and then ran ldconfig

xshare provides:

xpm, XFree86-libs, x, libICE.so.6, libSM.so.6, libX11.so.6, libXIE.so.6, libXTrap.so.6, libXaw.so.6, libXaw.so.7, libXext.so.6, libXfont.so.1, libXft.so.1, libXi.so.6, libXmu.so.6, libXmuu.so.1, libXp.so.6, libXpm.so.4, libXrandr.so.1, libXrender.so.1, libXt.so.6, libXtst.so.6, libdps.so.1, libdpstk.so.1, libpsres.so.1, libxrx.so.6

At that point, xf86 itself installed, nicely showing the xshare files as dependencies. It provides:

xtermutf, xterm, xfntbig, xfntgrk, xfntgr, xdoc, xlkit, XFree86, XFree86-tools, XFree86-xfs, XFree86-twm, XFree86-xdm, XFree86-75dpi-fonts, XFree86-ISO8859-2-75dpi-fonts, XFree86-doc, XFree86-xf86cfg, x311bin, X, X11, x11, x312bin, x311cfg, x311ctrb, x311f75, x311fnt, x311ubin, x312cfg, x312ctrb, x312f75, x312fnt, x312ubin, xf_bin, xf_cfg, xf_ctrb, xfnt, xfnt75, xusrbin, xf86_40, libximcp.so, libxlcDef.so, libxlcUTF8Load.so, libxlibi18n.so, libxlocale.so, libxomGeneric.so

Kernel

Left for later.
Note that the files have been downloaded to Cyberspace (not gubbio) only.

I downloaded SuSE's 2.4.16 kernel rpm from 20 Dec 01 here:
ftp://ftp.gwdg.de/pub/linux/suse/7.3_update/kernel/2.4.16-20011220

I followed the instructions from here, as copied below:
http://sdb.suse.de/en/sdb/html/ftpkernel.html

In certain cases some RPM packages, important for the operation, can be found in the same directory as the kernel package. If you already deploy one of these programs, please update it too. These packages along with the kernel can be installed with rpm -Uvh packagename.rpm. Please refer to the included documentation if necessary.

I see packages for jfsprogs, k_deflt, and the source code -- I should get
that I don't seem to be able to save files in the /usr/src directory as
user steen, so I'll log out and come back in as root.

Now open a terminal (console) and log in as root (with su -). Save your
old kernel and, if necessary, your old initrd.

cp /boot/vmlinuz /boot/vmlinuz.old
cp /boot/initrd /boot/initrd.old

Install the new package by executing the following command:

rpm -Uvh k_deflt-2.4.xxxxxx.rpm

Version numbers may vary. Please insert here what proceeds.

Reiserfs is the standard file system used from SuSE Linux 7.3 on, and it
requires the utilization of an initial ram disk. The initrd will be
written with the command:

mk_initrd

Then start LILO in order to write the changes to the hard disk or to the
boot medium:

lilo

Finally reboot your computer so that the new kernel can be loaded.

lspci from 4 September 2002:

00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge (rev 03)
00:07.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 02)
00:0d.0 VGA compatible controller: nVidia Corporation Riva TnT [NV04] (rev 04)
00:0e.0 Ethernet controller: Intel Corporation 82557 [Ethernet Pro 100] (rev 05)
00:0f.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro AGP 1X/2X (rev 5c)
02:09.0 FireWire (IEEE 1394): Texas Instruments: Unknown device 8020

 

 

 

top
Debate
Evolution
CogSci

Maintained by Francis F. Steen, Communication Studies, University of California Los Angeles


CogWeb