Linux-Development-Sys Digest #184, Volume #8      Sun, 1 Oct 00 19:13:10 EDT

Contents:
  re. Rage Fury 128 & Suse 6.3 ("Stephen")
  ATI Rage Fury 128 and Suse 6.3 ("Stephen")
  Re: [How to kill process which use device-file??] (nospam@nospam)
  Re: problem with ftp (devren bennett)
  execve: how access return value? ([EMAIL PROTECTED])
  and also!! ([EMAIL PROTECTED])
  Obtaining some system parameters ("Pieter Thysebaert")
  Re: new windowing system (Nix)
  Re: Obtaining some system parameters (Kari Pahula)
  Re: problem of packet dropping in kernel (ewrv)
  Re: new windowing system (Juliusz Chroboczek)
  Re: Per process, per user network bandwidth limiter ([EMAIL PROTECTED])
  Re: Linux Stack Sizes? (0/1) (Philip Armstrong)
  question about memory leaks in linux (Matthew Gatto)
  Re: re. Rage Fury 128 & Suse 6.3 (Karl Heyes)
  Re: and also!! (Karl Heyes)

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

From: "Stephen" <[EMAIL PROTECTED]>
Subject: re. Rage Fury 128 & Suse 6.3
Date: Sat, 30 Sep 2000 20:16:52 -0400

Dumb-ass question, but..   Everything points to getting XF86 v. 4.0.1  to
solve my video card problem.  (ATI Rage Fury 128) However..... when visiting
http://www.xfree86.org/  , I was kinda expecting one, neat rpm file to
pick-up. It does not seem to be the case .  It looks like I have to pick up
10, plus potentially another 10 more (depending on what the Installer script
reports after running it! ).  Can't I just pick up 1 rpm, install and then
run SAX  and let bloody Linux (oups.. ) figure it out..?

Signed,

  Slighty frustrated






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

From: "Stephen" <[EMAIL PROTECTED]>
Subject: ATI Rage Fury 128 and Suse 6.3
Date: Sat, 30 Sep 2000 20:19:36 -0400

Dumb-ass question, but..   Everything points to getting XF86 v. 4.0.1  to
solve my video card problem.  (ATI Rage Fury 128) However..... when visiting
http://www.xfree86.org/  , I was kinda expecting one, neat rpm file to
pick-up. It does not seem to be the case .  It looks like I have to pick up
10, plus potentially another 10 more (depending on what the Installer script
reports after running it! ).  Can't I just pick up 1 rpm, install and then
run SAX  and let bloody Linux (oups.. ) figure it out..?

Signed,

  Slighty frustrated




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

From: nospam@nospam
Crossposted-To: comp.os.linux.development.apps
Subject: Re: [How to kill process which use device-file??]
Date: 30 Sep 2000 20:27:49 -0700

In article <[EMAIL PROTECTED]>,
Bomshik says...
 
>Namely, After getting the p_id of process which use specific 
>device file(/dev/dsp), and kill it(p_id).  how??
 
kill -9  <pid>


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

From: devren bennett <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,comp.os.linux.setup,linux.redhat.install
Subject: Re: problem with ftp
Date: Sat, 30 Sep 2000 09:34:21 -0800

depending on the install.  make sure you have ftp.  by default(most of the
time) ftp isnt started by automaticaly.

[EMAIL PROTECTED] wrote:

> In article <[EMAIL PROTECTED]>,
>   [EMAIL PROTECTED] (Stefaan A Eeckels) wrote:
> > In article <8r0jft$8g1$[EMAIL PROTECTED]>,
> >       "jhuman" <[EMAIL PROTECTED]> writes:
> > > I get this error when trying to ftp to one of my linux boxes on private
> > > lan....
> > >
> > > 421 Service not available, remote server has closed connection
> > >
> > > What does this mean and how do I fix it....
> >
> > Usually, it's because of badly configured tcpwrappers.
> >
>
> I don't think so. I have the same problem with a RH6.2 and there are *not*
> tcpwrappers around in the LAN...
>
> Any suggestions?
>
> Martin
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.


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

From: [EMAIL PROTECTED]
Subject: execve: how access return value?
Date: Sun, 01 Oct 2000 16:40:11 +1000

G'day,

        I am calling a program from within the kernel using execve(). execve()
doesn't return if it executes the program successfully.... and Iwant to
access the return value that the program I call returns..

any ideas on this?

thanks

dan

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

From: [EMAIL PROTECTED]
Subject: and also!!
Date: Sun, 01 Oct 2000 16:45:05 +1000

Sorry I forgot,

        also how do I stop the kernel so as to wait for that return value!

