Linux-Development-Sys Digest #900, Volume #7 Wed, 24 May 00 13:13:17 EDT
Contents:
put_user, get_user - driver question (Guido Pohl)
please help on installing FA310 network card(from Netgear) (chuliang Yu)
how-to develop? (Nicola Attico)
How do I find the libc library version ? ("Rajeev B. C.")
Re: Need ideas for university funded project for linux (JEDIDIAH)
Re: Need ideas for university funded project for linux (JEDIDIAH)
Re: Need ideas for university funded project for linux (Vetle Roeim)
ps does not show all processes ("Jackson C. Allen")
Re: Need ideas for university funded project for linux (Larry Blanchard)
Re: Need ideas for university funded project for linux (Leslie Mikesell)
Re: Need ideas for university funded project for linux (JEDIDIAH)
Re: urgent device driver (Bob Hauck)
Re: Need ideas for university funded project for linux (JEDIDIAH)
Re: shared libs (.so's) with dependencies (Andreas Jaeger)
Re: Need ideas for university funded project for linux (Dowe Keller)
Re: Call BIOS from device diver ? (Aki M Laukkanen)
Re: How do I find the libc library version ? (Paul Kimoto)
Re: Need ideas for university funded project for linux (Brian V. Smith)
Re: ps does not show all processes (Travis Hein)
Re: How do I find the libc library version ? (Andreas Jaeger)
Re: ps does not show all processes (Paul Kimoto)
----------------------------------------------------------------------------
From: Guido Pohl <[EMAIL PROTECTED]>
Subject: put_user, get_user - driver question
Date: Wed, 24 May 2000 15:16:17 +0200
Hello out there,
we have a driver code that is for a 2.0.36 kernel and below. We now want to
adapt the code to a somewhat newer kernel. We observed that the definition of
the MACROs put_user and get_usr has been changed since then.
Formerly there were only two arguments to the MACROs, nowadays there are three.
Can somebody, please, explain how the new MACROs work? Or in other words, how
has the code to be changed to use the newer definitions?
We are, me too, glad getting any hint.
Thanx, so far, Guido
--
___ _ phone:+49-30-3463-7126 _____________ Guido Pohl
/ _ . __/ _ /_)_ /_ / fax: -8126 / GMD Fokus =CC TIP=
/__/_(_(_(_(_(_(_) _/ (_)_/ (_(_ / Kaiserin-Augusta-Allee 31
[EMAIL PROTECTED] (/ ________________________/ D-10589 Berlin, Germany
------------------------------
From: chuliang Yu <[EMAIL PROTECTED]>
Subject: please help on installing FA310 network card(from Netgear)
Date: Wed, 24 May 2000 11:12:26 -0400
I was trying to install FA310 fast ethernet card. When installing the
driver for linux, in the instruction manual, the following command line
should be excuted to compile the driver:
gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall
-Wstrict-prototypes -O6 -c tulip.c
I have a unix 2.2.12-20 kernel, under the /usr/src/linux/net directory I
didn't see any file/dir named inet. This command line might be based on
some old linux version, does anyone know how I should change this
command line?
thanks
chuliang
------------------------------
From: Nicola Attico <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.misc
Subject: how-to develop?
Date: Wed, 24 May 2000 14:39:45 +0200
Hello,
I'm serching for a word of advice.
I'm searching for a project to work at
(starting from zero [maybe better] or
running).
The point is that I've not strong C
knowledge, so I would like to learn...
Anyway I'm not a total unable
and I've years of experience using
Linux and some practice in administration...
I think moreover that the better way
to learn how to write software is to write
it, so I would like to learn doing it!
So, I'm searching for a *baby* project,
where it is possible to learn...
Does it exists?
Thanks,
Nicola
------------------------------
From: "Rajeev B. C." <[EMAIL PROTECTED]>
Subject: How do I find the libc library version ?
Date: Wed, 24 May 2000 09:58:04 -0500
Hi,
Could somebody please let me know, how do I find the version of libc library
that is loaded
on the system ?
Thanks in Advance
Rajeev
------------------------------
From: [EMAIL PROTECTED] (JEDIDIAH)
Crossposted-To:
comp.os.linux,comp.os.linux.development,comp.os.linux.development.apps,comp.os.linux.misc,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Need ideas for university funded project for linux
Date: Wed, 24 May 2000 15:26:16 GMT
On 24 May 2000 05:40:13 GMT, Peter T. Breuer <[EMAIL PROTECTED]> wrote:
>In comp.os.linux.misc Jim Richardson <[EMAIL PROTECTED]> wrote:
>: The problem with ./configure;make;make install is that it has no
>: dependency checking for upgrades and removals. I can't check what program
>
>Eh? Some of us do make file lists for the software we install, you know!
>I have no problems with dependencies.
>
>(check out man find .. -cnewer, and mkpkg).
Given the non-package specific dependency checking tools already in
Linux, one would think that you could build a dependency database
quite independent of rpm or deb.
--
In what language does 'open' mean 'execute the evil contents of' |||
a document? --Les Mikesell / | \
Need sane PPP docs? Try penguin.lvcm.com.
------------------------------
From: [EMAIL PROTECTED] (JEDIDIAH)
Crossposted-To:
comp.os.linux,comp.os.linux.development,comp.os.linux.development.apps,comp.os.linux.misc,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Need ideas for university funded project for linux
Date: Wed, 24 May 2000 15:27:51 GMT
On Wed, 24 May 2000 13:00:00 GMT, David Steuber <[EMAIL PROTECTED]> wrote:
>[EMAIL PROTECTED] (Matthias Warkus) writes:
>
>' It was the Tue, 23 May 2000 08:59:59 GMT...
>' ...and David Steuber <[EMAIL PROTECTED]> wrote:
>' > The right is non-exlusive. That means everyone can get that right. I
>' > think TrollTech is just trying to prevent forking of the Qt library
>' > here.
>'
>' Exactly that is which is bad IMHO. Real software freedom has always
>' been the freedom to fork.
>
>That's a good point. But what is the value in real forking? Do you
>really want to have ten different major versions of GTK+ floating
>around? Or even two? If an application says it uses GTK+ ver x.y,
YES.
It allows for other platforms to be supported.
[deletia]
This isn't just some Linux versus Windows battle.
--
In what language does 'open' mean 'execute the evil contents of' |||
a document? --Les Mikesell / | \
Need sane PPP docs? Try penguin.lvcm.com.
------------------------------
From: Vetle Roeim <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux,comp.os.linux.development,comp.os.linux.development.apps,comp.os.linux.misc,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Need ideas for university funded project for linux
Date: 24 May 2000 17:34:02 +0200
* [EMAIL PROTECTED]
> On Wed, 24 May 2000 13:00:00 GMT, David Steuber <[EMAIL PROTECTED]> wrote:
> >[EMAIL PROTECTED] (Matthias Warkus) writes:
> >
> >' It was the Tue, 23 May 2000 08:59:59 GMT...
> >' ...and David Steuber <[EMAIL PROTECTED]> wrote:
> >' > The right is non-exlusive. That means everyone can get that right. I
> >' > think TrollTech is just trying to prevent forking of the Qt library
> >' > here.
> >'
> >' Exactly that is which is bad IMHO. Real software freedom has always
> >' been the freedom to fork.
> >
> >That's a good point. But what is the value in real forking? Do you
> >really want to have ten different major versions of GTK+ floating
> >around? Or even two? If an application says it uses GTK+ ver x.y,
>
> YES.
>
> It allows for other platforms to be supported.
strange. linux has not been forked, and it has support for many
platforms.
vr
------------------------------
From: "Jackson C. Allen" <[EMAIL PROTECTED]>
Subject: ps does not show all processes
Date: Wed, 24 May 2000 15:43:03 GMT
I am running RedHat 6.0 and just noticed "ps" does not show all
processes even when logged in as root. I have tried many different
combinations of options. I was having some mail problems and was looking
for the sendmail process. It was not there so I tried to start it again
via /etc/rc.d/init.d/sendmail start. It complained about socket already
in use. So I checked the /proc directory and found the sendmail process.
So, is this a know problem? If so I assume there is already an update.
Thanks in advance.
Jack Allen
------------------------------
From: Larry Blanchard <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Need ideas for university funded project for linux
Date: Wed, 24 May 2000 15:43:57 GMT
David Steuber wrote:
>
> Maciej Golebiewski <[EMAIL PROTECTED]> writes:
>
> ' How often the makefiles provide the "uninstall" target, too? Or at least
<snip>
Is it really necessary to duplicate this thread in SEVEN different
newsgroups???
--
Larry Blanchard
"Anyone who wants to be elected shouldn't be" - Will Rogers
------------------------------
From: [EMAIL PROTECTED] (Leslie Mikesell)
Crossposted-To:
comp.os.linux,comp.os.linux.development,comp.os.linux.development.apps,comp.os.linux.misc,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Need ideas for university funded project for linux
Date: 24 May 2000 10:42:45 -0500
In article <[EMAIL PROTECTED]>,
JEDIDIAH <[EMAIL PROTECTED]> wrote:
>>In comp.os.linux.misc Jim Richardson <[EMAIL PROTECTED]> wrote:
>>: The problem with ./configure;make;make install is that it has no
>>: dependency checking for upgrades and removals. I can't check what program
>>
>>Eh? Some of us do make file lists for the software we install, you know!
>>I have no problems with dependencies.
>>
>>(check out man find .. -cnewer, and mkpkg).
>
> Given the non-package specific dependency checking tools already in
> Linux, one would think that you could build a dependency database
> quite independent of rpm or deb.
But there is no reason to expect it to be any better. Is there a tool
that tells you when the last program that uses a shared library
has been removed?
Les Mikesell
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (JEDIDIAH)
Crossposted-To:
comp.os.linux,comp.os.linux.development,comp.os.linux.development.apps,comp.os.linux.misc,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Need ideas for university funded project for linux
Date: Wed, 24 May 2000 15:57:23 GMT
On 24 May 2000 17:34:02 +0200, Vetle Roeim <[EMAIL PROTECTED]> wrote:
>* [EMAIL PROTECTED]
>> On Wed, 24 May 2000 13:00:00 GMT, David Steuber <[EMAIL PROTECTED]> wrote:
>> >[EMAIL PROTECTED] (Matthias Warkus) writes:
>> >
>> >' It was the Tue, 23 May 2000 08:59:59 GMT...
>> >' ...and David Steuber <[EMAIL PROTECTED]> wrote:
>> >' > The right is non-exlusive. That means everyone can get that right. I
>> >' > think TrollTech is just trying to prevent forking of the Qt library
>> >' > here.
>> >'
>> >' Exactly that is which is bad IMHO. Real software freedom has always
>> >' been the freedom to fork.
>> >
>> >That's a good point. But what is the value in real forking? Do you
>> >really want to have ten different major versions of GTK+ floating
>> >around? Or even two? If an application says it uses GTK+ ver x.y,
>>
>> YES.
>>
>> It allows for other platforms to be supported.
>
>strange. linux has not been forked, and it has support for many
>platforms.
Actually, Linux was forked several times in the process
of moving to new platforms and continues to be. Linus
himself even considers this a 'good thing'.
--
In what language does 'open' mean 'execute the evil contents of' |||
a document? --Les Mikesell / | \
Need sane PPP docs? Try penguin.lvcm.com.
------------------------------
From: [EMAIL PROTECTED] (Bob Hauck)
Subject: Re: urgent device driver
Reply-To: hauck[at]codem{dot}com
Date: Wed, 24 May 2000 15:55:11 GMT
On Tue, 23 May 2000 16:32:34 -0700, Kai Li <[EMAIL PROTECTED]> wrote:
>I need one Ethernet NIC card and the source code for my linux.
So look in the kernel tree under drivers, then go buy a card.
--
-| Bob Hauck
-| Codem Systems, Inc.
-| http://www.codem.com/
------------------------------
From: [EMAIL PROTECTED] (JEDIDIAH)
Crossposted-To:
comp.os.linux,comp.os.linux.development,comp.os.linux.development.apps,comp.os.linux.misc,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Need ideas for university funded project for linux
Date: Wed, 24 May 2000 16:01:17 GMT
On 24 May 2000 10:42:45 -0500, Leslie Mikesell <[EMAIL PROTECTED]> wrote:
>In article <[EMAIL PROTECTED]>,
>JEDIDIAH <[EMAIL PROTECTED]> wrote:
>
>>>In comp.os.linux.misc Jim Richardson <[EMAIL PROTECTED]> wrote:
>>>: The problem with ./configure;make;make install is that it has no
>>>: dependency checking for upgrades and removals. I can't check what program
>>>
>>>Eh? Some of us do make file lists for the software we install, you know!
>>>I have no problems with dependencies.
>>>
>>>(check out man find .. -cnewer, and mkpkg).
>>
>> Given the non-package specific dependency checking tools already in
>> Linux, one would think that you could build a dependency database
>> quite independent of rpm or deb.
>
>But there is no reason to expect it to be any better. Is there a tool
>that tells you when the last program that uses a shared library
>has been removed?
Sure there is. It could query the actual state of the system
rather than just keeping track of what packages had been
manipulated.
--
In what language does 'open' mean 'execute the evil contents of' |||
a document? --Les Mikesell / | \
Need sane PPP docs? Try penguin.lvcm.com.
------------------------------
From: Andreas Jaeger <[EMAIL PROTECTED]>
Subject: Re: shared libs (.so's) with dependencies
Date: 24 May 2000 17:52:21 +0200
>>>>> ther writes:
> Hello,
> Assumed I have a C program prg.c that has to be linked with several
> given shared libraries, say libaa.so, libbb.so, libcc.so. To build it I
> wold use
> gcc -o prg prg.c -laa -lbb -lcc
> and it would work fine. Now I remove the main routine from prg.c and
> rename the rest to prg_lib.c. My problem now is to create a shared
> library from prg_lib.c that incorporates the dependencies on libaa,
> libbb, libcc. From what I know (and a great deal of naive intuition) it
> would be
> gcc -shared -o libprg.so -fPIC prg_lib.c -laa -lbb -lcc
Please run ldd libprg.so to see if the dependencies are correctly
noted.
> Now I take a test program, say testprg.c, that uses functions from
> libprg and try
> gcc -o testprg testprg.c libprg.so
> and I get
> undefined reference to `__pure_virtual'
> undefined reference to `__ucmpdi2'
Use gcc -Wl,-v or -Wl,-verbose to check which libraries get linked in.
Andreas
--
Andreas Jaeger
SuSE Labs [EMAIL PROTECTED]
private [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Dowe Keller)
Crossposted-To:
comp.os.linux,comp.os.linux.development,comp.os.linux.development.apps,comp.os.linux.misc,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Need ideas for university funded project for linux
Date: 24 May 2000 09:28:00 -0700
On 23 May 2000 13:07:01 GMT, David T. Blake <[EMAIL PROTECTED]> wrote:
>David Steuber <[EMAIL PROTECTED]> wrote:
>> [EMAIL PROTECTED] (David T. Blake) writes:
>
>> ' Section 3b) (on modifications to QT)
>> ' When modifications to the Software are released under this
>> ' license, a non-exclusive royalty-free right is granted to the
>> ' initial developer of the Software to distribute your modification.
>>
>> The right is non-exlusive. That means everyone can get that right. I
>> think TrollTech is just trying to prevent forking of the Qt library
>> here.
>
>No, they are ensuring they can continue a revenue stream based
>on contributions from outside the company. They will take your
>modification and include it in QT Pro.
>
>> As I said previously, if you don't like the Qt license, you can
>> create your own library. There is no one to stop you. You can
>> also use one of the other available libraries.
>
>I was not arguing I should create a library. I was not arguing
>against QTs right to use whatever license they like. I was
>arguing that people should think twice before referring to QT
>licensing as substantially free or "open source". The right to
>fork is absent, the right not to have your contributions included
>in proprietary works (such as QT Pro) is gone, and QT gets a copy
>of EVERYTHING that even links to their code, even if it is not
>publicly available.
I agree about the right to fork, but several free software licenses
(the X-Windows, and BSD licenses come to mind) allow people to make
proprietary software incorporating thier code (IIRC this is exactly
what Sun did, and BSDI does). If I'm off track i.e. your talking
about something different, please clarify.
--
dowe [EMAIL PROTECTED]
---
A formal parsing algorithm should not always be used.
-- D. Gries
------------------------------
From: [EMAIL PROTECTED] (Aki M Laukkanen)
Subject: Re: Call BIOS from device diver ?
Date: 24 May 2000 15:52:34 GMT
In article <8gg3n4$sdo$[EMAIL PROTECTED]>, Robert Kaiser wrote:
>is it possible to call a PC's BIOS from the kernel (e.g.
>a device driver) ? Specifically, I would like to call int #13
>for Disk I/O. I'm aware that this would be terribly inefficient
>compared to a native Linux device driver, but would it be possible
>at all ? If it is, can anyone point me to an example in the kernel
>code
http://www.cs.helsinki.fi/u/amlaukka/vesafb.html
This is a framebuffer device which uses VBE real-mode BIOS calls to
change display modes. It does this by means of a user mode daemon,
vesafbd, which receives requests from the kernel. The daemon makes use
of LRMI (Linux Real Mode Interface) library which is a sort-of mini
emulator.
I believe you could use a similar mechanism and infact I got a
suggestion on the kernel list for exactly the same thing you are wanting
to do. It'll be slower than snails pace though.
--
D.
------------------------------
From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: How do I find the libc library version ?
Date: 24 May 2000 12:25:15 -0500
Reply-To: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>, Rajeev B. C. wrote:
> Could somebody please let me know, how do I find the version of libc library
> that is loaded
> on the system ?
$ ls -l /lib/libc.so.*
It is possible that a system may use a libc4, libc5, and libc6.
--
Paul Kimoto <[EMAIL PROTECTED]>
------------------------------
From: [EMAIL PROTECTED] (Brian V. Smith)
Crossposted-To:
comp.os.linux,comp.os.linux.development,comp.os.linux.development.apps,comp.os.linux.misc
Subject: Re: Need ideas for university funded project for linux
Date: 24 May 2000 16:26:46 GMT
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes:
|> David Steuber <[EMAIL PROTECTED]> writes:
|>
|> > If Windows is so great, why do you have to reboot when you change your
|> > IP address?
|>
|> You don't.
Of course you do! It forces you to and if you don't it doesn't use the new address
until you do.
--
===============================================================
Brian V. Smith ([EMAIL PROTECTED]) http://www-epb.lbl.gov/BVSmith
Lawrence Berkeley National Laboratory
I don't speak for LBL; they don't pay me enough for that.
Check out the xfig site at http://www-epb.lbl.gov/xfig
To the optimist, the glass is half full. To the pessimist, the
glass is half empty. To the engineer, the glass is twice as big
as it needs to be.
------------------------------
From: Travis Hein <[EMAIL PROTECTED]>
Subject: Re: ps does not show all processes
Date: Wed, 24 May 2000 12:35:49 -0400
from what i have found, ps only shows the processes that are executed as peers, or
below the current process that called ps.
i.e. if you are running X, and open a shell window, then only the programs spawned
from the shell command get their processes showing up in the ps list.
to fix this, there is a command line switch to show all processes for a user
ps -u root
for example shows all the root processes
i found that
ps -u root | grep sendmail
can be useful to show just the sendmail process, or any specific process, if there
are a lot of processes in the list.
hope this helps
"Jackson C. Allen" wrote:
> I am running RedHat 6.0 and just noticed "ps" does not show all
> processes even when logged in as root. I have tried many different
> combinations of options. I was having some mail problems and was looking
> for the sendmail process. It was not there so I tried to start it again
> via /etc/rc.d/init.d/sendmail start. It complained about socket already
> in use. So I checked the /proc directory and found the sendmail process.
>
> So, is this a know problem? If so I assume there is already an update.
>
> Thanks in advance.
> Jack Allen
------------------------------
From: Andreas Jaeger <[EMAIL PROTECTED]>
Subject: Re: How do I find the libc library version ?
Date: 24 May 2000 18:33:40 +0200
>>>>> Rajeev B C writes:
> Hi,
> Could somebody please let me know, how do I find the version of libc library
> that is loaded
> on the system ?
Execute /lib/libc.so.6 if you have glibc2 installed.
Andreas
--
Andreas Jaeger
SuSE Labs [EMAIL PROTECTED]
private [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: ps does not show all processes
Date: 24 May 2000 12:58:27 -0500
Reply-To: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>, Jackson C. Allen wrote:
[This is probably off-topic for c.o.l.d.system.]
> "ps" does not show all
> processes even when logged in as root. I have tried many different
> combinations of options.
You want "ps ax". (I am using a Debian version of procps-2.0.6.)
--
Paul Kimoto <[EMAIL PROTECTED]>
------------------------------
** 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
******************************