Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Tony Griffiths <tonyg@OntheNet.com.au>
Subject: Re: 21164PC demonstration/talk at Microprocessor Forum
Date: 1996/11/08	[thread overview]
Message-ID: <32829605.7ADB@OntheNet.com.au> (raw)
In-Reply-To: 32830939.182450109@nntp.msstate.edu


Shane Hebert wrote:
> 
> On Tue, 05 Nov 1996 11:21:28 -0800, an alien in the guise of
> rbarris@quicksilver.com (Rob Barris) wrote:
> 
> >|   In any event, the original topic (moving x86 NT apps to Alpha)... would
> >|you then suggest that such transitions are <a> easier or <b> more
> >|difficult than the example I provided (MacOS 68k->PPC)?
> 
> Don't know about MacOS but Tuesday I compiled some code (a couple
> hundred source files) that runs fine on x86 NT on an Alpha NT box and
> it again ran fine (actually, even better because it was a good deal
> faster).  No code modification was required, just a recompile.  So
> that was easy, however, a coworker has some driver code that works
> fine on the x86 NT and compiles fine on the Alpha NT but doesn't work
> on the Alpha NT.  The driver fails when trying to initialize the PCI
> bus data structures.  It is fixable but it means that it is a little
> different from the x86 stuff but what do you expect when you're
> writing hardware drivers?

Well my experience is that "Oils ain't oils", or in my case one Alpha
Workstation is not necessarily equal to another Alpha W/station even
when both have PCI buses.

When writing a PCI sync card driver, I noticed that the OS (Unix)
supported an I/O macro {READ,WRITE}_IO_D{8,16,32,64} so I tried the D64
variant and it worked, even though the machine on which I was writing
the driver had only 32-bit PCI.  Well it all came unstuck when DEC
released another machine with 64-bit PCI and someone on the other side
of the world (fortunately in the test lab in Mass or N.H.) plugged the
32-bit card into the 64-bit slot.  I had "great fun" debugging this from
16,000 Km away.  NOT!

So the moral of the story is =>  Don't write device driver for a
living...  You'll go mad!!!

Code that doesn't play with the guts of the machine and is well written
has a reasonable chance of working cross platform, even kernel code. 
Code that play with the hardware almost certainly breaks even on the
same architecture after the h/w engineers have done their bit to drive
us s/w people into a state of alcoholic oblivion.

> 
> ============================================================
> Shane Hebert
> shane@erc.msstate.edu
> Disclaimer:  Any opinions stated above are mine and not
> those of my employer.
> Disclaimer:  If I say something and you do it, it isn't
> my fault.

Tony



  reply	other threads:[~1996-11-08  5:00 UTC|newest]

Thread overview: 98+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-10-25  4:00 21164PC demonstration/talk at Microprocessor Forum Burkhard Neidecker-Lutz
1996-10-25  4:00 ` Dirk Grunwald
1996-10-25  4:00   ` Douglas H. Borsom
1996-10-26  4:00     ` Robert Rodgers
1996-10-27  4:00     ` Peter BARLIN
1996-10-27  4:00       ` Kevin P. Neal
1996-10-25  4:00 ` Jim Scannell
1996-10-25  4:00   ` Oleg Solovianov
1996-10-25  4:00     ` David Hull
1996-10-26  4:00       ` Shimpei Yamashita
1996-10-27  4:00         ` John Hascall
1996-10-27  4:00       ` Mark Rosenbaum
1996-10-25  4:00     ` Mark Hahn
1996-10-25  4:00       ` David Hull
1996-10-26  4:00         ` D. J. Bernstein
1996-10-26  4:00           ` Ted 
1996-10-27  4:00           ` Why 40M/s SCSI I/O bandwidth isn't a waste: was " Peter Mardahl
1996-10-27  4:00             ` Dan "Dragon Man" Williams
1996-10-29  5:00               ` Ray Chen
1996-10-29  5:00                 ` Ismaeel Abdur-Rasheed et. al.
1996-11-01  5:00               ` Hugh LaMaster
1996-11-05  5:00                 ` Colin Dooley
1996-11-06  5:00                   ` Michele Michelotto
1996-11-23  5:00                     ` Larry McVoy
1996-11-08  5:00                   ` Tim Keating
1996-11-08  5:00                     ` Eric Fromm
1996-11-08  5:00                       ` Nate Tuck
1996-11-09  5:00                         ` Stephen Knilans
1996-11-09  5:00                           ` Tim Keating
1996-11-09  5:00                             ` Mark Rosenbaum
1996-11-11  5:00                             ` Dave Olson
1996-10-27  4:00         ` Robert Rodgers
1996-10-26  4:00       ` Torbjorn Lindgren
1996-10-26  4:00         ` Mark Hahn
1996-10-27  4:00           ` Torbjorn Lindgren
1996-11-20  5:00       ` Why 40M/s SCSI I/O bandwidth isn't a waste: was " Matthias Bethke
1996-11-21  5:00         ` John R. Mashey
1996-10-25  4:00     ` Burkhard Neidecker-Lutz
1996-10-28  5:00       ` Dan Ts'o
1996-10-30  5:00         ` Burkhard Neidecker-Lutz
1996-11-01  5:00           ` Piercarlo Grandi
1996-11-02  5:00             ` Rob Barris
1996-11-05  5:00               ` Zalman Stern
1996-11-05  5:00                 ` Rob Barris
1996-11-06  5:00                   ` Tony Griffiths
1996-11-06  5:00                     ` Patrick Chase
1996-11-07  5:00                       ` Tony Griffiths
1996-11-07  5:00                         ` Jerry Leichter
1996-11-08  5:00                     ` Zalman Stern
1996-11-08  5:00                       ` Gerhard Hoffmann
1996-11-09  5:00                         ` John S. Yates, Jr.
1996-11-09  5:00                       ` Tony Griffiths
1996-11-09  5:00                         ` John S. Yates, Jr.
1996-11-11  5:00                           ` Joshua Cope
1996-11-11  5:00                         ` Zalman Stern
1996-11-11  5:00                           ` John S. Yates, Jr.
1996-11-11  5:00                             ` Paul Rubin
1996-11-11  5:00                             ` Terje Mathisen
1996-11-12  5:00                             ` Peter Montgomery
1996-11-11  5:00                         ` Paul Fox
1996-11-07  5:00                   ` Shane Hebert
1996-11-08  5:00                     ` Tony Griffiths [this message]
1996-11-06  5:00               ` Piercarlo Grandi
1996-11-11  5:00                 ` Peter Mayne
1996-11-10  5:00                   ` H.W. Stockman
1996-11-11  5:00                     ` David Hull
1996-11-16  5:00                       ` Piercarlo Grandi
1996-11-15  5:00                         ` Jeff Blaalid
1996-11-16  5:00                           ` agtabby
1996-11-18  5:00                           ` Paul A Jacobs
1996-11-18  5:00                             ` Charles Bouldin
1996-11-19  5:00                               ` H.W. Stockman
1996-11-19  5:00                                 ` Douglas H. Borsom
1996-11-19  5:00                                   ` H.W. Stockman
1996-11-20  5:00                                     ` Dirk Grunwald
1996-11-20  5:00                                     ` agtabby
1996-11-19  5:00                                       ` H.W. Stockman
1996-11-21  5:00                                         ` agtabby
1996-11-20  5:00                                           ` H.W. Stockman
1996-11-21  5:00                                         ` Peter Mayne
1996-11-21  5:00                                           ` H.W. Stockman
1996-11-22  5:00                                     ` H.W. Stockman
1996-11-23  5:00                                     ` Dirk Grunwald
1996-11-23  5:00                                     ` H.W. Stockman
1996-11-20  5:00                               ` Burkhard Neidecker-Lutz
1996-11-02  5:00             ` Robert Rodgers
1996-11-04  5:00             ` Agtabby
1996-11-08  5:00             ` Dirk Grunwald
1996-11-08  5:00               ` Douglas H. Borsom
1996-11-13  5:00             ` Dirk Grunwald
1996-11-05  5:00       ` Dirk Grunwald
1996-10-28  5:00     ` Dirk Grunwald
1996-10-25  4:00   ` Thomas Womack
1996-10-27  4:00   ` Steinar Haug
1996-10-31  5:00 ` Joonas Timo Taavetti Kekoni
1996-11-07  5:00 ` Why 40M/s SCSI I/O bandwidth isn't a waste: was " Jan Ingvoldstad
1996-11-11  5:00 ` Chris Hedley
1996-11-19  5:00   ` John R. Mashey
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