HDTenEightyP/NetNews huggingface dataset:
From: art@chaos.cs.umn.edu ()
Subject: Copy memory buffer from Kernal in Driver ?
Summary: Help with Kernel to User Memory in device driver
Keywords: Kernel Driver
Organization: University of Minnesota
Date: Fri, 6 Nov 1992 19:52:54 GMT


I have a very specific need.

I would like to be able to copy reads and writes inside a disk
driver to user memory from the kernels request.

The kernel sends a buffer with its address somewhere in the structure
bp (from the device drivers manual).

the routine paddr(bp) returns the address of the buffer

I am confused by all this phyical to virtual conversion stuff +
the rules about what memory is user and what is kernel.

If it is not possible to copy the contents of this buffer to a user
memory buffer I would be happy to copy it to a static buffer in the
dirver (kernel memory).	 This is an academic exorcise to learn more
about device drivers. (sounds sadistic doesn't it)

If any of you device driver wizards under sco has a clean example could
you please send it to me.

art@chaos.cs.umn.edu
Art Reisman
Poliac Research Corp.
612-375-1066
From: jsmith@cibecue.az05.bull.com (Joe Smith)
Newsgroups: biz.sco.general
Subject: Re: BSD line printer daemon on SCO
Summary: lpd binaries for SCO
Date: 6 Nov 92 15:37:01 GMT
Organization: Bull HN Information Systems, Inc., Phoenix Product Division


I am running an SCO ODT server and have downloaded the binary files for lpd
from wimsey.bc.ca under /pub/scoports and they seem to work for me.  I am 
only using lpd to get to some Appletalk-based LaserWriters via a Gator Box,
but it seems to work find.  I am running 3.2.2 currently and the only thing
I had to do was allow the OS to concatenate long filenames and create the
files because the spool file names the binaries create are extra long, at
least for SCO 3.2.2.
Newsgroups: biz.sco.general
From: nippes@dbulm1.uucp
Newsgroups: biz.sco.general
Subject: SCO Open Desktop Install <-> Compaq 496/25
Date: 10 Nov 92 12:10:55 +0100
Organization: Daimler-Benz, Institut f. Informationstechnik

Hey everybody,

I tried to install SCO Open Desktop on a Compaq 486/25. After inserting all
disks the system starts to configure itself. Allways I receive the message:
 "Checking file permission ....Not authorized to run /tcb/bin/integrity"

This message will not apear at the same time. I did the installation procdure
just nows five times. 
Also I receive other error messages. It seems for me that the file system
created on the harddisk is complettly corrupted. Nevertheless the inst.prog
will continue until the moment when I have to insert the super-users passwd.
At this moment the system is trap in an endless loop. It asks constantly for
the passwd, but you can't enter it. It is possible to boot the system from hd
now, but this will end in the same endlessloop. When I boot with the emergency
boot floppy can mount the harddisk, but still I cannot assign a superusers
passwd. When I run fsck from here I get half an hour error messages and after 
the harddisk is nearly clean because everything was corrupted.

What to do?

Thanks in advance, Reiner

P.S. My e-mail address is "nippes@dbulm1.uucp".


Newsgroups: biz.sco.general,biz.sco.opendesktop
From: ecrobert@nyx.cs.du.edu ()
Subject: Printer question
Organization: Nyx, Public Access Unix @ U. of Denver Math/CS dept.
Distribution: biz
Date: Fri, 13 Nov 92 18:39:31 GMT


We are currently running ODT 2.0 on a HP/Vectra 486.  We have
a dot matrix printer physically connected to this system and
use it as the default printer ( both for DOS and UNIX jobs).
On a second system I have a HP Laserjet attached.  I've set up
the /etc/printcap file correctly so I can use this printer 
over a network. This works fine under UNIX.

Is there any way to use a remote/network printer from a 
SCO DOS session?  The documentation explains how to  redirect 
your output to another PHYSICALLY attacthed printer .. not
one that is networked.


		Thanks in advance
			Eddie
Newsgroups: biz.sco.general
From: bill@Celestial.COM (Bill Campbell)
Subject: Re: Office Scheduling Package
Organization: Celestial Software, Mercer Island, WA
Date: Mon, 09 Nov 1992 06:36:35 GMT

In <9211071219.aa17197@birch.vlink.com> Steven E Frazier <sfrazier@vlink.com> writes:

>I have heard of SCO Portfolio and WP Office.  I got the demo disk (for dos)
>for WP Office.  It didn't do much good because I am looking for the piece
>that has the calendar in it for multiple people and scheduling resources
>like conference rooms.

We're using the ClockWise program for this and like it a lot.  I
haven't really looked at WP Office, partially because it takes
such a huge chunk of hard disk just to install.  Clockwise
requires about 2.5MB on one computer with about 1MB additional
for each computer on a network.  This is MUCH less than WP
Office.  I don't know Portfolio's requirements.

>I am lookin for something that will allow me to check other's schedules
>and see if they are available on a certain date for a meeting at a certain
>time.

Clockwise allows this, delegation of tasks to others, automatic
e-mail notification of others when schedules are set or changed,
and is well integrated into the Xenix/UNIX systems.  It prints
pretty calendars on my HP compatible printer.

Bill
-- 
INTERNET:  bill@Celestial.COM   Bill Campbell; Celestial Software
UUCP:   ...!thebes!camco!bill   6641 East Mercer Way
             uunet!camco!bill   Mercer Island, WA 98040; (206) 947-5591
SPEED COSTS MONEY -- HOW FAST DO YOU WANT TO GO?
From: gb@mir.fb10.tu-berlin.de (Guenter Becker)
Newsgroups: biz.sco.general
Subject: Re: ftp access to sosco
Date: 5 Nov 1992 14:13:58 GMT
Organization: ZRZ/TU-Berlin
NNTP-Posting-Host: mir.fb10.tu-berlin.de

In article <Pine.2.4.55.9211032353.A16337@netcom2> John Sanger  
<teddybur@netcom.com> writes:

..

> I seem to recall that there is some problem with one of the systems that
> is used to provide connections to europe.  I do not remember which  
service
> it is but I have seen discussion on it.  It is something akin to 7bit vs
> 8bit problems, I believe.  Since I have not had the problems the
> discussion was only of passing interest to me so I did not save the  
posts

I confirm, that this problem arises also on my NeXT station. In ASCII  
mode, the file is README.ftp is 501 bytes long, in BINARY mode, its length  
is 0 bytes. The real length is more than 1500 bytes.

Perhaps, it is an European problem, as I am also in Europe.
Who knows a solution ?

G. Becker
Newsgroups: biz.sco.general
From: rolf@saans.north.de (Rolf Nerstheimer)
Newsgroups: biz.sco.general
Subject: trouble with rcp under SCU-Unix and XENIX
Date: 12 Nov 92 18:36:59 GMT
Article-I.D.: saans.1992Nov12.183659.551
Organization: a private node

Hardware: 5 x 386 noname and 3Com 3C501 Ethernet Card
	  1 x 486 noname with 3Com Etherlink II
Network: yellow cable, no other machines attached
Software: 1 x SCo Unix 3.2.4, TCP/IP 1.1.3
	  5 x SCO Xenix 2.3.2, TCP/IP 1.0.1
Problem:  when I try to rcp bigger files ( > 24 kb ) rcp doesn't work.
	  When watching the size of the file on the target machine,
	  (via ls -l) one can see, that the first kilobytes are transferred
	  quite quickly, but beyond 10 or 16 kb it slows down. A file of
	  24 kb almost takes 5 minutes. If I try to copy a bigger file
	  (>=32 kb), it will take more than 15 minutes. After that time rcp
	  returns sometimes without any message, and without having
	  copied the file correctly, sometimes it laments about a
	  lost connection.
	  The machines are not under heavy load, there are no failures
	  in allocating streams buffers nor any messages on the console
	  or in /usr/adm/messages.
	  Rlogin works flawlessly all the time, communicating via sockets
	  does also. ping show a response time of 20ms, netstat -i shows 
	  no errors. 
	  So I'm stuck with these beasts !!!

Question: Can you help ? Did anybody see a thing like this ?
	Thanx for taking the time to read this. If you can help,
	please try.

	I've some other nets running SCO-Unix and Xenix, but _NEVER_
	got such a weird failure.

	Rolf.
-- 
Rolf Nerstheimer, Surwisch 20, 2856 Sandstedt, Germany   | a private 
E-Mail: rolf@saans.north.de    Voice: +49 4702 1285      |   node           
"Contrariwise," continued Tweedledee, "if it was so, it might be; and if it
were so, it would be; but as it isn't, it ain't. That's logic." Lewis Carroll
Newsgroups: biz.sco.general
From: mooreb@fac.com (Brian Moore)
Subject: Suggestions for sarplus
Organization: First Albany Corp.
Date: Tue, 10 Nov 1992 21:25:04 GMT
Keywords: sar sarplus

I've started work on a program I call sarplus.  It produces sar like
reports from the data files in /usr/adm/sa, but I hope to include
more smarts in it.  For those that don't know, the sar "package"
consists of a few cron jobs which gather performance data from the
kernel, and the sar program itself which formats this data into
a somewhat usable report.

Here are some of the features I hope to include:

    - option -B, like -A but ignores remote file sharing
    - option -F, read and process all data files in /usr/adm/sa
        (so you can get data for midnight if you care)
    - option -N, to dump the raw numbers as well as the crunched
    - option -I, to display all Interesting Information.  This
        will include resource allocation failures (procs, locks,
        etc.), suggested allocation changes, and problem areas.
    - Averages on a per-reload basis
    - Better handling of bad timestamps, as timed messes up the
        hardware clock.
    - Documentation on the data file format (the sysadmin
        reference for Unix 3.2V2 is wrong, I haven't checked
        Unix 3.2V4 yet, but I got the correct formats from SCO)
    - Documentation for getting sar running (it comes broken
        and possibly disabled in Unix 3.2V2)
    - Documentation on what every table and column represents

I hope to end up with a cron job consisting of "sarplus -FI" that
sends me mail whenever there's a problem.  Does anyone have any
suggestions on other features I should add?  Any specific problem
areas or resource usage I should check?

I hope to have an alpha release ready in a week or two, anyone
interested in testing?  I have access to a Unix 3.2V2 development
system now, and a 3.2V4 DS when I install it.  I'm looking for
ODT people mainly.
-- 
Brian Moore, mooreb@fac.com | "Buddha once sat before a wall, and when he
Unix System Administrator   | arose he was enlightened." / "You compare
First Albany Corporation    | yourself to Buddha?" / "No, only to the wall."
standard disclaimers apply  |                               - Circle of Iron
From: jfrench@cs.tamu.edu (Jeff French)
Newsgroups: biz.sco.general
Subject: Uniplex 504.b and DT-100, 'f' key doesn't work!
Date: 6 Nov 92 13:07:11 GMT
Organization: Computer Science Department, Texas A&M University

SCO '386 GT Xenix 2.3.4 
40 Mhz. '486 
Uniplex II+ ver. 504.b

This Xenix box has two IBM PC's running Telix and 3 Tandy  DT-100
terminals  on  it.  This combo has been working well for the past
several months. However, upon entering Uniplex from the  DT-100s,
the lower case character "f" will not transfer from the keyboard.
It only beeps. Changing termcap to 'wy85' corrects  the  problem.
From  the  PCs,  with ansi termcap, no problem. Do a 'setenv TERM
dt100', and they will no longer allow the lower case  'f'  to  be
used. Upper case 'F' and all other keys work great. This behavior
under Uniplex II+ 504.b only. Lotus, vi, csh, etc. all work prop-
erly with the dt100 termcap entry.

I thought perhaps someone had mapped the 'f' character to another
function  key  but  could find no evidence to support this. I re-
installed Uniplex from the original disk set on my Xenix  box  at
home. SDP! <Same Damn Problem> I have spent so much time on this,
it is no longer the interesting challenge it once was.

Uniplex gurus, have mercy on my pitiful plight...
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    SCO Xenix 80386 2.3 ==> An elegant, 32-bit OS from Northern California     
    jfrench@cs.tamu.edu ==> A homely, 2-bit SOB from East Texas           
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Newsgroups: biz.sco.general
From: jimw@empros.cxn.dec.com (Jim West)
Subject: Description of ODT needed
Reply-To: j_west@zebpik.enet.dec.com
Organization: Random Mixed
Date: Fri, 13 Nov 1992 19:06:20 GMT



  Could some kind soul point me to a description of what ODT is ?

  Much thanx !

-/ Jim /-
Newsgroups: biz.sco.general
From: craig@escsys.UUCP
Subject: Re: Unix on Notebooks
Resent-From: mmdf@xenitec.on.ca
Submit-To: scogen@xenitec.on.ca
Organization: [resent by] The SCOGEN gateway and Propagation Society
Date: Thu, 12 Nov 1992 19:52:05 GMT
Precedence: bulk

	> >I am wanted to get a portable and install SCO Unix on the portable.  I would
	> >like to know what people are using on their portables.  I understand that 
	> >SCO unix doesn't work well with internal modems, is that correct?  Or just
	> >if you want to use the modem of in and out?
	> >	
	> >Please comment.
	> >
	> >thanks.
	> >	
	> >Steve
	 
	Steve
	         
	  You may want to look at the EPSON  NB-SL Notebooks, I've run SCO
	3.2.4 with a dos partition on the system for some time now. In fact 
	I did the security seminar at forum on it.
	The great Thing about it is the removable hard drives I can have Unix
	on one, Xenix on an other and sales people's demos on a third and the 
	system auto configs to whichever hard drive is in the system.
	And I've had no
	problems with the internal 2400 data/9600 fax modem other then with
	out the lights its a little hard to troubleshoot salesmen ignorance 
	in the field.	It also has two batteries and tells you when it switches
	from one to the other so you can charge it. The only problem is the 
	screen is not the best I have seen.
	 
	 
	 
	 
================================================================================
 Craig Martin				craig@escsys
 SCO Authorized Instructor / A.C.E	Esc / Educational Solutions Center (AEC)
 Tel: (303) 985-0736			3333 S. Wadsworth Blvd. A-102
 Fax: (303) 985-0890			Lakewood, Colorado 80227 USA  (Denver)
	 
 (It's hard to rock the boat, if your busy rowwing!!!)
	 
	


Newsgroups: biz.sco.general
From: news@xenitec.on.ca (xenitec.on.ca News Administrator)
Subject: Re: Setting DNS client on ODT 1.1
Resent-From: mmdf@xenitec.on.ca
Submit-To: scogen@xenitec.on.ca
Reply-To: fietze@kagcpd01.ag01.kodak.COM
Organization: [resent by] The SCOGEN gateway and Propagation Society
Date: Thu, 12 Nov 1992 08:08:24 GMT
Precedence: bulk

Hello David,

> I am having trouble setting up ODT 1.1 to use our DNS name servers.  
> I don't want ODT 1.1 to be a server itself; I just want it to get IP 
> addresses from our name servers instead of from the host table (/etc/hosts).
> Does anyone have suggestions?

First of all setup the file /etc/resolv.conf similar to this one:

--------
# resolv.conf
domain		nap.amoco.com
nameserver	123.123.123.123
nameserver	123.123.123.124
---------

You can specify more than one name server.

> Also, I can't do rlogin to some of the remote systems I used to when they
> started using DNS name servers instead of the host table.  I think it 
> may be because my machine name is vpci10 and the name servers say that I
> am vpci10.nap.amoco.com.  How do I set $DOMAIN, which I noticed in the	
> /etc/tcp file when the hostname is set?  I can't find a reference to it
> in the manuals.

The best will be to edit /etc/default/tcp and set the domain to
nap.amoco.com. This is because /etc/tcp (which is also the startup
script /etc/rc2.d/S85tcp) calls hostname with the parameter `uname
-n`.$DOMAIN which will concatenate the machine name with the domain
part of the full name.

                                           Roman

---------------------------------------------------------------------
Roman Fietze (Mail Code 2201)                    Hedelfinger Str. 154
Copier and Printer Development                      7000 Stuttgart 60
Kodak AG                                                      Germany
fietze@kagcpd01.ag01.kodak.COM                  VOICE 49-711-406-2839
fietze@kodak.COM                                    K-NET 28-631-2839
Newsgroups: biz.sco.general
From: jpp@StarConn.com (John Pettitt)
Subject: Re: drain.output
Organization: Starnet-Public Access UNIX--Los Altos, CA  415-949-3133
Date: Tue, 10 Nov 1992 05:07:13 GMT

watson@carssdf.UUCP (- Self Empl. Sys.Integrator) writes:

>What if drain.output (used by spooler to wait for serial I/O completion)
>besides a sleep?   It takes a number as an argument, and apparantly sleeps
>that number of seconds, but it is much to large to just do that.

>John Watson    watson@carssdf.UUCP

At a guess it does a TCSETA or TCGETA ioctl (probably both).  There is a
well knowe bug in the SVR[234] line printer scheduler that causes it to
chow off the end of print jobs if the output buffers are large and the
printer script finishes before the job has got out of the buffer to the
printer.   Two solutions are 1) a sleep at the end of the script (works
some times but is probablistic and so fails from time to time).  2) add
and extra stty to the end of the script (does GETA SETA) which causes
most drivers to wait for all data to be output.


