tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Aharon Schkolnik <aharon () healdb ! matat ! health ! gov ! il>
To: tru64-unix-managers
Subject: Summary: Finding Devices on Second SCSI
Date: Sun, 07 Jul 1996 12:03:07 +0000	[thread overview]
Message-ID: <96076335021292.tru64-unix-managers.marc@archive.invalid> (raw)

Some time ago, I sent in the following question:

    Me> Hi.

    Me> 	I have a second SCSI controller on my DEC 3000. I
    Me> haven't been able to get the system to recognize any devices
    Me> which I connect to it. In fact, >>>show devices doesn't show
    Me> it. So, I had a technician out today, and he said that
    Me> everything is fine, and that I should be able to access the
    Me> devices on the controller. Of course, I can't. Here's the
    Me> details ....



< continuation at end of message>


Anyway, the problem was in my kernel configuration file. In the end I
used:

bus             tcds1      at *                 vector    tcdsintr
controller      scsi1      at *                 vector    scsiintr
controller      scsi2      at *                 vector    scsiintr


Note the use of *, and that you don't need to add disk and tape
entries.


Thanks to:

Tom Blinn, 603-881-0646 <tpb@zk3.dec.com>
wkeil  <wkeil@ubcd05.physics.ubc.ca>
holm  <holm@rz.uni-kiel.d400.de>
Hellebo Knut <Knut.Hellebo@nho.hydro.com> 

    Anon> 	SHOW DEVICE only looks at built-in adapters.  The
    Anon> PMAZC is an add-on adapter.  As for the numbering, the
    Anon> TURBO- channel adapter is doing the device scan itself and
    Anon> has no idea what other adapters on the system, so it calls
    Anon> the first channel A and the second channel B.

    Anon> 	As for your configuration file entries, they are wrong
    Anon> in various ways.  The rz8 and rz9 device can't be on scsi0
    Anon> because each SCSI channel only supports devices 0 to 7.  It
    Anon> is also possible that you got the slot number of the "tcds1"
    Anon> wrong, and the system can't even find the SCSI bus.

    Anon> 	My two recommendations are:

    Anon> 	1.  Find the section on building a new kernel using
    Anon> /genvmunix in the system management documentation and build
    Anon> a new kernel that way.

    Anon> 	2.  Look at the GENERIC configuration file to see
    Anon> examples of how to add a "tcds1" that doesn't require that
    Anon> you specify the slot number.  Same for "scsi1" and "scsi2".
    Anon> With those correctly specified you can add the disks and
    Anon> tapes as necessary.  And for versions V3.0 and later you
    Anon> don't need to add disk and tape entries, since the SCSI
    Anon> driver will query the bus if it can find it.

>>>>> "Tom" == Tom Blinn, 603-881-0646 <tpb@zk3.dec.com> writes:


    Tom> That's the way the DEC 3000 family works.  It's not the same
    Tom> console as the newer PCI based systems, and show device only
    Tom> shows devices on the primary SCSI bus that's attached to the
    Tom> mother board.
 

    Tom> Because that's the way it works (and has always worked).
 

    Tom> Did you boot the GENERIC vmunix (/genvmunix) and do a
    Tom> doconfig without any arguments?  If not, you probably got the
    Tom> configuration data wrong.
 

    Tom> Judging from your console boot log, you don't have the second
    Tom> controller configured in your kernel.  Boot the GENERIC
    Tom> vmunix and see if it sees the devices.  I'm sure it will.

>>>>> "holm" == holm  <holm@rz.uni-kiel.d400.de> writes:

    holm> Hi Aharon,



    holm> change the line rz8 at scsi0 ---- to rz8 at scsi1 and tz9 at
    holm> scsi0 ---- to tz9 at scsi1


    holm> rebuilt the kernel and try it.

    holm> 					regards

    holm> 					Horst Holm

>>>>> "Hellebo" == Hellebo Knut <Knut.Hellebo@nho.hydro.com> writes:

    Hellebo> Regards,

    Hellebo> Are you sure you have the correct slot number in your
    Hellebo> kernel config file ?  Could it be that you accidentaly
    Hellebo> edited the wrong kernel config file so that the real
    Hellebo> kernel don't contain the entry for the second controller






	<continuation>




    Me> >>>> show device gives:

    Me> BOOTDEV ADDR _______ ____

    Me> DKA200 A/2/0 DKA300 A/3/0 DKA400 A/4/0 DKA500 A/5/0 DKA600
    Me> A/6/0 ..HOSTID A/7




    Me> >>>> SHOW CONFIG includes:


    Me> TCINFO DEVNAM DEVSTAT ______ _____ _______

    Me> 0-PMAZC-AA TC0


    Me> >>>> t tc0 cnfg gives:

    Me> 	BOOTDEV Addr Devtyp _______ ____ ______


    Me> 	DKA000 A/0/0 R0DISK MKA100 A/1/1 TAPE ..HostID A/7
    Me> ..HostID B/7




    Me> So, between show device, and t tc0 cnfg, all the devices are
    Me> accounted for, although I don't think they should both be
    Me> A/. BTW, the t tc0 stuff is what the technician told me to
    Me> do. I have no idea why the devices appear there, and not in
    Me> show devices.


    Me> Anyway, I fixed /usr/sys/conf/OSFSTATS, and rebuilt the
    Me> kernel. /usr/sys/conf/OSFSTATS contains:



bus             tc0        at nexus?
callout after_c "../bin/mkdata tc"
bus             tcds0      at tc0       slot  4 vector    tcdsintr
controller      scsi0      at tcds0     slot  0
#device disk     rz0        at scsi0     drive     0
device disk     rz2        at scsi0     drive     16
device disk     rz3        at scsi0     drive     24
device disk     rz4        at scsi0     drive     32
device disk     rz5        at scsi0     drive     40
device disk     rz6        at scsi0     drive     48
#device tape     tz1        at scsi0     drive     8
bus             tcds1      at tc0       slot  1 vector    tcdsintr
device disk     rz8        at scsi0     drive     64
device tape     tz9        at scsi0     drive     72
controller      scsi1      at tcds1     slot  0
controller      scsi2      at tcds1     slot  1
controller      ln0        at tc0       slot  5 vector    lnintr
controller      scc0       at tc0       slot  5 vector    sccintr
controller      bba0       at tc0       slot  5 vector    bbaintr
controller      fb0        at tc0       slot  6 vector    fbint
                                                                                
                                                                                




    Me> /sbin/scu show edt bus 0 lun 0 shows:

    Me> CAM Equipment Device Table (EDT) Information:

    Bus: 0, Target: 2, Lun: 0, Device Type: Direct Access
    Bus: 0, Target: 3, Lun: 0, Device Type: Direct Access
    Bus: 0, Target: 4, Lun: 0, Device Type: Direct Access
    Bus: 0, Target: 5, Lun: 0, Device Type: Direct Access
    Bus: 0, Target: 6, Lun: 0, Device Type: Direct Access


    Me> those are all the devices on the first controller.

    Me> /sbin/scu show edt bus 1 lun 0 shows nothing.


    Me> uerf -R shows:


EVENT CLASS                             OPERATIONAL EVENT
OS EVENT TYPE                  300.     SYSTEM STARTUP
SEQUENCE NUMBER                  0.
OPERATING SYSTEM                        DEC OSF/1
OCCURRED/LOGGED ON                      Sun Jun 16 19:34:44 1996
OCCURRED ON SYSTEM                      osfstats
SYSTEM ID                 x00020007     CPU TYPE:  DEC 3000
SYSTYPE                   x00000000
MESSAGE                                 LK401 keyboard, language English
                                         _(American)

                                        Alpha boot: available memory from
                                         _0x818000 to 0x8000000
                                        Digital UNIX V3.2C  (Rev. 148); Sun
                                         _Jun 16 18:06:50 IDT 1996
                                        physical memory = 128.00 megabytes.
                                        available memory = 119.90 megabytes.
                                        using 483 buffers containing 3.77
                                         _megabytes of memory
     
                                        tc0 at nexus
                                        tcds0 at tc0 slot 4
                                        scsi0 at tcds0 slot 0
                                        rz2 at scsi0 bus 0 target 2 lun 0 (DEC
                                         _    RZ28     (C) DEC D41C)
                                        rz3 at scsi0 bus 0 target 3 lun 0 (DEC
                                         _    RZ26L    (C) DEC 440C)
                                        rz4 at scsi0 bus 0 target 4 lun 0 (DEC
                                         _    RZ28     (C) DEC D41C)
                                        rz5 at scsi0 bus 0 target 5 lun 0 (DEC
                                         _    RZ28     (C) DEC D41C)
                                        rz6 at scsi0 bus 0 target 6 lun 0 (DEC
                                         _    RZ28     (C) DEC D41C)
                                        ln0: DEC LANCE Module Name: PMAD-BA
                                        ln0 at tc0 slot 5
                                        ln0: DEC LANCE Ethernet Interface,
                                         _hardware address: 08-00-2B-95-75-59
                                        scc0 at tc0 slot 5
                                        bba0 at tc0 slot 5
                                        fb0 at tc0 slot 6
                                         1280X1024
                                        DEC 3000 - M300X system
                                        Firmware revision: 6.2
                                        PALcode: OSF version 1.35
                                        dli: configured
                                        SuperLAT. Copyright 1993 Meridian
                                         _Technology Corp. All rights
                                         _reserved.

    Me> Any ideas ?

--
  The day is short, and the work is great,     |   Aharon Schkolnik
  and the laborers are lazy, and the reward    |   Aharon@Matat.Health.Gov.IL
  is great, and the Master of the house is     |
  impatient. - Ethics Of The Fathers Ch. 2     |

                 reply	other threads:[~1996-07-07 12:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox