Linux-Development-Sys Digest #769, Volume #6 Thu, 3 Jun 99 01:14:03 EDT
Contents:
Might Linux SMP write memory out of order? ("JDonner")
Re: What are the differences between mySQL and mSQL? ([EMAIL PROTECTED])
rpc.lockd , is there one for Linux ("David Travers")
Help installing mod_php3 3.0.8 on RH 5.2 ("Tony Kueh")
Re: 2.0 <-> 2.2 issues. (Horst von Brand)
Re: What are the differences between mySQL and mSQL? ("Kelly Brady")
Re: Linux Device Driver Overflow? ("G. Sumner Hayes")
Re: Problem with kernel 2.2.9? ("Ausias")
SMP Problem ("David Bell")
Re: What are the differences between mySQL and mSQL? (Don Baccus)
Re: Terratec Troubles (Gerd Rausch)
Linux for embedded software (Sve nBaeck)
Text virtual console in 2.2.9 (RH 6.0) (Phil Howard)
Re: Development Tools? (Omri Schwarz)
Re: Might Linux SMP write memory out of order? (Steve Peltz)
Re: Linux development tools... ("Stefan Knabe")
Re: kernel vs egcs vs PentiumPro/II (Juergen Heinzl)
Re: TAO: the ultimate OS (Alexander Viro)
Re: uid and gid assignments as distributed (H. Peter Anvin)
Re: kernel vs egcs vs PentiumPro/II (Conrad Sanderson)
Compiling kernel w/ other than gcc (William McBrine)
Help needed monitoring logical drives (AMI Megaraid) (Adrian Joseph)
----------------------------------------------------------------------------
From: "JDonner" <[EMAIL PROTECTED]>
Subject: Might Linux SMP write memory out of order?
Date: Wed, 2 Jun 1999 11:16:52 -0400
Hi,
I'm wanting to use simple flags to coordinate between threads. I'm using
well known algorithms, but these rely on writes being completed in the order
they're executed. I've been told that with some multi-processor systems
writes get written out of order, ie a thread may write memory location A
then
B, but the system ends up actually writing B before A. Does Linux SMP do
this?
thanks,
JDonner
------------------------------
Crossposted-To:
comp.os.linux.development.apps,comp.os.linux.misc,comp.os.linux.setup,comp.lang.java.databases
Subject: Re: What are the differences between mySQL and mSQL?
From: [EMAIL PROTECTED]
Date: Wed, 02 Jun 1999 22:41:50 GMT
According to Ruiming Chen <[EMAIL PROTECTED]>:
> The Subject askes its all. Are they the same free database software with
> two names?
> Or they are two different free database software?
> Are they both run on Linux?
MySQL started out as a set of matches to mSQL by a team of application
programmers who wrote a package arround mSQL. When they realized the
limitations of mSQL, and that no amount of patches would get arround
them, they re-wrote their own database engine internally from the
ground up, but maintained (more or less) the same external (mSQL)
interface.
This is why they look so much alike. It has been a while since I have
played with either (I've moved on to commercial packages) but last I
checked MySQL is a more powerful product. mSQL, though, is easier to
set up and a bit more lightweight.
-p.
------------------------------
From: "David Travers" <[EMAIL PROTECTED]>
Subject: rpc.lockd , is there one for Linux
Date: Wed, 2 Jun 1999 16:32:16 +0100
Is there a NFS lock daemon for linux that works.
I have a copy of one for FreeBSD but it doesn't work.
Does it support SMP (Dual Pentium 2 system)
Need it urgently to co-operate with main HP 9000
------------------------------
From: "Tony Kueh" <[EMAIL PROTECTED]>
Subject: Help installing mod_php3 3.0.8 on RH 5.2
Date: Mon, 31 May 1999 02:03:18 -0500
Hi,
I'm trying to install MOD PHP3 3.0.8 RPM on a RH 5.2 system. However, I
can't seem to find the package that includes libttf.so.2. Can someone tell
me which package I need to upgrade to get this file?
Thanks.
------------------------------
From: [EMAIL PROTECTED] (Horst von Brand)
Subject: Re: 2.0 <-> 2.2 issues.
Date: 2 Jun 1999 23:43:32 GMT
On Tue, 01 Jun 1999 23:11:50 -0400, Omri Schwarz <[EMAIL PROTECTED]> wrote:
>http://www-stu.calvin.edu/~clug/users/jnieho38/goto22.html
>has a list of updates necessary to go 2.0 -> 2.2,
>and one of the entries is this gem:
> Kernel modules 2.1.121 (insmod -V to check current version)
> This is very important! Stuff will not work with earlier versions.
>Note, however, that once you have 2.1.121
> installed, don't boot with a 2.0.x kernel or all module hell will
>break loose. I have no idea why, just trust me.
Wrong. Install 2.1.121 right, it _does_ work with 2.0 kernels (I ran that
combination for months during the later phases of 2.1). Or use 2.2.2-pre6,
it also works fine.
--
Horst von Brand [EMAIL PROTECTED]
Casilla 9G, Vi�a del Mar, Chile +56 32 672616
------------------------------
From: "Kelly Brady" <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.development.apps,comp.os.linux.misc,comp.os.linux.setup,comp.lang.java.databases
Subject: Re: What are the differences between mySQL and mSQL?
Date: Wed, 2 Jun 1999 10:51:15 -0400
I played with mysql and found it to be very interesting, relatively easy to
install and work with. However, it does not have a commit & rollback
functionality, so if this is important you may want to look at other
options.
Kelly
Ruiming Chen <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
> The Subject askes its all. Are they the same free database software with
> two names?
> Or they are two different free database software?
> Are they both run on Linux?
>
> Thank you!
> --Raymond
> --
> RC Square Team.
>
>
------------------------------
From: "G. Sumner Hayes" <[EMAIL PROTECTED]>
Subject: Re: Linux Device Driver Overflow?
Date: Wed, 02 Jun 1999 20:28:01 -0400
"J�rgen Hermanrud Fjeld" wrote:
> After reading some material it is my impression that Minix has a
> rather flawfull implementation of the microkernel design.
Minix was never intended as a production design. It's just for
teaching concepts. AST even claimed that multithreaded filesystems
are just a performance hack. :-/
> Doesn't QNX show that microkernel has potential, when implemented in a
> good manner?
Yes, there's potential. Also check out L4 and AmigaDOS. The
Amiga was probably the only consumer-end microkernel that had
much success. If you count Mach, then the new MacOS/X may supplant
that.
> How about the the user space versus kernel space debate?
> What advantages do you see with either architecture?
Kernel space saves context switches. Depending on how many switches
your system has to do and how heavy they are that may be a big deal.
L4 and QNX are designed to make context switches fairly lightweight.
Occasionally there are compromises in doing that -- L4's pipes are
really fast, but they don't support the full POSIX semantics last
time I checked. I saw some benchmarks a couple of years back showing
l4linux as about 5% slower than monolithic Linux once you rebuild the
apps, compared to Mach Linux being about 50% slower. L4 isn't
open source, which kills most of my non-academic interest. It's
possible that a POSIX server tuned to the microkernel could get
performance on a par with a monolithic kernel -- L4 Linux has done
some tuning, but it's still a port of an monolithic kernel and I
don't know exactly how much they did.
Microkernel approaches aren't as popular now as they were 5 years
ago. Mach gave some horrific PR to microkernels, IMO. I don't see
a burning need for a microkernel, though there are some advantages --
read an intro OS book some time. Performance, simplicity, and ease
of implementation are the major advantages of a monolithic kernel.
Flexibility, ease of driver development, modularity, safety, and
multi-server capability are the major claimed advantages of
microkernels. Kernel modules in monolithic kernels give some of those
advantages, but safe driver development and true multi-server
capability aren't possible in a monolithic kernel AFAIK. I'm sure
someone will correct me. CPU virtualization a la Bochs or VMware
can give some of the functionality of multi-server but it's not
directly analagous.
L4 Linux:
http://os.inf.tu-dresden.de/L4/LinuxOnL4/overview.html
--Sumner
------------------------------
From: "Ausias" <[EMAIL PROTECTED]>
Subject: Re: Problem with kernel 2.2.9?
Date: Wed, 2 Jun 1999 17:52:52 -0700
Are you using 'make xconfig'? If so, the graphical menus that pop up have
scroll bars that are kinda hard to see (well, not really, but it got my
blind ass). you can scroll them down and see more options. Disregard this
if you already did that.
David den Boer wrote in message <[EMAIL PROTECTED]>...
>I just compiled kernel 2.2.9 with the DOS fix tonight (I was running 2.2.5
that came with RedHat 6), and I did not see any options for my ethernet card
when in menuconfig. I have a RealTek 8129/8139 (I think) card, and this was
an option in 2.036, and it did work out of the box from RedHat.
>
>Am I missing something here?
>
>David.
>
------------------------------
From: "David Bell" <[EMAIL PROTECTED]>
Subject: SMP Problem
Date: Wed, 2 Jun 1999 17:24:51 -0700
I am trying to run SMP Linux on an older PC that has an integrated AMD
53C974 SCSI controller. The system boots fine on a uni-processor (UP)
kernel, but has trouble booting the SMP kernel. The trouble seems to be
related to the SCSI driver. The basic question is: what could be different
about the way in which the driver is being called by the UP kernel vs. the
SMP kernel. I know that the driver is old and not maintained, but it is my
understatnding that the drivers are called in a single threaded manner so
the driver should not need to be aware of the UP or SMP situation. Here is
some info from the boot:
<detect the SCSI disks -- all looks fine>
<other stuff>
Trying to unmount old root ... okay
Freeing unused kernel memory: 68k freed
scsi: aborting command due to timeout : pid 67, scsi0, channel 0, id 1, lun
0 Read (6), 07ae ed 80 00
SCSI host 0 abort (pid 67) timed out - resetting
SCSI bus is being reset for host 0 channel 0
AM53C974_reset called
AM53C974 register dump:
IO base: 0xff00; CTCREG: 0x0000; CMDREG: 0x90; STATREG: 0x11; ISREG: 0xc4
CFIREG: 0x80; CNTLREG1-4: 0x57; 0x40; 0x18; 0x44
DMACMD: 0xc3; DMASTC: 0x0400; CMASPA: 0x22a000
DMAWBC: 0x0000; DMAWAC: 0x22a400; DMASTATUS: 0x08
------------------------------
Crossposted-To:
comp.os.linux.development.apps,comp.os.linux.misc,comp.os.linux.setup,comp.lang.java.databases
Subject: Re: What are the differences between mySQL and mSQL?
From: [EMAIL PROTECTED] (Don Baccus)
Date: 2 Jun 1999 17:21:18 PST
In article <Zji53.864$[EMAIL PROTECTED]>,
bryan <[EMAIL PROTECTED]> wrote:
>I'm hopeful that postgres will be THE sql db for free unix.
>but it isn't there yet. I'll forgo features for stability.
I agree it's not there yet, but 6.5 is, as I mentioned, a
great start. My impression from my usuage is that one can
build a very stable database-backed web site with it if
you take care. This was impossible with 6.4.2.
Some truly awful memory leaks that were
the source of a lot of "6.4.2 runs for days/weeks/months
then dies a horrible death in my web environment with a
constant db connection" type complaints have been fixed.
It no longer uses (ugh) table-level locking. And a bunch
of other stuff I won't go into detail on.
As I mention, I'm writing as someone who got rid of 6.4.2
within hours after starting to play with it, due to it
being featurelight and crashful. I only tried 6.5 on a
whim, and have been very pleased.
>the transaction thing is a biggie if your app already needs it. but
>for new apps, there are ways around depending on transactions and
>triggers.
>its called 'programming to the least common denominator' ;-)
Well, the real world uses transactional dbs for critical systems
for reasons which seem pretty obvious to me...
Not being transaction-based does help make MySQL very fast.
--
- Don Baccus, Portland OR <[EMAIL PROTECTED]>
Nature photos, on-line guides, at http://donb.photo.net
------------------------------
From: Gerd Rausch <[EMAIL PROTECTED]>
Subject: Re: Terratec Troubles
Date: 02 Jun 1999 19:38:05 +0200
>>>>> "Adam" == Adam Langley <[EMAIL PROTECTED]> writes:
Adam> Cheers for the advice. I've downloaded the stuff. However what do I need
Adam> to do to install it.
Start with looking at the INSTALL file. If any problems arise, check
in FAQ first, if not included, contact me.
Regards,
Gerd
--
Gerd Rausch, Von G�rschenstr. 7, 52066 Aachen/Germany
voice: +49-241-9019626, email: <[EMAIL PROTECTED]>
------------------------------
From: Sve nBaeck <[EMAIL PROTECTED]>
Subject: Linux for embedded software
Date: Wed, 02 Jun 1999 19:49:26 +0200
Hello everybody,
I would like to use Linux as an OS for my embedded software: I would
like to run it on an MBX-board (PowerPC). This board has no harddisk,
diskdrive or network-connection. So I would like to know whether it's
possible to have the system boot Linux from ROM or FLASH.
All help will be appreciated.
Regards,
Sven Baeck.
------------------------------
From: Phil Howard <[EMAIL PROTECTED]>
Subject: Text virtual console in 2.2.9 (RH 6.0)
Date: 03 Jun 1999 01:46:49 GMT
In 2.0.36 the right-ALT-Fn keys switched to virtual
consoles 13 through 24. Now in 2.2.9 it does not work.
I've created the appropriate ttys. left-ALT-arrow
(right or left arrow) does rotate around the virtual
consoles, but direct access doesn't work now.
Looking through drivers in the source I am unable to
find the place where the ALT-function keys make the
virtual console switch. Anyone know where this is
or maybe how to fix this?
--
Phil Howard
[EMAIL PROTECTED]
[EMAIL PROTECTED]
------------------------------
From: Omri Schwarz <[EMAIL PROTECTED]>
Subject: Re: Development Tools?
Date: Wed, 02 Jun 1999 23:12:18 -0400
Code warrior, my man.
--
Omri Schwarz ---
Timeless wisdom of biomedical engineering:
"Noise is principally due to the presence of the
patient." -- R.F. Farr
------------------------------
From: [EMAIL PROTECTED] (Steve Peltz)
Subject: Re: Might Linux SMP write memory out of order?
Date: 2 Jun 1999 19:28:53 GMT
In article <BVb53.1623$[EMAIL PROTECTED]>,
JDonner <[EMAIL PROTECTED]> wrote:
>B, but the system ends up actually writing B before A. Does Linux SMP do
>this?
Linux doesn't have anything to do with it. It depends on the hardware.
I know that on an Alpha EV5 system it is possible to do writes of memory
on one processor and reads on another and have them be inconsistent. On
the Alpha, you need to execute a memory barrier instruction after the
write and before the read in order to guarantee memory ordering. The
thread synchronization routines do this, for instance.
------------------------------
From: "Stefan Knabe" <[EMAIL PROTECTED]>
Subject: Re: Linux development tools...
Date: Wed, 2 Jun 1999 21:23:30 +0200
Chris White schrieb in Nachricht
<7ivfgf$90a$[EMAIL PROTECTED]>...
>Can anyone suggest some good tools for developing applications for X
>Windows? I come from the Microsoft Windows world and I think Visual C++
has
>me spoiled. :) Please help so I can break away from the Microsoft grasp.
>
>Chris
Kdevelop might be a candidate.
------------------------------
From: [EMAIL PROTECTED] (Juergen Heinzl)
Crossposted-To: comp.os.linux.development.apps
Subject: Re: kernel vs egcs vs PentiumPro/II
Date: Wed, 02 Jun 1999 20:02:31 GMT
In article <[EMAIL PROTECTED]>, Conrad Sanderson wrote:
>David Wragg <[EMAIL PROTECTED]> wrote:
>
>>With egcs-1.1.2 (the one shipping in redhat-6.0) I have code that dies
>>with -march=pentiumpro (specifically, the current XFree86-3.9 source
>>tree). I haven't tried build the kernel with -march=pentiumpro yet.
>>
>>If you don't mind tracking down code generation errors, there isn't a
>>great deal of risk with -march=pentiumpro, and if you do track down a
>>problem it might be useful to the egcs people. Somebody has to run
>>into the bugs for them to get fixed.
>
>okay. I now have a pentiumpro "optimized" kernel running for
>about a day without any problems so far. I've added an extra
>option (-fno-strict-aliasing) since it was recommended on
>the Kernel Notes site.
>
>I'll let it run for a month and let you guys know if I encounter
>any "issues".
All the best ... no problems here, usually using -Os instead
of -O2 for all the stuff, so at least your chances to survive
till a newer release are not bad. As usual, that it works does
not mean all is fine.
[...]
>The kernel makefile also has -fno-strength-reduce, which is
>necessary to avoid bugs in gcc 2.7.x. Does this still apply
>to egcs ?
I've seen and tried code that broke without -fno-strength-reduce
up to and including egcs-1.1.2; -fschedule-insns and -fschedule-insns2
are two options to avoid like hell too, out of experience.
Cheers,
Juergen
--
\ Real name : J�rgen Heinzl \ no flames /
\ EMail Private : [EMAIL PROTECTED] \ send money instead /
------------------------------
From: [EMAIL PROTECTED] (Alexander Viro)
Crossposted-To: alt.os.linux,comp.os.linux.advocacy,comp.os.misc,comp.unix.advocacy
Subject: Re: TAO: the ultimate OS
Date: 2 Jun 1999 16:01:26 -0400
In article <[EMAIL PROTECTED]>,
Vladimir Z. Nuri <[EMAIL PROTECTED]> wrote:
[Tons of marketspeak]
Where is your code? Talk is cheap - unless you can demonstrate a code your
words are worth nothing. Sorry, but you sound like a cross between manager and
salesweasel and those animals are, erm, not too good in producing things.
Write something that would work and demonstrate it.
--
"You're one of those condescending Unix computer users!"
"Here's a nickel, kid. Get yourself a better computer" - Dilbert.
------------------------------
From: [EMAIL PROTECTED] (H. Peter Anvin)
Subject: Re: uid and gid assignments as distributed
Date: 3 Jun 1999 04:26:54 GMT
Reply-To: [EMAIL PROTECTED] (H. Peter Anvin)
Followup to: <3755ff2c$0$[EMAIL PROTECTED]>
By author: Phil Howard <[EMAIL PROTECTED]>
In newsgroup: comp.os.linux.development.system
> |
> | Yes, 0-99 are assigned by the distribution (with 0, of course, being root).
>
> The conflicts went above 100 in Redhat 5.1 and above 500 now in Redhat 6.0
> Would you then say that Redhat is violated the standard?
>
Yes. This is incredibly bad, *especially* since earlier versions of
RedHat assigned *user* UIDs starting at 500. I would file a bug
report with RedHat for any package that uses UIDs >= 500.
This, together with some packages installing stuff in /home, makes it
*very* hard to install on a networked machine.
-hpa
--
"The user's computer downloads the ActiveX code and simulates a 'Blue
Screen' crash, a generally benign event most users are familiar with
and that would not necessarily arouse suspicions."
-- Security exploit description on http://www.zks.net/p3/how.asp
------------------------------
From: [EMAIL PROTECTED] (Conrad Sanderson)
Crossposted-To: comp.os.linux.development.apps
Subject: Re: kernel vs egcs vs PentiumPro/II
Date: 3 Jun 1999 03:43:00 GMT
Juergen Heinzl <[EMAIL PROTECTED]> wrote:
>All the best ... no problems here, usually using -Os instead
>of -O2 for all the stuff, so at least your chances to survive
what is -Os ?
>I've seen and tried code that broke without -fno-strength-reduce
>up to and including egcs-1.1.2; -fschedule-insns and -fschedule-insns2
>are two options to avoid like hell too, out of experience.
Any news when egcs-2.0 (or gcc-3.0 if that's what it's called these days)
is going to be released ? I've heard that it has much better code
generation for the Alpha.
--
Conrad Sanderson - Microelectronic Signal Processing Laboratory
Griffith University, Queensland, Australia
http://hive.me.gu.edu.au/
------------------------------
From: [EMAIL PROTECTED] (William McBrine)
Subject: Compiling kernel w/ other than gcc
Date: Thu, 03 Jun 1999 04:29:54 GMT
Just out of curiosity, has anyone here compiled a Linux kernel with
something other than gcc (or pgcc or egcs)? And if so, what were the
results?
--
William McBrine | http://www.clark.net/~wmcbrine/
[EMAIL PROTECTED] | ./\./\./\./\./\./\./\./\./\./\.
------------------------------
From: [EMAIL PROTECTED] (Adrian Joseph)
Subject: Help needed monitoring logical drives (AMI Megaraid)
Date: Thu, 03 Jun 1999 04:52:28 GMT
Hi, I was wondering if anyone knows a method of automatically checking
the status of logical drives when useing the AMI Megaraid raid system?
I've downloaded a beta megamgr program from the AMI web site, but this
is an interactive program not really suitable for automatic checks. So,
anyone got any ideas? Thanks for your help
Adrian
------------------------------
** 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
******************************