Subject: Linux-Development Digest #945
From: Digestifier <Linux-Development-Request@senator-bedfellow.MIT.EDU>
To: Linux-Development@senator-bedfellow.MIT.EDU
Reply-To: Linux-Development@senator-bedfellow.MIT.EDU
Date:     Mon, 25 Jul 94 03:13:26 EDT

Linux-Development Digest #945, Volume #1         Mon, 25 Jul 94 03:13:26 EDT

Contents:
  Re: GOTO haters ..Re: Linux Performance Enhance ? (Grant Edwards)
  Memory problems. (Rob Kooper)
  using RS232 from program ? (Steffen W. Schilke)
  Re: New Linux kernels won't boot (Daniel G. Link)
  Re: New Linux kernels won't boot (Daniel G. Link)
  Re: 1.1.34 stuff (Janne Sinkkonen)
  Re: IDE patch won't work w/new kernels? (Scott Howard)
  Re: Linux Performance Enhance ? (Martin Sohnius)
  Bug? Bursty refresh in emacs under X in 1.1.x (Delman Lee)
  Re: Xfree86: increase pallate? (Dirk Hohndel)
  Kernel configuration Program (Tom Briggs)
  Re: IN2000, 1540cf support?? (Eric Youngdale)
  Re: IDE patch won't work w/new kernels? (Simon Ferrett)
  Re: gcc 2.6.0 and aha152x.c error (Rob Janssen)
  Re: Stacker driver? (Johannes Stille)
  Re: fact on linux vs sun (Tom Briggs)

----------------------------------------------------------------------------

From: grante@reddwarf.rosemount.com (Grant Edwards)
Subject: Re: GOTO haters ..Re: Linux Performance Enhance ?
Date: Fri, 22 Jul 1994 15:30:29 GMT

David Holland (dholland@husc7.harvard.edu) wrote:

:  > in other words, the compiler knows the _implementation_ of my
:  > used constructs. So it has no difficulty at all in translating my
:  > code into goto jumps.

: Yes, obviously, but why spew all the gibberish like your previous
: two paragraphs?

:  > Please learn some programming... (it's a science, you know)

: Oh, that's why.

: Sorry. Programming is still an art.

I like to think of it as a craft.  A subtle distinction, I admit.

: When somebody comes up with a real mathematical foundation for it,
: maybe it will become a science.

Then it will be math.  When I was in school the CS and math
departments shared deparmental offices and faculty.  Science is about
trying to describe the physical world.  Computer "Science" is a field
of math.  There's nothing wrong with math -- some of it is quite
useful and/or interesting, but it's not science.

You know what they say:

    Any field with "science" in it's name probably isn't.

--
Grant Edwards                                 |Yow!  While you're chewing,
Rosemount Inc.                                |think of STEVEN SPIELBERG'S
                                              |bank account..  This will
grante@rosemount.com                          |have the same effect as two
                                              |``STARCH BLOCKERS''!

------------------------------

From: afsta014@IS.TWI.TUDelft.NL (Rob Kooper)
Subject: Memory problems.
Date: Sun, 24 Jul 1994 21:20:25 GMT

Hi,

I'm using kernel 1.1.34 and it looks like I'm losing memory. After a couple
of compiles the system just hangs, busy swapping or so. When I try to
reboot the system it complains about out of memory when reading mtab. I
have killed, and so did shutdown, all the processes.

When the system is back up I can compile again but after a few compiles I
have the same problem again. Anybody else seen this problem?

Rob
-- 

                                        Rob Kooper (rob@IS.TWI.TUDelft.NL)

------------------------------

Crossposted-To: comp.os.linux.help,comp.os.linux.misc
From: sws@tora.RoBIN.de (Steffen W. Schilke)
Subject: using RS232 from program ?
Date: Sun, 24 Jul 1994 11:36:18 GMT

Hi,

I plan to write a framegrabber software to control and access a 
framegrabber which is connected via a RS232 to my LinuX box. I
would like to know how to set the speed of a serial port (is
up to 115200 bps possible ?) and all the other tiny things I 
need to know ;-)

I think to access the serial port I can use C's fopen and the
fgetc/fputc, or ?

