SUMMARY: Adding a Symbios SCSI card and 2nd hard drive (fwd)

From: Chong M. Cha <chongcha_at_stanford.edu>
Date: Wed, 10 Jan 2001 09:19:18 -0800 (PST)

PROBLEM RECAP:

> Problem: I'm trying to install a new SCSI card (Symbios SYM8952U) and
> second SCSI hard drive in my Compaq XP1000 running Digital UNIX V4.0F.
> ...
> - How do I make a special device file for this new disk? Specifically,
> how do I get the correct parameters for the MAKEDEV command (bus no,
> etc)? How do I set options to have my kernal recognize the new disk?


SOLUTION SUMMARY:

Booting /genvmunix under V4.0F recognized the Symbios SYM8952U
SCSI controller and my new disk. Then, rebuilding the kernel with
/usr/sbin/doconfig automatically makes the correct /dev/rz* device files
(with correct bus no, etc) and automatically updates the options in the
system config file, /sys/conf/HOSTNAME. A final reboot successfully ends
the procedure.


THANKS TO (THEIR ORIGINAL E-MAILS ARE FOUND BELOW):

Tom
alan
John Francini
Dan Willis
Mohamed Nayle
Nix
Peter Stern
Joe


THE ORIGINAL E-MAILS:

-----Original Message-----
Date: Tuesday, January 09, 2001 5:45 PM
From: Chong M. Cha [mailto:chongcha_at_stanford.edu]
To: tru64-unix-managers_at_ornl.gov
Subject: Adding a Symbios SCSI card and 2nd hard drive

Hi gurus,

Problem: I'm trying to install a new SCSI card (Symbios SYM8952U) and
second SCSI hard drive in my Compaq XP1000 running Digital UNIX V4.0F.

Current status/questions:
- I've installed the SCSI card and only one (internal) device, my new
  hard drive, to the new card.
- A "show device" at the boot (>>>) prompt is able to correctly see
  the new SCSI controller and disk.
- Darn, I don't see the new disk (automatically) detected in the startup
  message.
- How do I make a special device file for this new disk? Specifically,
  how do I get the correct parameters for the MAKEDEV command (bus no,
  etc)? How do I set options to have my kernal recognize the new disk?
  I'm still at the sysadmin level where I need detailed explicit examples!

Thanks in advance for any help you can lend,
Chong.

+----------------------------------------------------------------------+
| Chong M. Cha Email: chongcha_at_stanford.edu |
| Center for Turbulence Research Tel: (650)725-6635 |
| Stanford University Fax: (650)723-9617 |
| Stanford, CA 94305-3030 http://www.stanford.edu/~chongcha |
+----------------------------------------------------------------------+

Date: Tue, 09 Jan 2001 17:53:10 -0500
From: "Dr. Thomas.Blinn_at_Compaq.com" <tpb_at_doctor.zk3.dec.com>
To: Chong M. Cha <chongcha_at_Stanford.EDU>
Subject: Re: Adding a Symbios SCSI card and 2nd hard drive

Step 1: Follow the directions in the system management guide for installing
new hardware in your system.

Step 2: Use your new hardware.

YOU MUST FIRST BUILD A NEW KERNEL WITH A DRIVER AND RELATED DEVICE DATA
STRUCTURES TO SUPPORT YOUR NEW SCSI CONTROLLER.

If you booted the /genvmunix kernel from the root partition, it would
probably see your new SCSI controller, and depending on which slot you
put it in, you might even be able to mount your system disk using the
existing name and build your new kernel. It's all documented in the
manual; read it.

Tom

 Dr. Thomas P. Blinn + UNIX Software Group + Compaq Computer Corporation
  110 Spit Brook Road, MS ZKO3-2/W17 Nashua, New Hampshire 03062-2698
   Technology Partnership Engineering Phone: (603) 884-0646
    Internet: tpb_at_zk3.dec.com Compaq's Easynet: alpha::tpb
     ACM Member: tpblinn_at_acm.org PC_at_Home: tom_at_felines.mv.net

  Worry kills more people than work because more people worry than work.

      Keep your stick on the ice. -- Steve Smith ("Red Green")

     My favorite palindrome is: Satan, oscillate my metallic sonatas.
                              -- Phil Agre, pagre_at_alpha.oac.ucla.edu

     Yesterday it worked / Today it is not working / UNIX is like that
                        -- apologies to Margaret Segall

  Opinions expressed herein are my own, and do not necessarily represent
  those of my employer or anyone else, living or dead, real or imagined.

