Linux-Development-Sys Digest #783, Volume #7     Tue, 18 Apr 00 01:13:10 EDT

Contents:
  Re: Q: is there a free secure network filesystem for Linux? (David Wragg)
  Re: How do you generate UUID under Linux? (David Wragg)
  Re: To core or not to core - You tell me ("Dik T. Winter")
  Re: How do I make a program run on localhost:200 (Charles Bryant)
  USENIX Operating Systems Symposium (OSDI 2000) - Final Notice of Call For Papers 
(Moun Chau)
  binutils, missing objdump options and linux 2.0.36+ (SGTRUCK)
  Re: device driver development (Pankaj Chhabra)
  Re: Spinlock trouble (Pankaj Chhabra)
  Re: Development (Pankaj Chhabra)
  Re: PCI Modem (Rob Clark)
  Re: binutils, missing objdump options and linux 2.0.36+ (Paul Kimoto)
  Re: How do I make a program run on localhost:200 (Jonathan Voigt)
  Re: binutils, missing objdump options and linux 2.0.36+ (Markus Kossmann)
  How to increase descriptors of client socket (Walker Lee)
  x/dsm and dmapi on linux? (Lindanne Metley)
  mutux for screen output ("Ruppert R. Koch")

----------------------------------------------------------------------------

From: David Wragg <[EMAIL PROTECTED]>
Subject: Re: Q: is there a free secure network filesystem for Linux?
Date: 17 Apr 2000 19:39:17 +0000

[EMAIL PROTECTED] (Mario Klebsch) writes:
> David Wragg <[EMAIL PROTECTED]> writes:
> >The TI/RPC code released by Sun seems to be pretty complete, with the
> >exception of the GSSAPI mechanism for Kerberos, which is dissapointing
> >since it is in Solaris 8.
> 
> I am sorry, my Solaris Knowledge is a bit outdated. I don't know the
> GSSAPI.

My knowledge is currently restricted to the implementation details of
Secure RPC, rather than the practical details of its use on
Solaris. (I have a machine waiting for me to install Solaris 8 and
have a play with its Kerberos 5 support, but I haven't had the time so
far).

> However, I know, secure NFS was there from the first Solaris 2
> days, and it never was called NFS version 4. Secure NFS was even
> possible prior toi NFS version 3.

Correct. The security applies to Sun's RPC mechanism, so anything
implemented on top of that (all NFS versions, other RPC services) can
benefit. Thus if the Linux NFSv4 project implements Secure NFSv4, they
will have done almost all of the work needed for Secure NFSvWhatever.

> I must admit, I never completely understood secure RPC. I knew enough
> to create credentioals and keep NIS+ happy, but I always wondered, how
> it was integrated into the kernel.
> 
> - What the hell does keylogin do?
> - Where does it get the users password (I did not enter my password
>   twice upon a normal login)?
> - The credentioals are stored by the keyserver. How does the kernels
>   NFS get it?

I think these are probably related to the Diffie-Hellmann public keys
which are the default security mechanism used by Secure RPC. But you
can use other security mechanisms (e.g. Kerberos) by using other
GSSAPI (Generic Security Service API) modules.


David Wragg

------------------------------

From: David Wragg <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,it.comp.linux.development
Subject: Re: How do you generate UUID under Linux?
Date: 17 Apr 2000 22:25:04 +0000

"James Ricci" <[EMAIL PROTECTED]> writes:
> We are porting some C++ code from Win32 to Linux. One of the last
> pieces yet to move is the generation of GUID's (or UUID's) from within
> our program.  I've not been able to locate a native routine under
> Linux which can do this.  We're looking for the code equivalent of
> UuidCreate under Linux.

The is a library to do exactly this on Linux: libuuid. It has been
part of e2fsprogs for a few years, so it is installed on virtually
every Linux, but it is rarely mentioned or used. (Every ext2 file
system is given a uuid when it is created.)

The header file for libuuid is /usr/include/uuid/uuid.h, but you may
need to install the e2fsprogs-devel package or similar to get
it. There is a libuuid man page in the e2fsprogs source distribution,
but it does not seem to be in the e2fsprogs-devel package of Red Hat
6.2. The program uuidgen ("man uuidgen") uses libuuid to generate a
uuid and prints it on stdout.


David Wragg

------------------------------

From: "Dik T. Winter" <[EMAIL PROTECTED]>
Crossposted-To: comp.lang.c,comp.unix.solaris,comp.lang.c++,comp.unix.programmer
Subject: Re: To core or not to core - You tell me
Date: Mon, 17 Apr 2000 23:45:12 GMT

In article <[EMAIL PROTECTED]> [EMAIL PROTECTED] 
writes:
 > I've forgotten the context, we've snipped so much but... if you mean
 > zero is a literal of type int hten ok. If you mean NULL is a literal
 > of type int then nope.

If NULL is defined as 0, then after expansion it is a literal of type int.
-- 
dik t. winter, cwi, kruislaan 413, 1098 sj  amsterdam, nederland, +31205924131
home: bovenover 215, 1025 jn  amsterdam, nederland; http://www.cwi.nl/~dik/

------------------------------

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: 18 Apr 2000 00:11:14 -0000

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?
>
>E.g. in /etc/inittab, you have an entry that respawns getty on tty1 to tty6.
>I want to do something like that, just on a specified port.
>
>E.g. let's say I wrote a special getty program. I want it to sit on port
>200, waiting for connections. Do I have to write the program to specifically
>open a port, or can I use some script somewhere to get the program's stdin
>to be changed to a port???

You don't have to. See tcpserver in the ucspi-tcp tools by Dan
Bernstein at http://cryp.to/ucspi-tcp.html

-- 
Eppur si muove


------------------------------

Crossposted-To: 
comp.arch,comp.object,comp.os.inferno,comp.os.linux.development.apps,comp.os.ms-windows.misc,comp.os.security,comp.protocols.nfs,comp.realtime,comp.security.misc,comp.security.unix
From: [EMAIL PROTECTED] (Moun Chau)
Subject: USENIX Operating Systems Symposium (OSDI 2000) - Final Notice of Call For 
Papers
Date: Tue, 18 Apr 2000 00:07:32 GMT

4TH SYMPOSIUM ON OPERATING SYSTEMS DESIGN & IMPLEMENTATION OSDI 2000
October 23-25, 2000
San Diego, California, USA
http://www.usenix.org/events/osdi2000

===========================================================
CALL FOR PAPERS NOW AVAILABLE
*Paper submissions due:  Tuesday, April 25, 2000
*Notification to authors:  Thursday, June 29, 2000
*Revised papers due for shepherding:  Monday, July 31, 2000
*Camera-ready papers due:  Thursday, August 31, 2000
===========================================================

We would like to invite you to join us in exploring both innovative
research and quantified experience in the systems area.  The OSDI
Symposium takes a broad view of what the systems area and encompasses
contributions from all fields of systems practice, including: operating
systems, networking, distributed systems, parallel systems, mobile
systems, embedded systems, and the influence of hardware developments on
systems and vice-versa.  We particularly encourage contributions
containing highly original ideas.

The goal of the Symposium on Operating Systems Design and Implementation
is to present innovative, exciting work in the systems area.  OSDI
brings together professionals from academic and industrial backgrounds
and has become a premiere forum for discussing the design,
implementation, and implications of systems software.

The symposium will provide a single-track of refereed paper
Presentations and a keynote address.  Work-in-Progress presentations are
planned, and informal Birds-of-a-Feather sessions may be organized by
attendees.

We hope to see you there!
Mike Jones and Frans Kaashoek
OSDI Co-Chairs
=======================================================================
USENIX, the Advanced Computing Systems Association, is the
international, not-for-profit society made up of scientists, engineers,
and system administrators working on the cutting edge of systems and
software. For 25 years USENIX conferences and workshops have emphasized
quality exchange of technical ideas unfettered by stodginess or
commercialism. OSDI 2000 is co-sponsored by IEEE TCOS and ACM SIGOPS.




------------------------------

From: [EMAIL PROTECTED] (SGTRUCK)
Crossposted-To: comp.os.linux.development.apps
Subject: binutils, missing objdump options and linux 2.0.36+
Date: 18 Apr 2000 00:30:00 GMT
Reply-To: [EMAIL PROTECTED]

Hi,
   I'm running into problems compiling linux v2.0.36 using
the latest binutils v2.9.5.0.35 since "ojbdump" doesn't
understand the options "-k -o -q".

binutils v2.7.0.3 understands them, but a few assembly instructions
aren't recognized in these new kernels.

What is the solution to get it to finish generating the kernel?

TIA


--
        Mike,
        [EMAIL PROTECTED]


------------------------------

From: Pankaj Chhabra <[EMAIL PROTECTED]>
Subject: Re: device driver development
Date: Mon, 17 Apr 2000 17:45:57 -0700

Hi,

    Check the return value of init_module.

- Pankaj


Long wrote:

> I even tried that (without the .o) and still does not work.  I know that my
> driver probably has problem and I believe that that is why rmmod does not
> work.  If there is anyway to force rmmod or change any system file to remove
> the module w/o having to reboot, I would be happy.
>
> Manoj Patil <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > You must not give the .o extension while removing the loaded kernel module
> >
> > Florian Heinz wrote:
> >
> > > Long wrote:
> > > >
> > > > Please help... anyone,
> > > >
> > > > I am developing a device driver.  Everytime after loading using insmod
> > > > driver.o and it has an error in the driver.  I am forced to reboot the
> > > > system to reload the driver. Otherwise it says "driver.o: a module
> named
> > > > driver already exists."  Is there anyway that I can undo the loading
> so that
> > > > I can reload the driver without having to reboot the system.  I try
> rmmod
> > > > but it says: "rmmod: module driver.o not loaded".  Any suggestion is
> > > > appreciated.
> > >
> > > perhaps you should use the name which lsmod shows you as argument for
> > > rmmod...
> > > e.G. not "rmmod driver.o" but "rmmod driver"...
> >


------------------------------

From: Pankaj Chhabra <[EMAIL PROTECTED]>
Subject: Re: Spinlock trouble
Date: Mon, 17 Apr 2000 18:08:50 -0700

You are causing a deadlock. Make sure you are allocating spin locks in squence.
For
ex Tx routine allocating SpinLock 1 and going for Spin Lock 2.
    and a timer routine allocating SpinLock2 and going for SpinLock1.

Also make sure you are releasing the spin locks.

- Pankaj


Rui Prior wrote:

> Hello.
>
> I'm changing an ATM device driver to make it SMP friendly, but spinlock
> freezes are making me crazy. I can't really undestand what's going wrong.
> I made the following experiments:
>
> UP box with non-SMP kernel: Works just fine.
> UP box with non-SMP kernel but with SPINLOCK_DEBUG set to 2: Works just
> fine, never complains about anything.
> UP box with SMP kernel: Freezes with no messages at all.
> SMP box with SMP kernel: Freezes with no messages, except for the NMI
> watchdog detecting a lockup.
>
> I always use spin_lock_irqsave() to acquire the locks (three kinds of them,
> always acquired in the same order - I hope...), and spin_unlock_irqrestore()
> to release them.
>
> Given these symptoms, can anyone give me a hint about the problem?
> Any help would be greatly appreciated, as it may well save me from going to
> the asylum :-)
>
> Rui Prior


------------------------------

From: Pankaj Chhabra <[EMAIL PROTECTED]>
Subject: Re: Development
Date: Mon, 17 Apr 2000 18:13:17 -0700

Hi,

This is a good documentation and it is free!!.

http://docs.zf.jcu.cz/linux/khg/HyperNews/get/khg.html

- Pankaj

Dave Nejdl wrote:

> Kaz Kylheku wrote:
>
> > On Mon, 10 Apr 2000 20:53:04 GMT, Ivan Van den Bossche
> > <[EMAIL PROTECTED]> wrote:
> > >Hello everybody,
> > >
> > >What do I need to know to start helping in the development of the Linux
> > >kernel?
> > >Where can I find that information on the web?
> >
> > You join the kernel development mailing list, and have a look at its list
> > of things that need to be done. Then pick one.
> >
> > >I have some knowledge of C.
> >
> > You don't have to have perfect knowledge of C, but it helps to have solid
> > software engineering skills which usually go hand in hand with mastery of some
> > systems programming language.
> >
> > For working on a kernel, you need to understand concurrent programming and have
> > cast iron debugging skills; often you have to find a software defect given
> > minimal information from a crash.
> >
> > Your program logic has to cover every failure possibility and so something
> > meaningful; your code can't just give up and call exit() at every run-time
> > difficulty, like so many application-level C programs do.
>
> I've been looking for resources on how to do kernel level debbuging. Any
> suggestions?


------------------------------

Subject: Re: PCI Modem
From: [EMAIL PROTECTED] (Rob Clark)
Date: Tue, 18 Apr 2000 01:22:06 GMT

In article <[EMAIL PROTECTED]>,
Albert Decker  <[EMAIL PROTECTED]> wrote:
>Newbie here - I just installed RedHat - That took three days but
>that's another story - I have a PCI modem and under windows it does
>not connect to a com port but is driven by an "AOpen PCI Modem
>Enumerator" . How in the heck do I access it from Linux? If I can't
>then it reduces the usefulness of Linux by too much!

Please check the modem list at http://www.o2.net/~gromitkc/winmodem.html

Rob Clark, [EMAIL PROTECTED]

------------------------------

From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: binutils, missing objdump options and linux 2.0.36+
Date: 17 Apr 2000 21:30:15 -0500
Reply-To: [EMAIL PROTECTED]

