Re: [gentoo-user] sharing portage directories when dual booting x86 and amd64

2007-05-25 Thread Allan Gottlieb
At Fri, 25 May 2007 07:28:31 +0200 Roman Zimmermann [EMAIL PROTECTED] wrote:

 Will Briggs wrote:
 Allan Gottlieb wrote:
  I have a core 2 duo (dell 6400), which is currently running x86.
  I am thinking of setting up another partition and dual booting amd64.

   Not all Core 2
 Duo's in 6400's are.  I have a T2400 processor in my 6400 which is not
 em64t enabled. Not that I  mind - plenty quick enough in 32-bit mode.

 That's not entirely true: _All_ Core 2 Duo processors have the 64bit 
 instruction sets. Your T2400 is not a Core 2 Duo, it's a Core Duo.
 (http://en.wikipedia.org/wiki/Core_2)

Correct.  I specifically purchased a core 2 duo, which I know is
64-bit capable.

allan
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Semi OT: 64 bit processors, the Linux Kernel, and x86 Gentoo.

2007-05-25 Thread burlingk
Due to issues with some of the software I am wanting to run, when it is
run under the AMD64 bit version of Gentoo (one of which is Blender,
which I hope will be properly stable soon), I am planning to run x86
Gentoo (With the i686 stage3) on an AMD64 processor.
 
My question is this, If I enabel 64 bit support in the kernel, is that
likely to cause any issues with running the 32bit compiled software?
 
 
V/r
RP3(SW) Burling
Religious Ministries
x4502
 


Re: [gentoo-user] which -march flag to pick for Intel Core 2 Duo in make.conf?

2007-05-25 Thread Randy Barlow

On Thu, May 24, 2007 12:38 pm, Denis wrote:
 My aim is to build a fast, stable system for my
 computations, which ultimately brought me to another major decision:
 32-bit or 64-bit...  I run simulations which I write in C and
 numerical computations which I run in Mathematica (which has just
 released the 64-bit version).  Would a 64-bit system significantly
 benefit these applications?

If you are using a lot of memory in your computations, then the 64-bit
environment will be much friendlier to you :)  Also, if I understand
correctly, you will get higher precision on floating point calculations
(someone correct me if I am wrong here!)  I also believe that the 64 bit
processors are able to perform more instructions per second on average
when executing 64 bit code vs. 32 bit code if I am not mistaken...

-- 
Randy Barlow
http://www.electronsweatshop.com
Oh me of little faith...
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] VFS: Cannot open root device - kernel panic

2007-05-25 Thread Neil Bothwick
On Thu, 24 May 2007 20:44:10 -0400, Denis wrote:

 I have an Intel D975XBX2 motherboard with an Intel Core 2 Duo E6600
 processor.  One Seagate SATA drive.  An IDE CD-RW.  Pretty much all
 the controllers on the board are Intel.

 One concern I have - when I configure the kernel, I fail to see where
 libata option is for the SATA driver...  I scoured the whole
 menuconfig a few times but for some reason get the feeling like there
 are some options missing or something. 

You probably need the AHCI driver with this board, if not the PIIX one.
The output of lspci will help decide. You'll also need a driver for the
PATA chipset for your CD drive to work.


-- 
Neil Bothwick

Artificial Intelligence usually beats real stupidity.


signature.asc
Description: PGP signature


Re: [gentoo-user] Semi OT: 64 bit processors, the Linux Kernel, and x86 Gentoo.

2007-05-25 Thread Boyd Stephen Smith Jr.
On Friday 25 May 2007 02:12:49 [EMAIL PROTECTED] wrote:
 My question is this, If I enabel 64 bit support in the kernel,

You mean run a 64-bit kernel with 32-bit support.  There's no such thing as a 
32-bit kernel with 64-bit support (at least not in x86-land).

 is that 
 likely to cause any issues with running the 32bit compiled software?

No, it won't, but it's a little bit tricky to set up.  You'll want to use an 
i686 stage3, and set ARCH to x86 or ~x86.  Then, you'll have to install a 
cross compiler (and binutils, IIRC) and cross-compile your kernel.

You could always just use a 32-bit kernel.  Do you have 3G or more RAM or need 
to run 64-bit programs?

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


pgp0Ettis9NAS.pgp
Description: PGP signature


[gentoo-user] Problem with Suspend-to-RAM and Virtual Consoles

2007-05-25 Thread Brian Johnson
I've got an interesting problem when attempting to Suspend-to-RAM (S3) and
virtual consoles. I swear, three days ago it was working and I didn't
change anything (I don't think) at least that would change how this works
(i.e. kernel, drivers, whatever)

With that said, here's my problem (and what I've tried):

