HDTenEightyP/NetNews huggingface dataset:
From: rdc30@nmrdc1.nmrdc.nnmc.navy.mil (LCDR Michael E. Dobson)
Newsgroups: comp.os.linux
Subject: Badblocks on hd
Date: 17 Apr 92 17:17:31 GMT
Organization: Naval Medical Research & Development Command

If this is in one of the docs somewhere, please point me to it.

How does one deal with badblocks on your hard drive?  I am running into
some on both my root partition and my /usr partition.  Is there some way
under linux to identify and map them out?

Thanks!
-- 
LCDR Mike Dobson, Sys Admin for | Internet: rdc30@nmrdc1.nmrdc.nnmc.navy.mil
nmrdc1.nmrdc.nnmc.navy.mil      | UUCP:   ...uunet!mimsy!nmrdc1!rdc30
AT&T 3B2/600G Sys V R 3.2.3     | BITNET:   dobson@usuhsb or nrd0mxd@vmnmdsc
WIN/TCP for 3B2  R3.2           | MCI-Mail: 377-2719 or 0003772719@mcimail.com
From: almesber@nessie.cs.id.ethz.ch (Werner Almesberger)
Newsgroups: comp.os.linux
Subject: Re: compiling kernel .95c+
Date: 11 Apr 92 21:10:33 GMT
Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH

In article <1992Apr11.153442.1390@kakwa.ucs.ualberta.ca> ulan@ee.ualberta.ca (Dale Ulan) writes:
> Compiling the kernel with GCC1.40 does not seem to work any more.

I've compiled it yesterday and haven't seen any unusual behaviour
yet. (GCC 1.40, 0.95c+ source, 0.95a and 0.95c+ running, 4 MB RAM,
no swap, 386/25.)

> In any case, it now works, so perhaps the GCC1.40 provision could 
> be taken out of the makefile...

Please don't !  BTW, there are two new gotchas:
   -O6 isn't recognized by GCC 1.40. I've changed it to -O
   the Version [sp?] dependency forces unnecessary recompilation of
     large parts of the source whenever make is run.

- Werner
-- 
   _________________________________________________________________________
  / Werner Almesberger, ETH Zuerich, CH      almesber@nessie.cs.id.ethz.ch /
 / IFW A44  Tel. +41 1 254 7213                 almesberger@rzvax.ethz.ch /
/_BITNET:_ALMESBER@CZHETH5A__HEPNET/CHADNET:_[20579::]57414::ALMESBERGER_/
From: pthoms@castle.ed.ac.uk (P Thomson)
Newsgroups: comp.os.linux
Subject: floppies Help !
Date: 8 Apr 92 20:05:36 GMT
Organization: Edinburgh University



Hi , can someone help here please. I got hold of the images for boot and
root and tried to run Linux from a 1.44Mb floppy.

The program starts to load ie Loading..........
prompts for a svga setting then bombs out. This happens no matter what
mode I try to set ( pressing space has the same effect) 

System config   386DX 20Mz
		 91Mb Segate/Imperus Hard drive (SCSI)


 Thanks in advance Peter.
Newsgroups: comp.os.linux
From: chojnows@osiris (Brian Chojnowski)
Subject: charset oriented GUI
Organization: University of Illinois at Urbana
Date: Wed, 15 Apr 1992 01:06:36 GMT

	I have been writting some user interface routines, and have just
started to add a crude windowing sytem to the bunch. There are a few
multi-user games that I am writting that Linux would be ideal for, but I
need a little graphics power. Since this is for Pc's, I figgured if I could
devise a standard of somekind, and someone was able to provide me with
source for a telnet program, and some idea as to where in the kernel or
device drivers to look, I could implement a windowing environment that wrote
directly to the video card. Because of my limited experience with Unix,
given telnet source, I would have no problem modifying that, but I have no
idea how to start on the kernel/device end.

	-Brian
From: knapka@athena.cs.uga.edu (Joseph Knapka)
Newsgroups: comp.os.linux
Subject: __ctype undefined symbol error
Date: 7 Apr 92 17:55:22 GMT
Organization: University of Georgia, Athens