-- 
John Pettitt					jpp@starconn.com
Archer N81034					apple!starnet!jpp
Me, say that, never: It's a forged posting!	Fax:   +1 415 967 8682
						Voice: +1 415 967 UNIX
Newsgroups: biz.sco.general
From: "Paul A. Fischer, Sr UNIX Sys Consultant" <paul@openage.COM>
Subject: RE: how much semaphore resources for Merge
Resent-From: mmdf@xenitec.on.ca
Submit-To: scogen@xenitec.on.ca
Organization: [resent by] The SCOGEN gateway and Propagation Society
Date: Thu, 5 Nov 1992 20:14:02 GMT
Precedence: bulk

>As enscripted by Paul A. Fischer, Sr UNIX Sys Consultant:
>> 
>> >Does anybody know how much semaphores resources a single invocation of DOS 
>> >Merge uses??
>> 
>> I ran u386mon, and I found that DOS Merge seems to need 24 Semaphores to 
>> startup, and 4 to continue running.  So, a constant 4 with 20 more for startups 
>> per session.
>> 
>are you sure of these numbers??  I originaly had only 10 semaphores, (SEMMNS) 
>which seemed good for about 10 Merge sessions.  This was then upped to 15 and
>we seemed to get 15 sessions.

>maybe the number 24 is not for actual semaphores but some related (SEM???) 
>parmeter.

