Linux-Development-Sys Digest #314, Volume #8      Fri, 1 Dec 00 04:13:12 EST

Contents:
  Re: Module Compilation Problems ("Brian")
  Re: Database in Redhat Linux (Victor Wagner)
  Re: fdisk sources (Werner Puschitz)
  Re: config for pre-built kernel (RH 6.2) (Glitch)
  Seeking clarification on linux's handling of inodes 
([EMAIL PROTECTED])
  USB and IrDA Development on Linux ("Alan Po")
  Re: Problem: sigaction with SI_SIGINFO flag (Andi Kleen)
  Re: Help me . I don't understand this definiiton . (Josef Moellers)
  Re: config for pre-built kernel (RH 6.2) (Josef Moellers)
  Re: Global constructors in ELF so libs NOT CALLED! (Erik Westlin)
  ATM support (Fernando Alfonso Villanueva)
  ATM support (Fernando Alfonso Villanueva)
  ATM support (Fernando Alfonso Villanueva)
  ATM support (Fernando Alfonso Villanueva)
  ATM support (Fernando Alfonso Villanueva)
  ATM support (Fernando Alfonso Villanueva)
  ATM support (Fernando Alfonso Villanueva)
  this sucks! ([EMAIL PROTECTED])
  ATM support (Fernando Alfonso Villanueva)

----------------------------------------------------------------------------

From: "Brian" <[EMAIL PROTECTED]>
Subject: Re: Module Compilation Problems
Date: Fri, 1 Dec 2000 10:44:55 +0800

> >I think the default search path for include files is /usr/include. In
RedHat
> >6.x, there is a link in that directory: linux ->
../src/linux/include/linux,
> >so you don't have to specify the include path in command line. The link
no
> >longer exists in RH 7.0.
>
> Is there some reason that I shouldn't just restore that link?
>

The directory /usr/include/linux is a real one containing lots of header
files in RedHat 7.0. You cannot directly restore the link. I don't know why
RedHat made this reconstruction, but I think it's better to keep it there.

-Brian

> ************************************************************************
> simberg.interglobal.org  * 310 372-7963 (CA) 307 739-1296 (Jackson Hole)
> interglobal space lines  * 307 733-1715 (Fax) http://www.interglobal.org
>
> "Extraordinary launch vehicles require extraordinary markets..."
> Replace first . with @ and throw out the "@trash." to email me.
> Here's my email address for autospammers: [EMAIL PROTECTED]



------------------------------

From: [EMAIL PROTECTED] (Victor Wagner)
Crossposted-To: 
comp.os.linux.development.apps,comp.os.linux.apps,comp.os.linux.misc,comp.lang.java.databases,comp.databases.informix,comp.databases.oracle.server,comp.databases.sybase,comp.databases.pick,comp.databases.ibm-db2,comp.databases.oracle.misc
Subject: Re: Database in Redhat Linux
Date: 30 Nov 2000 09:24:03 +0300

In comp.os.linux.misc Anthony W. Youngman <[EMAIL PROTECTED]> wrote:
: In article <8vmgld$om4$[EMAIL PROTECTED]>, Victor Wagner
: <[EMAIL PROTECTED]> writes
:>In comp.os.linux.misc Freelancer <[EMAIL PROTECTED]> wrote:
:>: 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.
:>
:>Its a pity for Linux World, that most hype is done by people who don't
:>know what real database is. So they promote mySQL which is no more than
:>fast flat-file search engine with SQL-like syntax.

: And it's a real pity that there are so many people who think that the
: only valid type of database is a SQL database.

Sincerely, I never seen any other kind of database which is usable
without writing special program for any query. SQL is only practical
solution've seen, which allows you to type queries in interactively.
There is also QBE, but it doesn't count, becouse it is
a) relational
b) if fully implementted is functionally equivalent to SQL.



:>It cannot be considered real SQL just becouse SQL stands for
:>Structured Query language, and mySQL doesn't support structured, i.e.
:>nested queries. 

: By that argument *NO* database is "real SQL", because SQL is not a
: datastore - it is a *language* used by the client to talk to the back
: end.

by this argument each relational database implements some subset of
SQL+some extension to it. Even Oracle doesn't do ANSI 92 fully.

Restriction which mySQL places on the programmers are worst of all - they
causes them to PROGRAM, instead of to DESIGN.



:>
:>But database is much more than just search engine. It also should ensure
:>integrity of data both by enforcing some conditions of them (i.e.
:>foreign keys and triggers) and by rolling failed transactio back to
:>consistent state.

