[FreeVMS] Fw: Chronicles Of A FreeVMS 0.0.48 Install - Chapter 1


Subject: [FreeVMS] Fw: Chronicles Of A FreeVMS 0.0.48 Install - Chapter 1
From: Andrew Allison (freevms@sympatico.ca)
Date: Sun Aug 24 2003 - 16:21:13 CEST


Hello:

    I'm hoping to document my install process of FreeVMS, such that others
may learn / assist me with the install process.

Note:
    This chronicle are all taken by hand during the install process so be
prepared for typo's and short hand abbreviations for the prompts and
responses.

    Forward:

            Equipment and Environment

            Modified IBM Aptiva Type 2168 Model M41

            Ram 80 Meg
            Speed 75 MHz
            CPU Intel Pentium 1
            Network 3C509C Etherlink III
            Chipset OPTi Viper 82C556M/557/558M
            Sound Yamaha YMF724F
            Video Trident 9680
            Floppy Chip FDC 37C993
            CD Rom Toshiba XM-5702B

            Redhat 9.0 2.3.2.-5
            Linux kernel 2.4.20-8
            gcc version 3.2.2 20030202 Redhat 3.2.2-5
            make version 3.79.1

    Chapter 1

Housekeeping and setting up environment

    Create a normal user account andrewa
    copy freevms-0_0_48.tgz to /home/andrewa
    tar -xvzf freevms-0_0_48.tgz

So we have an expand source tree.
Following the HOWTO located in /home/andrewa/freevms/linux

    cd /home/andrewa/freevms/linux
    ./prescript

So far so good, something happened. Following the last command of prescript
> do a make in ..

    cd ..
    make

    Chug chug chug lots of stuff
    Done Last Line> Leaving directory /home/andrewa/freevms/examples

Next Step from the HOWTO do a make install

    make install

    Chug more stuff
    Done Last Line> Leaving directory /home/andrewa/freevms/examples

Now things get a little cryptic. From the HOWTO file

    Copy the resulting file from root/ .

    Question: What files
                    What root
                    What slash and is that a period or the current
directory?
                     And to where?

    Hum?

    I see some new directories
        examples
        rooti386
        rootum

    Oh well, Nothing looks to interesting in these directories.
    My resulting action, when in doubt Ignore and press on.

    Jumping to the bottom of the HOWTO looks interesting,
    Seems to be an extra step to be taken

    cp -p ~/.config .

    Hum? Interesting command

    Looking for a .config anywhere leads to the conclusion. I don't have
one.
    Oh well, When in doubt Ignore and press on.

    From the upper part of the HOWTO...
    Linker stuff Nope not interested, maybe later
    UserMode Linux Nope not interested, maybe later.

    Now we are presented with 2 ways to start make the kernel
    1: make menuconfig
    2: just issue command make bzImage

    In my case I did a make bzImage and just accepted the defaults
    ( I have them all written down if someone really wants 4 pages of
answers)

    Note: Poor house keeping. My notes are a little cryptic.
    I wrote down> Next run make dep never had a chance were off.
    I going to have to assume that after I answered Kernel Hacking Debugging
No
    The procedure continued on its own.

    The make process died.

     Output:

        make[1] Entering directory /home/andrewa/freevms/linux/kernel
        make all targets
        make [2] Entering directory /home/andrewa/freevms/linux/kernel
        make [2] No rule to make target
/home/andrewa/freevms/linux/include/linux/modversions.h needed by vmssched.o
        make [2] Leaving dir /home/andrewa/freevms/linux/kernel
        make [1] ***[first_rule] Error 2
        make [1] Leaving directory /home/andrewa/freevms/linux/kernel
        make *** [_dir_kernel] Error 2

    Back to the HOWTO and issue the command

       make update_modverfile

    Output

        /home/andrewa/freevms/linux/include/linux/modversions.h was updated.

    Were making progress.

       Let's try this again.

            make bzImage

      Dies again, something about no rule to make target.

        /home/andrewa/freevms/linux/drivers/acpi

        Options: Do I create a Makefile or just comment it out and press on.

        Well I decide to create a Makefile, basically I copy one and modify
it for this file
        O_Target := os.o

         make bzImage were off, no were not, dies again
        complaining about atm

        Ok, now I'm impatient, I going to comment out the offending line in
the Makefile located in
        /home/andrewa/freevms/linux/drivers

        #subdir-$(CONFIG_ATM) += atm

        Now I find out I going to be commenting out a LOT of offending lines
in various Makefiles

        Hope my notes are accurate, but I know there not. these are the
steps as I encountered them so

        NOTE: to look at bottom of message. At some point I had to edit some
