Linux-Development-Sys Digest #587, Volume #8 Sat, 24 Mar 01 14:13:11 EST
Contents:
register symbols (Tahar)
unresolved symbol memcpy when loading (david hill)
Re: reading PCI chip info
Re: Too many open files error ("David K. Means")
pthreads and shared objects (Liviu Nicoara)
best java re for linux? ("Hans-Peter Maurer")
Re: smp question (Tim Roberts)
Re: Wannabe -- Wrote LAN driver now want to install (Philip Armstrong)
look for a tool like VSS ("Leo Naboro")
look for a linux software which like the Visual Source Safe(VSS) ("Leo Naboro")
Re: smp question (Trevor Hemsley)
Re: look for a tool like VSS (Ulrich Eckhardt)
----------------------------------------------------------------------------
From: Tahar <[EMAIL PROTECTED]>
Subject: register symbols
Date: Fri, 23 Mar 2001 21:00:48 +0100
Reply-To: [EMAIL PROTECTED]
Hi all,
How can we export symbols of a module in linux 2.4 ?
I know that in later versions of linux, we use the register_symtab
fonction to export symbols to the kernel symbol table. However this
fonction seems to no longer exist.
Thanks
Tahar
------------------------------
From: david hill <[EMAIL PROTECTED]>
Subject: unresolved symbol memcpy when loading
Date: Fri, 23 Mar 2001 20:07:40 GMT
Klaus,
I am keenly interested in using this new debugger. After recompiling
against the 2.2.18 source tree,
and then trying to load it, I get:
# insmod pice.o
pice.o: unresolved symbol memcpy
What am I doing wrong?
Regards,
Dave Hill
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] ()
Subject: Re: reading PCI chip info
Date: Fri, 23 Mar 2001 20:40:57 -0000
In article <ySLu6.121$[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote:
>I'm woking on an embedded linux project and am studying the hardware from
>the rawest level. I have a program called 'lspci' that comes with RH (and
>slackware, I believe) that reads the pci configuration space out of the pci
>chips. I am searching for the source to lspci so I might modify it to read
>data from other chips attached to my pci bus such as the usb device headers,
>and pcmcia headers. I find no man entry for lspci. Can someone point me in a
>reasonable direction for either lspci source or some additional utilities
>that can read chip info for more then just the pci headers?
# rpm -qfi `which lspci`
Name : pciutils Relocations: (not relocateable)
Version : 2.1.5 Vendor: Red Hat, Inc.
Release : 2 Build Date: Fri 03 Mar 2000 05:13:10 PM PST
Install date: Thu 08 Feb 2001 07:04:32 PM PST Build Host: porky.devel.redhat.com
Group : Applications/System Source RPM: pciutils-2.1.5-2.src.rpmSize
: 180623 License: GNU GPL
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Summary : Linux PCI utilities.
Description :
This package contains various utilities for inspecting and setting
devices connected to the PCI bus. The utilities provided require
kernel version 2.1.82 or newer (supporting the /proc/bus/pci
interface).
--
http://www.spinics.net/linux/
------------------------------
From: "David K. Means" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,comp.os.linux.development.apps,comp.os.linux.networking
Subject: Re: Too many open files error
Date: 24 Mar 2001 00:19:34 GMT
It is probably worth finding out why there are so many open files.
I recently cleaned out a hacked system, which had exactly this symptom
because the hacker was a script-kiddie, and my machine didn't fit his
script exactly. So bind was eating up lots of sockets.
So when you get the machine working again, it might be worthwhile to look
for evidence of hackery: on my machine it was the existence of
/dev/.lib/lib/*
and a missing /etc/hosts.deny.
"Victor" <[EMAIL PROTECTED]> wrote in message
news:99ec63$2ga$[EMAIL PROTECTED]...
> Hi, all
>
> we encountered a problem that the system always report :
>
> "error in loading shared libraries: libxxxx.so.2: cannot open shared
object
> file: Error 23"
> or
> "socket: Too many open files in system"
>
> whatever I want to do. I heard this is caused by the exhaustion of the
> system file descriptor.
> But how can I fixed this problem? The key point is that I can't do
anything
> on that machince
> now!
>
> E-mail: [EMAIL PROTECTED]
>
>
>
------------------------------
From: Liviu Nicoara <[EMAIL PROTECTED]>
Subject: pthreads and shared objects
Date: Sat, 24 Mar 2001 05:27:31 GMT
Hi,
I am playing with pthreads library and I am stuck with creating a class
library to wrap some of the pthreads API. Purpose: to have a class
/classes that wrap pthreads API. The .so library compiles fine but
pthread_create fails in pthread_allocate_stack (SIGSEGV) when run as
root. When run as regular user the errno is 1 which is operation not
permitted. Any insight about classes exported from .so and pthreads?
Any obvious (for you) faults?
Compilation flags for both library and test app are:
-fPIC -D_REENTRANT
Link flags:
-fPIC
TIA
------------------------------
From: "Hans-Peter Maurer" <[EMAIL PROTECTED]>
Subject: best java re for linux?
Date: Sat, 24 Mar 2001 07:01:35 +0100
whats the best java runtime environment for linux?
hi,
i am newbie to linux...
i want to use ejb-server on linux....
whats the best java runtime environment for it?
thanks a lot in advance
Peter
------------------------------
From: Tim Roberts <[EMAIL PROTECTED]>
Subject: Re: smp question
Date: Sat, 24 Mar 2001 00:14:22 -0800
([EMAIL PROTECTED]) wrote:
>For smp's the value smp_num_cpus is used alot.
>I wonder what happens to that value when one of the cpus crashes -
>assuming linux doesn't crash because of this event.
Exactly how, in your experience, would a CPU "crash"?
Processes crash. Hard disks crash. CPUs do not crash.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
------------------------------
From: [EMAIL PROTECTED] (Philip Armstrong)
Subject: Re: Wannabe -- Wrote LAN driver now want to install
Date: 23 Mar 2001 21:26:52 -0000
In article <[EMAIL PROTECTED]>, Dennis Jenkins <[EMAIL PROTECTED]> wrote:
>Philip Armstrong wrote:
>> In the slightly longer term, your best bet is probably to contribute
>> the code to the mainline kernel (probably best to send it to Donald
>> Becker at scyld.com who seems to maintain the network interface
>> drivers generally), that way it'll go in every distribution and you
>> won't have to do any extra work :)
>
>Who would one submit a new file system driver to?
You're asking someone who doesn't know, having never contributed a
line of code to the kernel. (ok, I have actually exchanged email with
Linus, but that doesn't exactly qualify me to talk about linux does it
:) )
Anyway, it seems to me that there's no individual who does 'linux
filesystems' in general, although running the code past Theodore T'so
and/or Stephen Tweedie (ext2 developers) might be worthwhile.
Put the patch on linux-kernel and see what happens :)
Phil
--
http://www.kantaka.co.uk/ .oOo. public key: http://www.kantaka.co.uk/gpg.txt
------------------------------
From: "Leo Naboro" <[EMAIL PROTECTED]>
Subject: look for a tool like VSS
Date: Sat, 24 Mar 2001 21:20:50 +0800
goodevening every,i wanna look for a linux software which like the Visual
Source Safe(VSS)under windows98(NT).it both manage the source codes and
libs,i know that the CVS is very useful source contol.But our boss
need the libs contol also...So does anyone tell me how to do it? Thanks!
------------------------------
From: "Leo Naboro" <[EMAIL PROTECTED]>
Subject: look for a linux software which like the Visual Source Safe(VSS)
Date: Sat, 24 Mar 2001 21:22:06 +0800
goodevening every,i wanna look for a linux software which like the Visual
Source Safe(VSS)under windows98(NT).it both manage the source codes and
libs,i know that the CVS is very useful source contol.But our boss
need the libs contol also...So does anyone tell me how to do it? Thanks!
------------------------------
From: [EMAIL PROTECTED] (Trevor Hemsley)
Subject: Re: smp question
Date: 24 Mar 2001 13:40:03 GMT
On Sat, 24 Mar 2001 08:14:22, Tim Roberts <[EMAIL PROTECTED]> wrote:
> ([EMAIL PROTECTED]) wrote:
>
> >For smp's the value smp_num_cpus is used alot.
> >I wonder what happens to that value when one of the cpus crashes -
> >assuming linux doesn't crash because of this event.
>
> Exactly how, in your experience, would a CPU "crash"?
>
> Processes crash. Hard disks crash. CPUs do not crash.
I've had a Pentium Pro 200 replaced by Compaq after the server it was
in started to crash at random. Compaq Insight Manager was reporting
ECC errors on one of the cpus. One day it was working, the next it
wasn't.
--
Trevor Hemsley, Brighton, UK.
[EMAIL PROTECTED]
------------------------------
From: Ulrich Eckhardt <[EMAIL PROTECTED]>
Subject: Re: look for a tool like VSS
Date: Sat, 24 Mar 2001 18:26:15 +0100
Leo Naboro wrote:
> goodevening every,i wanna look for a linux software which like the Visual
> Source Safe(VSS)under windows98(NT).it both manage the source codes and
> libs,i know that the CVS is very useful source contol.But our boss
> need the libs contol also...So does anyone tell me how to do it? Thanks!
cvs, rcs, prcs, cssc (according to my knowledge and that of apt)
btw: _two_ posts, both with the same content? You bad, bad boy!
------------------------------
** 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 by posting to the
comp.os.linux.development.system newsgroup.
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
******************************