Linux-Development-Sys Digest #446, Volume #6      Tue, 2 Mar 99 16:14:13 EST

Contents:
  Re: How to understand Kernel Source code (Ole Petter =?iso-8859-1?Q?R=F8nningen?=)
  Re: Sockets & C++ ([EMAIL PROTECTED])
  Re: Version 2.2.2 loses IP Masquerading ? ("Zefram Cochrane")
  waiting for milliseconds? ([EMAIL PROTECTED])
  Re: Some notes on glibc-2.1 and egcs-1.1.1 (Jonathan Stott)
  Re: Printer Accounting (Birger Blixt)
  Re: install 2.2.2problems (Robert Schiele)
  Embedded Contract Opportunity/Pacific NW (Max Tulyev)
  Re: Driver Programming (Olof Wolgast)
  Re: PROOF: Jesus *is* Lord of the Sabbath! (Harry)
  FD size issue ("Thijs Cobben")
  Scheduler policies (=?iso-8859-1?Q?Jos=E9=20Mar=EDa=20Fern=E1ndez=20Gonz=E1lez?=)
  Re: SMP Support (Michael Meissner)
  Re: Version 2.2.2 loses IP Masquerading ? (Michael Meissner)
  Re: PROOF: Jesus *is* Lord of the Sabbath! (Stuart Bell)
  Re: PROOF: Jesus *is* Lord of the Sabbath! (Stuart Bell)
  Re: PROOF: Blondes love iMacs (Stuart Bell)
  Re: PROOF: Jesus *is* Lord of the Sabbath! (Stuart Bell)
  Re: 256 threads limit on linux ("Thijs Cobben")
  Re: waiting for milliseconds? ("Thijs Cobben")
  Project LIMP - The Linux Image Montage Project (Jordan Husney)

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

From: Ole Petter =?iso-8859-1?Q?R=F8nningen?= <[EMAIL PROTECTED]>
Subject: Re: How to understand Kernel Source code
Date: Tue, 02 Mar 1999 10:08:40 +0100

> > : I want to be able to understand the kernel source code.  I have an
> > : intermediate background in C++, Perl, and Java.  Are there any books or
> > : online references that can get me started with the advanced C code of the
> > : kernel.
> >
> > The textbook that we use is called Linux Kernel Internals (Second Edition)
> > published by Addison-Wesley.  It's more a sort of general overview of
> > the kernel but probably gives you more than enough to get started.
> >
> 
> Also try the Linux Source Navigator at
> http://metalab.unc.edu/linux-source/
> 

"The Linux Kernel" migh also be worth a look, one of my favourites.
http://www.ssc.com/linux/LDP/LDP/tlk/tlk.html

Ole Petter

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

From: [EMAIL PROTECTED]
Subject: Re: Sockets & C++
Date: 2 Mar 1999 15:10:24 GMT

Aki M Laukkanen <[EMAIL PROTECTED]> wrote:

: You didn't include details of your compiler and libc version but I gather
: this must be libc5. Atleast I don't have this file on glibc 2.1. Easy fix
: would be to upgrade to atleast glibc 2.0.x which should not use these
: kinds of tricks.

Of course I forgot that. I have a RedHat 5.1 and the relevant packages
are:

        glibc-2.0.7-19
        glibc-devel-2.0.7-19
        egcs-1.0.2-8

Apparently that warning is a 'feature' that will go away sooner or later.
It would anyway be nice to have some way of getting rid of the warning, as
it gets in the way when trying to detect other warnings.

-- 
=====================+======================================================
 Jan 'Chakie' Ekholm |    CS at Åbo Akademi University, Turku, Finland
    Linux Inside     | I'm the blue screen of death, no-one hears you scream

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

From: "Zefram Cochrane" <[EMAIL PROTECTED]>
Subject: Re: Version 2.2.2 loses IP Masquerading ?
Date: Tue, 2 Mar 1999 09:46:20 -0000

OK. SO it appears that ipchains replaced ipfwadm. Anybody know where I get
this pkg ?

Richard [in PE12]




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

From: [EMAIL PROTECTED]
Subject: waiting for milliseconds?
Date: Tue, 02 Mar 1999 10:54:31 GMT

I want my application to wait for a shorter period than seconds, so I can't
use sleep(). Does there exists a different function?

thanks
Norman

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

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

