Linux-Development-Sys Digest #145, Volume #7 Fri, 3 Sep 99 01:14:13 EDT
Contents:
Re: LINUX AND COREL (J.H.M. Dassen (Ray))
Re: set up c++ development environment (Philip W. Darnowsky)
Rockwell PCI Modem? (Dr. Peer Griebel)
Re: Linux standards compliance ([EMAIL PROTECTED])
Re: Getting the Ethernet ID from directly from the network card. (Nicholas Dronen)
Re: Can someone please help me with a SCSI problem, or maybe just send me in the
right direction? (Martin Maney)
Re: Linux standards compliance ("Syd Barrett")
Re: Help Compiling GCC 2.95.1 (Please!! ) (Johan Kullstam)
Virus Avoidance? (Christopher Browne)
Re: TAO: the ultimate OS (EdToy)
Re: fork() question (David Wragg)
Re: need help on ptrace (Mario Klebsch)
Linux standards compliance ("Syd Barrett")
Flamage - Why? (Christopher Browne)
Re: unlink cputime (Nicholas Dronen)
Re: select() and FD_SETSIZE (Alan Curry)
----------------------------------------------------------------------------
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: [EMAIL PROTECTED] (Philip W. Darnowsky)
Subject: Re: set up c++ development environment
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.misc
Date: Thu, 02 Sep 1999 22:40:47 GMT
Graffiti ([EMAIL PROTECTED]) wrote:
: 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?
Maybe we could arrange to have everything cross-posted to comp.lang.c, and
let them get flamed to death.
--
===============================================================
Phil Darnowsky [EMAIL PROTECTED]
Remove spam, eggs, bacon, spam, and dot to reply.
"I'd use 'Hitler-Ware' if it would get the job done."
--Terry Fry
------------------------------
From: [EMAIL PROTECTED] (Dr. Peer Griebel)
Subject: Rockwell PCI Modem?
Date: Wed, 01 Sep 1999 12:30:46 GMT
Hi,
I just got a new notebook with an internal Rockwell PCI modem (I think
the vendor id is 127A, device id is 1005).
I think it can't be activated in linux 2.2.10. Or did I miss
something? Can I help to implement support for this piece of hardware?
thanks.
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Linux standards compliance
Date: Fri, 3 Sep 1999 02:56:10 +0100
Syd Barrett <[EMAIL PROTECTED]> wrote:
> How far along is Linux in being compliant with two new standards coming into
> the fore -- CUPS (Common Unix Printing System) and UDI (Uniform Driver
> Interface)? Any kernel gurus have any info?
CUPS - Never heard of it, but printing under linux is almost purely
userspace. Most linux distros seem to ship with the BSD printspooler,
but SYSV and probably some others are available. The kernel contains
the port drivers, but the actual spooling is userspace. provided this
can be provided in userspace I suspect that someone somewhere will
write a daemon to handle it, when it becomes an issue for them, but at
the moment most people use BSD.
UDI - The V1.00 spec has just been released, but it seems (from reading
the kernel list), that most of the people who really know this stuff
think that it leaves too much undefined, and that there will be serious
proformance issues. I doubt that it will make a mainstream kernel any
time soon.
If UDI takes off in a big way, then I dont doubt that support will be
written, but until it becomes an issue I dont think that anyone is
likely to do much work on it.
I might be pleasantly surprised, but my betting is that it will be
really hard to integrate this cleanly, and I very much doubt that
linus will allow something that doesnt integrate cleanly into 2.3 at
this late stage.
USB and Firewire are much bigger problems at this point. Actually the
really thorny problem is support for generic hot pluggable devices,
as there are serious device naming issues.
Disclaimer: This is just my reading of the situation.
Regards, Dan.
--
The email address **IS** valid, you do **NOT** need to remove spamblock.
And on the evening of the first day the lord said.....
... LX 1, GO!, and there was light!
------------------------------
From: [EMAIL PROTECTED] (Nicholas Dronen)
Subject: Re: Getting the Ethernet ID from directly from the network card.
Crossposted-To: comp.os.linux.hardware,comp.os.linux.development,linux.dev.kernel
Date: Fri, 03 Sep 1999 04:04:12 GMT
Vincent ([EMAIL PROTECTED]) wrote:
: HI.
: I'm developping a driver that it must getting the Ethernet ID directly
: on the network card.
: I found all network cards this their physical address in my PC but where
: is the ethernet number ??? What address ?
$ man ioctl_list
Look at SIOCSIFHWADDR.
Kind regards,
Nicholas
------------------------------
From: Martin Maney <[EMAIL PROTECTED]>
Subject: Re: Can someone please help me with a SCSI problem, or maybe just send me in
the right direction?
Date: 2 Sep 1999 03:14:50 GMT
ChunkBoy <[EMAIL PROTECTED]> wrote:
> I'm trying to setup my SCSI CD-ROM on an old Sound
> Blaster 16 with a SCSI-2 interface. I use this same configuration with
> FreeBSD, NT, Win95, Win3.1/DOS with NO PROBLEMS! I'm using Redhat
> Linux 5.2 for intel (2.0.36 kernel). I entered the correct option at
> boot time (LILO), which is:
> aha152x=0x340,11,7,1
Not much of an answer, I'm afraid, but I've had this same card working just
fine under 2.0.36 (Debian system, but the kernel was built from the regular
issue source tree). I've always loaded the driver as a module just because
I routinely make most anything that doesn't need to be embedded a module.
The only difference I can see is that I've never specified the 3rd or 4th
parameter, just the io and irq values.
General troubleshooting stuff: remove everything you can from the system,
try different bus slots, try the card in a differnt machine if you can, etc.
If you've had the card out of service for a while, check that it's working
with one of the other OSes if you can; hardware failures can be sudden and
unheralded. Etc. Given the error reported, I'd look especially hard for
anythign that might be trying to use the same IRQ. If the machine has any
form of PnP or PCI BIOS make sure that IRQ is flagged as reserved for legacy
ISA use. And so forth.
Luck!
------------------------------
Reply-To: "Syd Barrett" <[EMAIL PROTECTED]>
From: "Syd Barrett" <[EMAIL PROTECTED]>
Subject: Re: Linux standards compliance
Date: Fri, 03 Sep 1999 04:10:40 GMT
> the fore -- CUPS (Common Unix Printing System) and UDI (Uniform Driver
> Interface)? Any kernel gurus have any info?
>
For those of you who haven't heard of these, CUPS can be found at
www.cups.org and UDI at www.projectudi.org (for the ones curious enough to
peruse the material).
------------------------------
Crossposted-To: comp.os.linux.setup,comp.os.linux.development.apps
Subject: Re: Help Compiling GCC 2.95.1 (Please!! )
From: Johan Kullstam <[EMAIL PROTECTED]>
Date: 02 Sep 1999 23:50:34 -0400
[EMAIL PROTECTED] (John McDonald, Jr.) writes:
> 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..
you didn't specify enabled languages in the configure statement. you
get c anyways. the other i believe must be requested.
ripped from my gcc-2.95.1.spec file (an rpm thing)
../configure --prefix=/usr \
--enable-shared --enable-threads \
--enable-languages=c++,f77,objc \
$RPM_ARCH-redhat-linux
also gcc will try to put includes in g++-3 rather than g++.
although news is probably best, feel free to ask me by mail too. i've
set follow-ups to comp.os.linux.development.system. not that it is
the best but i read it and that will reduce usenet clutter.
hope this helps.
--
J o h a n K u l l s t a m
[[EMAIL PROTECTED]]
Don't Fear the Penguin!
------------------------------
From: [EMAIL PROTECTED] (Christopher Browne)
Crossposted-To: alt.os.linux,comp.os.linux.advocacy,comp.os.misc,comp.unix.advocacy
Subject: Virus Avoidance?
Reply-To: [EMAIL PROTECTED]
Date: Fri, 03 Sep 1999 03:18:42 GMT
On 2 Sep 1999 09:18:04 GMT, Peter T. Breuer <[EMAIL PROTECTED]> wrote:
>Christopher B. Browne ([EMAIL PROTECTED]) wrote:
>: >: the argument was: 1) suppose we have a virus checker. 2) construct the
>: >: program that checks X and exits harmlessly if its a virus, but if
>: >: X is not a virus then it should do something nasty and virus-like to
>: >: its own system (impossible if run in a lower-level sandbox). Then
>: >: apply this program to itself. If the program is a virus,
>
>"the resulting program", I meant.
>
>: >: it will never do anything to anything, and thus it can not be a virus.
>: >: If it is not a virus, then it will harm the system (sandboxed!) and
>: >: thus it is a virus.
>: >
>: >yes, a contradiction, its very similar to the halting proof by
>: >design. I'd say you've got it.
>
>: ... But it misses the "Trojan Horse" approach, where the would-be
>: virus refuses to activate the "bad stuff" until it can establish a
>: communications link to a provably remote site (e.g. - "home") so as
>: to have reasonable evidence that it is running in a "real" system
>: rather than in a sandbox.
>
>The proof above considered a virus checker that checks programs that
>take an input (in the case constructed, the input is its own code).
>I.e. trojans.
>
>I was sloppy with writing it down, but I could do it again with
>p(X) instead of p. I.e. suppose we have virus checker V(p) that
>checks if EX.p(X) will corrupt the system ("p is a virus") ...
>
>The proof is valid for programs with io. You can't write a program to
>reliably detect trojans or viruses.
>
>My comment was that the proof is valid even in the presence of the
>sandboxing concept. The proof goes through when the system is arranged
>in hierarchies. You can't write a program that will reliably detect a
>virus, even if you can execute that virus in a sandbox so it doesn't
>harm you. Any program that detects some viruses must fail to detect
>others (notably the trojan constructed in the proof).
>
>I'm not sure that's the interesting part, or if there is an
>interesting part ...
The approach that I suggested above amounts, essentially, to creating
a virus that treats the Internet as a "dongle."
--> If it can't detect the dongle, it guesses that it's being
"sandboxed/sandbagged," and plays dumb.
--> If it *does* detect the ``virtual dongle,'' this represents an
indication that it has been let out of the sandbox, and will be
allowed to "play," perhaps with some probabilistic scheme for
trying to "do something evil," so that it doesn't guarantee
detection.
I certainly agree that it will be problematic to prove that you have
"proven" that the program does not contain a virus in an analytic
manner; Turing's Halting Problem and all that...
There are, of course, ways of combatting the scheme that I have
suggested, corresponding roughly to a "capabilities" system.
For instance, one might forbid access to the program to files outside
of some "safe" zone, or forbid access to the Internet outside of
certain ports and certain domains.
--
Thank you for onlining with ITS --
Be sure to patronize us again for your next fix.
[EMAIL PROTECTED] <http://www.ntlug.org/~cbbrowne/lsf.html>
------------------------------
From: [EMAIL PROTECTED] (EdToy)
Crossposted-To: alt.os.linux,comp.os.linux.advocacy,comp.os.misc,comp.unix.advocacy
Subject: Re: TAO: the ultimate OS
Date: Thu, 2 Sep 1999 20:40:25 -0500
In article <7ql58a$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> In comp.os.misc [EMAIL PROTECTED](edtoy) wrote:
> : You have "give me ideas" and "do the work for me" interjected throuhout
> : your dialog. You're just trolling for suckers. Get a life.
>
> I am creating an environment (mailing list)
> with a specific agenda for whatever use people desire
> within the charter.
Sounds like your agenda. So pay 'em then.
> I resent the frequent
> canard here that one must have something exhaustive
> prior to posting.
It seems everyone wants to own developers instead of learnind how to do
become a productive citizen.
> how is it that someone contributing is
> a "sucker"?
What do _you_ intend to contribute??
> a rather dark way of looking at the world. it
> seems to me you are yourself saying, "do the work for me"
> or "get lost".
_You're_ the one who is scanning for free labor or some such thing.
Ed
------------------------------
From: David Wragg <[EMAIL PROTECTED]>
Subject: Re: fork() question
Date: 02 Sep 1999 19:12:13 +0000
Sverker Wiberg <[EMAIL PROTECTED]> writes:
> Nowadays, with copy-on-write, vfork() is usually (definitely on
> Linux) a synonym to fork().
It was, but not any more. With linux-2.2.x (not sure about 2.2.0, but
definitely for 2.2 releases of the last several months) and glibc-2.1,
you get a true vfork. Because of the code implementing clone already
in place, it was a very small addition to the kernel.
Regards,
David Wragg
------------------------------
From: Mario Klebsch <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development,comp.os.linux.help
Subject: Re: need help on ptrace
Date: Thu, 2 Sep 1999 20:02:08 +0200
David Powell <[EMAIL PROTECTED]> writes:
>You need to convert the cmd line arg from a string to an int (or pid_t):
> sscanf(argv[1], "%d", &pid);
> printf ("pid of the process to trace: %d\n", pid);
> if ( ptrace(PTRACE_ATTACH, pid, 0, 0) == -1) {
> switch (errno) {
> case EIO: ...
> case EPERM: ...
> case ESRCH: ...
Perhaps you should take a look at perror() and strerror(). It seems,
these function can save you a lot of work. :-)
73, Mario
--
Mario Klebsch [EMAIL PROTECTED]
------------------------------
Reply-To: "Syd Barrett" <[EMAIL PROTECTED]>
From: "Syd Barrett" <[EMAIL PROTECTED]>
Subject: Linux standards compliance
Date: Thu, 02 Sep 1999 23:03:45 GMT
How far along is Linux in being compliant with two new standards coming into
the fore -- CUPS (Common Unix Printing System) and UDI (Uniform Driver
Interface)? Any kernel gurus have any info?
------------------------------
From: [EMAIL PROTECTED] (Christopher Browne)
Crossposted-To: alt.os.linux,comp.os.linux.advocacy,comp.os.misc,comp.unix.advocacy
Subject: Flamage - Why?
Reply-To: [EMAIL PROTECTED]
Date: Fri, 03 Sep 1999 03:18:04 GMT
On Thu, 02 Sep 1999 17:33:40 +0000, James Andrews
<[EMAIL PROTECTED]> wrote:
>"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,
You probably missed the "what is object oriented programming" thread a
couple months back; that displayed fairly nicely how well-defined the
"TAO" would-be-OS's specifications were.
If you think that it is bizarre that you would see things that I wrote
that you assortedly agreed with and disagreed with, then there are
several possibilities:
a) I may have some inconsistent positions, or
b) You may have some inconsistent positions, or
c) Something else may be happening that makes it appear that one of
our positions is inconsistent.
--
"If roach hotels worked on pointy haired people, Microsoft would die."
-- Pete Koren
[EMAIL PROTECTED] <http://www.hex.net/~cbbrowne/lsf.html>
------------------------------
From: [EMAIL PROTECTED] (Nicholas Dronen)
Subject: Re: unlink cputime
Crossposted-To: comp.os.linux.misc
Date: Fri, 03 Sep 1999 04:16:33 GMT
Robin Becker ([EMAIL PROTECTED]) wrote:
: I asked before, but no one answered. Does unlink cause the ext2 filesys
: to immediately process the removed inodes/blocks etc. so that removing
: large files is costly. I find with the latest RH 6.0 that I seem to
: notice the time taken for rm to remove big files (500Mb). I don't think
: it was so intrusive under 2.0.37.
All unlink(2) does is deallocate an inode from a filesystem.
This doesn't necessitate a disk write. My understanding is that
the device superblock is read into memory when its filesystem is
mounted and the freeing of the inode is done there. At some
point the superblock is locked and synced to disk, but I don't
know what criteria the kernel uses for that.
Ultimately the speed of an unlink probably depends on whether the inode
of the file to be unlinked is in the inode cache.
Kind regards,
Nicholas
------------------------------
Subject: Re: select() and FD_SETSIZE
From: [EMAIL PROTECTED] (Alan Curry)
Date: Fri, 03 Sep 1999 04:45:13 GMT
In article <7qlhtd$f9a$[EMAIL PROTECTED]>,
Peter Samuelson <[EMAIL PROTECTED]> wrote:
>> Bell Labs intellectuals Berkeley dope-smokers
> terminfo, almost O(1) termcap, O(N)
You're talking about a few milliseconds in the startup time of programs that
spend 99.9% of their time sleeping waiting for user input. I'd rather edit
/etc/termcap than go through the tic/untic/infocmp compilation cycle.
Text is good.
--
Alan Curry |Declaration of | _../\. ./\.._ ____. ____.
[EMAIL PROTECTED]|bigotries (should| [ | | ] / _> / _>
==============+save some time): | \__/ \__/ \___: \___:
Linux,vim,trn,GPL,zsh,qmail,^H | "Screw you guys, I'm going home" -- Cartman
------------------------------
** 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
******************************