Date: Tue, 09 Jan 101 16:00:05 -0700
From: alan_at_nabeth.cxo.dec.com
To: Chong M. Cha <chongcha_at_Stanford.EDU>
Subject: Re: Adding a Symbios SCSI card and 2nd hard drive


        Ignoring for a moment that the new SCSI adapter may not
        be supported by the operating system...

        Anytime you add an I/O adapter to a V4 and earlier system
        you have to rebuild the kernel so that it will know to
        look for the adapter and have the appropriate device
        driver. There should be a section of the system management
        documentation that explains how to do this. The short
        version is:

        1. Shutdown.

        2. Boot /genvmunix:

>>>boot -fl s -fi "genvmunix"

        3. Check and mount the local file systems.

                # bcheckrc

        4. Run doconfig to build new kernel:

                # doconfig

        5. Copy the new kernel to the root and reboot:

                # cp /vmunix /vmunix.sav
                # cp /sys/HOSTNAME/vmunix /
                # reboot

        Unfortunately, you can't ignore the fact that the new
        adapter may not be supported. If the vendor included
        a driver for Tru64 UNIX, then you probably just need to
        follow their instructions for installing it. If they
        claim that some driver of ours will work with it, please
        remember that they're making the claim and not us, if
        doesn't work. If they don't say anything on the subject,
        be afraid.

        One way to check is to watch the messages from booting
        /genvmunix. If one of our drivers thinks it has
        recognized the device, you should see some information
        on it. I'll take a wild guess that our driver for the
        KZPAA (psiop) will be the most likely driver to recognize
        it. However, our driver is written and qualified for
        our adapters, not random 3rd party that pretend to be
        the same as the KZPAA. You may want to go through your
        own qualification before you start trusting data to the
        adapter.

Date: Tue, 9 Jan 2001 18:15:06 -0500
From: John J. Francini <francini_at_zk3.dec.com>
To: Chong M. Cha <chongcha_at_Stanford.EDU>
Subject: Re: Adding a Symbios SCSI card and 2nd hard drive

>Hi gurus,
>
>Problem: I'm trying to install a new SCSI card (Symbios SYM8952U) and
>second SCSI hard drive in my Compaq XP1000 running Digital UNIX V4.0F.

When you add a new _card_ (as opposed to just adding a drive) you
need to boot the generic kernel and build a new system-specific
kernel. Building the new kernel will cause the correct devices to be
created in /dev.

Shut down the existing system.

At the boot prompt:

>>> boot -flags s -file /genvmunix

The system will come up to single-user mode. Now, to build the kernel:

        # bcheckrc
        # swapon -a
        # update

bcheckrc mounts all local disks.
swapon -a adds all the swap spaces defined in /etc/fstab to the system's swap.
update starts the update process.

Now, to build the kernel:

        # doconfig

This will prompt you with default name of the system config file,
which will match the hostname:

        Enter a name for the kernel configuration file. [HOSTNAME]:

Press RETURN.

        A configuration file with the name 'HOSTNAME' already exists.
        Do you want to replace it? (y/n) [n]:

Respond with "y".

        Saving /sys/conf/MUNCH as /sys/conf/MUNCH.bck


        *** KERNEL OPTION SELECTION ***

            Selection Kernel Option
        --------------------------------------------------------------
                1 System V Devices
                2 NTP V3 Kernel Phase Lock Loop (NTP_TIME)
                3 Kernel Breakpoint Debugger (KDEBUG)
                4 Packetfilter driver (PACKETFILTER)
                5 Point-to-Point Protocol (PPP)
                6 STREAMS pckt module (PCKT)
                7 X/Open Transport Interface (XTISO, TIMOD, TIRDWR)
                8 ISO 9660 Compact Disc File System (CDFS)
                9 Audit Subsystem
                10 ATM UNI 3.0/3.1 ILMI (ATMILMI3X)
                11 IP Switching over ATM (ATMIFMP)
                12 LAN Emulation over ATM (LANE)
                13 Classical IP over ATM (ATMIP)
                14 ATM UNI 3.0/3.1 Signalling for SVCs (UNI3X)
                15 Asynchronous Transfer Mode (ATM)
                16 All of the above
                17 None of the above
                18 Help
                19 Display all options again
        --------------------------------------------------------------

        Enter your choices.

        Choices (for example, 1 2 4-6) [17]:

The list of choices you get may vary.

Choose the options you want to include in the kernel. Alternatively,
the easy way out is to just choose "All of the above":

        Choices (for example, 1 2 4-6) [17]: 16

        You selected the following kernel options:
                System V Devices
                NTP V3 Kernel Phase Lock Loop (NTP_TIME)
                Kernel Breakpoint Debugger (KDEBUG)
                Packetfilter driver (PACKETFILTER)
                Point-to-Point Protocol (PPP)
                STREAMS pckt module (PCKT)
                X/Open Transport Interface (XTISO, TIMOD, TIRDWR)
                ISO 9660 Compact Disc File System (CDFS)
                Audit Subsystem
                ATM UNI 3.0/3.1 ILMI (ATMILMI3X)
                IP Switching over ATM (ATMIFMP)
                LAN Emulation over ATM (LANE)
                Classical IP over ATM (ATMIP)
                ATM UNI 3.0/3.1 Signalling for SVCs (UNI3X)
                Asynchronous Transfer Mode (ATM)

        Is that correct? (y/n) [y]:

Press RETURN.

        Do you want to edit the configuration file? (y/n) [n]: n


        *** PERFORMING KERNEL BUILD ***

        A log file listing special device files is located in /dev/MAKEDEV.log
                Working....Tue Jan 9 18:06:06 EST 2001

        The new kernel is /sys/HOSTNAME/vmunix
        #

Now rename the old kernel and copy the new one into place as /vmunix:

        # mv /vmunix /vmunix.old
        # cp /sys/HOSTNAME/vmunix /vmunix
        # sync

Finally, reboot the system:

        # reboot

The system will come up with support for the new SCSI card and disk.

Hope this helps,

john



John Francini <mailto:francini_at_zk3.dec.com>
+---------------------------------------------------------------------------+
| "I have come to the conclusion that one useless man is called a disgrace; |
| that two or more are called a law firm; and that three or more become |
| a Congress. And by God I have had _this_ Congress!" |
| -- John Adams in "1776"|
+---------------------------------------------------------------------------+

Date: Tue, 9 Jan 2001 18:19:46 -0500
From: "Willis, Daniel L." <Dan.Willis_at_celera.com>
To: 'Chong M. Cha' <chongcha_at_Stanford.EDU>
Subject: RE: Adding a Symbios SCSI card and 2nd hard drive

Hello Chong,

You will have to build support into the kernel for the new device. After
the controller is built into the kernel the OS will create the device
special file at boot time.

>>> boot -fl s -fi genvmunix # Boot the generic kernel in single
user mode

# mount /usr # Mount /usr
# mount /var # Mount /var
# sizer -n new_config_file # Creates a configuration file in
/tmp/new_config_file

I would look for the scsi entries on the /tmp/new_config_file and compare it
to the scsi entries in your /sys/conf/HOSTNAME file (the HOSTNAME file is
your actual hostname in upper case). I don't have a SCSI card or system like
that else I would give the exact entry for the slot that it is plugged into.
Add the appropriate controller and bus entry for the slot your new card is
plugged into the rebuild the kernel.

# doconfig -c YOUR_SYSTEM_HOSTNAME # Build new kernel
# mv /vmunix /vmunix.orig # Save your old kernel in /
incase you need to boot it again
# cp /sys/ YOUR_SYSTEM_HOSTNAME/vmunix /vmunix # Copy new kernel to /
# shutdown -r +5 "rebooting new kernel" # Reboot in 5 minutes