ThanX a lot             steffen


--
[Standard Disclaimer] in addition I would like to speak with my lawyer ....
S. Schilke; PoBox 1213; 61102 Bad Vilbel; Germany  a.k.a  sws@tora.RoBIN.de
                  Sokonoke Sokonoke tora-sama ga touru
$@%9%F%U%'%s(J  $@CN2H!Z%7%k%1![(J  $@$=$3$N$1$=$3$N$18WMM$,DL$k(J
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

------------------------------

From: scrooge@cyclone.in-berlin.de (Daniel G. Link)
Subject: Re: New Linux kernels won't boot
Date: 21 Jul 1994 17:07:25 -0000

jimc@zachary.riva.com (James E. Carpenter) writes:

>When I boot the new kernel, it seems fine up to where it prints the kernel
>version. Then it just hangs. No partition check or anything. I have configured

I've got the same problem on a 486DX2/66. The only kernel that always
works is 1.1.24. The older ones starting from 1.1.13 and the newer ones (until
1.1.28) hang after mounting the root partition. (I didn't check EVERY 
patchlevel.)

It works if I backup the root partition, delete it and write it back. Could it
be those kernel don't like unchecked partitions (I hardly ever check them) ?

- Daniel
-- 
+==============================================================================+
                              cyclone.in-berlin.de
                               + 49 30 304 55 57
                              Public Linux System

------------------------------

From: scrooge@cyclone.in-berlin.de (Daniel G. Link)
Subject: Re: New Linux kernels won't boot
Date: 21 Jul 1994 17:09:03 -0000

slouken@cs.ucdavis.edu (Sam Oscar Lantinga) writes:

>       I had the same problem myself, but when I did 'make clean; make dep'
>and then remade the kernel, it worked fine.  It seems that 'make clean'
>is a vital step with the new kernel patches coming out. 

That made NO change.

- Daniel 
-- 
+==============================================================================+
                              cyclone.in-berlin.de
                               + 49 30 304 55 57
                              Public Linux System

------------------------------

From: janne@avocado.pc.helsinki.fi (Janne Sinkkonen)
Subject: Re: 1.1.34 stuff
Date: 24 Jul 1994 16:28:27 +0300

In article <JUHA.VIRTANEN.94Jul24004814@gamma.hut.fi>,
Juha Virtanen <jiivee@hut.fi> wrote:
>>>>>> On Sat, 23 Jul 1994 12:00:15 GMT,
>c9108932@sage.newcastle.edu.au (Simon Ferrett) said: 
>
>:> swap_duplicate: trying to duplicate unused page
>
>I have also seen these messages. In my system they came from
>atrun which was unable to run due to this problem. I also got a
>message "swap-space map bad...".

I got these messages when I had a bad RAM chip in my computer. After
replacing that, the messages disappeared. Probably nothing to do with
your problems but anyway...

Janne

------------------------------

From: c9219517@sage.newcastle.edu.au (Scott Howard)
Subject: Re: IDE patch won't work w/new kernels?
Date: Sun, 24 Jul 1994 23:14:02 GMT

Timo Kokkonen (tjko@tarzan.math.jyu.fi) wrote:

: IDE Performance Patch v2.0 [by Mark Lord] doesn't work with new 
: WD540 drives??? Or is it just my kernel 1.1.30 that causes the problem?

There's a very simple reason for this - they are already in the kernel!!

  Scott.

------------------------------

Crossposted-To: comp.lang.c
From: msohnius@novell.co.uk (Martin Sohnius)
Subject: Re: Linux Performance Enhance ?
Date: Thu, 21 Jul 1994 22:00:47 GMT

Lawrence Kirby (fred@genesis.demon.co.uk) wrote:
: In article <Ct6HJw.GDI@and.nl> jos@and.nl "Jos Horsmeier" writes:

: >Not that it matter much actually, but I beg to differ here. Duff's
: >device is an application of a very sneaky loophole in the syntax
: >of the C language with very interesting semantical consequences ...
: >I think I like that thingie ...

: I agree that C is one of the languages where it can be implemented but it
: isn't the only one (clearly it can be implemented in machine code so
: it isn't inherently a C language issue).

What is a C issue, then?

--
                        +--------------------------------------------+
Martin Sohnius          | "It doesn't matter whether the cat is      |
Novell Labs Europe      |  black or white, as long as it catches     |
Bracknell, England      |  mice."      - Deng Xiaoping               |
+44-344-724031          +--------------------------------------------+
                        (I speak for myself, not for Novell or anyone else.)

------------------------------

From: delman@mipg.upenn.edu (Delman Lee)
Crossposted-To: comp.windows.x.i386unix
Subject: Bug? Bursty refresh in emacs under X in 1.1.x
Date: 25 Jul 1994 00:03:03 GMT

Hi! First some system info:
  486DX2-66, Asus PCI/I-486SP3G (PCI/ISA) motherboard, XFree86 2.1.1,
  emacs 18.59, et4000 based ISA video card.

In X in 1024x768 using XF86_SVGA server, screen refresh in emacs with
CTRL-L becomes bursty and slow (chucks of text at a time with a long
interval before the next chuck) after about half a dozen of
consecutive CTRL-L's. The bug is repeatable. It appears in Linux
1.1.{19,24,27,34}.

It does not appear in Linux 1.0.8, nor in X using XF86_VGA server.

It haven't seen this bug with my old 386SX ISA motherboard.

So I don't know whether it's a bug in Linux or XFree86 or my new
PCI/ISA motherboard. Any comments? Any other Asus SP3(G) Linux users
having the same problem?

Thanks, Delman.
--
______________________________________________________________________

  Delman Lee                                 Tel.: +1-215-662-6780
  Medical Image Processing Group,            Fax.: +1-215-898-9145
  University of Pennsylvania,
  4/F Blockley Hall, 423 Guardian Drive,                         
  Philadelphia, PA 19104-6021,
  U.S.A..                            Internet: delman@mipg.upenn.edu
______________________________________________________________________

------------------------------

From: hohndel@aib.com (Dirk Hohndel)
Subject: Re: Xfree86: increase pallate?
Date: Fri, 22 Jul 1994 16:32:43 GMT

Phil Johnson (johnsonp@sscnet.ucla.edu) wrote:
: In article <30ne0u$6gm@nic.umass.edu>,
: Christopher M. May <cmay@titan.ucs.umass.edu> wrote:
: >Chris Csanady (ccsanady@iastate.edu) wrote:
: >: I know that implementing true 24-bit graphics in Xfree would be quite
: >: a task, but how about just increasing the size of the colormap for
: >: now?  Maybe from 256 to 4096 or something.  Is this possible?
: >
: >: -chris(ccsanady@iastate.edu)
: >: -- 
: >
: >I heard that millions of colors would arrive with XFree 3.1

: Perhaps you are joking, but someone out there will believe you.  
: XFree86[tm] 3.1 will not increase the colors available.


I always wonder where you guys get the information about what we're 
going to do, that you spread here as facts...

Funny.

        Dirk
-- 
Dirk H. Hohndel <hohndel@aib.com>                 Phone: (703) 430-9247  
AIB Software Corporation                          Fax:   (703) 450-4560 
46030 Manekin Plaza, Suite 160, Dulles, VA 20166

------------------------------

From: tbriggs@cutter.ship.edu (Tom Briggs)
Subject: Kernel configuration Program
Date: 25 Jul 1994 00:12:09 GMT


Does their currently exist a better frontend for making a new Linux
kernel other than "make config", thats OK, but if you want to say
change the IRQ of a bus mouse, you need to manually edit include files 
etc, etc.

I'm interested in creating one if their isn't one out there.
Please send mail to tbriggs@cutter.ship.edu if you have any suggestions...

Thanks,
Tom


------------------------------

From: ericy@cais.cais.com (Eric Youngdale)
Subject: Re: IN2000, 1540cf support??
Date: 25 Jul 1994 05:25:42 GMT

In article <30s6q5$4cj@usenet.INS.CWRU.Edu>,
Jerod Tufte <jet@b62528.student.cwru.edu> wrote:
>hardware version 39) and a Maxtor 7345 (340meg) drive.  Is there any
>chance that Bill or someone will release a driver updated for the latest
>kernels?  I'm more than happy to provide any info I can to try to debug
>this, or if someone would like to provide a pointer or two, I can
>try to mess with it again myself.

        Yeah, Bill sent me patches last week, but I did not get around to 
