Linux-Development-Sys Digest #441, Volume #8     Wed, 24 Jan 01 23:13:10 EST

Contents:
  free developer - please help sociologically free software survey ("Jan Rasche")
  Re: Writing Athlon Code (bgeer)
  Re: Device Driver Engineers Needed-Great Opportunity!! (ChromeDome)
  Re: Writing Athlon Code (Nate Eldredge)
  discarding backing store ([EMAIL PROTECTED])
  Re: Writing Athlon Code (Maximilian Gauger)
  How to use network TP4 protocol on linux ("Mohammad Donyaee")
  Kernel Mods ver 2.2.X ???? (byteme)
  Determine Process Owner ([EMAIL PROTECTED])
  RAID tools cannot compile under 2.4.0 (George Houpis)
  Re: help needed.... (George Houpis)
  problem with print command in gdb(Linux) (Harry Wang)
  Re: Determine Process Owner ("Ian Jones")
  Re: Help needed with signals (Jerry Peters)
  VFS messages (Johnny Choque)
  The value of HZ (Zhihui Zhang)
  Re: The value of HZ (Jonathan Lundell)
  Device Driver Engineers Needed-Great Opportunity!! (larry)
  5th Annual Linux Showcase & Conference: Call for Papers (Sasha Keller)
  Re: The value of HZ (Zhihui Zhang)
  Re: RAID tools cannot compile under 2.4.0 (Markus Kossmann)
  Re: The value of HZ (Grant Edwards)

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

From: "Jan Rasche" <[EMAIL PROTECTED]>
Subject: free developer - please help sociologically free software survey
Date: Wed, 24 Jan 2001 16:49:23 +0100

hi2you!

Developer of free or open source software - please give me your opinion!

http://freesoftwaresurvey.unixprofis.de

this is my m.a. exam work in sociology - please do not note this as spam. 

my survey is dedicated to all of the developers of free and open software 
out there. the only sence of my survey is to test some theses about the
cooperation in common goods making. thats why i must ask you unsolicited, 
because i need your input!

thanks!


jan rasche

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

From: [EMAIL PROTECTED] (bgeer)
Subject: Re: Writing Athlon Code
Date: 24 Jan 2001 09:27:53 -0700

Maximilian Gauger <[EMAIL PROTECTED]> writes:

 >I am doing audio signal processing on an Athlon 800, using SuSE Linux 7.
 >Although the Athlon is pretty fast, I guess there might be a chance
 >to make it even faster using the 3DNow! architecture (or whatever 
 >AMD calls it at the moment).
 >...
 >Even a pointer to something explaining how to do this in assembler code 
 >would be very welcome.

Linux Journal had an article on this within the last year IIRC.  Try
searching their web site at www.linuxjournal.com.  In a nutshell, the
author[s] used the NASM assembler to build 3DNow instruction macros
that were inlined into their C code.

-- 
<> Robert Geer & Donna Tomky |    ||||                            ||||    <>
<>    [EMAIL PROTECTED]     |  ==    ==   Suddenly,            ==    ==  <>
<>    [EMAIL PROTECTED]    |  ==    ==   We feel enchanted!   ==    ==  <>
<>   Albuquerque, NM  USA    |    ||||                            ||||    <>

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

From: ChromeDome <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: Device Driver Engineers Needed-Great Opportunity!!
Date: Wed, 24 Jan 2001 16:29:32 GMT

larry wrote:
> 
> ******GREAT CAREER OPPORTUNITY*******
> 

Must be really great for you to post it 3 times to a newsgroup not
intended for job posting.

-- 
Homo Sapiens is a goal, not a description.

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

From: Nate Eldredge <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Writing Athlon Code
Date: 24 Jan 2001 10:30:26 -0800

Maximilian Gauger <[EMAIL PROTECTED]> writes:

> Hi all,
> 
> I am doing audio signal processing on an Athlon 800, using SuSE Linux 7.
> Although the Athlon is pretty fast, I guess there might be a chance
> to make it even faster using the 3DNow! architecture (or whatever 
> AMD calls it at the moment).
> 
> Does anyone know something about a library that makes use of these
> special features of the Athlon? I know about the agcc project, but
> this is alpha code and does not quite look like what I want. I rather 
> thought of a library offering vector multiplication support etc.
> 
> Even a pointer to something explaining how to do this in assembler code 
> would be very welcome.

There are several documents at AMD's web site that talk about 3DNow,
including a complete rundown of the instruction set.  You might start
with

http://www.amd.com/products/cpg/athlon/techdocs/pdf/22621.pdf

and look at some of the referenced documents in the Introduction.

> X-Posting across cold.apps and cold.system (I'm really not sure
> where this belongs to), F'up2 cold.system.