: And to me, a database is a complete environment, aka AS/400, Pick, etc.
: A SQL back-end is to databases what the rear legs are to pantomime
: donkey - it can stand on its own but is useless without the other half.

SQL + storage manager behind them. Nothing more. Even OS is not always
neccessary.
May be FORTRAN
preprocessor. Clients should be written on normal using
jdbc, odbc, dbi or some other kind of standartized interface.

Of course good interactive shell is good, but I always have dbish.

:>
:>So, only free database is PostgreSQL. But PostgreSQL start to
:>resemble real database only since 7.0 version, becouse before there was
:>no foreign keys. I would consider that it IS a database, not RESEMBLES
:>one only when it begin to support outer joins and binary large objects.
:>Both are scheduled for 7.1.
:>
: I think you mean the only free *relational* database - which is not the
: same thing at all. There are much better databases out there. While I

Please name _free_ non-relational database which is comparable with
commercial ones. As far as I know, most free non-relational things are
compared with say Adabas, like mySQL to Oracle or worse.

: would strongly suggest that all database programmers should know
: relational theory (it helps design immensely), there are a load of far
: better databases out there. SQL and relational databases put theoretical
: purity above practicality and functionality, which is why Oracle is such
: a beast - I could probably write programs that run faster, do more, and
: handle larger datasets, and all on a system half the size! just because
: I don't believe "relational is best".

Guys who wrote mySQL think same way. Unfortunately, they was wrong.
Becouse there is nothing more practical then good theory.

Theoretical purity gives flexibility, scalability and tunability.
This is why people don't write on CODASIL anymore.






: -- 
: Anthony W. Youngman - wol at thewolery dot demon dot co dot uk
: Witches are curious by definition and inquisitive by nature. She moved in. "Let 
: me through. I'm a nosey person.", she said, employing both elbows.
: Maskerade : (c) 1995 Terry Pratchett

-- 
There ain't nothin' in this world that's worth being a snot over.
             -- Larry Wall in <[EMAIL PROTECTED]>

------------------------------

From: Werner Puschitz <[EMAIL PROTECTED]>
Subject: Re: fdisk sources
Date: Fri, 01 Dec 2000 03:47:07 GMT

E.g. how you can find the rpm package for a particular binarie and therefore the 
source code:

# rpm -q -f /sbin/fdisk
util-linux-2.10f-7
#

Werner


Slawek Grajewski wrote:

> fdisk is a part of util-linux package. You can download if, for example,
> from: ftp://ftp.gwdg.de/pub/linux/util-linux
> Slawek
>
> MESMEUR Philippe wrote in message <[EMAIL PROTECTED]>...
> >hi,
> >
> >I'm looking for fdisk's sources on the net but I can't find them.
> >can you please hellp me
> >--
> >
> >--------------------------------------------------------
> >                Oce-Industries SA
> >                1, rue Jean Lemoine
> >                94015 Creteil cedex France
> >                phone: 33-1-48988000  fax: 33-1-48985450
> >--------------------------------------------------------


------------------------------

Date: Thu, 30 Nov 2000 22:57:13 -0500
From: Glitch <[EMAIL PROTECTED]>
Subject: Re: config for pre-built kernel (RH 6.2)

i believe the .config file (note the "." meaning a hidden file) is in
/usr/src/linux already but I could be wrong. 
In theory when issuing a 'make xconfig' it should set all the features
to the same settings as they are set to in the .config file. In that way
everything in your current kernel is already selected as it should be.

Brian Horton wrote:
> 
> Is there a way to tell what set of config settings where used for my RH
> 6.2 kernel? I want to build my own but with as little different from the
> one that's already installed as possible.
> 
> thx.bri.

------------------------------

From: [EMAIL PROTECTED]
Subject: Seeking clarification on linux's handling of inodes
Date: 1 Dec 2000 02:50:18 GMT

  I'm looking at the sources in fs/ and it looks like linux's 