cheers
dan

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

From: "Pieter Thysebaert" <[EMAIL PROTECTED]>
Subject: Obtaining some system parameters
Date: Sun, 1 Oct 2000 13:05:26 +0200

Hi...

I'm currently concerned with measuring the "load" on workstations.
Now I understand that it it is impossible to define "THE" load on a
computer, but let's assume it's got something to do with parameters like
CPU usage, number of running processes, disk IO, network traffic, free
memory...

Are there any system calls or more or less easy procedures to obtain the
mentioned parameters ?

I know the answer to the following question is probably no, but : Is there
an acceptable way of "calculating a/the load" out of the parameters
mentioned above ?
(So like one absolute value (an integer for instance) that would allow to
compare loads ?)

As a side question : how should I rate the difference between 10% CPU load
on a 486 en 10% CPU load on a Pentium 3 ?
Something like dividing the load percentage by the CPU's clock frequency ?


Pieter




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

From: Nix <$}xinix{[email protected]>
Crossposted-To: comp.os.linux.x,comp.windows.x
Subject: Re: new windowing system
Date: 01 Oct 2000 01:24:06 +0100

[re-arranged in conventional posting order]

"Fr�d�ric G. MARAND" <[EMAIL PROTECTED]> writes:

> Nix <$}xinix{[email protected]> a �crit dans le message :
> [EMAIL PROTECTED]
> 
> > `no amount of Zen contemplation will ever make you at one
> >  with a 3c905B ethernet card.' --- Alan Cox
> 
> Would you happen to know what he meant by that ? I've my own version of
> 3c905b hell, but I'd like to know what's his.

This was in the debuggers-from-hell thread; his point was, I think, that
if the hardware is causing a bug then staring at the code will not
reveal the problem, as there isn't a problem with the code at all ---
but running it through a debugger will reveal the misbehaving hardware.

-- 
`Ergotism is what you get if you overuse the word "therefore". Egotism
 on the other hand is a form of "I" strain.' --- Paul Martin

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

Subject: Re: Obtaining some system parameters
From: Kari Pahula <[EMAIL PROTECTED]>
Date: 01 Oct 2000 15:54:45 +0300

"Pieter Thysebaert" <[EMAIL PROTECTED]> writes:

> Hi...
> 
> I'm currently concerned with measuring the "load" on workstations.

There's a wealth of system information in /proc .  See man proc .

       loadavg
              The load average numbers give the number of jobs in
              the run queue averaged over 1, 5 and 15 minutes.
              They are the same as the load average numbers given
              by uptime(1) and other programs.

> As a side question : how should I rate the difference between 10% CPU load
> on a 486 en 10% CPU load on a Pentium 3 ?
> Something like dividing the load percentage by the CPU's clock frequency ?

There are a lot of other issues affecting computer speed than mere
clock frequency.  Different architechures can't be compared so
easily.  Have a look at BogoMips HOWTO.

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

From: ewrv <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: problem of packet dropping in kernel
Date: Sun, 01 Oct 2000 14:30:06 -0000


??? wrote:
> 
> I'm curious about the behavor of linux kernel on DDoS.(ie, flodding
packets)
> The result of my test is as follows:
> 1. When there are too much incomming packets, network drivers begin to
cry.
> (saying, for example, "card reports no resource..")
> 2. The more the packets come, the less the kernel can process.
> (ex, when packets come at the rate of 130000 pkt/s, kernel processes
50000
> pkt/s,
> while when packets come at the rate of 90000 pkt/s, kernel processes
80000
> pkt/s)
> 3. After the kernel is stressed by the packets for 10's of seconds,
kernel
> begins to drop all the packets.
> 4. After 10's of seconds, kernel restarts processing packets normally.
> 
> Reasons:(?)
> 1. I thought the network driver might make that problem.
> When it's stressed too much, it might be locked for seconds... But I
think
> it's not probable now.
> I've tested 3com, eepro100, realtek which gave the same result.
> 
> 2. I think there is codes somewhere in the kernel which makes the kernel
> drop normal packets on some condition.(when it should not)
> For example, the netdev_max_backlog variable in net/core/dev.c is fixed
to
> 300.
> I don't know what the value means and why it's fixed to that value.
> 
> any idea?
> 
> 
> 
If you have a current 2.2 kernel IE 2.2.17 tah issue to following command
on start up 
echo "1" > /proc/sys/net/ipv4/tcp_syncookies

This prevents denyal of service attacks!


--
Posted via CNET Help.com
http://www.help.com/

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

