Linux-Development-Sys Digest #606

2001-04-03 Thread Digestifier

Linux-Development-Sys Digest #606, Volume #8  Tue, 3 Apr 01 16:13:10 EDT

Contents:
  Re: mysql or postgresql? which is better? (Moritz Franosch)
  Re: Using DMA hardware from user space (David Florez)
  Signal, Kernel and Co (Mikael Chambon)
  pthread - threads and semaphores - help! ("Ivor Cox")
  Re: mysql or postgresql? which is better? ("Andy Jeffries")
  Re: 2.4.3 compile errors? (Young4ert)
  Re: How to handle newline character(s) in a TCP server (David Schwartz)
  LILO version 21.7.3 released (John in SD)
  Re: RFC 868 inconsistency? (Dave Perks)
  Re: RFC 868 inconsistency? (Chris J/#6)
  TCP/IP socket buffering ("hebre")
  Re: TCP/IP socket buffering (Lew Pitcher)
  Re: TCP/IP socket buffering (Grant Edwards)
  Re: The roadblocks to printing are infinitely numbered (Phil Ehrens)
  Re: did anyone have problems with Daylight Savings changeover? (HÃ¥kon Alstadheim)
  Equivalent function to IRIX hinv? ("Carden, C. (Chris)")



From: Moritz Franosch <[EMAIL PROTECTED]>
Subject: Re: mysql or postgresql? which is better?
Date: 03 Apr 2001 10:57:46 +0200



"Hans-Peter Maurer" <[EMAIL PROTECTED]> writes:


> which is better mysql or postgresql? Which is more reliable and more
> powerful...?


Note that MySQL does not fully implement SQL standards, see

http://www.mysql.com/documentation/mysql/bychapter/manual_Compatibility.html#Compatibility

I don't know about Postgresql.


MySQL also had some security issues in the near past.


Moritz

--

From: David Florez <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Using DMA hardware from user space
Date: Tue, 03 Apr 2001 10:48:31 +0200

Thanks a lot to all of you for your valuable responses.
I have a clearer vision of the problem now.

Thanks again.

Grant Edwards wrote:
> 
> In article , Ken Whaley wrote:
> 
> >> - Your application should _not_ program the ASIC itsef. It should
> >>   call your driver telling it what DMA transfer has to be done.
> >>   The driver gets (by virt_to_bus()) the bus address of the buffer
> >>   and can program the ASIC.
> >
> >Not necessarily so. User-level drivers can be just fine,
> >especially if you need no kernel support beyond that of
> >allocating and mapping the DMA region, and mapping the device
> >resources (registers/memory/etc) to user-space.  It's
> >especially easy if the DMA region is physically contiguous,
> >since calculating physical and bus addresses from the virtual
> >address is trivial on most platforms.  If your target system is
> >a "mainstream" one (e.g., that can memory map PCI devices
> >"sanely"), and you need no kernel support beyond those few
> >things mentioned above, and your driver is for your use as
> >opposed to for general public consumption, then go right ahead
> >and write the driver in user-space.
> 
> I agree wholeheartedly with Ken.  Debugging in user-space is
> *so* much easier.  Do everything you can in user-space at first
> -- especially if you're doing something like testing prototype
> hardware.  Debugging a new ASIC design is bad enough without
> having to do it using kernel code.
> 
> One thing that's extremely handy during deubgging is to have a
> /proc entry point that dumps out a snapshot of whatever state
> information you can suck out of the thing.
> 
> Once you've got the hardware debugged, and figured out exactly
> what you want and how to do it[*], _then_ you can move the
> needed functionaly into a kernel module and put a nice wrapper
> around it for general consumption.
> 
> [*] IOW, you've got usable work-arounds for the things in the
> ASIC that don't work.  ;)
> 
> --
> Grant Edwards   grante Yow!  Uh-oh!! I forgot
>   at   to submit to COMPULSORY
>visi.comURINALYSIS!

--

From: Mikael Chambon <[EMAIL PROTECTED]>
Subject: Signal, Kernel and Co
Date: Tue, 03 Apr 2001 11:36:17 +0200

Hi,

I am trying to understand how a signal can received by a process.
I think I've mostly understood everything about the sending 
step, but after send_sig_info() did a sigaddset and put
p->sigpending = 1 (p is a pointer to the target task_struct)
how the kernel now that a signal has arrived on the target process ?

What is the link with the ret_from_intr() and do_signal functions ??


Thanks if you can help me.
-- 
Mikael Chambon | Paris France | ICQ 10249913

--

From: "Ivor Cox" <[EMAIL PROTECTED]>
Subject: pthread - threads and sem

Linux-Development-Sys Digest #606

1999-04-09 Thread Digestifier

Linux-Development-Sys Digest #606, Volume #6  Fri, 9 Apr 99 20:14:50 EDT

Contents:
  Re: BASIC compiler for Linux? (Gordon Scott)
  Stupid shell question: (Tim Triemstra)
  profiling a dynamic library (Jean-Christophe Ulysse)
  Re: Difficulty with C++ clock() function on Linux ("Robert C. Paulsen, Jr.")
  Re: Arrgghh! How MUCH does it cost to set up Apache? (Don Baccus)
  Re: Arrgghh! How MUCH does it cost to set up Apache? (Don Baccus)
  Re: persistent heap design advice please ("Keith Morgan")
  Re: kernel compilation error (David T. Blake)
  Re: SMP Linux,  Any Catches? ("Clint Byrum")
  The Auto Sleep of Linux?? (Edmond Song)
  Re: (Q) Using the pgp signature on the kernel sources (Peter Samuelson)
  Re: Online Kernel debugger (Arun Sharma)
  Re: CodeWarror for Linux (was: Re: Programming tools for ...) (Dan Mercer)
  Re: CodeWarror for Linux (was: Re: Programming tools for ...) (Josh Stern)
  skbuff problems (Nitin Malik)



From: [EMAIL PROTECTED] (Gordon Scott)
Subject: Re: BASIC compiler for Linux?
Date: 9 Apr 1999 15:37:26 GMT
Reply-To: Gordon Scott <[EMAIL PROTECTED]>

AC ([EMAIL PROTECTED]) wrote:
: Hi,

: Are there any BASIC compilers out there for Linux? All hints are
: appriated!

: /Anders

You may find some basic-to-something converters around. I'm sure I
remember a `bastoc' and there's a VisualBasic to C/GTK converter (V0.02 !)
at www.linuxapp.com

G
--
Gordon Scott Opinions expressed are my own.
[EMAIL PROTECTED]   (official) [EMAIL PROTECTED]  (backdoor)
[EMAIL PROTECTED]  (home) http://www.apis.demon.co.uk
Linux  ...   Because I like to _get_ there today.

--

From: Tim Triemstra <[EMAIL PROTECTED]>
Subject: Stupid shell question:
Date: Fri, 09 Apr 1999 14:12:53 -0400

Ok, I feel like an idiot for asking but my shell experience is still
somewhat limited and I haven't had much time in the shell recently, so I
thought I'd ask:

How do I phrase a command such that the command is actually spawned into
another shell, creating an entirely new window in an XWindows session? 
For some reason it seemed like it was simple like ending with a '&' but
there must be more to it.  I'm using the BASH shell.

Also, along these same lines, I use the Cygnus GNU compatibility toolkit
under my Windows toolkit.  Using the BASH that came with it, is this
something that is even possible?  I've written a little batch file that
launches cmd -c under NT and will run "start" to pass it the parameters
so as to have this effect.  It just seems like there would be a better
way to do this the same as under Unix.  I will be putting Linux back on
my home box soon and I wanted to remember how to do this since I tend to
use shells, makes and VI as my development environment.

Thanks!

-- 
Tim Triemstra ... [EMAIL PROTECTED] ... Atlanta, GA USA
Home page:  http://detlanta.com

--

From: Jean-Christophe Ulysse <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.app
Subject: profiling a dynamic library
Date: Fri, 09 Apr 1999 19:37:30 +0200


Hi,

I profile my programs (prof or gprof )
And before now i have no problem.

Now,
I've wrote a dynamic library ( .so ) that I link at the complilation
step to my main
program.

gcc myprog -o a.out -lmylib

BUT : gprof see symbols only in the main program ( a.out )
and give no statistics about the functions of the library.

Do anybody know the option ( of gprof or gcc ) for watch the symbols
of a liked library

Thanks .

--

 Jean-Christophe Ulysse   |  Ceux qui ne savent rien en savent toujours
 DEA Informatique Fondamentale|  autant que ceux qui n'en savent pas plus
 Universite de Marne La Vallee|  qu'eux ...




--

From: "Robert C. Paulsen, Jr." <[EMAIL PROTECTED]>
Crossposted-To: comp.lang.c++
Subject: Re: Difficulty with C++ clock() function on Linux
Date: Fri, 09 Apr 1999 13:52:16 -0500

Andi Kleen wrote:

> 
> The man page says:
> 
> DESCRIPTION
>The clock() function returns an approximation of processor
>time used by the program.
> 

OK, thanks. I guess MS and Borland have a different idea of processor
time and interpret it as elapsed time.


Robert Paulsen http://paulsen.home.texas.net
If my return address contains "ZAP." please remove it. Sorry for the
inconvenience but the unsolicited email is getting out of control.

--

Crossposted-To: linux.admin.isp,alt.comp.linux.isp
Subject: Re: Arrgghh! How MUCH does it cost to set up Apache?
From: [EMAIL PROTECTED] (Don Baccus)
Date: 9 Apr 1999 12:41:05 PST

In article ,
Clay Reiche <[EMAIL PROTECTED]>