This isn't a kernel development topic, so .apps is more appropriate.
Followups set there.

-- 

Nate Eldredge
[EMAIL PROTECTED]

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

From: [EMAIL PROTECTED]
Subject: discarding backing store
Date: Wed, 24 Jan 2001 18:41:45 -0000

Is there a way in Linux to discard the backing store (at least for what
is using swap) for a given range of virtual addresses in the caller's
process?  In particular what I want to do is cause any dirty pages that
have not yet been written to backing store to never have to be written.
But I don't want to unmap the memory; I want its association with a
given backing object to be retained, but just that it won't be written
now unless I change it's contents again.

-- 
=================================================================
| Phil Howard - KA9WGN |   Dallas   | http://linuxhomepage.com/ |
| [EMAIL PROTECTED] | Texas, USA | http://phil.ipal.org/     |
=================================================================

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

From: Maximilian Gauger <[EMAIL PROTECTED]>
Subject: Re: Writing Athlon Code
Date: Wed, 24 Jan 2001 19:51:48 +0100

SVIC BSO wrote:

> Hi Max,
> 
> You can find the 3DNOW! library on the AMD Website!

Hi Cor,

sorry, I tried it - but without any success. Do you have an URL?

TNX

Max (trying to get some assembler stuff running)

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

From: "Mohammad Donyaee" <[EMAIL PROTECTED]>
Subject: How to use network TP4 protocol on linux
Date: Wed, 24 Jan 2001 14:08:12 -0500

Hi fellows,
I want to implement a transport interface for my application (Using TLI) on
linux RedHat 6.1, to communicate with the other machine( kind of
Client/Server). The server side is using an OSI stack (TP4 transport layer,
CLNP network layer, and of course device driver), How can I use the service
of TP4 and CLNP on my side(client). Is there any module for this transport
layer and connection less network layer on linux that I have to install? Or
like TCP/IP it is in kernel? Or there is nothing in this regard for linux?
In advance I appreciate.
Regards
MDonyaee





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

From: [EMAIL PROTECTED] (byteme)
Subject: Kernel Mods ver 2.2.X ????
Date: Wed, 24 Jan 2001 20:11:21 GMT

Does anyone know of a website / book that covers 2.2.x kernel modules, char devs / 
block devs


                        kevin

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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.security,comp.os.linux.misc
Subject: Determine Process Owner
Date: Wed, 24 Jan 2001 15:13:43 -0600

Is there a reliable way to determine (in a C program) whether the owner
of the current process is a logged-in user or otherwise (e.g., Apache)?

I tried a number of things, such as getlogin(), but none of them were
false-proof.  (getlogin() gives you the current login user, or null if
the program is called by Apache.  However, if  the program is run as
part of a pipe, getlogin() gives null no matter what.)

Thanks in advance!



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

From: George Houpis <[EMAIL PROTECTED]>
Subject: RAID tools cannot compile under 2.4.0
Date: Wed, 24 Jan 2001 15:07:12 -0600

Running kernel 2.4.0.

I cannot get raidtools 0.36 nor 0.50beta working.  It
seems that the source is assuming 2.2.x kernels only.
Is there a way to get the newest raidtools working
for 2.4.x?

George Houpis
[EMAIL PROTECTED]




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

From: George Houpis <[EMAIL PROTECTED]>
Subject: Re: help needed....
Date: Wed, 24 Jan 2001 15:15:25 -0600

Well, there is the "size" tool.  It tells you the 'text' size (which is the
code segment)
and the 'data', 'bss' etc.   But as the final executable size, it depends on
the linking.
Some function may never be used (and hence excluded) whereas others may be
added from libraries (especially if compiled statically.)

Checkout the tool "objdump" for detailed information about object files.  I do
not
know of tool that can determine the final executable size.  If you know one,
let me
know.

George Houpis
[EMAIL PROTECTED]



Nitin wrote:

> Hi,
>   Is there any way to estimate the size of an executable file , from object
> files before building executable file from these object files.....?
>
> Thanks in advance,
>
> Nitin


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

From: Harry Wang <[EMAIL PROTECTED]>
Subject: problem with print command in gdb(Linux)
Date: Wed, 24 Jan 2001 13:59:56 -0800

I have a problem using gdb to print out a big array during a debug
session. I have a simple program to demonstrate the problem:

// begin of the program
char big[8 * 1024 * 1024];
 
int
main()
{
        return 0;
}
// end of the program

I compiled it into a.out and then used gdb to debug it:

> gdb a.out
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux"...
(gdb)  p big
$1 = '\000' <repeats 8388607 times>
 (gdb) b main
Breakpoint 1 at 0x80483a3: file ll.c, line 6.
(gdb) r
Starting program: /tmp/a.out
 
Breakpoint 1, main () at ll.c:6
6               return 0;
(gdb) p big
Segmentation fault (core dumped)


I tried to adjust the size of array 'big' to 7MB and there is not
coredump anymore. My Linux box has enough memory (PIII with 192MB memory
and during debugging, not many processes running). I happened to
discover such problem when I was doing something else. So the question
is: is this a known problem of gdb? What triggers such problem? What is
the exact maximum size the print command can handle without coredump?

Thanks.

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

From: "Ian Jones" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.security,comp.os.linux.misc
Subject: Re: Determine Process Owner
Date: Wed, 24 Jan 2001 13:54:49 -0800

=====BEGIN PGP SIGNED MESSAGE=====
Hash: SHA1

<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Is there a reliable way to determine (in a C program) whether the
> owner of the current process is a logged-in user or otherwise
> (e.g., Apache)?
>
> I tried a number of things, such as getlogin(), but none of them
> were false-proof.  (getlogin() gives you the current login user, or
> null if the program is called by Apache.  However, if  the program
> is run as part of a pipe, getlogin() gives null no matter what.)

Read man UTMP(5), GETUTENT(3).

It isn't a perfect solution for wat you want, but it sounds like what
you are looking for.

=====BEGIN PGP SIGNATURE=====
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>
Comment: Making the world safe for geeks.

iQA/AwUBOm9PJ8AVSpfzXItKEQIPJgCg3dTtiX1cNtAFK/zlP6RKtuVsyZUAoOKh
fD0TtSUlsADkJ9AQ+Npb+tuw
=1EVY
=====END PGP SIGNATURE=====




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

From: Jerry Peters <[EMAIL PROTECTED]>
Subject: Re: Help needed with signals
Date: Wed, 24 Jan 2001 22:00:50 GMT

Ilia Bunin <[EMAIL PROTECTED]> wrote:
> I have to port a product to a Linux platform.
> I've got here Red Hat 6.2
> The manual says (man signal):
> Unlike  on  BSD  systems, signals under Linux are reset to
> their default  behavior  when  raised.   However,  if  you
> include  <bsd/signal.h>  instead of <signal.h> then signal
> is redefined as __bsd_signal and signal has the BSD semantics.

> Can anybody tell me please where I can find this <bsd/signal.h>?
> There is no such thing under /usr/include.
> Iv'e found something under /usr/lib/bcc/include/bsd but it didn't
> help me. Neither looking for rpms on internet.

> Thanx


> Sent via Deja.com
> http://www.deja.com/

Forget signal() see man sigaction. It gives you complete control over
the signal behavior.  Also try using info, the man pages are probably
out of date for signal, IIRC you define a macro to get BSD signal
behavior, but sigaction is a much better choice.

        Jerry

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

From: Johnny Choque <[EMAIL PROTECTED]>
Subject: VFS messages
Date: Wed, 24 Jan 2001 22:57:42 +0100

Hi!

I am obtaining many messages in /var/log/messages and /var/log/debug
like the following one:

KERNEL: VFS: Disk change detected on device ide0(3,64)

and I don't want that those messages appear, How I can make that?

Thanks in advance,

Johnny




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

Date: Wed, 24 Jan 2001 17:11:20 -0500
From: Zhihui Zhang <[EMAIL PROTECTED]>
Subject: The value of HZ


Can anyone explain to me how the value of HZ is set and used in Linux? I
do not have much time to go over the source, but I guess it should be
equal to 1 second. Thanks.

-Zhihui


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

From: Jonathan Lundell <[EMAIL PROTECTED]>
Subject: Re: The value of HZ
Date: Wed, 24 Jan 2001 15:28:35 -0800

In article <Pine.GSO.BU-L4.10.10101241710030.23437-100000@bingsun2>, 
Zhihui Zhang <[EMAIL PROTECTED]> wrote:

> Can anyone explain to me how the value of HZ is set and used in Linux? I
> do not have much time to go over the source, but I guess it should be
> equal to 1 second. Thanks.

Clock ticks per second. It's system-dependent. 100 is a typical value, 
though Alpha, for example, uses 1024.

-- 
/Jonathan Lundell.
[EMAIL PROTECTED]

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

From: larry <[EMAIL PROTECTED]>
Subject: Device Driver Engineers Needed-Great Opportunity!!
Date: Wed, 24 Jan 2001 23:35:37 GMT

******GREAT CAREER OPPORTUNITY*******

My client a WORLD WIDE LEADER in custom device drivers and system level
software development seeks talented software engineers.
2+ years experience in development of device drivers
Fluency in coding and debugging C & assembly. Experience in one of the
following: ATM, SONET/SDH, NDIS, BLUETOOTH

Experience in one of the following O/S : UNIX(linux), VXWorks, MS
Windows.

