HDTenEightyP/NetNews huggingface dataset:
From: am815@cleveland.Freenet.Edu (Joel Peter Anderson)
Subject: STREAMS M_ERROR Message problem
Reply-To: am815@cleveland.Freenet.Edu (Joel Peter Anderson)
Organization: Case Western Reserve University, Cleveland, OH (USA)
Date: Wed, 26 Aug 92 13:05:15 GMT


I am running UHC's System V.4 Unix on a 486.

I have a serial communications card which has loaded on it a
protocol stack.  A user application interacts with the protocol
stack through a device driver whose head is a STREAM.  To get and
put data to the driver, a user application would use read() and
write().

Currently, if the protocol stack encounters an error on a user
application write, it sends back to the driver a negative status
code.  The driver then converts this into a M_ERROR message which
is put on the read queue using putq.  To make turn the message into
an M_ERROR message the following is done:

make_error_msg(mblk_t *mp, int status_code) {
    
    mp->b_datap->db_type = M_ERROR;
    mp->b_rptr = mp->b_datap->db_base;
    *mp->b_rptr = status_code;
    mp->b_wptr = mp->b_rptr + sizeof(char);
    ....
} 

The result is the next read or write returns with a -1 and errno is
set to 256 - status_code.  The PROBLEM is that the only way to
clear the error condition is to close the device.  Typically, the
error does not warrent a close.

The man pages on STREAMS error message types indicate that there
are two forms of the M_ERROR message - one byte and two byte.  The
one byte form is suppose to lock out all system calls to the device
except close and poll.  However, the two byte form is set up so
that "the first byte [of the status code] is the read error and the
second byte is the write error.  This allows for modules to set a
different error on the read-side and write-side.  This allows a
module to set an error on just one side of the STREAM."  When I
change the code to construct a two-byte M_ERROR msg...

make_error_msg(mblk_t *mp,char status_code) {
    
    mp->b_datap->db_type = M_ERROR;
    mp->b_rptr = mp->b_datap->db_base;
    *mp->b_rptr = status_code;
    *(mp->b_rptr + 1) = NOERROR;
    mp->b_wptr = mp->b_rptr + ( 2 * sizeof(char));
}

the result is the same as with the one byte M_ERROR message.  Both
read and writes return a -1 with errno = status_code.  What am I
doing wrong?
-------------------------------------------------------------------------
"We know only the strong will survive, But the meek will inherit.
 So if you've got a coat of arms, oh friend, I suggest we wear it."
                                        John Mellencamp.
-------------------------------------------------------------------------
  joela@Apertus.COM  s/w engneer |Freenet: am815@cleveland.freenet.edu
    Joel Peter Anderson          |PNET: jpa@pnet51.orbit.mn.org
    Apertus Technologies         |GEnie:J.ANDERSON71
-------------------------------------------------------------------------
-- 
-------------------------------------------------------------------- 
<Joel Peter Anderson>               |     
Freenet: am815@cleveland.freenet.edu|    Signature under 
 GEnie:J.ANDERSON71                 |      construction.
Newsgroups: comp.unix.sysv386
From: bash@tware.UUCP (Paul Bash)
Subject: Re: Dell SVR4 News: Can't Post
Organization: Techware Design, Boulder, Colorado
Date: Mon, 31 Aug 1992 17:20:07 GMT

In article <BtuLA1.AMz@gator.rn.com> larry@gator.rn.com (Larry Snyder) writes:
>bash@tware.UUCP (Paul Bash) writes:
>
>>Hey Dell, how about including a simple cookbook set of instructions for getting 
>After installing the c-news optional stuff, I seem to remember something
>appearing on the screen telling me what to change to remove the dell.com
>and dell specific site info from the installed software --
>