From: Juliusz Chroboczek <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,comp.windows.x
Subject: Re: new windowing system
Date: 01 Oct 2000 16:42:06 +0100

Nix <$}xinix{[email protected]>:

N> Using CORBA was probably right. It's just a super-RPC, is all. And it
N> *is* damned useful. It's another componenting scheme, no better or worse
N> than pipelines [...]

As far as I recall, Corba doesn't support reliable asynchronous
communication.  (Neither does Sun RPC, by the way.)

                                        J.

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

From: [EMAIL PROTECTED]
Subject: Re: Per process, per user network bandwidth limiter
Date: Sun, 01 Oct 2000 13:58:56 +0200

> Would anyone else be interested in such a feature?
I think it could be a cool feature

Simone Contini
Games & Tools Programmer
Florence - Italy

Email: [EMAIL PROTECTED]
WWW: http://3dfx4ever.oltrelinux.com/
     http://scontini.monrif.net/

ICQ # : 25879128

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

From: [EMAIL PROTECTED] (Philip Armstrong)
Subject: Re: Linux Stack Sizes? (0/1)
Date: 1 Oct 2000 18:23:28 +0100

In article <[EMAIL PROTECTED]>,
MeekGeek  <[EMAIL PROTECTED]> wrote:
>Thanks for that juicy tidbit too.  We load some third-party libs as
>extensions, and it would be nice to protect our server's data when
>we're running inside the extension.  How expensive is it to turn this
>on and off repeatedly?  I assume it is a fairly expensive operation.
>We could probably support this for extension developers as an option
>they could use during the (unstable) development process.

'Use the source Luke' :)

mprotect() is in linux/mm/mprotect.c

I note that under 2.2.x it takes the big kernel lock; this has gone in
2.4.0pre8. It also seems to involve cache flushes + tlb flushes. I
think we can assume this makes it an expensive operation :)

Of course a few benchmarks might backup my handwaving...

Your code sounds hairy but fun :) I don't get to hack with OS
internals very much in the current job!

Phil


-- 
http://www.kantaka.co.uk/ .oOo. public key: http://www.kantaka.co.uk/gpg.txt


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

From: [EMAIL PROTECTED] (Matthew Gatto)
Subject: question about memory leaks in linux
Date: Sun, 01 Oct 2000 21:34:22 GMT

If I write a C program with memory leaks, after execution of the
program is over, will all that leaked memory be automatically
de-allocated by the linux kernel?  I was wondering what kind of
protections towards this type of thing the linux kernel has built in
to it so that I can comfortably develop in C with gcc, while not
having to worry about exhausting my system resources.

-- 
5:16pm  up 88 days, 12:43,  4 users,  load average: 0.00, 0.02, 0.00

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

From: Karl Heyes <[EMAIL PROTECTED]>
Subject: Re: re. Rage Fury 128 & Suse 6.3
Date: Sun, 01 Oct 2000 23:50:02 +0000

In article <BAvB5.6661$[EMAIL PROTECTED]>, 
"Stephen" <[EMAIL PROTECTED]> wrote:
> Dumb-ass question, but..   Everything points to getting XF86 v. 4.0.1  to
> solve my video card problem.  (ATI Rage Fury 128) However..... when visiting
> http://www.xfree86.org/  , I was kinda expecting one, neat rpm file to
> pick-up. It does not seem to be the case .  It looks like I have to pick up
> 10, plus potentially another 10 more (depending on what the Installer script
> reports after running it! ).  Can't I just pick up 1 rpm, install and then
> run SAX  and let bloody Linux (oups.. ) figure it out..?
> 
> Signed,
> 

The xfree86 don't deal with packaging for distributions, XFree86 4 is really a 
beta at the moment, it's just a issue for people with cards like mine that are
not  supported  by version 3.

goto rpmfind.net, or your local mirror.  RH7 has XF4 but uses a newer glibc
which will break the dependancies of your other, installed rpms.

karl.


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

From: Karl Heyes <[EMAIL PROTECTED]>
Subject: Re: and also!!
Date: Sun, 01 Oct 2000 23:59:08 +0000

In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
wrote:
> Sorry I forgot,
> 
>       also how do I stop the kernel so as to wait for that return value!
> 
> cheers dan


follow the same principle of unix, ie fork then execv.   fork is actually
implemented using the clone syscall.   The clone creates the process and then
exec overlays the new process on top of one of them.  use the wait call to
stall the calling process and get hold of the return value.  I think kmod does
something like this.

karl.


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


** 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: [EMAIL PROTECTED]

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

    Internet: [EMAIL PROTECTED]

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

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

Reply via email to