source files, I just can't remember when I had to do it.

        COMMENTED OUT WITH # SIGN

        /home/andrewa/freevms/linux/driver
                           CONFIG_ATM
        /home/andrewa/freevms/linux/drivers/block
                            CONFIG_PARIDE
        /home/andrewa/freevms/linux/drivers
                            CONFIG_BLUEZ
        /home/andrewa/freevms/linux/drivers/char
                            CONFIG_AGP
                            CONFIG_DRM_NEW
                            CONFIG_DRM_OLD
                            CONFIG_FTAPE
                            CONFIG_INPUT
                            CONFIG_MWAVE
                            CONFIG_PCMCIA
                            CONFIG_RIO
        /home/andrewa/freevms/linux/drivers
                            CONFIG_DIO
                            CONFIG_FC4
                            CONFIG_I2C
                            CONFIG_IEEE1394
        /home/andrewa/freevms/linux
                            CONFIG_INPUT
        /home/andrewa/freevms/linux/drivers
                            CONFIG_INPUT
                            CONFIG_ISDN
                            CONFIG_MAC
                            CONFIG_ALL_PPC
                            CONFIG_MD
                            CONFIG_MD
                            CONFIG_FUSION
                            CONFIG_I20
        /home/andrewa/freevms/linux/drivers/net
                            CONFIG_APPLETALK
                            CONFIG_ARCNET
                            CONFIG_NET_FC
                            CONFIG_IRDA
                            CONFIG_NET_PCMCIA
                            CONFIG_SK98LIN
                            CONFIG_SKFP
                            CONFIG_TR
                            CONFIG_WAN
                            CONFIG_NET_WIRELESS
          /home/andrewa/freevms/linux/drivers
                            CONFIG_HAM_RADIO
                            CONFIG_NUBUS
                            CONFIG_PCMCIA
                            CONFIG_PNP
                            CONFIG_SBUS
                            CONFIG_SGI
                            CONFIG_TC
                            CONFIG_PHONE
                            CONFIG_USB
                            CONFIG_VT
                            CONFIG_ZORRO
        /home/andrewa/freevms/linux/fs
                            CONFIG_ADFS_FS
                            CONFIG_AFFS_FS
                            CONFIG_AUTOFS_FS
                            CONFIG_AUTOFS4_FS
                            CONFIG_BFS_FS
                            CONFIG_CODA_FS
                            CONFIG__CRAMFS
                            CONFIG_EFS_FS
                            CONFIG_EXT3_FS
                            CONFIG_FAT_FS
                            CONFIG_VXFS_FS
                            CONFIG_HFS_FS
                            CONFIG_HPFS_FS
                            CONFIG_ZLIB_FS_INFLATE
                            CONFIG_INTERMEZZO_FS
                            CONFIG_ISO9660_FS
                            CONFIG_JBD
                            CONFIG_JFFS_FS
                            CONFIG_JFFS2_FS
                            CONFIG_LOCKD
                            CONFIG_MINUX_FS
                            CONFIG_MSDOS_FS
                            CONFIG_NCP_FS
                            CONFIG_NFS_FS
                            CONFIG_NFSD
                            CONFIG_NLS
                            CONFIG_NTFS_FS
                            CONFIG_SUN_OPENPROMFS
                            CONFIG_QNX4FS
                            CONFIG_RAMFS
                            CONFIG_REISERFS
                            CONFIG_ROMFS_FS
                            CONFIG_SMB_FS
                            CONFIG_SYSV_FS
                            CONFIG_UDF_FS
                            CONFIG_UFS_FS
                            CONFIG_UMSDOS_FS
                            CONFIG_VFAT_FS
        /home/andrewa/freevms/linux/net
                            CONFIG_VLAN_8021Q
                            CONFIG_ATALK
                            CONFIG_ATM
                            CONFIG_AX25
                            CONFIG_BLUEZ
                            CONFIG_BRIDGE
                            CONFIG_DECNET
                            CONFIG_ECONET
                            CONFIG_IPV6
                            CONFIG_IPX
                            CONFIG_IRDA
                            CONFIG_KHTTPD
                            CONFIG_LAPB
                            CONFIG_NETROM
                            CONFIG_ROSE
                            CONFIG_SUNRPC
                            CONFIG_WAN_ROUTER
                            CONFIG_X25

    OK we now have a working
    make dep (or so I thought.)

    Next Step more or less in order.

    make bzImage

    dead again, cannot open drivers/video/video.o

     Solution, I have to uncomment one of the lines I commented out in the
Makefile
       /home/andrewa/freevms/linux/drivers

    CONFIG_VT

    make dep

     Dead again no rule to make target fbmem.c
        Edit the makefile located in /home/andrewa/linux/drivers/video
        and comment out all lines of the format obj-$(~~~) += ~~~~
        except vgacon.o

    run make dep again. dead again.
    Edit the makefile again located in /home/andrewa/linux/drivers/video
    comment out current export-objs and added a new one
    export-objs := vgacon.o

    Lets make bzImage again.

======================

    My note keeping gets me into hot water again...
    I got this page where I have to edit some of the program files

    /home/andrewa/freevms/sys/src/timeschdl.c

       error message timer_ack undeclared in function exe$hwclkint
                                  i8259A_lock undelcared

    added lines of code in the variable section

                extern int timer_ack
                extern spinlock_t i8259A_lock

    vmsirq complains of multiple definitions of irq_mis_count

    well lets blindly change it's occurences irq_mis_count2

    ===================

     after several hours Success

    I got the message
        Root device (22,2)
        Boot sector 512
        Setup 2548
        System 618

    Well folks that's where I'm at.

Later Andrew

-- 
Liste de diffusion FreeVMS
Pour se désinscrire : mailto:freevms-request@ml.free.fr?subject=unsubscribe



This archive was generated by hypermail 2b25 : Sun Aug 24 2003 - 16:21:45 CEST