Linux-Development-Sys Digest #470

1999-03-11 Thread Digestifier

Linux-Development-Sys Digest #470, Volume #6 Thu, 11 Mar 99 05:14:34 EST

Contents:
  Re: Some notes on glibc-2.1 and egcs-1.1.1 (Andreas Jaeger)
  Re: chown: bug or feature (Michael Powe)
  Re: g++ compilation problems (J.H.M. Dassen (Ray))
  Threads and clone() (Bernd Potzkai)
  New problem with linux nfsd and BSDI? (Alex Kremer)
  Re: chown: bug or feature (Ilya)
  Re: chown: bug or feature (Eric Fischer)
  Re: Aiee scheduling in interrupt: fc336668 (Andy Isaacson)
  Re: Linux programming jobs? (James Youngman)
  Re: Linux Lab Project? (David Andruczyk)
  New problem with linux nfsd and BSDI? (Alex Kremer)
  Re: SMP: slicing by -process- or -thread- ? (Andi Kleen)
  Re: Linux programming jobs? (Keith M. Peterson)
  Re: waiting for milliseconds? (Mark Hahn)
  Re: Sound Help Please! (Chris Mahmood)
  kernel: Cannot read proc file system: 9 - Bad file descriptor (Chiyu Wang)
  Re: Intel TX board with  64M RAM (Mark Tranchant)
  Re: Source for SYSV 'banner' (Tony Scholes)
  Re: chown: bug or feature (Villy Kruse)



From: Andreas Jaeger [EMAIL PROTECTED]
Subject: Re: Some notes on glibc-2.1 and egcs-1.1.1
Date: 01 Mar 1999 21:09:07 +0100

 Preston F Crow writes:

  Conclusions:

  1.  glibc2.1 is a good test for new compilers.  It may be on par with
  kernel builds for such uses.
One of the egcs release time tests is compiling glibc without
problems.  glibc really stresses the compiler.

  2.  pgcc, at least the verion I have, is buggy.  The web site has a
  newer version for glibc2.0 if you want binaries.  If you need libc5
  pgcc, you should probably build it from sources instead of using an
  older binary.

  3.  glibc2.1 has some glob bugs.  It isn't clear if this is just a bug
  in `make check` or something in the actual library.  There may be some
  non-political reasons to wait for the FSF to release 2.1.1 (which
  presumably with either not have the advertising clause in BSD licenses
  or will compile with gcc, depending on who you listen to; if the
  latter, it could easily be released along with a new less-buggy gcc).

Those glob bugs are known but we couldn't find so far what's broken
(user shell, glibc code,...).  It's always better to avoid a .0
release and let others do the testing;-).

Andreas
-- 
 Andreas Jaeger   [EMAIL PROTECTED][EMAIL PROTECTED]
  for pgp-key finger [EMAIL PROTECTED]

--

