Linux-Development-Sys Digest #835, Volume #6 Tue, 15 Jun 99 23:14:23 EDT
Contents:
Re: TAO: the ultimate OS (Bill Anderson)
Re: TAO: the ultimate OS (Bill Anderson)
Re: How to upgrade gcc2.7.2.3 to gcc2.8.1 (Daniel Bruce Lynes)
Re: Can't export '/' ([EMAIL PROTECTED])
Re: What are the differences between mySQL and mSQL? (bryan)
Re: Detecting multiple keystrokes simultaneously (bill davidsen)
Re: Ports adresses (ellis)
2.3.6 compiling problems (Carsten)
Re: Ports adresses (Gianni Mariani)
Re: TAOs: Much to do about nothing? (Gordon Scott)
Re: the ultimate OS (Casper H.S. Dik - Network Security Engineer)
Re: MMX & SMP HOWTO? (Gianni Mariani)
Linuxthreads (Sven Heursch)
Strange behavior after login (Medical Electronics Lab)
Re: New to Programming (Medical Electronics Lab)
Pro/ENGINEER FlexLM and LINUX ([EMAIL PROTECTED])
Re: Rage 128 driver for X ("Peter King")
----------------------------------------------------------------------------
From: Bill Anderson <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.advocacy,comp.os.misc,comp.unix.advocacy
Subject: Re: TAO: the ultimate OS
Date: Tue, 15 Jun 1999 00:50:18 -0600
"Vladimir Z. Nuri" wrote:
>
> Nix ($}xinix{[email protected]) wrote:
>
> .."a wish list is not a design"
>
> I acknowledge this .. but a wish list that people agree on is a
> CONSENSUS.. a direction!! a map to the future!!
> something that all the "rugged invidividualist"
> programmers aound here deride as a sort of evil socialism or
> corporatism.
>
> so I have a long wish list.. so what? who has articulated
> these wishes as important before? no one has pointed me
> to any essays.. I await eagerly.
Essays? we don't need no essays! ;-)
Does anyone here disagree with the following:
o Security is an issue in computing, and should be taken into account.
o Stability is an issue in computing, and should be taken into account.
o Coolness is an issue in computing, and should be taken into account.
o We want a cool, stable, and secure operating system.
?
I believe I can get a consensus on that, and not need 44K to do it.
Who *hasn't* (M$ doesn't count ;-) articulated that security and
stability are important??
There is a place for some ego amongst hackers/programmers; that place is
in cool, functional code, not in "I wrote down the bleedingly obvious
first."
You may likely consider this as a flame, but sometimes the bleeding
obvious needs restating.
--
Bill Anderson
"Sometimes I feel compelled to state the obvious. The again, sometimes,
I do not." --me
------------------------------
From: Bill Anderson <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.advocacy,comp.os.misc,comp.unix.advocacy
Subject: Re: TAO: the ultimate OS
Date: Tue, 15 Jun 1999 00:57:49 -0600
"Vladimir Z. Nuri" wrote:
>
> Christopher Browne ([EMAIL PROTECTED]) wrote:
> : ... And people that haven't built even their *first* OS are difficult to
> : take seriously when they claim they'll improve on what's already there.
>
> ..
>
> : In contrast, taking someone seriously when they have no track record at
> : implementing an OS, when they fairly clearly are unaware of recent OS
> : research, and can't clearly define "Object Oriented," is extremely
> : difficult.
>
> i.e. "who are you???
a reasonable request.
> what papers have you written"??
haven't seen that. We don'y care about 'papers'; we care about code and
concept understanding, none of which you are forthcoming with.
> I am not
> interested in a debate on the exact definition of "object oriented"..
If you want an OO OS, you should be.
------------------------------
From: Daniel Bruce Lynes <[EMAIL PROTECTED]>
Subject: Re: How to upgrade gcc2.7.2.3 to gcc2.8.1
Date: Tue, 15 Jun 1999 07:33:28 GMT
On 14 Jun 1999, Paul Kimoto wrote:
> Yes, although it is probably better to use egcs: see
> http://egcs.cygnus.com/ . (The egcs team is in the
> process of taking over gcc maintenance, so you would
> not really be straying from the gcc path.)
Besides, Slackware ships with egcs now...it just uses a symlink for gcc and g++.
:))
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Can't export '/'
Date: 15 Jun 1999 08:13:39 -0400
>>>>> "David" == David Yeung <[EMAIL PROTECTED]> writes:
David> I put an export entry in the /etc/exports file:
David> / cozumel(rw,no_root_squash)
David> and then run 'exportfs -a'. I get the following error:
David> cozumel:/: Invalid argument
David> Anyone knows why? Is it a security feature in order to
David> disable exporting the root filesystem? If yes, how can
David> I disable this security? I am running RH 6.0.
Not security. But do you have other entries? knfsd is more picky
than the old user-mode nfsd. It won't let you export both a directory
and a subdirectory of that.
------------------------------
From: bryan <[EMAIL PROTECTED]>
Subject: Re: What are the differences between mySQL and mSQL?
Crossposted-To:
comp.os.linux.development.apps,comp.os.linux.misc,comp.os.linux.setup,comp.lang.java.databases
Date: Tue, 15 Jun 1999 13:37:08 GMT
In comp.os.linux.development.apps Don Baccus <[EMAIL PROTECTED]> wrote:
: In article <7k1vru$[EMAIL PROTECTED]>,
: david parsons <o r c @ p e l l . p o r t l a n d . o r . u s> wrote:
: >In article <[EMAIL PROTECTED]>,
: >Don Baccus <[EMAIL PROTECTED]> wrote:
: >>Not necessarily true. If you have several related tables
: >>that need to be logically updated at once, the atomicity of
: >>the transactional model is, well, useful if there's a crash
: >>while records are being inserted or updated.
: > Denormalize, denormalize, denormalize.
: > Yeah, you might bloat your rdb by a factor of 10 to do this,
: > but disk and core is getting cheap these days.
: Denormalization is something sane folks do to increase performance,
: not to avoid the need for a real database engine.
: If you've denormalized checking balances into thirty tables,
: don't have atomicity, and an update dies half-way through
: updating these tables, which balance do you trust?
: Or if another process reads these tables when processing
: an order, which balance should it use if they don't all
: agree?
: I suppose you can start implementing all sorts of cross-checks
: to help you unwind afterwards but...
: Why bother? Why not use a transaction-based db in the first
: place?
simple - cause not all the linux db's HAVE transactions. that's why!
believe me, if I could count on it always being there in code and
always working, fine. but db's are pretty new to linux and beggars
can't be choosers, as they say. so you live within the constraints of
what you DO have.
--
Bryan [at] Grateful.Net
http://www.Grateful.Net
------------------------------
From: [EMAIL PROTECTED] (bill davidsen)
Subject: Re: Detecting multiple keystrokes simultaneously
Date: 15 Jun 1999 23:35:26 GMT
In article <7jpn16$p24$[EMAIL PROTECTED]>,
Brian Luczkiewicz <[EMAIL PROTECTED]> wrote:
| I am writing a program that needs to deal with the interpretation of
| multiple keystrokes at the same time such as Ctrl-Shift-A or similar. I
| think that to do this, you need to set up a timer or at least a loop, but
| wouldn't that be processor hungry? I am pretty new at this, but I think a
| timer would work. I don't think so, but would I need RTlinux for this?
The keyboard hardware doesn't allow multiple keystrokes at the same
time... the driver sees an ALT, a CNTL, and then an A. It passes up a
keycode unique to that combination, as a 16 bit value. Note that left
and right shift, etc, keys are handled.
So at driver level you get multiple keystrokes, and at user level you
get a value which tells you what you want to know.
No problem, no solution.
That said, there is a level at which you can get a keynumber+up or
keynumber+down value, which lets you reinvent the whole keyboard driver
at user level. Unless you want to use shift as an input key by itself,
you just don't have a use for it.
--
bill davidsen <[EMAIL PROTECTED]> CTO, TMR Associates, Inc
The Internet is not the fountain of youth, but some days it feels like
the fountain of immaturity.
------------------------------
From: [EMAIL PROTECTED] (ellis)
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Ports adresses
Date: 15 Jun 1999 23:29:58 GMT
In article <[EMAIL PROTECTED]>,
Christophe Basset <[EMAIL PROTECTED]> wrote:
>I'm tryin gto read the parallel ports (lp0, lp1 and lp2) off the BIOS'
>assignment at the adresses 0x408, 0x40A and 0x40C with the following
>program (adapted from an old code for DOS...).
>
>So far, I only get:
>
>Segmentation fault (core dumped)
>
>Any idea why or how to do this?
>
>Thanks,
>
>Christophe
>
>---------------------------------------------------------------------
>#include <stdio.h>
>#include <unistd.h>
>
>void main(void)
>{
> unsigned int *ptraddr;
> unsigned int address;
> int a;
>
> iopl(3);
>
> ptraddr=(unsigned int *) 0x408;
>
> for (a = 0; a < 3; a++)
> {
> address = *ptraddr;
^^^^^^^
That won't work. Try doing a mmap of /dev/kmem and read the data
from it.
--
http://www.fnet.net/~ellis/photo/linux.html
------------------------------
From: Carsten <[EMAIL PROTECTED]>
Subject: 2.3.6 compiling problems
Date: Wed, 16 Jun 1999 02:28:30 +0200
hi everybody,
i have some problems compiling 2.3.6
error messages are as follows:
make[2]: Entering directory `/usr/src/linux-2.3.6/net'
gcc -D__KERNEL__ -I/usr/src/linux-2.3.6/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce
-DCPU=686 -DEXPORT_SYMTAB -c netsyms.c
netsyms.c:380: `rtnl_wlockct' undeclared here (not in a function)
netsyms.c:380: initializer element for `__ksymtab_rtnl_wlockct.value' is
not constant
make[2]: *** [netsyms.o] Error 1
kernel 2.3.5 worked fine with the same .config file.
any hints ??
===================================================
Carsten Prinz
[EMAIL PROTECTED]
===================================================
------------------------------
From: Gianni Mariani <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Ports adresses
Date: Tue, 15 Jun 1999 23:43:02 GMT
Linux processes run in virtual memory which is very unlike how DOS runs
programs.
If the DOS world, all programs ran in the one physical address space
before the time
of the PharLap etc address extenders.
Now, what you're attempting to do is rather silly when the CPU has not
been set up to
address the hardware (which is the default for a vast majority of
processes) Linux/Unix
manages your peripherals using device drivers. This way you can avoid
nasty things like
ptraddr=(unsigned int *) 0x408; which are guarenteed to limit your
ability to run your
code on anything else but you're class of machine.
OK, so having said that, take a look at the parallel port driver and
figure out what kind
of control it guves you. You will also note that Linux does special
things with device
drivers. It will load them upon demand depending on how your kernel is
configured.
if you have Linux 2.2.X you will find somthing like this:
0378-037a : parport0
... in your /proc/ioports file.
Linux 2.0.X is somthing like this.
0378-037f : lp
These correspond to device files /dev/lp0 /dev/lp1 and /dev/lp2.
If you just want to check for existance of the device, you could
simply attempt to open the file /dev/lpx, however this is not exactly
the best thing if you're sharing the device as a printer.
BTW, many files in /dev are special device files and are configured so
that only
a privledged user can access them.
e.g. sleep 1 < /dev/lp2
bash: /dev/lp2: Device not configured
So /dev/lp2 is not available on my machine, however /dev/lp0 is !
Having said all this. You can get access to the hardware by writing a
device
driver. Not exactly somthing I'd reccomend as a first programming
project
but not that hard either.
I don't know how well Linux supports user mode drivers. In some unicies
you
can map the hardware addresses to the process'es address space but I
don't know
how the in/out instructions deal with that sort of thing. Certainly on a
MIPS architecture
this was relativly easy.
It's most likely that you can do all you want by opening /dev/lpX and
doing ioctl() calls:
man /dev/lp
gives many descriptions of what sorts of ioctl calls there are, if you
need more you
may be able to modify your version of the lp driver.
Christophe Basset wrote:
> I'm tryin gto read the parallel ports (lp0, lp1 and lp2) off the BIOS'
> assignment at the adresses 0x408, 0x40A and 0x40C with the following
> program (adapted from an old code for DOS...).
>
> So far, I only get:
>
> Segmentation fault (core dumped)
>
> Any idea why or how to do this?
>
> Thanks,
>
> Christophe
>
> ---------------------------------------------------------------------
> #include <stdio.h>
> #include <unistd.h>
>
> void main(void)
> {
> unsigned int *ptraddr;
> unsigned int address;
> int a;
>
> iopl(3);
>
> ptraddr=(unsigned int *) 0x408;
>
> for (a = 0; a < 3; a++)
> {
> address = *ptraddr;
> if (address == 0)
> printf("No port found for LPT%d \n",a+1);
> else
> printf("Address assigned to LPT%d is %Xh\n",a+1,
> address);
> *ptraddr++;
> }
> }
------------------------------
From: [EMAIL PROTECTED] (Gordon Scott)
Crossposted-To: alt.os.linux,comp.os.linux.advocacy,comp.os.misc,comp.unix.advocacy
Subject: Re: TAOs: Much to do about nothing?
Date: 15 Jun 1999 10:33:09 GMT
Reply-To: Gordon Scott <[EMAIL PROTECTED]>
Technolord ([EMAIL PROTECTED]) wrote:
: He just requires to know what can and cannot
: be done (placing a bed in a 1.5mx1.5m room isn't possible) and then
Off topic I guess, but that is possible if you think a little laterally,
The diagonal in that room is 2.1m and there's still (just!) room for a
door, window and clothes locker. It'll be a little cozy.
I'm ignoring children's rooms. (Too easy ;-)
G.
--
Gordon Scott Opinions expressed are my own.
[EMAIL PROTECTED] (official) [EMAIL PROTECTED] (backdoor)
[EMAIL PROTECTED] (home) http://www.apis.demon.co.uk
Linux ............... Because I like to _get_ there today.
------------------------------
From: [EMAIL PROTECTED] (Casper H.S. Dik - Network Security Engineer)
Crossposted-To: alt.os.linux,comp.os.linux.advocacy,comp.os.misc,comp.unix.advocacy
Subject: Re: the ultimate OS
Date: 15 Jun 1999 13:41:16 GMT
[[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]]
[EMAIL PROTECTED] (Donal K. Fellows) writes:
>In article <[EMAIL PROTECTED]>,
>Vladimir Z. Nuri <[EMAIL PROTECTED]> wrote:
>> Frank Sweetser ([EMAIL PROTECTED]) wrote:
>>> <sigh...>
>>> "perform a study determining which color database has the most memory"
>>
>> purple, definitely.. hahaha
>Don't be ridiculous. "Beige. You can't go wrong with beige."
"Mauve has the most RAM" (A Dilbert Classic)
Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
------------------------------
From: Gianni Mariani <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: MMX & SMP HOWTO?
Date: Tue, 15 Jun 1999 23:54:12 GMT
Marcus Sundberg wrote:
...
> You are dreaming... ;)
> No released Linux kernel contins a file named xor.c
Um, I think you're wrong Marcus. The file xor.c comes from a
released Redhat 6.0 kernel and it uses MMX instructions.
cd /usr/src/linux; find . -name xor.c
./drivers/block/xor.c
You may need to add the RAID patches to get it but it's certainly
a "released" kernel, albeit from Redhat.
Wakey wakey ...
Here's the header....
/*
* xor.c : Multiple Devices driver for Linux
*
* Copyright (C) 1996, 1997, 1998, 1999 Ingo Molnar, Matti Aarnio, Jakub
Jelinek
*
*
* optimized RAID-5 checksumming functions.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example /usr/src/linux/COPYING); if not, write to the Free
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
So you'd better take this up with Ingo, Matti and Jakub if you insist I'm
wrong.
;(*)
------------------------------
Date: Tue, 15 Jun 1999 15:56:42 +0200
From: Sven Heursch <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Linuxthreads
Hallo!
In the LinuxThread Implementation of Xavier Leroy (see
http://pauillac.inria.fr/~xleroy/linuxthreads/) the Signals SIGUSR1 and
SIGUSR2 are reserved for internal usage.
But in the glibc 2.1.1 I cannot find the file "internal.h" where these
Signals are defined to use for LinuxThreads.
Aren't they used anymore?
TIA
S. Heursch
------------------------------
From: Medical Electronics Lab <[EMAIL PROTECTED]>
Subject: Strange behavior after login
Date: Tue, 15 Jun 1999 09:18:28 -0500
I have RedHat 6.0 installed using 2.2.5 version
of linux. I've dinked with lilo and compiled
a "test" version of the kernel (which works ok).
My problem is that the original system seems to
take a very long time after the X windows login
to get going. Before I dinked with lilo it was
very fast. I have no idea how lilo can affect
anything *after* the login. What docs should
I read to understand what happens after login?
Also, it seems to take forever for the X windows
to log out as well. If I do "shutdown -h now",
it generates a core dump, then shuts down
normally.
Any ideas on which files I may have accidentilly
trashed?
Patience, persistence, truth,
Dr. mike
------------------------------
From: Medical Electronics Lab <[EMAIL PROTECTED]>
Subject: Re: New to Programming
Date: Tue, 15 Jun 1999 09:07:44 -0500
Robert Ascio wrote:
>
> Any tips on Linux Programming? Any book recommendations?
>
> The extent of my programming knowledge is limited to the three semester hour
> college course in "C" programming
Linux is a flavor of Unix. The best thing to try is a local book
store, and see what books they have Unix in general. The unix
world is huge, you have to think about what it is you want to do
and look for a book that comes close to that area of interest. You
may find several books that all just touch your specific interest.
Have fun!
Patience, persistence, truth,
Dr. mike
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.cad.pro-engineer,comp.os.linux.development.apps
Subject: Pro/ENGINEER FlexLM and LINUX
Date: Tue, 15 Jun 1999 13:23:15 GMT
Hello all!
Has anyone tried to use the LINUX version of FLEXlm to do software
license management for Pro/ENGINEER? I'd like to dump my NT
file/license server in favor of a LINUX box. File serving is no prob
for LINUX, of course, but with FLEXlm? Does anyone have experience with
changing FLEXlm servers in general? Also, I'm planning on keeping all
the same hardware; this is just and OS change (heh, just!).
BTW, sorry if the cross posting is inappropriate, did a search for
FLEXlm and posted to what may be relevant groups.
some references:
Parametric Technology Corp. -- http://www.ptc.com
GLOBEtrotter Software, Inc. -- http://www.globetrotter.com
LINUX General Info Home Page -- http://www.linux.org
-Adolphe Youssef
(note to PTC: Hurry up with Pro/E for LINUX!!!!!)
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: "Peter King" <[EMAIL PROTECTED]>
Subject: Re: Rage 128 driver for X
Date: Tue, 15 Jun 1999 16:47:50 +0100
Sorted it go to http://ruff.cs.jmu.edu/~beetle/ragefury.htm
cb <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
>
> Peter King wrote:
>
> > Anyone know where I can get the instructions to set up a Rage 128 card
(Fury
> > 32MB) under X.
> >
> > I found some instructions some where but they where too complex.
> >
> > I'm quite new to linux so plain english please. (background in Windows
> > networking environments, no coding experience.) So if I have to compile
> > something then instructions on that are needed.
> >
> > Using RH6 on box 1 and Suse 6.1 on box 2
>
> I agree with you totally, I found those intructions too and gave it a
shot but
> now I keep getiing error 111 and 03. Im stuck at this point and cant get
back
> my original settings. I hope somebody out there can provide a
> step-by-step(literally) guide on the easy way to get the rage fury 128 up
and
> running. ILL keep on plugin nonetheless until I get it..good luck
>
>
>
------------------------------
** 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
******************************