Hi, all. I was having trouble compiling ps after applying Linus' and
H.J.'s patches to the .95a kernel. Turned out I hadn't rooted out all
traces of gcc-1.40 --- that part of the FAQ is to be taken very seriously!
Here's H.J.'s message:

	__ctype is from the header files of gcc 1.40. Please backup and remove
	any files related to the previous compilers before you install gcc 2.1.
	There is no __ctype anywhere in the header files for gcc 2.1.
	
	BTW, they are in my FAQ. PLEASE READ IT WORD BY WORD AND FOLLOW THE
	INSTRUCTIONS.
	
	Could you please forward my msg to news groups?
	
	H.J.
	-- 
	School of EECS				Internet: hlu@eecs.wsu.edu
	Washington State University		BITNET:   60935893@WSUVM1.BITNET
	Pullman, WA 99164			Phone:    (509) 335-6470 (O)
	USA						  (509) 334-6315 (H)

Thanks for your help, H.J. -- the fault was entirely mine.

For those who are installing 2.1 for the first time, "Remove all other
compilers" means "rm +recursive /usr/include /usr/lib /usr/local/lib
(and anything else that looks suspicious)."  Took me a while to catch
on to that :)
From: dj1l+@andrew.cmu.edu (Demian A. Johnston)
Newsgroups: comp.os.linux
Subject: Re: ESDI drives
Date: 15 Apr 92 23:59:22 GMT
Article-I.D.: andrew.AdvABO_00YVX85CJlz
Organization: Sophomore, Physics, Carnegie Mellon, Pittsburgh, PA

I have 2 ESDI drives and I have successfully installed 0.95a by way of
the installation notes..  Make sure you do your pfdisk'ing' properly by
defining your hard disk geometry...  I also have been successful
installing the 0.95c+ source and recompiling the kernel..  Very little
problems...

Good luck


                                                  Demian 
                                              --->  daj+@cmu.edu
                                              --->  dj1l@andrew.cmu.edu
                                              --->  demianjn@ids.jvnc.net
From: csn0314@ux.acs.umn.edu (tim)
Newsgroups: comp.os.linux
Subject: Re: expr
Keywords: Softscroll
Date: 16 Apr 92 15:42:49 GMT
Article-I.D.: ux.1992Apr16.154249.19909
Organization: University of Minnesota

In article <1992Apr15.175301.27390@walter.bellcore.com> jeng@ipanema.UUCP (Fureching Jeng) writes:
>I have installed gcc 2.1 on my machine. Unfortunately, I can't run g++ without
>
>"expr". Does anyone know where I can get "expr"?
>

expr is part of the GNU shell-utils. they can be gotten from
prep.ai.mit.edu or many other anonymous sites.

are diffs for the shellutils, binutils, and fileutils available
anywhere ? many of these (includeing expr since i changed to gcc 2.1)
give alot of errors when i try to compile them.


thanks,

		tim
From: liljeber@kruuna.Helsinki.FI (Mika Pekka Liljeberg)
Newsgroups: comp.os.linux
Subject: Re: kernel building problems
Date: 11 Apr 92 11:14:00 GMT
	<1992Apr10.162906.21379@ods.com>
	<1992Apr11.095724.8928@klaava.Helsinki.FI>
Organization: Department of Computer Science, University of Helsinki, Finland

In article <1992Apr11.095724.8928@klaava.Helsinki.FI> torvalds@klaava.Helsinki.FI (Linus Benedict Torvalds) wrote:
> In article <1992Apr10.162906.21379@ods.com> david@ods.com (David Engel) writes:
>>
>>Aside to Linus:  Would you mind describing how you have your system set
>>up?  It might help aleviate problems like this if we knew which compiler
>>and system libraries you are using.
> 
> I'm still using 2.0 (and an older version at that) as I've been too busy
> to upgrade.  I doubt the HJ-patch is really needed - I read through it,
> and I'd guess 0.95c+ should compile pretty cleanly without it.  Anybody
> tried it? HJ's patch also assumes you have a 387, and you'll have to
> edit the makefile if you don't. 

I compiled .95c first without and the with the HJ patch. There were no
problems either way. Then I moved the kernel includes under /usr/include/linux
with HJ's conv script. I hope this will become "official" practise, since
it makes everything ever so much simpler. How about it, Linus? :)

