Linux-Development-Sys Digest #234

2000-10-24 Thread Digestifier

Linux-Development-Sys Digest #234, Volume #8 Wed, 25 Oct 00 01:13:06 EDT

Contents:
  back-up for linux workstation... ("Rajendra Jadhav")
  back-up for linux workstation... ("Rajendra Jadhav")
  Re: back-up for linux workstation... (Lew Pitcher)
  ModSSL/Linux 6.1/Apache (Fabien Voland)
  Re: Accessing PCI I/O space
  Re: Device or resource busy
  Re: i820 Camino AGPset: Will it be supported? ("John Hall")
  Re: i820 Camino AGPset: Will it be supported? (Nick Maclaren)
  unexpected sorting order? (Ronald Cole)
  Re: Microsoft Linux API? (Christopher Browne)
  mount gets a spam of strange kernel messages ([EMAIL PROTECTED])
  Re: using /linuxrc ([EMAIL PROTECTED])
  Re: using /linuxrc ([EMAIL PROTECTED])
  Semaphore problem (James Moe)



From: "Rajendra Jadhav" <[EMAIL PROTECTED]>
Subject: back-up for linux workstation...
Date: Tue, 24 Oct 2000 14:31:14 -0500

Hi,

I wanted to know what type of backing-up system can I use for my Linux
workstation..like can I use a cd writer..or a jazz drive..or something like
that.

Thanks,

--
Rajendra Jadhav




--

From: "Rajendra Jadhav" <[EMAIL PROTECTED]>
Subject: back-up for linux workstation...
Date: Tue, 24 Oct 2000 14:36:06 -0500


Hi,

I wanted to know what type of backing-up system can I use for my Linux
workstation..like can I use a cd writer..or a jazz drive..or something like
that.

Thanks,

--
Rajendra Jadhav







--

From: [EMAIL PROTECTED] (Lew Pitcher)
Subject: Re: back-up for linux workstation...
Reply-To: [EMAIL PROTECTED]
Date: Tue, 24 Oct 2000 19:58:52 GMT

On Tue, 24 Oct 2000 14:36:06 -0500, "Rajendra Jadhav"
<[EMAIL PROTECTED]> wrote:

>
>Hi,
>
>I wanted to know what type of backing-up system can I use for my Linux
>workstation..like can I use a cd writer..or a jazz drive..or something like
>that.

Any of the above, and more including QIC tape and various flavours of
network backup.

For instance:

I backup one of my machines to CD-RW, the other to a removable HD.

The 'tar' utility was originally designed as a 'tape archive' to back
up to serial media (magnetic tape); it can be used to write archives
to QIC tape.

There are a number of network backup tools around, including IBM's
ADSM, Knox Software's Arkeia, and of course SAMBA and NFS.


Lew Pitcher
Information Technology Consultant
Toronto Dominion Bank Financial Group

([EMAIL PROTECTED])