1. If I initiate suspend-to-ram from a console itself, it suspends fine,
resumes fine, but the screen is BLANK.I can type stuff, but for some
reason when I reboot (i.e. typing reboot or Ctrl+Alt+Del, it freezes on
some process and doesn't reboot -- I have to power cycle the computer by
holding down the power button for 5 seconds).

2. If I initiate suspend-to-ram from X, it suspends fine, resumes fine and
the X screen comes up. HOWEVER, if I then switch to a virtual console, it
comes up blank. The same problem occurs when I reboot, however.

3. Suspend-to-disk works in both cases. And rebooting afterwards is also
fine.

To reiterate, I haven't changed anything that I believe to be low enough t
cause problems with this... has anyone seen anything like it?

I've tried things like adding acpi_sleep=s3_bios,s3_mode, etc to the
kernel line in grub.conf, but that doesn't seem to be doing much.
Attempting to blinding play with vbetool also doesn't do anything. Setting
up the console in framebuffer mode also makes no difference.

Any ideas? Thanks in advance.

- Brian

-- 
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] Semi OT: 64 bit processors, the Linux Kernel, and x86 Gentoo.

2007-05-25 Thread burlingk


 -Original Message-
 From: Boyd Stephen Smith Jr. [mailto:[EMAIL PROTECTED] 
 Sent: Friday, May 25, 2007 5:07 PM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Semi OT: 64 bit processors, the 
 Linux Kernel, and x86 Gentoo.
 
 
 On Friday 25 May 2007 02:12:49 [EMAIL PROTECTED] wrote:
  My question is this, If I enabel 64 bit support in the kernel,
 
 You mean run a 64-bit kernel with 32-bit support.  There's no 
 such thing as a 
 32-bit kernel with 64-bit support (at least not in x86-land).
 
  is that
  likely to cause any issues with running the 32bit compiled software?
 
 No, it won't, but it's a little bit tricky to set up.  You'll 
 want to use an 
 i686 stage3, and set ARCH to x86 or ~x86.  Then, you'll have 
 to install a 
 cross compiler (and binutils, IIRC) and cross-compile your kernel.
 
 You could always just use a 32-bit kernel.  Do you have 3G or 
 more RAM or need 
 to run 64-bit programs?

So, unless I need the upper memory support, it may be better for me to
just not click the flag for 64bit memory support, and move on?

This is on a laptop, and it is not a critical system (i.e. it is not
going to require that I get those last few dredges of CPU time out of
the system).  The main things it will be used for until I build my next
system is dataprocessing, and Pencil and Paper gaming.  I plan to
install a couple graphics related apps to mess with and practice with as
well. :P

I'm not exactly the average user, but I will be using it for average
user level work, so it doesn't HAVE to have 64 bit support. :P  From
what I understand, the processor handles 32 bit emulation just fine.
(It was running Windows XP fine until a runin with the emphamous Gentoo
GTK installer.)

:P  I'm not blaming the software though.  The Walkthrough, and the
readme both warn that it is experimental.  ^^;;  Then there is the fact
that I had just butted a 700MB CD, that loaded a compressed file system
into 512MB of ram, and told it to load a GUI, and a GUI driven install
system. *shrugs*  Live and learn, and kick yourself when you do
something stupid. :P

^_^



--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] which -march flag to pick for Intel Core 2 Duo in make.conf?

2007-05-25 Thread burlingk


 -Original Message-
 From: Randy Barlow [mailto:[EMAIL PROTECTED] 
 Sent: Friday, May 25, 2007 4:23 PM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] which -march flag to pick for 
 Intel Core 2 Duo in make.conf?
 
Snip

 If you are using a lot of memory in your computations, then 
 the 64-bit environment will be much friendlier to you :)  
 Also, if I understand correctly, you will get higher 
 precision on floating point calculations (someone correct me 
 if I am wrong here!)  I also believe that the 64 bit 
 processors are able to perform more instructions per second 
 on average when executing 64 bit code vs. 32 bit code if I am 
 not mistaken...

I am not sure, but that makes sense.  If nothing else, things executed
directly usually run more smoothly than those who are run through
emulation.  64bit code on 64bit processor good...
^_^
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Semi OT: 64 bit processors, the Linux Kernel, and x86 Gentoo.

2007-05-25 Thread Boyd Stephen Smith Jr.
On Friday 25 May 2007 04:09:00 [EMAIL PROTECTED] wrote:
 So, unless I need the upper memory support, it may be better for me to
 just not click the flag for 64bit memory support, and move on?

IIRC, that's for PAE, which you definitely shouldn't use unless you have 4G of 
RAM or greater.

Ticking that box doesn't make your kernel 64-bit though, anymore than 
supporting 64-bit file offsets makes a kernel 64-bit.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


pgpD5BreX3tMd.pgp
Description: PGP signature


Re: [gentoo-user] sharing portage directories when dual booting x86 and amd64

2007-05-25 Thread Bo Ørsted Andresen
On Thursday 24 May 2007 23:42:11 Allan Gottlieb wrote:
 In particular can I share

  * distfiles (DISTDIR)
  * logs (PORT_LOGDIR)

Sure.

  * tmp (PORTAGE_TMPDIR)

If you ever compile the same package at the same time that may not be such a 
good idea. Even if it works it may be confusing. Why not just make two 
subdirs in the same place and use one as PORTAGE_TMPDIR for each system..?

-- 
Bo Andresen


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


RE: [gentoo-user] Semi OT: 64 bit processors, the Linux Kernel, and x86 Gentoo.

2007-05-25 Thread burlingk


 -Original Message-
 From: Boyd Stephen Smith Jr. [mailto:[EMAIL PROTECTED] 
 Sent: Friday, May 25, 2007 6:28 PM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Semi OT: 64 bit processors, the 
 Linux Kernel, and x86 Gentoo.
 
 
 On Friday 25 May 2007 04:09:00 [EMAIL PROTECTED] wrote:
  So, unless I need the upper memory support, it may be 
 better for me to 
  just not click the flag for 64bit memory support, and move on?
 
 IIRC, that's for PAE, which you definitely shouldn't use 
 unless you have 4G of 
 RAM or greater.
 
 Ticking that box doesn't make your kernel 64-bit though, anymore than 
 supporting 64-bit file offsets makes a kernel 64-bit.
 

What makes the difference between a 64 bit kernel, and a 32 bit kernel?
 
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Semi OT: 64 bit processors, the Linux Kernel, and x86 Gentoo.

2007-05-25 Thread Boyd Stephen Smith Jr.
On Friday 25 May 2007 04:53:26 [EMAIL PROTECTED] wrote:
 What makes the difference between a 64 bit kernel, and a 32 bit kernel?

Use of 64-bit machine code [*], particularly instructions that make use of 
64-bit native[**] registers[***].

* Defining this is more difficult, since that does not mean instruction 
requiring 64-bits to represent as many architectures have variable length 
instructions.

** Native is a difficult term to define, but I'm explicitly excluding the 
floating-point registers that have been 64-bit or 80-bit from my vague notion 
of native

*** I guess this makes the Cell processor 128-bit?  BTW, if the 
term register doesn't mean anything to you it's the fastest memory in your 
computer, closer to the ALU (etc.) than L1 cache, very small and expensive 
that are addressed differently than all other memory.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


pgpSnyjmncIjE.pgp
Description: PGP signature


Re: [gentoo-user] Semi OT: 64 bit processors, the Linux Kernel, and x86 Gentoo.

2007-05-25 Thread Denis

 What makes the difference between a 64 bit kernel, and a 32 bit kernel?

Use of 64-bit machine code [*], particularly instructions that make use of
64-bit native[**] registers[***].


Is there any slowdown for the 64-bit set-up when it has to run 32-bit software?

Aside from not having the 64-bit Flash for Firefox, are most popular
packages in Gentoo portage 64-bit compatible?
--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] Semi OT: 64 bit processors, the Linux Kernel, and x86 Gentoo.

2007-05-25 Thread burlingk
 -Original Message-
 From: Denis [mailto:[EMAIL PROTECTED] 
 Sent: Friday, May 25, 2007 9:32 PM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Semi OT: 64 bit processors, the 
 Linux Kernel, and x86 Gentoo.
 
 
   What makes the difference between a 64 bit kernel, and a 32 bit 
   kernel?
 
  Use of 64-bit machine code [*], particularly instructions that make 
  use of 64-bit native[**] registers[***].
 
 Is there any slowdown for the 64-bit set-up when it has to 
 run 32-bit software?
 
 Aside from not having the 64-bit Flash for Firefox, are most 
 popular packages in Gentoo portage 64-bit compatible?
 -- 

A lot of the AMD64 packages are masked as unstable.
There are a lot of stable packages, but there are enough unstable ones
to be a pain. When things are masked, there is a reason.  For instance,
the reason that Blender is masked, is because it does messed up things
to the save files in the AMD64 version.

With any luck, by the time I build my next real machine, many of the
issues will be resolved.  :P  AMD64 is a popular architecture, so it
has a lot of people stomping bugs. ^_^




--
[EMAIL PROTECTED] mailing list



[gentoo-user] Changing libaries

2007-05-25 Thread Florian Philipp
Hi!

I've already asked this question on gentoo-user-de but I've got no - let's 
say - convenient answer. Therefore I'll try my luck here:

Another user had some trouble because Kaffeine couldn't play .ogg-files.
In the end we found out that he activated the necessary USE-flag and 
re-emerged xine-lib but Kaffeine kept using the old lib which was still in 
RAM, I presume.

Naturally, the problem was solved when he rebooted but I wonder how I could 
achieve the effect without rebooting.

Thanks in advance

Florian Philipp 


pgpIgCsINzPLt.pgp
Description: PGP signature


Re: [gentoo-user] Semi OT: 64 bit processors, the Linux Kernel, and x86 Gentoo.

2007-05-25 Thread Florian Philipp
Am Freitag 25 Mai 2007 14:31 schrieb Denis:
   What makes the difference between a 64 bit kernel, and a 32 bit kernel?
 
  Use of 64-bit machine code [*], particularly instructions that make use
  of 64-bit native[**] registers[***].

 Is there any slowdown for the 64-bit set-up when it has to run 32-bit
 software?

 Aside from not having the 64-bit Flash for Firefox, are most popular
 packages in Gentoo portage 64-bit compatible?

There is no additional slow down for AMD64 / EM64T since it's (simplified) 
just a normal 86 with some extra registers and instructions to handle them.* 

There are some annoyances (for example Google Earth doesn't start at the 
moment) but I don't miss anything else. And concerning flash: There are ways 
to work around it (somewhere in the wiki, look for an AMD64-Howto). 

* simplified


pgpqC9Dpd2PEq.pgp
Description: PGP signature


Re: [gentoo-user] Changing libaries

2007-05-25 Thread Hans-Werner Hilse
Hi,

On Fri, 25 May 2007 15:19:30 +0200 Florian Philipp
[EMAIL PROTECTED] wrote:

 Another user had some trouble because Kaffeine couldn't
 play .ogg-files. In the end we found out that he activated the
 necessary USE-flag and re-emerged xine-lib but Kaffeine kept using
 the old lib which was still in RAM, I presume.

Nope, it might even be left on disk, at least as long as it is still
referenced from open file handles. But it doesn't really matter if that
library just is somewhere. It matters whether the (instance of the)
application using it has still opened it.

 Naturally, the problem was solved when he rebooted but I wonder how I
 could achieve the effect without rebooting.

Close Kaffeine. That might be difficult if Kaffeine somehow stays
resident or has some Quick start facility (like kdeinit and stuff).
Check ps output and use kill. At least, closing the user's session
is enough (if that plugin isn't run by the desktop manager, then I'd
suggest to kill X in order to close the DM's session as well).

-hwh
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Changing libaries

2007-05-25 Thread Boyd Stephen Smith Jr.
On Friday 25 May 2007, Florian Philipp [EMAIL PROTECTED] wrote 
about '[gentoo-user] Changing libaries':
 Another user had some trouble because Kaffeine couldn't play .ogg-files.
 In the end we found out that he activated the necessary USE-flag and
 re-emerged xine-lib but Kaffeine kept using the old lib which was still
 in RAM, I presume.

 Naturally, the problem was solved when he rebooted but I wonder how I
 could achieve the effect without rebooting.

For most applications you simply have to restart the application.  Next 
time the process starts perform dynamic linking, which accesses the 
filesystem and picks up the new library.

KDE applications started under the standard KDE environment have dynamic 
linking done for them by kdeinit though, so shared libraries stay loaded 
(but possibly swapped out) persist for as long as the kdeinit process 
lives.  So, you'll have to restart the kdeinit process, this usually 
involves logging out and logging back in, although kdm might (I don't 
think so, but might) require you to restart X.

Alternatively, you might be able to get around this by prelinking, or at 
least telling KDE that things are prelinked (even if they aren't) I 
believe kdeinit drops this behavior if KDE_IS_PRELINKED=1 or 
KDE_IS_PRELINKED=true is in the environment when kdeinit starts.

You can NOT simply kill the kdeinit process unless you want KDE 
applications started by it to start mysteriously dying.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


RE: [gentoo-user] Changing libaries

2007-05-25 Thread burlingk


 -Original Message-
 From: Florian Philipp [mailto:[EMAIL PROTECTED] 
 Sent: Friday, May 25, 2007 10:20 PM
 To: gentoo-user@lists.gentoo.org
 Subject: [gentoo-user] Changing libaries
 
 
 Hi!
 
 I've already asked this question on gentoo-user-de but I've 
 got no - let's 
 say - convenient answer. Therefore I'll try my luck here:
 
 Another user had some trouble because Kaffeine couldn't play 
 .ogg-files. In the end we found out that he activated the 
 necessary USE-flag and 
 re-emerged xine-lib but Kaffeine kept using the old lib which 
 was still in 
 RAM, I presume.
 
 Naturally, the problem was solved when he rebooted but I 
 wonder how I could 
 achieve the effect without rebooting.
 
 Thanks in advance
 
 Florian Philipp 

Try running as root,
~# ldconfig

--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] Semi OT: 64 bit processors, the Linux Kernel, and x86 Gentoo.

2007-05-25 Thread burlingk


 -Original Message-
 From: Peter Alfredsen [mailto:[EMAIL PROTECTED] 
 Sent: Friday, May 25, 2007 10:55 PM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Semi OT: 64 bit processors, the 
 Linux Kernel, and x86 Gentoo.
 
 
 On Friday 25 May 2007, [EMAIL PROTECTED] wrote:
  For instance,
  the reason that Blender is masked, is because it does 
 messed up things 
  to the save files in the AMD64 version.
 

http://www.blender.org/development/release-logs/blender-244/64-bits-supp
ort/
 ^Not anymore.


Has this migrated it's way to the portage tree yet?
I am not in a position to check. ^^;;
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Changing libaries

2007-05-25 Thread Florian Philipp
Am Freitag 25 Mai 2007 15:39 schrieb [EMAIL PROTECTED]:
  -Original Message-
  From: Florian Philipp [mailto:[EMAIL PROTECTED]
  Sent: Friday, May 25, 2007 10:20 PM
  To: gentoo-user@lists.gentoo.org
  Subject: [gentoo-user] Changing libaries
 
 
  Hi!
 
  I've already asked this question on gentoo-user-de but I've
  got no - let's
  say - convenient answer. Therefore I'll try my luck here:
 
  Another user had some trouble because Kaffeine couldn't play
  .ogg-files. In the end we found out that he activated the
  necessary USE-flag and
  re-emerged xine-lib but Kaffeine kept using the old lib which
  was still in
  RAM, I presume.
 
  Naturally, the problem was solved when he rebooted but I
  wonder how I could
  achieve the effect without rebooting.
 
  Thanks in advance
 
  Florian Philipp

 Try running as root,
 ~# ldconfig

Thanks guys, I knew I could count on you!


pgpElUZwRzFD0.pgp
Description: PGP signature


Re: [gentoo-user] Semi OT: 64 bit processors, the Linux Kernel, and x86 Gentoo.

2007-05-25 Thread Peter Alfredsen
On Friday 25 May 2007, [EMAIL PROTECTED] wrote:
 For instance,
 the reason that Blender is masked, is because it does messed up things
 to the save files in the AMD64 version.

http://www.blender.org/development/release-logs/blender-244/64-bits-support/
^Not anymore.

-- 
/PA
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Copy/Paste Functionality in Konsole

2007-05-25 Thread mark
On Thu, 2007-05-31 at 10:52 -0400, Dan Cowsill wrote:
 I have just recently switched over to KDE and started using Konsole, and I 
 was 
 wondering something.
 
 I really like the copy/paste functionality you find in the Linux console and 
 in PuTTY where you just highlight the text you want to copy and when you 
 release the mouse button, it is copied.  Then, you can just right click to 
 paste it into the input line.
 
 How would I engineer such functionality in Konsole?
  
 ---
 Dan Cowsill
 http://www.danthehat.net/
 GnuPG Public Key: http://www.danthehat.net/wp-content/uploads/public.asc
You can do it with middle mouse buton.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Error starting kde with kernels above 2.6.18

2007-05-25 Thread Thiago Lüttig

when I start kde as root, everything works fine


On 5/24/07, Fabio A Correa [EMAIL PROTECTED] wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello Thiago,

Thiago Lüttig wrote:
 saying, it cannot contact DCop Server or connect to the X server. I


Could you please post the messages the console printed? Have you tried to
startx as another
user? As root? Could you please attach /var/log/Xorg.0.log and some info
on your hardware?


- --
Fabio A. Correa D.

Physics Dept, Universidad Nacional, Bogota, Colombia
[EMAIL PROTECTED]
[EMAIL PROTECTED] [EMAIL PROTECTED]
My webpage and OpenPGP key at http://facorread.150m.com
[EMAIL PROTECTED] is not working anymore!!!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGVf9lYOZCB4zf2uQRAtSVAJ4l51391wWOjfQA868+ZOoJR4athQCgw8E0
ENgvyDGO+KbR9xK72PIvc2E=
=/q0L
-END PGP SIGNATURE-
--
[EMAIL PROTECTED] mailing list





--
__

Atenciosamente,
Thiago Lüttig

MSN: [EMAIL PROTECTED]
ICQ:   194392373
__


Re: [gentoo-user] sharing portage directories when dual booting x86 and amd64

2007-05-25 Thread Allan Gottlieb
At Fri, 25 May 2007 11:32:48 +0200 Bo Ørsted Andresen [EMAIL PROTECTED] wrote:

 On Thursday 24 May 2007 23:42:11 Allan Gottlieb wrote:
 In particular can I share

  * tmp (PORTAGE_TMPDIR)

 If you ever compile the same package at the same time that may not be such a 
 good idea. Even if it works it may be confusing. Why not just make two 
 subdirs in the same place and use one as PORTAGE_TMPDIR for each system..?

How can that happen?  As I mentioned, I would be dual booting into
*either* x86 or amd64.  There is only one computer (my laptop)
involved; all filesystems are local.

Perhaps your suggestion of separate subdirs is better for clarity, but
I don't see how the problem you mentioned can occur in my situation.

thanks,
allan
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] which -march flag to pick for Intel Core 2 Duo in make.conf?

2007-05-25 Thread Andreas Claesson

On 5/25/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


 -Original Message-
 From: Randy Barlow [mailto:[EMAIL PROTECTED]

Snip

 If you are using a lot of memory in your computations, then
 the 64-bit environment will be much friendlier to you :)
 Also, if I understand correctly, you will get higher
 precision on floating point calculations (someone correct me
 if I am wrong here!)  I also believe that the 64 bit
 processors are able to perform more instructions per second
 on average when executing 64 bit code vs. 32 bit code if I am
 not mistaken...

I am not sure, but that makes sense.  If nothing else, things executed
directly usually run more smoothly than those who are run through
emulation.  64bit code on 64bit processor good...


There is no emulation involved when running 32bit code in either core2
nor amd64 processors. The difference when running in 32bit mode is
that some instructions are unavailable, you have a smaller number of
registers, and the registers are only 32bit.

More registers speed up most kind of code, 64bit registers speed up
64bit calculations, and the extra instructions are good for array
calculations and similar (more sse instructions for example).

The only bad thing with 64bit code is that the programs get bigger,
which may effect memory performance negatively. But if you have a lot
of memory then you will benefit from not needing any special
addressing modes.

Since you (Denis) are doing a lot of mathematical calculations you
will probably benefit from running in 64bit mode.
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] sharing portage directories when dual booting x86 and amd64

2007-05-25 Thread Roman Zimmermann
Am Freitag 25 Mai 2007 18:52 schrieb Allan Gottlieb wrote:
 As I mentioned, I would be dual booting into
 *either* x86 or amd64.  There is only one computer (my laptop)
 involved; all filesystems are local.

Since the two systems can never be booted simultanously you can AFAIK share 
all of those directories without problems. For DISTDIR this is especially 
useful to save download time...
I'd recommend to use separate LOGDIR so you're able do distinguish what 
happened in which system.
If you use ccache you'll probably want to separate those directories too, 
since the cache for one arch won't be usefull on the other arch.

Roman


pgpDEi24tf9Fj.pgp
Description: PGP signature


[gentoo-user] portage lags behind?

2007-05-25 Thread maxim wexler
Hi group,

I did #emerge --sync a couple of weeks ago, followed
by an update of portage. But seems every time I do $
emerge -pv some pkg it always references software
out-of-date by years sometimes. Two recent examples:
sdcc and ecasound. There are many more.

How do I tell portage to go for the latest stable pkg
without having to download the tarball and
compiling/installing it manually?

Maxim


   
Building
 a website is a piece of cake. Yahoo! Small Business gives you all the tools to 
get online.
http://smallbusiness.yahoo.com/webhosting 
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Error starting kde with kernels above 2.6.18

2007-05-25 Thread Thiago Lüttig

Man, when I start kde with a regular user, it takes the eternity to start,
and doesn't say any error message

On 5/25/07, Thiago Lüttig [EMAIL PROTECTED] wrote:


when I start kde as root, everything works fine


On 5/24/07, Fabio A Correa [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hello Thiago,

 Thiago Lüttig wrote:
  saying, it cannot contact DCop Server or connect to the X server. I


 Could you please post the messages the console printed? Have you tried
 to startx as another
 user? As root? Could you please attach /var/log/Xorg.0.log and some info
 on your hardware?


 - --
 Fabio A. Correa D.

 Physics Dept, Universidad Nacional, Bogota, Colombia
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]  [EMAIL PROTECTED]
 My webpage and OpenPGP key at http://facorread.150m.com
 [EMAIL PROTECTED] is not working anymore!!!
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.7 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iD8DBQFGVf9lYOZCB4zf2uQRAtSVAJ4l51391wWOjfQA868+ZOoJR4athQCgw8E0
 ENgvyDGO+KbR9xK72PIvc2E=
 =/q0L
 -END PGP SIGNATURE-
 --
 [EMAIL PROTECTED] mailing list




--
__

Atenciosamente,
Thiago Lüttig

MSN: [EMAIL PROTECTED]
ICQ:   194392373
__





--
__

Atenciosamente,
Thiago Lüttig

MSN: [EMAIL PROTECTED]
ICQ:   194392373
__


Re: [gentoo-user] Error starting kde with kernels above 2.6.18

2007-05-25 Thread Neil Bothwick
On Fri, 25 May 2007 13:49:44 -0300, Thiago Lüttig wrote:

 when I start kde as root, everything works fine

This sounds like a permissions problem, I've seen something like this
before. If so, the cure is

chown -R user: ~user/.kde/


-- 
Neil Bothwick

Bother, said Pooh as he farted in front of a badly placed candle


signature.asc
Description: PGP signature


Re: [gentoo-user] portage lags behind?

2007-05-25 Thread Neil Bothwick
On Fri, 25 May 2007 10:27:10 -0700 (PDT), maxim wexler wrote:

 I did #emerge --sync a couple of weeks ago, followed
 by an update of portage. But seems every time I do $
 emerge -pv some pkg it always references software
 out-of-date by years sometimes. Two recent examples:
 sdcc and ecasound. There are many more.

If you want the latest, the first thing to do is sync, othrwise you're
going to miss out on anything added in the last two weeks.

 How do I tell portage to go for the latest stable pkg
 without having to download the tarball and
 compiling/installing it manually?

Ebuilds are generally marked stable around a month after being added to
portage, so if you want the latest version of a program, you need to
emerge the testing (~arch) ebuild.


-- 
Neil Bothwick

April Fools! You're really in a holodeck simulation!


signature.asc
Description: PGP signature


Re: [gentoo-user] sharing portage directories when dual booting x86 and amd64

2007-05-25 Thread Allan Gottlieb
At Fri, 25 May 2007 19:24:41 +0200 Roman Zimmermann [EMAIL PROTECTED] wrote:

 Am Freitag 25 Mai 2007 18:52 schrieb Allan Gottlieb wrote:
 As I mentioned, I would be dual booting into
 *either* x86 or amd64.  There is only one computer (my laptop)
 involved; all filesystems are local.

 Since the two systems can never be booted simultanously you can AFAIK share 
 all of those directories without problems. For DISTDIR this is especially 
 useful to save download time...

Right

 I'd recommend to use separate LOGDIR so you're able do distinguish
 what happened in which system.

Good point and since the log for each compilation is separate, no
extra space will be involved.

thanks,
allan
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: two identical /etc/sudoers -- only one works

2007-05-25 Thread Christer Ekholm
Walter Dnes [EMAIL PROTECTED] writes:

 On Wed, May 23, 2007 at 06:14:53PM -0700, maxim wexler wrote
 Hi group,
 
 I connect to the web using
 
 $sudo /usr/sbin/pon isp 
 
 on one machine(2.6.20-gentoo-r6). On another
 machine(2.6.19-gentoo-r5), I get
 
 :sudo: can't open /etc/sudoers: Permission denied.


The message suggest that the process of cudo actually don~t have
permission to open the sudoers file.  Check that the sudo-program
(type sudo) is in fact owned by root, and has the setuid-bit set.

$ls -l `which sudo`
---s--x--x 1 root root 107240 2007-05-21 11:11 /usr/bin/sudo*
   ^ ^
   setuidroot

--
 Christer

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] which -march flag to pick for Intel Core 2 Duo in make.conf?

2007-05-25 Thread Denis

On 5/25/07, Andreas Claesson [EMAIL PROTECTED] wrote:

Since you (Denis) are doing a lot of mathematical calculations you
will probably benefit from running in 64bit mode.


I often need to run Monte Carlo simulations (in C) which involve a lot
of array storage and array scanning/searching operations...  I wonder
what the speed-up would be for those simulations if run under a 64-bit
mode.  Are there any requirements on how the simulations should be
programmed in order to take advantage of the 64-bit arch, or is that
automatically done by the GCC compiler and the kernel?
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] portage lags behind?

2007-05-25 Thread b.n.
maxim wexler ha scritto:
 How do I tell portage to go for the latest stable pkg
 without having to download the tarball and
 compiling/installing it manually?

You probably want ebuilds for newer packages that are still not in
Portage. You can 1)file a request bug or 2)write an ebuild yourself for
the community.

Good luck,

m.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Semi OT: 64 bit processors, the Linux Kernel, and x86 Gentoo.

2007-05-25 Thread Peter Alfredsen
 http://www.blender.org/development/release-logs/blender-244/64-bits-supp
 ort/

  ^Not anymore.

 Has this migrated it's way to the portage tree yet?
 I am not in a position to check. ^^;;

Yes.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: two identical /etc/sudoers -- only one works

2007-05-25 Thread maxim wexler
 $ls -l `which sudo`
 ---s--x--x 1 root root 107240 2007-05-21 11:11
 /usr/bin/sudo*
^ ^
setuidroot
 
 --
  Christer

Thanks Christer, never saw that command before, but
like I told Walter, a listing for sudo is indeed:
---s--x--1 2 root root
  ^
Is this supposed to be a
one?

mw


 

Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: two identical /etc/sudoers -- only one works

2007-05-25 Thread Christer Ekholm

I was wrong. Sorry.

I realize now that this cannot be your problem, sudo tell you that it
is not setuid if it's not.

  $ sudo chmod -s sudo
  $ sudo ls
  sudo: must be setuid root


 Thanks Christer, never saw that command before, but
 like I told Walter, a listing for sudo is indeed:
 ---s--x--1 2 root root
   ^
 Is this supposed to be a
 one?