> I'll have to upgrade my compiler (probably this weekend), and the next
> real version should have no problems with 2.1.  I'm in fact still using
> my original 1.40 for everything but the kernel - I've left the actual
> beta-testing of the new compilers and libraries to everyone else, and
> I'll step in now that they seem stable.  Lazyness or prudency, you
> decide :)

In my case a bit of both. ;)

	Mika
--
Mika Liljeberg			Email:	liljeber@kruuna.Helsinki.FI
Helsinki University			Mika.Liljeberg@Helsinki.FI
Dept. of Computer Science
From: pthoms@castle.ed.ac.uk (P Thomson)
Newsgroups: comp.os.linux
Subject: Compress/Uncompress (Were ?)
Date: 10 Apr 92 12:26:37 GMT
Organization: Edinburgh University


Hi Quick Q.    Can any body tell me were I can find Compress /Uncompress for
linux.

		Thanks in Advance Peter.
From: gt0449a@prism.gatech.EDU (Rob Coleman)
Newsgroups: comp.os.linux
Subject: Re: Re: kermit5a
Date: 10 Apr 92 21:31:24 GMT
Organization: Georgia Institute of Technology

In <1992Apr10.105632.15729@cunixf.cc.columbia.edu> fhg2@cunixb.cc.columbia.edu (Farhan H Garib) writes:

>I downloaded kermit5a from tsx-11.mit.edu today.  when I tried
>to run it I got a segmentation fault.  

>Did the file get corrupted in transfer or is there a problem 
>with the file?

>-Greg