high-level fs interface uses a unified inode type for all fs's.
This made me curious, because some fs's don't use inodes (eg,
msdos's FAT fs), and then I saw that there's an "msdos" field 
in a union in "struct inode" and explored further.  Does linux
create inodes on the fly after mounting a filesystem that does
not use inodes?  If so, where are these inodes stored?  

  If I sound confused, it's because I am.  This is the first 
time I've looked at linux's fs code, and it flies in the face 
of how I was taught Unix fs's work in college many moons ago.
(Not that I think that's BAD .. I'm just trying to understand 
it, is all.)  Is there some source of documentation (online 
or wood pulp) that describes how to port or implement a fs for
linux?

  Thanks muchly,
  -- TTK

-- 
"Live and Learn; Die and Learn Faster"
(motto of the Lynbrook Historical Simulations club)
Technical and RKBA documents at: http://larva.flyingcroc.net/~ttk/

------------------------------

From: "Alan Po" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.development.apps,comp.os.linux.hardware,comp.os.linux.help,comp.os.linux.misc,comp.os.linux.questions
Subject: USB and IrDA Development on Linux
Date: Fri, 1 Dec 2000 12:05:52 +0800

Dear All

I am trying to develop an application by using a USB IrDA. I have found some
information about USB development under Linux. Unluckily, I cannot find the
information of IrDA on Linux.

Would you give me some ideas, advices or resources to help me to solve my
problem?

Alan PO

[EMAIL PROTECTED]



------------------------------

From: Andi Kleen <[EMAIL PROTECTED]>
Subject: Re: Problem: sigaction with SI_SIGINFO flag
Date: 01 Dec 2000 04:17:07 +0100

[EMAIL PROTECTED] (Anton Ertl) writes:

> In article <[EMAIL PROTECTED]>,
>  Petr Bavorovsky <[EMAIL PROTECTED]> writes:
> >Man page of sigaction says, that SIGIO (synonyms SIGPOLL, SIGURG) fills
> >si_fd field.
> 
> The man page you use is not necessarily in sync with the kernel and
> the libraries.  In the 2.2 kernels (at least up to 2.2.14) the siginfo
> stuff is only supported for a few signals (apparently the POSIX
> real-time signals).  2.4.0-test11 supports more (at least SIGSEGV and
> SIGFPE, which gforth uses), but I don't know about SIGIO.  I think you
> also need glibc-2.1 to get the appropriate include files.

Only queued SIGIO fills in SI_SIGINFO in 2.2 and 2.4. You get queued SIGIO by 
setting a realtime signal (>SIGRTMIN) using the F_SETSIG fcntl on a 
socket or tty file descriptor. Then set SA_SIGINFO on the realtime signal 
handler.

When the signal queue should fill up the kernel falls back to send
an unqueued SIGIO signal. You should handle that case and collect
all outstanding events using poll() then.

In 2.2 only si_fd is filled and si_band/si_code do not conform to Posix
and should not be depended on (2.4 fixes them to be POSIX/Single Unix 
compliant)
 
Also all released 2.2 kernels have an annoying bug that makes queued
SIGIO fall back to unqueued SIGIO in some cases even the queue is not
full (will hopefully be fixed in 2.2.19). 2.4 doesn't have that problem.


-Andi



------------------------------

From: Josef Moellers <[EMAIL PROTECTED]>
Subject: Re: Help me . I don't understand this definiiton .
Date: Fri, 01 Dec 2000 08:56:54 +0100

Kaz Kylheku wrote:

[ ... ]

> >C does not do any bounds checking. So even if there is only one array
> >element, foo->ch_buf[0], you will get no error message when you access=

> >e.g. foo->ch_buf[1].
> =

> Actually this is undefined behavior. Although foo->ch_buf[2] is equival=
ent to
> *(foo->ch_buf + 2)  that equivalence only holds when the array bound is=
 not
> violated. Implementations are allowed to diagnose out-of-bounds array
> references, even if these are confined to within some larger object.

Yes, you're right. I was not considering the standard, but rather some
implementation thereof.
However, I was merely commenting on a specific example and what it was
supposed to mean.

Josef
-- =

Josef M=F6llers (Pinguinpfleger bei FSC)
        If failure had no penalty success would not be a prize (T.  Pratchett)

------------------------------

From: Josef Moellers <[EMAIL PROTECTED]>
Subject: Re: config for pre-built kernel (RH 6.2)
Date: Fri, 01 Dec 2000 09:02:20 +0100

Brian Horton wrote:
> =

> Is there a way to tell what set of config settings where used for my RH=

> 6.2 kernel? I want to build my own but with as little different from th=
e
> one that's already installed as possible.

RedHat ships a set of config files in the "/usr/src/linux/configs"
directory.
The pre-installed kernels are usually i386 kernels, you then have the
choice between
kernel-2.2.14-i386-BOOT.config
kernel-2.2.14-i386.config
kernel-2.2.14-i386-smp.config

You can skip the "BOOT" thing, it's only used during installation (if
used at all), this leaves the uniprocessor and smp configs.
Copy the relevant file to /usr/src/linux/.config, do a "make oldconfig",
then "make dep bzImage modules".