updating the stuff on tsx-11 until just now.  The theory is that once I 
get done shuffling things around that it will be possible to load the 
in2000 driver as a loadable module.  The fact that I picked up a in2000 
card real cheap means that I will probably attach my cdrom to it, and 
this might even be one of the first.  Do not expect anything usable 
anytime soon however.

-Eric

-- 
"The woods are lovely, dark and deep.  But I have promises to keep,
And lines to code before I sleep, And lines to code before I sleep."

------------------------------

From: c9108932@peach.newcastle.edu.au (Simon Ferrett)
Subject: Re: IDE patch won't work w/new kernels?
Date: Mon, 25 Jul 1994 05:30:11 GMT

c9219517@sage.newcastle.edu.au (Scott Howard) writes:

>Timo Kokkonen (tjko@tarzan.math.jyu.fi) wrote:

>: IDE Performance Patch v2.0 [by Mark Lord] doesn't work with new 
>: WD540 drives??? Or is it just my kernel 1.1.30 that causes the problem?

>There's a very simple reason for this - they are already in the kernel!!

>  Scott.

However I've been unable to find a hdparm program to dynamically set the
ide options... is there one floating around that will work with the 
ide patches that are now standard in the kernel or will I have to
resort to changing the defines in hd.c ?

                        .. Simon ..
-- 
Simon Ferrett - c9108932@cs.newcastle.edu.au
Floccinaucinihilipilification: the action or habit of estimating as
=============================  worthless.

------------------------------

From: rob@pe1chl.ampr.org (Rob Janssen)
Subject: Re: gcc 2.6.0 and aha152x.c error
Reply-To: pe1chl@rabo.nl
Date: Thu, 21 Jul 1994 19:03:37 GMT

In <34TQBIOR@math.fu-berlin.de> mielke@omega.physik.fu-berlin.de (Bernd Mielke) writes:

>I tried to complie 1.1.31 with gcc 2.6.0

>and got the following message

>gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
>-fomit-frame-pointer -pipe -m486 -DDEBUG_AHA152X -DAUTOCONF -c aha152x.c 
>gcc: Internal compiler error: program cc1 got fatal signal 11
>make[2]: *** [aha152x.o] Error 1
>make[2]: Leaving directory `/usr/src/linux/drivers/scsi'
>make[1]: *** [driversubdirs] Error 1
>make[1]: Leaving directory `/usr/src/linux/drivers'
>make: *** [linuxsubdirs] Error 1

>Any comments??

This is generally considered to be a problem with your memory or cache.

When you know what you are doing, you can sometimes repair this by
modification of memory timing in the CMOS SETUP.  Sometimes only replacement
of the cache RAMs helps.

Rob
-- 
=========================================================================
| Rob Janssen                | AMPRnet:   rob@pe1chl.ampr.org           |
| e-mail: pe1chl@rabo.nl     | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU     |
=========================================================================

------------------------------

From: johannes@titan.westfalen.de (Johannes Stille)
Subject: Re: Stacker driver?
Date: Sun, 24 Jul 1994 11:54:56 GMT

In article <30o8k2$q8n@ousrvr.oulu.fi> jtklehto@stekt.oulu.fi (Janne Kukonlehto) writes:
[...]
>
>Dosemu can use Linux filesystems (by using emufs.sys-driver) and
>Stacker works under dosemu. It should therefore be possible to make
>Linux to be able to use dosemu filesystems including stacked drives.

Yes.

>It could be as simple as a little program which runs under dosemu and
>copies files when requested from stacked drive to Linux filesystem and
>deletes them when no longer used. It only needs to made really
>transparent.

It can be done completely transparently by combining a few existing
programs:

Run SOSS (a free NFS server) under dosemu, talking to the Linux kernel
with SLIP over a pseudo terminal device. I have tested this; it was
_very_ slow, but worked.
I don't have any compressed DOS drives, though.

The same trick can be used to access Netware volumes via a Netware
client running under dosemu.

If you want to try this, please mail me for details.

        Johannes