Did you type that line instead of cut'n paste?  If not, I fail to.
understand the 1 in ---s--x--1

If you ask about the first number directly after the permission
string, it is the number of hard links to that file. If it is other
than one it means that the file has an other name also, you can find
that by using -i to ls to show the inode-number, and then find the
other with find -inum

Example:

  $ pwd
  /usr/bin
  $ ls -li sudo
  8803772 ---s--x--x 2 root root 107240 2007-05-21 11:11 sudo*
  $ find . -inum 8803772
  ./sudo
  ./foo
  $ ls -li foo
  8803772 ---s--x--x 2 root root 107240 2007-05-21 11:11 foo*


Unfortunately I do not know what's wrong, try to strace sudo to see
what it does, remember that you have to bee root to strace a setuid
program. Look for

open(/etc/sudoers, O_RDONLY)  = 4

The 4 is what filedescriptor open returned, and is -1 for a failed
open. 


--
 Christer

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: two identical /etc/sudoers -- only one works

2007-05-25 Thread maxim wexler
 Example:
 
   $ pwd
   /usr/bin
   $ ls -li sudo
   8803772 ---s--x--x 2 root root 107240 2007-05-21
 11:11 sudo*
   $ find . -inum 8803772
   ./sudo
   ./foo
   $ ls -li foo
   8803772 ---s--x--x 2 root root 107240 2007-05-21
 11:11 foo*
 
 
 Unfortunately I do not know what's wrong, try to
 strace sudo to see
 what it does, remember that you have to bee root to
 strace a setuid
 program. Look for
 
 open(/etc/sudoers, O_RDONLY)  = 4
 
 The 4 is what filedescriptor open returned, and is
 -1 for a failed
 open. 
 