The new controller and disk should show up during the boot.

If things do not boot properly you can boot your original kernel by doing
the following.

>>> boot -fi /vmunix.orig # If you renamed the original
/vmunix to /vmunix.orig


Good Luck,

Dan Willis

Date: Wed, 10 Jan 2001 08:43:41 +0300
From: Mohamed Nayle <nayle_at_ncsbah.com>
To: 'Chong M. Cha' <chongcha_at_Stanford.EDU>
Subject: RE: Adding a Symbios SCSI card and 2nd hard drive
Parts/Attachments:
   1 OK 14 lines Text (charset: Unknown)
   2 Shown ~30 lines Text (charset: Unknown)
----------------------------------------


    [ Part 1, Text/PLAIN (charset: Unknown "windows-1252") 14 lines. ]
    [ Not Shown. Use the "V" command to view or save this part. ]

    [ The following text is in the "windows-1252" character set. ]
    [ Your display is set for the "ISO-8859-1" character set. ]
    [ Some characters may be displayed incorrectly. ]


Hi

Any added controller requires booting from /genvmunix and rebuilding the kernel,
existing controllers in the kernel can auto recognize additional disks.

----------------------------------------------------------------------
Mohamed Nayle
Senior C.S.Engineer
National Computer Services
Manama-Bahrain
Tel:(973) 214415 Fax:(973) 214337

Date: Wed, 10 Jan 2001 08:22:45 +0100
From: Nikola Milutinovic <Nikola.Milutinovic_at_ev.co.yu>
To: Chong M. Cha <chongcha_at_Stanford.EDU>
Subject: Re: Adding a Symbios SCSI card and 2nd hard drive

"Chong M. Cha" wrote:
>
> Hi gurus,
>
> Problem: I'm trying to install a new SCSI card (Symbios SYM8952U) and
> second SCSI hard drive in my Compaq XP1000 running Digital UNIX V4.0F.
>
> Current status/questions:
> - I've installed the SCSI card and only one (internal) device, my new
> hard drive, to the new card.
> - A "show device" at the boot (>>>) prompt is able to correctly see
> the new SCSI controller and disk.
> - Darn, I don't see the new disk (automatically) detected in the startup
> message.

Of course not. Disks on built-in controllers will be recognized at boot
time, but a controller must be statically built into the kernel. So,
boot genvmunix and do a doconfig.

Then use MAKEDEV.

Nix.

Date: Wed, 10 Jan 2001 09:29:33 +0200 (IST)
From: Peter.Stern_at_weizmann.ac.il
To: Chong M. Cha <chongcha_at_Stanford.EDU>
Subject: Re: Adding a Symbios SCSI card and 2nd hard drive

You need to rebuild the kernel after adding the disks.
1. Boot from /genvmunix:
>>> boot -fi "genvmunix"
2. Run doconfig which will automatically make the correct /dev/rz* files
and will add the correct bus and controller lines to /sys/conf/SYSTEM_NAME
in order to build the new kernel.
3. Save the old /vmunix kernel (e.g. as /vmunix.save) and copy the new
kernel to /vmunix
4. Reboot.

After that you should be able to mount your disks.

Regards,
Peter Stern

Date: Wed, 10 Jan 2001 10:00:22 GMT0
From: Joe Fletcher <joe_at_meng.ucl.ac.uk>
To: chongcha_at_Stanford.EDU
Subject: RE: Adding a Symbios SCSI card and 2nd hard drive

Hi,

Look at the startup messages (in /var/adm/messages) and check for the
mention of the new card.

Chances are the new card hasn't been configured into the kernel.
Best bet is to boot -fi genvmunix and let it run the automatic
reconfiguration. Your other option is to edit the config file to
add an entry for the new card and rebuild the kernel manually.

Your new disk will show up as device rzXX where XX is calculated by
(bus# * 8) + SCSI ID of disk. eg drive ID5 on bus 2 will be rz21.

If you need to manually create the special files just cd to /dev and run
MAKEDEV rzXX

Cheers

Joe
Received on Wed Jan 10 2001 - 17:20:41 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT