HDTenEightyP/NetNews huggingface dataset:
From: eliot@dcs.qmw.ac.uk (Eliot Miranda;W211)
Newsgroups: comp.unix.aux
Subject: compiled bitblt on Quadras (68040s)
Summary: need to know about the 68040's caches
Keywords: dynamic compilation, cache flush, 68040, bitblt
Date: 7 Oct 92 11:29:38 GMT
Organization: Computer Science Dept, QMW, University of London


I have a dynamically compiled bitblt routine that does bitblt in my Smalltalk
virtual machine on mac IIs.  We've just got some Mac quadras with 68040s and
the routine no longer works unless its run under adb and stepped through slowly.

The problem appears to be the twin I & D caches on the 68040.


The bitblt routine works by concatenating a set of machine code fragments
by writing them into a buffer, and then calling the resultant code sequence.

As I understand it the 68040 is a harvard architecture so I have to ensure
both that the data written is flushed from the dcache, and that the icache is
flushed so that the written data can be executed.

We have no 68040 manual.  Can those that know email me either
	a) a description of the 68040 I&D caches
	b) a description of their solution to this very problem :-)

Send email and I'll summarise for the net.

I need this information quickly!  I have to give the term's first MSc Object-
Oriented programming lab to 40 students on Monday.  the lab has only 26 machines
of which 4 are Quadras.


HELP!

AdvThanks!ance
--
Eliot Miranda,  Lecturer	email:	eliot@dcs.qmw.ac.uk
Department of Computer Science	ARPA:	eliot%dcs.qmw.ac.uk@nsf.ac.uk
Queen Mary Westfield College	UUCP:	eliot@qmw-dcs.uucp
Mile End Road, LONDON E1 4NS	Tel:	071 975 5229 (+44 71 975 5229)
				Fax:	081 980 6533 (+44 81 980 6533)

--
Eliot Miranda,  Lecturer	email:	eliot@dcs.qmw.ac.uk
Department of Computer Science	ARPA:	eliot%dcs.qmw.ac.uk@nsf.ac.uk
Queen Mary Westfield College	UUCP:	eliot@qmw-dcs.uucp
Mile End Road, LONDON E1 4NS	Tel:	071 975 5229 (+44 71 975 5229)
				Fax:	081 980 6533 (+44 81 980 6533)
Newsgroups: comp.unix.aux
From: tyler@Ingres.COM (Rick Tyler)
Subject: CSL/IP login program
Reply-To: tyler@Ingres.COM (Rick Tyler)
Date: 10 Oct 92 21:00:31 GMT

Somebody recently posted an ftp address for a program which connects to 
a CSL/IP server (via modem) and does the necessary magic to run CSL/IP
under A/UX.  I somehow managed to lose the ftp address and can't access
the original article(s).  Could someone please email me the ftp address?
I think the file was called:

	upsl0.tar.uu

Also, I seem to recall someone reporting that the original contained
carriage returns instead of newlines.  Has this been fixed or can someone
repeat the incantation to fix it?

Thanks.

- RT
From: eliot@dcs.qmw.ac.uk (Eliot Miranda;W211)
Newsgroups: comp.unix.aux
Subject: Re: compiled bitblt on Quadras (68040s)
Keywords: dynamic compilation, cache flush, 68040, bitblt
Date: 8 Oct 92 15:44:24 GMT
Organization: Computer Science Dept, QMW, University of London

I'm reposting my request because I didn't make it clear that the problem was
I wanted to do this under A/UX.  I know about the cache flushing facilities
under Mac O/S, but I need to do cache flushing under A/UX and in a Console
(Raw Unix) session.  Anyway, Thanks for all the Mac OS info.  Any one know
how to do this under A/UX:


I have a dynamically compiled bitblt routine that does bitblt in my Smalltalk
virtual machine on mac IIs.  We've just got some Mac quadras with 68040s and
the routine no longer works unless its run under adb and stepped through slowly.

The problem is the twin I & D caches on the 68040.


The bitblt routine works by concatenating a set of machine code fragments
by writing them into a buffer, and then calling the resultant code sequence.

As I understand it the 68040 is a harvard architecture so I have to ensure
both that the data written is flushed from the dcache, and that the icache is
flushed so that the written data can be executed.

We have no 68040 manual.  Can those that know email me either
	a) a description of the 68040 I&D caches
	b) a description of their solution to this very problem :-)

Send email and I'll summarise for the net.

I need this information quickly!  I have to give the term's first MSc Object-
Oriented programming lab to 40 students on Monday.  the lab has only 26 machines
of which 4 are Quadras.


HELP!

AdvThanks!ance
--
Eliot Miranda,  Lecturer	email:	eliot@dcs.qmw.ac.uk
Department of Computer Science	ARPA:	eliot%dcs.qmw.ac.uk@nsf.ac.uk
Queen Mary Westfield College	UUCP:	eliot@qmw-dcs.uucp
Mile End Road, LONDON E1 4NS	Tel:	071 975 5229 (+44 71 975 5229)
				Fax:	081 980 6533 (+44 81 980 6533)
Newsgroups: comp.unix.aux
From: jpm@cs.hut.fi (Jussi-Pekka Mantere)
Subject: /bin/sort -T /tmp-dir under A/UX 3.0 (undocumented feature)
Organization: Helsinki University of Technology, Finland
Date: Thu, 15 Oct 1992 16:24:55 GMT

When rebuilding the history files under C News, I ran out of disk on
the temporary file system.

But, using the hints provided in the C News stuff, it seems that
A/UX 3.0's /bin/sort will accept an undocumented flag for specifying
an alternate temp directory, ie. "sort -T /your-tmp-dir-with-room-2-spare ...".

Cheers,

Chape
Newsgroups: comp.unix.aux
From: mfraioli@grebyn.com (Marc Fraioli)
Subject: Net utils fail to use backup DNS server
Organization: Grebyn Timesharing
Date: Tue, 13 Oct 1992 00:04:32 GMT

We have a LAN with a variety of different types of machines on it, one
of which is a Mac IIfx with A/UX 3.0.  The primary nameserver for the
domain they are in is a Sun IPC with SunOS 4.1.3.  The backup nameserver
is a DECstation 5000/133 with Ultrix 4.2a.  When the Sun goes down (:-),
the DEC machines on the LAN switch over and get their name service from
the backup machine.  The Mac does not.  It simply does without until the
Sun comes back up.  nslookup on the Mac does switch over to the backup
machine.  The Mac is in the same yp domain as the DEC machines are, but
the Sun is in a different one.  As I said earlier tho, all are in the
same DNS domain.  Any ideas?
-- 
Marc Fraioli
mfraioli@grebyn.com	        	(So I'm a minimalist...)
Newsgroups: comp.unix.aux
From: chrism@col.hp.com (Chris Magnuson)
Subject: HELP:  Need 3.0 Hard drive recommendation
Date: Tue, 13 Oct 1992 19:15:38 GMT
Organization: HP Colorado Springs Division

  I've decided that Apple is not responsive enough to the trouble I'm having
with the drive I've got now, and am considering getting another drive.

  I need 210Meg minimum, but would like 330Meg.  Rock bottom price and AUX 3.0
compatibility are the main concerns.         

  I have noticed the Maxtor 7213 at $459 in computer shopper.  Has anyone
got this one going with AUX 3.0?

  If you have a recommendation for a drive, send me some e-mail with the
drive model, price paid and where from (and let me know if you have seen
any trouble with it under AUX 3.0).

Thanks!
chrism@col.hp.com
Newsgroups: comp.unix.aux
Subject: SCSI Cartridge ejecting
From: denny@alisa.com (Bob Denny)
Date: Wed, 7 Oct 1992 10:15:23 GMT
Organization: Alisa Systems, Inc.

SOB! A/UX V3 doesn't properly release mounted Mac format SCSI (e.g.,
SyQuest) carts. I was hoping they would fix it under 3.0, but no such luck.
Dragging it into the trash dismounts it, but it won't physically spin down.
I assume that there is a command that needs to be sent to the drive to tell
it to permit spin-down so that the cart can be changed. As in 2.0.x, using
Unix-format carts is no problem, though the driver does NOT lock the cart
in, so it is possible to spin down and remove a mounted cart. UGH! 

Does anyone out there know a way to completely eject a mounted Mac-format
cart? Is there a way to protect a mounted Unix-format cart from accidental
dismounting? Jim Jagielski, SCSI wizard that you apparently are, can you
point me in the direction needed to write a little app that will "twig the
bits" the right way?

