HDTenEightyP/NetNews huggingface dataset:
From: torvalds@klaava.Helsinki.FI (Linus Benedict Torvalds)
Newsgroups: comp.os.linux
Subject: Re: shared libs - can everyone be happy with this?
Date: 21 Aug 92 07:55:38 GMT
Organization: University of Helsinki

In article <TED.92Aug20103404@pylos.nmsu.edu> ted@nmsu.edu writes:
>
>writable code segments or executable data segments are _very_
>important to programs that would like to do dynamic loading.
>
>of these two options, the second is preferable.

Right now, linux accepts both: early versions of linux didn't allow
executable data-segments (the code segment was only as long as indicated
by the executable header), but I changed that as gcc-2 actually assumes
data space is executable (it can build small functions on the stack). 
Another reason was actually to get 'crashme' to run: without an
executable data-segment crashme won't run at all (without
modifications).  And while it might sound weird to change the kernel to
/help/ crashme, that's what I did. After all, the idea of crashme is to
test whether a system is stable, and if crashme fails for the silly
reason that it cannot execute the code it has just set up, it's not
anything to brag about. The fact that crashme /still/ seems to fail
despite being able to try, is a good thing (tm).

Writable code might go away eventually: there is no longer any good
reason for it now that the standard library should be well-behaved.  But
I'm not in any hurry about it: if somebody /wants/ to write
self-modifying code, maybe it should be permissible.  I don't dislike
goto's either.

		Linus
Newsgroups: comp.os.linux
From: drew@kinglear.cs.colorado.edu (Drew Eckhardt)
Subject: Re: Can I use dd on my UNIX system instead of Rawrite?
Organization: University of Colorado at Boulder
Date: Wed, 12 Aug 1992 17:55:26 GMT

In article <1992Aug12.053539.14825@mnemosyne.cs.du.edu> smace@nyx.cs.du.edu (Scott Mace) writes:
>In article <1992Aug12.043754.21260@ennews.eas.asu.edu> mcguirk@enuxhb.eas.asu.edu (Dan McGuirk) writes:
>>In article <1992Aug11.192753.8568@dg-rtp.dg.com> welshm@groupw.rtp.dg.com (Matt Welsh) writes:
>>>I've been thinking. Instead of using rawrite on DOS to put the binary
>>>Linux images onto diskettes, couldn't one just copy the images to the
>>>raw floppy device on their UNIX system such as:
>>>
>>>  cp boot-US.1 /dev/pdsk/1
>>
>>Well, I'm not sure what you meant by /dev/pdsk/1, but something like
>>	cp /etc/Image /dev/fd0
>>will definitely work (replace /etc/Image with any filename, and
>>/dev/fd0 with any floppy drive).
>>
>>>Or use dd(1)? I'm pretty sure this would accomplish the same thing as 
>>>rawrite under DOS. Has someone tried this?
>>
>>dd will work too, but cp is easier...
>>
>don't forget you need to do dd bs=8192 if=Image of=/dev/PS0
>
>bs = bootsector and you need this for the kernel boot disk in order for
>it to work.  I don't no what will happen if you don't use the 'bs'
>option.

Wrong.  bs=block size.

This is how much dd will read before writing it - 8K will be faster than 
the smaller 512 byte or 1K default.  

It will work fine if you leave off BS.

-- 
Microsoft is responsible for propogating the evils it calls DOS and Windows, 
IBM for AIX (appropriately called Aches by those having to administer it), but neither is as bad as AT&T.  Boycott AT&T, and let them know how you feel.
From: rab@ariel.its.unimelb.EDU.AU (Richard Alan Brown)
Newsgroups: comp.os.linux
Subject: Re: AMD/motherboard experiences...
Keywords: swapping motherboards.... blech
Date: 15 Aug 92 06:18:39 GMT
Organization: School of Physics, University of Melbourne


--------------------------
NOT from rab@ariel.etc.etc
--------------------------

actually from alistair scott afs@tuaon.ph.unimelb.edu.au