From: [EMAIL PROTECTED] (Jonathan Stott)
Subject: Re: Some notes on glibc-2.1 and egcs-1.1.1
Date: 2 Mar 1999 16:02:00 GMT
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>,
Ronald Cole  <[EMAIL PROTECTED]> wrote:
>[EMAIL PROTECTED] (Jonathan Stott) writes:
>> gcc-2.8.1 (the current release) complies glibc-2.1 just fine, despite
>> what the INSTALL notes claim [which, I suspect, is the real reason the
>> release was pulled].
>
>Did you just test the intel port?  I was under the impression that

Yes, sorry for not mentioning that.

>egcs-1.1.1 was recommended because it built glibc-2.1 reliably on
>*all* the platforms that glibc-2.1 was ported to.

But that ISN'T what the Install notes say (the files are on computer at
home or I would try and find the exact wording - from memory, ISTR it
says "gcc-2.8.1 does not work, you must use egcs-1.1.1" which is
demonstrably false in at least one [very common] case).

>That's quite an easier task to verify than a "which compilers work on
>which platforms" matrix is.  Have you tried building and testing
>glibc-2.1 with gcc-2.8.1 on the alpha... or on the powerpc... or on
>the m68k... or on the sparc... or on the ARM?

No, because I don't have access to any of these systems.  Buy me one of
each and I'll happily check for you though :->

-JS

-- 
Jonathan Stott                                         xxxxxxxxxxxxxxxxxxxx
icbm://41.30.14N/81.36.36W/  [EMAIL PROTECTED]    [EMAIL PROTECTED]
    Physicist for hire - http://poly.phys.cwru.edu/~jstott/resume.html

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

From: Birger Blixt <[EMAIL PROTECTED]>
Crossposted-To: 
alt.os.linux,comp.os.linux.misc,alt.unix.wizards,comp.os.linux.development.apps,comp.unix.admin,comp.unix.questions
Subject: Re: Printer Accounting
Date: Tue, 02 Mar 1999 13:13:57 +0100

Leo wrote:
> 
> Hi wizards!
> 
> In RedHat 5.1, I tried to setup a print queue with accounting
> so that all users' printing will be logged with no. of pages
> printed.  However, the log file won't update itself!
> 
> I added the line
> 
> :af=/var/spool/lpd/lp/acct:\
> 
> in /etc/printcap file;
> 
> then touch the file 'acct' in /var/spool/lpd/lp folder,
> then set the file with lp.lp ownership while the
> folder is in root.daemon ownership, with 755 mode for both
> file and folder.
> 
> Then I restart lpd daemon (also lpc with stop and start
> option).  Root user can then type
> 
> # pac
> 
> and recognize the file /var/spool/lpd/lp/acct
> as I tried to edit this file thru vi and 'pac'
> does read this file which means lpd should have
> chosen this file as the accounting log file.
> 
> However, when I issue 'lpr' command by normal users
> or root, the printing is fine, but the 'acct' file
> doesn't update at all!!!
> 
> I'd read the 4.3 BSD Line Printer Spooler Manual
> but still can't see the problem.  Any other accounting
> binaries I need to run, like sa?  Did I miss some other config
> in some files, like syslogd.conf?
> 
> Wd anyone pls tell me what's wrong with
> my printcap config?  I used the HP4/5/6 Laserjet filter
> as provided by RedHat 5.1, any conflicts with af: line?
> 
> Pls help!   Thank you very much in advance
> 
> Leo.
If the filter support accounting , a price is needed to calculate the
costs.
 pc   num  200    price   per foot or page in hundredths of cents
example  :pc#200:af=xxxxx
You can also set the price as an option to pac.   (pac -p0.2) (dollars /
page this time)

/BB

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

From: Robert Schiele <[EMAIL PROTECTED]>
Subject: Re: install 2.2.2problems
Date: Tue, 02 Mar 1999 19:00:16 +0100

George wrote:
> 
> Hello
> 
> I have just installed new kernel 2.2.2. All went well and everything is
> working except printing. I read somewhere that from 2.1 forward
> something changed with printing. Can anyone tell me what that is and the
> work around. I'm using suse5.3 the old kernel was 2.0.35.
> 
> Thanks,
> 
> George

In 2.0.x printer devices were aranged in that way:
First parallel port: lp1
Second parallel port: lp2
Third parallel port: lp0 <-- strange, isn't it?

