Java and libpthread.so.0

2008-02-06 Thread Gudjon I. Gudjonsson
Hi
   I have a problem with java
/usr/bin/java: error while loading shared libraries: libpthread.so.0:
cannot open shared object file: No such file or directory

But both the 32 and 64 bit versions of libpthread exist on my system. I
found one thread on the internet where they seem to solve the problem with
LD_ASSUME_KERNEL=2.4.19
but this is not possible in Debian, especially not on an amd64.

Does anyone know this problem.

Thanks
Gudjon



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Java and libpthread.so.0

2008-02-06 Thread Alex Malinovich
On Wed, 2008-02-06 at 11:23 +0100, Gudjon I. Gudjonsson wrote:
 Hi
I have a problem with java
 /usr/bin/java: error while loading shared libraries: libpthread.so.0:
 cannot open shared object file: No such file or directory
 
 But both the 32 and 64 bit versions of libpthread exist on my system. I
 found one thread on the internet where they seem to solve the problem with
 LD_ASSUME_KERNEL=2.4.19
 but this is not possible in Debian, especially not on an amd64.

While the error is somewhat misleading, you'll get a No such file or
directory error if you have the wrong version of the libraries, which
is what I suspect is happening in this case. You're either using a
32-bit JVM without the appropriate 32-bit libs installed on a 64-bit
system, or, more likely, you're trying to run a Java application that
uses some specific libraries that was intended to be run on a 32-bit
system.

Try running it in a 32-bit chroot and see if you still have the problem.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: reinstalling Debian - part I

2008-02-06 Thread Helge Hafting

Nuno Magalhães wrote:

Hi

I have an amd64 system that is still dualboot with XP. It has a 100GB
FAT32 that i use as my /home but since i barely use XP anymore and i
had some issues with FAT32 i'm gonna resize my 20GB XP partition (oh,
wait, i have game isos...) and change the fat to ext3. Also, my system
got infected with this virus called gnome, which is really hard to get
rid off. I hear KDE is the same and with so much X experimenting i'm
not sure anymore which session/display/window/file/___managers i have
and which are default. It's annoying. I also surely have some lost and
unused packages and i could use some tweaking as far as partition
sizes go, so, this implies repartition and reformat anyway.
  

Are you sure you need the reinstalling?
If your partitions aren't too full, then you can repartition
without reinstalling. Basically:
* Delete all you don't want
* copy all files in the partition to be resized into a subdirectory
  on another partition. (This other partition must have room enough)
* Delete the partition, create a new one with different size or
  different filesystem. Format it (mkfs), then copy stuff back.
Filesystem change accomplished without reinstalling.

You can also delete unused packages without reinstalling.
That's why a proper package manager like apt is so great.
apt-get remove package, and it goes. It will also tell if it need
to remove other packages first, you can then decide if it is ok or not.

You could also switch to aptitude which will remove some unused
packages automatically for you.

If you have broken some packages (by deleting their files, for example)
then run debsums -s. It will tell you about packages with errors,
you can fix those with apt-get install --reinstall packagename

If you don't like gnome/kde - just remove them.
apt-get remove gnome-core ought to get rid of a lot of
gnome. Many gnome packages need gnome-core, and will
go away when the core goes.

Before i do that, i want some advice. Here are the specs:
power supply: 400W
motherboard: Asus M2NPV-VM
processor: AMD Athlon64 3500+ (2.2GHZ PIB SOCKET AM2 512KB CACHE)
RAM: 2x Kingston 1G DDR2 800MHz CL5 (with two empty slots)
hard-drive: Maxtor 160GB SATA II 7200RPM 8Mb Cache
DVD: LG RW GSA-H10A (never used it in Debian yet actually)

There are 3 other computers, two debians wired to the NAT router,
another wireless with Vista (i'm thiking printers and Samba later).

Starting with general questions, one of my future projects will be to
fiddle around with Linux from Scratch. The thing is, if i compile
everything, will i be able to compile a package manager and use it to
manage everything i've already compiled? If not i'm stuck with a
system that's not easily upgradable (although that's not the point
with LFS).
  

The answer is no. Stuff you compile yourself is removed with rm.
Use a distribution with a package manager, or use your own approach.
Linux from scratch is all about doing things yourself instead of
getting help from a distribution. So no package manager,
unless you create and maintain your own big package that contains all the
stuff you needed before getting to the package manager.


Religious question #1: which PM to use? I mostly use APT and i'm quite
happy with it. Aptitude seemed ok. I want automatic removal of unused
packages and whatever else is there to make management easy.
  