I have had some peculiar experiences with the AMD 386-40 chip, so 
here's my $.02 worth.
I first installed Linux on my AMD 386-40 based machine with 4M RAM, it ran
perfectly, albeit a little slowly under X with only 4M.
When I upgraded my motherboard to 8M RAM, I was told that my motherboard
was part of a bad batch that could not handle having every SIMM slot full 
(grrrrr! I wasnt told when I bought it), Anyway, the dealer replaced the 
motherboard with another (still with the AMD 386-40) but of a different 
brand, one I had never heard of. Neither the chipset, or the manufacturer
was familiar (I am sorry I didnt note down the name). Anyway, after firing
it up quite happily with 8M on board, I realised that I had a hardware problem.
After about 20 min use, I could *not* reboot without getting kernel panic
errors, or failing swapper task errors. I can only assume that there was some
hardware problem, that was becoming visible when the motherboard heated up.
Needless to say, I took it back, and asked for a motherboard of the same
brand as my original (with functioning SIMM slots), and even though the 
motherboard they had given me passed every DOS diagnostic (but failed 
under Linux) they happily ordered me another motherboard. Now the one
I have is a 'Chicony' brand with Opti chipset AMD 386-40 with 8M RAM,
and it runs flawlessly. 
The 40 Mhz AMD chip runs as advertised. So to me it sounds like the problems
with the AMD chip might be motherboard related. Even between the same m'board
manufacturer it is possible to have variation in quality and presumably 
reliability.

Thanks to all involved in Linux. Its so nice after that brain dead application
launcher MS-DOG.


Alistair Scott
afs@tauon.ph.unimelb.edu.au
BTW: Kudos to the guys in the PC dealership who put up with me coming in and 
saying "look, I dont care if it passes every DOS test in the book, it wont run
Linux"

Seems Linux is the perfect hardware tester.
From: sundaram@cps.msu.edu (Divya Sundaram)
Newsgroups: comp.os.linux
Subject: Installing Linux under OS/2 Boot Manager
Date: 21 Aug 92 21:48:13 GMT
Distribution: usa
Organization: Michigan State University, College of Engineering
Originator: sundaram@arctic.cps.msu.edu


Hi Linuxers all,

I have obtained, through a marathon ftp session, the SLS package. I want
to install it on my 120MB IDE hard drive and use OS/2 boot manager. How do
I go about doing this? Prior to installing the OS, is there anything that I
should know about. 

I would like to be setup like this:
	C:	120MB IDE HD:
			1 MB Boot Manager partition
			119 MB Linux Partition
	D:	200MB IDE HD:
			20MB MS-DOG 5.0 Partition
			180MB OS/2 Partition
Currently I have the boot manager on my 120 MB IDE and have a 20 and 99 MB 
partitions for DOG and OS/2 resp.  I have just received the 200MB IDE so it
is not yet set up. 

I recall that Linux 0.96c (which is apparently what I have downloaded) does not
support partitions >64MB. How does this effect my setup?

Any comments and hints appreciated. Is there anybody out there with a similar
setup? Comments from other OS/2 users are especially welcome.

Thanks y'all,

Divya
(sundaram@cps.msu.edu)
From: zlsiial@uts.mcc.ac.uk (A. V. Le Blanc)
Newsgroups: comp.os.linux
Subject: Re: Where to get awk for linux
Date: 21 Aug 92 13:30:17 GMT
Reply-To: LeBlanc@mcc.ac.uk
Organization: Computing Centre, University of Manchester

In article <1992Aug20.163741.10173@iitmax.iit.edu> thssbxv@iitmax.iit.edu (Boris Vaysburg) writes:
>
>Hi, I am looking for a copy of awk for linux. Where could a get one (from what
>ftp server), what is the name of the file that has it? I would like to get both
>executable and sourec code since my gcc compiler does not seem to work yet.

There is a copy of gawk/awk in the MCC interim version of Linux.  The
unlinked '.a' file is in mcc-interim/0.96c/files.a/f-gl.a.tar.Z.  The
sources are in GNU's gawk-2.13.2.tar.Z in mcc-interim/0.96c/source_links,
and the patches I applied are in mcc-interim/0.96c/patches/gawk213.ud.Z.

I have tried to be certain that all sources for anything included in the
MCC interim releases of Linux are available.  You can use anonymous ftp
to get them from ftp.mcc.ac.uk, or from any of the mirroring sites;
the mirroring sites will not necessarily have the GNU source files,
since everything in the source_links directories is a symbolic link.

     -- Owen
     LeBlanc@mcc.ac.uk
