Linux-Development-Sys Digest #867, Volume #7     Wed, 17 May 00 12:13:19 EDT

Contents:
  Where to implement FS encryption? ("David Yatko")
  Re: Need ideas for university funded project for linux ("Selious")
  sockets writev (vinod tipparaju)
  Re: Need ideas for university funded project for linux (Mongoose)
  Re: Where to implement FS encryption? (Kaz Kylheku)
  Re: Linux drivers for DVD drives? (Eric)
  Differences among Linux-en ([EMAIL PROTECTED])
  Re: Need ideas for university funded project for linux ([EMAIL PROTECTED])
  Re: Need ideas for university funded project for linux ([EMAIL PROTECTED])
  Re: Need ideas for university funded project for linux ("Foogar")
  Keyboard Lockups A20 Keyb Proccesor gone Crazy? (Jimmy Huang)
  Re: G++ (egcs) problems with pow() under optimisation (Andreas Jaeger)
  Re: using ftp within a C-program (Joe Pfeiffer)
  Re: how do i get winmodem working? (Christian Winter)
  Re: using ftp within a C-program (Christian Winter)
  Re: Need ideas for university funded project for linux (martin)
  Re: Need ideas for university funded project for linux (Mongoose)
  Re: Where to implement FS encryption? (Frank Sweetser)

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

From: "David Yatko" <[EMAIL PROTECTED]>
Subject: Where to implement FS encryption?
Date: Wed, 17 May 2000 15:39:23 +0200

Hello everybody.
I'm trying to implement transparent encryption in the linux file system. The
problem I've encountered so far is not the encryption algorithms themselves,
but WHERE in the kernel I shall implement it. That is WICH of the billion
source files i shall modify and throw in the call to my decryption
algorithms. I've understood that there are some procedure wich reads some
block of data from the harddrive and then passes on a pointer to this data
to whatever procedures the pointer will pass through before everything comes
out of the kernel and is available for the user. Sometime during that I'd
like my procedure to recieve the pointer, decrypt the data it points to and
then pass on the pointer to the decrypted data.
My humble questions are:
Does anyone have any suggestion in wich stage I shall implement this?
Wich of the linux source files are needed to be modified?
Does anyone have any other recommendations regarding this project?

I'd very much appriciate any kind of feedback..

/ David Yatko










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

From: "Selious" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux,comp.os.linux.development,comp.os.linux.development.apps,comp.os.linux.misc,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Need ideas for university funded project for linux
Date: Wed, 17 May 2000 16:00:25 +0200

> I am attempting to start a college project and have two of my
>ideas already being worked on. So I wanted to know what other people
>had for suggestions for linux projects? I was thinking of something
>along the lines of a project that would help promote the use of linux.
>What is something that most people could use? Something that could
>make a good 1 year R&D project?

A bizTalk implementation !! Don't let linux get outstandard by M$ on
e-commerce !!





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

From: vinod tipparaju <[EMAIL PROTECTED]>
Subject: sockets writev
Date: Wed, 17 May 2000 10:06:23 -0400

Hi
usually when user sends something using a socket he used a single user
buffer, can someone give me a application example that uses calls like
writev, ie sends scattered data?
tia
vinod 


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

From: Mongoose <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux,comp.os.linux.development,comp.os.linux.development.apps,comp.os.linux.misc,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Need ideas for university funded project for linux
Reply-To: [EMAIL PROTECTED]
Date: Wed, 17 May 2000 14:06:55 GMT

  I was thinking, maybe not just servers and stuff, but an application
that windows users have but linux doesn't. Something that would give
windows users more of an incentive to move to linux, or help them
migrate to linux.

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

From: [EMAIL PROTECTED] (Kaz Kylheku)
Subject: Re: Where to implement FS encryption?
Reply-To: [EMAIL PROTECTED]
Date: Wed, 17 May 2000 14:13:26 GMT

On Wed, 17 May 2000 15:39:23 +0200, David Yatko <[EMAIL PROTECTED]> wrote:
>Hello everybody.
>I'm trying to implement transparent encryption in the linux file system. The
>problem I've encountered so far is not the encryption algorithms themselves,
>but WHERE in the kernel I shall implement it. 

Take a look at the loopback block device driver.