strace:
...
open(/etc/sudoers, O_RDONLY)  = -1 EACCES
(Permission denied)
geteuid32() = 1
setresuid32(0, 0, 0)= 0
write(2, sudo: , 6sudo: )   = 6
write(2, can\'t open /etc/sudoers, 23can't open
/etc/sudoers) = 23
write(2, : , 2: )   = 2
write(2, Permission denied\n, 18Permission denied
) = 18
...

[EMAIL PROTECTED] /usr/bin $ ls -li sudo
314108 ---s--x--x 2 root root 106160 Apr 11 09:26 sudo
[EMAIL PROTECTED] /usr/bin $ find . -inum 314108
./sudo
./sudoedit
[EMAIL PROTECTED] /usr/bin $ ls -li sudoedit
314108 ---s--x--x 2 root root 106160 Apr 11 09:26
sudoedit
[EMAIL PROTECTED] /usr/bin $

Just noticed this:

[EMAIL PROTECTED] ~ $ ls /
ls: cannot open directory /: Permission denied
[EMAIL PROTECTED] ~ $

picky can't even mount a floppy or write to it!

But picky's fstab is identical to heathen's. 

Only thing I can think of: recently had to do emerge
--metadata on account of CacheCorruption error.




 

Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html
-- 
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] portage lags behind?

