Linux-Development-Sys Digest #445

2001-01-26 Thread Digestifier

Linux-Development-Sys Digest #445, Volume #8 Fri, 26 Jan 01 14:13:18 EST

Contents:
  Re: Only 64Mb??? (Anders Larsen)
  Controlling things on that other platform ("Henry Zektser")
  Re: Controlling things on that other platform ("Geoff Winkless")
  Re: Web Server Replication (Jan Wielemaker)
  Re: Controlling things on that other platform ("Henry Zektser")
  Re: discarding backing store ([EMAIL PROTECTED])
  64-bit i-numbers? (Peter Morreale)
  Fast PCI access ([EMAIL PROTECTED])
  A Linux disaster! (95459906)
  Re: Controlling things on that other platform ("Geoff Winkless")
  Re: Writing Athlon Code (Michel Talon)
  Re: Help to get microseconds cputime precision (Dave Blake)
  Re: Controlling things on that other platform (Jamie Walker)
  Re: A Linux disaster! (Kaz Kylheku)
  Re: Device Driver Development Help
  Re: Web Server Replication
  Directory Permissions in Linux ("Jack Higgins")
  Re: Directory Permissions in Linux (Kaz Kylheku)



From: Anders Larsen <[EMAIL PROTECTED]>
Subject: Re: Only 64Mb???
Date: Fri, 26 Jan 2001 16:11:07 +0100

Juan wrote:
> 
> I have a linux box with 512Mb but linux only detects 64Mb.  Anybody knows
> where's the problem?
> I use RedHat 6.2 and kernel 2.2.14.  Motherboard is Supermicro 370DLE, and I
> have 2 sims 256Mb ECC.
> Thank You.

Buggy BIOS.

Just add the line
  append="mem=512M"
to the general section of /etc/lilo.conf, run lilo, and reboot.

chao
Anders

--

From: "Henry Zektser" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Controlling things on that other platform
Date: Fri, 26 Jan 2001 10:30:51 -0500

I'm currently the sr. developer at a small company in the manufacturing
field. All of their systems right now run on that other OS (ok, a mix of
them). I'm slowly but surely trying to make converts out of them. My current
pet project is to implement a linux-based system for monitoring our database
and file servers (a bunch of them). Namely, I'm working on something
rule-based. For example, I need to poll the MS SQL (7 and/or 2000) server at
a set interval. If the machine is up, but the service isnt, try to start it,
if it doesnt start, try to reboot the box and start it, if it doesnt come
back up 5 min after the boot, page this person and this person. Something
like that. Basically, I've gotten as far as monitoring if the boxen are up
(ping is my friend). My question is, how can I control SQL Service activity,
reboot the NT servers remotely, etc. from linux.

And on an unrelated note, maybe someone knows, how can I intelligently
(automagically) determine if the problem is with the box or with the
network?

Thanks in advance for all the help, and yes, the source will be open.

H



--

From: "Geoff Winkless" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Controlling things on that other platform
Date: Fri, 26 Jan 2001 15:45:21 -

"Henry Zektser" <[EMAIL PROTECTED]> wrote in message
news:94s577$pi5$[EMAIL PROTECTED]...
: I'm currently the sr. developer at a small company in the manufacturing
: field. All of their systems right now run on that other OS (ok, a mix of
: them). I'm slowly but surely trying to make converts out of them. My
current
: pet project is to implement a linux-based system for monitoring our
database
: and file servers (a bunch of them). Namely, I'm working on something
: rule-based. For example, I need to poll the MS SQL (7 and/or 2000) server
at
: a set interval. If the machine is up, but the service isnt, try to start
it,
: if it doesnt start, try to reboot the box and start it, if it doesnt come
: back up 5 min after the boot, page this person and this person. Something
: like that. Basically, I've gotten as far as monitoring if the boxen are up
: (ping is my friend). My question is, how can I control SQL Service
activity,
: reboot the NT servers remotely, etc. from linux.
:
: And on an unrelated note, maybe someone knows, how can I intelligently
: (automagically) determine if the problem is with the box or with the
: network?
:
: Thanks in advance for all the help, and yes, the source will be open.

Take a look at NOCOL. For specific types of server, you can build (eg) perl
or C programs to access the servers remotely and (combined with PING type
checks) you can tell if the server itself is down or if the machine/network
is buggered.

Geoff



--

From: [EMAIL PROTECTED] (Jan Wielemaker)
Crossposted-To: comp.os.linux,comp.os.linux.development,comp.os.linux.development.apps
Subject: Re: Web Server Replication
Date: 26 Jan 2001 15:32:24 GMT

In article <[EMAIL PROTECTED]>, Jem Berkes wrote:
:> I am now going to replicate the dat

Linux-Development-Sys Digest #445

1999-03-02 Thread Digestifier

Linux-Development-Sys Digest #445, Volume #6  Tue, 2 Mar 99 10:16:16 EST

Contents:
  Re: capturing keyboard input? ("mark")
  Re: SMP Support ("Paul F. Dietz")
  Re: Some notes on glibc-2.1 and egcs-1.1.1 (Safuat Hamdy)
  how can i change the video mode in c++ ("davide morelli")
  can you tell me how to write a .dll in c++ ? ("davide morelli")
  Re: waiting for milliseconds? ("mark gittins")
  Re: LINUX MERCED (Dr A O V Le Blanc)
  Re: PROOF: Jesus *is* Lord of the Sabbath! ("Mathiaxe")
  Re: PROOF: Jesus *is* Lord of the Sabbath! ("Per Olsson")
  Re: PROOF: Jesus *is* Lord of the Sabbath! (Stuart Bell)
  Re: PROOF: Jesus *is* an iMac (Stuart Bell)
  Re: PROOF: Blondes love iMacs (Julian Robert Yon)
  WHY AM I BEING BLAMED? (Julian Robert Yon)
  Re: Some notes on glibc-2.1 and egcs-1.1.1 (Andreas Jaeger)
  Re: Real Programmers text editors ("Per Olsson")
  Re: SMP Support (Julian Robert Yon)
  Re: Driver Programming (Gerard van der Sel)
  Re: SMP: slicing by -process- or -thread- ? (Peter Samuelson)
  Re: glibc 2.1 ;) (Ronald Cole)
  Sound under 2.2.x -- mulaw missing (Michael Hirsch)



From: "mark" <[EMAIL PROTECTED]>
Subject: Re: capturing keyboard input?
Date: 2 Mar 1999 10:25:07 GMT

i *think* that there is something in a book called Advanced Unix
Programming  Marc Rochkind / Paperback
/ Published 1985. He details some C code to do this, you use system calls
to modify the setup of the terminal, Sorry I can't remember any more
details but it has been a few years since I saw it.

Mark Gittins
[EMAIL PROTECTED]

John DeBoard <[EMAIL PROTECTED]> wrote in article
<[EMAIL PROTECTED]>...
> Any programmers out there  know how to capture keyboard input using C.
> DOS had the getch() thing, I notice that there is a curses getch but I
> was just wondering if there was some sort of way to get to things on a
> kernel level, like catching the kbd interrupt, then translating it..
> 
> John DeBoard
> [EMAIL PROTECTED]
> 

--

From: "Paul F. Dietz" <[EMAIL PROTECTED]>
Subject: Re: SMP Support
Date: Tue, 02 Mar 1999 04:46:22 -0600

> I suppose it depends on how your disk performs.  If your disk I/O is
> really slow, then maybe it really helps if one process can be
> compiling while another is writing to disk, whereas if your disk I/O
> were really fast then this wouldn't make as much of a difference.
> Just guessing though

Also, doesn't the kernel compile use the -pipe option
to gcc?  That would already give some parallelism
even without the -j option to make.

Paul

--

From: Safuat Hamdy <[EMAIL PROTECTED]>
Subject: Re: Some notes on glibc-2.1 and egcs-1.1.1
Date: 02 Mar 1999 11:07:16 +0100

Andreas Jaeger <[EMAIL PROTECTED]> writes:

>  > 2. programms compiled with gcc-2.8.1 and glibc-2.0.6 which previously worked
>  >well fail when recompiled with egcs-1.1.1 and glibc-2.1
> 
>  > here make (3.77) is a good example (but others exist, moc from Qt is another
>  > one)
>  > [...]
> 
>  > Did someone else made the same observations? Is there a way out of this 
>uncomfortable situation?
> Read the glibc2.1 FAQ:
> 4.6.I've build make 3.77 against glibc 2.1 and now make gets
> segmentation faults.

sorry that I come back on this, but I checked moc more closely.  Conclusion:

moc (Qt-1.43) compiles well and does not have the "defects" make-3.77 suffers from.  
Anyway moc
crashes, for instance:

in qt-1.43/src:

$ gdb ../bin/moc
...
(gdb) run dialogs/qfiledialog.h -o dialogs/moc_qfiledialog.cpp
...
Program received signal SIGSEGV, Segmentation fault.
0x400ca291 in _IO_unbuffer_write () at genops.c:734
734   _IO_SETBUF (fp, NULL, 0);
(gdb) bt
#0  0x400ca291 in _IO_unbuffer_write () at genops.c:734
#1  0x400ca2c9 in _IO_cleanup () at genops.c:749
#2  0x40095029 in exit (status=0) at exit.c:62
#3  0x4008caa1 in __libc_start_main () at ../sysdeps/generic/libc-start.c:78

Similar results for moc from Qt-1.40 when recompiled with glibc-2.1 and egcs-1.1.1 
(which worked
well with glibc-2.0.6 and gcc-2.8.1)

And now?

-- 

S. Hamdy|  All primes are odd except 2,
[EMAIL PROTECTED]|  which is the oddest of all.
|
unsolicited commercial e-mail   |  D.E. Knuth
is strictly not welcome |

--

From: "davide morelli" <[EMAIL PROTECTED]>
Subject: how can i change the video mode in c++
Date: 27 Feb 1999 00:47:16 +0100

under windows'95

davide,
[EMAIL PROTECTED]

--

From: "davide morelli" <