You will work w/ the latest and greatest technologies and w/ the best
and brightest engineers in the industry.
Unique and exciting opportunity !! TELECOMMUTE position(work from home),
excellent compensation, full benefits, stock options, sigh on bonus.

No more sitting in traffic to work and long commutes, enjoy the
flexibility this company has to offer all its engineers.

Contact me for more details.
Don't miss this great opportunity!

Larry Marks
email to : [EMAIL PROTECTED]

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

From: Sasha Keller <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.hardware,comp.os.linux.help,comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.setup
Subject: 5th Annual Linux Showcase & Conference: Call for Papers
Reply-To: [EMAIL PROTECTED]
Date: Wed, 24 Jan 2001 17:08:31 -0800

5th Annual Linux Showcase & Conference (ALS 2001)
November 6-10, 2001
Oakland, CA USA
http://www.linuxshowcase.org

Sponsored by USENIX and the Atlanta Linux Showcase, Inc., 
in cooperation with Linux International

Now in its firth year, the Annual Linux Showcase & Conference 
http://www.linuxshowcase.org continues its remarkable development 
as the premier technical Linux conference, attracting expert talks on 
everything from kernel internals to Internet services, panels 
discussing the state of the Kernel, invited talks presenting 
Linux in the real world, and more. 

And this year, ALS breaks with tradition by moving out of 
Atlanta to Oakland, CA! 

The ALS 2001 Program Committee invites you to contribute your 
ideas, proposals, and papers for tutorials, invited talks program, 
refereed papers track, workshops, work-in-progress reports, and 
symposia tracks. We welcome submissions that address any and 
all issues relating to Linux and the Open Source world. 

The Call for Papers with submission guidelines and suggested 
topics is now available at http://www.linuxshowcase.org

Submissions are due June 5, 2001

Please join us and participate in the premier technical conference 
for Linux enthusiasts and professionals! We look forward to seeing
you in the San Francisco Bay Area in November 2001!

===========================================
5th Annual Linux Showcase & Conference (ALS 2001) is
is sponsored by USENIX, the Advanced Computing Systems 
Association, and the Atlanta Linux Showcase, in cooperation 
with Linux International.
===========================================

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

Date: Wed, 24 Jan 2001 21:52:06 -0500
From: Zhihui Zhang <[EMAIL PROTECTED]>
Subject: Re: The value of HZ

On Wed, 24 Jan 2001, Jonathan Lundell wrote:

> In article <Pine.GSO.BU-L4.10.10101241710030.23437-100000@bingsun2>, 
> Zhihui Zhang <[EMAIL PROTECTED]> wrote:
> 
> > Can anyone explain to me how the value of HZ is set and used in Linux? I
> > do not have much time to go over the source, but I guess it should be
> > equal to 1 second. Thanks.
> 
> Clock ticks per second. It's system-dependent. 100 is a typical value, 
> though Alpha, for example, uses 1024.

Why value on Alpha is more than 10 times higher?

-Zhihui


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

From: Markus Kossmann <[EMAIL PROTECTED]>
Subject: Re: RAID tools cannot compile under 2.4.0
Date: Thu, 25 Jan 2001 03:54:37 +0100

George Houpis wrote:
> 
> Running kernel 2.4.0.
> 
> I cannot get raidtools 0.36 nor 0.50beta working.  It
> seems that the source is assuming 2.2.x kernels only.
> Is there a way to get the newest raidtools working
> for 2.4.x?
You will need raidtools-0.90 for kernel 2.4

-- 
Markus Kossmann                                    
[EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Grant Edwards)
Subject: Re: The value of HZ
Date: Thu, 25 Jan 2001 03:59:58 GMT

In article <Pine.GSO.BU-L4.10.10101242151370.16628-100000@bingsun2>, Zhihui Zhang 
wrote:
>> In article <Pine.GSO.BU-L4.10.10101241710030.23437-100000@bingsun2>, 
>> Zhihui Zhang <[EMAIL PROTECTED]> wrote:
>> 
>> > Can anyone explain to me how the value of HZ is set and used in Linux? I
>> > do not have much time to go over the source, but I guess it should be
>> > equal to 1 second. Thanks.
>> 
>> Clock ticks per second. It's system-dependent. 100 is a typical value, 
>> though Alpha, for example, uses 1024.
>
>Why value on Alpha is more than 10 times higher?

They're just showing off.  They (unlike we Intel victems)have computers with
a non-braindead CPU architecture, and they've got to rub our noses in it.

Feh!

-- 
Grant Edwards                   grante             Yow!  I'm in ATLANTIC CITY
                                  at               riding in a comfortable
                               visi.com            ROLLING CHAIR...

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


** 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 by posting to the
comp.os.linux.development.system newsgroup.

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