From: Michael Powe [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.misc,linux.redhat.devel,alt.os.linux,linux.dev.newbie
Subject: Re: chown: bug or feature
Date: 10 Mar 1999 13:24:17 -0800

=BEGIN PGP SIGNED MESSAGE=
Hash: SHA1

 "Ilya" == Ilya  [EMAIL PROTECTED] writes:

Ilya I've just noticed that I can't cown my own files to other
Ilya users under Linux. Tried it under RedHat 5.2 and Slackware

That's what groups are for, to share files.

mp

- --
Michael Powe  Portland, Oregon USA
   [EMAIL PROTECTED]http://www.trollope.org
  "Three hours a day will produce as much as a man ought to write."
 -- Anthony Trollope

=BEGIN PGP SIGNATURE=
Version: GnuPG v0.9.0 (GNU/Linux)
Comment: Encrypted with Mailcrypt 3.5.1 and GNU Privacy Guard

iD8DBQE25uL+755rgEMD+T8RAvO9AJ46AOsRijP6/Lp/FmuAr29fMGKzlACgsLXS
6yEGhL4pz9cdAtLbSh99jrU=
=QZu/
=END PGP SIGNATURE=

--

From: [EMAIL PROTECTED] (J.H.M. Dassen (Ray))
Subject: Re: g++ compilation problems
Date: 10 Mar 1999 21:41:47 GMT

Grant Foster [EMAIL PROTECTED] wrote:
gcc version egcs-2.91.60 19981201(egcs-1.1.1 release)

I am trying to compile stuff but cannot seem to get anywhere.

 In file included from /usr/include/g++-2.7/iostream.h:31,
  from hello.cpp:1:
  /usr/include/g++-2.7/streambuf.h:394: warning: invalid type `void *'
for default argument to `ios *'

It looks like your C++ compiler and C++ standard library files don't match.
Most likely, you need to install an EGCS libstdc++-dev RPM instead of gcc
2.7.x.y's.

HTH,
Ray
-- 
Cyberspace, a final frontier. These are the voyages of my messages, 
on a lightspeed mission to explore strange new systems and to boldly go
where no data has gone before. 

--

Date: Wed, 10 Mar 1999 21:08:24 +0100
From: Bernd Potzkai [EMAIL PROTECTED]
Subject: Threads and clone()

Hi,

I am trying to port some OS/2 and windows apps to Linux. 
However using of clone() is failing, because the function was not found
by the linker.
In which library exists clone() or is something else wrong ?
Where do I find more information (books, howtos, etc.) about
multithreading under Linux ?

The linux distribution that I use is SuSE 6.0.

Thanks,
Bernd

--

From: Alex Kremer [EMAIL PROTECTED]
Subject: New problem with linux nfsd and BSDI?
Date: Thu, 11 Mar 1999 02:40:28 +0200


There seems to be a problem with nfsd in

Linux-Development-Sys Digest #471

1999-03-11 Thread Digestifier

Linux-Development-Sys Digest #471, Volume #6 Thu, 11 Mar 99 16:14:07 EST

Contents:
  ANNOUNCE: Kernel Traffic #9 is out ([EMAIL PROTECTED])
  A question about Voodoo Banshee on Linux ("David Kim")
  Re: Driver Programming (Duane Elmer Smeckert)
  Re: Threads and clone() (Kelly Burkhart)
  Re: Remote kernel debugger for x86 Linux (Josef =?iso-8859-1?Q?M=F6llers?=)
  undefined reference ("asdf")
  who problems ("asdf")
  Re: who problems (Rick Lim)
  Q: Linux as FAX server for SAP R/3? (Ulrich Windl)
  madvise (part of mman.h) ("David Bower")
  Build err glibc-2.0.7pre6 (Tom Daley)
  Re: Q: Linux as FAX server for SAP R/3? (Fritz Schadt)
  Re: Remote kernel debugger for x86 Linux (Alan McLean)
  MaxFileSize ("Timur A. Isaev")
  Re: Gnome does not start !! Help !! ([EMAIL PROTECTED])
  Re: Linux   Dell PC (Sam Steingold)
  Newbie Q about Linux Programming (Mark Bratcher)
  code page and locale questions (normski_r)
  Linux   Dell PC (Ramesh Kumar)
  Re: madvise (part of mman.h) ("Gerry S. Hayes")
  Re: module coding how-to needed (Przemek Klosowski)
  Re: A question about Voodoo Banshee on Linux (Michael Wm. Gilbert)
  Re: Linux programming jobs? (Roope Anttinen)



From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.misc
Subject: ANNOUNCE: Kernel Traffic #9 is out
Date: Thu, 11 Mar 1999 08:06:08 GMT

Check out this week's Kernel Traffic at http://www.kt.opensrc.org

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

--

From: "David Kim" [EMAIL PROTECTED]
Subject: A question about Voodoo Banshee on Linux
Date: Thu, 11 Mar 1999 00:05:54 -0800

I've recently purchased Monster Fusion which runs on Voodoo Banshee chip
set.  When I try to install RedHat Linux 5.2 on my computer, the
installation wizard won't recognize the video card.  Of course, I kind of
knew that my video card wouldn't be on the video card configuration wizard
list since it's a very new video card.  Can somebody help me how to
configure this video card?  I would greatly appreciate if someone can help
me out.



--

Date: Thu, 11 Mar 1999 00:59:31 -0800
From: Duane Elmer Smeckert "elmer at"@ ptw dot. com
Crossposted-To: comp.os.linux.development,comp.os.linux.questions
Subject: Re: Driver Programming

 Just a little rant to newbies;

Don't ask us to email you answers.The whole idea here is that you should help
those behind you
as those ahead of you help you.

I don't expect my guru to live here, so to seek his favor
I answer the newer easy questions, leaving him to answer mine.

If you don't want to play, fine.  If you want to lurk, fine.
But don't think this is something for nothing, this is community!


"snurf" [EMAIL PROTECTED] was on about something like:
 Thanks to answer to: [EMAIL PROTECTED]




--

Subject: Re: Threads and clone()
From: Kelly Burkhart [EMAIL PROTECTED]
Date: 10 Mar 1999 21:51:15 -0600

Bernd Potzkai [EMAIL PROTECTED] writes:

 Hi,
 
 I am trying to port some OS/2 and windows apps to Linux. 
 However using of clone() is failing, because the function was not found
 by the linker.
 In which library exists clone() or is something else wrong ?
 Where do I find more information (books, howtos, etc.) about
 multithreading under Linux ?
 
 The linux distribution that I use is SuSE 6.0.
 
 Thanks,
   Bernd
If your distribution uses glibc, you should use pthreads.  Pthreads in
recent glibc evolved from LinuxThreads written by Xavier Leroy.  The
threading is implemented using clone().

FWIW, to use clone directly you must use assembler.

-- 
Kelly R. Burkhart
[EMAIL PROTECTED]

--

From: Josef =?iso-8859-1?Q?M=F6llers?= [EMAIL PROTECTED]
Subject: Re: Remote kernel debugger for x86 Linux
Date: Thu, 11 Mar 1999 09:38:33 +0100

accoday wrote:
 
 hello,
 
 'been reading "Linux Device Drivers" where he mentioned that to his
 knowledge they are no remote kernel debuggers for the x86 platform.
 
 Does anybody know of any now?

There is a mode in gdb that allows remote debugging (of cooperating user
programs). The stub that needs to be compiled into the user program can
also be adapter to run in the kernel. I'll be having a go at it when
CeBIT is over ...

Josef

--

Reply-To: "asdf" [EMAIL PROTECTED]
From: "asdf" [EMAIL PROTECTED]
Subject: undefined reference
Date: Thu, 11 Mar 1999 03:38:38 -0800

i get an "undefined reference to crypt" when compiling the ppp-2.3.5
package. how can i fix this? i have egcs-1.1.1 and glibc-2.1 installed.



--

Reply-To: "asdf" [EMAIL PROTECTED]
From: "asdf" [EMAIL PROTECTED]
Subject: who problems
Date: Thu, 11 Mar 1999 04:20:57 -0800
Crossposted-To: comp.os.linux.misc

Hello there, I'm having problems with the "who" program, It works in very
strange 

Linux-Development-Sys Digest #472

1999-03-11 Thread Digestifier

Linux-Development-Sys Digest #472, Volume #6 Thu, 11 Mar 99 20:14:24 EST

Contents:
  Re: Linux   Dell PC (Tristan Wibberley)
  Re: undefined reference (Mark Tranchant)
  Re: PPP Dial-Up Insomnia (Bill Unruh)
  Re: C++ compilation problems (James Youngman)
  Re: PPP Dial-Up Insomnia (Whammy)
  Re: Device Driver...what for? (Joe Pfeiffer)
  redefined Functions for JavaScript function are needed (s2961221)
  Re: v-i-218y,503.9 (Gclanfield)
  Re: Build err glibc-2.0.7pre6 (Andreas Jaeger)
  Re: chown: bug or feature (Chris Hardin)
  Re: v-i-218y,503.9 (Brendan Murray)
  Re: Linux programming jobs? (adept)
  Software watchdog for monitoring? (Tramm Hudson)
  Re: Linux programming jobs? (Glen Wiley)
  Does process accounting work right? (Allyn Craig)
  Re: what "rc" scripts exist for linux? (Peter Samuelson)
  Re: Network protocol layer in Linux ? ("Gerry S. Hayes")



From: Tristan Wibberley [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup
Subject: Re: Linux   Dell PC
Date: Thu, 11 Mar 1999 16:14:09 +
Reply-To: [EMAIL PROTECTED]

Ramesh Kumar wrote:
 
 Hi,
 
 I m trying to install read hat Linux 5.1 on a Dell PC (Pentium II).
 Every time the system crashes with following msgs..
 
 Error 2 reading header :  Success
  Install exited abnoramlly
  Sending termination signals done
   Sending kill signals done
 Unconfiguring file system
 
 Is there something wrong with Dell PC ??  Please provide
 info. regarding this installation problem.

If this is to be regarded as an installation problem rather than a
system development issue, why did you post it here instead of
comp.os.linux.setup?

--
Tristan Wibberley

PS. crossposted and followups to comp.os.linux.setup

--

From: Mark Tranchant [EMAIL PROTECTED]
Subject: Re: undefined reference
Date: Thu, 11 Mar 1999 15:56:35 +
Reply-To: [EMAIL PROTECTED]

Did you compile glibc-2.1 with the crypt add-on? Just add -lcrypt to the
LDFLAGS part of the Makefile (guess).

Mark.

asdf wrote:
 
 i get an "undefined reference to crypt" when compiling the ppp-2.3.5
 package. how can i fix this? i have egcs-1.1.1 and glibc-2.1 installed.

--

From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To: ahn.tech.linux,alt.os.linux,comp.os.linux.hardware
Subject: Re: PPP Dial-Up Insomnia
Date: 11 Mar 1999 21:30:27 GMT

In 7c9165$kos$[EMAIL PROTECTED] "Igor Raznatovic" [EMAIL PROTECTED] writes:

For couple of days I am trying to set up my dial up account. Teh result was,
not incouraging. For now, my modem is dialing out nicely. The school BBS was
easy to acces. My ISP? No.

...
the same with the GNOME ppp utility, the terminal screen showed that same
messege minicom showed (System Password:). I called my ISP and he said that

This almost certainly means that they do NOT want you to log on, they
want ppp to start right after the CONNECT message.

See my
axion.physics.ubc.ca/ppp-linux.html
to find out exactly what they want and how to set it up for them.
Most of the scripts are set up for login authorisation, while most ISPs
are going for PAP/CHAP authorisation.



--

From: James Youngman [EMAIL PROTECTED]
Subject: Re: C++ compilation problems
Date: 10 Mar 1999 23:14:51 +

Lieven Van Acker [EMAIL PROTECTED] writes:

 "Configuration / installation problem: the c++ compiler is unable to
 create
 executables"
 
 I installed GNU GCC 2.7.2.3 from RedHat 5.2 and egcs 1.0.3
 from the packages egcs-1.0.3a-14 and egcs-c++-1.0.3a-14
 
 Furthermore the RPM libstdc++-2.8.0-14 is installed.

Install the C++ *development* libraries.

-- 
ACTUALLY reachable as @free-lunch.demon.(whitehouse)co.uk:james+usenet

--

From: Whammy [EMAIL PROTECTED]
Crossposted-To: ahn.tech.linux,alt.os.linux,comp.os.linux.hardware
Subject: Re: PPP Dial-Up Insomnia
Date: Thu, 11 Mar 1999 22:11:08 GMT

Is your ISP 'INTX'? They want you to use PAP for the login procedure.
(Note: the other access number for these guys uses the standard
username/password procedure. You may want to try it.) You will need to
set up PPP to use the pap-secrets file to get this connection to work.
INTX also doesn't work with compressed headers so disable this in the
pppd command string.

Igor Raznatovic wrote:
 
 For couple of days I am trying to set up my dial up account. Teh result was,
 not incouraging. For now, my modem is dialing out nicely. The school BBS was
 easy to acces. My ISP? No.
 
 Somewhere I read that calling through minicom can get me started with some
 info in my ISP, so I dialed it. Thies is what I got:
 ===
 Welcome to InterSATX
 
 System Password:
 
 I closed minicom and tried netconf. I've set it up as the HOWTO said and it
 dieled nicely but after about 1 min the connection died. When I tried to do
 the same with the GNOME ppp utility, the terminal screen showed that