[c.o.l.d.apps dropped, since this is not about application development.]

In article <8dgaa8$e1$[EMAIL PROTECTED]>, SGTRUCK wrote:
>   I'm running into problems compiling linux v2.0.36 using

(Isn't the latest version numbered 2.0.38?)

> the latest binutils v2.9.5.0.35 since "ojbdump" doesn't
> understand the options "-k -o -q".

When objdump(1) lost these options, encaps(1) disappeared, too.  The
kernel build scripts test for the presence of encaps(1) to see which
options objdump(1) accepts.  (And isn't that odd!)  You need to remove
encaps(1).

Doesn't Documentation/Changes mention this?

> binutils v2.7.0.3 understands them, but a few assembly instructions
> aren't recognized in these new kernels.

-- 
Paul Kimoto             <[EMAIL PROTECTED]>

------------------------------

From: Jonathan Voigt <[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: Tue, 18 Apr 2000 02:58:22 GMT

read the Unix socket faqs... do a search on :

www.google.com

Peet Grobler 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?
>
> E.g. in /etc/inittab, you have an entry that respawns getty on tty1 to tty6.
> I want to do something like that, just on a specified port.
>
> E.g. let's say I wrote a special getty program. I want it to sit on port
> 200, waiting for connections. Do I have to write the program to specifically
> open a port, or can I use some script somewhere to get the program's stdin
> to be changed to a port???
>
> Any help appreciated

--
[EMAIL PROTECTED]
[EMAIL PROTECTED]

http://www.voicomm.com
http://www.voicomm.com/jonsbox



------------------------------

From: Markus Kossmann <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Re: binutils, missing objdump options and linux 2.0.36+
Date: Tue, 18 Apr 2000 04:42:06 +0200

SGTRUCK wrote:
> 
> Hi,
>    I'm running into problems compiling linux v2.0.36 using
> the latest binutils v2.9.5.0.35 since "ojbdump" doesn't
> understand the options "-k -o -q".
> 
> binutils v2.7.0.3 understands them, but a few assembly instructions
> aren't recognized in these new kernels.

Well, objdump -k was a extension in linux binutils with was used for
kernel building only. The -k option wa  removed, because it was replaced
by objdump in the kernel build process.
If you check the last few messages before the error message, you should
see
something like 
if hash <some binary> 
then  objdump ....
else objcopy ...
Remove/rename that binary ( which was also part of linux binutils and
only used for kernel building) and the kernel build process should work
with the new binutils. .
  

--
Markus Kossmann                                    
[EMAIL PROTECTED]

------------------------------

From: Walker Lee <[EMAIL PROTECTED]>
Subject: How to increase descriptors of client socket
Date: Tue, 18 Apr 2000 11:24:59 +0800

Hi,

I am trying to build a server socket with about 2000 clients,
and there is a problem when client incoming over about 1020 connections.

The error message said:
  Too many open files.

How can I increase the descriptors capability of this server?

Any pointers will be appreciated.

Thanks!!

Lee



------------------------------

From: [EMAIL PROTECTED] (Lindanne Metley)
Subject: x/dsm and dmapi on linux?
Date: Mon, 17 Apr 2000 19:31:41 -0800

Is there already an dmapi protocol in linux for getting between library
calls in user space and the file system module in kernel space? If not, I
was thinking it might be possible to piggyback on ioctl, that is the
dsm_... routines use ioctl to get into kernel space and route the call
through the kernel to the file system.

-- 
Oddly, this is familiar to you, as if it were an old dream,
but you can't exactly remember.....

14400 connected to PA BELL.

------------------------------

From: "Ruppert R. Koch" <[EMAIL PROTECTED]>
Subject: mutux for screen output
Date: Mon, 17 Apr 2000 21:44:00 -0700

Hi all,

to get some debug info, I put a printf in a signal

handler. The result was that the process froze from

time to time. Examining the stack revield that my

program hung in a mutex deadlock. I seems as if Linux

throws a lock if data is printed to the the screen.

Is this true or am I on the wrong track?

Surprised at first, it makes more sense the more I

think about it. The screen is nothing more than a

file, rigth?

Take care,

Ruppert



 ------------------------------------------------------------------------
 Ruppert Koch                   [EMAIL PROTECTED]
                                Dept of Electrical & Computer Engineering
 4525 Hollister Av              University of California, Santa Barbara
 Santa Barbara, CA 93110        Phone: (805) 893-7788 Fax: (805) 893-3262
 Phone: (805) 683-5606          http://alpha.ece.ucsb.edu/~ruppert
 ------------------------------------------------------------------------




------------------------------


** 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
******************************

Reply via email to