_______________________________________________________________________________
Robert B. Denny                                           voice: (818) 792-9474
Alisa Systems, Inc.                                         fax: (818) 792-4068
Pasadena, CA                         (denny@alisa.com, ..uunet!alisa.com!denny)
From: briggs@csugrad.cs.vt.edu (Occasionally Allen)
Newsgroups: comp.unix.aux
Subject: Re: What does the autorecovery option do?
Date: 13 Oct 92 14:28:34 GMT
Organization: Virginia Tech Computer Science Dept, Blacksburg, VA

In article <1992Oct12.122620.7187@ultb.isc.rit.edu> cnspci@ultb.isc.rit.edu (C.N. Salvaggio) writes:
> [...] fsck cannot be found when in single user mode.

fsck should be somewhere on the root partition.  I'm not in front of my
mac right now, but if /etc/fsck doesn't exist, I seem to remember that
there are filesystem-dependent versions of fsck somewhere under /etc.
You can find them yourself with "find /etc -name '*fsck*' -print" which
will find any file containing the string fsck.

> [...] I chose to run the autorecovery procedure, and after doing this,
>have had any modification made to the original installation wiped out 

You do need to update the list of things to autorecover.  Take a look at
the man pages--I think the command is eupdate or something like that,
but you can start off with "man escher" and follow cross-references.
I've never had to use it.  Hmmm.  If you want to add much to it, you
might want to increase the size of the eschatology partition.  I don't
know how much data it allows you to back up.

-allen

-- 
Allen Briggs          \ People hurry by so quickly
briggs@csugrad.cs.vt.edu | Don't they hear the melodies
Computer Science      / In the chiming and the clicking
Virginia Tech      / And the laughing harmonies.       (Joni Mitchell)
From: mm5l+@andrew.cmu.edu (Matthew Mashyna)
Newsgroups: comp.unix.aux
Subject: The tape drive from HELL!
Date: 15 Oct 92 08:40:52 GMT
Article-I.D.: andrew.cerNwI200WAL83ZGcN
Organization: Psychology, Carnegie Mellon, Pittsburgh, PA

I pulled an old tape drive off a Sun 3/160 carcus. I know it worked on
the Sun because I played with it until the disk blew.

Anyway, I installed tc and it seemd to think it was a TEAC600. I can mt
... rewind and eom just fine (at least it looks fine).

I can dump and dd and tb and tbb onto the tape but whenever I try to get
it back the result is the same: they report "dd read error: No such
device or address"


What gives ? I tried Apple's tc and Jim Jagielski's tc and teac. None of
these drivers seem to be happy. I have the SCSI number at 4. I noticed
that some documentation hinted that SCSI 1 was the norm. Does this
really make a difference ? Should I shoot the damn thing ?


Matt


///////////////////////////////////////////////////////////////////////
// Matthew Mashyna        \\                                         //
// MM5L@andrew.cmu.edu    \\  "Who the Hell told you to do that ?"   //
// voice: (412) 268-7591  \\  --my Dad                               //
// FAX:   (412) 268-2798  \\                                         //
///////////////////////////////////////////////////////////////////////
// Manager of the Computing Facilities                               //
// Carnegie Mellon                                                   //
// Department of Psychology                                          //
// Pittsburgh, PA 15213                                              //
///////////////////////////////////////////////////////////////////////
From: einhorn_d@apsicc.aps.edu (E. Drew Einhorn)
Newsgroups: comp.unix.aux
Subject: FaxModem software
Date: 8 Oct 92 21:24:00 GMT
Organization: Albuquerque Public Schools - Career Enrichment Center
News-Software: VAX/VMS VNEWS 1.41

Tried responding by EMail but it bounced.


In article <HxHv.718470053@pandoras>, you write...
>Hello once again;
> 
>	The line really says it all.  Is it possible to use a fax modem
>with A/UX.  I finally got the data side transmitting ok after I fixed the
>cabeling.  Now I would like to see if I can exploit the fax ability of
>my modem.  The company gave me a fax init to drop in the system folder,  But
>it naturally does not recognize the serial port, and tells me my modem can
>not be found.
> 
>	Is there any way I can get this init to work, and if not does anyone 
>know of a unix program that will allow me to beam out faxes to the modem.
> 
>	thanks in advance--rr
> 
>--
> 
>rainer@pandoras-box.path.med.ufl.edu