The resource listed by u386mon is called "sema".  I have no idea which kernel 
parameter it points to, and I don't have time to parse the sources.

--------------------------------------------------------------------------------
Independent SCO support and service provider in the D.C. metro area.
No Incumbents in '92. Get the crooks out of office. Vote & Send a Message
Paul A. Fischer           | Open Age Inc.  | paul@openage.com
Sr. UNIX Sys. Consultant  | (301) 948-6422 | (301) 948-9644 Fax

Newsgroups: biz.sco.general
From: PRN Development Lab <develop@aerie>
Subject: shipping systems
Resent-From: mmdf@xenitec.on.ca
Submit-To: scogen@xenitec.on.ca
Organization: [resent by] The SCOGEN gateway and Propagation Society
Date: Thu, 5 Nov 1992 16:31:33 GMT
Precedence: bulk

Hi,

We are shipping our SCO based systems back and forth across the country
to various sites. Most support is done by Telebit modem, but when an office has
a problem we can't solve that way, such as a hardware failure, we have
found that shipping a new system out is the most economical way to
proceed.

Only problem is, cardboard boxes only last a trip or two. Does anyone
know of a source for shipping containers that could be used for AT form
factor cases?

-- 
 _ __   _ __   _ __
' )  ) ' )  ) ' )  )   PRN Development Lab
 /--'   /--'   /  /    mthvax!mamia!aerie!develop
/      /  \_  /  (_    9300 SW 87 Ave. Miami Florida 33176 USA
From: watson@carssdf.UUCP (- Self Empl. Sys.Integrator)
Newsgroups: biz.sco.general
Subject: drain.output
Date: 9 Nov 92 01:34:29 GMT
Organization: John Watson (Self Employed System Integrator)

What if drain.output (used by spooler to wait for serial I/O completion)
besides a sleep?   It takes a number as an argument, and apparantly sleeps
that number of seconds, but it is much to large to just do that.

John Watson    watson@carssdf.UUCP
From: krug@faber.faps.uni-erlangen.de (Stefan Krug)
Newsgroups: biz.sco.general
Subject: device driver for SCO 3.2.1 (how to map card memory?)
Date: 6 Nov 1992 16:23:15 GMT
Organization: Institute for Manufacturing Automation, Erlangen, Germany
NNTP-Posting-Host: faber.faps.uni-erlangen.de


To all Device Driver Programmers !

Problem:
	Mapping hardware card memory in kernel address space.

	Some hardware card, which is plugged in a 80386 under
	SCO-UNIX Release 3.2.1, uses the physical address space
	between D0000H and D07FFH.
	Some user process should use this memory like the memory
	of a VGA-card. It should be able to read and write directly
	in this memory.
	In this case I wrote an device driver which mapped the
	card memory with the SPTALLOC(K) or VAS(K)-Routines. This
	mapping failed because all addresses which were returned 
	pointed at virtuell memory, this means write or read to
	the delivered address has no effect to the card memory.
	To all who can help me:
	- how must I use the kernel routines SPTALLOC or VAS 
	  correctly ?
	- or exist an other routine which to that work ?
	
	Thanks to all who can give some hint or solve this problem!



                                   Steven was here!
                             ,,,
_______________________o00__(o o)__00o______________________
			     (_)
       
   Stefan Krug 		Lehrstuhl fr Fertigungsautomatisierung 
			und Produktionssystematik
			Uni Erlangen-Nrnberg
			Egerlandstrasse 7-9
			D - 8520 Erlangen

			Tel.:   (49) (9131) 85-7962
			FAX:    (49) (9131) 302528
			E-mail: krug@faps.uni-erlangen.de
____________________________________________________________
From: kestas@lith.UUCP (Kestutis Sliupas)
Subject: Re: GCC Binaries
Newsgroups: biz.sco.general
Date: 12 Nov 92 06:29:01 GMT
Distribution: world
Organization: Vacaville, CA

kd1hz@anomaly.sbs.risc.net (Michael P. Deignan) writes:
> sheldon@iastate.edu (Steve Sheldon) writes:
> 
> > I'm kind of curious myself.  We just installed ODT 2.0 here, and it
> >would be rather nice to have some kind of C compiler.
> 
> Then you'd better call your vendor and order the development system.
> 
> > Is the GCC that is available for SCO Unix sufficient enough to allow
> >us to compile stuff, or is it missing the includes and libraries and
> >such?
> 
> The GCC compiler is just that - the compiler only. It doesn't include
> libraries or header files. You need to purchase the devsys to get those
> files, although part of the requirements are distributed on your OS
> disks.
> 
Hi:
	This is probably a naive question, and flogged to death already.
But I have seen (on SPACE, a local BBS, and others) header files for gcc.
Is there anything else needed, assuming that the base O/S carries the 
machine and system dependent header files? The FAQ doesn't seem to answer 
this question...
				Regards, Kestas

 Kestutis Sliupas            x  (510) 231-1540 (work voice) 
 kestas%lith@infopro.com     x  (510) 231-1285 (work FAX) USA CA  
 kestas@infopro.com          kestas%lith@uunet.uu.net 
Xref: sparky biz.sco.general:4097 comp.unix.programmer:5221