Linux-Development-Sys Digest #703, Volume #6 Wed, 12 May 99 08:14:11 EDT
Contents:
Re: what means cli() and sti()? (Keith Wright)
Re: Translation of linux to minor languages (Olav =?ISO-8859-1?Q?W=F6lfelschneider?=)
Re: tulip driver woes (was Re: Reliable (!) nic for 2.2 kernel?) (Ronald Cole)
Where can I get reference about linux device driver?
(=?iso-8859-1?Q?=B1=E8=C7=FC=BC=AE?=)
Re: You can now use Winmodems in Linux!!!!!!! (Christopher Mahmood)
rpm and Data Typ 9 ("Folkert Meeuw")
Re: Help Please!!! (Igor Zlatkovic)
Re: Journaled Filesystem (Villy Kruse)
Re: G++: Where's the documentation (man pages for header files?) (Y Chen)
Re: Mount multi-track CD ROMs? (Igor Zlatkovic)
Re: Glibc rant (Joel Klecker)
How can i know the current working CPU? (lckun)
Re: default route dropped [Re: cosmetic error in ipppd] (Gerrit Hiddink)
Trouble passing TCP packets through Raw Socket (Dave Koogler)
latest pgcc in rpm format for libc5 (Oleg Bulavsky)
Re: Glibc rant (Ronald Cole)
RedHat 5.2 "control-panel" eating resources? (Dr H. T. Leung)
Re: Glibc rant (Paul D. Smith)
32-Bit PCMCIA (eg. Intel Etherexpress Pro/100) ? (Gerdjan Busker)
Re: Linux disk defragmenter (M Sweger)
----------------------------------------------------------------------------
From: Keith Wright <[EMAIL PROTECTED]>
Subject: Re: what means cli() and sti()?
Date: 12 May 1999 00:26:17 -0400
But these are not system calls, they are machine instructions.
~$man cli
No manual entry for cli
Len Huppe <[EMAIL PROTECTED]> writes:
> You can find information on system calls with man on most Unix systems
> including Linux.. Run a 'man man' and you'll see that there's a whole
> section on system calls.
>
> good luck
>
> lckun wrote:
>
> > What means the functions cli() and sti() in the source sched.c of
> > kernel?
> >
--
-- Keith Wright <[EMAIL PROTECTED]>
Programmer in Chief, Free Computer Shop <http://www.free-comp-shop.com>
--- Food, Shelter, Source code. ---
------------------------------
From: Olav =?ISO-8859-1?Q?W=F6lfelschneider?= <[EMAIL PROTECTED]>
Subject: Re: Translation of linux to minor languages
Date: Tue, 11 May 1999 06:49:26 +0200
Jonathan A. Buzzard <[EMAIL PROTECTED]> wrote:
JAB> As your user name does not have to represent your real name this is not
JAB> important. Why should passwd need to accept Japanese or cyrillic characters?
And next time, when Sony sells you a VCR or such, why should they care about
your letters? You will have to read english using japanese characters.
Ok, bad example, hope you got my point: My language has special characters
and I damn well want to be able to use them wherever I like. It's MY language
after all.
Oh those english people...
--
Olav "Mac" W�lfelschneider [EMAIL PROTECTED]
PGP fingerprint = 06 5F 66 B3 2A AD 7D 2D B7 19 67 3C 95 A7 9D AF
Mer mu� doch nur emol e bissje nochdenke. -- Mundstuhl
------------------------------
From: Ronald Cole <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: tulip driver woes (was Re: Reliable (!) nic for 2.2 kernel?)
Date: 11 May 1999 14:32:05 -0700
bryan <[EMAIL PROTECTED]> writes:
> I don't necessarily need the -latest- driver, just the most stable in
> the 2.2 world. in 2.0.36, things were great.
No, they weren't. I'm running linux-2.0.36 on my 486 firewall with
two Kingston (tulip) PCI NICs and the net hangs on that machine quite
often. It requires me to go to the console, bring down eth0, bring it
back up, and re-add the route before things work again.
> now they're not so great. what happened in-between?
linux-2.0.36 has tulip-0.89H and linux-2.2.7 has tulip-0.89H.
You tell me!
--
Forte International, P.O. Box 1412, Ridgecrest, CA 93556-1412
Ronald Cole <[EMAIL PROTECTED]> Phone: (760) 499-9142
President, CEO Fax: (760) 499-9152
My PGP fingerprint: 15 6E C7 91 5F AF 17 C4 24 93 CB 6B EB 38 B5 E5
------------------------------
From: =?iso-8859-1?Q?=B1=E8=C7=FC=BC=AE?= <[EMAIL PROTECTED]>
Subject: Where can I get reference about linux device driver?
Date: Wed, 12 May 1999 04:43:13 GMT
I am developing some PCI board devcie driver for linux. But I have few
information
about linux device driver.Where can I get some information?
Thanks for reading, have a nice day!
------------------------------
From: Christopher Mahmood <[EMAIL PROTECTED]>
Subject: Re: You can now use Winmodems in Linux!!!!!!!
Date: 11 May 1999 04:40:38 -0700
yippeee!!! now we can all buy bastardized hardware and send the right message
to the manufactures!
-ckm
------------------------------
From: "Folkert Meeuw" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: rpm and Data Typ 9
Date: Wed, 12 May 1999 08:00:54 +0200
Hi Dear Friendly Readers,
what is Data Typ 9 and why is it not supported by rpm ?
MfG Folkert Meeuw
------------------------------
From: Igor Zlatkovic <[EMAIL PROTECTED]>
Subject: Re: Help Please!!!
Date: Thu, 06 May 1999 10:15:32 +0000
Process Synchronization
Considering the statements made on inter-process communication, there
is only one thing to differ from the real life here. Children should never
live longer than their parents.
Handling of Deadlocks
When you drive in a tight street and another car comes from the
opposite direction, one of you will drive reverse sooner or later. There are
better things to do than sit in a car all day long. In the process world
situation is totally different. there is no way to handle a deadlock. You
simply must not let it happen.
Terence Cheng wrote:
> Process scheduling
> One day, you have a lot of assignment and need to deliver them in very
> short time. How do you schedule all your assignment ? You will either
> complete the most easy one or the most important one. For those
> difficult, you will put it aside and when you got idea, you will bring it
> back again.
>
> Inter-process communication
> How two people communication with each other ? Just imagine the
> process in unix just like a creature. The creature are only homosexuality
> and can do reporduction by issue the call "fork". No need to make love.
> These creature need to talk with each other. In Unix environment, these
> creature can communicate via File, Pipe, Signal, Message queue, Semaphore
> and Shared memory.
>
> "Jack R. Llewellyn" wrote:
>
> > Hi,
> >
> > I am a student at the University of Phoenix-Utah Campus studying
> > Information Systems. The current course we are studying is Operating
> > Systems Concepts. Our group has a project on Linux to complete which
> > consists of several parts. The current focus is "Operating System
> > Process Management Analysis". The requirements are as follows.
> >
> > Identify how the chosen operating system (Linux) manages processes and
> > concurrency including:
> >
> > Process scheduling
> > Inter-process communication
> > Process synchronization
> > Handling of deadlocks
> >
> > We are basically at the beginner's level as far as understanding
> > operating systems. Could anyone please discuss this topic with me or
> > refer me to any location on the Internet that could help us out with
> > this subject in a lay person's terms? I have searched the Internet
> > hours on end and have not been able to find what I need.
> >
> > Any help would be greatly appreciated.
> >
> > Thanks in advance,
> >
> > Jack Llewellyn
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED]
>
> --
> Best Regards,
>
> Terence Cheng
> Systems Engineer
> ________________________________________
> NKO (HK) Limited
> Email: [EMAIL PROTECTED]
> Tel : 28399162
--
o
O Cheers,
______O___
\________/ Igor Zlatkovic
\ o / mailto:[EMAIL PROTECTED]
\ O /
\ /
\/
|| University of Applied Sciences
___||___ Frankfurt, Germany, EU.
------------------------------
From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: Journaled Filesystem
Date: 12 May 1999 09:12:16 +0200
In article <[EMAIL PROTECTED]>,
Gianni Mariani <[EMAIL PROTECTED]> wrote:
>
>This has nothing to do with a jfs.
>
>If you have a glitch and the data wriiten to this disk is corrupted, then a
>jfs isn't going to help. You need an fsck !
>
Remember, that the AIX jfs only do journaling for directory, inode,
and free space information. Your file data is just as vulnable as it
always has been.
Villy
------------------------------
From: [EMAIL PROTECTED] (Y Chen)
Crossposted-To: comp.os.linux.development.apps
Subject: Re: G++: Where's the documentation (man pages for header files?)
Date: Tue, 11 May 1999 16:03:03 -0400
In article <[EMAIL PROTECTED]>, Ethan Pinkert
<[EMAIL PROTECTED]> wrote:
> Hello...
>
> I'm wondering if anyone can provide me with some info on the location of
> documentation for G++ header files (ie iostream.h). Does anyone know
> where such doumentation exists and if there's an RPM for it?
>
> thanks in advance
>
> -Ethan Pinkert
>
> --
/usr/include for C
and /usr/include/cxx or /usr/inlcude/g++ for C++
------------------------------
From: Igor Zlatkovic <[EMAIL PROTECTED]>
Subject: Re: Mount multi-track CD ROMs?
Date: Tue, 11 May 1999 16:02:44 +0000
Remco van den Berg wrote:
> Are you aware of the things you post to the newsgroups?
> If not, this is how it looks:
Sorry, I wasn't aware of that. I will post plaintext from now on.
Anyway, you should consider getting a newsreader that can read HTML, or at least
ignore it if it cannot display it.
Consider this an advice. You will have less problems with such posts, because I am
certainly not the only one posting
HTML.
--
o
O Cheers,
______O___
\________/ Igor Zlatkovic
\ o / mailto:[EMAIL PROTECTED]
\ O /
\ /
\/
|| University of Applied Sciences
___||___ Frankfurt, Germany, EU.
------------------------------
From: Joel Klecker <[EMAIL PROTECTED]>
Subject: Re: Glibc rant
Date: Tue, 11 May 1999 10:02:37 -0700
In article <[EMAIL PROTECTED]>, "Gerry S. Hayes"
<[EMAIL PROTECTED]> wrote:
> The release notes specifically stated that it was not a production
> stable release.
[snip]
> The folks who use distributions like Red Hat and Debian may not have.
> That's the fault of Red Hat and Debian -- the people who packaged up
> glibc as rpms and debs either new that it was a devel release or
> were incomprehensibly negligent.
The documentation may have claimed it, but that did not stop glibc
developers from recommending that the dists use it.
In January 1997, Ulrich Drepper suggested that Debian "base any future
releases on [glibc 2.0]."
--
Joel Klecker (aka Espy) Debian GNU/Linux Developer
<URL:mailto:[EMAIL PROTECTED]> <URL:mailto:[EMAIL PROTECTED]>
<URL:http://web.espy.org/> <URL:http://www.debian.org/>
------------------------------
From: lckun <[EMAIL PROTECTED]>
Subject: How can i know the current working CPU?
Date: Wed, 12 May 1999 17:23:25 +0900
Hi all!
I would like to know the current working CPU for the process im
multiprocessors.
How can i know it for 2 CPUs?
Should I programm in kernel source? Or how can i find the information
for it?
I hope you can help me.
Thanks
lckun
------------------------------
From: Gerrit Hiddink <[EMAIL PROTECTED]>
Crossposted-To: de.alt.comm.isdn4linux
Subject: Re: default route dropped [Re: cosmetic error in ipppd]
Date: 12 May 1999 09:06:28 GMT
Malware <[EMAIL PROTECTED]> wrote:
> Hi Gerrit,
> you wrote:
>> marks appearing above my head. Add the kernel's odd quirk to drop default
>> routes at seemingly random times, and you have a nice puzzle to keep you
>> busy for hours.
> The kernel does not drop the default route at random times but when you
> shut down an interface. A morelikely reason for the default route to
> drop nearly randomly is that you run a routing daemon (route or gated).
> This is especially the case in RedHat's default configuration.
I don't run route, gated or RedHat. By "random" I mean that the kernel
seems to take "some time" (in terms of ms) before it notices that the
interface went down, its IP number changed or whatever reason the kernel
needs to drop the routes. My ip-up script deletes the default route, then
adds it again to make sure *IT'S THERE*. However, the kernel STILL
DELETES IT AFTERWARDS. Or perhaps some other process, but it beats me
which one. The box ran fine on ethernet connectivity for years.
I put "cat beep >/dev/console" into ip-up to have an audible signal that
the IP link went up (that's how I discovered that it had no "x" bit and
that ipppd silently ignored it), so now I am sure that it is executed.
Still, every first time (after booting) I dial in, I have no default
route anymore after all scripts and stuff have ended. The process that
initiated the demand dial then is as confused as I am, because it isn't
getting the IP connectivity it wanted.
This is all very, very unclean. No single process or krnel should delete
a route without notice and/or reason. I'd like to have a configurable
option in the kernel to switch off automagical route tuning. I understood
that the kernel developers don't think this is a Good Thing, but it's also
us, the users, that are the judge of what's Good and what's Bad. So where
is the patch to add a config option, and if it isn't anywhere, who would
like to help me write one? If needed, I'll distribute a "linux plus"
version of every kernel that has this patch.
Grit
--
Only retarded computer users need to be corrected automagically. That's
why Word is so full of automagical typing stuff.
------------------------------
From: Dave Koogler <[EMAIL PROTECTED]>
Subject: Trouble passing TCP packets through Raw Socket
Date: Tue, 11 May 1999 13:34:04 -0400
Reply-To: [EMAIL PROTECTED]
I am writing an user-level application for routing IP packets from
an HDLC serial interface through a Linux system. I receive packets
from the serial interface and pass them to the Linux system via a
set of three raw sockets: one for ICMP, another for UDP, and a third
for TCP. Each socket operates with the IP_HDRINCL option, which allows
me to pass the IP header along with the rest of the packet.
ICMP and UDP messages work fine. TCP messages fail, but in a rather
unusual way. It appears that the raw socket passes the IP and TCP
headers, but with the IP total length set as just the size of the
two headers without the data. But the incoming packet does have data.
I have checked all the obvious problems such as wrong packet lengths,
confusion with network and host byte order, and so forth. I just can
not find anything wrong with the code, especially since the TCP
socket code is symetrical vis a vis the UDP and ICMP code.
Has anyone used raw sockets under Linux to pass TCP? Is this feature
working or broken?
Linux version 2.0.36
Thanks for any help you can render,
Dave Koogler
------------------------------
From: Oleg Bulavsky <[EMAIL PROTECTED]>
Subject: latest pgcc in rpm format for libc5
Date: Wed, 12 May 1999 17:02:36 +0700
Reply-To: [EMAIL PROTECTED]
Where can i find?
Include me in CC: when answer, please.
Thanks in advance.
Oleg Bulavsky.
------------------------------
From: Ronald Cole <[EMAIL PROTECTED]>
Subject: Re: Glibc rant
Date: 11 May 1999 13:54:35 -0700
Jan Vroonhof <[EMAIL PROTECTED]> writes:
> Moreover, recompiling is not always the easy solution. For instance if
> you compile any current release of XEmacs under glibc 2.1 the
> synchronous subprocesses break in a subtle way (they are no longer
> interruptable).
>
> The problem is that glibc's headers define ISETSIG which consfuses
> XEmacs into thinking that this is a sysv based SIGPOLL implementation
> and it should use iotcl(I_SETSIG) instead of the fcntl way (which
> comes from BSD I believe). This is a bug in XEmacs of course, but it
> just illustrates the subtle stuff that can happen if you change your
> build environment.
Ooh-weee! The compatibility defines in /usr/include/utmpx.h are just
as "confused" (someone put spaces between the '#' and the "define"s).
Had to hack a bit at ssh-2.0.12 just to get it to compile.
--
Forte International, P.O. Box 1412, Ridgecrest, CA 93556-1412
Ronald Cole <[EMAIL PROTECTED]> Phone: (760) 499-9142
President, CEO Fax: (760) 499-9152
My PGP fingerprint: 15 6E C7 91 5F AF 17 C4 24 93 CB 6B EB 38 B5 E5
------------------------------
From: [EMAIL PROTECTED] (Dr H. T. Leung)
Subject: RedHat 5.2 "control-panel" eating resources?
Date: 7 May 1999 15:23:46 GMT
I have a RedHat 5.2 box (plus a Slackware 3.6) and I just discovered that the
process "control-panel" is eating up 50% of the CPU usage (the other 50% is a big
micromagnetic simulation I am running - on the Slakware box, normally I get about
97% users when most of the other, including X windows, are idle), as "top" shows.
Okay, I shouldn't have left things I don't need running. But
Why is it eating resources? I thought it is simply a glorified config-file
editor, installation database searcher, among other things; for it to be idle, it
shouldn't be eating CPU cycles, right?
--
--------------------------------------------------
"What you don't care cannot hurt you." Chap. 7a, AMS-NS
------------------------------
From: [EMAIL PROTECTED] (Paul D. Smith)
Subject: Re: Glibc rant
Date: 11 May 1999 21:17:56 -0400
Reply-To: [EMAIL PROTECTED]
%% Ronald Cole <[EMAIL PROTECTED]> writes:
rc> Ooh-weee! The compatibility defines in /usr/include/utmpx.h are just
rc> as "confused" (someone put spaces between the '#' and the "define"s).
Uh... there's nothing wrong with spaces between the `#' and the
`define'; any ISO C preprocessor must accept that. Many older ones do,
too.
--
===============================================================================
Paul D. Smith <[EMAIL PROTECTED]> Network Management Development
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
===============================================================================
These are my opinions---Nortel Networks takes no responsibility for them.
------------------------------
From: Gerdjan Busker <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.portable
Subject: 32-Bit PCMCIA (eg. Intel Etherexpress Pro/100) ?
Date: 12 May 1999 12:21:17 +0000
Hi,
Does anyone know if any work is done on the 32 bit cards yet?
Unfortunately my friend bought a PCMCIA Intel Etherexpress 32 bit.
Cheers,
GJ.
------------------------------
From: [EMAIL PROTECTED] (M Sweger)
Crossposted-To: comp.os.linux.advocacy
Subject: Re: Linux disk defragmenter
Date: 12 May 1999 11:12:37 GMT
Reply-To: [EMAIL PROTECTED]
: and one has a pretty good inkling that defrag is a complicated
: concept. Microsoft's attempts at defrag do not appear to be
: the absolute best, but they do help somewhat; of course,
: a well-designed disk format (and block allocation and deallocation
: routines within the kernel/file I/O routines) should not require
: defrag in the first place, unless one has a file that is (a) very
: large, and (b) continually changing size -- maybe like
: /var/log/messages? Hmm... :-)
Some questions I have are,
a). is fsck for different linux filesystems equivalent to or serve the
same purpose as MSofts scandisk. That is to repair the filesystem?
If a run Msofts scandisk on a UMSMDOS filesystem to verify the
Linux files mapped to msdos ones, it starts finding cross-links
and lost clusters. If I answer yes to everyone, then I have my
Linux UMSDOS filesystem butchered to pieces and unusable.
b). what would be equivalent to Msoft defrag or Norton utilities defrag
for linux on an ext2 filesystem vs. an UMSDOS filesystem. If I
run Msofts defrag on a UMSDOS filesystem(without booting int linux)
It gets about 25-50% of the way thru, then complains it is out of
memory. I have 128 megs of memory for Msofts defrag program.
--
Mike,
[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
******************************