Linux-Development-Sys Digest #144, Volume #7 Thu, 2 Sep 99 20:14:13 EDT
Contents:
Re: TAO: the ultimate OS (James Andrews)
Re: set up c++ development environment (Graffiti)
Re: TAO: the ultimate OS (Peter da Silva)
Re: select() and FD_SETSIZE (Kaz Kylheku)
Re: LINUX AND COREL (Dr H. T. Leung)
Re: fork() question (Sverker Wiberg)
Help Compiling GCC 2.95.1 (Please!! ) (John McDonald, Jr.)
Re: LINUX AND COREL (J.H.M. Dassen (Ray))
Re: gdb Reference (Stan Shebs)
Re: select() and FD_SETSIZE (Eric Hegstrom)
Re: Oops-tracer wanted! (Kaz Kylheku)
Re: History (Phil Hunt)
na83902 driver? (John Schneider)
Re: Keyboard input rejected in X after upgrading to 2.3.14 kernel (N1ho)
----------------------------------------------------------------------------
From: James Andrews <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.advocacy,comp.os.misc,comp.unix.advocacy
Subject: Re: TAO: the ultimate OS
Date: Thu, 02 Sep 1999 17:33:40 +0000
"Vladimir Z. Nuri" wrote:
> JA: it was a reasonable nonimflammatory post and imho yours was the flame.
> thanks for your support, but to borrow from n ancient
> proverb, sometimes it is not an advantage to have a pit
> bull for a friend.
I do not condone my actions, and I am rarely proud of flaming. But few
things in life annoy me more than ignorance. The concept of someone
admitting they knew *nothing* of a subject, and yet still taking the
time out of their day to argue over it. I was annoyed, I don't
necessarily agree with you, although some points of your post were fair,
and I certainly dont agree with Chris Browne's points . I found it
bizarre to read a post more recently from him that seems very
intelligent, well thought out, and even knowledgable, but still, it goes
to show, you are a fool to prejudge on usenet. Oh well, until next
time,
James
------------------------------
From: Graffiti <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.misc
Subject: Re: set up c++ development environment
Date: 2 Sep 1999 10:45:13 -0700
In article <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote:
>i am learning c++. i want to do c++ program under linux. what packages
>(rpm) do i need? what environment variable i need to set? and how i
>compile the source code?
>
>------------------ Posted via CNET Linux Help ------------------
> http://www.searchlinux.com
Hmm... *goes to website*
Okay, this is annoying. A Usenet gateway of some sort. People post
questions to a web page expecting support. And it shuffles it off to
the newsgroups, and grabs the replies?
Are there any Usenet-wide policies that prohibit this?
-- DN
------------------------------
From: [EMAIL PROTECTED] (Peter da Silva)
Crossposted-To: alt.os.linux,comp.os.linux.advocacy,comp.os.misc,comp.unix.advocacy
Subject: Re: TAO: the ultimate OS
Date: 2 Sep 1999 15:42:09 GMT
In article <7ql4r9$[EMAIL PROTECTED]>,
Vladimir Z. Nuri <[EMAIL PROTECTED]> wrote:
> In comp.os.misc Peter da Silva <[EMAIL PROTECTED]> wrote:
> : Western society as a whole is "nonliterate hostile", and attempts to
> : make it less so rarely work. If you want a computer for people who can't
> : read or write, I recommend you look towards Nintendo and Sega.
> if you want world domination, or perhaps merely an OS that isn't
> a pain in the --- to install/use/maintain, I recommend you consider
> a different attitude.
I've already got an OS that isn't a pain in the ass to install, maintain,
and use. Thanks for the feedback, but I don't consider learning a few wee
concepts a hefty cost, compared to the cost of not learning them and
depending on poorly integrated "wizards" to figure out which limited
options are least painful for me.
By the way, it's Linus who wants World Domination, I don't use Linux.
> often what is idiot proof is also the easiest to use, for
> users of all levels of sophistication.
That would make a tricycle the right tool for your towing your bass boat,
digging trenches, and delivering topsoil.
> I submit that a truly good OS & application environment would
> not pit the experienced against the inexperienced, anyway.
The Amiga was pretty good at that, given the resources they had to work
with, and NeXT allegedly did a reasonably good job, though I haven't had
much opportunity to play with it. I understand that QNX is going to make
a consumer version of Neutrino, which should be interesting.
But the issue isn't pitting the inexperienced against the experienced, it's
whether it's worthwhile learning to drive before getting behind the wheel.
--
In hoc signo hack, Peter da Silva <[EMAIL PROTECTED]>
`-_-' Ar rug t� barr�g ar do mhact�re inniu?
'U` << <KH> you did technical support for Hell ?
<susan> Didn't we all, in our youth? >:) >>
------------------------------
From: [EMAIL PROTECTED] (Kaz Kylheku)
Subject: Re: select() and FD_SETSIZE
Reply-To: [EMAIL PROTECTED]
Date: Thu, 02 Sep 1999 18:48:50 GMT
On 2 Sep 1999 05:01:17 -0500, Peter Samuelson <[EMAIL PROTECTED]> wrote:
>[Kaz Kylheku <[EMAIL PROTECTED]>]
>> I think we can things up neatly with this table:
>>
>> Bell Labs intellectuals Berkeley dope-smokers
>> -------------------------------------------------------------
>> Bourne shell C shell
> ^^^^^^+Korn
Yes, I realized that important omission when I drove home yesterday. ;)
------------------------------
From: [EMAIL PROTECTED] (Dr H. T. Leung)
Crossposted-To: comp.os.linux.misc
Subject: Re: LINUX AND COREL
Date: 2 Sep 1999 18:52:45 GMT
What do you mean? I have downloaded their WordPerfect 8 for linux some months ago
from linux.corel.com or something like that. It works quite well and runs
properly as a X application (i.e. not as resource hungry as StarOffice, which is
more fully featured), but you only get to have the word processor, not anything
like spread sheet or presentations. Didn't try for long as I am mainly a latex
person. I think you mean a full Office (e.g. "CorelOffice" or something like
that) suite?
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
writes:
|> J Mars <[EMAIL PROTECTED]> writes:
|>
|> >
|> > There are talks that Corel will bring out a Linux Wordperfect suite and
|> > O/S. Did anyone tried this?.
|>
|> Will be available early 2000...according to their web site www.corel.com
--
--------------------------------------------------
"What you don't care cannot hurt you." Chap. 7a, AMS-NS
------------------------------
From: Sverker Wiberg <[EMAIL PROTECTED]>
Subject: Re: fork() question
Date: Thu, 02 Sep 1999 17:45:02 +0200
Juergen Heinzl wrote:
>
> In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] wrote:
> >"Rob" <[EMAIL PROTECTED] (X=y)> writes:
> >
> >> Hi, When I do a fork() like this code :
> >>
> >> pid = fork()
> >>
> >> if (pid==0) // Child process
> >> {
> >> some_routine(intparam, charptr);
> >> exit(0);
> >> }
> >>
> >> // rest of parent process...
> >>
> >> and the parent does a waitpid(...) to make sure the child doesn't
> >> become a zombie.
> >> Now, my question is, what exactly is copied from the parent to the
> >> child process? I know file handles are copied to the child, but are
> >> all global/local variables copied as well ? And what about pointers
> >> pointing to allocated memory prior to the fork process, can a child
> >> access this memory as well ?
> >
> >fork() creates an exact copy of the parent, except that the child does
> >not inherit file locks and pending signals. I presume that "file handles"
> >means file descriptors.
> >
> >> Does the above code work then ? I mean the params passed to the
> >> function are those valid ?
> >
> >Yes.
>
> ... but ... do not use exit(), use _exit() in the child and see vfork()
> too, although vfork() might or might not behave as fork() does.
Traditionally, vfork() is/was the fast and sloppy flavour of fork(),
only meant to be used in the fork()/exec() idiom. In the olden days
(before copy-on-write was discovered), fork() did a full memcpy() of the
parent's local/global variables when creating the child. This was
considered wasteful in the common case where the first thing done by the
child was an exec(), throwing away the inherited core copy. So, to
optimise that case, the wise invented vfork(), which instead of copying
data simply let parent and child share the same copy (somewhat like
threads, but no useful mutexes). After the vfork() one party (usually
the child) had to exec() or die, anything else could cause races with
the parent.
Nowadays, with copy-on-write, vfork() is usually (definitely on
Linux) a synonym to fork(). But you'll never know when your code is run
on a PDP-11 where they are not the same.
(In case you're wondering, copy-on-write means that the memory is
initially shared, but when the child (or parent) tries to write to a
variable, the OS (with some help from the MMU) makes separate copies of
that variable. So only those variables that must be copied are copied).
ObTechnical:
Yes, I know that c-o-w has a granularity of one page instead of one
word, and that page tables must be duplicated on a fork(). But I wanted
to keep the explanation simple.
/Sverker
------------------------------
From: [EMAIL PROTECTED] (John McDonald, Jr.)
Crossposted-To: comp.os.linux.setup,comp.os.linux.development.apps
Subject: Help Compiling GCC 2.95.1 (Please!! )
Date: Thu, 02 Sep 1999 18:19:51 GMT
Okay, so I'm trying to install Gcc 2.95.1 on an Ultra Enterprise 450,
running Solaris 2.5.1.
Here's what I do, and here's what happens: (And please help!)
1. Untar gcc-2.95.1.tar.gz into /u7/gcc-2.95.1/
2. Mkdir /u7/objdir
3. Chdir /u7/objdir
4. '../gcc-2.95.1/configure --prefix=/u7/installs/gcc-2.95.1 \
--with-local-prefix=/u7/installs/gcc-2.95.1\
--with-gxx-include-dir=/u7/installs/gcc-2.95.1/include/g++'
5. Configure whirrs on for a while, doing its thing...
6. No errors, normal termination of configure.
7. 'make bootstrap MAKE="make -j 4" -j 4'
8. This whirrs on for about 15 minutes (on 4 processors, oh yeah!)
9. A few warnings, but no errors. Normal termination of make.
10. 'make install'
11. Copies files, everything still seems okay.
Now, I changedir to /u7/installs/gcc-2.95.1/, and the binaries are in
/bin, and the libs are in /lib, and everything seems alright, except
there are NO INCLUDE files in /include. The g++ include files are in
/include/g++, but there are no other headers in this distribution.
This seems a bit puzzling to me, and my stuff tends to fail when I'm
unable to include the necessary files... Hmm..
BTW: I did downlad the full 12.x meg gcc-2.95.1.tar, so don't go
there! :)
Anyone have any ideas? Is it possible that the install is noting that
I already have include headers somewhere else, so its not installing
them? They didn't get put in /usr/include, or /usr/local/include, so
I don't know what happened to them or if perhaps they simply weren't
included....
HELP!?!?!?!?! PLEASE!!!!
We've been working on this for days now, its really depressing and a
bit pathetic... :)
---
John K. McDonald, Jr. Alcatel, USA
[EMAIL PROTECTED]
--
"I speak for me and not this company"
TO SPAMMERS:
Please note important defininitions:
The Telephone Consumer Protection Act
of 1991, Title 47, Chapter 5,
Subchapter II, Section 227.
------------------------------
From: [EMAIL PROTECTED] (J.H.M. Dassen (Ray))
Crossposted-To: comp.os.linux.misc
Subject: Re: LINUX AND COREL
Date: 2 Sep 1999 18:53:46 GMT
[F'up set]
J Mars <[EMAIL PROTECTED]> wrote:
>There are talks that Corel will bring out a Linux Wordperfect suite
Corel Wordperfect is already available for Linux; see linux.corel.com. Other
applications are being ported currently.
>and O/S.
The Corel Linux distribution will be based on Debian and KDE; see
http://www.linuxworld.com/linuxworld/lw-1999-04/lw-04-corel.html .
It is not yet available; a demo version was demonstrated at the recent
LinuxWorld expo. LinuxWorld had a feature about it, but I can't find the URL
at the moment.
HTH,
Ray
--
ART A friend of mine in Tulsa, Okla., when I was about eleven years old.
I'd be interested to hear from him. There are so many pseudos around taking
his name in vain.
- The Hipcrime Vocab by Chad C. Mulligan
------------------------------
From: Stan Shebs <[EMAIL PROTECTED]>
Subject: Re: gdb Reference
Date: 02 Sep 1999 12:30:05 -0700
[EMAIL PROTECTED] writes:
> Does anyone know where "Using GDB: A Guide to the GNU Source- Level
> Debugger, Richard M. Stallman and Roland H. Pesch, July 1991." is
> posted on the WEB?
The most-up-to-date version, automatically formatted from the very
latest sources, is at
http://sourceware.cygnus.com/gdb/onlinedocs/gdb_toc.html
Another version, corresponding to Cygnus' GNUPro release, may be
found under this URL:
http://www.cygnus.com/pubs/gnupro
Searching altavista for GDB, Stallman, and Pesch together turn up some
more locations, as does searching by the manual's official title,
"Debugging with GDB".
Incidentally, the FSF also makes nicely printed and bound copies - I
always like to have one of those around too. The update for 4.18
recently appeared in stores, ISBN 1-882114-76-0.
Stan Shebs
GDB Architect
Cygnus Solutions
[EMAIL PROTECTED]
------------------------------
From: Eric Hegstrom <[EMAIL PROTECTED]>
Subject: Re: select() and FD_SETSIZE
Date: Thu, 02 Sep 1999 14:32:56 -0700
Hey I find this very offfensive to the Bell Labs employees. I've met
some Bell labs intellectuals and they could suck down a bong with the
best of them.
Hack hack,
Eric
Miquel van Smoorenburg wrote:
>
> In article <[EMAIL PROTECTED]>,
> Kaz Kylheku <[EMAIL PROTECTED]> wrote:
> >
> >I think we can things up neatly with this table:
> >
> > Bell Labs intellectuals Berkeley dope-smokers
> > -------------------------------------------------------------
> > Bourne shell C shell
> > poll select
> > write talk, talkd
> > memcpy and memmove bcopy
> > termios sgtty
> >
> >Anything else?
>
> Bell Labs intellectuals Berkeley dope-smokers
> -------------------------------------------------------------
> no network TCP/IP
> streams sockets
> :)
>
> Mike.
> --
> ... somehow I have a feeling the hurting hasn't even begun yet
> -- Bill, "The Terrible Thunderlizards"
^^-^^
------------------------------
From: [EMAIL PROTECTED] (Kaz Kylheku)
Subject: Re: Oops-tracer wanted!
Reply-To: [EMAIL PROTECTED]
Date: Thu, 02 Sep 1999 18:46:38 GMT
On Thu, 02 Sep 1999 09:02:21 +0200, Andreas Peetz <[EMAIL PROTECTED]> wrote:
> [eepro100:eepro100_init+-114764/8753] [md_map+100/108] [ll_rw_block+234/524]
> [brw_page+661/904] [generic_readpage+129/144] [try_to_read_ahead+269/292]
> [do_generic_file_read+762/1540] [generic_file_read+99/124] [file_read_actor+0/80]
> [sys_read+194/232] [system_call+52/56] [startup_32+43/164]
>Sep 1 17:36:43 frasvmhst01 kernel: Code: 8b 03 03 43 08 39 c6 7c 1d 8b 5f 04 85 db
>75 16 56 68 60 c6
>-------------------------------------------------------------------------------------------------------------------
>
>I welcome any hints and comments. Thank you,
It's hard for anyone to do this for you because they need the same kernel
image that you have. One thing you can do is disassemble your vmlinuz image
and look for the instruction pattern '8b 03 03 43 08 39 ...' that is
shown on the last line of the oops. That will tell you where you are.
You know that you are somewhere near (or rather not so near) the eepro100_init
function, so it's the eepro driver that seems to be the culprit. If it's a
module, then disassemble the module .o file, rather than vmlinuz, with:
objdump -d <module_name>
Then look for that instruction pattern to find out where exactly it's
crashing and why. Search for a short substring like '8b 03'. There may be
multiple matches, so find the one that is followed by 03 43 08, etc.
The disassembly should show you static symbols, so
you can find what actual function the problem was in: the oops message
only relates the crash to a nearby *external* symbol like eepro100_init,
but drivers are full of static functions that do the work and often have
relatively few external functions.
If you mailed me a copy of the exact eepro100.o and eepro100.c that you are
using, along with a courtesy copy of the oops message, I could have a look at
it to determine the location in the code and the cause of the crash.
It looks like the ethernet driver was invoked at interrupt time and did
something wrong; the problem is unlikely to be related to the MD driver.
------------------------------
From: [EMAIL PROTECTED] (Phil Hunt)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.hardware
Subject: Re: History
Date: Thu, 02 Sep 99 22:25:09 GMT
Reply-To: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>
[EMAIL PROTECTED] "Stephan Houben" writes:
> [EMAIL PROTECTED] (Lew Pitcher) writes:
> > On Thu, 02 Sep 1999 03:31:15 GMT, Julius <[EMAIL PROTECTED]> wrote:
> >
> > >The History of Linux from the beginning and how it's working compare with
> >
> > >other Operating Systems.
> >
> > ?????????????
>
> Why the ??????? ?
>
> The beginning of Linux hasn't really started yet
Not at all. Linux was born on 17th September 1991 (see URL in
my sig for details).
> and so far it's the only *real* Operating System. ;-)
Only if you don't count *BSD.
> So the "History of Linux from the beginning and how it's working
> compare with other Operating Systems" is indeed best summarized with
> an empty line.
Any sufficiently advanced operating system is indistinguishable from
Linux, as the phrase has it.
--
Phil Hunt - - - - - - - - - [EMAIL PROTECTED]
- Linux will be 8 years old on 17th September! See: -
http://www.vision25.demon.co.uk/prog/linuxbirthday.html
------------------------------
From: John Schneider <[EMAIL PROTECTED]>
Subject: na83902 driver?
Date: Thu, 02 Sep 1999 22:51:35 GMT
I'm looking for a Linux driver for a National Semiconductor 83902
Ethernet chip. I've
checked on www.national.com, but haven't had any luck.
Does anybody have any suggestion?
--
John Schneider
Senior Applications Engineer
Mentor Graphics, Embedded Software Division
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: [EMAIL PROTECTED] (N1ho)
Subject: Re: Keyboard input rejected in X after upgrading to 2.3.14 kernel
Date: 02 Sep 1999 23:05:20 GMT
I'm seeing a possibly related problem with 2.3.1x - I can't login in on a
console terminal. When I type in the username (root), it simply refreshes the
line and reprompts me for the username. I'm able to do a Vulcan NeckPinch
(ctrl-alt-del) to cleanly shut the system down, and have found in the
/var/log/messages file several complaints from 'mingetty' about illegal
characters. I can run 2.1.11/12 just fine.
I'm used to dealing with strange bugs in
whatever experimental kernel series is
around, but this one's got me baffled. I
didn't see any obvious references in the
Kernel Traffic logs for the kernel mailing
list (I know I really should subscribe, but
I need to do some other things first.)
One suggestion I've been given was that
it might be a PAM problem, but I'm scared
to death to paint myself into a corner if I
change something in /etc/pam.d incorrectly
as I'm not real familiar with PAM. Thanks
in advance.
=====BEGIN GEEK CODE BLOCK=====
GCS/CC d+ s:+>: a+ C+++ UO++$L++>$ P L+++ E- W+ N++ K? w--- !O M? V--
PS+ PE+ Y+ PGP- t++ 5 X+ R* tv b++ DI+++ D? G e++ h+ r-- y--
=====END GEEK CODE BLOCK=====
Spam shared with [EMAIL PROTECTED]
------------------------------
** 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
******************************