* SUMMARY: DEGPA Gigabit Ethernet Card.
@ 1999-08-04 17:29 Jim Fitzmaurice
0 siblings, 0 replies; only message in thread
From: Jim Fitzmaurice @ 1999-08-04 17:29 UTC (permalink / raw)
To: tru64-unix-managers
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------=_NextPart_000_000D_01BEDE75.111E4950", Size: 20312 bytes --]
This is a multi-part message in MIME format.
------=_NextPart_000_000D_01BEDE75.111E4950
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
SUMMARY: DEGPA Gigabit Ethernet Card.
Sorry it took so long to summarize but I wanted to be sure everything was
working properly before I posted a summary. I had some trouble setting up my
route tables.
To briefly discuss the problem I had two identical 4100's, I installed a
DEGPA Gigabit Ethernet card in each one. One worked fine the other
continually rebooted if I tried to enable it.
Hats off once again to Dr. Blinn (and his trusted colleague) for coming
through.
Though several e-mails I was able to get the system to recognize and enable
the new card. The solution was to use my old /usr/sys/conf file and add the
"pseudo-device alt" statement at the end, and rebuild the kernel, instead of
booting genvmunix, running sysconfig -c alt, and then rebuilding the kernel.
Apparently the error "vmunix: alt.mod: Cannot configure driver" had no
effect on the actual driver installation since the card is working fine,
pings, ftp, telnet. After all the discussion we had about de-installing the
driver, reinstalling the driver, kernel building etc... It turned out to be
something as simple as that.
I have attached the e-mail conversation below as it is a plethora of useful
information and it might help someone out in the future.
------=_NextPart_000_000D_01BEDE75.111E4950
Content-Type: text/plain;
name="Some hints on the DEGPA driver kit #1.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="Some hints on the DEGPA driver kit #1.txt"
From: Dr. Tom Blinn, 603-884-0646 [tpb@doctor.zk3.dec.com]
Sent: Monday, July 12, 1999 6:39 PM
To: jpfitz@fnal.gov
Subject: Some hints on the DEGPA driver kit
My trusted colleague who put together the driver kit says this about how =
to
get it to work:
------- Forwarded Message
Tom,
No need to re-install the kit.
Basically, when you move hardware around, you need to do a kernel =
rebuild.
With the DEGPA driver kit installed, you have to do one additional step
(see step 3 below).
1) boot genvmunix (>>> b -fi genvmunix)
2) Login as root
3) Dynamically load the driver (# sysconfig -c alt)
4) rebuild your kernel (# doconfig)
5) install the kernel (# mv /sys/SYSTEMNAME/vmunix /vmunix)
6) reboot
On Wed, 7 Jul 1999, Dr. Tom Blinn, 603-884-0646 wrote:
> Any insights or suggestions? I might have some other messages about =
this
> on file, I'd have to look.
> Tom
> ------- Forwarded Message
> Delivery-Date: Tue, 06 Jul 99 15:09:02 -0400
> Sender: tru64-unix-managers-owner@ornl.gov
> Followup-To: poster
> Date: Tue, 06 Jul 1999 13:48:44 -0500
> From: Jim Fitzmaurice <jpfitz@fnal.gov>
> Subject: UPDATE: DEGPA Gigabit Ethernet Card.
> To: Tru64 -unix -managers <tru64-unix-managers@ornl.gov>
> Message-Id: <000501bec7e0$2c8f40a0$03e7e183@d0nt36.fnal.gov>
> Hello again,
> This is an update. Over the weekend I swapped the DEGPA Gigabit =
Ethernet
> Cards in the two systems, but it made no difference. The card was =
good, so
> it's something in the machine. A deeper investigation revealed this =
message:
> Jul 1 08:55:02 d0osfa vmunix: alt.mod: Cannot configure driver
> Not exactly a clear message. Nothing as to what's wrong and why, but, =
most
> likely the core of my problem.
> First impulse was to reinstall the driver from the CD. Unfortunately, =
setld
> won't let you install something that is already loaded, and it won't =
let you
> remove kernel components, so that won't work.
> Does anybody have any info on "alt.mod" or has anyone seen anything
> similar? The systems are both 4100's running 4.0D-PK3, what could =
cause it
> to work on one but fail on the other? Can the working driver on the =
first
> system be copied over the failed driver on the second system? Any =
other
> ideas? I like to know the right way to fix this, but right now =
work-arounds
> would be acceptable.
> Jim Fitzmaurice
> jpfitz@fnal.gov
------- End of Forwarded Message
If that doesn't do it for you, drop a note and maybe we can figure out =
what is
going wrong.
Tom
------=_NextPart_000_000D_01BEDE75.111E4950
Content-Type: text/plain;
name="Re Some hints on the DEGPA driver kit #2.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="Re Some hints on the DEGPA driver kit #2.txt"
From: Dr. Tom Blinn, 603-884-0646 [tpb@doctor.zk3.dec.com]
Sent: Tuesday, July 13, 1999 1:51 PM
To: Jim Fitzmaurice
Subject: Re: Some hints on the DEGPA driver kit
> Tom,
> That is exactly what I did, several times. Doing a diff between my =
old and
> new /sys/conf files I see one difference "pseudo-device alt" on the =
last
> line. That's why I thought the error message I saw, "alt.mod: Cannot
> configure driver" has something to do with it since it came around the =
time
> I first tried to install the driver software. Does your colleague have =
any
> other idea's.
> FYI. I didn't move it, it's a new install. I only swapped them to =
test it,
> both cards work in one machine and fail in the other. Both machines =
are
> 4100's running 4.0D PK3. There is one difference between the two =
machines. I
> found it running a "psrinfo -v" command. They both have EV5.6 (21164A)
> processors but the cards work on the 4100 running at 599 MHz, but fail =
on
> the 4100 running at 467 MHz.(Although I seriously doubt this has =
anything to
> do with the problem.)
>=20
> Jim Fitzmaurice
> jpfitz@fnal.gov
That is VERY interesting. Is one of your 4100 systems SUPPOSED to be =
600MHz
and the other one SUPPOSED to be 466MHz? That is, did you purchase =
systems
with two different clock speeds?
What firmware revisions are present on the two 4100 systems? Can you =
tell at
boot time, or from examing the console firmware output, what PAL =
revision is
present?
The "alt.mod: Cannot configure driver" would happen (as you surmise) =
when the
kernel asks the alt driver (for the DEGPA) to configure itself and =
operate the
hardware. If something goes wrong in the driver, it may fail to =
configure,
and you'd get that message.
I have recently heard comments about a possible change in some systems =
that if
it's what I think it is, might be breaking a routine in the kernel that =
does a
very short DELAY() on the microsecond level that's used in device =
drivers a
lot and on many devices, if the DELAY() isn't long enough, the device =
simply
doesn't work as expected (and if the device doesn't work as expected, =
then you
get a failed driver or whatever).
This is, in any case, strange behavior, and since it's only showing up =
on the
4100 (Rawhide) platforms (which I heard were specifically involved with =
this
other change), I've got to wonder if that's what's happening.. Knowing =
the
SRM firmware and PALcode revisions might help pin it down.
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@zk3.dec.com Digital's Easynet: alpha::tpb
ACM Member: tpblinn@acm.org PC@Home: tom@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@ucsd.edu
Yesterday it worked / Today it is not working / UNIX is like that=20
-- apologies to Margaret Segall=20
Opinions expressed herein are my own, and do not necessarily represent
those of my employer or anyone else, living or dead, real or imagined.
=20
------=_NextPart_000_000D_01BEDE75.111E4950
Content-Type: text/plain;
name="Re Some hints on the DEGPA driver kit #3.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="Re Some hints on the DEGPA driver kit #3.txt"
From: Dr. Tom Blinn, 603-884-0646 [tpb@doctor.zk3.dec.com]
Sent: Tuesday, July 13, 1999 3:21 PM
To: Jim Fitzmaurice
Subject: Re: Some hints on the DEGPA driver kit
> Tom,
> The two machines were purchased separatly at different times. The =
466Mhz
> was purchased just prior to the 600MHz release, and the 600MHz machine =
was
> purchased soon after it became available. Now upper management is =
waiting
> for the 1GHz chip to become available before we buy our third machine.
> Anyway the SRM Firmware is at V5.3-3. It has to be V5.3-3 or better =
for the
> DEGPA card. In fact the card comes with a CD that contains neccessary
> firmware and drivers. I used the disk to upgrade both systems to the =
same
> required firmware level. I'm not sure what a PALcode revision is or =
where to
> find it. I've been working in UNIX for most of my adult life, =
unfortunatly,
> I am fairly new to Tru64-UNIX world, just over 4 months. So I trust =
you can
> tell me how to find the PALcode revision? And any further help is =
greatly
> appreciated.
>=20
> Jim Fitzmaurice
> jpfitz@fnal.gov
The PAL is delivered in the SRM console firmware; but the fact that =
you've got
the same firmware on both systems means (to me) that whatever is making =
this
driver fail on the 466MHz system behaves slightly differently on the =
600MHz
system. This is VERY interesting.. =20
I need to talk to the driver developer and see what are the =
circumstances in
which the driver will fail to configure when (as far as we can tell from =
the
parts swapping you've been doing) the hardware should be working just =
fine.
And I need to better understand if in fact these systems behave =
differently=20
in some fundamental ways than systems that have been built earlier -- if =
in
fact that's the case, then we might have a subtle software bug that we =
need
to fix, and finding it sooner rather than later is a good thing.
More once I have more information.
Tom
=20
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@zk3.dec.com Digital's Easynet: alpha::tpb
ACM Member: tpblinn@acm.org PC@Home: tom@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@ucsd.edu
Yesterday it worked / Today it is not working / UNIX is like that=20
-- apologies to Margaret Segall=20
Opinions expressed herein are my own, and do not necessarily represent
those of my employer or anyone else, living or dead, real or imagined.
=20
------=_NextPart_000_000D_01BEDE75.111E4950
Content-Type: text/plain;
name="Some more thoughts on your DEGPA driver problems..#4.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="Some more thoughts on your DEGPA driver problems..#4.txt"
From: Dr. Tom Blinn, 603-884-0646 [tpb@doctor.zk3.dec.com]
Sent: Tuesday, July 13, 1999 4:20 PM
To: jpfitz@fnal.gov
Subject: Some more thoughts on your DEGPA driver problems..
My colleague says:
------- Forwarded Message
FYI, here's the code in the configure routine that prints the message...
/*
* Allocate a controller structure. At config time, we allocate
* only one controller struct. This allows the driver to becalled
* at probe when the associated hardware unit is found. At probe,
* another controller structure is created thereby allowinganother
* unit to be probed. This has the effect that there'll always be
* one more controller struct defined than devices you'll actually
* have.
*/
if (alt_cfg_state =3D=3D SUBSYSTEM_DYNAMICALLY_CONFIGURED) {
/*
* Subsytem is dynamically configured. We may create the
* controller structure immediately, and, since we're
* called pass the autoconfiguraiton point, we must call
* the configure_driver interface to cause our new ctrlr's
* probe routines to be called.
*/
if (alt_create_controller() !=3D ESUCCESS) {
printf("alt.mod: Cannot create controller structure\n");
return(EINVAL);
}
/*
* Now configure the driver.
*/
i =3D configure_driver("alt", DRIVER_WILDNUM, "*", &altdriver);
if (i !=3D ESUCCESS) {
printf("alt.mod: Cannot configure driver\n");
return(i);
}
}
This code will only get executed for dynamically loaded drivers.
You should never see this message from a kernel that has the
'pseudo-device' line in the conf file (since the cfg_state will be
static)..
The call to configure_driver will fail when the driver's probe routine
fails. The if_alt.c driver will always print the reason for the =
failure.
The call to configure_driver will also fail for reasons internal to
configure_driver. These can be displayed by using the following
/etc/sysconfigtab entry;
cma_dd:
hw_database_debug=3D1
This will dump alot of information to the console, but we're really only
interested in the data that comes out after you attempt to dynamically
load the driver.
------- End of Forwarded Message
You can change the hw_database_debug attribute to 1 once you've booted =
the=20
kernel (but before you try to load the alt driver) with this command:
sysconfig -r cma_dd hw_database_debug=3D1
and then set it back to zero after you try to load the driver. This =
would
provide a clue about why, on the one platform, the kernel seems =
unwilling=20
to load the alt driver (since you didn't report any messages coming out =
of
the alt driver itself, except the alt.mod: Cannot configure driver =
message).
Adding the line
pseudo-device alt
at the end of the existing configuration file for that system and =
rebuilding
the kernel SHOULD incorporate the "alt" driver into the kernel, and =
since it
finds the hardware "dynamically" you shouldn't really need to do much =
else to
get it working, if in fact all the software pieces got loaded correctly =
and
the hardware is working. This *might* provide some more clues about =
what is
going wrong.
I'm going to also check into the DELAY() question, my colleague checked =
his
4100 system (which is a dual with 466MHz CPUs) and it definitely runs =
the
realtime clock at the new "1200" value, if we've got a bug somewhere, it =
might
be related, or it might not, I can't tell yet.
Please let us know what progress (if any) you make, especially if you =
either
can get any reason out of the hw_database_debug approach, or if manually
adding the pseudo-device line gets the system to see the hardware.
Tom
=20
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@zk3.dec.com Digital's Easynet: alpha::tpb
ACM Member: tpblinn@acm.org PC@Home: tom@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@ucsd.edu
Yesterday it worked / Today it is not working / UNIX is like that=20
-- apologies to Margaret Segall=20
Opinions expressed herein are my own, and do not necessarily represent
those of my employer or anyone else, living or dead, real or imagined.
=20
------=_NextPart_000_000D_01BEDE75.111E4950
Content-Type: text/plain;
name="Re Some more thoughts on your DEGPA driver problems..#5.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="Re Some more thoughts on your DEGPA driver problems..#5.txt"
From: Dr. Tom Blinn, 603-884-0646 [tpb@doctor.zk3.dec.com]
Sent: Wednesday, July 14, 1999 1:14 PM
To: Jim Fitzmaurice
Subject: Re: Some more thoughts on your DEGPA driver problems..
> Tom,
> I'll arrange for maintenance time to try your suggestions. Just one
> question: How do I load the driver? As I indicated I can't do it =
because
> "setld" indicates it's already loaded and doesn't have the required =
files.
> (They were over written when it was initially loaded.) I can't back it =
out
> because they are kernel modules. So how do I get around "setld"? I =
don't
> need to reload them, I just need to re-configure it, right? What does
> "setld" use to configure the drivers, and can I run it?
>=20
> Jim Fitzmaurice
> jpfitz@fnal.gov
OK, there are TWO separate aspects to loading a driver that's delivered =
as
a separate kit from the base OS.
First, you use some tool (e.g., setld) to load the driver kit onto the =
system
so that its files are accessible in the usual way through the file =
system.
In the case of a well-designed kit (as opposed to a raw tar saveset, =
say),
there will be a script (such as the .scp files delivered in a setld kit) =
that
configures the driver software on the system, registering it in all of =
the
right places so the kernel build process or dynamic load process can use =
it.
The DEGPA driver kit fits that model.
I won't rule out the possibility that the kit can NOT be uninstalled =
using
the setld utility.
If you've got the kit, and want to reinstall it, then you probably =
should
take a look at the kit files and see what the .scp scripts did after all =
of the software was loaded. There may be some things you need to undo =
if
you are doing to remove the kit contents manually, or try to reinstall =
on
top of the existing files. For instance, some kits register themselves =
in
a kernel database call /sys/conf/.product.list (and that gets copied =
into
the /sys/conf/CONFIGNAME.list when you build a kernel later on). There =
are
other things a kit might do, like make symlinks in /usr or /sys that =
lead
to its components. You need to undo these things manually. Once you've
got the kit "uninstalled", you can go into the directory /usr/.smdb. and
remove the kit's .lk file (or all of the kit's inventory records and =
such)
and then setld will let you re-install the kit.
Once the kit components are present on the system, if it's a loadable =
driver
(as is the case with alt.mod), then you can use the sysconfig command to =
load
the driver into the kernel as a loadable subsystem.
For instance, once the DEGPA driver kit has been installed, if you've =
got the
"genvmunix" kernel running, you should be able to use the command
# sysconfig -c alt
to load the alt driver into the kernel. There is a database of =
subsystems
that is queried by the kernel to load a subsystem it doesn't know about, =
and
the DEGPA kit installation procedures register the kit's alt.mod in the =
right
places in that database. (That's why you've got to undo part of what =
the kit
did before you can re-install the kit on top of itself.)
Hope this helps (operationally). I have to admit I have not personally =
done
a DEGPA installation, but my colleague who works on this stuff is really =
good
and it sure sounds like he's got it working.
Tom
=20
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@zk3.dec.com Digital's Easynet: alpha::tpb
ACM Member: tpblinn@acm.org PC@Home: tom@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@ucsd.edu
Yesterday it worked / Today it is not working / UNIX is like that=20
-- apologies to Margaret Segall=20
Opinions expressed herein are my own, and do not necessarily represent
those of my employer or anyone else, living or dead, real or imagined.
=20
------=_NextPart_000_000D_01BEDE75.111E4950--
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-08-04 17:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-08-04 17:29 SUMMARY: DEGPA Gigabit Ethernet Card Jim Fitzmaurice
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox