HDTenEightyP/NetNews huggingface dataset:
From: aronsson@lysator.liu.se (Lars Aronsson)
Newsgroups: comp.os.linux
Subject: Re: ps that uses /proc
Date: 14 Dec 92 21:30:32 GMT
Organization: Lysator Academic Computer Society, Linkoping University, Sweden

barr@stein.u.washington.edu (David Barr) writes:
>Has anyone written a version of ps that uses the proc file system?  I

David, first, this posting is not an attack on your fine program.

>are a few major disadvantages of my program.  Because I wrote it in a
>hurry, the output is kind of non-standard and there are only 3 options

What I would like to know is whether the INPUT follows any standard.
The presented program relies on the present file tree structure under
/proc. Will this structure stay the same for ever? Is it mentioned in
POSIX? Will it look the same in other operating systems? Otherwise,
does POSIX mention any system call or ioctl(2) operation to retrieve
information necessary for ps(1)? Could we finally, in some way or
another, write a portable ps(1) program?

In my mind, guessing about the file tree structure under /proc is
almost as primitive (not more primitive) as guessing about the
contents of /dev/kmem.

>  sprintf(filename, "/proc/%s/%s", ent->d_name, what);
>  proc = opendir("/proc");
>    sprintf(filename, "/proc/%s", ent->d_name);

If there is no standard, maybe we should write one and send a copy to
the POSIX guys at IEEE.
-- 
Lars Aronsson, Lysator, Linkoping University, Linkoping, Sweden
Newsgroups: comp.os.linux
From: jbs@en.ecn.purdue.edu (Spaggie)
Subject: Re: Can X run with only 4 megs RAM?
Organization: Purdue University Engineering Computer Network
Date: Mon, 14 Dec 92 06:47:35 GMT

In article <1gh4ikINN1bn@menudo.uh.edu> wjin@cs.uh.edu (W. Woody Jin) writes:
>I have been using (Xwindow + Xview3) with 0.98.2, 98.3, 98.4, 98.5
>and now 98.6, without any problem  with only 4M bytes without math processor.
>I use X stuff from SLS distribution.
>When I start X, I open 3 xterms, oclock, xeyes with olwm.
>I found that Linux uses about 2M for swap in this case.
>Xdvi, ghostview/script work just fine.
>Only problem is that compiling is so slow and you need some patience when 
>moving to other window (5 sec or slightly more). 
>In this case, I found that Linux uses 8M for swap (twice more than my memory).

	Strange. I have observed a problem with running X under 98.4, and 98.5,
