Linux-Development-Sys Digest #372, Volume #6 Wed, 3 Feb 99 17:14:13 EST
Contents:
Re: Easy(?) kernel question. (cano_jonathan)
Installing kernel modules at Boot (Frank McGirt)
Re: Diskless systems? (John Reiser)
Re: disheartened gnome developer (Christopher Browne)
Re: use theramin as input device (Mark Haas)
Re: Linux apps in win2000 port news! (Steven James)
Re: New free widget library: Notif-0.1 (Mike McDonald)
Re: Ignorant Socalists (was disheartened gnome developer) (Alexander Viro)
Advice: NT Service vs. Linux Daemon??? Which is easier? ("David Sisk")
Re: Linux apps in win2000 port news! (Adam P. Jenkins)
Re: Palm Pilot III C Compiler (Raul Silvera)
Re: Driven by Bios-INT? (Eric Wick)
Re: 2.2.1 (Ronald Cole)
Re: Unix/Advanced Computing People (Ben Russo)
2.2.1 Mysterious crashes (Joseph Sarkes)
sources message catalog (kadaster)
Re: use theramin as input device (William McBrine)
Re: disheartened gnome developer (Marco Anglesio)
Re: Rewriting IDLE Process - Need Strategic Advice - part 1 (Martin von Loewis)
----------------------------------------------------------------------------
Crossposted-To: comp.os.linux.misc
Subject: Re: Easy(?) kernel question.
From: cano_jonathan <[EMAIL PROTECTED]>
Date: Wed, 03 Feb 1999 17:52:52 GMT
cano_jonathan <[EMAIL PROTECTED]> writes:
cano_jonathan wrote:
jfc> I'm looking at the 2.0.35 linux kernel and I have a question
jfc> (primarily for the intel platform but info about others is welcome).
jfc>
jfc> When a process context is changed, doesn't the memory manager TLB need
jfc> to be flushed? Is there a specific x86 instruction or register that
jfc> does this? Where is the code that causes this to happen? I've looked
jfc> at
jfc>
jfc> #define switch_to(prev,next) in
jfc>
jfc> linux/include/asm-i386/system.h
jfc>
jfc> but I don't know the x86 instruction set well and can't seem to find
jfc> the code I'm looking for.
> From: [EMAIL PROTECTED] (Alexander Viro)
>
> [...]
>
> It's not a scheduler question. On ix86 you don't need to do anything
> special to flush TLB on a context switch. Any assignment to cr3 (address of
> root pagetable) will do the trick. Look in include/asm-*/pgtable.h for
> flush_tlb() and notice that on ix86 it will happen automatically as a side
> effect of MMU context switch.
>
> From: Michel TALON <[EMAIL PROTECTED]>
> Path:
>gazette.loc1.tandem.com!newsgate.tandem.com!su-news-feed1.bbnplanet.com!su-news-hub1.bbnplanet.com!cpk-news-hub1.bbnplanet.com!news.gtei.net!newspeer.monmouth.com!oleane!jussieu.fr!not-for-mail
> Lines: 5
> Message-ID: <[EMAIL PROTECTED]>
> References: <[EMAIL PROTECTED]>
> <[EMAIL PROTECTED]>
> <[EMAIL PROTECTED]>
> <798k5b$[EMAIL PROTECTED]>
> NNTP-Posting-Host: niobe.lpthe.jussieu.fr
> Mime-Version: 1.0
> Content-Type: text/plain; charset=iso-8859-1
> Content-Transfer-Encoding: 8bit
> X-Newsreader: Gnus v5.3/Emacs 19.34
> Xref: newsgate.tandem.com comp.os.linux.misc:317606
>comp.os.linux.development.system:81875
>
> You can get full documentation on Pentium processors by going to:
> http://www.x86.org/intel.doc/686Manuals.html
> and downloading
>
> Pentium(R) Pro Family Developer's Manual, Volume 3
Thanks guys!
--jfc
--
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Jonathan Cano, IGS 6k*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
------------------------------
From: [EMAIL PROTECTED] (Frank McGirt)
Subject: Installing kernel modules at Boot
Date: Wed, 03 Feb 1999 02:43:26 GMT
Would someone please list for me the files to be changed for kernel
driver modules to be installed at boot time rather than later with an
insmod command. Or better yet point me to where this procedure is
documented.
Thanks for the help.
Frank McGirt
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (John Reiser)
Subject: Re: Diskless systems?
Date: Wed, 03 Feb 1999 03:42:26 GMT
The smallest web serving system that I have seen is QNX's demo: the
whole OS, PPP dialer, browser, and server fits on _one_ 1.44MB floppy,
and boots and runs in very little RAM. You can run a server that
displays the analog of "/bin/ps" on a dynamic HTML page.
http://www.qnx.com .
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Christopher Browne)
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.development.apps,comp.os.linux.x
Subject: Re: disheartened gnome developer
Reply-To: [EMAIL PROTECTED]
Date: Wed, 03 Feb 1999 04:09:09 GMT
On Tue, 2 Feb 1999 15:01:09 +0000, Matthias Warkus
<[EMAIL PROTECTED]> wrote:
>It was the Mon, 01 Feb 1999 00:46:14 -0800...
>..and Arthur <[EMAIL PROTECTED]> wrote:
>> Thank you - not everything in the world exists
>> because of or for the benefit of economics.
>
>May I put this into my soon-to-come .signature rotation?
I would suggest that every arrangement *does* exist because of or for
some form of economic benefit.
Note that I didn't say *monetary* benefit...
People build free software because they think it provides *some* sort of
benefit outweighing the costs of producing it. That's economic
benefit...
--
Windows NT: The Mister Hankey of operating systems
[EMAIL PROTECTED] <http://www.hex.net/~cbbrowne/lsf.html>
------------------------------
From: Mark Haas <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.misc
Subject: Re: use theramin as input device
Date: 03 Feb 1999 13:51:08 -0500
[EMAIL PROTECTED] (William McBrine) writes:
> In comp.os.linux.development.apps Eric Miller <[EMAIL PROTECTED]> wrote:
>
> : Wouldn't that be making the easy, difficult? Most theramins I've seen
> : are bigger than a mouse and keyboard, and would require two hands to use
> : (unlike a mouse). A novel idea, but just plain silly.
>
> At least you wouldn't get carpal tunnel.
I made one inadvertantly while building an amplifier on a breadboard.
It would begin to oscillate (I could see it on the o-scope) each time
my hand neared the active circuitry!
-- Mark
------------------------------
From: Steven James <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.development.apps,comp.os.linux.hardware,comp.os.linux.misc,comp.os.linux.advocacy
Subject: Re: Linux apps in win2000 port news!
Date: Wed, 03 Feb 1999 11:23:29 -0500
M Sweger wrote:
>
> Hmmm! if you can't get the Unix software vendors to port their stuf from Unix
> to Window Nt, then make the Unix apps run within NT! In this way you can
> say that your OS is a engineering workstation.
That's just funny!
I looked at their prices etc. Let's see, I can pay thousands of dollars
to run my linux apps on flaky NT,
or I can just BUY a second PC (with all options), and run my Linux apps
on stable Linux for the same or less money...hmm, real tough choice
there! :->
G'day,
sjames
------------------------------
From: [EMAIL PROTECTED] (Mike McDonald)
Crossposted-To:
comp.windows.x,comp.os.linux.advocacy,comp.os.linux.development.apps,comp.os.linux.x
Subject: Re: New free widget library: Notif-0.1
Date: 3 Feb 1999 19:57:47 GMT
Reply-To: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>,
Emile van Bergen <[EMAIL PROTECTED]> writes:
> And you end up with the functionality of the app not modularized as the
> developer wishes, but in a very strict, per-button manner.
>
Except of course that Xt DOES pass "self" as the first arguement to the
callbacks. Under Xt, callbacks take three pointers. The first is a pointer to
the widget that called this callback. In your example, the button. (From
there, you can get the rest of them.) The second argument is a pointer to your
data, whatever that might be. The third argument is a pointer to data specific
to the type of callback. Motif uses the third one extensively to pass GUI
state info to the callback.
Mike McDonald
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Alexander Viro)
Crossposted-To: comp.os.linux.advocacy
Subject: Re: Ignorant Socalists (was disheartened gnome developer)
Date: 2 Feb 1999 23:27:42 -0500
In article <[EMAIL PROTECTED]>,
jedi <[EMAIL PROTECTED]> wrote:
> Polite my ass. You're developers? Then develop yourself a newsreader
> on par with rn from 10 years ago. Either that or go off and have a
> coronary and don't bother us.
You mean ^k^mGO/jedi/f:j^[ ? Sure.
*PLONK*, asshole. The sad thing being that imbecils like you keep crossposting
their shit again and again and have a nasty habit to change Subject:, so
killfiles are getting waay too big. *Now* FOAD, luser.
--
"You're one of those condescending Unix computer users!"
"Here's a nickel, kid. Get yourself a better computer" - Dilbert.
------------------------------
From: "David Sisk" <[EMAIL PROTECTED]>
Subject: Advice: NT Service vs. Linux Daemon??? Which is easier?
Date: Tue, 2 Feb 1999 20:59:51 -0500
Hi:
Advice, opinions, etc., please! I'm looking for feedback on which would be
easier to program.
I'm very interested in learning to develop server-side applications in C
and/or C++ (such as
a web-server, for instance. I realize that the source for Apache is freely
available, but I think that's probably a little difficult for me to start
mucking around with.). My C/C++ knowledge is limited, but I am
studying it and experimenting with it of knowledge. Given what I'd like to
focus
on, what are opinions on the easiest platform to start with (specifically,
for socket-type daemons)? In other
words, which is easier to write (with an http server as an example): a
Linux
daemon or an NT service. My current knowledge of the MS WinNT platform is
somewhat better than my unix/Linux knowledge.
Does anyone have any words of wisdom? Doubly thankful if you would email as
well as posting.
Btw, does anyone write anything is just plain C anymore, or is everything
pretty much done with C++?
--
David C. Sisk
The Unofficial ORACLE on NT site
http://www.ipass.net/~davesisk/oont.htm
------------------------------
Crossposted-To:
comp.os.linux.development.apps,comp.os.linux.hardware,comp.os.linux.misc,comp.os.linux.advocacy
Subject: Re: Linux apps in win2000 port news!
From: [EMAIL PROTECTED] (Adam P. Jenkins)
Date: 03 Feb 1999 15:57:53 -0500
[EMAIL PROTECTED] (Jeremy Mathers) writes:
> In article <[EMAIL PROTECTED]>,
> Adam P. Jenkins <[EMAIL PROTECTED]> wrote:
> >Exceed is just an X server. This means that while it can allow X apps
> >to display on a Windows machine, the apps have to actually be running
> >on a Unix machine, or actually be ported to Windows with a Windows
> >version of Xlib. I've used it and I never had NT crash because of it.
> >It's a useful thing to have on a network with both Unix and NT
> >workstations, but it's not a replacement for Unix. It can't run Unix
> >binaries on NT.
>
> Right on all counts (obviously).
>
> But the point is that the general public (including at least one
> poster to this NG) can't tell the difference between an X server
> implementation and a "Unix emulator" anyway, so, in the spirit of
> "Perception == Reality", there really is no difference.
But there is a very big difference in "Reality" between an X server
and "Unix emulator". With just an X server, you still need to own and
operate a machine running Unix to run Unix apps. If you had a Unix
emulator, presumably that means you could get Unix apps and just run
them on your NT machine. The sysadmin may be able to write some kewl
scripts so that an end-user on the NT machine doesn't realize they're
starting an X app, but that still only accounts for GUI Unix apps; to
start a non-gui Unix app you'd still need to actually log into the
Unix machine, whereas if you had a Unix emulator you could just run
them on your NT machine too.
--
Adam P. Jenkins
[EMAIL PROTECTED]
------------------------------
From: Raul Silvera <[EMAIL PROTECTED]>
Subject: Re: Palm Pilot III C Compiler
Date: 3 Feb 1999 20:04:33 GMT
Mark Prout <[EMAIL PROTECTED]> wrote:
: Does anyone know if there exists a C compiler for the 3Com Palm Pilot
: III either as a standalone product or as an attachment to the gcc
: compiler?
Check http://www.orbits.com/Palm/
======================================================================
Raul E. Silvera
My opinions only
------------------------------
From: [EMAIL PROTECTED] (Eric Wick)
Subject: Re: Driven by Bios-INT?
Date: 3 Feb 1999 06:01:35 GMT
In article <7978so$7q8$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
>It would be a little bit more difficult than a normal driver, but it should
>still be doable.
Will be a good thing to support already more Special-Hardware if no Driver are
avalable.
>(I have no special int13 hardware anyway)
Had a 486 with a Fast-DMA Onboard SCSI-Host and at the moment no chance to use
it:(
Contact me at Home for Testing:
[EMAIL PROTECTED]
ByeBye
Eric Wick
------------------------------
From: Ronald Cole <[EMAIL PROTECTED]>
Subject: Re: 2.2.1
Date: 03 Feb 1999 12:41:07 -0800
"Me" <[EMAIL PROTECTED]> writes:
> after a few attempts of compling a new kernel it still will not boot
> it goes to loading linux then locks up tight..
> any ideas?
Are you booting from floppy and "rdev"-ing the kernel? I used to
religiously recite the following incantation:
# cp /vmlinuz /dev/fd0
# rdev -R /dev/fd0 1
# rdev /dev/fd0 /dev/sda7
upon my 2.0.xx kernels, if only out of habit. However, this little
maneuver, when applied to a 2.[12].xxx kernel, prevents it from even
booting. Just copying the kernel to floppy is good enough,
apparently.
--
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: Ben Russo <[EMAIL PROTECTED]>
Crossposted-To:
comp.unix.programmer,comp.unix.advocacy,comp.unix.misc,comp.os.linux.misc,comp.os.linux.development.apps
Subject: Re: Unix/Advanced Computing People
Date: Wed, 03 Feb 1999 16:09:53 -0500
Lakshmi Natarajan wrote:
> Hi!
>
> I am looking to network with people involved in Unix and advanced
> computing
> for both personal and professional reasons. I have been seriously
> interested in the above for a long time. I have just joined USENIX and
> hope it will be good for this purpose.
>
> I am programmer, but my work environment does not have the concentration
> in Unix that I am looking for.
>
> I live in lower Westchester county, New York. I have got Linux on my PC
> and
> have been studying Richard Stevens' APUE as well as Bach's The Unix
> Operating System. I am interested in Unix system programming,
> administration, OS kernels, network programming, parallel processing
> (don't
> know much about it), Perl, Tcl/Tk, C, C++, Java, ... the whole bit!
>
> I would appreciate some leads.
> Thanks,
> (Mr.) Lakshmi Natarajan.
> --
> ####################################################
> # Not by bread alone, or by music or by science, #
> # but through all of them. #
> ####################################################
I suggest a book by WROX PRESS called "Beginning Linux Programming"
It is centered around writing programs for Linux for the user who is not
familiar with UNIX. It takes you through understading command shells
and your ENVIRONMENT, to writing shell programs and understanding
standard in and standard out.
Then it will walk you through writing a Character Mode Interface with menus
for a CD music library database in bash.
Then it will teach you a little about C programming and you will rewrite
the
same program in C.
Then you learn about the Web and how to write CGI programs. again you
write the program with a web interface.
Then you learn about X-windows and how to program in GUI mode.
You will learn a lot about UNIX in general and programming in general
by working through this book.
It is so well written that I have had to buy 4 copies of it because every
time
I lend it to someone like yourself they return it so dog-earred and
broken-backed
that I tell them to keep it as a present.
It is BRIGHT RED with YELLOW LETTERING.
-Ben.
------------------------------
From: [EMAIL PROTECTED] (Joseph Sarkes)
Subject: 2.2.1 Mysterious crashes
Date: Wed, 03 Feb 1999 21:16:54 GMT
I have been running 2.2.1 on a dec multia for a week or so. It seems
to crash regularly with NO info as to what happened. I end up back in
the srm boot prompt and even that latches up so i have to power cycle
the machine.
Is there any particular thing I can do to try to have some state data
available to track down the problem? Generally it occurs during a
compile of egcs or other large package.
I do not see any way of enabling any extra debugging methodology or
logging. All I see is a dead period in /var/log/messages from when
the machine stopped dead to when I power cycled it. One time I found
the machine with a page of data which I had no hope of copying down
but that is once in 20 crashes or so.
--
Joseph Sarkes mailto:[EMAIL PROTECTED]
------------------------------
From: kadaster <[EMAIL PROTECTED]>
Subject: sources message catalog
Date: Wed, 03 Feb 1999 10:37:40 +0100
Reply-To: [EMAIL PROTECTED]
I would like to have the sources of the message catalog functions
(catgets, catopen, catclose and other relating functions) in libc.
Does anyone know where I can find these?
Thanks,
Mariska Hoogenboom
e-mail: [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (William McBrine)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.misc
Subject: Re: use theramin as input device
Date: 3 Feb 1999 09:40:07 GMT
In comp.os.linux.development.apps Eric Miller <[EMAIL PROTECTED]> wrote:
: Wouldn't that be making the easy, difficult? Most theramins I've seen
: are bigger than a mouse and keyboard, and would require two hands to use
: (unlike a mouse). A novel idea, but just plain silly.
At least you wouldn't get carpal tunnel.
--
William McBrine | http://www.clark.net/~wmcbrine/
[EMAIL PROTECTED] | ./\./\./\./\./\./\./\./\./\./\.
------------------------------
From: [EMAIL PROTECTED] (Marco Anglesio)
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.development.apps,comp.os.linux.x
Subject: Re: disheartened gnome developer
Reply-To: [EMAIL PROTECTED]
Date: Wed, 03 Feb 1999 22:00:35 GMT
On Wed, 3 Feb 1999 18:01:05 +0000, Matthias Warkus <[EMAIL PROTECTED]> wrote:
>
>OK, Marco; I'll throw that in, too, OK?
Why, thank you. I rarely say anything quotable; I'm glad that someone
thought it was sufficiently quotable to recommend it, and that you
thought it was sufficiently quotable to use it.
>BTW, my sig rotation is now in effect, but it's only a brain-dead
>script at the moment. Are there any professional solutions for this?
There's signify, which I've just started using. (see below for the results
of a trivial signify configuration).
marco
,-----------------------------------------------------------------------------.
> | We know what causes violence: poverty, <
> Marco Anglesio | discrimination, the failure of the <
> [EMAIL PROTECTED] | educational system. It's not the genes <
> http://www.the-wire.com/~mpa | that cause violence in our society. <
> | --Paul Billings. <
`-----------------------------------------------------------------------------'
------------------------------
From: Martin von Loewis <[EMAIL PROTECTED]>
Subject: Re: Rewriting IDLE Process - Need Strategic Advice - part 1
Date: 03 Feb 1999 12:09:43 +0100
[EMAIL PROTECTED] (Carl Spalletta) writes:
> I thought it would be a nice touch to rewrite the idle process to do
> some useful work.
>
> The new Idle process would do an incremental partial defrag
> possibly followed up by a "shredding" of discarded files.
I believe you can achieve the same thing with less effort:
Just write the code you need as regular demons, and run them at low
priority.
Regards,
Martin
------------------------------
** 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
******************************