Newsgroups: comp.os.linux
From: welshm@snail.rtp.dg.com (Matt Welsh)
Subject: Re: PROBLEM with RAWRITE2.EXE (please help)
Date: Wed, 12 Aug 92 13:44:28 GMT
Organization: Data General Corporation, RTP, NC.

Thanks to everyone who replied with my problem on RAWRITE2. It appears
as though RAWRITE2.EXE will NOT work on PC-DOS 4.00, or MS-DOS 4.01 over PCSA.
It worked fine on "normal" MS-DOS 4.01. 

mdw

Matt Welsh    welshm@dg-rtp.dg.com        ...!mcnc!rti!dg-rtp!welshm
UNIX-SQA, Data General Corporation RTP        Office: +1 919 248 6070
  "Where's the KABOOM?! There was supposed to be an Earth-shattering KABOOM!!"
From: sprave@gonzo.informatik.uni-dortmund.de (Joachim Sprave)
Newsgroups: comp.os.linux
Subject: Re: GCC 2.2.2b problem with shared libraries - Fix available?
Date: 14 Aug 1992 09:03:15 GMT
Organization: CS Department, Dortmund University, Germany
Distribution: world
NNTP-Posting-Host: gonzo
Keywords: GCC Linux shared lib fails in version 2.2.2b

In article <colinm.713679627@extro.ucc.su.OZ.AU>, colinm@extro.ucc.su.OZ.AU
(Colin McCormack) writes:
|> I don't wanna whine but I can't compile anything under 2.2.2b and
|> expect it to run unless I link it as -static.  I am led to beleive
|> that this is a fault with my AMI bios.  Symptoms are "Out of Virtual
|> Memory in new()" message on execution of the code (which is, I presume
|> a shell interpretation of an exit code?).
|> 
|> I have heard that a new version gcc2.2.2d will fix this, and am 
|> wondering whether/when this fix will be released.
|> 
|> Colin.
|> 
|> 

I had the same problem. I reinstalled gcc carefully, and now it
works fine. I think it's a problem a misplaced shlib's.



         //////\\
        /        \
       _|  _   _ |_
      |.|-(.)-(.)+.|
       \|    J   |/
        \   ---  /
         \      /
          "####"
		Joachim
From: steve@Nyongwa.CAM.ORG (Steve M. Robbins)
Newsgroups: comp.os.linux
Subject: Re: Modem dial-in procedures needed
Date: 13 Aug 92 22:16:48 GMT
Organization: Chiral Symmetry Breakers of Montreal

In article <1992Aug13.052324.8490@athena.mit.edu> chchen@stat.fsu.edu writes:
>I've seen several discussions about modem dial-in for Linux system. I
>got two unsolved questions here:

>1. Is it necessary to get getty_ps program to allow modem dial-in?

No.  Not if you just want to dial in.  Getty_ps is required if you want to also
be able to dial out on the same line (uucp, kermit...).  To my knowledge there
are no other uugetty programs that work.  [uugetty being the version of getty
(included in getty_ps) that uses lockfiles to negotiate with uucp et al. for 
the line]


>2. If I just want to use the getty from MCC-INTERIM or root image (.96 or
>   .97), what steps should I follow?
[..]
>                (2) Without changing the /etc/initab, give the command
>                          echo atq1e0s0=2v1x4 >/dev/ttys1
>                          (no device busy this time)
>                    and then
>                         getty 2400 /dev/ttys1 &
>
>                    This seemed to work but after my friend logout,
>                    his screen went messy (he is also running Linux)