-- 
#exclude <windows.h>

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

From: Eric <[EMAIL PROTECTED]>
Subject: Re: Linux drivers for DVD drives?
Date: Wed, 17 May 2000 14:07:11 GMT
Reply-To: [EMAIL PROTECTED]

Robert Phillips wrote:
> 
> I've considered getting a DVD-RAM, but I have not found out the
> write-rate on these drives my looking at ads, at least. Do you have
> an estimate of MB/sec write speed? Eg, how long is the total time, say
> to copy a 100 megabyte file to the dvd-ram, from when you enter the cp
> command
> to when it is safe to eject the disk?
> How long for a 1 megabyte file?
> 
> Thanks,
> Robert

I've a dvdram (panasonic, atapi) that has a max. write rate of 5,5 MB/s
(half of the actual spec, suppose they do a write verify or so, couldn't
be disabled I was told)

Eric
 
> Stefan Homburg wrote:
> 
> >
> > I am using Panosonic's DVD-RAM drive (5,2 gigabyte) and asked
> > myself the same question when I considered moving to linux. Curiously,
> > Panasonic provides a "linux driver", packed as a .zip file, but after
> > you
> > gunzip it, it only contains a textfile claiming that you do not need a
> > driver.
> >
> > And this is actually true. My DVD-RAM is simply /dev/sdb. It is
> > treated as a harddisk by the system, with the exception that it cannot
> > be partitioned.
> >
> > --
> > Prof. Dr. Stefan Homburg
> > Lehrstuhl �ffentliche Finanzen
> > Universit�t Hannover
> > K�nigsworther Platz 1
> > D-30167 Hannover
> >
> > Tel.: (0049) 511-762-5633
> > Fax.: (0049) 511-762-5656

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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.development.apps
Subject: Differences among Linux-en
Date: Wed, 17 May 2000 14:37:34 GMT

