Linux-Development-Sys Digest #790, Volume #7 Thu, 20 Apr 00 12:13:16 EDT
Contents:
Re: .DLL not present in W2K, MICROSOFT GUILTY OF COVERUP! ("Stephen S. Edwards II")
Re: Kernel source browser (Jan-Willem Stroeken)
Re: How do I make a program run on localhost:200 (Charles Bryant)
Re: Obtaining Program Counter (Anand Krishnamoorthy)
Re: URGENT: Need help with French Canadian keyboard and keymap ("Lowel P. O'Mard")
Re: Kernel source browser ("kianping")
Re: where can i find a kernel debugger? (Zoran Cutura)
Re: where can i find a kernel debugger? (James Cownie)
Re: Kernel source browser (Marian Vittek)
Re: Overlay filesystem (aka union, translucent, inheriting)? (Thomas Steffen)
Re: File Size Limitations (Aki M Laukkanen)
Re: modules (Nilesh Patel)
Re: Trouble installing GNU C from Red Hat 6.0 CD (Lorenzo Bettini)
Re: Kernel modules development ([EMAIL PROTECTED])
!!Help me!! How know if a prgm is running??????? (Julien Curto)
Re: .DLL not present in W2K, MICROSOFT GUILTY OF COVERUP! ("Chad Myers")
Re: Daemon writing to console (Raymond)
Re: where can i find a kernel debugger? (Anand Krishnamoorthy)
----------------------------------------------------------------------------
From: "Stephen S. Edwards II" <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.advocacy,comp.os.ms-windows.advocacy,comp.os.ms-windows.nt.advocacy,comp.os.linux.networking,comp.os.linux.security,comp.os.ms-windows.networking.tcp-ip
Subject: Re: .DLL not present in W2K, MICROSOFT GUILTY OF COVERUP!
Date: 20 Apr 2000 04:24:32 GMT
Charlie Ebert <[EMAIL PROTECTED]> writes:
[SNIP]
: Well Chad. As the press release indicates, Microsoft used this Illegal .DLL to
: FUD over
: thousands of Netscape Server sites running on Microsoft Operating Systems.
Evidence please... aside from the typical hacker-kiddie sites.
: As far as the password "NETSCAPEENGINEERSAREWEENIES" are concerned, I'm going
: to take it that you TOTALLY DENY THIS PHRASE "NETSCAPEENGINEERSAREWEENIES"
: ever appeared in any Microsoft code then! Is that correct Chad. Will you
: DENY this for everybody.
How is this a "conspiracy"? "Mommy, he called me a name, make him stop!"
If namecalling is a conspiracy, then everyone on the planet is guilty.
: Don't give me any more of your silly bullshit. Just DENY it was ever there!
: Shit Chad. I've been writing WIN API since before you were probably born. 20
: years experience
: including mainframe time. You, your a GD systems administrator for Road Runner
: Cable it looks like.
: What the shit do you know about writing software?
*sigh*
Face it, Chad. Once a person proclaims their "skills", it's obvious that
they are squirming to get out of the hole they are digging. If I were
you, I'd not bother conversing with this twit.
[SNIP]
: Charlie
As for you, Charlie...
Learn to punctuate.
Learn to communicate.
Grow up.
--
.-----.
|[_] :| Stephen S. Edwards II | NetBSD: Free of hype and license.
| = :| "Artificial Intelligence -- The engineering of systems that
| | yield results such as, 'The answer is 67E23... I think.'"
|_..._| [EMAIL PROTECTED] | http://www.primenet.com/~rakmount
------------------------------
From: Jan-Willem Stroeken <[EMAIL PROTECTED]>
Subject: Re: Kernel source browser
Date: Thu, 20 Apr 2000 07:42:44 +0200
try http://lxr.linux.no/
root wrote:
>
> Does anyone know where I can find a good application or website which
> maps out the Linux source code. I keep hearing that one exists but I
> can't find it.
>
> Thanks.
>
> Chris
--
When I works, I works hard.
When I sits, I sits easy.
And when I thinks, I goes to sleep.
__________________________________________________________
Oc�-Technologies B.V. name : Jan-Willem Stroeken
P.O. Box 101 department : DVS, R&D
5900 MA Venlo e-mail : [EMAIL PROTECTED]
The Netherlands www : http://www.oce.com
Directdial: +31 (0)77 359 58 89
Fax: +31 (0)77 359 53 37
__________________________________________________________
this signature is automagically generated using 'fortune'
------------------------------
From: Charles Bryant <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.questions,comp.unix.programmer,comp.os.linux.development.apps
Subject: Re: How do I make a program run on localhost:200
Date: 19 Apr 2000 23:57:08 -0000
In article <01bfa958$07b9da60$55c548c2@flob>,
Mike Spooner <[EMAIL PROTECTED]> wrote:
>Charles Bryant <[EMAIL PROTECTED]> wrote in article
><[EMAIL PROTECTED]>...
>> In article <38fabdf5$0$[EMAIL PROTECTED]>,
>> Peet Grobler <[EMAIL PROTECTED]> wrote:
>> >Okay, I assume this must be possible, otherwise nobody would be using UNIX.
>> >
>> >Anyways, running Mandrake Linux 7.0 at home. I was thinking, how would you
>> >make a program run on a specified port?
>>
>> See tcpserver in the ucspi-tcp tools by Dan
>> Bernstein at http://cryp.to/ucspi-tcp.html
>
>Even easier - use inetd!!
Actually tcpserver is better for development as it doesn't require
root privilege (to modify /etc/inetd.conf).
--
Eppur si muove
------------------------------
From: Anand Krishnamoorthy <[EMAIL PROTECTED]>
Subject: Re: Obtaining Program Counter
Date: Thu, 20 Apr 2000 11:48:42 -0400
If you are in kernel space and want to find out the above info, you can use either of
the following, depending on where you are putting your code:
1. start from init_task and reach the task you want by comparing pids
2. Start from 'current' and do the same as above
3. Use the kernel routine 'find_task_by_pid()' to reach the task structure of the pid
you want to see.
In case you are in user space, you could use the method specified in one of the
earlier posts for the same question:
1. Read the 'stat' file of the /proc filesystem. The element kstkeip in it will give
it to you. Do a 'man proc' for details.
Anand .K
------------------------------
From: "Lowel P. O'Mard" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup
Subject: Re: URGENT: Need help with French Canadian keyboard and keymap
Date: Thu, 20 Apr 2000 07:52:08 +0100
Hiya Chuck,
> I'm in need of some quick assistance due to a time line imposed from
> above. I need to deploy a large number of i386 clients running Linux as
> front ends to an HP-9000 machine in Quebec. First hurdle: I don't speak
Look in the /usr/X11R6/lib/X11/xkb directory. It took me some time to find
this directory. I needed it because I am using a Silicon Graphics Keyboard on
my PC, and the standard keymap was not correct.
...Lowel.
--
+--------------------+---------------------------------------------+
|Lowel P. O'Mard PhD.| CNBH /\ / \ Hearing Research |
|Dept. of Psychology,| /\/\ /\/ \/ /\ \ /\ Laboratory |
|Essex University, |_/\/\/ /\ \/\/ /\ /\/ \ \/ /\/\_ /\_______ |
|Wivenhoe Park, | \/\/ \/\/\/ \/ /\ \/\/ /\ / |
|Colchester CO4 3SQ | \ /\/\/\ /\/ \ /\/\/ \/ Director: |
|Phone:01206 853772 | \/ \/ \/ Prof. Ray Meddis |
+--------------------+-http://www.essex.ac.uk/psychology/hearinglab+
------------------------------
Date: Thu, 20 Apr 2000 14:48:01 +0800
From: "kianping" <[EMAIL PROTECTED]>
Subject: Re: Kernel source browser
http://lsd.linux.cz
root <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Does anyone know where I can find a good application or website which
> maps out the Linux source code. I keep hearing that one exists but I
> can't find it.
>
> Thanks.
>
> Chris
------------------------------
From: Zoran Cutura <[EMAIL PROTECTED]>
Subject: Re: where can i find a kernel debugger?
Date: Thu, 20 Apr 2000 12:02:37 +0200
> Harold wrote:
>
>
> ----------------------------------------------------------------------
>
> Welcome to my linux page:
> Linux Paradise (under construction)
> BTW: Because my job is so busy, I
> want some friend to maintain this
> site with me together, please give
> me some suggestion.
> Thanks.
Dear Harold,
please get used to not posting HTML formatted text to the usenet. Most
newsreaders don't understand HTML.
There is no such thing like a kernel debugger. You can remote debug
the kernel with gdb, which is very complicated, and I never managed to
do so.
So people normally use printk() and the proc-filesystem to follow
the flow of their modules/drivers.
Z
------------------------------
From: James Cownie <[EMAIL PROTECTED]>
Subject: Re: where can i find a kernel debugger?
Date: Thu, 20 Apr 2000 10:42:30 GMT
Zoran Cutura wrote:
>
> There is no such thing like a kernel debugger. You can remote debug
> the kernel with gdb, which is very complicated, and I never managed to
> do so.
You could try the supposedly packaged version of that
"kGDB (Remote kernel debugger)"
at
http://www.oss.sgi.com/projects/kgdb/
(I haven't tried it myself...)
-- Jim
James Cownie <[EMAIL PROTECTED]>
Etnus, Inc. +44 117 9071438
http://www.etnus.com
------------------------------
From: Marian Vittek <[EMAIL PROTECTED]>
Subject: Re: Kernel source browser
Date: Thu, 20 Apr 2000 13:24:16 +0200
http://www.xref.sk/linux.html
starting at the kernel starting point.
Marian.
root wrote:
>
> Does anyone know where I can find a good application or website which
> maps out the Linux source code. I keep hearing that one exists but I
> can't find it.
>
> Thanks.
>
> Chris
------------------------------
From: Thomas Steffen <[EMAIL PROTECTED]>
Subject: Re: Overlay filesystem (aka union, translucent, inheriting)?
Date: 20 Apr 2000 13:50:44 +0200
Marc SCHAEFER <[EMAIL PROTECTED]> writes:
> olvfs
Seems to be dead, and it claimed to work with 2.0.x only. (prove me
wrong if you can :-) )
> podfuk
It seems to do only compression at the moment, but it seems a possible
option to start from. I'll give it a try.
> FIST
I have found it now, but it is alpha software. So maybe not the right
thing for my purpouse.
> userfs
Is dead a long time, since about 1996.
Since the fs-stuff in the kernel (especially VFS) seems to change a
lot, old code doesn't seem to be an option ;-( Otherwise ovlfs would
be brilliant.
Thanks everyone for the hints!
Thomas
------------------------------
From: [EMAIL PROTECTED] (Aki M Laukkanen)
Crossposted-To: comp.os.linux.misc
Subject: Re: File Size Limitations
Date: 20 Apr 2000 11:39:48 GMT
In article <8dji0h$[EMAIL PROTECTED]>, Alexander Viro wrote:
> 1) 2.2 is limited (in VFS) to MAXINT bytes per file. For ext2, reiserfs,
>whatever. On 32bit architectures it's 2Gb, on 64bit for all practical
>purposes it's infinity.
I don't think this is widely known but RedHat 6.2 flavored kernel also
includes the LFS patches and sufficiently new glibc. I haven't tried but
there should be no obstacles in producing files over 2GB on it.
--
D.
------------------------------
From: Nilesh Patel <[EMAIL PROTECTED]>
Subject: Re: modules
Date: Thu, 20 Apr 2000 17:55:09 +0530
greg wrote:
> lsmod.
>
> I found it.
>
> greg wrote:
>
> > How can you find out which modules are loaded?
cat /proc/modules
>
------------------------------
From: Lorenzo Bettini <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development
Subject: Re: Trouble installing GNU C from Red Hat 6.0 CD
Date: Thu, 20 Apr 2000 14:28:11 +0200
Jason wrote:
> This all makes sense except that when I type 'rpm -i *egcs*' I get a
> bunch of errors indicating that things couldn't be installed because of
> various dependency issues. I'm not sure how to proceed. Also, the
These errors say that, in order to install this package, first you have
to install the packages it depends on... this is recursive, i.e. while
installing one of these package you may have to install other package as
well...
Lorenzo
--
+-----------------------------------------------------+
| Lorenzo Bettini ICQ# lbetto, 16080134 |
| PhD student in Computer Science |
| Florence - Italy (Linux User # 158233) |
| Home Page : http://w3.newnet.it/bettini |
| http://infostud.dsi.unifi.it/~bettini |
| Mail Home : [EMAIL PROTECTED] |
| Mail University : [EMAIL PROTECTED] |
| http://www.mokabyte.it Java on line journal |
| http://rap.dsi.unifi.it/xklaim XKlaim language |
| http://www.gnu.org/software/java2html |
+-----------------------------------------------------+
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Kernel modules development
Date: Thu, 20 Apr 2000 13:48:45 GMT
I was in the same situation but I solve the
problem by using this makefile :
#
# Makefile
#
#
# sources and objects
#
SOURCE=main.c
OBJS=main.o
MODULE=module.o
#
# define compiler and linker
#
CC=gcc
LD=ld
#
# define compiler options
#
TARGET=686
MACROS=-D__KERNEL__ -DCPU=$(TARGET) -DMODULE
INCLUDE=-I/usr/src/linux/include
OPTIMIZE=-O2 -march=i486
LANGUAGE=-fomit-frame-pointer -fno-strict-aliasing
-fno-strength-reduce
WARNING=-Wall -Wstrict-prototypes
CFLAGS=-c -pipe
CC_OPTIONS=$(CFLAGS) $(INCLUDE) $(OPTIMIZE)
$(LANGUAGE) $(WARNING) $(MACROS)
#
# linker options
#
LD_OPTIONS=-m elf_i386 -r
#
# rules
#
$(MODULE) : $(OBJS)
$(LD) $(LD_OPTIONS) $(OBJS) -o $(MODULE)
$(OBJS) : $(SOURCE)
$(CC) $(CC_OPTIONS) $<
clean:
@rm -f $(MODULE)
@rm -f $(OBJS)
@rm -f *~
This makefile works fine with GCC 2.95 and Kernel
2.2.14.
Legrand S�bastien
Admiral Systems and Networks
In article
<WB9E4.33230$[EMAIL PROTECTED]>,
"Fabrizio" <[EMAIL PROTECTED]> wrote:
> Hello!
> I'm having a (basic) problem while building a
kernel module using Linux
> 2.2.x (RedHat and Mandrake).
> Practically after the includes:
>
> #include <linux/kernel.h>
> #include <linux/modules.h>
>
> when I add
>
> #include <linux/fs.h>
>
> the gcc reports me a long list of errors,
starting with a missing definition
> of ino_t types. I'm following the "Linux kernel
module programming" of O.
> Pomerantz.
>
> Can somebdoy help me ?
>
> Thanks!
>
> Fabrizio
>
>
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Julien Curto <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development
Subject: !!Help me!! How know if a prgm is running???????
Date: Thu, 20 Apr 2000 16:45:33 +0200
Reply-To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Hi,
How can I test if a program is running, without use shell commands, in C
?????????????????
Thank's.
Julien
------------------------------
From: "Chad Myers" <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.advocacy,comp.os.ms-windows.advocacy,comp.os.ms-windows.nt.advocacy,comp.os.linux.networking,comp.os.linux.security,comp.os.ms-windows.networking.tcp-ip
Subject: Re: .DLL not present in W2K, MICROSOFT GUILTY OF COVERUP!
Date: Thu, 20 Apr 2000 09:41:28 -0500
For some reason, I'm not getting Charlie's posts, and I haven't even
killfiled him yet! (chumpy *nix nntp server)
Anyhow.. I'm going to answer his senseless banter through Stephen's post,
pardong the long-winded quotes, etc.
> Charlie Ebert <[EMAIL PROTECTED]> writes:
> : Well Chad. As the press release indicates, Microsoft used this Illegal .DLL
to
> : FUD over thousands of Netscape Server sites running on Microsoft Operating
> : Systems.
There was no backdoor. Illegal DLL? Later, only after the WSJ printed the FUD,
was there a minor buffer overrun found. However, the "!seineew era..." string
was not a password, and NO ONE has yet successfully used it as a password to
obtain anything from a server with FP98 extensions.
> : As far as the password "NETSCAPEENGINEERSAREWEENIES" are concerned, I'm
going
> : to take it that you TOTALLY DENY THIS PHRASE
"NETSCAPEENGINEERSAREWEENIES"
> : ever appeared in any Microsoft code then! Is that correct Chad. Will you
> : DENY this for everybody.
I do deny that it said "NETSCAPEENGINEERSAREWEENIES" because it actually said
"!seineew era sreenigne epacsteN", and it still isn't a password or anything
of the sort, no matter how much you try to rationalize it to your ignorant
self.
> : Don't give me any more of your silly bullshit. Just DENY it was ever there!
Ah, so facts = bullshit in your silly little world, huh? Well, if facts =
bullshit
then I'm full of it.
> : Shit Chad. I've been writing WIN API since before you were probably born.
Oh yeah. SURRRRREEE....
-Chad
------------------------------
Date: Fri, 21 Apr 2000 07:18:58 +0800
From: Raymond <[EMAIL PROTECTED]>
Subject: Re: Daemon writing to console
Omkar Sathe �g�D�G
> I think this is not totally true.
> I tried it, (I mean tried to write something on the screen from a daemon).
> While starting by init (or equivalent) on other Unixes (AIX & Solaris) the
> same code did put the message on console but in Linux, it did not !!!. How do
> u explain this ?
>
Sorry, I don't know how to explain this. I don't have access to AIX or Solaris.
And I don't know much about the details of AIX and Solaris.
How did you 'put the message on console'? Is it something like 'printf( "...")'?
In Linux, you may try to press 'alt-1', 'alt-2', 'alt-3', and so, to switch
between virtual console. In case you don't aware of this feature, try it. If you
are in X window mode, try 'ctrl-alt-1' to switch to virtual console, and press
'ctrl-alt-7' to switch back to X window.
> -omkar
>
> Raymond Li wrote:
>
> > Manoj Patil wrote:
> >
> > > Hi folks,
> > >
> > > I have a daemon which tries to write a message to the console after it
> > > has relinquished its tty.
> >
> > What do you mean 'relinquished its tty'?
> >
> > >
> > >
> > > If I start this daemon after i login, I can see the message that it
> > > prints to console. BUT if i start it from the init.d at Run Level 3, I
> > > CAN NOT see the message. Can anybody tell me why it is so ??
> > >
> >
> > A daemon don't have associated terminal, that's why you can't see the
> > message. The reason that you could see the message when you start it in a
> > interactive shell is that program is disassociated with the control
> > terminal, but it still has a default console.
> >
> > Therefore, your situation is absolutely normally.
> >
> > My wordings may not be accurate. For more information, you may consult
> > some Unix programming book like Stevens' Unix Network Programming and
> > Advanced Unix Programming.
> >
> > I think if you have the source code, you may make it log the message to
> > /dev/tty, then the message will be display on the console, supposed this
> > is what you want.
> >
> > > Thanks in anticipation of answers.
> > > -Manoj
------------------------------
From: Anand Krishnamoorthy <[EMAIL PROTECTED]>
Subject: Re: where can i find a kernel debugger?
Date: Thu, 20 Apr 2000 20:43:30 -0400
==============772055BC176A3E5D635E772E
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
You need to decide on what to debug. If it is the kernel, kdb from the sgi
site is good (see James' post). If it is code in the user segment (app. code
) use GDB.
Anand
James Cownie wrote:
> Zoran Cutura wrote:
> >
> > There is no such thing like a kernel debugger. You can remote debug
> > the kernel with gdb, which is very complicated, and I never managed to
> > do so.
>
> You could try the supposedly packaged version of that
> "kGDB (Remote kernel debugger)"
> at
> http://www.oss.sgi.com/projects/kgdb/
>
> (I haven't tried it myself...)
>
> -- Jim
>
> James Cownie <[EMAIL PROTECTED]>
> Etnus, Inc. +44 117 9071438
> http://www.etnus.com
==============772055BC176A3E5D635E772E
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<HTML>
You need to decide on what to debug. If it is the kernel, kdb from the
sgi site is good (see James' post). If it is code in the user segment (app.
code ) use GDB.<I></I>
<P>Anand
<P><I>James Cownie wrote:</I>
<BLOCKQUOTE TYPE=CITE><I>Zoran Cutura wrote:</I>
<BR><I>></I>
<BR><I>> There is no such thing like a kernel debugger. You can remote
debug</I>
<BR><I>> the kernel with gdb, which is very complicated, and I never managed
to</I>
<BR><I>> do so.</I><I></I>
<P><I>You could try the supposedly packaged version of that</I>
<BR><I>"kGDB (Remote kernel debugger)"</I>
<BR><I>at</I>
<BR><I><A
HREF="http://www.oss.sgi.com/projects/kgdb/">http://www.oss.sgi.com/projects/kgdb/</A></I><I></I>
<P><I>(I haven't tried it myself...)</I><I></I>
<P><I>-- Jim</I><I></I>
<P><I>James Cownie <[EMAIL PROTECTED]></I>
<BR><I>Etnus, Inc. +44 117 9071438</I>
<BR><I><A HREF="http://www.etnus.com">http://www.etnus.com</A></I></BLOCKQUOTE>
<I> </I></HTML>
==============772055BC176A3E5D635E772E==
------------------------------
** 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
******************************