You must have a different installation tape than I do (or it flew past so 
quickly I missed it). I did two complete installations of the base system 
plus all of the extra goodies like cnews. I also installed the optional 
sources at least 4 times (don't ask why :-) and saw _nothing_ like you  
mentioned. One of the source directories (I believe it was nn, but I can't
verify that now) contained a file called DELL.README. This contained 
exactly the information I would like except that it only dealt with that
one particular program (and you only saw it if you installed the optional
source then went looking for it). 

It would be nice to have one file, whose location is documented prominently 
in "Working With Dell UNIX System V Release 4.0", that steps you through 
everything. Having the sources now makes life easier, but far from _easy_ if
you aren't really familiar with the products being installed. Before Dell
started including source with the distribution, and before their FTP sites
were opened (where source could be obtained), it was extremely difficult to 
use the preinstalled cnews, nntp, nn and rn programs. Its slightly better
now but could be made a lot easier with just a little more effort on Dell's
part (not to imply that I don't _really_ appreciate all the effort they've
already put into it). 
 

-- 
Paul Bash                                                   Techware Design 
bash@tware.com                                              Boulder, CO  U.S.A.
Newsgroups: comp.unix.sysv386
From: nagappa@menudo.uh.edu (Chaitanya Nagappa)
Subject: HELP!! (1) SCO's sendmail for TCP1.1.3f quirky (2) Sendmail-IDA for SCO?
Organization: University of Houston
Date: Sat, 29 Aug 1992 18:26:59 GMT

The following article is posted for a friend of mine. If sending email replies
here, please include his name (Ravi) at beginning of article.
C. Nagappa
-----------------------------------------------------------------------------

Howdy folks,
Having tons of trouble getting my machine on the Internet for mail. I am
running a 486 with SCO Unix 3.2.2 & TCP 1.1.3f (or 1.3.3f?). I am set up
through a UUCP connection to a machine on the internet (through generosity
of a kind soul). I have two multi-part questions that follow.

(1) I have the machine currently set up with SCO's (or Lachman's) version
of sendmail. My config file is set up properly, and under normal conditions
everything works. 
(a) After reading an article here (in USENET) I changed my local mailer to
    not have the "m" flag (for multiple transmissions). Was that the right
    thing to do?
(b) How to set up the log file for sendmail (where) ? I tried changing the
    log level in sendmail.cf, but still cannot find any log file anywhere!!
(c) All mail is not delivered. I can see uucp receiving the mail, but I do
    not receive all the messages in my mbox. One time out of 30 messages
    (a big shar file) I had sent to me from another machine on the internet,
    I received only 14 messages. Another time, only 1 file came over uucp (I
    can tell from the uucp log files), but it is not in my mailbox (/usr/spool
    /mail/ravi). Also, a core file is created every time mail screws up, in
    my home directory. Is something wrong with lmail???

(2) Someone suggested using sendmail-IDA as a replacement. Has anyone ever
    used this successfully on an SCO Unix system? The "READMEs" or "Makefiles"
    did not seem to have any entry for SCO UNIX.

Please respond with your experiences. I am desperate for a solution. Also,
I guess it will not be a good idea to send your replies to ravi@usv.com, as
I may not receive the message; please either post your replies here, or
reply to this account that I am sending mamil from.

Thanks a lot,
--Ravi
(Ravi Ramachandran)
From: tmod@ccvax.ucd.ie
Newsgroups: comp.unix.sysv386
Subject: SCO and Xserver problems
Date: 27 Aug 92 14:44:24 GMT
Organization: University College Dublin

 Help!,
                   
	I have SCO sysv3.2.2 and I am trying to run my X386 server without
 success. During compilation I got errors with writev , setitimer and now 
 when I try to run clients I get 
	fatal IO error 22 (Invalid argument)on Xserver after 'n' requests
 with 0 events remaining

 When I try to run X386 I get
        Fatal server error
		Cannot open /dev/vt00 (/dev/vc00)

 But I don't have any /dev/vt##s on my system !! Should I create them ?
 How? Surely I'm doing something simple wrong ?!?!?!? I'm desperate !

 Can any good soul advise a lost sheep ???

			Thanks,
				Terence O'Donnell
			e-mail: tmod@ccvax.ucd.ie or 
				paulk@elecmag3.ucd.ie
Newsgroups: comp.unix.sysv386
From: buick@belay (Patrick D. Buick)
Subject: Re: Can't boot ISC 2.0.2
Keywords: ISC 2.0.2 boot
Organization: Belay Enterprises Inc. Calgary, Alberta, Canada
Date: Thu, 3 Sep 1992 01:29:14 GMT