apt is nice, aptitude is better and it does the removal of unused stuff.

Religious question #2: Display Manager. XDM does the job and i guess
with some fiddling it could even become pretty. I have other machines,
  

The question is - do you care about looks or speed?
xdm starts faster than gdm and kdm - which is nice. And you
can add a background image as well as position the login window.
Who needs more. . .


only one monitor and i'm lazy. I can get away with openSSH but i'd
like to open a window on my desktop and connect to the other boxes. I
did it once!! So, i'd like to use the same DM in all machines, one
that will later allow me to remote session. I think SDM is
discontinued (used SSH - i don't need it on my local network but its
fun), i refuse to use GDM or KDM since i dislike the corresponding
desktop enviroments (although i'm now using gdm). So... unless(?) i go
for VNC i'd like a DM that can handle XDMCP.
  

xdm, kdm, gdm - they all handle xdmcp.

And the difference between a display manager and a session manager?

Languages and i18n. My mother tongue is NOT english. I'm ok with it
being the system language, i actually like the interface to be
english, since i don't really appreciate other translations, but i
want to be able to use the system (keyboard et al) for my own language
(portuguese), as well as others (esperanto and russian). I want to be
able to have filenames with portuguese accented letters, cyrillic or
hebrew characters if i freaking want to - and use them on the console.
Admitedly i ran into most problems with the FAT32 partition, but i
still get a lot of garble.
  

Use a UTF-8 

AMD dual core vs Intel core 2 quad

2008-02-06 Thread Francesco Pietra
In the last few days I asked advice about upgrading from a 2-way Tyan
motherboard Thunder K8WES2895 with two series-2xx AMD dual core opteron to a
4-way motherboard. I learned from both Lennart Sorensen and Daniel Tryba that I
can't use my series 2xx and should buy series 8xx. The price for such system is
largely beyond what I can afford for private use.

I am wondering about abandoning totally my present system of dual opteron,
saving the disks, power supply, and, most important, the 24 GB of Kingston
KRV400D4R3A (184 pin) memories.

Abandoning to change to Intel Core 2 Quad Q6600 or 6800. The price is
attractive and the choice of motherboard is wider, possibly up to a 8-way
system (hopefully the 184-pon slots can be used). How does such Intel core 2
compare with dual core opteron in terms of number of independent cpus? To be
specific: when I run molecular dynamics (MD) on Debian amd64 with my shared
memory Thunder with 2 AMD dual core, parallelization support OpenMPI
(everything compiled with Intel ifort/icc), the MD program sees 4 cpus and top
-i indicates four cpu at work. The gain with respect to running MD in serial
mode is about threefold, i.e. the parallelization is not bad at all. What can I
expect - from this viewpoint - with four Intel Core 2 quad?

(Compilation of the Forthran MD program with Intel gives a tremendous burst
with respect to GNU Fortran compilers)

Thanks
francesco pietra


  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: AMD dual core vs Intel core 2 quad

2008-02-06 Thread Jo Shields

On Wed, 2008-02-06 at 08:35 -0800, Francesco Pietra wrote:
 In the last few days I asked advice about upgrading from a 2-way Tyan
 motherboard Thunder K8WES2895 with two series-2xx AMD dual core opteron to a
 4-way motherboard. I learned from both Lennart Sorensen and Daniel Tryba that 
 I
 can't use my series 2xx and should buy series 8xx. The price for such system 
 is
 largely beyond what I can afford for private use.
 
 I am wondering about abandoning totally my present system of dual opteron,
 saving the disks, power supply, and, most important, the 24 GB of Kingston
 KRV400D4R3A (184 pin) memories.

Core 2 is a CONSUMER platform, and I'm not aware of any board which will
take such a large volume of memory - especially obsolete DDR1.

 Abandoning to change to Intel Core 2 Quad Q6600 or 6800. The price is
 attractive and the choice of motherboard is wider, possibly up to a 8-way
 system (hopefully the 184-pon slots can be used). How does such Intel core 2
 compare with dual core opteron in terms of number of independent cpus? To be
 specific: when I run molecular dynamics (MD) on Debian amd64 with my shared
 memory Thunder with 2 AMD dual core, parallelization support OpenMPI
 (everything compiled with Intel ifort/icc), the MD program sees 4 cpus and 
 top
 -i indicates four cpu at work. The gain with respect to running MD in serial
 mode is about threefold, i.e. the parallelization is not bad at all. What can 
 I
 expect - from this viewpoint - with four Intel Core 2 quad?

Core 2 is a CONSUMER platform, and there are no multi-socket options.
Xeon platforms based on the same architecture as Core 2 are available,
at a cost. Each quad core chip means 4 CPUs as far as your OS is
concerned, and these are real - but the achilles heel of the Intel
platform is memory contention, and for heavily memory-bound codes,
scalability will be poor. Conversely, for CPU-bound codes, performance
will be SIGNIFICANTLY better. Roughly speaking, using a 4-way GROMACs
job as an example, the same job could complete about 25% faster, clock
for clock, on Intel.

 (Compilation of the Forthran MD program with Intel gives a tremendous burst
 with respect to GNU Fortran compilers)

That much is true, but use of a Portland compiler would help on the AMD
platform (probably not by as much, though).


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: reinstalling Debian - part I

2008-02-06 Thread Nuno Magalhães
...copy all files in the partition to be resized into a subdirectory
on another partition. (This other partition must have room enough)
It ain't :-) i'm gonna get an external drive and backup into it.

You could also switch to aptitude which will remove some unused
packages automatically for you.
I did, it freed 0KB  :) gnome-core is not installed but there are many
gnomelings in the system nonetheless, mostly libraries but also stuff
like nautilus, epiphany and yelp. Hence me wanting to reinstall, it's
just easier and fun :)

...then run debsums -s...
Its output was debsums: no md5sums for package for all the
packages, anything to toggle when i run the installer again?

...So no package manager, unless you create and maintain your own big
package that contains all the stuff you needed before getting to the
package manager.
I'll consider that. I wanna do an LFS but i want to make it just
work at its final stages.

The question is - do you care about looks or speed?
Nope, xdm it is

...lspci tells you what you have. For nvidia, use the proprietary
driver to use it to the max or the nv driver if you want to stay
open-source.
lspci gave me 00:05.0 VGA compatible controller: nVidia Corporation
C51PV [GeForce 6150] (rev a2). I'm using the nv driver 'cos
installing NVidia's one was a mess. I don't really need bleeding edge,
all the games are in the windows partition anyway ;-)

Sure, you can install a minimal system on a 2GB drive.
That was me going offtopic, but the average i get with a minimal
(+X) is around 800MB... We'll see.

Thanks for the tips!

-- 
Fica bem, porta-te mal.
Be well, misbehave.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: AMD dual core vs Intel core 2 quad

2008-02-06 Thread Lennart Sorensen
On Wed, Feb 06, 2008 at 08:35:44AM -0800, Francesco Pietra wrote:
 In the last few days I asked advice about upgrading from a 2-way Tyan
 motherboard Thunder K8WES2895 with two series-2xx AMD dual core opteron to a
 4-way motherboard. I learned from both Lennart Sorensen and Daniel Tryba that 
 I
 can't use my series 2xx and should buy series 8xx. The price for such system 
 is
 largely beyond what I can afford for private use.
 
 I am wondering about abandoning totally my present system of dual opteron,
 saving the disks, power supply, and, most important, the 24 GB of Kingston
 KRV400D4R3A (184 pin) memories.
 
 Abandoning to change to Intel Core 2 Quad Q6600 or 6800. The price is
 attractive and the choice of motherboard is wider, possibly up to a 8-way
 system (hopefully the 184-pon slots can be used). How does such Intel core 2
 compare with dual core opteron in terms of number of independent cpus? To be
 specific: when I run molecular dynamics (MD) on Debian amd64 with my shared
 memory Thunder with 2 AMD dual core, parallelization support OpenMPI
 (everything compiled with Intel ifort/icc), the MD program sees 4 cpus and 
 top
 -i indicates four cpu at work. The gain with respect to running MD in serial
 mode is about threefold, i.e. the parallelization is not bad at all. What can 
 I
 expect - from this viewpoint - with four Intel Core 2 quad?
 
 (Compilation of the Forthran MD program with Intel gives a tremendous burst
 with respect to GNU Fortran compilers)

The Core 2 Quad (like the Q6600) is for single socket systems only.  You
do multi socket with intel you must use Xeon processors, which on many
boards require FB-DIMMs for memory.

The Core 2 Quad also being a desktop cpu does not support registered
memory, which is what many servers (like the opteron) uses.

So your current RAM will not work with a desktop system, and probably
wouldn't work with most Xeon systems.  Xeon systems need fully buffered
memory to support having large numbers of DIMMs on one memory
controller, since they only have one, while the opteron has one per CPU
and can hence reduce the number of DIMMs per memory controller while
still allowing a large amount of ram.