Today I seen yet another article
(http://opensourceit.earthweb.com/news/000511_standard.html) talking
about the minor differences between various distributions/versions of
Linux causing headaches for developers.  That, and there has also been
some discussion of late about LSB and the Internationalization group
merging.

Are the needs of developers well enough known so that a configuration
file could be put in /etc (/etc/my_linux) which describes that on this
computer, files of this type are in /path/to/directory/1, files of
another type are in /path/to/directory/2, ....  Then a program like
rpm or apt just needs to look in this configuration file to figure out
where to look for functions that it needs in order to operate.

Just a random thought (or my $0.02).

Gord

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

Crossposted-To: 
comp.os.linux,comp.os.linux.development,comp.os.linux.development.apps,comp.os.linux.misc,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Need ideas for university funded project for linux
From: [EMAIL PROTECTED]
Date: Wed, 17 May 2000 14:47:08 GMT

Nico Coetzee <[EMAIL PROTECTED]> writes:

> DEVELOP EDUCATIONAL SOFTWARE FOR PRIMARY AND SECONDARY LEVEL SCHOOL

> If we can get Linux used in schools, it will have a good effect on
> general use in about 5 to 10 years from now.

I'm of two minds on this.

1. That was what Apple thought, and look where they are now.
2. That was what Apple thought, and it's kept them alive.

That said, 75% of Hamilton's computers are Macs, even though 85% of
the students who own computers have PCs.

-- 
Eric P. McCoy ([EMAIL PROTECTED])

non-combatant, n.  A dead Quaker.
        - Ambrose Bierce, _The Devil's Dictionary_

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

Crossposted-To: 
comp.os.linux,comp.os.linux.development,comp.os.linux.development.apps,comp.os.linux.misc,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Need ideas for university funded project for linux
From: [EMAIL PROTECTED]
Date: Wed, 17 May 2000 15:01:04 GMT

Mongoose <[EMAIL PROTECTED]> writes:

>   I was thinking, maybe not just servers and stuff, but an application
> that windows users have but linux doesn't. Something that would give
> windows users more of an incentive to move to linux, or help them
> migrate to linux.

The way I see it, Linux needs the following, at minimum, before it can
be a legitimate competitor to Windows:

1. A streamlined, easy install process;
2. An office suite roughly as functional as Office, and at least as
   easy to use;
3. A GUI package installation mechanism that's as easy to use as
   InstallShield (trivial if we get a file manager for GNOME or KDE); and
4. A GUI interface to the most common configuration files.

In order to beat Windows, client-side, we need:

1. A GUI interface to *all* configuration files;
2. Integration of all Linux documentation into a centralized,
   searchable help center;
3. A DirectX-like platform for hardware-accelerated devices, not
   necessarily at the kernel level;
4. Abstraction of many protocols and features, ala ODBC (which I hate
   because it never works, not because it's a bad idea); and
4. A "killer app."  Unfortately, the odds of this being in the office
   suite are about zero, as MS has far too much of an edge on this
   front.  The GIMP, with a few unique features, may have the
   potential to get there.

Linux has survived largely because its only real competitor,
reliability- and performance-wise, was NT, which few "regular" people
liked because it runs about as many Windows programs as Linux.  But
with Windows 2000 out, suddenly the "mainstream" Windows is comparably
stable and feature-laden.  I think that, unless Linux starts playing
catch-up in a big way, we're going to be relegated to the niche market
we've been, until recently, exclusively a part of.

I suppose that now I'm going to have to get Linux running again so I
can put my programming hours where my mouth is.  (Reason I'm not using
it now?  The fucking Aureal Vortex 2 drivers are (a) non-free; and (b)
unusably poor.)

-- 
Eric P. McCoy ([EMAIL PROTECTED])

non-combatant, n.  A dead Quaker.
        - Ambrose Bierce, _The Devil's Dictionary_

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

From: "Foogar" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux,comp.os.linux.development,comp.os.linux.development.apps,comp.os.linux.misc,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Need ideas for university funded project for linux
Date: Wed, 17 May 2000 09:46:21 -0500
Reply-To: "Foogar" <[EMAIL PROTECTED]>

Something like an app that would randomly crash?  Windows could be replaced
by that!

--
========================================

to reply via email, send to [EMAIL PROTECTED]
"Mongoose" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
|   I was thinking, maybe not just servers and stuff, but an application
| that windows users have but linux doesn't. Something that would give
| windows users more of an incentive to move to linux, or help them
| migrate to linux.



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

From: [EMAIL PROTECTED] (Jimmy Huang)
Subject: Keyboard Lockups A20 Keyb Proccesor gone Crazy?
Date: 17 May 2000 14:50:01 GMT


Hi, I just installed Debian Linux, the slink distro.  This uses kernel 
2.0.36.  I found some strange stuff with it.  For one thing, the keyboard 
locks up after a while. Here's my set-up:

Pentium 200MMX. Chaintech 5TDM2 Motherboard. 32MB Ram. 
Also worth noting, is that it is hooked to a KVM switch.

It crashes even with just the base install. Even more worth noting, is 
that even though the Keyboard stops working OS continues w/out problems. 

I found this out, when I installed telnetd.  I could still telnet into 
the machine after keyboard goes dead, and do most everything remotely.  
Too bad I didn't find this out earlier, as machine would not have to be 
hard rebooted as often. 

If I leave the machine on w/ no one logged in.  Keyboard never locks up. 

If I leave the machine on w/ root (haven't tried someone else yet) logged
in. Keyboard locks up after a couple of hours.

If I use the KVM switch alot, (switching around between linux box and 
another windows box), linux keyboard locks up real quickly, I'd say 
within 15 minutes or so.

I'm guessing that Linux hates the KVM switch. I haven't tried plugging in 
a regular keyboard/mouse yet.

Recently, I have compiled 2.1.125 kernel, and still no change.  Has 
anyone else noticed this strangeness?  I saw a previous poster 
complaining about instability of Linux!  I think he probably has the same 
problem and doesn't realize it. 

I am thinking that the KVM switching sends some input to the A20 
processor which gets forwarded to the kernel, and the kernel doesn't know 
how to deal with it, and tells the A20 processor to go f*ck itself.  And 
that's when something dies ;).  

If anyone needs more details, e-mail me! I'm at work now, so i don't know 
what brand off hand my KVM switch is... win98 box works fine. 

Also some strange thing about the KVM switch is that, when I switch over
to the linux box, i have to hit a key. Otherwise, KVM thinks that there's
nothing there and flips back to the previous screen. But when I switch 
over to the Windows box, I don't have to do anything of the sort. 

So far, this box is acting like a server, so it's not really a big deal. 
I just miss having 8+ Virtual Consoles!




Jimmy



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

From: Andreas Jaeger <[EMAIL PROTECTED]>
Subject: Re: G++ (egcs) problems with pow() under optimisation
Date: 17 May 2000 15:39:10 +0200

>>>>> Jeffrey Ng writes:

 > Has anyone had any problems when they enable compiler optimisations for
 > programs using the pow() math function call?

 > I have a huge scientific program that uses a lot of power calls in lots
 > of places and used to wonder why it would seg fault when I enabled
 > optimisations. Just recently, I have narrowed it down to the culprit.
 > The following little piece of code can trigger the fault on two
 > different machines that I've tried (Pentium II and K7 Athlon).

 > Compil is standard: g++ -O -o powtest powtest.cc

>From the glibc FAQ:

3.14.   The pow() inline function I get when including <math.h> is broken.
        I get segmentation faults when I run the program.

{UD} Nope, the implementation is correct.  The problem is with egcs version
prior to 1.1.  I.e., egcs 1.0 to 1.0.3 are all broken (at least on Intel).
If you have to use this compiler you must define __NO_MATH_INLINES before
including <math.h> to prevent the inline functions from being used.  egcs 1.1
fixes the problem.  I don't know about gcc 2.8 and 2.8.1.


Andreas
-- 
 Andreas Jaeger
  SuSE Labs [EMAIL PROTECTED]
   private [EMAIL PROTECTED]


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

From: Joe Pfeiffer <[EMAIL PROTECTED]>
Subject: Re: using ftp within a C-program
Date: 17 May 2000 08:56:01 -0600

There is a library called libftp, available from
http://orel.home.cern.ch/orel/libftp/libftp/libftp.html.
-- 
Joseph J. Pfeiffer, Jr., Ph.D.       Phone -- (505) 646-1605
Department of Computer Science       FAX   -- (505) 646-1002
New Mexico State University          http://www.cs.nmsu.edu/~pfeiffer
VL 2000 Homepage:  http://www.cs.orst.edu/~burnett/vl2000/

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

From: Christian Winter <[EMAIL PROTECTED]>
Subject: Re: how do i get winmodem working?
Date: Wed, 17 May 2000 12:26:40 +0200

Brian Begg <[EMAIL PROTECTED]> schrob:
> I have a Telepath 56k internet winmodem, and I would like
> desparately to get it working with the Linux 6.0.  How can I do
> this?  What do I have to "tweek" on the chipset?  Is it possible?

I don't know the Telepath and its chipset, but maybe if it
reports itself as a com port and takes AT commands (there
are some Rockwell chipsets acting this way for example), it
may work to set onboard COM1 (ttyS0) to COM3 in the bios
so the modem can be initialized as COM1.

HTH
Christian

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

From: Christian Winter <[EMAIL PROTECTED]>
Subject: Re: using ftp within a C-program
Date: Wed, 17 May 2000 12:24:12 +0200

Jarmo Salonen <[EMAIL PROTECTED]> schrob:
> Hi how can I get files from a remote machine with FTP within a C-program are
> there any similar
> API functions like the one that MS has in their WinInet API.

Hi,

I don't know if there's a simple solution for C already (there are
a fow socket libs on freshmeat.net).

One approach would be to embed Perl code, if you're familiar witch
Perl this would be possible.

HTH
Christian

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

From: [EMAIL PROTECTED] (martin)
Crossposted-To: 
comp.os.linux,comp.os.linux.development,comp.os.linux.development.apps,comp.os.linux.misc,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Need ideas for university funded project for linux
Date: Wed, 17 May 2000 14:39:01 GMT
Reply-To: [EMAIL PROTECTED]

On Tue, 16 May 2000 23:47:56 GMT, Mongoose <[EMAIL PROTECTED]> wrote :

>Hello,
>       I am attempting to start a college project and have two of my
>ideas already being worked on. So I wanted to know what other people
>had for suggestions for linux projects? I was thinking of something
>along the lines of a project that would help promote the use of linux.
>What is something that most people could use? Something that could
>make a good 1 year R&D project?

How about an easy-to-use text editor ? (console, not GUI please :) ?
One without a million complex commands, but with ability to select
text with shift+arrow keys, like most dos/windows/os2-based editors
do, F2 to save a file instead of Ctrl-x + Ctrl-s or something and
those other features that are standard on other operating systems.

Basically, a simple editor that doesn't need a 300-page tutorial. 
I can't find any of those in linux. Not for console anyway.


--
Martin

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

From: Mongoose <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux,comp.os.linux.development,comp.os.linux.development.apps,comp.os.linux.misc,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Need ideas for university funded project for linux
Reply-To: [EMAIL PROTECTED]
Date: Wed, 17 May 2000 15:30:49 GMT

On Wed, 17 May 2000 15:01:04 GMT, [EMAIL PROTECTED] wrote:

>Mongoose <[EMAIL PROTECTED]> writes:
>
>>   I was thinking, maybe not just servers and stuff, but an application
>> that windows users have but linux doesn't. Something that would give
>> windows users more of an incentive to move to linux, or help them
>> migrate to linux.
>
>The way I see it, Linux needs the following, at minimum, before it can
>be a legitimate competitor to Windows:
>
>1. A streamlined, easy install process;

  Theres distros that have that now. Caldera I think? You can play
tetris while linux is installing on your machine.

>2. An office suite roughly as functional as Office, and at least as
>   easy to use;

  Staroffice which is basically a clone of MSoffice, and Corel Office
Suite. Both very good office suites for linux.

>3. A GUI package installation mechanism that's as easy to use as
>   InstallShield (trivial if we get a file manager for GNOME or KDE); and

  Maybe, theres a few out there but no one uses them except commercial
companies. Most programs use the standard 
configure; make; make install   line

>4. A GUI interface to the most common configuration files.

  This was what I was planning on doing before, although Webmin does
this.

>In order to beat Windows, client-side, we need:
>
>1. A GUI interface to *all* configuration files;
>2. Integration of all Linux documentation into a centralized,
>   searchable help center;
>3. A DirectX-like platform for hardware-accelerated devices, not
>   necessarily at the kernel level;
>4. Abstraction of many protocols and features, ala ODBC (which I hate
>   because it never works, not because it's a bad idea); and
>4. A "killer app."  Unfortately, the odds of this being in the office
>   suite are about zero, as MS has far too much of an edge on this
>   front.  The GIMP, with a few unique features, may have the
>   potential to get there.
>
>Linux has survived largely because its only real competitor,
>reliability- and performance-wise, was NT, which few "regular" people
>liked because it runs about as many Windows programs as Linux.  But
>with Windows 2000 out, suddenly the "mainstream" Windows is comparably
>stable and feature-laden.  I think that, unless Linux starts playing
>catch-up in a big way, we're going to be relegated to the niche market
>we've been, until recently, exclusively a part of.
>
>I suppose that now I'm going to have to get Linux running again so I
>can put my programming hours where my mouth is.  (Reason I'm not using
>it now?  The fucking Aureal Vortex 2 drivers are (a) non-free; and (b)
>unusably poor.)

  It seems that there are alot of linux programs out there that do
these things people need, its just that its hard to find them all. As
for ease of use, most linux users are intellegent computer users and
don't need guis to configure and install stuff. This is the problem
though, they don't care enough to create programs to help newbies
install and use linux and so linux is being held back. I don't see
linux taking off any time soon either but the more help it gets, the
more popular it will be.

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

From: [EMAIL PROTECTED] (Frank Sweetser)
Subject: Re: Where to implement FS encryption?
Date: 17 May 2000 15:30:33 GMT

David Yatko <[EMAIL PROTECTED]> wrote:
>Hello everybody.
>I'm trying to implement transparent encryption in the linux file system. The
>problem I've encountered so far is not the encryption algorithms themselves,
>but WHERE in the kernel I shall implement it. That is WICH of the billion

You could always see how the people at http://www.kerneli.org/ did it.

-- 
Frank Sweetser rasmusin at wpi.edu, fs at suave.net
Full-time WPI Network Tech, Part time Linux/Perl guy
The following two statements are usually both true:
        There's not enough documentation.
        There's too much documentation.
             -- Larry Wall in <[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
******************************

Reply via email to