similiar to the ones describe by the original poster.  When I changed back to
98.0, things worked again.   Seems the X server just hangs.  My system sounds 
similair to yours, except I have a math co-proc. (386-40,AMD BIOS,ETEQ chipset,
4MB mem, 10MB swap, Cyrix 387-40).  Has anyone else had trouble with X under
98.x where x>1?  (by the way, it is unrelated to the video card, as I tried
3 different cards, each with the same results.

Any ideas?

Jeff

=================================================================
Jeff Sponaugle                      Purdue University
246 S. Salisbury #3                 Engineering Computer Network
West Lafayette, IN 47906            MSEE 104
(317) 743-7355                      (317) 494-3106 
Internet: jbs@ecn.purdue.edu        MSEE SB50:494-6106 
=================================================================
From: ccasted@prism.gatech.EDU (Edward Deering Boykin)
Newsgroups: comp.os.linux
Subject: sls install problems
Date: 15 Dec 92 16:29:01 GMT
Organization: Georgia Institute of Technology

Well I finally got around to trying to install linux on my box. I have
a Gateway 2000 66mhz dx2 486 with 8meg ram. I have my hard rive set up
with a 75meg logical partition for linux wich is split into dev/hda6 for
linux and dev/hda7 for swap. Anyway I went through fdisk and mkfs and 
mkswap.Oh I did reboot after I was done with fdisk. Anyway I got no
error messages yet. I did doinstall /dev/hda6 and followed the prompts.
Everything seemed to go fine. It asked for my formatted floppy so it
could make the boot disk and made that fine. GREAT I thought.
   I rebooted using the boot floppy and I got the initial boot screen
but it stoped there. This is what it said. Some stuff is abbrieviated:

It found all three of my serial ports.
8 virtual consoles
lp_init: lp0 exists(0)
scsi: 0 hosts
scsi: detected 0 disks 0 tapes 0 cd-roms
memory 7168k/8192k available 540k kernel 384k reserved 100k data
Floppy drive(s) fd0 is 1.2m    (should it have found my 1.44m floppy)
floppy: FDC version 0x90
sock_init: initializing family 1 (AF-UNIX)
sock_init: initializing family 2 (AF-INET)
Loopback device init
Warning WD8013 board not found at i/0 280
hda
  my primary partition dos
  my extended partition
   5 my logical dos drive
   6 my linux filesystem
   7 my linux swap
    (* all number are correct for these partitions*)
partition table ok
general protection 0000
EIP: 0008: 0000B6C4
EFLAGS: 00010286
fs: 0017
base: C0000000, limit 000A0000
pid: 1, process nr: 1
8b 13 85 dZ 74 27 83 3a 02 74


it hangs at this point?
What is WD8013. If it is some western digital board I don't have one so why is
it looking for it?
I got a mesage when rawriting a2 to floppy but a2 worked(or seemed to) fine
when I used a1 and a2 to start up.
All help will be greatly appreciated.

Ed Boykin
ccasted@prism.gatech.edu

-- 
BOYKIN,EDWARD D    Wanna-be Experimental Aircraft Builder Extraordinare
Georgia Institute of Technology, Atlanta Georgia, 30332
Internet: ccasted@prism.gatech.edu
	  gt5584e@prism.gatech.edu
Newsgroups: comp.os.linux
From: pdh@netcom.com (Phil Howard )
Subject: Re: Gateway 2000 Nomad 425SXL + Linux
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Distribution: comp
Date: Sat, 19 Dec 1992 18:50:20 GMT

cloos@theory.TC.Cornell.EDU (James H. Cloos Jr.) writes:

>Once it arrives, I'll be crunching down the dos fs to one small
>partition and making room for Linux.  Any suggestions on splitting,
>say, 90Mo between root, swap, and home partitions?  (Or perhaps root,
>swap, usr and home.)  I will install X once I get the 2nd 4Mo.

One thing you might try is crunching DOS down into a floppy.  Yes, it
can be made to fit just fine.  I've fit DOS plus PC/TCP networking into
one floppy so I had a way to restore my DOS HD from a network backup.
Take out the PC/TCP and you can fit an application or two as well.

You don't need all the DOS tools on the same floppy.  You can have one
floppy for applications, and one for system utilities, etc.  This can
free your whole HD for serious use.
-- 
/************************************************************************\
| Phil Howard,  pdh@netcom.com,  KA9WGN    Spell protection?  "1(911)A1" |
| "It's not broken... it's just functionally challenged" --Phil and Pete |
\************************************************************************/
Newsgroups: comp.os.linux
From: esaffle@gmuvax2.gmu.edu (Ed Saffle aka L. Ron Hoover)
Subject: linux activists not very active
Summary: what happened?
Organization: George Mason University, Fairfax, Virginia, USA
Date: Sun, 13 Dec 1992 15:57:19 GMT

  I've noticed a distinct decrease in the volume of mail in the activists
mailing list.  Say, down to 0 now!  I think i've seen snatches of conversation
about the list...but our newsfeed is VERY behind!   Can anyone mail me
and tell me why?  Just curious is all...

Thanks,
  Ed
Newsgroups: comp.os.linux
From: torvalds@klaava.Helsinki.FI (Linus Torvalds)
Subject: Re: PATCH: (0.98.6) allow root to link/unlink directories
Organization: University of Helsinki
Date: Thu, 17 Dec 1992 12:30:07 GMT

In article <cfA0XjK00WDJ4O01Fk@andrew.cmu.edu> Frank T Lofaro <fl0p+@andrew.cmu.edu> writes:
>
>	But if you delete where a symlink points to, you have a worthless,
>dangling symlink (*).  A hard link would allow you to delete the source
>from its original location if no longer needed there, but leave the copy
>in your account untouched. 

Yes, but with a hard link, the parent directories get *very* easily
messed up, and you can be left totally stranded if you don't understand
the filesystem very well.  Even a guru can get confused if the link
counts etc seem off due to bad entries for '.' or '..'.  It's not
something you want to do. 

>* Does Linux still have the dangling symlink bug. Like, if you do ln -s
>some_file_name_that_does_not_exist foo, does a cat foo say "Too many
>levels of symbolic links", instead of "No such file or directory" or
>some other appropriate message? Just thought I'd mention it, in case the
>bug is still lurking out there.

No the bug has been corrected since 0.98 or so: it was just due to an
incorrect error return, not and fundamental kernel wrong-doings.  I
cleaned up the error-handling in 0.97pl6 or something. 

		Linus
From: gbh@matt.ksu.ksu.edu (Da Hubster!!!)
Newsgroups: comp.os.linux
Subject: HELP!!!  xsysinfo gives floating point exception
Date: 11 Dec 1992 23:53:06 -0600
Organization: Kansas State University
NNTP-Posting-Host: matt.ksu.ksu.edu



I have been trying to figure out why but to no prevail.

xsysinfo compiled fine no problem, but when I try to
execute it it comes up with a window but as soon as
I place it it dies with a Floating Point Exception.
I have tried using it with both a kernel with math 
emulation code and with out it but it made no difference

Any help would be GREAT!!!!!!!!!!!!!!!!!!!!

THANKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

-- 
ADIOS!!!!!!                                            -----------------------
						      |	Da  Hubster!!!        |
                                                      | GBH@MATT.KSU.KSU.EDU  |
                                                       -----------------------
From: tfoley@camaro (Tim Foley)
Newsgroups: comp.os.linux
Subject: List of Broken/Fixed Binaries in 0.99 [v1.00]
Date: 19 Dec 92 19:18:43 GMT
Organization: camaro


 
Below is an un-official list of programs which break under 0.99 (or 0.98.6)
and the method to get them running again.  I felt there was a great need
for such a thing.

Any Changes/Suggestions/Fixes, tfoley@camaro.uucp or whome!camaro!tfoley@uucp


     NOTE: ENSURE YOU GET THE NEW LIBC 4.2 FILE FROM YOUR LOCAL SITE

Revision	1.0
Date		12/19/92 7:30pm

NAME	STATUS	FIXED	METHOD OF REPAIR 
---------------------------------------------------------------------------  
ps	Broke	Yes	-recompiled the ps-0.97.6.tar source
			-ps -U after installing the new ps in /usr/bin
elm	Ok?	Yes	-Appears to work ok
trn	Ok?	Yes	-Appears to work ok (needs new sed)
emacs	Ok?	???	-Appears to work ok (with new libc)
uucp	Broke	Yes	-recompiled the Taylor 1.03 with the -fwritable-strings in
		 	the makefile in addition to all other cflags and
		 	added the new libc.so.4.2 (MUST HAVE!)
minicom	Broke	No	-mini98.5.tar patches did not fix, still broke
rz/sz	?????	???	-Status Untested
sed	Broke?	Yes	-Did not behave reliably, version GNU 1.09
			-Get GNU 1.13, added -dHAVE_BCOPY and removed def in
			sed.c for sys_errlist as its in errno.h
			-now works properly, fixes INEWS problem
cnews	Broke	Yes	-Inews shell script keeps dumping in dead.article
			-Due to SED not fully working
mail	Broke	Yes	-Recompiled the mailpak-1.3 mail, with -fwritable-strings in
		 	the makefile, remember to re-link rmail as well
getty	Broke	Yes	-Recompiled the 2.04 (Not 2.03) sources
			-No longer likes terminals?  Had to use uugetty for
			my vt220
uugetty Broke	Yes	-Recompiled the 2.04 (Not 2.03) sources


 The new lib, libc.so.4.2 seems to solve many a problem actually.



-- 
  --------------------------------------------------------------------------
               The HeartBeat of America...Yesterdays Camaro Z28 
           tfoley@camaro.uucp   *   whome!camaro!tfoley@uunet.uu.net
     Call the Camaro Linux Pub-access site: 1-416-238-6550 USRobotics HST
    Note: Please, no ftpmail or mailing lists or the host gets annoyed :)
  --------------------------------------------------------------------------
Newsgroups: comp.os.linux
From: mdw@db.TC.Cornell.EDU (Matt Welsh)
Subject: Re: Help settingup tcp/ip
Organization: The Linux Inquisition, Propaganda Division
Date: Tue, 15 Dec 1992 05:33:13 GMT

In article <BzAB9J.52K@utdallas.edu> ramesh@utdallas.edu (R. Ramesh) writes:
>1) Do I need to set up a name server to do loopback stuff.

No. If you don't have a nameserver or aren't running named, the
libraries will look in /etc/hosts (or /usr/etc/inet/hosts).

>2) While starting, named complains about not being able to get to the root
>   server. Can I make my named an independent server?

I don't know why you'd want to... but I suppose you can. If this is
just an individual machine you don't need to worry about named.

>3) inetd does not seem to start rshd. why? (unless it happens very fast that
>   my "ps -a|grep rshd" is unable to detect it.)

Is rshd in /usr/etc/inet/inetd.conf?

>4) "rsh lata ls" just sits for a while and quits. why?

Probably because inetd isn't starting rshd. :) 

mdw

-- 
Matt Welsh     mdw@tc.cornell.edu     Cornell Theory Center
  "Go on, emote! I was raised on thought balloons!"
From: bob@cs.umd.edu (Bahman Adeli)
Newsgroups: comp.os.linux
Subject: SLS package problem at sunsite.unc.edu
Keywords: include, header, SLS
Date: 13 Dec 92 21:15:45 GMT
Distribution: na
Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742

If someone already hasn't noticed this:

SLS package at sunsite.unc.edu has a synlink problem with lx98p5.taz in
disk b4.  I think this is the reason many people (including me) have problems
-- 
Spoken: Bahman Adeli   UUCP: uunet!tove!bob   INTERNET:bob@cs.umd.edu
From: erb@insu1.etec.uni-karlsruhe.de (Olaf Erb)
Newsgroups: comp.os.linux
Subject: Re: Question: Has anyone a port of GOFER for Linux
Date: 17 Dec 1992 10:59:00 GMT
Organization: University of Karlsruhe, Germany
NNTP-Posting-Host: insu1.etec.uni-karlsruhe.de
X-Newsreader: TIN [version 1.1 PL6]

Alexander Keiblinger (keiblin@opal.cs.tu-berlin.de) wrote:
: Has anyone informations of a version of GOFER for Linux.
: GOFER is a functional programming language from Mark P. Jones, Yale University.
: GOFER is an underclass of Haskell and as far i found out only SUN and PC ports
: are available.
: 
: Thanks in advance ...
: 

Ja, laeuft bei mir. Die Unix Version (fuer Sun) liess sich mit wenigen
Patches unter Linux compilen.

Gruss
Olaf
--
----------------------------------------------------------
! erb@insu1.etec.uni-karlsruhe.de  dc1ik@db0sao.ampr.org !
----------------------------------------------------------
Newsgroups: comp.os.linux
From: jrs@world.std.com (Rick Sladkey)
Subject: Re: [Q] C-Kermit 5A(188) without hardware flow control?
Organization: The Internet
Date: Wed, 16 Dec 1992 02:22:04 GMT

>>>>> On Tue, 15 Dec 1992 12:54:07 GMT, dennisf@miles.com (Dennis
>>>>> Flaherty) said:

Dennis> I've recompiled C-Kermit 5A(188) using

Dennis> make linuxgcc2net KFLAGS=-DCK_RTSCTS

Dennis> and put the binary up on sunsite.  Thanks Bob!

Unfortunately, this flag has no effect other than causing "set flow
rts/cts" to be silently accepted.  I sent patches for this to Frank da
Cruz but apparently he didn't like them or they were to close to a
final release to make any more changes.

However C-Kermit will not mess with the rts/cts state so if you want
to use it you must turn it on before you run C-Kermit like this:

$ stty crtscts </dev/ttys0

Or if you are willing to recompile C-Kermit to *really* support
rts/cts, I can send you the patches or you can find them on Sunsite.
--
Rick Sladkey
jrs@world.std.com
Newsgroups: comp.os.linux
From: ianj@citrus.SAC.CA.US ( Ian Justman )
Subject: Re: MFM and IDE drives coexist under Linux?
Organization: Citrus Grove Public Access ( 916 ) 381-5822    Sacramento CA.  USA
Date: Sun, 13 Dec 1992 11:44:21 GMT
X-Newsreader: Tin 1.1 PL4

smackinla@cc.curtin.edu.au (Pat Mackinlay) writes:
: 
: I guess I'm just going to have to keep on saying it <sigh>. There are 
: _MAJOR_ differences between AT (16 bit) and XT (8 bit) hard disk 
: controllers. They use a completely different set of IO ports and IRQs. 

Not entirely.  I have a seondary controller which is an XT controller, but
I _HAD_ to jumper it to be a second controller.  There is at least ONE
port that I know of that the AT and the XT controllers share.

Also, the most readily-available patch is the XT patch.  Unfortunately for
me, the patch was written for a DTC controller, and I have a Western Digital,
but NOT TO FEAR, UNDERDOG IS HERE!  I phoned up WDC and got some programming
specs and I'm going to TRY (operative word) to get it running.  If I DO
get it running, I'll have someone upload it to whatever Internet sites
are most popular for Linux, most notably tsx-11; do realize that I don't
have Internet access.
-- 
Born to void warranties!	ianj@ijpc.UUCP
Newsgroups: comp.os.linux
From: johnsonm@lars.acc-admin.stolaf.edu (Michael K. Johnson)
Subject: More info on non-booting .99
Organization: St. Olaf College; Northfield, MN  USA
Date: Tue, 15 Dec 1992 05:34:35 GMT


I recently posted that I couldn't get .99 to boot, nohow.

I have tried a few more things, and everything has failed...

I made a backup of /etc/init and then made /etc/init be a hard link to
/bin/bash, so that I could be sure that /etc/init was not at fault.
Still no dice -- the linux_banner is printed, and no more, no disk
activity, no nuttin.

I restored /etc/init and figured that it must be in the do_execve()
code.  I diffed .98.6's exec.c and .99's exec.c and found 3 lines
difference, checked to see that those lines were called by
do_execve(), and borrowed the .98.6 exec.c.  Still no dice.  I have
restored the new .99 exec.c

The only think left that I can think of is the new readahead code that
Linus wrote.  I am not familiar with this code at all, and so would
ask that Linus and/or someone familiar with this code would look over
it for any subtle bugs that could be causing me this trouble.

As I mentioned before, I have put Linus's two one-line patches in,
including the initialization one, to no effect.

Thanks for any help,

michaelkjohnson
From: hedrick@farside.rutgers.edu (Charles Hedrick)
Newsgroups: comp.os.linux
Subject: Re: PATCH: (0.98.6) allow root to link/unlink directories
Keywords: kernel,patch,0.98.6,fs,link,unlink,root,directory,namei,standard,fix
Date: 21 Dec 92 00:47:01 GMT
Organization: Rutgers Univ., New Brunswick, N.J.

shanea@extro.ucc.su.OZ.AU (Shane Alderton) writes:

>torvalds@klaava.Helsinki.FI (Linus Torvalds) writes:

>>current kernel forbids for a very good reason: linking/unlinking
>>directories is generally a very bad idea, even if it's restricted to
>>root.
>>Is there anybody out there that actually needs this?

>Well, I don't know whether or not you would consider it a good reason,
>but it is something I have needed to do in the past when file system
>corruption caused a directory with an entry that I couldn't delete and
>that the efsck of the time could not handle.