I had the same problem with the kermit that was uploaded to tsx, so I got
the sources from somewhere else, and it compiled fine (using the sysvr3
option).  I used archie to find the ftp site, so I don't remember where I
got it from; just search for "kermit5a".  If there are enough requests,
I'll put up a good binary..
-- 
        Rob Coleman              ][   Science, like nature, must also be tamed. 
  gt0449a@prism.gatech.edu       ][     With a view towards its presevation..
Georgia Tech, P.O. Box 30449     ][
     Atlanta, GA  30332          ][                  -Rush/Natural Science
Newsgroups: comp.os.linux
From: joel@wam.umd.edu (Joel M. Hoffman)
Subject: Re: Another bug?
Organization: University of Maryland at College Park
Date: Sat, 11 Apr 1992 02:53:30 GMT

In article <1992Apr10.203916.27326@klaava.Helsinki.FI> torvalds@klaava.Helsinki.FI (Linus Benedict Torvalds) writes:
>In article <1992Apr9.200244.28901@wam.umd.edu> joel@wam.umd.edu (Joel M. Hoffman) writes:
>>In article <1992Apr8.090321.7673@klaava.Helsinki.FI> torvalds@klaava.Helsinki.FI (Linus Benedict Torvalds) writes:
>>>Well, only one known bug so far, but a couple of problems. I thought I'd
>>>mention them before anyone else does, and we'll call them "features" :^)
>>
>>More than once, I've gotten a message about mis-linked processes.  I
>>usually get it when I'm compiling from one VC and using Kermit
>>interactively on another, but most of the time I'm compiling and using
>>Kermit....
>
>The mis-linked process problem seems to be linked with swapping: I've
>never seen it, and most (all?) that have reported it have only 2M ram -
>it seems to be a race-condition in the exit code, that breaks while
>swapping heavily.  I think that running gcc and kermit on a 2M system
>should be enough to swap quite a bit... 
>
>I have fixed some of the exit-code in 0.95c+ - I'd be very interested to
>hear if this problem is gone with the new kernel.  The exit-code was
>"interesting" - I think tytso optimized the sibling linking a bit too
>much, and it broke when paging meant that the kernel sleeps in some new
>circumstances.  I might be totally off base - apologies to tytso if I
>am. 

I just purchased four more meg.  This weekend, I'll see if I still
get the mis-linked siblings with 6M (little swapping -- I hope).  If
I have time, I'll take out the 4M, then try 95c+ (*), etc.  I'll
let you know.

-Joel
(joel@wam.umd.edu)

Newsgroups: comp.os.linux
From: joel@wam.umd.edu (Joel M. Hoffman)
Subject: Re: Yet another X question
Keywords: X Windows
Organization: University of Maryland, College Park
Date: Wed, 15 Apr 1992 12:59:30 GMT

In article <1992Apr15.053227.24310@serval.net.wsu.edu> hlu@yoda.eecs.wsu.edu (Hongjiu Lu -- Graduate Student) writes:
>In article <mper.703312424@uipsuxb> mper@uipsuxb.ps.uiuc.edu (Michael Pereckas) writes:
>> [Is there a smaller, simpler, graphics support update planned?]
>>
>
>From my own experience, a real X11R4 can take as little as 10MB to run.
>on a 386. I only keep the minimum stufffs I need. Beside MIT stuffs,
>I added some other programs, like xgif and xdvi. I can put off X source
>from the net and compile it without much problem. I believe, for X11R5,
>20MB should be a safe bet.

I also would like to see simpler graphics support.  I really don't
want to clobber by system with X, and all I really need can be
provided much more simply.  First, I'd like to have downloadable
character sets, so I can use the Hebrew routines I've been using under
DOS.  Second, I'd like a .dvi previewer.  So far, I've seen nothing
that's even nearly as good as the .dvi drivers that come with emTeX.
Any chance of porting those??  (E. Mattes?  Please!)  Finally,
sometime down the road I'd like to see a full DOS emulator for Linux,
and that will require graphics support.  

It seems to me a ggod approach would be to emulate DOS's graphics
interface, and trap the reads and writes to the graphics card.  That
would make all of the above tasks much easier, and wouldn't demand so
much of the system.

Comments?

-Joel
(joel@wam.umd.edu)

p.s.  Please don't write back telling me how terrible DOS is.  I have
many useful programs for DOS, and everything I sell is written for
DOS.  I can't give it up.

Newsgroups: comp.os.linux
From: tsillanp@niksula.hut.fi (Timo Jaakko Sillanp{{)
Subject: HELP! Problems with rootimage.
Organization: Helsinki University of Technology, Finland
Distribution: comp.os.linux
Date: 7 Apr 92 14:20:38

Newsgroups: comp.os.linux
From: drew@ophelia.cs.colorado.edu (Drew Eckhardt)
Subject: Re: Yet another X question
Keywords: X Windows
Organization: University of Colorado at Boulder
Date: Thu, 16 Apr 1992 10:29:44 GMT

In article <1992Apr15.125930.6742@wam.umd.edu> joel@wam.umd.edu (Joel M. Hoffman) writes:
>In article <1992Apr15.053227.24310@serval.net.wsu.edu> hlu@yoda.eecs.wsu.edu (Hongjiu Lu -- Graduate Student) writes:
>>In article <mper.703312424@uipsuxb> mper@uipsuxb.ps.uiuc.edu (Michael Pereckas) writes:
>
>I also would like to see simpler graphics support.  I really don't
>want to clobber by system with X, and all I really need can be
>provided much more simply.  First, I'd like to have downloadable
>character sets, so I can use the Hebrew routines I've been using under
>DOS.  Second, I'd like a .dvi previewer.  So far, I've seen nothing

Downloadable character sets are not a problem ON EGA/VGA AND ABOVE.

On these cards, ALL text mode character sets are stored in unused pages of 
video memory.  They support two simulateously resident character sets.
Consult a technical reference.

It should be a simple matter to make a TTY driver IOCTL that supports
this feature of the EGA/VGA/SVGA cards.  

Other hardware may require a switch to graphics mode, and will require
a more substantial rewrite of the tty driver.


>that's even nearly as good as the .dvi drivers that come with emTeX.
>Any chance of porting those??  (E. Mattes?  Please!)  Finally,
>sometime down the road I'd like to see a full DOS emulator for Linux,
>and that will require graphics support.  
>
>It seems to me a ggod approach would be to emulate DOS's graphics
>interface, and trap the reads and writes to the graphics card.  That
>would make all of the above tasks much easier, and wouldn't demand so
>much of the system.
>

What do you mean trap?  Consult mmap(2), and use Zoerst's 
mmap() patches for the kernel.  

mmap(2) will map a file into your program's address space.  
When used with /dev/mem, this allows you to map any portion 
of the 4GB virtual address space into your processes' address
space, such as the frame buffer.

>Comments?


See above.

>p.s.  Please don't write back telling me how terrible DOS is.  I have
>many useful programs for DOS, and everything I sell is written for
>DOS.  I can't give it up.
>

DOS is terible, blech, how heinous =8^). 

"The best thing about X is that it allows me to have 6 command lines 
at the same time"

Newsgroups: comp.os.linux
From: kaleb@thyme.jpl.nasa.gov (Kaleb Keithley)
Subject: Re: Yet another X question
Keywords: X Windows
Organization: Jet Propulsion Laboratory, Pasadena, CA
Date: Wed, 15 Apr 92 17:43:46 GMT

In article <mper.703312424@uipsuxb> mper@uipsuxb.ps.uiuc.edu (Michael Pereckas) writes:
>I know it is sort of early to be asking this, but does anyone have a 
>guess as to how much disk space X Windows will
>need?  I'm trying to get a handle on how much money I'll have to
>come up with to upgrade my system to run it when it becomes 
>available.  I know better than to ask when that will be.
>

When I built R5 under ESIX V4, (and didn't do contrib, docs, or the 100dpi
fonts, but did do shared AND static libs) it used >100 meg.


-- 

Kaleb Keithley                               kaleb@thyme.jpl.nasa.gov

Not authorized, in any way, shape, or form, to speak for anyone.
From: hlu@phys1.physics.wsu.edu (Hongjiu Lu)
Newsgroups: comp.os.linux
Subject: Re: gcc-2.1 header files
Date: 9 Apr 92 18:54:02 GMT
Article-I.D.: serval.1992Apr9.185402.20502
Organization: Washington State University

In article <1992Apr7.145523.16329@athena.cs.uga.edu>, knapka@athena.cs.uga.edu (Joseph Knapka) writes:
|> H.J. asked me to forward this exchange to the newsgroup:
|> 
|> I said:
|> >> Kernel build of .95c went fine, but when compiling ps, I get
|> >> "undefined symbol __ctype referenced from text segment" while linking
|> >> ps.o. This is with very latest gcc-2.1, libraries, and binutils from
|> >> banjo. I linked xxx/src/linux/lib/ctype.o and got it to compile, and
|> >> (seems that) everything works. Did I do the right thing?
|> >> 
|> >
|> 
|> H.J. said:
|> >No. Please get my 2.1ps.tar.Z, 2.1kernel.tar.Z and apply Linus's second
|> >patch first. When compile any application, do not use ANY header files
|> >from ./linux/include.

That is not totally right. Here again.

I am enclosing a program, conv. You run it under ./linux. That program will ensure only one set of header files is needed for compiling appplications and
kernel.

Before you run it, you have to have gcc 2.1 beta, mv, cp and sed
installed on your system.

Before you do anything, please backup gcc 2.1 and kernel sources. Here
goes.

Step 1: Apply Linus's second patch and then my 2.1kernel.tar.Z.

Step 2: Read conv and understand what it is doing. Then go to the
	toplevel of kernel source tree and do

	conv

Step 3: Edit the toplevel Makefile and add -DPRE_GCC_2 to CFLAGS.
	You have to get rid of "-nostdinc -Ixxxx" stuff since
	./include has been moved to /usr/include.

Step 4: Type

	make

If you have any problem, please let me know.

H.J.
------------CUT HERE------
#!/bin/sh
# you have to run this script under ./linux
INCS="a.out.h const.h asm linux"

# move ctype.h and string.h in kernel source, which are different from
# gcc 2.1 to ./include/linux.
mv ./include/ctype.h ./include/string.h ./include/linux

# copy those header files which don't exist in gcc 2.1 to /usr/include
for h in $INCS
do
  cp -r ./include/$h /usr/include/$h
done

# move ./include to ./include.kernel
mv ./include ./include.kernel

# change
#include <ctype.h>
#include <string.h>
# to
#include <linux/ctype.h>
#include <linux/string.h>
#
DIRS="boot fs init kernel lib mm"
for d in $DIRS
do
  for f in $d/*.c $d/*.h $d/*/*.c $d/*/*.h
  do
    if [ -f $f ]
    then
      sed 's,<ctype.h>,<linux/ctype.h>,' $f | sed 's,<string.h>,<linux/string.h>,' > 1
      mv 1 $f
    fi
  done
done
Newsgroups: comp.os.linux
From: news@solitary.Stanford.EDU (System test)
Subject: kernel building problems
Organization: Stanford University, California
Date: Fri, 10 Apr 1992 15:38:57 GMT

I've been going crazy trying to get either 0.95c or 0.95c+ to
compile with gcc 2.1.  Which of these is the "second patch" to
which H.J.'s patch is to be applied?  

In any event, the makefiles don't seem to work correctly for me and
I don't know how to fix them.  The include files aren't found
when the various directories are stepped into.

I screwed around until I got most everything to compile but can't
get build to link. ld complains about an invalid offset for _write.
Does anyone know what might cause this.

Thanks

Don Taber
news@solitary.stanford.edu

Newsgroups: comp.os.linux
From: chojnows@osiris (Brian Chojnowski)
Subject: Re: ESDI drives
Organization: University of Illinois at Urbana
Date: Thu, 16 Apr 1992 03:29:03 GMT


	mkfs was able to format the partition that I had prepared, but
mount gave me an error 2. Does anyone know what this error pertains to?
I am using an ESDI drive. Other than that, I have followed the installation
guildlines. They were pretty simple, I prepared the 95a boot and root diskes
on 1.2M floppies, set a partition with fdisk, that fdisk on linux was able
to read, then did mkfs -c /dev/hda2 (was second partition). That worked
fine, but got error 2 for mount /dev/hda2 /user.
From: techs@triton.unm.edu (Erik Fichtner)
Newsgroups: comp.os.linux
Subject: Linux Drivers and Kernel question.
Date: 6 Apr 92 20:08:38 GMT
Article-I.D.: lynx.hapj04k
Organization: University of New Mexico, Albuquerque

Is there an ethernet driver in the works?  along with patches to ka9q to
make ethernet work? 

How about multiterminal boards?  I've got a Digichannel PC/xi 16port serial
board... I don't have docs, and I haven't the foggiest where to begin to
write a driver for it.  Anyone else out there have neat hardware like this too?
..didn't think so. oh well.    

is there a "Driver Hackers FAQ" out there somewhere to aide those people 
who want to add their custom hardware? 

Kernel question: I'm running 0.95.  i still haven't gotten around to installing
0.95a, as it doesn't offer me much... however, all the kernel patches don't
work for 0.95.  now we're up to 0.95c (in patch form only,..)   is there a way
I can just download the root/boot image disks and do some quick and dirty 
manipulation to grab the new kernel without having to rebuild the entire system?
..no, i don't have the kernel source online yet..  it's a real low priority..
I'm still looking for a complete working Unix enviornment before I go patching
away at the kernel.  ( I came to Linux from SVR4, not dos.. I want that level
of functionality! :-) 
 
Oh...  yet another question.. is anyone working on X windows for Linux?  It does
not have to be X11r5 or anything... older r3 or r4 is plenty of functionality 
at least to start out with..   somewhere i saw someone complaining that it 
reqiured 300 megs to compile X and several days of time....  there's gotta be
*someone* out there with enough space to produce one good working binary.. 
X isn't something you need to have the source online for, IMHO... once it's 
working, leave it alone..  (No, i'm obviously not an X junkie.. i just need
xv and some other graphics manipulation tools and that's it. virtual consoles
are faster than point-and-click)  
 

 

-- 
Techs		techs@triton.unm.edu 
Disclaimer: any inaccuracies are caused by the phase of the moon
"...whaddya mean I ain't kind... Just not *your* kind!" - Megadeth
Newsgroups: comp.os.linux
From: joel@wam.umd.edu (Joel M. Hoffman)
Subject: Another bug? [was Re: linux-0.95c known bugs]
Organization: University of Maryland, College Park
Date: Thu, 9 Apr 1992 20:02:44 GMT

In article <1992Apr8.090321.7673@klaava.Helsinki.FI> torvalds@klaava.Helsinki.FI (Linus Benedict Torvalds) writes:
>Well, only one known bug so far, but a couple of problems. I thought I'd
>mention them before anyone else does, and we'll call them "features" :^)

More than once, I've gotten a message about mis-linked processes.  I
usually get it when I'm compiling from one VC and using Kermit
interactively on another, but most of the time I'm compiling and using
Kermit....

I'm using a patched .95a kernel, GCC 1.40, and the kermit binary from
tsx (running on a Dell 325D -- '386DX with 2M).

-Joel
(joel@wam.umd.edu)