As for Core 2 Quads, the Q6600 is nice for the price, and the Q6700
isn't bad either.  The new low power chips (45nm) look even better like
the Q9450 and Q9550.  The QX9650 and QX9770 are rather expensive.

--
Len Sorensen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: AMD dual core vs Intel core 2 quad

2008-02-06 Thread Freddie Cash
On February 6, 2008 08:35 am Francesco Pietra wrote:
 In the last few days I asked advice about upgrading from a 2-way Tyan
 motherboard Thunder K8WES2895 with two series-2xx AMD dual core opteron
 to a 4-way motherboard. I learned from both Lennart Sorensen and Daniel
 Tryba that I can't use my series 2xx and should buy series 8xx. The
 price for such system is largely beyond what I can afford for private
 use.

Opteron 200-series can only be used in 2-socket motherboards.  With 
dual-core CPUs, this gives you 4 CPU cores to use.

Opteron 800-series can be used in 4-socket motherboards.  With dual-core 
CPUs, this gives you 8 CPU cores to use.

Both of the above are based on the same CPU architecture, and use the same 
RAM -- DDR-333 or DDR-400.

The newer Opterons (1000-, 2000-, 8000-series) use DDR2-533, DDR2-667, or 
DDR2-800 RAM.  So you can't use your RAM in newer motherboards with newer 
Opterons.

Intel Xeon processors use FB-DIMM RAM, so you can't use your RAM with 
those.  These can be used in 2-socket or 4-socket motherboards, with up 
to 4-cores per socket.  These are also very expensive, run very hot, and 
require very specific chipsets and motherboards.  Depending on the 
workload and RAM requirements, these are either a lot faster than 
Opterons or a lot slower.

Intel Core2 processors use DDR2 RAM and only on 1-socket motherboards.

The only way to save parts would be to get a 4-socket motherboard and AMD 
Opteron 800-series PCUs.  Then you could re-use your RAM.

Otherwise, you have to get new CPUs, new RAM, and a new motherboard.

-- 
Freddie Cash
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



java status on the ports

2008-02-06 Thread Matthias Klose
Besides m68k hopelessly being behind we do have serious problems on
alpha, arm and hppa.

 - on arm, the bytecode compiler (ecj) doesn't produce correct code.
   there is currently a workaround to build the package on arm using
   byte-compiled code built on another architecture.  Aurelian has
   more information on that issue.  Afaik not a problem on armel.

 - on alpha, we do have testsuite failures, leading to a non-working
   interpreter (see http://bugs.debian.org/464156). We can build
   gcj-4.3 and ecj, but nothing more (if ecj is built with gcj-4.3).

 - on hppa, we do see bus errors trying to run the interpreter, plus
   new testsuite failure (see http://bugs.debian.org/464160).

Any help to fix these ports is appreciated, having a replacment for
gcj on these archs is fine as well.

Test results on all other architectures look fine.

  Matthias


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: AMD dual core vs Intel core 2 quad

2008-02-06 Thread Francesco Pietra

--- Freddie Cash [EMAIL PROTECTED] wrote: 
 The only way to save parts would be to get a 4-socket motherboard and AMD 
 Opteron 800-series PCUs.  Then you could re-use your RAM.

Together with other suggestions that were kindly provided, that above makes an
alluring prospect for me. Thanks. My point of view is that when a 8xxx series
is offered, they already have a 8 series ready for offer. I rely much on
the quality of the software, too, in particular the algorithm for
parallelization and the model, i.e., for MD the force field. Bad ones fight
against any advancement in hardware. I would be much indebted for a
clarification of details, at the reader convenience.

8xx series (without their box/fan) are found for little. Should the four
8xx be the same clock? (as they are found as single, or at most as pairs).
Also, is the box/fan specific of the 8xx series or can I use the box/fan for
the 2xx I have? (and only look for two additional boxes/fans).

In the European union - where I am - a four-way mainboard for 8xx and 184
pin ECC is not easy to find. Worldwide, I came across brand new Supermicro
H8QCE-B Quad Opteron 800 Dual Server motherboard and Supermicro CK804 Quad
Opteron 800 Dual Server motherboard at an affordable price (though as much as
$200 are charged for shipping).

As to the mainboard, which specifications should I check in order that
there is no too narrow bottleneck for the 8xx cpus and ECC 400MHz? Optionally,
it might help to have a connection to make a cluster with an 8-way server,
should I decide one day to transfer my private server to my institution.

Can different memory slots (8 2GB ECC and 8 1GB ECC, all 400MHz and same
voltage) be assembled into the 16 slots of the mainboard?

Thanks a lot

francesco pietra



  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]