I agree.  I had the same thing happen with the normal file system a
few months ago.  Fortunately I haven't had any file system corruption
recently.  But when it does happen, it typically resulted in a
directory that caused the system to crash when you tried to look at
it.  Maybe you can do something so that you only allow removing
directories that have something illegal about them.  But one way or
the other, there's got to be a way to get rid of bad directories.  The
last time it happened to me, I had to patch the kernel to allow
unlinking directories.  I don't think it's reasonable to require the
user to come up with a kernel patche to recover from file system
problems.
Newsgroups: comp.os.linux
From: jblaine@garnet.acns.fsu.edu (Jeff Blaine)
Subject: Compiling 0.99 sources is barfing for me
Organization: Florida State University
Date: Mon, 14 Dec 92 01:58:15 GMT

Ok, here's the situation:
I got linux-0.99.tar.Z off of tsx-11
uncompressed it and untarred it into the proper dirs.
editted the Makefile and chose the proper keyboard etc
did a "make config" and answered the questions.  I told config to
NOT use TCP/IP and NOT use the iso CDROM stuff or any CDROM stuff at all.

When I try to do a "make depend" it barfs on some error about the iso CDROM
stuff which I told config not to even use.
Ignoring this dependency error, I went ahead and tried a "make all".
This in turn barfed on another thing that I said NOT to include, TCP/IP   
support.

What am I doing wrong here!!??

-- 
_______________________________________________________________________________
|  Jeff Blaine    |    cblaine@gnu.ai.mit.edu  | jblaine@garnet.acns.fsu.edu  |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Newsgroups: comp.os.linux
From: vince@victrola.sea.wa.us (Vince Skahan)
Subject: 0.99 SLS won't boot :-(
Organization: Vince and Suzie's Underpowered PC
Date: Wed, 16 Dec 1992 21:54:09 GMT

I installed the new 0.99 kernel and ps/w/free/top/uptime from SLS to my
(then) working 0.98-5 SLS system and it gets a General Protection Error
after saying the partition table is ok.  Does anyone have a clue regarding
this ?

general protection: 0000
EIP: 0008:0000B6C4
EFLAGS: 00010206
FS: 0017
base: C0000000, limit: 000A0000
pid: 1, process nr: 1
8b 13 85 d2 74 27 83 3a 02 74

The only other thing I get above this is a warning:

Warning, WD8013 board not found at i/o=280
(which is correct...I don't have an ethernet board)

only other thing I can think of is that it takes a LONG time 
to go through it's checks before it checks the partition tables for
the two hard disks...much longer than 0.98-5 took.
-- 
     ---------- Vince Skahan --------- vince@victrola.sea.wa.us ----------
"USENET is not an obsession. It's just something I have to do all the time."
					quote from Jan'93 Unix World article
Newsgroups: comp.os.linux
From: gero@gkminix.han.de (Gero Kuhlmann)
Subject: Re: suggestion spliting g
Organization: gkminix, Hannover, Germany
Date: Tue, 15 Dec 92 18:44:42 GMT

"david shadoff" <david.shadoff@canrem.com> writes:
> >USENET policy says that we can't bring up the proposal for another 6 months.
> >I'm surprised there are still people on this group who DIDN'T notice the
> >previous RFD/CFV, unless you just joined the group. :)
> 
> I just joined the group after the RFD/CFV.  I've also gone through
> over 1000 articles in the last week.  Personally, I think it's an odd
> mish-mash of kernel hacking and "what's UNIX" questions.  Also, we've
> gone through 2 patchlevels since then, and 0.99 is expected soon.
> 
> It should be noted that the suggested groups narrowly lost, and this
> may be due in part to the exact *_set_* of new groups suggested.  A
> different set may have passed, and pacified the crowd.

I highly agree with you. At the present I get about 200 postings per day for
comp.os.linux, and I had to decrease the expire time down to 4 days in order
to keep my spool disk from overflowing.
Do you (or anybody else) have any idea of how to subdivide this group? I think
we should at least create a group which covers all the newcomer questions and
regular postings like the FAQ and the INFO SHEET.

gero.

-- 
Gero Kuhlmann			Zerberus:  G.KUHLMANN@A-LINK-H.ZER
Donarweg 4			SubNet:    gero@gkminix.sub.org
D-3000 Hannover 51              IN:        gero@gkminix.han.de
Newsgroups: comp.os.linux