In 2.2.x they are arranged differently:
First parallel port: lp0
Second parallel port: lp1
Third parallel port: lp2

So you have to change /etc/printcap from lp1 to lp0.

Robert

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

From: [EMAIL PROTECTED] (Max Tulyev)
Subject: Embedded Contract Opportunity/Pacific NW
Date: Mon,  1 Mar 1999 13:05:32 +0200

úÄÒÁÓÔ×ÕÊ, [EMAIL PROTECTED]!

At 25 Feb 99  01:59:02, [EMAIL PROTECTED] wrote to All:

 b> We are in need of someone with the skill set listed below.
 b> Please contact me if you are interested.
So I do.
 b> Location: Seattle, WA
oops! I am in Kiev, Ukraine...
 b> Rate: $55 and up
For month? Too low. $300/month may be normal. $550/month will be very
high.
 b> Skills: 5+ years C, Assembly, PC level 8051 development exp.  Serial
 b> communications are a plus.
Yes ;) C/C++ for PC and Assembler for MCS-51 family. Hardware development
too.

P.S. Yes... FIDONet echomail and usenet's trash and spam is strongly
contrasting... :-((( How your message can be useful for development
systems for Linux? :-\

P.P.S. Antiofftopic:
looking for debugger/simulator for i8051/31/Atmel 89c51/52/1051/2051 for
Linux.

Bye!
[Linux KEY #66318-***** http://counter.li.org]  [Enigma] [Zonnery Must
Die]
[Information must be free!] [RMFO!!!] [Team ìÙÓÁÑ çÏÒÁ]  [maxtul AKA
èÉÍÉË]
[email: maxtul AT microsoft.kiev.ua] [FNW^Team]

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

From: Olof Wolgast <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development,comp.os.linux.questions
Subject: Re: Driver Programming
Date: Tue, 02 Mar 1999 18:51:15 +0100



Gerard van der Sel wrote:

>
> The examples from the book are on the internet.

Where?



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

From: Harry <[EMAIL PROTECTED]>
Subject: Re: PROOF: Jesus *is* Lord of the Sabbath!
Date: Tue, 02 Mar 1999 07:43:37 -0500

> Ok rosbif? <

Rosbif sont les anglais, frog! Il est americain. Geddit?

Harry

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

Crossposted-To: comp.os.linux.misc,comp.os.linux.setup
From: "Thijs Cobben" <[EMAIL PROTECTED]>
Subject: FD size issue
Date: Tue, 2 Mar 1999 13:01:49 GMT

To all,

Please help, I need to upgrade the 'hard limit', probably the kernel limit,
of the max-number-of-file-descriptors per process.

Anyone who knows of patches is more than welcome to reply. Preferably refs
to patches that don't involve recompiling the kernel (or upgrading, still
running 2.0.36), since I have no experience with that...

Is it hard to rebuild a  FD_SETSIZE > 4096 kernel? Or is there another,
hard, hard kernel limit of 1024, a number that is mentioned a lot in
relation to ulimit -n and the available patches.

Second question:
If the max. number of file-descriptors is 256, how come that at least some
processes seem to be able to handle more than 256 concurrent users?. (I
hope that is possible in Linux, else e.g. DBMS-es, IRC-servers, have a
serious performance issue).

How do these processes do that? Our game server opens, from JavaRE, a
socket for each joining player, each socket corresponds to an open file, so
there we run into our limit...

Workarounds, anyone? Someone mentioned the term 'utp-packets' instead op
keeping a socket 'open & dedicated' for one user. Can some-one explain to
me what it is that this guru meant cq. where I can find some reference on
utp-packets & java ?

Yours truly,



Thijs Cobben
Trip6 technology

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

From: =?iso-8859-1?Q?Jos=E9=20Mar=EDa=20Fern=E1ndez=20Gonz=E1lez?= 
Subject: Scheduler policies
Date: Tue, 02 Mar 1999 18:47:33 +0100

Hi newsgroup!!!

I know the Linux scheduler, and I would like to know if there is any project
which the next target: to have the chance of choosing among some scheduling
policies when you compile your Linux kernel (e.g. real time, time sharing,
etc...).

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

Subject: Re: SMP Support
From: Michael Meissner <[EMAIL PROTECTED]>
Date: 02 Mar 1999 08:46:26 -0500

Johan Kullstam <[EMAIL PROTECTED]> writes:

> and i found that make -j 3 shaved about 1/3 of the time of compiles on
> my uniprocessor.  go figure.

Assuming you have enough memory to hold all of the compilers resident at once,
multiple compilers will overlap each other (ie, while most are waiting for I/O,
the others are running).  In general, -pipe doesn't help all that much (cpp for
instance doesn't write anything until it has processed everything, and a lot of
the assembler work isn't done until the entire file has been processed).

-- 
Michael Meissner, Cygnus Solutions
PO Box 98, Ayer Massachusetts, USA 01432-0098
[EMAIL PROTECTED]

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

Subject: Re: Version 2.2.2 loses IP Masquerading ?
From: Michael Meissner <[EMAIL PROTECTED]>
Date: 02 Mar 1999 08:51:18 -0500

"Zefram Cochrane" <[EMAIL PROTECTED]> writes:

> OK. SO it appears that ipchains replaced ipfwadm. Anybody know where I get
> this pkg ?

You did read /usr/src/linux/Documentation/Changes didn't you, which mentions
that IPchains replaces ipfwadm didn't you?

http://www.adelaide.net.au/~rustcorp/ipfwchains/ipfwchains.html and the RedHat
rpms to upgrade to support 2.2.x kernel (I think it is in updates.redhat.com,
but it may be in ftp.redhat.com).  There is a shell script wrapper
(ipfwadm-wrapper) that should pretty much be a drop in replacement for ipfwadm.

-- 
Michael Meissner, Cygnus Solutions
PO Box 98, Ayer Massachusetts, USA 01432-0098
[EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Stuart Bell)
Crossposted-To: 
alt.society.underwear,comp.sys.mac.misc,comp.sys.amiga.hardware,fr.rec.voyages
Subject: Re: PROOF: Jesus *is* Lord of the Sabbath!
Date: Tue, 2 Mar 1999 14:07:58 +0000

Mathiaxe <[EMAIL PROTECTED]> wrote:

> Ok rosbif ?

Je comprends, monsieur! N'oublier-pas Waterloo! ;-)

This thread is just as irrelevant to comp.sys.mac.misc, to which you
continue to post, as it is to fr.rec.voyages.

If you _just_ posted your complaints to fr.rec.voyages, and not to
comp.sys.mac.misc then you would find that all these silly messages
would stop.

-- 
Stuart Bell - happily working on Macs in a Wintel-free zone
  PB-100 FAQ at www.argonet.co.uk/users/sabell/pb100.html
  JR's Duo FAQ at www.argonet.co.uk/users/sabell/duo.html
 6400/6500 users: http://hometown.aol.com/tmk12v/home.html

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

From: [EMAIL PROTECTED] (Stuart Bell)
Crossposted-To: 
alt.society.underwear,comp.sys.mac.misc,comp.sys.amiga.hardware,fr.rec.voyages
Subject: Re: PROOF: Jesus *is* Lord of the Sabbath!
Date: Tue, 2 Mar 1999 14:08:00 +0000

Per Olsson <[EMAIL PROTECTED]> wrote:

> Det vore trevligt om du kunde använda svenska så att jag förstod vad du
> skrev.
> 
> /Per Olsson
> 
> P.S. For everyone not familiar with the swedish language, a translation into
> english (which I'm not very familiar with myself): It would be nice if you
> wrote in swedish so I understood your writing.

They are posting in French because this silly thread has been
cross-posted to fr.rec.voyages. They object to that, but then post their
objections to _all_ the newsgroups. Hence the complaints. If they only
posted to fr.rec.voyages, the thread would die soon.

Perhaps someone should re-set the follow-ups of all the sub-threads so
that they only go to fr.rec.voyages?  ;-)


-- 
Stuart Bell - happily working on Macs in a Wintel-free zone
  PB-100 FAQ at www.argonet.co.uk/users/sabell/pb100.html
  JR's Duo FAQ at www.argonet.co.uk/users/sabell/duo.html
 6400/6500 users: http://hometown.aol.com/tmk12v/home.html

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

From: [EMAIL PROTECTED] (Stuart Bell)
Crossposted-To: 
alt.society.underwear,comp.sys.mac.misc,comp.sys.amiga.hardware,fr.rec.voyages
Subject: Re: PROOF: Blondes love iMacs
Date: Tue, 2 Mar 1999 14:08:01 +0000

Julian Robert Yon <[EMAIL PROTECTED]> wrote:

> Pablo wrote:
> > 
> > Julian Robert Yon wrote:
> >  Blondes love iMacs and I am a pervert!
> 
> Bl**dy hell! Did I?

NO; Pablo has a habit of deleting quoted passages, but not deleting the
attribution line. A real pain. :-(
-- 
Stuart Bell - happily working on Macs in a Wintel-free zone
  PB-100 FAQ at www.argonet.co.uk/users/sabell/pb100.html
  JR's Duo FAQ at www.argonet.co.uk/users/sabell/duo.html
 6400/6500 users: http://hometown.aol.com/tmk12v/home.html

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

From: [EMAIL PROTECTED] (Stuart Bell)
Crossposted-To: 
alt.society.underwear,comp.sys.mac.misc,comp.sys.amiga.hardware,fr.rec.voyages
Subject: Re: PROOF: Jesus *is* Lord of the Sabbath!
Date: Tue, 2 Mar 1999 14:08:14 +0000

Mathiaxe <[EMAIL PROTECTED]> wrote:

> Si tu ne comprends pas, je te résume la situation :
> Tu nous emmerdes !
> Ok rosbif ?
> Mathiaxe
> Stuart Bell <[EMAIL PROTECTED]> a écrit dans le message :
> [EMAIL PROTECTED]
> |Gilles QUINTON <[EMAIL PROTECTED]> wrote:
> |> C'est quoi ce jesus de mes deux of the sabbath ? C'est une secte de
> gonfle
> |> couilles? Ils croient qu'ils peuvent nous faire un lavage de cerveau par
> |> le net comme a leur tarés de disciples ?
> |je ne comprends pas. ;-(
> |Stuart Bell - happily working on Macs in a Wintel-free zone


-- 
Stuart Bell - happily working on Macs in a Wintel-free zone
  PB-100 FAQ at www.argonet.co.uk/users/sabell/pb100.html
  JR's Duo FAQ at www.argonet.co.uk/users/sabell/duo.html
 6400/6500 users: http://hometown.aol.com/tmk12v/home.html

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

From: "Thijs Cobben" <[EMAIL PROTECTED]>
Subject: Re: 256 threads limit on linux
Date: Tue, 2 Mar 1999 14:11:10 GMT

Probably because of FD_SETSIZE , the file-descriptor-size-limit shown to
you by ulimit -a , ulimit -n or limit -a or limit -n.

You cannot change this without recompiling the kernel, I am afraid.

The assumption I have made here, is that you open 1 file-descriptor
(probably a socket) per user.

Yours,


Thijs Cobben
Trip6 technology

Olga Sivash <[EMAIL PROTECTED]> schreef in artikel
<7bb3gc$r8h$[EMAIL PROTECTED]>...
> I'm using RH 5.2 linux 2.0.36
> I can't produce more then 256 processes or threads per user.
> Why is it so?
> 
> How to configure kernel for more threads and/or processes?
> 
> Alexander Kuznetsov.
> 
> 
> 

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

From: "Thijs Cobben" <[EMAIL PROTECTED]>
Subject: Re: waiting for milliseconds?
Date: Tue, 2 Mar 1999 14:15:53 GMT

Am i blundering here, or can you just use sleep(0.001); ? Should work
fine...

[EMAIL PROTECTED] schreef in artikel
<7bgg15$fu7$[EMAIL PROTECTED]>...
> I want my application to wait for a shorter period than seconds, so I
can't
> use sleep(). Does there exists a different function?
> 
> thanks
> Norman
> 
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own  
 
> 

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

From: [EMAIL PROTECTED] (Jordan Husney)
Subject: Project LIMP - The Linux Image Montage Project
Date: Tue, 02 Mar 1999 20:41:46 GMT

Hey Linxu Project Developers:

I would like to announce Project LIMP (the Linux Image Montage
Project).  The project's purpose is to distill the community and
ingenuity of the Linux community into one very cool looking poster.
This montage is a collection of images that are arranged to look like
a parent base-image (a la The Truman Show movie poster, among others).
        We are using the GIMP to produce the intermediate images, as
well for batch and manual conversion of submissions.
        The final product's final image will be available on-line for
free, as well as being sold off of LinuxMall.com .

Please visit the Project, and contribute your GIMP made, and other
Linux related imagery!

http://linux.remotepoint.com


Jordan Husney
LIMP Project Coordinator

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


** 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