(Opinions expressed are my own, not my employer's.)

--

From: [EMAIL PROTECTED] (Fabien Voland)
Subject: ModSSL/Linux 6.1/Apache
Date: Tue, 24 Oct 2000 20:36:59 GMT

Hi!

I have installed the ModSSL package RPM.

Now, when I start Apache httpd, I have a error message : undefined
symbol:ap_global_ctx.

In FAQ of ModSSL, it writes : I must installed a patch for Apache
EAPI. In the site ModSSL, I find a patch but not for Apache/Linux but
only for Apache.

Can you help me for find the patch EAPI for Apache ?

Thanks.

Fabien

>From Anywhere


--

From: [EMAIL PROTECTED] ()
Subject: Re: Accessing PCI I/O space
Date: Tue, 24 Oct 2000 22:35:12 -

In article <8t0glb$rbh$[EMAIL PROTECTED]>,
Peter Huang <[EMAIL PROTECTED]> wrote:

>with pci memory space. I can call pci_find_device and then ioremap to access
>a pci memory space.
>How do I access PCI I/O space?

Nothing special is needed; just use the regular inb/outb etc.

--
http://www.spinics.net/linux

--

From: [EMAIL PROTECTED] ()
Subject: Re: Device or resource busy
Date: Tue, 24 Oct 2000 22:36:27 -

In article <[EMAIL PROTECTED]>,
Ed Hudson  <[EMAIL PROTECTED]> wrote:

>I have successfully compiled a driver written for the 2.2 kernel
>series under 2.0.34.  When I try to insmod it, I get a message
>init_module() Device or resource busy.  The obvious things appear to
>be ok.  The card is plugged in, other simple "Hello world" modules
>work fine.  Any suggestions?  

What does your init_module do?  Does it have anything that detects
an error and returns it?

--
http://www.spinics.net/linux

--

From: "John Hall" <[EMAIL PROTECTED]>
Subject: Re: i820 Camino AGPset: Will it be supported?
Date: Tue, 24 Oct 2000 22:59:05 GMT

Do you mean Framebuffer kernel support, or XFree86 Direct Rendering? Because
"agp" support can be compiled into the kernel generically, it's in the
Character devices section "/dev/agpgart"

.. it's all I needed for my i810 motherboard + video to get Xfree86 4.x
running. But then again I don't do anything "fancy".

"Alessandro Frigeri" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...

> On the Character Devices section I noted there's support for all the AGP
> chipsets but not for the i820.
>
> Is that a particular reason for that?  If there's a patch for that,
> where could 

Linux-Development-Sys Digest #233

2000-10-24 Thread Digestifier

Linux-Development-Sys Digest #233, Volume #8 Tue, 24 Oct 00 15:13:13 EDT

Contents:
  advice needed on process hierarchies ("Richard Lim")
  Re: advice needed on process hierarchies (Alexander Viro)
  Re: using /linuxrc (Peter Pointner)
  Re: Accessing PCI I/O space (Peter Pointner)
  tcp connection queue size ([EMAIL PROTECTED])
  Re: Device or resource busy ("[EMAIL PROTECTED]")
  Re: using /linuxrc (Josef Moellers)
  Re: Which Gcc version to compile Linux Kernel ? ("O.Petzold")
  Q: Hauppauge TV without sound ("T. J. Domsalla")
  porting from SCO to linux problems? ("Martin Collins")
  Re: porting from SCO to linux problems? (ChromeDome)
  Re: Building a Driver ("Tony Aguilar")
  Re: Microsoft Linux API? ("J.H.Delaney")
  Re: tcp connection queue size (Kaz Kylheku)
  Re: Building a Driver ("Spam Me Not")
  Re: sockets per process ("Spam Me Not")



From: "Richard Lim" <[EMAIL PROTECTED]>
Subject: advice needed on process hierarchies
Date: Tue, 24 Oct 2000 12:45:15 +0800

Advice needed on the following:

Eg.
Question:
Write a pseudo C code to create the following process hierarchies using
fork:
   P1
/   |   \
P2   P3   P4

Solution:
pid = fork()
if (pid > 0)
pid = fork()
if (pid > 0)
pid = fork()

Question:
Write a pseudo C code to create the following process hierarchies using
fork:
   P1
/   |   \
P2   P3   P4
|  \
P5   P6
please advice on the solution.
I am not able to derive a solution for this one.
Is there a simple algorithms to follow to generate the C code to create the
process hierarchy of any kind.

regards,
richard lim





--

From: [EMAIL PROTECTED] (Alexander Viro)
Subject: Re: advice needed on process hierarchies
Date: 24 Oct 2000 01:34:28 -0400

In article <8t342a$9v7$[EMAIL PROTECTED]>,
Richard Lim <[EMAIL PROTECTED]> wrote:
>Advice needed on the following:

[snip the homework assignment]

>please advice on the solution.
>I am not able to derive a solution for this one.
>Is there a simple algorithms to follow to generate the C code to create the
>process hierarchy of any kind.

comp.unix.do.my.homework is -> that way. Alternatively, you could try
to read the manpage of fork() and think for a couple of minutes. As soon
as you understand what fork() does this exercise will become completely
obvious. Any textbook/FAQ/whatever on UNIX should be sufficient to
get such understanding.

-- 
"You're one of those condescending Unix computer users!"
"Here's a nickel, kid.  Get yourself a better computer" - Dilbert.

--

From: Peter Pointner <[EMAIL PROTECTED]>
Subject: Re: using /linuxrc
Date: 24 Oct 2000 07:15:27 +0200

Josef Moellers <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
>> 
>> I'm about to make use of the /linuxrc feature.  I'm interested in any
>> experiences people who have tried this for various purposes may have.
>> I don't need any help (yet) on making this happen; I'm just wanting
>> to be wary of any quirks I may encounter.

> AFAIK, despite the fact that the first line looks like a shebang calling
> /bin/bash, linuxrc is NOT a shell script and you won't be able to use
> (full) shell functionality there. You can put a few insmods in there,
> but that's about it.

Fortunately, it _is_ a shell script. From the kernel sources (2.2.13):

static int do_linuxrc(void * shell)
{
static char *argv[] = { "linuxrc", NULL, };

close(0);close(1);close(2);
setsid();
(void) open("/dev/console",O_RDWR,0);
(void) dup(0);
(void) dup(0);
return execve(shell, argv, envp_init);
}

I use linuxrc on an embedded system to start inetd and some other
processes. Works fine.

Peter


--

From: Peter Pointner <[EMAIL PROTECTED]>
Subject: Re: Accessing PCI I/O space
Date: 24 Oct 2000 07:18:18 +0200

Peter Huang <[EMAIL PROTECTED]> wrote:
> Hi

> with pci memory space. I can call pci_find_device and then ioremap to access
> a pci memory space.
> How do I access PCI I/O space?

By using I/O instructions (outb and friends). Since there are no virtual
I/O-addresses, you need no special step there.

If you need examples, the kernel sources are full of them.

> Peter
Peter


--

From: [EMAIL PROTECTED]
Subject: tcp connection queue size
Date: Tue, 24 Oct 2000 06:28:57 GMT

Hello,

I have a question about tcp socket connections in qeneral.

I was just wondering what is the default queue size relating to
incoming tcp connection requests that linux can handle right out of the
box.  Is there any way to change it and increase this queue size and
how?

thanks..

-john



Sent via Deja.com http://www.deja.com/
Before you buy.

--

From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Subject: Re: Device or resource busy
Date: Tue, 24 Oct 2000 09:16:13 +0200

Hi,

int init_module() in your module if