-- =

Josef M=F6llers (Pinguinpfleger bei FSC)
        If failure had no penalty success would not be a prize (T.  Pratchett)

------------------------------

From: Erik Westlin <[EMAIL PROTECTED]>
Subject: Re: Global constructors in ELF so libs NOT CALLED!
Date: Fri, 01 Dec 2000 09:38:31 +0100
Reply-To: [EMAIL PROTECTED]

John C. Griggs wrote:
> 
> Erik Westlin wrote:
> >
> > Or am i wrong?
> 
> Yes, you are wrong.
> 
> > Then how to do it please?
> 
> Tell us how you're doing it now and we can help.  Otherwise it is
> impossible to guess what the problem might be.
> 
> > Thank you!
> 
> You are welcome.
> 
> Regards,
>         John Griggs


I though i would embaress this list by being to obvious :-) (or rather
see at the bottom).

Also i see so many news messages i wish there was a way to
speed read them and still manage to comprehend whats important.

Anyway to make things more explicit then.

A constructor (in this case a C++ constructor, but i suppose the problem
applies
to other global initializers as well) is the member function that gets
called
when an object is first created.

A global object (or i suppose a global variable) is defined in
the global section of a program (outside of any function).

So a global constructor is (in my case) the constructor of a global
object.
And my problem is that it doesn't get called.
To explain why this is a problem: *It is supposed to get called*. 
Further studies with gdb (the gnu debugger) reveals that the objects 
vtbl (virtual function table) isn't initialized either.

I seem to remember i had this problem before then it was a 
global variable beeing initialized like this
int a=somefunction();
at that time i just gave up and reworked the whole program.

Now, i know that there is a lib libelf which lets you tinker
whith shared objects. But i don't know anything about it.
But what i do know is that there is a lot of knowledgeable people
on this list. Maybe even those who have constructed the ELF system
in linux.

But i feared that they like me read to many news messages and that
they, like me, skip those that are to wordy and doesn't come to the
point.

So my idea was that whoever knew the answer would also understand the
question
and would also not skip the message.

=========================================================================

       Erik Westlin                   Manne Siegbahn Laboratory
       email: [EMAIL PROTECTED]

------------------------------

From: Fernando Alfonso Villanueva <[EMAIL PROTECTED]>
Subject: ATM support
Date: Fri, 01 Dec 2000 09:40:13 +0100

Hi, I'm a tech student and I'm looking for some information about ATM
support on Linux.

First, I�ve found in the web that there�s an ATM API developed in
Switzerland called ATM on Linux, and the driver for the ATM adapter card

I've got (FORE PCA-200 E) is avaliable at Dreden University Web Page.
But this information seems to be a little obsolete, as I've heard that
Linux kernel versions 2.4 and late 2.3 include support for ATM as well
as the adapter driver. So, I would like you to confirm me wich is the
current state of the ATM support on Linux

Thank you


------------------------------

From: Fernando Alfonso Villanueva <[EMAIL PROTECTED]>
Subject: ATM support
Date: Fri, 01 Dec 2000 09:40:26 +0100

Hi, I'm a tech student and I'm looking for some information about ATM
support on Linux.

First, I�ve found in the web that there�s an ATM API developed in
Switzerland called ATM on Linux, and the driver for the ATM adapter card

I've got (FORE PCA-200 E) is avaliable at Dreden University Web Page.
But this information seems to be a little obsolete, as I've heard that
Linux kernel versions 2.4 and late 2.3 include support for ATM as well
as the adapter driver. So, I would like you to confirm me wich is the
current state of the ATM support on Linux

Thank you


------------------------------

From: Fernando Alfonso Villanueva <[EMAIL PROTECTED]>
Subject: ATM support
Date: Fri, 01 Dec 2000 09:40:18 +0100

Hi, I'm a tech student and I'm looking for some information about ATM
support on Linux.

First, I�ve found in the web that there�s an ATM API developed in
Switzerland called ATM on Linux, and the driver for the ATM adapter card

I've got (FORE PCA-200 E) is avaliable at Dreden University Web Page.
But this information seems to be a little obsolete, as I've heard that
Linux kernel versions 2.4 and late 2.3 include support for ATM as well
as the adapter driver. So, I would like you to confirm me wich is the
current state of the ATM support on Linux