In article <1992Aug29.150321.1696@swsrv1.cirr.com> toma@swsrv1.cirr.com (Tom Armistead) writes:
>In article <1992Aug26.015704.8894@sun490.fdu.edu> tempel@sun490.fdu.edu (Philippe N. Tempel) writes:
>  [Stuff deleted]
>>After I cold boot with the ISC boot disk in drive A, I get the message
>>"Booting the UNIX system..." and see some disk activity.  Finally, after
>>4 minutes the screen goes blank and the system hangs in limbo.  Any ideas
>>before I take the motherboard back?  I did disable caching, shadow ROM and
>>shadow RAM.
>>
>>Thanks,
>>Philippe
>
>If you have a parallel port with no printer attached, or a printer attached
>but turned off, this will happen.  After you get everything installed, the
>problem goes away...
>
>Hope this helps,
>Tom
>-- 
>Tom Armistead            | 2918 Dukeswood Dr.     | Garland, Tx.  75040
>toma@swsrv1.cirr.com     | ...!egsner!swsrv1!toma | ...!void!swsrv1!toma
>toma@swsrv1.LoneStar.org | ============ THIS SPACE FOR RENT ============

On mine, ISC 2.2.1, you *must* remove the Logitech Bus mouse card, or
it won't go either... just reboots after trying to initialize the 
equipment... not a motherboard problem..

Try with bare-bones stuff: Disk Controller, Monochrome Card (although
My VGA provides no problems) and keyboard.... no accessories.
Patrick
-- 
==========================================================
Patrick D. Buick EMT, EET  | Internet: buick%belay@uunet.uu.net
Belay Enterprises Inc.     | Internet: buickp@cuug.ab.ca
Calgary, Alberta, Canada   | UUCP:...!calgary!pixel!belay!buick
Newsgroups: comp.unix.sysv386
From: steve@nuchat.sccsi.com (Steve Nuchia)
Subject: TCP window size in V.4
Organization: South Coast Computing Services, Inc.  Houston
Date: Sun, 30 Aug 1992 23:46:17 GMT

If anybody knows where the knob to control the TCP window size
lives in (UHC) sysVr4, could you please clue me in?  My routers
and I would very much appreciate it.
-- 
Steve Nuchia      South Coast Computing Services, Inc.      (713) 661-3301
Newsgroups: comp.unix.sysv386
From: heiko@Groucho.Chemie.FU-Berlin.DE (Heiko Schlichting)
Subject: Re: News in Europe (was FAS 2.10 async driver...)
Organization: Free University of Berlin, Dept. of Chemistry
Date: Fri, 28 Aug 1992 01:11:02 GMT

madsere@okys.infoserv.com (Rene Madsen) writes:

>Yup, that is apparently just like Europa. It _is_ possible to get a
>news feed from one of the universities, but the prices I have got 
>so far are _far_ above the price for the US connection (phone lines
>included) I'm still looking though.