Let me know if you solve the problem via the MacOS approach.  I have
a SupraFAXmodem V.32bis with FAXstf on a Mac IIci that I am getting 
ready to attempt to install A/UX 3.0 on.  Need to get a memory upgrade
first only have 5MByte RAM at this time.  Maybe in a couple of weeks
I'll be ready to go.

I have a 486 based workstation on order and am planning on contacting
a archie server to find out where to ftp netfax, a fax server, and 
ghostscript, a postscript compatible interpreter.  I am hoping that 
between the two of them I will have a complete general purpose solution
for unix platforms.
From: davidm@sfsuvax1.sfsu.edu (David Morgenstern)
Newsgroups: comp.unix.aux
Subject: Request for Information
Date: 13 Oct 92 18:53:52 GMT
Organization: San Francisco State University

Dear A/UXers:

I've been given the assignment to report on Higher Education kinda
news for MacWeek. This is a very wide-ranging area, but I'm
focusing on new projects from universities, technologies that are
starting to be used in the academic environment, and anything else
that looks interesting. It doesn't have to be all Macintosh,
although that helps! 

My first report covered the SUIT cross-platform C-language graphic
software, the Tripwire security software for UNIX, and the EndNote
TagLink (a commercial program) support for the TAGS bibliographic
file format developed by the UC Library. 

I'd like to hear about what you're working on, if there's something
you think that people should know about, a new technology, or a new
tool. If a colleague is doing something interesting, can you pass
this on to them?  Any other news that might be of interest to
MacWeek readers is always welcome!
 
Thanks,

David Morgenstern, davidm@sfsuvax1.sfsu.edu 
-- 
 David Morgenstern, BMUG CheerLeader davidm@sfsuvax1.sfsu.edu
    "Miracles do occur - but they rarely provide food." 
         --  Talmud: Shabbat, 53b
Xref: sparky comp.unix.aux:3771 news.answers:3426
From: alexis@panix.com (Alexis Rosen)
Newsgroups: comp.unix.aux
Subject: Re: Dialup processes surviving dropped carrier. How?
Date: 10 Oct 92 11:06:07 GMT
Organization: PANIX Public Access Unix, NYC