Thank you


------------------------------

From: Fernando Alfonso Villanueva <[EMAIL PROTECTED]>
Subject: ATM support
Date: Fri, 01 Dec 2000 09:41:39 +0100

Hi, I'm a tech student and I'm looking for some information about ATM
support on Linux.

First, I�ve found in the web that there�s an ATM API developed in
Switzerland called ATM on Linux, and the driver for the ATM adapter card

I've got (FORE PCA-200 E) is avaliable at Dresden University Web Page.
But this information seems to be a little obsolete, as I've heard that
Linux kernel versions 2.4 and late 2.3 include support for ATM as well
as the adapter driver. So, I would like you to confirm me wich is the
current state of the ATM support on Linux

Thank you


------------------------------

From: Fernando Alfonso Villanueva <[EMAIL PROTECTED]>
Subject: ATM support
Date: Fri, 01 Dec 2000 09:40:57 +0100

Hi, I'm a tech student and I'm looking for some information about ATM
support on Linux.

First, I�ve found in the web that there�s an ATM API developed in
Switzerland called ATM on Linux, and the driver for the ATM adapter card

I've got (FORE PCA-200 E) is avaliable at Dreden University Web Page.
But this information seems to be a little obsolete, as I've heard that
Linux kernel versions 2.4 and late 2.3 include support for ATM as well
as the adapter driver. So, I would like you to confirm me wich is the
current state of the ATM support on Linux

Thank you


------------------------------

From: Fernando Alfonso Villanueva <[EMAIL PROTECTED]>
Subject: ATM support
Date: Fri, 01 Dec 2000 09:41:27 +0100

Hi, I'm a tech student and I'm looking for some information about ATM
support on Linux.

First, I�ve found in the web that there�s an ATM API developed in
Switzerland called ATM on Linux, and the driver for the ATM adapter card

I've got (FORE PCA-200 E) is avaliable at Dresden University Web Page.
But this information seems to be a little obsolete, as I've heard that
Linux kernel versions 2.4 and late 2.3 include support for ATM as well
as the adapter driver. So, I would like you to confirm me wich is the
current state of the ATM support on Linux

Thank you


------------------------------

From: Fernando Alfonso Villanueva <[EMAIL PROTECTED]>
Subject: ATM support
Date: Fri, 01 Dec 2000 09:49:21 +0100

Hi, I'm a tech student and I'm looking for some information about ATM
support on Linux.

First, I�ve found in the web that there�s an ATM API developed in
Switzerland called ATM on Linux, and the driver for the ATM adapter card

I've got (FORE PCA-200 E) is avaliable at Dresden University Web Page.
But this information seems to be a little obsolete, as I've heard that
Linux kernel versions 2.4 and late 2.3 include support for ATM as well
as the adapter driver. So, I would like you to confirm me wich is the
current state of the ATM support on Linux

Thank you


------------------------------

From: [EMAIL PROTECTED]
Subject: this sucks!
Date: Fri, 01 Dec 2000 08:50:17 GMT

Ok, I've asked two really simple questions soo far in this group, but
haven't received one single answer. I'm new to linux drivers, and I
really can't figure out exactly WHAT you all Linux geeks thinks is
soooo good with linux!? I've written drivers for
Win95/98/ME/CE/NT4/2000 and that is heaven compared with this shit!

Open source - so what!? A good documentation can't be replaced by some
nerdish source-code comments!

Will you please do two things right for once?
1. Tell me how to open a tty device from a kernel model.
2. Buy a belt to those too-short and too-often weared jeans of yours.

/E. D.


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

------------------------------

From: Fernando Alfonso Villanueva <[EMAIL PROTECTED]>
Subject: ATM support
Date: Fri, 01 Dec 2000 09:49:56 +0100

Hi, I'm a tech student and I'm looking for some information about ATM
support on Linux.

First, I�ve found in the web that there�s an ATM API developed in
Switzerland called ATM on Linux, and the driver for the ATM adapter card

I've got (FORE PCA-200 E) is avaliable at Dreden University Web Page.
But this information seems to be a little obsolete, as I've heard that
Linux kernel versions 2.4 and late 2.3 include support for ATM as well
as the adapter driver. So, I would like you to confirm me wich is the
current state of the ATM support on Linux

Thank you


------------------------------


** 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
******************************

Reply via email to