I think this is the way to do it.  But with the getty line in inittab, I
don't think you need to run getty by hand.  You might have to kill off the
old getty and let init restart it, though.  [since atq1 turns off the command 
responses, sending v1x4 is superfluous, isn't it?]

The best way would probably be to put the initializing string (i.e. 'echo
atq1.. >/dev/ttys1) into /etc/rc, so the modem will be set up before init
ever tries running getty on it.

The messy screen is your friend's problem, probably to do with getting noise
after disconnecting.

>                    Also, how to choose terminal type with this
>                    apporach?

The terminal type will be set by init to whatever is on the inittab line.  If
you need to change it after logging in, just do TERM=whatever from BASH's
command line, or login script.

-- 
Steve Robbins  --  steve@nyongwa.cam.org
I asked Hank Williams "how lonely does it get?"
Hank Williams hasn't answered yet.
From: lfoard@Turing.ORG (Lawrence C. Foard)
Newsgroups: comp.os.linux
Subject: Memory mapped files?
Date: 12 Aug 92 21:50:42 GMT
Organization: The Turing Project, Charlottesville Virginia.

Is there any soft of project underway to implement memory mapped files
in Linux? It seems that the shared library code is pretty close except
that it doesn't support writting pages back to the library file.

Has anyone looked into what would be involved?

Along with this is there any reason to keep the 4giga byte total
limit for processes rather than having seperate page tables for
each process?

-- 
>>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.--          \/
Newsgroups: comp.os.linux
From: hooft@fys.ruu.nl (Rob Hooft)
Subject: Re: Jumptable Performance (Was: Re: shared libs - can everyone be happy with this?)
Organization: Physics Department, University of Utrecht,  The Netherlands
Date: Tue, 18 Aug 1992 15:41:49 GMT

In <1992Aug18.140858.3484@crd.ge.com> davidsen@ariel.crd.GE.COM (william E Davidsen) writes:

>In article <1992Aug18.080437.3944@fys.ruu.nl>, hooft@fys.ruu.nl (Rob Hooft) writes:
>| In <NOP.92Aug17135014@theory.Mankato.MSUS.EDU> nop@theory.Mankato.MSUS.EDU (Jay A. Carlson) writes:
>| 
>| >I'm not sure that all this trouble is worth it.  Does anyone have any
>| >hard data on the performance loss of jump tables?
>| 

>| I didn't believe this, so I repeated it many times. Is there any one
>| who has an explanation for the fact that the '-jump'ed executable is
>| 3% faster? Could this be caused by a difference in the crt0.o?

>  Have you timed this with the time command (I posted one about 2 weeks
>ago to tsx and banjo, hope it's up by now on tsx at least)? I have a
>thought that the jump may be effecting the ratio of user/sys time (no, I
>don't know how) and that would show it. I believe the flops uses the
>user CPU to calculate performance, not the total.

>  That would also show the realtime, which I would expect to go up.

Yes, that is what I expect too, but I didn't expect the usertime to go
down at all, certainly not by over 0.5 seconds. We're talking a
program here that runs for 25 hard CPU-seconds! I'll be timing again
this evening, and might even retry the BYTE-bench this time. Twice,
that is. I guess I'll be using jump-libs for the rest of my linux-life....

-- 
Rob Hooft, Bijvoet Center for Biomolecular Research, 
Chemistry department University of Utrecht, the Netherlands
hooft@hutruu54.bitnet hooft@chem.ruu.nl hooft@fys.ruu.nl hooft@cc.ruu.nl
From: wirzeniu@klaava.Helsinki.FI (Lars Wirzenius)
Newsgroups: comp.os.linux
Subject: Re: How to test a computer for Linux-ableness?
Date: 22 Aug 92 08:59:23 GMT
Organization: University of Helsinki

car@trux.UUCP (Chris Rende) writes:
>Are there any tests that I can run on my computer to see whether or not
>Linux will run on my system? (WITHOUT loading Linux itself).
>(Cache test, AMD386/40 test, etc...)

Is there a problem with booting up Linux on a floppy with it, and then
doing non-destructive tests with the hard disk etc (something like (cat
/dev/hda1 | wc or something)?

--
Lars.Wirzenius@helsinki.fi
Newsgroups: comp.os.linux
From: zhao@unixg.ubc.ca (Jiansheng Zhao)
Subject: Re: Linux Logo
Organization: University of British Columbia, Vancouver, B.C., Canada
Date: Thu, 13 Aug 1992 04:29:06 GMT

Can someone post this Linux logo in *.gif or .bmp format for those who don't
have access to a PostScript printer?
Many thanks.
-- 
Jiansheng Zhao
Dept. Chem. Eng, Univ. of B. C., Canada. V6T 1Z4
zhao@unixg.ubc.ca
From: rmk@rmkhome.UUCP (Rick Kelly)
Newsgroups: comp.os.linux
Subject: Re: Linux support BBS- what happened?
Keywords: Linux, BBS, dial-up, broke
Date: 20 Aug 92 07:37:32 GMT
Reply-To: rmk@rmkhome.UUCP (Rick Kelly)
Organization: The Man With Ten Cats

In article <1992Aug18.031209.9192@eskimo.celestial.com> shamus@eskimo.celestial.com (Jay Mottern) writes:
>
>What ever became of the Linux BBS on 508-793-9568? It was supposed to
>be for people with no Internet access so they could get Linux files.
>Everytime I call it, I handshake with a modem then nothing! My terminal
>doesn't echo local commands when I try to type anything. I hit enter
>a few times, still nada. I end up having to drop carrier and disconnect.


Since I live here in the 508 area code, I decided to give it a try.

My first reaction on calling was: "he's right, it doesn't work".

Finally, I hit a bunch of carriage returns, got a login, and subscribed
to the bbs.

So, either it takes a while for the BBS software to start running, or
it needs a bunch of carriage returns.

But it does work.

-- 

Rick Kelly	rmk@rmkhome.UUCP	unixland!rmkhome!rmk	rmk@frog.UUCP
Newsgroups: comp.os.linux
From: scott@natinst.com (Scott A. Taylor)
Subject: Re: Troubles compiling lilo v3
Followup-To: comp.os.linux
Summary: cp -R /usr/src/linux/include /usr/include
Keywords: headers, move, tweak, go!
Organization: National Instruments, Austin, TX
Date: Fri, 14 Aug 1992 13:56:01 GMT

In article <1992Aug14.024317.19775@inmet.camb.inmet.com> newbie@dylan.camb.inmet.com (Chris Newbold) writes:
>I know there has been a blizzard of questions about how to get lilo up and
>running, but I jumped on the bandwagon a bit too late. I can't find any
>of the messages about setting it up on our site. I know I remember there
>were a couple of changes needed before it would compile...
>
>Anyhow, I'm having major trouble compiling it. There is a massive conflicy
>between the linux/include types.h and the include/sys/types.h ... I'm sure
>all of this was covered... If someone would be kind enough to point me
>in the right direction, I would really appriciate it.
>
>The problems: Both /usr/src/linux/include/linux/types.h and /usr/include/sys
>/types.h get included. I tried to fix this by linking /usr/include/sys
>to /usr/src/linux/include/linux. This seems like a hack, but I don't really
>know. Didn't reall help.
>
>Could somebody tell me how I _should_ have the include directories set up,
>and what files should be in them?
>
>I'm sorry these are such naive questions, but I'm a real newbie at this
>stuff.
>
>Thanx again.
>
>-Chris
>
>-- 
>---- Chris Newbold ---- > "If you fool around with a thing for very long you <
>   Intermetrics, Inc.	>  		  will screw it up."		     <
>  Opinions and statements expressed are MINE and do NOT represent my employer
>			newbie@inmet.camb.inmet.com

Well, problems compiling lilo version 3 were the hair that broke the camel's
back; I got fed up and decided to unify my set of header files.  I copied all
the headers from my kernel include directory to /usr/include, removed 
/usr/src/linux/include (making backups of /usr/include and /usr/src/linux/inc-
lude, of course!), tweaked a couple files to remove redeclarations of some 
variables and functions, and went about my business.  Everything so far has 
compiled just fine (groff, GNU file utils, text utils, lilo v3, ps, and of
course the kernel); I had to do a "make dep" in the kernel directory and 
make a couple changes to the SCSI makefile (to fix the seagate entry).  Oh,
yeah; lilo still looked for genhd.h, which I didn't have until I installed
the latest SCSI drivers from woz.headrest.colorado.edu.

I am running 0.96c pl2 with gcc 2.2.2; this may not work for 0.97, as I under-
stand that Linus moved around a lot of the header files (to /usr/include, 
perhaps?).
-- 
Scott Taylor            |
(512) 795-6837          | "Well, I wanted to work with gymnasts." -David Byrne
scott@natinst.com       |
** NI pays me to write their code, not their opinions, and that's what I do **
Newsgroups: comp.os.linux
From: harry@atlas.socsci.umn.edu (Kuo-Chen Chang)
Subject: compiling error in gcc.2.2.2d
Organization: University of Minnesota
Date: Wed, 19 Aug 1992 13:08:38 GMT

Hello there.  I just installed gcc 2.2.2d on my 486.  And I could not wait
to try the new compiler.  TO my surprise, I got some complains:

/usr/include/stdlib.h:55: conflicting types for "div_t"
/usr/include/linux/types.h:68: previous declaration of "div_t"
/usr/include/stdlib.h:62: conflicting types for "ldiv_t"
/usr/include/linux/types.h:69: previous declaration of "ldiv_t"

Did I miss something?

My compiling command is:

gcc -o poas -lm poas.c

The source code includes

<stdio.h>
<malloc.h>
<string.h>
<math.h>
<time.h>
<ctype.h>
<stdlib.h>

Any suggestion?

Thanks.   

	---Harry
From: umisef@mcshh.Hanse.DE (Bernd Meyer)
Newsgroups: comp.os.linux
Subject: Re: going back to text after an x session
Keywords: Text mode, X386v1.0, weird
Date: 20 Aug 92 21:11:31 GMT
Organization: Point of Presence & MCS Hamburg

int177c@aurora.cc.monash.edu.au (Jae Won) writes:

>Hi,

>	I installed X the other day and have been playing with various stuff.
>My problem is that : after I kill all the windows(or exit out of them), and
>I get out of X session by using quit on twm, the text mode doesn't come up
>as it should and gives me lots of vertical lines. The characters are only
>shown up as vertical lines or nothing which makes it kinda hard to read. ;-(
>
Bringing up X on some firends pc, I noticed this problem, too. It went away
when I uncommented the 'clocks' line and gave it exactly the clocks it had
come up with itself the session before. Somehow strange, but worked like a charm!

Bernie
	
Newsgroups: comp.os.linux
From: rafal@utstat.uucp (Rafal Kustra (summer student))
Subject: Re: ps-0.97 error creating psdatabase
Organization: University of Toronto, Dept. of Statistics
Date: Sun, 16 Aug 1992 22:59:02 GMT

In article <t37m71+.james@netcom.com> james@netcom.com (James L. Paul) writes:
>I tried to compile ps-0.97, but the include files problem just got too
>convoluted to deal with. So, I just copied the binaries into /usr/bin.
>w, uptime, and free work ok. ps doesn't. I have /usr/src/linux/tools/system
>there, and even built it an extra time, but I get this error: 
>
>ps -U /usr/src/linux/tools/system /dev/hdb3
>symbol '_main_memory_start' not found
>trying to read invalid address
>
>James L. Paul
>
Are you sure you've boot up from kernel you compiled?
You have to copy (dd) Image on floopy (or to your boot
sector on HD) and boot up with that. Also try removing
/etc/psdatabase and creating a new one (ps -U).
Hope that helps!

				Rafal

-- 
/|| Numbers exist only in our minds. There is no physical entity that
 ||_is_ number 1. If there were, 1 would be in a place of honor in 
 || some great museum of science, and past it would file a steady
==== stream of mathematicians gazing at 1 in wonder and awe.
Newsgroups: comp.os.linux
From: wolfgang@convex.rz.uni-duesseldorf.de (Wolfgang Mueller)
Subject: Re: Jumptable Performance (Was: Re: shared libs - can everyone be happy with this?)
Organization: Heinrich-Heine-Universitaet Duesseldorf
Date: Wed, 19 Aug 1992 14:16:47 GMT

In <1992Aug19.125541.865@crd.ge.com> davidsen@ariel.crd.GE.COM (william E Davidsen) writes:
>  Like most things which seem too good to be true, I'm suspicious. Does
>anyone have an explanation why adding size and instructions to every
>library call would make the program use less user CPU (or appear to)?
>Having used jump tables before I have to be suspicious.

Might it be that with the first jump already invalidating the lookahead cache
the second jump does not do any more harm, but instead leaves the memory
interface in a condition more suitable to the following register savings ?
 
Just a guess,
Wolfgang R. Mueller <dvs@ze8.rz.uni.duesseldorf.de> .
Newsgroups: comp.os.linux