rns@ausom.oz.au (Ross Sheehy) writes:
[about jobs not being terminated when hung up on]
>The problem was a more random one, and like all good intermittent problems
>was difficult to reproduce (I hadn't managed it).  The following message
>from dirk@apple.com was interesting to me, so I thought I'd pass it on...

>> Unfortunately this is true with not just dialup processes
>> and is something that we are looking at. You may have seen
>> mention of this problem in relation to telnet and rlogin
>> in the news group. This is also what you are experiencing
>> with your dialup lines. Basically when a login dies for
>> whatever reason, then there should be a cleanup of all
>> child processes and the pty should be made available with
>> no old attached processes.

>> In any cases a bug has been filed and will be addressed at
>> least in the next release and hopefully also to the internet.

This bug has existed since V1.0. I first reported it in 2.0.0, and John
Calhoun first fixed it (in his telnetd) many months ago. (Of course, there
are some odd kernel bugs that prevent his fix from being perfect, but it
seems to work most of the time, except that it doesn't prevent output from
spilling over onto ttys that should be inaccessible.)

Pardon me if I seem a little skeptical about Apple's intent to fix this bug
any time this decade.

Anyway, it's not a bug. Somebody decided that the easiest way to port over
telnetd, rlogin, etc. was to comment out vhangup() and leave it at that. Bugs
are accidental- this was on purpose.

If this is sounding a little bitter... you're damn right I'm bitter. It's
why I had to buy a sparc2. It's why I'm facing the nightmare task of
migrating my entire system from A/UX to SunOS. And if you think I'm enjoying
that... guess again...

--
Alexis Rosen   Owner/Sysadmin,
PANIX Public Access Unix & Internet, NYC.
alexis@panix.com
{uupsi,cmcl2}!panix!alexis

ps- I shouldn't have to say this, but- this posting should not be construed
as a personal attack on Dirk or any other A/UX engineer. Yes, it is an attack
on Apple's (non)support policies.
From: johnston@me.udel.edu (Bill Johnston)
Newsgroups: comp.unix.aux
Subject: Re: Newfs on a syquest causes kernel panic
Date: 13 Oct 92 00:01:42 GMT
Article-I.D.: news.Bw19Ev.BKG
Organization: University of Delaware

In article <2AD9EFD9.2480@news.service.uci.edu> bob@beamlab.ps.uci.edu (bob prohaska) writes:
>Just managed to crash aux by calling newfs on an unformatted
>syquest 44 cartridge.  Something about a bus error appeared on the
>screen, and I had to do a hard reset.
>
>Apple's HDSC for A/UX 3.0 reported a hardware problem with the
>disk, but Fix Error Page said the error page was fine, and re-running
>HDSC setup under the Mac os allowed a normal mac format, after which
>the disk formatted and mounted normally under A/UX.
>
>Is this a bug, or did I do something stupid?

I don't think it's a bug;  A/UX HD SC Setup just doesn't format
Syquests.  Try formatting with something like APS PowerTools, 
run Fix Error Page if necessary, then use HD SC Setup under A/UX 
to partition for A/UX (the maximum free unix option works fine).
It automatically runs newfs and prompts the user to select a 
mount point.
-- 
-- Bill Johnston (johnston@me.udel.edu)
-- 38 Chambers Street; Newark, DE 19711; (302)368-1949
From: foelix@mickey.ctron.com ( Stewart Foelix X1333 )
Newsgroups: comp.unix.aux
Subject: How to mark a physical memory page as non-cacheable?
Date: 6 Oct 92 17:28:26 GMT
Reply-To: foelix@mickey.ctron.com ()
Distribution: na
Organization: Cabletron Systems Inc.
Originator: foelix@olympus


Is it possible to mark a physical memory page as non-cacheable?  This is
in a device driver, and the memory was allocated using getmem() with a 
size less than the size of a memory page (i.e. < 4K).

I am running AUX 3.0 on a Quadra 900 with 8M of ram.

Thanks for your help.

Stew
From: dswartz@redondo.sw.stratus.com (Dan Swartzendruber)
Newsgroups: comp.unix.aux
Subject: Re: Loading Macsbug?
Date: 9 Oct 92 22:28:54 GMT
Organization: Stratus Computer, Software Engineering

In article <1992Oct9.204230.2444@dartvax.dartmouth.edu> pete@winesap.dartmouth.edu (Pete Schmitt) writes:
>How to I get Macsbug to load when logging into and A/UX 3.0 system in the
>MacOS 32bit environment?  Is it possible?

Just stick the Macsbug file in the appropriate System folder.

>-pete
>
>--
>Peter Schmitt, UNIX Systems Specialist, Computing Services, Dartmouth College
>Email: peter.schmitt@dartmouth.edu                        Phone: 603-646-2085
>******* Let us not give up meeting together, as some are in the habit *******
>******* of doing, but let us encourage one another.    -Hebrews 10:25 *******


-- 

Dan S.
Newsgroups: comp.unix.aux
From: cnspci@ultb.isc.rit.edu (C.N. Salvaggio)
Subject: Performing backups to a SyQuest drive
Originator: cnspci@ultb
Organization: Rochester Institute of Technology
Date: Thu, 15 Oct 1992 11:35:25 GMT

Does anyone routinely perform backups using a SyQuest drive as a raw
device?  I'd like to use an 88Mb SyQuest drive to store backups produced
using dump.bsd.  I've tried to accomplish this but I think something is
not working correctly.  I've tried the command

   % dump.bsd 0uf /dev/rdsk/c6d0s0 /dev/rdsk/c0d0s0

where the SyQuest is SCSI ID 6 and the device /dev/rdsk/c0d0s0 is the
root partition.  This seems to proceed OK but I don't think it's using
the capacity of the SyQuest.  The partition is just shy of 40Mb and the
dump.bsd program reports that the media has 40140 tape blocks.  Before
the dump is complete, it does indeed ask for another 'tape'.  I've read
through the man page on dump.bsd and there is a flag 'b' which seems to
be able to tell the program that there is indeed a larger storage device
out there.  I can't seem to figure out the syntax however.  I would
appreciate any help that you can supply.  I had a near catastrophic
experience where over 80Mb of code was almost lost that was never backed
up (that really make you understand the importance of regular backups).

Thanks in advance.

Carl Salvaggio
Rochester Institute of Technology
Center for Imaging Science

cnspci@ultb.isc.rit.edu
Newsgroups: comp.unix.aux
Subject: Re: Dialup security using /etc/dialups and /etc/d_passwd - Syntax?
From: denny@alisa.com (Bob Denny)
Date: Tue, 13 Oct 1992 10:33:32 GMT
Organization: Alisa Systems, Inc.

In <1992Oct13.015816.1927@adx.adelphi.edu> 
   spock@abraxas.abraxas.adelphi.edu (Sven Dietrich) writes:

> [...]
> while doing a 'strings /bin/login', I ran across some 'undocumented features'
> of login. I found references to /etc/dialups and /etc/d_passwd ...
> [...]
> I'm doing something wrong. Well, then again, I was just guessing anyway. Does
> anybody know the correct syntax for these files?

According to "Unix System Security" by Rik Farrow, pp 119-120 (paraphrased):

These 2 files indeed provide for a dialup password on a per-port basis.

/etc/dialups has a list of ports for which you want to have dialup
passwords, e.g.:

/dev/tty10
/dev/tty11

/etc/d_passwd contains a set of entries associating a password with a
particular login program (as specified in the last field of the user's
/etc/passwd entry). e.g.:

/bin/sh:h$fFsW0joDw2D:
/bin/ksh:f30kDC4Fge5jf:
/usr/lib/uucp/uucico::

colon-separated, first field is the login program (shell, etc.) and the
second is an encrypted password (same as in /etc/passwd. In the above
example, sh and ksh are given separate dialup passwords, and any accounts
using uucico (UUCP dialins) will not get asked for a dialup password.

I have not tested this on A/UX... I am simply repeating the info from the
book. It's a pretty good book. by the way...
_______________________________________________________________________________
Robert B. Denny                                           voice: (818) 792-9474
Alisa Systems, Inc.                                         fax: (818) 792-4068
Pasadena, CA                         (denny@alisa.com, ..uunet!alisa.com!denny)
Newsgroups: comp.unix.aux
From: cnspci@ultb.isc.rit.edu (C.N. Salvaggio)
Subject: What does the autorecovery option do?
Followup-To: cnspci@ultb.isc.rit.edu
Originator: cnspci@ultb
Organization: Rochester Institute of Technology
Date: Mon, 12 Oct 1992 12:26:20 GMT

I have had a Quadra 700 crash several times and upon rebooting it have had
the file systems corrupted.  During the boot sequence for A/UX a message
appeared telling me to run fsck from single user mode to remedy the
problem.  Well I have never been successful at this because it seems
that fsck cannot be found when in single user mode.  My first question
is "Is there a trick to getting fsck to run in this mode?".  Second,
after some frustration, I chose to run the autorecovery procedure, and
after doing this, have had any modification made to the original
installation wiped out (e.g. account in the passwd file, any
customizations to the sysinitab file, etc.)  Is this the proper way for
autorecovery to work or am I doing something wrong?  Does this
information need updated to save any modifications?  Thanks for any
help!!!

Newsgroups: comp.unix.aux
From: halpin@vsg1.dsg.dec.com (Stephen E. Halpin)
Subject: Re: A/UX 3.x and (non) Performa 600 CD
Organization: Digital Equipment Corporation
Date: Sat, 10 Oct 1992 22:31:09 GMT

In article <1992Oct8.035726.28749@nntpd.lkg.dec.com> halpin@vsg1.dsg.dec.com (Stephen E. Halpin) writes:
>                                               Given that it doesnt have
>half the integer performance of a IIci (according to the MacWorld review)
>I cant image it being anything less than painful under A/UX.

My appologies.  I misread the tables, and the integer performance of the
Performa 600 is more than half that of the IIci.  Its still seems far
slower than it should be.  -Steve
-- 
~~~~~~~~~~~~~~~~~~~~
Stephen E. Halpin                    halpin@vsg1.dsg.dec.com

"You might just have to waste your life just to live."  - Soul Asylum