2007-05-25 Thread burlingk


 -Original Message-
 From: b.n. [mailto:[EMAIL PROTECTED] 
 Sent: Saturday, May 26, 2007 6:28 AM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] portage lags behind?
 
 
 maxim wexler ha scritto:
  How do I tell portage to go for the latest stable pkg
  without having to download the tarball and compiling/installing it 
  manually?
 
 You probably want ebuilds for newer packages that are still 
 not in Portage. You can 1)file a request bug or 2)write an 
 ebuild yourself for the community.
 
 Good luck,
 
 m.

Also, there are sometimes packages that the last stable version was
just that old.

There are also ocasionally packages that require multiple versions to be
installed in order to achieve what we want.  How many versions of glib
are there?

Also, from what I have seen, portage often times has the most recent
builds of the packages that change most.  :P

That is one of my main reasons for moving towards Gentoo to start with.
^_^  I like current packages. ^_^
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: two identical /etc/sudoers -- only one works

2007-05-25 Thread Boyd Stephen Smith Jr.
On Friday 25 May 2007, maxim wexler [EMAIL PROTECTED] wrote about 'Re: 
[gentoo-user]  Re: two identical /etc/sudoers -- only one works':
 strace:
 ...
 open(/etc/sudoers, O_RDONLY)  = -1 EACCES
 (Permission denied)

FS corruption.  Check dmesg for any errors, but fsck the filesystem 
containing this file ASAP even if you don't see anything.

I'd seen the same behavior (albeit on a different file) on some of my 
reiserfs filesystems -- files that no one, including root, could access 
due to Permission denied.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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