This could be true for some universities but not for all. You should know
that there are a lot of private sites in Europe using the net without
paying high prices. Maybe you should contact one of these sites (there
are sites transporting all.all). I agree that this could be a problem
in Luxembourg but you should try it in Germany ("Individual Network"
[EMail: in@in-berlin.de] or "Verein zur Foerderung der privat betriebenen
Datenkommunikation" [EMail: urlichs@smurf.sub.org]) or in Italy (sublink).

I'm sure that you can find a good feed for all news you want without
paying high prices. For private sites *only* often $10-15/month and 
without additional paying for mail or news traffic. And the Individual 
Network  it is absolutely legal including EUnet registration and 
participating in the DFN (German Research Network) so that the German
science network (WIN) could be legally used.

Uwe's site (geminix.IN-Berlin.DE) -for example- is such a private site 
of the Individual Network which polls at our system (=university). 

Heiko
-- 
Heiko Schlichting                     | Freie Universitaet Berlin
heiko@groucho.chemie.fu-berlin.de     | Institut fuer Kristallographie
Xref: sparky comp.unix.sysv386:13648 comp.periphs.scsi:4227
From: jessea@homecare.com (Jesse W. Asher)
Newsgroups: comp.unix.sysv386,comp.periphs.scsi
Subject: SCO and their SCSI drivers.
Date: 27 Aug 92 01:31:39 GMT
Organization: G.O.D Inc.

We had problems with the SCSI drivers in SCO ODT 1.1 - especially with
tape drives.  Does anyone know if the SCSI drivers in SCO ODT 2.0 are
any better?
-- 
      Jesse W. Asher                                   Phone: (901)762-6000
                         Varco-Pruden Buildings
	      6000 Poplar Ave., Suite 400, Memphis, TN  38119
 Internet: jessea@homecare.COM                 UUCP: ...!banana!homecare!jessea
Newsgroups: comp.unix.sysv386
From: j4jbail@srv.PacBell.COM (Jack Bailey)
Subject: Re: When to install FAS
Organization: Pacific * Bell
Date: Thu, 3 Sep 1992 17:41:16 GMT

In article <RAYMOND.92Sep2150743@cobra.es.ele.tue.nl> raymond@es.ele.tue.nl (Raymond Nijssen) writes:
>
>The [S|F]AS driver is very good if you need *real* modem control,
>*real* high speed, or if you have a non-standard tty configuration, eg. a
>mix of different serial adapters.

Agreed.

>In addition, it reduces the system load because it's much more efficient than
>all stock asy drivers I've seen so far.

I'm not so sure about this.  When I ran the stock drivers, the
load average on my box was very low.  With FAS-2.10 (as with the
previous versions), the load average rises to 0.5 minimum when
the first modem is in use.  With two modems in use, the load
average rises to about 0.7 or 0.8.  When both modems become idle,
the load average drops back to normal (below 0.1).

I'm running ISC 3.0 on a 486/50 with 16M of memory.

-- 
J.J.Bailey	j4jbail@srv.pacbell.com
Contractor	510.823.6453
Newsgroups: comp.unix.sysv386
From: oklein@smallo.bo.open.de (Olaf Klein)
Subject: Re: Single-user mode boot on SCO UNIX - not a solution
Organization: smallo.bo.open.de Fido-SubNet-Gate : 2:245/5800.12
Date: Fri, 28 Aug 1992 20:12:49 GMT

jarmo@ksvltd.fi (Jarmo Raiha) writes:

>>Ok...this is embaressing...we forgot the root password on a seldom used
>>SCO UNIX box.  We're trying to figure out how to do a single-user mode
>>boot so that the root password is not required to login.  SCO wants $100
>>to tell us the answer, so we thought maybe some kind soul may enlighten
>>us on the net.  Otherwise, we'll have to do a re-install and that won't
>>be much fun.
>I can't believe this ! All  the trouble with that C2 security and
>all the overhead. What is the price for other 'clues' ?
>I would pay that $100 to get rid of all SCO security junk.

Trying to forget your root-password, and then show me how to get as
root into the machine (without accessing the floppys) - if this is 
possible, your OS isn't worth to be called Unix. Unix was designed to
be secure, especially the root account has to be protected from hack
attacks. 
And for every 386-Unix I know it should be possible to mount the root
partition when booting from Floppys/Emergency disks (I don't like
this, in my opinion all partitions should have a protect against to be
mounted by Floppys or without giving the correct root password,
because the greatest security hole is a theft of the whole system and
then hacking the system by booting from floppy... :-(  )

>Sorry about not being able to help you :-(
If you don't know how to hack a system you should probably not post
against SCO's security but read your manuals and try to get into the
system, maybe some time you need the knowledge...

I would try to boot with N1, N2 or the emergency disks (if accessible)
and then mount /dev/root. After that `mv /mnt/etc/passwd to 
/mnt/etc/passwd.old` and boot from harddisk...

Bye, Olaf

-- 
Olaf Klein     smallo.bo.open.de       2:245/5800.12
Newsgroups: comp.unix.sysv386
From: lfoard@Turing.ORG (Lawrence C. Foard)
Subject: Re: Unix/Xwindows on a 486...Where/How much?
Organization: The Turing Project, Charlottesville Virginia.
Date: Mon, 31 Aug 1992 23:01:20 GMT

In article <17ed9kINNonh@early-bird.think.com> philip@think.com (Philip Mucci) writes:
>	I am thinking of buying a 486, but only if it will run Unix and X
>windows. The other day I called an SCO dealer and they said that a fully
>configured software package (read: C compiler, Unix, and X - no NFS) for a
>single user would cost $1600.0 with student discount!! I might as well keep
>my amiga and buy unix for it. That's ridiculous. Could someone give me a
>rundown on what kind of Unix/X packages are available for the 486?

While its not technically unix since it was written from scratch, Linux
supports X, and will compile most source written for BSD (they are still
working on the libraries some).
TCP/IP just came out and currently supports Western Digital and compatible
cards. Gcc and GCC++ also come with it.

Now for the best part it costs $0 and can be FTP'd from tsx-11.mit.edu
although I would suggest reading comp.os.linux for a while first.
-- 
>>Unix/C Contract worker available 5 years C/unix work experience<<  ______
Available for Telecommuting/Travel and contracts on the T Line       \    /
in the Boston MA area. Send me e-mail for a copy of my Resume.        \  /
       -- VWIS 508-793-9568 (2400 baud), Linux support BBS.--          \/
From: brad@slammer.UUCP (Brad Isley)
Newsgroups: comp.unix.sysv386
Subject: Re: Primary SCSI, secondary athd on ISC Unix 3.0 possible?
Date: 28 Aug 92 02:32:17 GMT
Organization: Just me & my computers

In article <1992Aug26.203529.1774@ico.isc.com> dougp@ico.isc.com (Doug Pintar) writes:
>In article <1992Aug25.235519.19024@slammer.UUCP> brad@slammer.UUCP (Brad Isley) writes:
>>
>>In the 2.2.1 manuals it says you can do this by telling your computer's
>>CMOS that there are no hard drives installed.  Then it WILL boot from the
>>Adaptec controller.  After that, ISC will know how to access your ST-506
>>drives without using the CMOS stuff.  BTW: I never tried this - I dunno
>>what 3.0 says, but I imagine this would be the same.
>>
>The problem with this is that the AT-compatible controller module then has
>absolutely no idea as to the geometry of the drives.  This makes it rough

Yea, that's true, but can't you tell Unix what the geometry is?
-- 
emory!slammer!brad   (Brad Isley)
+1 404 841-4169 Work			 Nopottopeein: "Howzit Goink?"
+1 404 925-9663 Home			  The gang: "Fine, just fine."
From: jrh@mustang.dell.com (Randy Howard)
Newsgroups: comp.unix.sysv386
Subject: Re: How to compile Gnuplot3.2 under DELL
Date: 4 Sep 92 15:51:54 GMT
Organization: Dell Computer Co

melchers@Chico.Chemie.FU-Berlin.DE (Bernd Melchers) writes:

>Comipling gnuplot with DELL goes straight forward. 
>Just type make All. But if you want to compile a
>version for X11 and type
>make gnuplot_X11
>this result in the following error:

change this 
>	cc  -O  -DREADLINE    -o gnuplot_x11 gnuplot_x11.c -lX11 -lucb
to:
>	cc  -O  -DREADLINE    -o gnuplot_x11 gnuplot_x11.c -lX11 -lc -lucb -lsocket -lnsl

>"gnuplot_x11.c", line 413: warning: improper pointer/integer combination: op "="
>Undefined			first referenced
> symbol  			    in file
>getnetpath                          /usr/lib/libX11.so
>t_alloc                             /usr/lib/libX11.so
>t_open                              /usr/lib/libX11.so
>t_rcvdis                            /usr/lib/libX11.so
>netdir_free                         /usr/lib/libX11.so
>t_error                             /usr/lib/libX11.so
>netdir_getbyname                    /usr/lib/libX11.so
>t_look                              /usr/lib/libX11.so
>t_errno                             /usr/lib/libX11.so
>t_close                             /usr/lib/libX11.so
>netdir_getbyaddr                    /usr/lib/libX11.so
>t_listen                            /usr/lib/libX11.so
>t_rcv                               /usr/lib/libX11.so
>setnetpath                          /usr/lib/libX11.so
>t_bind                              /usr/lib/libX11.so
>t_connect                           /usr/lib/libX11.so
>t_accept                            /usr/lib/libX11.so
>nc_perror                           /usr/lib/libX11.so
>ld: gnuplot_x11: fatal error: Symbol referencing errors. No output written to gnuplot_x11
>*** Error code 1 (bu21)

>make: fatal error.

>What library i need for succesfully compiling?
>Answers will be summarized!
>Thanks bernd

>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>Bernd Melchers                   | melchers@chico.chemie.fu-berlin.de
>                                 | melchers@fub46.zedat.fu-berlin.de
>Freie Universitaet Berlin        | Lieblingsessen: Pizza, aber nur
>Institut fuer Kristallographie   |              selbstgemachte...
>Takustr. 6                       |              und ohne Tierkadaver
>D 1000 Berlin 33                 |
>Earth                            |
>Tel.: 0049-30-8383612            |
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-- 
Randy Howard            _o	    @'s: jrh@dell.com
Dell Computer Corp.     \<,	    !'s: ...!uunet!dellunix!jrh
______________________()/ ()______________________________________________
"Univel"... Just Say "NoNIX"
From: kim@cs.arizona.edu (Kyung Soo Kim)
Newsgroups: comp.unix.sysv386
Subject: SCO UNIX 3.2.2 with MS-DOS
Keywords: SCO UNIX, MS-DOS
Date: 2 Sep 92 19:52:04 GMT


Hi, netters.

  I am considering to install SCO UNIX on my system.
  I am currently using MS-DOS 5.0 with WINDOWS 3.1.
  The installation manual says, SCO UNIX 3.2.2 can be used
  with MS-DOS ver3.3 or less.  Can any one tell me why?
  IF so, is there any way to get around this?
  If you know why, please e-mail me rather than posting news.
  Thank you

kenny



Newsgroups: comp.unix.sysv386
From: allan@vicorp.com (Allan Krantz)
Subject: hard disk trouble
Organization: V. I. Corporation, Northampton, Massachusetts
Distribution: usa
Date: Mon, 31 Aug 1992 17:55:39 GMT


  I've just gone through a lot of work to screw up my second hard drive
 on my Interactive 3.0 system. Could someone help me get it back to normal?

   My first hard drive is about 320 megs.  My second is about 720. I did
 a stupid thing with the dd command and now my second drive thinks it's the
 same as the first. The second drive is supposed to have 1031 cylinders but
 it tells me it has only about 900.  I took the machine apart and tried to
 install the system on just what was the second drive.  It thinks this drive
 is now 320 megs and it won't let me change it.  It's only half the drive it 
 used to be. 

    How can I change this drive to think it has the correct number of
 cylinders?


 allan@vicorp.com

Newsgroups: comp.unix.sysv386
From: ellis@nova.gmi.edu (Stew Ellis)
Subject: Re: Good alternatives to vi on ESIX 4.0.4
Organization: GMI Engineering&Management Institute, Flint, MI
Date: Sat, 29 Aug 1992 17:04:56 GMT

bf687@cleveland.Freenet.Edu (Jim Murphy) writes:


>Quick question for all you keeners:

>What is a good, fast editor with Wordstar compatibility and easy
>compilability under ESIX 4.0.4? I have tried ted, jove, stevie, 
>pico and a few others. The make files all seem to bomb out and I 
>am no 'c' expert to go hacking at the code.

Depending on which version of jove you tried, SYSVR4 has some problems.  The
version at relay.cs.toronto.edu:/pub/moraes/jove4.14.7.tar.Z has been ported
to SYSVR4.

I have not tried to compile joe on SYSVR4, but it is a nice, small editor
with many wordstarlike features.  It is available at
wpi.wpi.edu:/stusrc/joe.tar.Z.

>Any suggestion from the group. Please email me direct as my news feed
>in not real great. (Murphy@Net2.EOS.UoGuelph.Ca)

>Thanks.
>-- 
>Jim Murphy, Graduate Student
>School of Engineering, Univ. of Guelph, Guelph, Canada, N1G 2W1
>Phone (519) 824-4120 ext 4323  FAX (519) 836-0227
>InterNet E-mail: Murphy@Net2.EOS.UoGuelph.Ca

--
--                                                        ___________________
  R.Stewart(Stew) Ellis, Assoc.Prof., (Off)313-762-9765  /   _____  ______ 
  Humanities & Social Science,  GMI Eng.& Mgmt. Inst.   /        / /  /  / /
  Flint, MI 48504      ellis@nova.gmi.edu              /________/ /  /  / /
Newsgroups: comp.unix.sysv386