------------------------------

From: tbriggs@cutter.ship.edu (Tom Briggs)
Subject: Re: fact on linux vs sun
Date: 25 Jul 1994 04:24:17 GMT

Supat Faarungsang (supat@nuntana.animal.uiuc.edu) wrote:
: I test sun4.1.1 on sparcII vs linux1.1.29 on 486dx-50 and found that
: in all features linux has greater performance
: speed is about 10% faster on linux in all kind of programs.

: My friends say this should not possible and run floating point
: on sun should be much faster but I test several times
: linux always 10% faster than sun.

: Is anyone has the same experiance?

Well Supat, I've read a bunch of replies to your message, and I can offer
the following:

I just installed a Gateway Pentium 66mhz machine.  Its got 16Mb of memory,
a PCI bus with PCI ET4000 vidoe card and PCI IDE controller.  Its got an ISA
16-bit ethernet card, nothing too out of the ordinary.  This machine is
for a new physics professor here on campus.  

Here is the pont of the story :: someone said give the machine a calculation
(or set thereof) and compare it to the Sun.  Well, in this case I didn't have
a Sun handy, but the Prof. did the same computational analysis programs on
a DEC station which was TOP of the line about 1 year or two ago...  So, 
here is the jist:
its a calculation that soaks up memory, and generates data on a 32x32 
linear matrix for the comuptaion of a rotational wave (?), anyway, it 
used to take 4 hours on a DEC station, and took 6 hours on a 486/33 (this 
machine), and it took -- 45minutes on the new pentium.  
For those who are still non-believers, next (after he settled down from
shock), he broughout a program that generated 3d 32x32x32 matrices for
32 analysis.  We are talking MASSIVE formualae, MASSIVE amount of data, 
and MASSIVE amounts of calculations.  This program was not runnable in
a human lifetime (well, within 12 hours) on the high end DEC station, 
however it took a smooth 2 hours on the Pentium. Unfortunately, LInux
on a Pentium couldn't quite compete with the only other machine that this
program could run on, and that was a Connection SuperComputer with 
32,768 vectored high speed processors (it took one hour there).

So, in answer to your question, give Linux a decent processor, a realistic
system bus, and it will give you speed beyond the workstation edge.  I was
impressed, let me tell you.  I've run UNIX on 386's, 486's, and now Pentiums,
I've run UNIX on a MIPS/3000, on a RS/6000, on a Sun sparc I,II,IV, and IPC,
and some older junk.  I've learned to live with idiosyncracies, and I've
learned to stroke an OS to get what I want out of it.  Linux has proven
time and time again to be a handler of load, a speed demon, and fairly
reliable.  There are still some idiosyncracies that I'd like to see
removed, but compared to some of the ideosyncracies of SunOS 4.1, I'd
take Linux anyday.

I'll give you the final word on all of this when our new Sun 5 comes in,
and I'll make it run ONLY the same computational analsys program that
that professor run (I'll tip the balance in Sun's favor as much as I can),
and see what happens --

P.S. Someone said before that a 486 is similar in speed to an IPC, I'd
like to see the IPC running with say 12 or more users, and 6 of them running
Xwindows controlled from the 486/33 platform (ie. XDMCP over ethernet - AND
all of them going through the ethernet card (no serial terminals).  The
machine that I am on is a Gopher server, an FTP server, and campus wide
access point.  I've got over 120 user accounts on here, and on the
average, I"ve got about 5 users, but sometimes up to about 10-15, and
the system handles it just fine.....  My challenge is fecious, I know that
an IPC will not handle that kind of load, we've got one, and it chokes
on 3 or 4 users.

Tom...
Linx Advocate



Tom
(SEVERE Linux advocate)
 

------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: Linux-Development-Request@NEWS-DIGESTS.MIT.EDU

You can send mail to the entire list (and comp.os.linux.development) via:

    Internet: Linux-Development@NEWS-DIGESTS.MIT.EDU

Linux may be obtained via one of these FTP sites:
    nic.funet.fi				pub/OS/Linux
    tsx-11.mit.edu				pub/linux
    sunsite.unc.edu				pub/Linux

End of Linux-Development Digest
******************************
