Linux-Development-Sys Digest #300, Volume #8 Sat, 25 Nov 00 15:13:14 EST
Contents:
Re: XFree 4 crashes kernel 2.4.0-test5 (Philip Armstrong)
Re: Databases in Linux (Redhat) ("Xavier Neys")
Re: XFree 4 crashes kernel 2.4.0-test5 (ratz)
Re: linux operating system installable files (Thilo Herzfeld)
Re: rdtsc() timestamps synchronized between SMP CPU's? (Kaelin Colclasure)
Re: extend the blocksize ([EMAIL PROTECTED])
Re: rdtsc() timestamps synchronized between SMP CPU's? (Nick Maclaren)
Re: Message queues: real world applications (ChromeDome)
Re: Stack access speed (Peter Pointner)
AGP (NJOUANNE)
Re: make[3]: *** [ip_masq.o] Error 1 (Dave Cohen)
none (nitin sharma)
C++ thread lib wanted (Yingfei Dong)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Philip Armstrong)
Crossposted-To: linux.debian.devel
Subject: Re: XFree 4 crashes kernel 2.4.0-test5
Date: 25 Nov 2000 10:31:13 -0000
In article <[EMAIL PROTECTED]>,
Otto Wyss <[EMAIL PROTECTED]> wrote:
>I have upgraded to XFree86 version 4.0.1e on my computer (i386) running
>kernel 2.4.0-test5 with framebuffer support. While XFree86 version 3.3.6
>works smoothly, version 4 kills the whole system completly. Not even
>with telnet from another computer could I get a connection.
>
>Since the machine crashed that bad I had to use the reset button
>(luckally my computer has still on). It wasn't very much fun to wait
>until my 30GB disk was repaired, desparatly watching if nothing got
>lost. Side note: Linux should be less prone to this kind of situation
>since I haven't done much work before. Anyway I have no idea what went
>wrong and where I have to look for any crash information. Is the any
>utility which gathers any information at the next boot so I can send
>them to the developers? I guess there are still some bugs in the kernel
>framebuffer support. I tried both the FBdev and the ATI (Mach64) driver
>with the same results.
>
>Besides dexter is a really nice tool to setup XFree86 but couldn't it
>read the previous config file? Hopefully it might read the old version
>as well.
You're using Debian unstable yes?
Well XFree 4 under Debian unstable works perfectly with my Matrox
Millennium II, but that doesn't help your situation any.
I would suggest that you back off to a stable kernel (the latest
2.2.18 prerelease perhaps) and try that. It looks like there are
kernel-images for 2.2.18pre21 in the Debian unstable distribution at
the moment.
Phil
--
http://www.kantaka.co.uk/ .oOo. public key: http://www.kantaka.co.uk/gpg.txt
------------------------------
From: "Xavier Neys" <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.misc,comp.lang.java.databases,comp.databases.informix,comp.databases.oracle.server,comp.databases.sybase,linux.redhat.misc,linux.postgres,comp.databases.pick
Subject: Re: Databases in Linux (Redhat)
Date: Sat, 25 Nov 2000 12:31:28 +0100
If you want the Oracle features like Triggers/Stored Procedures,
Integrity/Foreign Key Constraints, Transactions, Outer Joins, JDBC/ODBC
Drivers, C/C++ Pre-Processor for Embedded SQL, Perl and Python Access and
many more for the price of PostqreSql (i.e. FREE) look no further than SAP
DB.
SAP recently released its RDBMS in open source.
Check http://www.sap.com/solutions/technology/sapdb/
Here is an extract of SAP site
SAP DB is an open, SQL-based, relational database management system that
provides high availability and performance scaling from small to very large
implementations.
In addition, SAP DB goes beyond relational database technology by offering
object orientation as well as support for managing unstructured data. It
supports open standards including SQL, JDBC and ODBC; access from Perl and
Python; and HTTP-based services with HTML or XML content.
SAP DB is platform independent, so users can deploy it for a wide array of
projects.
Since 1994, the SAP e-Business Solution is available on SAP DB technology.
Today SAP DB is being used by nearly 800 customers.
You may also want to go directly to the FAQ page
http://www.sap.com/solutions/technology/sapdb/
I have no interest in the SAP company but when such a major company decides
to release such a great piece of software in open source, I believe the
Linux community should support them.
Xavier Neys.
PS: 800 SAP customers mean thousands of users :-)
PPS: I am a newbie to Linux but have years of experience with Oracle/Unix. I
still need to get my linux box up and running, than test this SAP DB and
compare it with Oracle. This explains why I posted this with Outlook. Please
forgive me :-)
"Freelancer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I need decide which database going to run for Redhat Linux.
> I know MySQL is the most popular one in Linux world. I need
> you help me to fill out the blank and hole (?) in table below.
>
> Databases for Linux (Redhat)
> Y -- yes; N -- No; NA -- not apply; ? -- don't know/not sure
>
> Database Trigger/Store Procedure Transaction Foreign Key Constrain
> JDBC/RowSet C/C++ Library PerlDBI
> MySQL N N N
> N Y (mm.sql tyep 4)
> Y? Y
> Postgres Y? ? Y
> ? ?
> ? ?
> Informix
> Sybase
> Oracle
> DB2
> Else?
>
> I know Oracle, Sybase, Informix and DB2 support most or all of them in
> UNIX (Solaris, HP-UX, AIX, etc.) But I am not sure are they also support
> in Linux.
> Thank you very much if you can fill out the blanks and/or holes for me.
>
>
>
------------------------------
From: ratz <[EMAIL PROTECTED]>
Crossposted-To: linux.debian.devel
Subject: Re: XFree 4 crashes kernel 2.4.0-test5
Date: Sat, 25 Nov 2000 12:36:34 +0100
Hi Otto,
Otto Wyss wrote:
>
> I have upgraded to XFree86 version 4.0.1e on my computer (i386) running
> kernel 2.4.0-test5 with framebuffer support. While XFree86 version 3.3.6
> works smoothly, version 4 kills the whole system completly. Not even
> with telnet from another computer could I get a connection.
Upgrade to 2.4.0-test11. This is a known issue. BTW if you'd like
to reproduce it could you check if there are alot of shm segments
cludging in your system before the crash?
> Since the machine crashed that bad I had to use the reset button
> (luckally my computer has still on). It wasn't very much fun to wait
> until my 30GB disk was repaired, desparatly watching if nothing got
Install reiserfs.
> lost. Side note: Linux should be less prone to this kind of situation
> since I haven't done much work before. Anyway I have no idea what went
> wrong and where I have to look for any crash information. Is the any
2.4.0-test11 includes quite stable and reliable vm-patches from rik.
Between 2.4.0-test5 and 2.4.0.test11 there were some issues with the
ext2-fs and the oom-killer and much more. Trying out a development
kernel implies being up to date so get a newer kernel release.
> utility which gathers any information at the next boot so I can send
> them to the developers? I guess there are still some bugs in the kernel
Depends on what you encountered. There is dmesg, ksymoops or if you're
really up to debugging output you might install a kdb.
> framebuffer support. I tried both the FBdev and the ATI (Mach64) driver
> with the same results.
> Besides dexter is a really nice tool to setup XFree86 but couldn't it
> read the previous config file? Hopefully it might read the old version
> as well.
you mean xfree 3.x config files? Despite the fact that they changed quite
a lot in the new XF86Config you might be lucky. But I'd suggest you go
with the supplied tools and read the README and man-pages downloaded with
XFree4.0.
Regards,
Roberto Nibali, ratz
--
mailto: `echo [EMAIL PROTECTED] | sed 's/[NOSPAM]//g'`
------------------------------
From: Thilo Herzfeld <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.powerpc,comp.os.linux.misc,de.comp.os.unix.linux.misc,no.it.os.unix.linux.diverse,uk.comp.os.linux
Subject: Re: linux operating system installable files
Date: Sat, 25 Nov 2000 16:32:51 +0100
nitin sharma wrote:
>
> kindly specify the files which i should download for the installing linux on my
>system from the corresponding sites.
>
> linuxppc from http://download.sourceforge.net/mirrors/linuxppc/
>
> yellowdog linux from ftp://ftp.yellowdoglinux.com/pub/yellowdog/
>
> debian linux from
> http://www.debian.org/distrib/ftplist
>
> after downloading the files how do you install the operating system on the target
>system? Do u need to write the files on a CD before installation or there is some
>other method?
>
> Chequemail.com - a free web based e-mail service that also pays!!!
> http://www.chequemail.com
Hi
Go to www.linuxiso.org
Thilo
--
Thilo Herzfeld
icq: 43329619
mail: [EMAIL PROTECTED]
------------------------------
From: Kaelin Colclasure <[EMAIL PROTECTED]>
Subject: Re: rdtsc() timestamps synchronized between SMP CPU's?
Date: 25 Nov 2000 07:41:49 -0800
[EMAIL PROTECTED] (Philip Armstrong) writes:
> In article <[EMAIL PROTECTED]>,
> Kaelin Colclasure <[EMAIL PROTECTED]> wrote:
>
> >Are the 64-bit timestamps (well, clock cycle counts) that are accessed
> >via rdtsc() synchronized between CPU's on an SMP Linux system? That
> >is, supposing it were somehow possible to execute a rdtsc instruction
> >on each CPU in the system at the exact same instant, would they all
> >have the same value?
> >
> >If not, would they be close enough to allow reasonably meaningful
> >comparisons between values from two different CPU's?
>
> I believe that its perfectly possible on intel SMP systems to have two
> processors with different clock rates both installed at the same
> time. If true, then this would definately imply that the clock cycle
> counters would differ between the processors.
>
> However, I'm not sure as to the absolute veracity of the above...
Hmmm, this is going to significantly complicate ordering and comparing
the events captured by OpenTNF's kernel subsystem. And I wonder if the
timer code in the kernel that I was looking through is accounting for
this? It seemed to be computing the number of instructions per some
fixed time interval -- but I didn't see that it kept this information
on a per-CPU basis. (But I wasn't trying to grok that code either.)
Is it possible for the OS to "under-clock" all processors to the rate
of the slowest CPU? (Ugh.)
Can anyone recommend a book with a reasonably tractable exposition of
the Pentium architecture, including the tsc and these "debug
registers" I keep seeing references to?
-- Kaelin
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: extend the blocksize
Crossposted-To: comp.os.linux.development.apps
Date: Sat, 25 Nov 2000 16:01:42 GMT
In comp.os.linux.development.apps Nick Maclaren <[EMAIL PROTECTED]> wrote:
> movement but, for optimal performance, you also need to tune the
> block size to the rotational timings to avoid missing a block as
> it spins by. I could once have told you how to do that on an
> IBM 3330, but that doesn't help with modern disks ....
AFAIK, this is not necessary or helpful with modern drives. They use either a
buffer so that the read speed is much greater than the speed of the sectors below
the head, and/or an interleave factorsuch that sectors are not stored on the platter
sequentially.
Also, there is no guarantee that the number of sectors per track is a constant.
There may be more sectors at the outer circumference of the disk. Of couse, the
internal drive electronics will abstract this so that the interface presented to
the computer is the traditional CHS with a fixed number of sectors.
Point is, it is tough to make many assumptions on how things are done physically
with modern hard drives.
Taavo.
------------------------------
From: [EMAIL PROTECTED] (Nick Maclaren)
Subject: Re: rdtsc() timestamps synchronized between SMP CPU's?
Date: 25 Nov 2000 16:24:34 GMT
In article <[EMAIL PROTECTED]>,
Kaelin Colclasure <[EMAIL PROTECTED]> wrote:
>[EMAIL PROTECTED] (Philip Armstrong) writes:
>
>> I believe that its perfectly possible on intel SMP systems to have two
>> processors with different clock rates both installed at the same
>> time. If true, then this would definately imply that the clock cycle
>> counters would differ between the processors.
>>
>> However, I'm not sure as to the absolute veracity of the above...
>
>Hmmm, this is going to significantly complicate ordering and comparing
>the events captured by OpenTNF's kernel subsystem. And I wonder if the
>timer code in the kernel that I was looking through is accounting for
>this? It seemed to be computing the number of instructions per some
>fixed time interval -- but I didn't see that it kept this information
>on a per-CPU basis. (But I wasn't trying to grok that code either.)
>
>Is it possible for the OS to "under-clock" all processors to the rate
>of the slowest CPU? (Ugh.)
Probably. Sigh. Why do those idiots keep making that mistake?
This must be about the fifth time that I have seen machine vendors
introduce heterogeneous CPUs into a SMP system, and claim that they
work because the hardware doesn't actually fall over. Every single
time, the operating systems have needed hacking and had a stream of
problems even after release.
In the next round, the machines require homogeneity, whereupon the
operating systems start working again, whereupon the machine vendors
forget, whereupon ....
It isn't THEORETICALLY insoluble, but why add so much extra hassle
for such a small amount of gain?
Regards,
Nick Maclaren,
University of Cambridge Computing Service,
New Museums Site, Pembroke Street, Cambridge CB2 3QG, England.
Email: [EMAIL PROTECTED]
Tel.: +44 1223 334761 Fax: +44 1223 334679
------------------------------
From: ChromeDome <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Message queues: real world applications
Date: Sat, 25 Nov 2000 16:47:59 GMT
Nix wrote:
>
> A tertiary problem is that they are thoroughly non-Unixlike; they have
> their own namespace, and their own descriptors, which you *cannot
> damned well select() on*. So if you've got a select loop in your app
> then you essentially cannot use message queues in the same place.
>
> Plus the horrible things are persistent, unlike every other fs object
> in Unix; ipcs(8) and ipcrm(8) should never have been necessary.
>
> This makes message queues almost totally useless. Like the other parts
> of sysvipc, their APIs are so broken that they might as well never have
> been implemented, IMNSHO.
>
Your vehemence seems a bit overly dogmatic to me. While it is true that
message queues, like much of Unix, are not perfect, I've found them
quite useful, especially in process control and data acquisition
applications. OTOH, I've never needed a select :-).
As to persistence, I've used that to enhance robustness. For example,
if a watchdog task determines that another task has died, or has hung
and must be killed, the watchdog can, after starting a replacement task,
examine any pertinent message queues for leftover messages to the dead
task (message type = pid) and redirect them to its replacement.
And persistence isn't a detriment to a system that runs for months on
end without a reboot and where all needed message queues ae set up at
boot.
--
The "people" he "trusted" voted for Gore
Now Bush doesn't trust the people anymore :-)
------------------------------
From: Peter Pointner <[EMAIL PROTECTED]>
Subject: Re: Stack access speed
Date: 25 Nov 2000 17:03:49 +0100
Nix <$}xinix{[email protected]> wrote:
[snip]
> Good, that includes -fdefer-pops, which would speed up this sort of
> thing a lot.
[snip]
Why?? AFAIK -fdefer-pops is about (not) popping arguments.
Which arguments?
Peter
------------------------------
From: [EMAIL PROTECTED] (NJOUANNE)
Date: 25 Nov 2000 17:26:28 GMT
Subject: AGP
Hello everybody,
I search documents for use /dev/agpgart with the Kernel 2.4
Because i create a 3D soft and i want use AGP bus
Thanks
------------------------------
From: Dave Cohen <[EMAIL PROTECTED]>
Subject: Re: make[3]: *** [ip_masq.o] Error 1
Date: Sat, 25 Nov 2000 12:43:28 -0500
[EMAIL PROTECTED] wrote:
> I'm trying to build a kernel on a 486-DX2 using source from kernel-
> source-2.2.16-22.i386.rpm. The distribution was from RedHat 7.0.
> The gcc version is 2.96.
>
> After about a freakin' hour, it aborts out of the build with the
> following last gcc text:
>
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -
> O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-
> reduce -m486 -DCPU=486 -DEXPORT_SYMTAB -c ip_masq.c
> In file included from ip_masq.c:85:
> /usr/src/linux/include/net/ip_masq.h:319:26: warning: nothing can be
> pasted after this token
> /usr/src/linux/include/net/ip_masq.h:322:25: warning: nothing can be
> pasted after this token
> /usr/src/linux/include/net/ip_masq.h:325:29: warning: nothing can be
> pasted after this token
> ip_masq.c:578: `ip_masq_hash' undeclared here (not in a function)
> ip_masq.c:578: initializer element is not constant
> ip_masq.c:578: (near initialization for `__ksymtab_ip_masq_hash.value')
> ip_masq.c:579: `ip_masq_unhash' undeclared here (not in a function)
> ip_masq.c:579: initializer element is not constant
> ip_masq.c:579: (near initialization for
> `__ksymtab_ip_masq_unhash.value')
> ip_masq.c:518: warning: `masq_port_lock' defined but not used
> make[3]: *** [ip_masq.o] Error 1
> make[3]: Leaving directory `/usr/src/linux-2.2.16/net/ipv4'
> make[2]: *** [first_rule] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.2.16/net/ipv4'
> make[1]: *** [_subdir_ipv4] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.2.16/net'
> make: *** [_dir_net] Error 2
> [root@pokey linux]#
>
> I'm not sure where to start looking. I would greatly appreciate some
> help from the community.
>
> Thank you very much.
>
> Brian
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
I have the same problem on my P233 system. Using kgcc is not the solution
- although you have to use that to get the kernel to compile at all.
Additionally, there is no provision to compile IP masquerading as a module
- at least not from xconfig.
Has anyone out there found any additional information?
------------------------------
Date: 25 Nov 2000 19:12:44 +0000
From: nitin sharma <[EMAIL PROTECTED]>
Subject: none
Crossposted-To:
comp.os.linux.powerpc,comp.os.linux.misc,de.comp.os.unix.linux.misc,no.it.os.unix.linux.diverse,uk.comp.os.linux
i am extremely sorry for reposting the same querry on the forum. this is because i am
unable to get the newsgroup site on my network. so kindly also copy the response to my
mail account as in the abouve situation this is the only way the requested information
can reach me. kindly bear with me.
my querry was:
i want to install the flavours of linux on my system.kindly specify the files i should
download from the respective sights.
linuxppc from http://download.sourceforge.net/mirrors/linuxppc/
yellowdoglinux from
ftp://ftp.yellowdoglinux.com/pub/yellowdoglinux
debianlinux from
http://www.debian.org/
how to install the operating system from the files downloaded from the sites.
Chequemail.com - a free web based e-mail service that also pays!!!
http://www.chequemail.com
------------------------------
From: Yingfei Dong <[EMAIL PROTECTED]>
Subject: C++ thread lib wanted
Date: 25 Nov 2000 19:25:38 GMT
hi, folks,
I am looking for a C++ wrapper of thread on RedHat 6.1 or FreeBSD4.1?
Please let me know if you have any inputs. Thanks.
pthread is supported in C. But I didn't find any info about similar info
for C++.
Yingfei Dong
------------------------------
** 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
******************************