Re: [gentoo-user] gcc build fails during emerge system on new 64-bit install

2010-06-24 Thread Stroller


On 24 Jun 2010, at 00:33, Walter Dnes wrote:

... The MSI motherboard has
PS/2 ports (YES!!!) so I don't have to tearfully throw away my genuine
IBM PS/2 clickety-clack keyboard.


Your motherboard doesn't need native PS2 ports: 
http://www.ledshoppe.com/Product/com/CA4036.htm

Stroller.




Re: [gentoo-user] ATI RV710/730

2010-06-24 Thread Daniel Troeder
On 06/23/2010 11:47 PM, Mick wrote:
 On Wednesday 23 June 2010 09:08:02 Daniel Troeder wrote:
 On 06/07/2010 01:33 AM, James wrote:
 Hello,

 I have this ati card. I'm having trouble finding a stable
 ati-driver + xorg-server combination that will compile.


 Any recommendations as to open source drivers or getting ati-drivers
 happy with 9.x or 10.x is most welcome. I read a lot of bugs but
 not much clear on how to proceed


 James

 x11-base/xorg-server-1.7.6
 x11-drivers/xf86-video-ati-6.12.6
 x11-drivers/ati-drivers-10.6

 both drivers work well. to install both you have to make drm a module
 and not load radeon with kms. switching is possible if you shutdown X
 but might require a reboot (it doesn't, but you lack hw-accel. if you
 don't).
 
 Hmm interesting!  How do the ati drivers perform Vs xorg?
 
ATI: 3D is very good - a must for gaming, 2D is SLOW! (thou they did
something about that  with 10.6 - experience differs for users - its
said that window management is fast now, but video still has tearing
effect [also my exp.])
Latest driver (10.6) work with xorg-server-1.7.x only and kernel module
has problems with =2.6.34 (exp. differ).

Xorg: 3D is basic and very slow but works (the newer the driver/server
the better, development is VERY fast), 2D is a dream (very fast, no
tearing with video)!
Driver is released with Xorg - so work always with newest Xorg, kernel
module is in-kernel - work always with newest kernel :) Driver supports
both KMS and user space MS.

Bye,
Daniel

-- 
PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887op=get
# gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] core i5

2010-06-24 Thread Stefan G. Weichinger
Am 24.06.2010 05:04, schrieb kashani:

 That's works. :-) I was doing a fair amount of rpm building, svn to
 git with large trees, kickstart, Mysql, and Puppet work at a job a few
 months ago which was hitting the host fairly hard. Between the above and
 Outlook getting an extra drive to isolate the host OS from the VMs was a
 requirement. Much smoother after that.

I always change my mind between having the VM-files on the local RAID1
or store them in the RAID1 in the basement and mount it via NFSv4 ...
much RAM in the host helps in any way.



[gentoo-user] who wants to downgrade my gcc ?

2010-06-24 Thread Helmut Jarausch
Hi,

this one is puzzling me.
I have gcc-4.4.4-r1 installed here.
emerge -vp sys-devel/gcc:4.4 would re-install this.
But,
an emerge --update --newuse --deep --tree  --with-bdeps y @system @world
wants to downgrade it to gcc-4.4.3-r3

How can I find out, why?

Many thanks for a hint,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] who wants to downgrade my gcc ?

2010-06-24 Thread Thomas U. Nockmann
On Thursday 24 June 2010 Helmut Jarausch wrote:
[...]

Hello,

 But,
 an emerge --update --newuse --deep --tree  --with-bdeps y @system
 @world wants to downgrade it to gcc-4.4.3-r3
 
 How can I find out, why?

What does `equery d gcc` say?


\|||/
`@|@`thomas
  -





Re: [gentoo-user] who wants to downgrade my gcc ?

2010-06-24 Thread Dale

Helmut Jarausch wrote:

Hi,

this one is puzzling me.
I have gcc-4.4.4-r1 installed here.
emerge -vp sys-devel/gcc:4.4 would re-install this.
But,
an emerge --update --newuse --deep --tree  --with-bdeps y @system @world
wants to downgrade it to gcc-4.4.3-r3

How can I find out, why?

Many thanks for a hint,
Helmut.

   



Adding the -t option may help.

Dale

:-)  :-)



Re: [gentoo-user] who wants to downgrade my gcc ?

2010-06-24 Thread Dale

Helmut Jarausch wrote:

Hi,

this one is puzzling me.
I have gcc-4.4.4-r1 installed here.
emerge -vp sys-devel/gcc:4.4 would re-install this.
But,
an emerge --update --newuse --deep --tree  --with-bdeps y @system @world
wants to downgrade it to gcc-4.4.3-r3

How can I find out, why?

Many thanks for a hint,
Helmut.





Adding the -t option may help.

Dale

:-)  :-)


Never mind.  I saw it in there right after I hit send.  No clue why or how.

Dale

:-)  :-)



Re: [gentoo-user] Re: Failed to emerge xulrunner-1.9.2.4

2010-06-24 Thread Chen Huan
thanks, it is the problem

2010/6/23 walt w41...@gmail.com

 On 06/22/2010 10:01 PM, Chen Huan wrote:

 When I emerge xulrunner-1.9.2.4 and mozilla-firefox-3.6.4,xulrunner cannot
 be emerged, here is the error message:

 ./../../dist/bin/js: /usr/lib/libstdc++.so.6: version `CXXABI_1.3' not
 found (required by ./../../dist/bin/js)
 ./../../dist/bin/js: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4' not
 found (required by ./../../dist/bin/js)


  Portage 2.1.8.3 (default/linux/x86/10.0/desktop/gnome, gcc-4.3.4,


 This is a little confusing unless you've been through it before.  I expect
 that
 portage has recently installed gcc-4.4.3 (or 4.4.4 on ~x86) so you now have
 (at
 least) two versions of gcc on your machine, but you are still using the
 older
 gcc-4.3.4.

 The point is that you now have (at least) two versions of libstdc++.so.6
 because
 each version of gcc installs its own version of libstdc++.

 Somehow the xulrunner build is trying to use both versions of
 libstdc++.so.6
 (I don't know why, but it probably involves .la files, as usual) so I
 suggest
 that you switch to the new gcc-4.4.3 (or 4.4.4) like this:

 #gcc-config --list-profiles
 [1] i686-pc-linux-gnu-4.3.4
 [2] i686-pc-linux-gnu-4.4.3 *- (I'm already using the newer
 version)

 #gcc-config 1
  * Switching native-compiler to i686-pc-linux-gnu-4.3.4 ...

 #gcc-config 2
  * Switching native-compiler to i686-pc-linux-gnu-4.4.3 ...

 After you switch, you probably should run
 #fix_libtool_files.sh 4.3.4
  * Scanning libtool files for hardcoded gcc library paths...
 cat: ld.so.conf.d/*.conf: No such file or directory
  *   [1/5] Scanning /lib ...
  *   [2/5] Scanning /usr/lib ...
  *   [3/5] Scanning /usr/games/lib ...
  *   [4/5] Scanning /usr/i686-pc-linux-gnu/lib ...
  *   [5/5] Scanning /usr/local/lib ...





Re: [gentoo-user] who wants to downgrade my gcc ?

2010-06-24 Thread Neil Bothwick
On Thu, 24 Jun 2010 11:57:55 +0200, Thomas U. Nockmann wrote:

  But,
  an emerge --update --newuse --deep --tree  --with-bdeps y @system
  @world wants to downgrade it to gcc-4.4.3-r3
  
  How can I find out, why?  
 
 What does `equery d gcc` say?

What does emerge --update --newuse --deep --tree  --with-bdeps y @world

actually say?


-- 
Neil Bothwick

What you don't know can hurt you, only you won't know it.


signature.asc
Description: PGP signature


Re: [gentoo-user] who wants to downgrade my gcc ?

2010-06-24 Thread Dale

Neil Bothwick wrote:

On Thu, 24 Jun 2010 11:57:55 +0200, Thomas U. Nockmann wrote:

   

But,
an emerge --update --newuse --deep --tree  --with-bdeps y @system
@world wants to downgrade it to gcc-4.4.3-r3

How can I find out, why?
   

What does `equery d gcc` say?
 

What does emerge --update --newuse --deep --tree  --with-bdeps y @world

actually say?

   


I'm not sure this is correct but I have to ask this.  Since gcc is a 
system package, it wouldn't try to upgrade gcc even if one was available 
would it?  I guess if something in world just had to have that or a 
newer version then it would pull the newer gcc in but otherwise it would 
skip it right?


Dale

:-)  :-)



Re: [gentoo-user] Questions re swap and hibernate interaction on 8 gig machine

2010-06-24 Thread Frank Steinmetzger
Am Dienstag, 22. Juni 2010 schrieb Walter Dnes:
   I just got a brand new custom-built 8 gig machine.  [...]

   Anyhow, I have 8 gigs of ram on the sytem (will obviously be 64-bit
 Gentoo) and I want to know how much swap I need.  The general rule of
 thumb is twice the ram.  In this case, it would be 16 gigs.  I think
 that it may not need swap when up, unless I do some heavy duty stuff.
 My main concern about a swap partition is how much I need for
 hibernate-to-disk to work.  Is there a rule about this, or should I
 simply allocate 16 gigs out of my terabyte drive, and play it safe?


It of course depends on your usage profile. I have a laptop with 3 Gigs of RAM 
without swap. I don’t do really fancy stuff on them. Noteworthy things: 
Blender, X-Plane (flight sim), Hugin, some small VMs and of course the 
occasional compiling. Mostly, I do only one of those at one time. I even have 
set up a ramdisk in /var/tmp/portage for emerge. Except for kdelibs its 1.5 
Gigs are more than enough. And if the ramdisk is empty, the free space is used 
for RAM.
-- 
Gruß | Greetings | Qapla'
The first time you’ll get a Microsoft product that doesn’t suck
will be the day they start producing vacuum cleaners.


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


[gentoo-user] Grub2 takes very long to make config or install

2010-06-24 Thread Matthias Fechner

Hi,

I followed now the wiki page:
http://en.gentoo-wiki.com/wiki/Grub2

At the step to create the config file with:
grub-mkconfig -o /boot/grub/grub.cfg

and install grub2 with:
grub-install /dev/sda

it needs several hours to complete each of the commands. Is this normal?

Bye,
Matthias

--
Programming today is a race between software engineers striving to 
build bigger and better idiot-proof programs, and the universe trying to 
produce bigger and better idiots. So far, the universe is winning. -- 
Rich Cook




Re: [gentoo-user] Grub2 takes very long to make config or install

2010-06-24 Thread Alex Schuster
Matthias Fechner writes:

 I followed now the wiki page:
 http://en.gentoo-wiki.com/wiki/Grub2

Down again.

 At the step to create the config file with:
 grub-mkconfig -o /boot/grub/grub.cfg
 
 and install grub2 with:
 grub-install /dev/sda
 
 it needs several hours to complete each of the commands. Is this
 normal?

No.




Sorry, I have no idea why this happens. I used grub only once, but at 
least I know it it did not take hours, it was about 1-2 seconds, or maybe 
even less, I did not stop the time :)
Is there something in syslog when you run this, or are the -v arguments 
that would make the process more verbose?

The old grub sometimes paused for around a minute because it searched for 
the floppy, the --no-floppy switch speeded this up.

Wonko



Re: [gentoo-user] who wants to downgrade my gcc ?

2010-06-24 Thread Neil Bothwick
On Thu, 24 Jun 2010 07:46:59 -0500, Dale wrote:

  What does emerge --update --newuse --deep --tree  --with-bdeps y
  @world
 
  actually say?

 I'm not sure this is correct but I have to ask this.  Since gcc is a 
 system package, it wouldn't try to upgrade gcc even if one was
 available would it?  I guess if something in world just had to have
 that or a newer version then it would pull the newer gcc in but
 otherwise it would skip it right?

@world includes @system. But the problem is not that emerge world is
skipping it but that it wants to downgrade gcc:4.4.


-- 
Neil Bothwick

Frog philosophy: Time's fun when you're having flies.


signature.asc
Description: PGP signature


Re: [gentoo-user] who wants to downgrade my gcc ?

2010-06-24 Thread Alan McKinnon
On Thursday 24 June 2010 15:54:33 Neil Bothwick wrote:
 On Thu, 24 Jun 2010 07:46:59 -0500, Dale wrote:
   What does emerge --update --newuse --deep --tree  --with-bdeps y
   @world
   
   actually say?
  
  I'm not sure this is correct but I have to ask this.  Since gcc is a
  system package, it wouldn't try to upgrade gcc even if one was
  available would it?  I guess if something in world just had to have
  that or a newer version then it would pull the newer gcc in but
  otherwise it would skip it right?
 
 @world includes @system. But the problem is not that emerge world is
 skipping it but that it wants to downgrade gcc:4.4.

So obviously he has 

sys-devel-gcc-4.4.4

or similar in a BDEPEND somewhere

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] who wants to downgrade my gcc ?

2010-06-24 Thread Dale

Neil Bothwick wrote:

On Thu, 24 Jun 2010 07:46:59 -0500, Dale wrote:

   

What does emerge --update --newuse --deep --tree  --with-bdeps y
@world

actually say?
   
   

I'm not sure this is correct but I have to ask this.  Since gcc is a
system package, it wouldn't try to upgrade gcc even if one was
available would it?  I guess if something in world just had to have
that or a newer version then it would pull the newer gcc in but
otherwise it would skip it right?
 

@world includes @system. But the problem is not that emerge world is
skipping it but that it wants to downgrade gcc:4.4.
   


From my understanding, world includes @system but @world does not.  I 
know here on my rig, I run emerge -uvDNa world and it updates everything 
installed including deps and the system packages.  If I run @world, it 
skips the system packages.  At least that is the last time I tried it 
which was not to long ago.


One reason I remember this is because of the discussion I had with the 
devs on -dev.  That is why @system is in /var/lib/portage/world_sets.  I 
noticed a few weeks ago that there are a couple others added to it as 
well.  The devs did it that way so that when folks like me upgrade the 
old fashioned way and just use world instead of @system and @world.


Has this changed?

Dale

:-)  :-)



Re: [gentoo-user] who wants to downgrade my gcc ?

2010-06-24 Thread Neil Bothwick
On Thu, 24 Jun 2010 16:12:39 +0200, Alan McKinnon wrote:

  @world includes @system. But the problem is not that emerge world is
  skipping it but that it wants to downgrade gcc:4.4.  
 
 So obviously he has 
 
 sys-devel-gcc-4.4.4
 
 or similar in a BDEPEND somewhere

Which is why the actual output fro emerge --tree is important.


-- 
Neil Bothwick

Sacred cows make great hamburgers.


signature.asc
Description: PGP signature


Re: [gentoo-user] who wants to downgrade my gcc ?

2010-06-24 Thread Neil Bothwick
On Thu, 24 Jun 2010 09:22:56 -0500, Dale wrote:

  @world includes @system. But the problem is not that emerge world is
  skipping it but that it wants to downgrade gcc:4.4.
   
 
  From my understanding, world includes @system but @world does not.  I 
 know here on my rig, I run emerge -uvDNa world and it updates
 everything installed including deps and the system packages.  If I run
 @world, it skips the system packages.  At least that is the last time I
 tried it which was not to long ago.
 
 One reason I remember this is because of the discussion I had with the 
 devs on -dev.  That is why @system is in /var/lib/portage/world_sets.
 I noticed a few weeks ago that there are a couple others added to it as 
 well.  The devs did it that way so that when folks like me upgrade the 
 old fashioned way and just use world instead of @system and @world.
 
 Has this changed?

No, the world_sets file still includes @system by default, which is why
@world includes @system.

The additions are from when you emerged sets, which adds then to
world_sets.


-- 
Neil Bothwick

Puritanism: The haunting fear that someone, somewhere may be happy.


signature.asc
Description: PGP signature


Re: [gentoo-user] who wants to downgrade my gcc ?

2010-06-24 Thread Helmut Jarausch
On 24 Jun, Neil Bothwick wrote:
 On Thu, 24 Jun 2010 11:57:55 +0200, Thomas U. Nockmann wrote:
 
  But,
  an emerge --update --newuse --deep --tree  --with-bdeps y @system
  @world wants to downgrade it to gcc-4.4.3-r3
  
  How can I find out, why?  
 
 What does `equery d gcc` say?
 
 What does emerge --update --newuse --deep --tree  --with-bdeps y @world
 
 actually say?
 

Among many other things
[ebuild UD]sys-devel/gcc-4.4.3-r3 [4.4.4-r1]

I think Thomas' hint helped a bit
equery d gcc shows one suspicious line
dev-java/gcj-jdk-4.4.3-r1 (~sys-devel/gcc-4.4.3[gcj])

where dev-java/gcj-jdk-4.4.3-r1 comes from the java-overlay.
This, in turn, has been pulled in by dev-java/icedtea-6.1.8.0

This dev-java/icedtea-6.1.8.0 from the java-overlay.
There seems to be no dev-java/gcj-jdk for gcc(gcj) 4.4.4

I have removed java-overlay from /etc/make.conf and rebuilt icedtea.
It's still compiling but I think this solves it.

Many thanks for all who helped me,
Helmut.


Thanks for solving that mystery,
Helmut.




Re: [gentoo-user] Grub2 takes very long to make config or install

2010-06-24 Thread Matthias Fechner

Hi,

Am 24.06.10 15:48, schrieb Alex Schuster:

The old grub sometimes paused for around a minute because it searched for
the floppy, the --no-floppy switch speeded this up.


hm, that is a really good point, I found in dmesg in in the logfile, 
tones of the following lines:

Jun 24 06:54:42 idefix-pc kernel: end_request: I/O error, dev fd0, sector 0
Jun 24 06:54:54 idefix-pc kernel: end_request: I/O error, dev fd0, sector 0
Jun 24 06:55:06 idefix-pc kernel: end_request: I/O error, dev fd0, sector 0
Jun 24 06:55:19 idefix-pc kernel: end_request: I/O error, dev fd0, sector 0
Jun 24 06:55:19 idefix-pc kernel: Buffer I/O error on device fd0, 
logical block 0


So it searches on the floppy and seems not to stop here after many hours 
passed.


Regarding the grub-mkconfig man page there is no option available to 
skip floppy check.
I will try at home if I can speed up the installation procedure with 
--no-floppy.


Thanks for the tip.

Bye,
Matthias

--
Programming today is a race between software engineers striving to 
build bigger and better idiot-proof programs, and the universe trying to 
produce bigger and better idiots. So far, the universe is winning. -- 
Rich Cook




Re: [gentoo-user] unable to drive the VGA output

2010-06-24 Thread Matthias Krebs
Am Donnerstag 24 Juni 2010, 01:14:44 schrieb Allan Gottlieb:
 Laptop:   dell E6510
 Gentoo:   ~amd64
 Graphics: nvidia VVS 3100M
 
 I am unable to drive the VGA output.  Symptoms include
 
 * Executing xrandr does not mention LVDS or VGA
   (and using --output VGA gives a warning that VGA doesn't exist)
try with default like :
xrandr --output default --mode 1280x1024

xrandr without options show the available resolutions, second line shows the 
output names, like DVI-0 connected or default connected. on my one box 
with the nvidia driver i have default connected
 * Pushing Fn-F8 produces a p (the keycap of f8 shows in blue a picture
   of a laptop and a monitor) instead of showing the screen on the other
   display.
 
 The xorg.conf file generated by nvidia-xconfig (below)  is fairly simple.
 I just added the module section at the end.
 
 Any help would be appreciated.
 
 allan
 
 
 
 # nvidia-xconfig: X configuration file generated by nvidia-xconfig
 # nvidia-xconfig:  version 1.0  (buildmeis...@builder58)  Thu Apr 22
 20:35:23 PDT 2010
 
 Section ServerLayout
 Identifier Layout0
 Screen  0  Screen0
 InputDeviceKeyboard0 CoreKeyboard
 InputDeviceMouse0 CorePointer
 EndSection
 
 Section Files
 EndSection
 
 Section InputDevice
 # generated from data in /etc/conf.d/gpm
 Identifier Mouse0
 Driver mouse
 Option Protocol
 Option Device /dev/input/mice
 Option Emulate3Buttons no
 Option ZAxisMapping 4 5
 EndSection
 
 Section InputDevice
 # generated from default
 Identifier Keyboard0
 Driver kbd
 EndSection
 
 Section Monitor
 Identifier Monitor0
 VendorName Unknown
 ModelName  Unknown
 HorizSync   28.0 - 33.0
 VertRefresh 43.0 - 72.0
 Option DPMS
 EndSection
 
 Section Device
 Identifier Device0
 Driver nvidia
 VendorName NVIDIA Corporation
 EndSection
 
 Section Screen
 Identifier Screen0
 Device Device0
 MonitorMonitor0
 DefaultDepth24
 SubSection Display
 Depth   24
 EndSubSection
 EndSection
 
 Section Module
 # Load dri
 load glx
 EndSection




Re: [gentoo-user] unable to drive the VGA output

2010-06-24 Thread Allan Gottlieb
At Thu, 24 Jun 2010 20:02:13 +0200 Matthias Krebs matthias.kr...@gmail.com 
wrote:

 Am Donnerstag 24 Juni 2010, 01:14:44 schrieb Allan Gottlieb:
 Laptop:   dell E6510
 Gentoo:   ~amd64
 Graphics: nvidia VVS 3100M
 
 I am unable to drive the VGA output.  Symptoms include
 
 * Executing xrandr does not mention LVDS or VGA
   (and using --output VGA gives a warning that VGA doesn't exist)
 try with default like :
 xrandr --output default --mode 1280x1024

This works and permits me to change the resolution of the display.

 xrandr without options show the available resolutions, second line shows the 
 output names, like DVI-0 connected or default connected. on my one box 
 with the nvidia driver i have default connected

Right.  I just have default connected as well.
Do you know how to enable DVI-0 connected?

Your msg encourages me to search documentation about the nvidia driver.

thanks,
allan



Re: [gentoo-user] ATI RV710/730

2010-06-24 Thread Mick
On Thursday 24 June 2010 09:22:07 Daniel Troeder wrote:
 On 06/23/2010 11:47 PM, Mick wrote:
  On Wednesday 23 June 2010 09:08:02 Daniel Troeder wrote:
  On 06/07/2010 01:33 AM, James wrote:
  Hello,
 
  I have this ati card. I'm having trouble finding a stable
  ati-driver + xorg-server combination that will compile.
 
 
  Any recommendations as to open source drivers or getting ati-drivers
  happy with 9.x or 10.x is most welcome. I read a lot of bugs but
  not much clear on how to proceed
 
 
  James
 
  x11-base/xorg-server-1.7.6
  x11-drivers/xf86-video-ati-6.12.6
  x11-drivers/ati-drivers-10.6
 
  both drivers work well. to install both you have to make drm a module
  and not load radeon with kms. switching is possible if you shutdown X
  but might require a reboot (it doesn't, but you lack hw-accel. if you
  don't).
 
  Hmm interesting!  How do the ati drivers perform Vs xorg?
 
 ATI: 3D is very good - a must for gaming, 2D is SLOW! (thou they did
 something about that  with 10.6 - experience differs for users - its
 said that window management is fast now, but video still has tearing
 effect [also my exp.])
 Latest driver (10.6) work with xorg-server-1.7.x only and kernel module
 has problems with =2.6.34 (exp. differ).
 
 Xorg: 3D is basic and very slow but works (the newer the driver/server
 the better, development is VERY fast), 2D is a dream (very fast, no
 tearing with video)!
 Driver is released with Xorg - so work always with newest Xorg, kernel
 module is in-kernel - work always with newest kernel :) Driver supports
 both KMS and user space MS.

Thanks Daniel!  I'm using Xorg driver with KMS and it seems that things are 
only going to get better if I wait for a while.  :-)

-- 
Regards,
Mick


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


Re: [gentoo-user] gcc build fails during emerge system on new 64-bit install

2010-06-24 Thread Mick
On Thursday 24 June 2010 00:33:24 Walter Dnes wrote:
   This is my first attempt at 64-bit mode.  I have a shiny new Intel i3
 with 8 gigs ram on an MSI motherboard.  I got it custom-built locally in
 north Toronto, rather than ordering from Dell.  The MSI motherboard has
 PS/2 ports (YES!!!) so I don't have to tearfully throw away my genuine
 IBM PS/2 clickety-clack keyboard.  I selected the profile...
 
 default/linux/amd64/10.0/no-multilib
 
 ...to go whole-hog 64-bit.  Does leaving IA32_EMULATION on cause a
 problem?

I thought that you can't have IA32_emulation without multilib ... 

Is there a reason why you don't go for a usual desktop profile with multilib?  
I'll repeat the advice I was given in this list sometime around last Christmas 
(but can't find the thread now): you're bound to find some pesky application 
which is only available in 32bit and then you'll curse for having to 
reinstall.

 #
 # Executable file formats / Emulations
 #
 CONFIG_BINFMT_ELF=y
 CONFIG_COMPAT_BINFMT_ELF=y
 CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
 # CONFIG_HAVE_AOUT is not set
 CONFIG_BINFMT_MISC=y
 CONFIG_IA32_EMULATION=y
 # CONFIG_IA32_AOUT is not set
 CONFIG_COMPAT=y
 CONFIG_COMPAT_FOR_U64_ALIGNMENT=y
 CONFIG_SYSVIPC_COMPAT=y
 CONFIG_NET=y
 CONFIG_COMPAT_NETLINK_MESSAGES=y
 
   I've attached the tail-end of the build log file of gcc-4.4.3-r2, as
 well as output from emerge --info and emerge -pqv.  I have a quite
 conservative make.conf.  Any ideas about the problem, or even better, a
 solution?

Have you tried setting -j1 and trying emerging it once more?
-- 
Regards,
Mick


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


Re: [gentoo-user] unable to drive the VGA output (Solved)

2010-06-24 Thread Allan Gottlieb
At Thu, 24 Jun 2010 14:14:47 -0400 Allan Gottlieb gottl...@nyu.edu wrote:

 At Thu, 24 Jun 2010 20:02:13 +0200 Matthias Krebs matthias.kr...@gmail.com 
 wrote:

 Am Donnerstag 24 Juni 2010, 01:14:44 schrieb Allan Gottlieb:
 Laptop:   dell E6510
 Gentoo:   ~amd64
 Graphics: nvidia VVS 3100M
 
 I am unable to drive the VGA output.  Symptoms include
 
 * Executing xrandr does not mention LVDS or VGA
   (and using --output VGA gives a warning that VGA doesn't exist)
 try with default like :
 xrandr --output default --mode 1280x1024

 This works and permits me to change the resolution of the display.

 xrandr without options show the available resolutions, second line shows the 
 output names, like DVI-0 connected or default connected. on my one box 
 with the nvidia driver i have default connected

 Right.  I just have default connected as well.
 Do you know how to enable DVI-0 connected?

 Your msg encourages me to search documentation about the nvidia driver.

Bingo.  The one word soln is TwinView.  The documentation with the
nvidia driver explains everything.  In this version nvidia-settings
can be invoked to do all the various settings.

thanks again,
allan



[gentoo-user] xorg segfaults if I have an encrypted volume mounted

2010-06-24 Thread Remy Blank
xorg started segfaulting here on startup, at the point where it should
detect input devices:

[  1198.330] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[  1198.330] (II) AIGLX: enabled GLX_INTEL_swap_event
[  1198.330] (II) AIGLX: enabled GLX_SGI_make_current_read
[  1198.330] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer
objects
[  1198.330] (II) AIGLX: Loaded and initialized /usr/lib/dri/i965_dri.so
[  1198.330] (II) GLX: Initialized DRI2 GL provider for screen 0
[  1198.331] (II) intel(0): Setting screen physical size to 507 x 317
[  1198.437]
Backtrace:
[  1198.437] 0: /usr/bin/X (xorg_backtrace+0x38) [0x80ae1c8]
[  1198.437] 1: /lib/libudev.so.0 (0xb782b000+0x33d2) [0xb782e3d2]
[  1198.437] Segmentation fault at address 0x7974702f
[  1198.437]
Fatal server error:
[  1198.437] Caught signal 11 (Segmentation fault). Server aborting

For reference, here's the same location in a good start:

[  2832.766] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[  2832.766] (II) AIGLX: enabled GLX_INTEL_swap_event
[  2832.766] (II) AIGLX: enabled GLX_SGI_make_current_read
[  2832.766] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer
objects
[  2832.766] (II) AIGLX: Loaded and initialized /usr/lib/dri/i965_dri.so
[  2832.766] (II) GLX: Initialized DRI2 GL provider for screen 0
[  2832.767] (II) intel(0): Setting screen physical size to 507 x 317
[  2832.906] (II) config/udev: Adding input device Video Bus
(/dev/input/event8)
[  2832.906] (**) Video Bus: Applying InputClass evdev keyboard catchall
[  2832.906] (**) Video Bus: Applying InputClass Keyboard-all
[  2832.906] (II) LoadModule: evdev
[  2832.906] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  2832.906] (II) Module evdev: vendor=X.Org Foundation
[  2832.906]compiled for 1.8.1.901, module version = 2.3.2
[  2832.907]Module class: X.Org XInput Driver
[  2832.907]ABI class: X.Org XInput driver, version 9.0

So it's segfaulting in libudev. And where it's getting weird is that it
only segfaults if I have one particular encrypted container mapped. The
container is a file mapped to /dev/loop0, opened with cryptsetup
luksOpen as /dev/mapper/crypt-morpheus.athome. If I luksClose it
(but keep /dev/loop0), xorg starts normally.

Strangely, there is another encrypted container /dev/mapper/crypt-swap
mapped to my swap partition, but that one doesn't seem to interfere.

This symptom has only started today, and I haven't updated anything
udev- or xorg-related. However, I reboot rarely, and I did reboot today,
so it may be due to an earlier update.

Some version info:

  xorg-server-1.8.1.901
  xf86-input-evdev-2.3.2
  udev-149
  gentoo-sources-2.6.31-r6

Has anyone seen anything similar? Any idea how I could either work
around the issue or debug it? I have tried strace but couldn't extract
any meaningful information.

-- Remy



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Questions re swap and hibernate interaction on 8 gig machine

2010-06-24 Thread Walter Dnes
On Thu, Jun 24, 2010 at 03:16:30PM +0200, Frank Steinmetzger wrote
 I even have set up a ramdisk in /var/tmp/portage for emerge. Except
 for kdelibs its 1.5 Gigs are more than enough. And if the ramdisk
 is empty, the free space is used for RAM.

  Why not use the built-in /dev/shm directly, and avoid the overhead of
a ramdisk?

waltd...@d530 ~ $ ll /dev/shm
total 0
drwxrwxrwt  2 root root40 Jun 21 14:46 .
drwxr-xr-x 14 root root 14080 Jun 23 17:10 ..
waltd...@d530 ~ $ echo Hello World  /dev/shm/greeting.txt
waltd...@d530 ~ $ ll /dev/shm
total 4
drwxrwxrwt  2 root root 60 Jun 24 21:01 .
drwxr-xr-x 14 root root  14080 Jun 23 17:10 ..
-rw-r--r--  1 waltdnes users12 Jun 24 21:01 greeting.txt
waltd...@d530 ~ $ cat /dev/shm/greeting.txt 
Hello World
waltd...@d530 ~ $ 

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] gcc build fails during emerge system on new 64-bit install

2010-06-24 Thread Walter Dnes
On Thu, Jun 24, 2010 at 07:28:14AM +0100, Stroller wrote
 On 24 Jun 2010, at 00:33, Walter Dnes wrote:
  ... The MSI motherboard has
  PS/2 ports (YES!!!) so I don't have to tearfully throw away my genuine
  IBM PS/2 clickety-clack keyboard.
 
 Your motherboard doesn't need native PS2 ports: 
 http://www.ledshoppe.com/Product/com/CA4036.htm

  H.  Interesting.  I assume that it's not your average passive
connector.  Those don't work.  2. USB Bus Powered probably means it
has keyboard emulation circuitry.

-- 
Walter Dnes waltd...@waltdnes.org



[gentoo-user] [SOLVED] gcc build fails during emerge system on new 64-bit install

2010-06-24 Thread Walter Dnes
On Thu, Jun 24, 2010 at 09:38:17PM +0100, Mick wrote

 I'll repeat the advice I was given in this list sometime around last
 Christmas (but can't find the thread now): you're bound to find some
 pesky application which is only available in 32bit and then you'll
 curse for having to reinstall.

  If anything, I'll install a VM to run it in.

 Have you tried setting -j1 and trying emerging it once more?

  I *ALWAYS* have -j1 in /etc/make.conf.  Anyways, it turned out to be
something completely different.  Whilst doing additional Google
searching, I stumbled across Foolproof Gentoo World Update Build Order
at http://foxpa.ws/tag/package-keywords/ and it was proof against this
fool, too G.  My problem was that the Gentoo install snapshot put in
gcc-4.3.4, and emerge --update world pulled in gcc-4.4.3-r2.  So far,
so good.  But after the first build, I forgot to gcc-config over to
4.4.3-r2 ... dohhh.

  Anyhow, after switching over, rebuilding gcc-4.4.3-r2, exiting,
logging back in, unmerging gcc-4.3.4, and rebuilding glibc, I
successfully emerged system and world.  I'm now emerging xorg-x11.

RANT
  Why on earth will xorg-x11 *NOT* build if I mask out various arabic,
cyrillic, ethiopic, and jis fonts?  My PC is *NOT* intended to be a
kiosk machine at UN headquarters fer-cryin-out-loud.
/RANT

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] [SOLVED] gcc build fails during emerge system on new 64-bit install

2010-06-24 Thread Dale

Walter Dnes wrote:

On Thu, Jun 24, 2010 at 09:38:17PM +0100, Mick wrote

   

I'll repeat the advice I was given in this list sometime around last
Christmas (but can't find the thread now): you're bound to find some
pesky application which is only available in 32bit and then you'll
curse for having to reinstall.
 

   If anything, I'll install a VM to run it in.

   

Have you tried setting -j1 and trying emerging it once more?
 

   I *ALWAYS* have -j1 in /etc/make.conf.  Anyways, it turned out to be
something completely different.  Whilst doing additional Google
searching, I stumbled across Foolproof Gentoo World Update Build Order
at http://foxpa.ws/tag/package-keywords/ and it was proof against this
fool, tooG.  My problem was that the Gentoo install snapshot put in
gcc-4.3.4, and emerge --update world pulled in gcc-4.4.3-r2.  So far,
so good.  But after the first build, I forgot to gcc-config over to
4.4.3-r2 ... dohhh.

   Anyhow, after switching over, rebuilding gcc-4.4.3-r2, exiting,
logging back in, unmerging gcc-4.3.4, and rebuilding glibc, I
successfully emerged system and world.  I'm now emerging xorg-x11.

RANT
   Why on earth will xorg-x11 *NOT* build if I mask out various arabic,
cyrillic, ethiopic, and jis fonts?  My PC is *NOT* intended to be a
kiosk machine at UN headquarters fer-cryin-out-loud.
/RANT

   


For future reference, after you switch gcc, you should run env-update 
and source /etc/profile.  Then you don't have to log out and back in 
again.  One could argue that one is easier than the other tho.  ;-)  
Depends on the length of the password I guess.


Dale

:-)  :-)