Re: [gentoo-user] Re: file collision on net-libs/neon-0.29.3

2010-06-23 Thread Mick
On Wednesday 23 June 2010 00:17:30 Nikos Chantziaras wrote:
 On 06/23/2010 01:56 AM, Alex Schuster wrote:
  Mick writes:
  Checking for file ownership gives me:
 
  # portageq owners / /usr/bin/neon-config
  net-misc/neon-0.29.3
 /usr/bin/neon-config
 
  # portageq owners / /usr/include/neon/ne_207.h
  net-misc/neon-0.29.3
 /usr/include/neon/ne_207.h
 
  and so on.  How come that I cannot install net-misc/neon-0.29.3 due to
  file collisions, when it is this package which owns the files in the
  first place?
 
  Strange! So it is installed already? Did you chaneg USE flags, so it gets
  emerged again? Or did something go wrong when installing it the last
  time?
 
  I have no idea, I wouldn't think what you see is possible at all.
 
 neon got moved from net-misc to net-libs.  It's just that the maintainer
 forgot to rename the package if already installed.  In those cases, you
 either wait till the maintainer renames it, which will be picked up in
 the next sync, or you just unmerge and then update again.

Thanks guys!  A resync this morning did it a world of good!
-- 
Regards,
Mick


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


Re: [gentoo-user] Re: Legacy GRUB vs GRUB2

2010-06-23 Thread Maximilian Bräutigam
Am 22.06.2010 21:22, schrieb Per-Erik Westerberg:
 tis 2010-06-22 klockan 12:15 -0700 skrev walt:
 On 06/22/2010 11:44 AM, Dale wrote:
 Tanstaafl wrote:
 On 2010-06-18 12:17 PM, Bill Longman wrote:
 And finally, don't even mention how braindead the new improved
 grub is. I wonder how anyone can feel that having to write six
 paragraphs in some one-off bash-like language, which needs to be
 debugged, is better than four lines in a config file.
 This brings up a question I've been meaning to ask...

 Since I have no desire to experience this new 'improved' GRUB, but don't
 like LILO - how long will it be before I'll be forced to make a choice?
 Meaning, how long will legacy GRUB still be supported?


 If I read the home page correctly, they are not really doing much more than 
 bug fixes on the old grub. That was my reading at least. I'm dreading that 
 day too. I sort of like my old grub. I started on lilo and grub has 
 seriously grown on me. I'll switch
 to the new grub tho. I have NO plans to go back to lilo. None whatsoever ! !

 IIUC the change will be forced by mobo manufacturers when they adopt the
 newer partition tables and boot/BIOS methods .  They have catchy acronyms
 that I can't remember, naturally, but we've all seen them discussed in this
 group from time to time.  Don't buy new mobos and you can stick to old grub.


 
 Is there a GRUB to GRUB2 migration guide somewhere in the Gentoo
 Documentation?
 
   BR / P-E

I did it 2 weeks ago with lil help of:

http://en.gentoo-wiki.com/wiki/Grub2

And I didn't use the multislot, that was unnecessary, since os-prober is
working perfectly.

Kind regards,
der Max
-- 
Maximilian Bräutigam
max-br...@gmx.de
GPG key-id F9E42811

http://www.jcf.uni-jena.de



Re: [gentoo-user] Re: Legacy GRUB vs GRUB2

2010-06-23 Thread Rod

On 23/06/2010 3:43 PM, Maximilian Bräutigam wrote:



Is there a GRUB to GRUB2 migration guide somewhere in the Gentoo
Documentation?

   BR / P-E
 

I did it 2 weeks ago with lil help of:

http://en.gentoo-wiki.com/wiki/Grub2

And I didn't use the multislot, that was unnecessary, since os-prober is
working perfectly.

Kind regards,
der Max
   


Hi, would you like to check your GNU GRUB 2 external link at the 
end, I just clicked it and got a



 404 - Page Not Found

The page you were looking for could not be found on the GNU web server.
http://www.gnu.org/software/grub/grub-2.en.html



[gentoo-user] reading php file code in text editor

2010-06-23 Thread Mick
I am looking at some php files which are causing parsing errors in Drupal, like:
=
Warning: Unexpected character in input: ' in
/var/www/htdocs/sites/all/themes/fusion/fusion_core/template.php on
line 178
Warning: Unexpected character in input: ' in
/var/www/htdocs/sites/all/themes/fusion/fusion_core/template.php on
line 178
Warning: Unexpected character in input: ' in
/var/www/htdocs/sites/all/themes/fusion/fusion_core/template.php on
line 178
=
and so on.

When I view the file using a text editor I see a number of lines which
are shown as binary characters ... should it be like this?
=
$dimensions = !empty($node-height)  !empty($node-width) 
!empty($node-length); // Hide dimensions if empty
$vars['fusion_uc_dimensions'] = ($dimensions) ?
drupal_render($node-content['dimensions']) : '';
if ($vars['fusion_uc_dimensions'] == '') {
  unset($node-content['dimensions']);
}
$list_price = !empty($node-list_price)  $node-list_price  0;
 
^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@
=

Another file that also gives the same parse error ends like this:
=
  if ($enabled_themes == 0) {
drupal_set_message(t('Skinr has detected that none of your
themes are enabled. This is likely related the Drupal bug: a
href=http://drupal.org/node/305653;Themes disabled during
update/a. Please re-enable your theme to continue using Skinr.'),
'warning', FALSE);
  }

  // Only add submit handler once.
  eval('$element = $form'. 
$form_settings['submit_handler_atta...@^@^...@^@^@
^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@
=
Is this caused by some php escape character error in these files, am I
missing some USE flag on my php package, or is there something else
wrong?

BTW, what I'd rather fix is the error reported on the last lines,
although I am interested as to why php files show this binary string
at the end.
-- 
Regards,
Mick



Re: [gentoo-user] Re: Legacy GRUB vs GRUB2

2010-06-23 Thread Stroller


On 23 Jun 2010, at 07:00, Rod wrote:

On 23/06/2010 3:43 PM, Maximilian Bräutigam wrote:



Is there a GRUB to GRUB2 migration guide somewhere in the Gentoo
Documentation?

  BR / P-E


I did it 2 weeks ago with lil help of:

http://en.gentoo-wiki.com/wiki/Grub2

And I didn't use the multislot, that was unnecessary, since os- 
prober is

working perfectly.


Hi, would you like to check your GNU GRUB 2 external link at the  
end, I just clicked it and got a

404 - Page Not Found
The page you were looking for could not be found on the GNU web  
server.

http://www.gnu.org/software/grub/grub-2.en.html



So fix it. It's a wiki. It depends on community members to make  
corrections and improvements.


Stroller.




[gentoo-user] Re: reading php file code in text editor

2010-06-23 Thread Mick
On 23 June 2010 07:18, Mick michaelkintz...@gmail.com wrote:
 I am looking at some php files which are causing parsing errors in Drupal, 
 like:
 =
 Warning: Unexpected character in input: ' in
 /var/www/htdocs/sites/all/themes/fusion/fusion_core/template.php on
 line 178
 Warning: Unexpected character in input: ' in
 /var/www/htdocs/sites/all/themes/fusion/fusion_core/template.php on
 line 178
 Warning: Unexpected character in input: ' in
 /var/www/htdocs/sites/all/themes/fusion/fusion_core/template.php on
 line 178
 =
 and so on.

 When I view the file using a text editor I see a number of lines which
 are shown as binary characters ... should it be like this?
 =
    $dimensions = !empty($node-height)  !empty($node-width) 
 !empty($node-length);                 // Hide dimensions if empty
    $vars['fusion_uc_dimensions'] = ($dimensions) ?
 drupal_render($node-content['dimensions']) : '';
    if ($vars['fusion_uc_dimensions'] == '') {
      unset($node-content['dimensions']);
    }
    $list_price = !empty($node-list_price)  $node-list_price  0;
     
 ^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@
 =

 Another file that also gives the same parse error ends like this:
 =
      if ($enabled_themes == 0) {
        drupal_set_message(t('Skinr has detected that none of your
 themes are enabled. This is likely related the Drupal bug: a
 href=http://drupal.org/node/305653;Themes disabled during
 update/a. Please re-enable your theme to continue using Skinr.'),
 'warning', FALSE);
      }

      // Only add submit handler once.
      eval('$element = $form'. 
 $form_settings['submit_handler_atta...@^@^...@^@^@
 ^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@
 =
 Is this caused by some php escape character error in these files, am I
 missing some USE flag on my php package, or is there something else
 wrong?

 BTW, what I'd rather fix is the error reported on the last lines,
 although I am interested as to why php files show this binary string
 at the end.

I forgot, this are my flags on php

 Installed versions:  5.2.13(5)(15:29:45 27/03/10)(apache2 berkdb
bzip2 cli crypt ctype gdbm iconv ldap mysql ncurses nls pcre readline
reflection session spell spl ssl truetype unicode xml zlib -adabas
-bcmath -birdstep -calendar -cdb -cgi -cjk -concurrentmodphp -curl
-curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress
-empress-bcs -esoob -exif -fastbuild -fdftk -filter -firebird
-flatfile -force-cgi-redirect -frontbase -ftp -gd -gd-external -gmp
-hash -imap -inifile -interbase -iodbc -ipv6 -java-external -json
-kerberos -kolab -ldap-sasl -libedit -mcve -mhash -msql -mssql -mysqli
-oci8 -oci8-instant-client -odbc -pcntl -pdo -pic -posix -postgres
-qdbm -recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap
-sockets -solid -sqlite -suhosin -sybase -sybase-ct -sysvipc -threads
-tidy -tokenizer -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xsl -yaz
-zip)

-- 
Regards,
Mick



Re: [gentoo-user] ISDN problems

2010-06-23 Thread Thomas U. Nockmann
On Wednesday 23 June 2010 Alex Schuster wrote:
[...]

Hello,


 But /etc/init.d/capi fails to start, when calling 'capiinit
 activate': ERROR: cannot open /dev/capi20 nor /dev/isdn/capi20 - No
 such device or address (6)

I'd got the same message while setting up a hylafax-server. I solved it 
by creating a new 50-udev.rules:

###
~ $ cat /etc/udev/rules.d/50-udev.rules
KERNEL==capi, NAME=capi20, SYMLINK+=isdn/capi20 
faxCAPI, GROUP=uucp, MODE=0666
KERNEL==capi[0-9]*,   NAME=capi/%n
~ $
###
You may waive the faxCAPI-directive.


###
~ # capiinit status
1 fcpci  running  fcpci-bc00-17A1 3.11-07 0xbc00 17
~ #
###


###
~ $ faxstat
HylaFAX scheduler on abc.def.net: Running
Modem faxCAPI (+49.xxx.yyy): Running and idle
~ $
###


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



Re: [gentoo-user] Re: Legacy GRUB vs GRUB2

2010-06-23 Thread Maximilian Bräutigam
Am 23.06.2010 08:00, schrieb Rod:
 On 23/06/2010 3:43 PM, Maximilian Bräutigam wrote:

 Is there a GRUB to GRUB2 migration guide somewhere in the Gentoo
 Documentation?

   BR / P-E
 
 I did it 2 weeks ago with lil help of:

 http://en.gentoo-wiki.com/wiki/Grub2

 And I didn't use the multislot, that was unnecessary, since os-prober is
 working perfectly.

 Kind regards,
 der Max
   
 
 Hi, would you like to check your GNU GRUB 2 external link at the
 end, I just clicked it and got a
 
 
   404 - Page Not Found
 
 The page you were looking for could not be found on the GNU web server.
 http://www.gnu.org/software/grub/grub-2.en.html
 


Hi Rod,

works w/o problems in my case, but you could also visit gentoo-wiki.com
and navigate yourself to the Grub2 entry.

By the way, I read that Grub2 has been completely rewritten, so it's not
just bug fixing.
Here the links, language de:

http://www.linux-magazin.de/NEWS/Ubuntu-waehlt-Grub-2.0?category=0
http://www.linux-magazin.de/Online-Artikel/Schoener-Booten?category=0

Kind regards,
der Max



Re: [gentoo-user] www-plugins/adobe-flash-10.1.53.64 won't play in FF Konqueror

2010-06-23 Thread Alan McKinnon
On Tuesday 22 June 2010 23:46:07 Mick wrote:
 On Tuesday 22 June 2010 19:34:19 you wrote:
  On Tuesday 22 June 2010 19:03:00 Mick wrote:

   I went into settings and clicked on Scan for new Plugins, but no
   success.  Can you play this link with Konq?
   
   http://news.bbc.co.uk/1/hi/politics/10371590.stm
  
  That page works just fine for me on 64-bit konqueror-4.4.4 with adobe-
  flash-10.1.53.64 but I don't see any flash on it
 
 The picture next to the introductory paragraph is a flash video.

OK, now I see it. And it plays fine for me

  I have nsplugins installed and manually performed the nspluginwrapper
  
   config actions to enable the 32-bit flash plugin
 
 Do I need to do that?  Won't Konq work with 64bit flash?

There is NO 64 bit flash in the latest packages, confirmed in the ebuild.

$ equery files adobe-flash
 * Searching for adobeflash ...
 * Contents of www-plugins/adobe-flash-10.1.53.64:
/etc
/etc/adobe
/etc/adobe/mms.cfg
/opt
/opt/netscape
/opt/netscape/plugins32
/opt/netscape/plugins32/libflashplayer.so
/usr
/usr/lib32
/usr/lib32/nsbrowser
/usr/lib32/nsbrowser/plugins
/usr/lib32/nsbrowser/plugins/libflashplayer.so - 
/opt/netscape/plugins32/libflashplayer.so
/usr/share
/usr/share/doc
/usr/share/doc/adobe-flash-10.1.53.64
/usr/share/doc/adobe-flash-10.1.53.64/readme.txt.bz2
a...@nazgul ~ $ eix adobe-flash
[I] www-plugins/adobe-flash
 Available versions:  (~)9.0.277.0!m!s 10.0.45.2!m!s (~)10.0.45.2-r1!m!s 
10.1.53.64!m!s {+32bit +64bit multilib}
 Installed versions:  10.1.53.64!m!s(20:16:52 19/06/10)(multilib)
 Homepage:http://www.adobe.com/
 Description: Adobe Flash Player

 I have reinstalled kde-base/nsplugins but Konqueror will still not play.

You need nspluginwrapper installed and configured. It will find all your 32-
bit plugins and do the necessary to make Konqueror aware of them. This doesn't 
happen automatically, every time you update a plugin the config is broken and 
has to be redone.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] www-plugins/adobe-flash-10.1.53.64 won't play in FF Konqueror

2010-06-23 Thread Alan McKinnon
On Wednesday 23 June 2010 00:31:38 Alex Schuster wrote:
Hmm I remerged nspluginwrapper and FF plays flash fine now, but
Konqueror will still complain about missing plugin.  :-(
   

   
Cannot play media.You do not have the correct version of the flash
player. Download the correct version
   

   
I went into settings and clicked on Scan for new Plugins, but no
success.  Can you play this link with Konq?
 
 Flash sometimes works with konqueror, sometimes not. Youtube videos play, 
 and then just stop after a while.

I must be lucky then, it's 100% reliable for me :-)


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] ATI RV710/730

2010-06-23 Thread Daniel Troeder
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).

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] Legacy GRUB vs GRUB2

2010-06-23 Thread Maximilian Bräutigam
Am 23.06.2010 08:53, schrieb Stroller:
 
 On 18 Jun 2010, at 17:17, Bill Longman wrote:
 ...
 And finally, don't even mention how braindead the new improved grub
 is. I wonder how anyone can feel that having to write six paragraphs in
 some one-off bash-like language, which needs to be debugged, is better
 than four lines in a config file.
 
 
 Can someone possibly explain exactly what's wrong with GRUB2?
 
 I've just taken a look at the wiki guide link posted by Max Bräutigam,
 and it all looks exactly the same as current GRUB and no more
 complicated, apart from optional sections to change the resolution and
 font at the top of the config file.
 
 Stroller.
 

Hi Stroller,

there is nothing complicated, the only thing you should take care of is,
that you run grub-mkconfig to get an initial grub.cfg and grub-install
and you should in case of system failure know, how to boot with a
livecd, chroot your environment and switch back to your old grub/config.
Help with chroot you'll find here:

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#book_part1_chap6

So, be brave!
der Max



Re: [gentoo-user] trouble with broadcom wireless

2010-06-23 Thread Neil Bothwick
On Tue, 22 Jun 2010 21:24:00 -0400, Allan Gottlieb wrote:

 I have build b43 as both a kernel module and as a built-in component.
 But neither eth1 nor wlan0 exist for either kernel configuration (eth0
 is the hardwired ethernet)

Are you sure this is a B43xx devices, the lspci output doesn't specify?
Some Dells use a different Broadcom card that needs the
net-wireless/broadcom-sta module to be emerged.


-- 
Neil Bothwick

This message has been cruelly tested on sweet little furry animals.


signature.asc
Description: PGP signature


Re: [gentoo-user] www-plugins/adobe-flash-10.1.53.64 won't play in FF Konqueror

2010-06-23 Thread Mick
On 23 June 2010 09:03, Alan McKinnon alan.mckin...@gmail.com wrote:
 On Tuesday 22 June 2010 23:46:07 Mick wrote:

  I have nsplugins installed and manually performed the nspluginwrapper
 
   config actions to enable the 32-bit flash plugin

 Do I need to do that?  Won't Konq work with 64bit flash?

 There is NO 64 bit flash in the latest packages, confirmed in the ebuild.

This shows how long its been since I had to look into/do anything about this.

 I have reinstalled kde-base/nsplugins but Konqueror will still not play.

 You need nspluginwrapper installed and configured. It will find all your 32-
 bit plugins and do the necessary to make Konqueror aware of them. This doesn't
 happen automatically, every time you update a plugin the config is broken and
 has to be redone.

I've done what Alex suggested which was to add
/usr/lib64/nsbrowser/plugins in the Konqueror plugins and then the
Scan button found a load of them in there including flash.

It plays flash fine now!

Thank you all.  :-)
-- 
Regards,
Mick



Re: [gentoo-user] trouble with broadcom wireless

2010-06-23 Thread Mick
On 23 June 2010 09:23, Neil Bothwick n...@digimed.co.uk wrote:
 On Tue, 22 Jun 2010 21:24:00 -0400, Allan Gottlieb wrote:

 I have build b43 as both a kernel module and as a built-in component.
 But neither eth1 nor wlan0 exist for either kernel configuration (eth0
 is the hardwired ethernet)

 Are you sure this is a B43xx devices, the lspci output doesn't specify?
 Some Dells use a different Broadcom card that needs the
 net-wireless/broadcom-sta module to be emerged.


Mine is a different Broadcom card:

05:00.0 Network controller [0280]: Broadcom Corporation BCM4312
802.11b/g LP-PHY [14e4:4315] (rev 01)


but my kernel settings may help here:

$ cat /usr/src/linux/.config | grep -i b43
CONFIG_B43=m
CONFIG_B43_PCI_AUTOSELECT=y
CONFIG_B43_PCICORE_AUTOSELECT=y
# CONFIG_B43_PCMCIA is not set
# CONFIG_B43_SDIO is not set
CONFIG_B43_PIO=y
CONFIG_B43_PHY_LP=y
CONFIG_B43_LEDS=y
CONFIG_B43_HWRNG=y
CONFIG_B43_DEBUG=y
CONFIG_B43_FORCE_PIO=y
# CONFIG_B43LEGACY is not set
CONFIG_SSB_B43_PCI_BRIDGE=y

I couldn't get it to show up until I selected the debug feature with
the FORCE_PIO option.

HTH
-- 
Regards,
Mick



Re: [gentoo-user] Boot hangs after install, no error

2010-06-23 Thread Peter Humphrey
On Wednesday 23 June 2010 03:29:16 Dale wrote:

 By all means, use genkernel.

I will, RSN. This nearly new, shiny, quad-core box is as sluggish as 
hell, and I want to find out why. So I'll use genkernel to install 
everything under the sun and see if I can work it out.

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



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

2010-06-23 Thread Peter Humphrey
On Monday 21 June 2010 23:04:14 Walter Dnes wrote:
   I just got a brand new custom-built 8 gig machine.  There's an
 outfit in north Toronto that has MSI motherboards with PS/2 ports,
 so I can keep my genuine IBM PS/2 clickety-clack-keyboard;
 woho.  And the integrated Intel graphics chip has *BOTH VGA
 AND DIGITAL OUTPUTS*!

I have a box with those two outputs, but I found that the display card 
stopped working if I connected both outputs to the same, dual-input 
monitor. Just a cautionary note in case you have some need for that.

 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.

With 8 GB RAM I recommend putting /tmp into a tmpfs, thus:

tmpfs /tmp  tmpfs   nodev,nosuid,size=16G   0 0

This box has 4 GB RAM, which is never all occupied unless I'm compiling 
something big, such as Open Office. I created two swap partitions: a 2G 
and a 20G. The 2G partition has pri=10 and the 20G has pri=1. Now the 
small swap will be used in ordinary operation (though it never is, as 
far as I know). When I'm emerging Open Office, the big swap is added when 
it's needed, and /tmp is rolled out to swap when it grows too big for 
the physical memory.

You may think the small swap is an unnecessary complication, and I dare 
say it is, but when you have lots of space, why not play in it? Anyway, 
it seemed like a good idea at the time.

(Actually, I've made it more complex still, by duplicating the swap 
arrangement on the second disk so that the kernel has maximum flexibility 
and can use the most efficient device at any time.)

 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?

Can't help you there; sorry.

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



Re: [gentoo-user] Re: Trying to shutdown/reboot computer from gnome

2010-06-23 Thread dhk
On 04/23/2010 06:13 AM, Damian wrote:
 Damian damian.o...@gmail.com writes:
 
 Currently I cannot turn off the computer, nor reboot using gnome 2.28.2.
 Googling around it seems that it is a polkit related problem. I've tried
 to do what is mentioned here:
 
 http://www.linuxquestions.org/questions/linux-mint-84/authentication-to-restart-and-turn-off-789357/

 But polkit-auth --show-obtainable shows nothing.

 I'm running gnome via startx, and the .xinitrc file looks like this:
 export XDG_MENU_PREFIX=gnome-
 exec ck-launch-session gnome-session

 Could anybody manage to get this working?
 Ok, the problem seemed to be gone after the addition of the gnome, polkit,
 policykit, and consolekit use flags. I don't know which flag got it
 working.
 
 
 

I have the same problem.  The shutdown option disappeared as an option
from the menu about the same time as this email and a gnome release.  It
just took a few months to get around to it.  I have gnome built with
policykit (see below), but still no shutdown option.  I have to log in
as root to shutdown properly.

# emerge -pv gnome

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] gnome-base/gnome-2.28.2  USE=cdr cups policykit
-accessibility -dvdr -ldap -mono 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Also why doesn't alacarte have shutdown and some other stuff for adding
and removing in the main menu?

Shutting down from the gnome desktop would make things easier.  How can
I get that option back?

Thanks,

--dhk





Re: [gentoo-user] Legacy GRUB vs GRUB2

2010-06-23 Thread etienne . lorrain
 Can someone possibly explain exactly what's wrong with GRUB2?

The main problem of GRUB2/GRUB4DOS is that it is entering the Linux
kernel by the partially documented 32 bits entry point:
http://www.mirrorservice.org/sites/alpha.gnu.org/gnu/grub/grub-1.98.tar.gz/grub-
1.98/loader/i386/linux.c?extract=true

That means you are no more executing the real mode part of the linux
kernel, you are using some real mode memory structures set-up by GRUB2.
Those structures have been more or less identical to those of Linux at
some point in the past.

That means that some kernel options which were working with GRUB1 (like
EDID and EBIOS disk identifications) are no more working, and no more
evolutions can be done in the real mode part of the Linux kernel (like
increasing some structures, moving their base address...).
Those evolutions would only be working with kernel booted with GRUB1,
LILO or Gujin, but not with GRUB2.
Disclaimer: I am not unrelated with the GPL bootloader Gujin at sourceforge.

When entering the Linux kernel by the 32 bits entry point on ia32/amd64
has been discussed on lkml, it was seriously criticised.

For instance, because the boot disk can no more be determined safely
(the BIOS on most machine can tell the PCI address of a drive, but
it is unsafe to call the BIOS after so many modifications in protected
mode done by GRUB2), you get distributions switching to all UUID mode 
- which is a major pain when one of your hard disk fails and you copy
it byte per byte onto a spare disk, leading to UUID conflicts.

Also, some amd64 PC seems to want a BIOS call when they will run a
64 bits kernel (linux kernel real-mode code), I am not sure that one
is done by GRUB2.

And a third problem is that you need the 32 bits libraries to compile
GRUB2, even on a clean 64 bits machine.

Just my $0.02,
Etienne.





Re: [gentoo-user] reading php file code in text editor

2010-06-23 Thread Stroller


On 23 Jun 2010, at 07:18, Mick wrote:

I am looking at some php files which are causing parsing errors in  
Drupal, like:

=
Warning: Unexpected character in input: ' in
/var/www/htdocs/sites/all/themes/fusion/fusion_core/template.php on
line 178
Warning: Unexpected character in input: ' in
/var/www/htdocs/sites/all/themes/fusion/fusion_core/template.php on
line 178
Warning: Unexpected character in input: ' in
/var/www/htdocs/sites/all/themes/fusion/fusion_core/template.php on
line 178
=
and so on.

When I view the file using a text editor I see a number of lines which
are shown as binary characters ... should it be like this?
=
   $dimensions = !empty($node-height)  !empty($node-width) 
!empty($node-length); // Hide dimensions if empty
   $vars['fusion_uc_dimensions'] = ($dimensions) ?
drupal_render($node-content['dimensions']) : '';
   if ($vars['fusion_uc_dimensions'] == '') {
 unset($node-content['dimensions']);
   }
   $list_price = !empty($node-list_price)  $node-list_price  0;
 
^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@

=


I think it might be most useful if you gave us a complete copy of one  
of these files, as an attachment. If they're security-sensitive, send  
us just an extract which shows the sample (cut using something like  
`head foo | tail  bar`). Where did these files come from? Did you  
download a fusion theme from the Drupal website?


Stroller.




Re: [gentoo-user] reading php file code in text editor

2010-06-23 Thread roundyz
Stroller wrote:

 
 
 On 23 Jun 2010, at 07:18, Mick wrote:
 
  I am looking at some php files which are causing parsing errors in  
  Drupal, like:
  =
  Warning: Unexpected character in input: ' in
  /var/www/htdocs/sites/all/themes/fusion/fusion_core/template.php on
  line 178
  Warning: Unexpected character in input: ' in
  /var/www/htdocs/sites/all/themes/fusion/fusion_core/template.php on
  line 178
  Warning: Unexpected character in input: ' in
  /var/www/htdocs/sites/all/themes/fusion/fusion_core/template.php on
  line 178
  =
  and so on.
 
  When I view the file using a text editor I see a number of lines which
  are shown as binary characters ... should it be like this?
  =
 $dimensions = !empty($node-height)  !empty($node-width) 
  !empty($node-length); // Hide dimensions if empty
 $vars['fusion_uc_dimensions'] = ($dimensions) ?
  drupal_render($node-content['dimensions']) : '';
 if ($vars['fusion_uc_dimensions'] == '') {
   unset($node-content['dimensions']);
 }
 $list_price = !empty($node-list_price)  $node-list_price  0;
   
  ^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@

See this line here with all the ^@, delete it, or better yet comment it
out, and see if it runs the same, it is not part of the php file, so
maybe it was dumped during a refactoring session or the like.

regards,

Roundyz



Re: [gentoo-user] reading php file code in text editor

2010-06-23 Thread roundyz
Mick wrote:

 On 23 June 2010 13:48,  roun...@hotmail.ru wrote:
  Stroller wrote:
 
  On 23 Jun 2010, at 07:18, Mick wrote:
 
   I am looking at some php files which are causing parsing errors in
   Drupal, like:
 
  @^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^@
  See this line here with all the ^@, delete it, or better yet comment it
  out, and see if it runs the same, it is not part of the php file, so
  maybe it was dumped during a refactoring session or the like.
 
 Thanks guys,
 
 I've tried all sort of 'fixes' like trying to add escape characters,
 using closing tags, completely deleting the null symbols and what not,
 but loading the page in drupal still causes similar parsing errors
 although not always at the last line.
 
 The files in question are attached in this message.
 
 When looking at them with a hex editor I see this:
 
 27b0  20 7d 0d 0a 20 20 20 20  24 6c 69 73 74 5f 70 72  | }..
 $list_pr|
 27c0  69 63 65 20 3d 20 21 65  6d 70 74 79 28 24 6e 6f  |ice = 
 !empty($no|
 27d0  64 65 2d 3e 6c 69 73 74  5f 70 72 69 63 65 29 20  |de-list_price) 
 |
 27e0  26 26 20 24 6e 6f 64 65  2d 3e 6c 69 73 74 5f 70  | 
 $node-list_p|
 27f0  72 69 63 65 20 3e 20 30  3b 20 20 20 20 20 20 20  |rice  0;   
 |
 2800  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  
 ||
 *
 6170  00 00 00 00 00 00 00 00   ||
 6178
 
 It is the last 5 lines that seem to cause the problem.  Any idea why
 they are shown as binary in text editors (using vim, or less)?
 
 PS.  I just looked at earlier (stable) versions of these files here:
 
 http://drupal.org/project/skinr
 
 and here:
 
 http://drupal.org/project/fusion
 
 and they do not have the binary characters at the end - so this could
 well be a problem with the development versions.  I'll try the stable
 versions when I get home and report back.


You could use split to chop of the last 5 lines



-- 
Regards,
Roundyz



Re: [gentoo-user] reading php file code in text editor

2010-06-23 Thread Stroller


On 23 Jun 2010, at 13:22, Mick wrote:

...
I've tried all sort of 'fixes' like trying to add escape characters,
using closing tags, completely deleting the null symbols and what not,
but loading the page in drupal still causes similar parsing errors
although not always at the last line.

The files in question are attached in this message.


Well, I can confirm that these file show the same symptoms on vim  
here, so it's not totally a bug with your text editor.


First step should perhaps be to report the bug to Drupal themselves.

I get the same garbage using vim here on my Mac, but interestingly not  
if I open the file in TextEdit (like Notepad). In vim the files both  
seem to terminate in this junk, and it kinda seem like vim doesn't  
want to scroll down properly when it encounters it. In TextEdit I do  
see a handful of blank spaces at the end of template.php, and if I  
delete these then reopen in vim, the garbage is gone. I would be glad  
to send you copies of both files fixed, but I suspect the files are  
truncated, and that that would leave stuff missing - the ^...@^@^...@^@^@  
has been written over the real content, I think.


Stroller.




[gentoo-user] Recent updates brings hefty number of X related config files

2010-06-23 Thread Harry Putnam
With recent updates (done thru cron) I have quite a hefty number of
new X related config files.

They unmodified and I think most are new.  Especially the X related
ones.

I have `inlined' the list at the end of this post. It may contain a
few normal changes as well I wasn't sure what might be related.

Anyway, anyone know what the changes are about?

----   ---=---   -   

List of unmodified (mostly new) config files:

/etc/._cfg_gai.conf
/etc/conf.d/._cfg_udev
/etc/init.d/._cfg_udev
/etc/init.d/._cfg_udev-mount
/etc/init.d/._cfg_udev-postmount
/etc/portage/postsync.d/._cfg_q-reinitialize
/etc/sound/events/._cfg_gnome-2.soundlist
/etc/sound/events/._cfg_gtk-events-2.soundlist
/usr/share/X11/xkb/._cfg_compat.dir
/usr/share/X11/xkb/._cfg_geometry.dir
/usr/share/X11/xkb/._cfg_keycodes.dir
/usr/share/X11/xkb/._cfg_symbols.dir
/usr/share/X11/xkb/._cfg_types.dir
/usr/share/X11/xkb/compat/._cfg_level5
/usr/share/X11/xkb/compat/._cfg_misc
/usr/share/X11/xkb/geometry/._cfg_hp
/usr/share/X11/xkb/geometry/._cfg_macintosh
/usr/share/X11/xkb/geometry/._cfg_pc
/usr/share/X11/xkb/geometry/._cfg_sun
/usr/share/X11/xkb/keycodes/._cfg_macintosh
/usr/share/X11/xkb/keycodes/._cfg_sun
/usr/share/X11/xkb/keymap/._cfg_README
/usr/share/X11/xkb/keymap/._cfg_xfree86
/usr/share/X11/xkb/rules/._cfg_base
/usr/share/X11/xkb/rules/._cfg_base.lst
/usr/share/X11/xkb/rules/._cfg_base.xml
/usr/share/X11/xkb/rules/._cfg_evdev
/usr/share/X11/xkb/rules/._cfg_evdev.lst
/usr/share/X11/xkb/rules/._cfg_evdev.xml
/usr/share/X11/xkb/symbols/._cfg_af
/usr/share/X11/xkb/symbols/._cfg_altwin
/usr/share/X11/xkb/symbols/._cfg_ara
/usr/share/X11/xkb/symbols/._cfg_be
/usr/share/X11/xkb/symbols/._cfg_ch
/usr/share/X11/xkb/symbols/._cfg_compose
/usr/share/X11/xkb/symbols/._cfg_cz
/usr/share/X11/xkb/symbols/._cfg_de
/usr/share/X11/xkb/symbols/._cfg_es
/usr/share/X11/xkb/symbols/._cfg_fi
/usr/share/X11/xkb/symbols/._cfg_fr
/usr/share/X11/xkb/symbols/._cfg_gb
/usr/share/X11/xkb/symbols/._cfg_gh
/usr/share/X11/xkb/symbols/._cfg_group
/usr/share/X11/xkb/symbols/._cfg_hu
/usr/share/X11/xkb/symbols/._cfg_il
/usr/share/X11/xkb/symbols/._cfg_in
/usr/share/X11/xkb/symbols/._cfg_inet
/usr/share/X11/xkb/symbols/._cfg_ir
/usr/share/X11/xkb/symbols/._cfg_is
/usr/share/X11/xkb/symbols/._cfg_jp
/usr/share/X11/xkb/symbols/._cfg_latam
/usr/share/X11/xkb/symbols/._cfg_latin
/usr/share/X11/xkb/symbols/._cfg_level3
/usr/share/X11/xkb/symbols/._cfg_level5
/usr/share/X11/xkb/symbols/._cfg_lk
/usr/share/X11/xkb/symbols/._cfg_lt
/usr/share/X11/xkb/symbols/._cfg_nbsp
/usr/share/X11/xkb/symbols/._cfg_pc
/usr/share/X11/xkb/symbols/._cfg_pl
/usr/share/X11/xkb/symbols/._cfg_pt
/usr/share/X11/xkb/symbols/._cfg_rs
/usr/share/X11/xkb/symbols/._cfg_ru
/usr/share/X11/xkb/symbols/._cfg_se
/usr/share/X11/xkb/symbols/._cfg_shift
/usr/share/X11/xkb/symbols/._cfg_sy
/usr/share/X11/xkb/symbols/._cfg_tm
/usr/share/X11/xkb/symbols/._cfg_us
/usr/share/X11/xkb/symbols/macintosh_vndr/._cfg_e
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_cz
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_de
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_dk
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_es
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_fi
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_fr
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_gb
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_gr
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_it
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_jp
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_lt
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_lv
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_nl
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_no
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_pl
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_pt
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_ru
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_se
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_solari
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_tr
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_tuv
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_tw
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_us
/usr/share/X11/xkb/types/._cfg_level5




Re: [gentoo-user] Re: kernel configuration problem -- genkernel: no irq handler; manual config: root filesystem could not be mounted r/w

2010-06-23 Thread Bill Longman
On 06/22/2010 05:35 PM, rocwhite168 wrote:
 Yes, it's built-in. I have attached a copy of my kernel config file in the 
 original post.

 I'll bet you don't have HUGETLBFS turned on in your kernel. It's
 required for ext4.

 
 I checked and both HUGETLBFS and HUGETLB_PAGE are enabled. Actually I had my 
 setup posted on the original post.

Yikes. Sorry, I didn't look back through the thread.

Did you notice that you have an extra zero in your CONFIG_PHYSICAL:

CONFIG_PHYSICAL_START=0x100
# CONFIG_RELOCATABLE is not set
CONFIG_PHYSICAL_ALIGN=0x100

The default is 0x10 for x86.



Re: [gentoo-user] reading php file code in text editor

2010-06-23 Thread Vincent Launchbury
On 06/23/10 08:22, Mick wrote:
 PS.  I just looked at earlier (stable) versions of these files here:
 
 http://drupal.org/project/skinr
 [...]
 and they do not have the binary characters at the end - so this could
 well be a problem with the development versions. 

Perhaps it was just a corrupt download. I grabbed
skinr-6.x-1.x-dev.tar.gz, and the skinr.module file was fine. (I assume
you got the same one, as the cvs $Id:$ is identical to the one you posted.)



Re: [gentoo-user] Re: Legacy GRUB vs GRUB2

2010-06-23 Thread Bill Longman
On 06/22/2010 09:37 PM, kashani wrote:
 For the record only Sun servers have ever made me utter, Let me get
 this straight. I have to update the firware on the POWER SUPPLY too?!?
 E6500s circa '99.

:-)

And the hotswap E250 power supply. You know, the one that you have to
tell the kernel that the new power supply is ready. More like warmswap.



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

2010-06-23 Thread walt

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 ...




[gentoo-user] Problems relating to /usr/lib/libmpfr, is this fix safe

2010-06-23 Thread Harry Putnam

The following comments turned up in my elogs recently:

----   ---=---   -  ---
 Messages generated for package dev-libs/mpfr-3.0.0 by 
process 12988 on 20100622-081454 CDT:- 

WARN: postinst
Old versions of installed libraries were detected on your system.
In order to avoid breaking packages that depend on these old libs,
the libraries are not being removed.  You need to run revdep-rebuild
in order to remove these old dependencies.  If you do not have this
helper program, simply emerge the 'gentoolkit' package.

  # revdep-rebuild --library libmpfr.so.1

Once you've finished running revdep-rebuild, it should be safe to
delete the old libraries.  Here is a copy  paste for the lazy:
  # rm '/usr/lib/libmpfr.so.1'
----   ---=---   -   

I know there is or was recently a bug that shows more argument than
resolution about this problem at:
  http://bugs.gentoo.org/show_bug.cgi?id=324763

Best I could tell was not install mpfr-3.0.0 version yet.

So wondering if it is safe to follow the procedure suggested above.




[gentoo-user] DVD FUSE decrypter to allow non-DeCSS players to work with encrypted DVDs?

2010-06-23 Thread Grant Edwards
Let's say I have DVD playing software that can only play unencrypted
DVDs (either as ISO images or as mounted trees), and I want to use it
to play an encrypted DVD.

Is there any sort of FUSE+libdvdread+libdvddecss utility that can be
pointed at an encrypted DVD and then present to user-space apps
an unencrypted-filesystem-tree-view of that DVD?

So far, all I've been able to find is something called AnyDVD which
appears to do precisely what I want, but it's Windows-only.

[Yes, I know that mplayer, xine, totem, mythtv, etc. can all play
encrypted DVDs, but our problem statement is that we're limited to one
particular DVD player app, and it doesn't do decryption.]

-- 
Grant Edwards   grant.b.edwardsYow! Boy, am I glad it's
  at   only 1971...
  gmail.com




Re: [gentoo-user] DVD FUSE decrypter to allow non-DeCSS players to work with encrypted DVDs?

2010-06-23 Thread Neil Bothwick
On Wed, 23 Jun 2010 16:14:00 + (UTC), Grant Edwards wrote:

 Is there any sort of FUSE+libdvdread+libdvddecss utility that can be
 pointed at an encrypted DVD and then present to user-space apps
 an unencrypted-filesystem-tree-view of that DVD?

media-video/vobcopy will copy the DVD files to hard disc, decrypting them
in the process.


-- 
Neil Bothwick

Don't forget that MS-Windows is just a temporary workaround until you can
switch to a GNU system.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Legacy GRUB vs GRUB2

2010-06-23 Thread Volker Armin Hemmann
On Dienstag 22 Juni 2010, Bill Longman wrote:
I'm sure I can easily start a raging, apocalyptic forest fire by mentioning 
man and info
 in the same sentence

there is no way to reply to this without using lots of highly forbidden words. 
Also death threats.

So I will try to stay calm and drink some very cold water. And maybe punch a 
wall.





[gentoo-user] Re: DVD FUSE decrypter to allow non-DeCSS players to work with encrypted DVDs?

2010-06-23 Thread Grant Edwards
On 2010-06-23, Neil Bothwick n...@digimed.co.uk wrote:
 On Wed, 23 Jun 2010 16:14:00 + (UTC), Grant Edwards wrote:

 Is there any sort of FUSE+libdvdread+libdvddecss utility that can be
 pointed at an encrypted DVD and then present to user-space apps
 an unencrypted-filesystem-tree-view of that DVD?

 media-video/vobcopy will copy the DVD files to hard disc, decrypting them
 in the process.

Yes, thanks. I know about the ways to rip an encrypted DVD (vobcopy,
k9copy, dvd::rip, etc.).  However, that's not what I'm asking about.

I don't want to rip the DVD to hard disc.  I want to provide
unencrypted access to an encrypted DVD without copying the entire DVD
contents to a temporary location.

-- 
Grant Edwards   grant.b.edwardsYow! Half a mind is a
  at   terrible thing to waste!
  gmail.com




[gentoo-user] Re: DVD FUSE decrypter to allow non-DeCSS players to work with encrypted DVDs?

2010-06-23 Thread Grant Edwards
On 2010-06-23, Grant Edwards grant.b.edwa...@gmail.com wrote:

 Let's say I have DVD playing software that can only play unencrypted
 DVDs (either as ISO images or as mounted trees), and I want to use it
 to play an encrypted DVD.

 Is there any sort of FUSE+libdvdread+libdvddecss utility that can be
 pointed at an encrypted DVD and then present to user-space apps
 an unencrypted-filesystem-tree-view of that DVD?

Ah, I think I found a likely candidate:

  http://jspenguin.org:81/dvdfs/
  http://forum.opentvix.com/viewtopic.php?f=8t=281
  
Not sure how I missed this in my first round of googling.

-- 
Grant Edwards   grant.b.edwardsYow! I'm changing the
  at   CHANNEL ... But all I get
  gmail.comis commercials for RONCO
   MIRACLE BAMBOO STEAMERS!




Re: [gentoo-user] Re: DVD FUSE decrypter to allow non-DeCSS players to work with encrypted DVDs?

2010-06-23 Thread Paul Hartman
On Wed, Jun 23, 2010 at 1:18 PM, Grant Edwards
grant.b.edwa...@gmail.com wrote:
 On 2010-06-23, Grant Edwards grant.b.edwa...@gmail.com wrote:

 Let's say I have DVD playing software that can only play unencrypted
 DVDs (either as ISO images or as mounted trees), and I want to use it
 to play an encrypted DVD.

 Is there any sort of FUSE+libdvdread+libdvddecss utility that can be
 pointed at an encrypted DVD and then present to user-space apps
 an unencrypted-filesystem-tree-view of that DVD?

 Ah, I think I found a likely candidate:

  http://jspenguin.org:81/dvdfs/
  http://forum.opentvix.com/viewtopic.php?f=8t=281

 Not sure how I missed this in my first round of googling.

Here's an alternative but similar-looking solution:
http://www.daemoninc.com/dvdreadfs/



[gentoo-user] Re: DVD FUSE decrypter to allow non-DeCSS players to work with encrypted DVDs?

2010-06-23 Thread Grant Edwards
On 2010-06-23, Paul Hartman paul.hartman+gen...@gmail.com wrote:
 On Wed, Jun 23, 2010 at 1:18 PM, Grant Edwards
grant.b.edwa...@gmail.com wrote:
 On 2010-06-23, Grant Edwards grant.b.edwa...@gmail.com wrote:

 Let's say I have DVD playing software that can only play unencrypted
 DVDs (either as ISO images or as mounted trees), and I want to use it
 to play an encrypted DVD.

 Is there any sort of FUSE+libdvdread+libdvddecss utility that can be
 pointed at an encrypted DVD and then present to user-space apps
 an unencrypted-filesystem-tree-view of that DVD?

 Ah, I think I found a likely candidate:

  http://jspenguin.org:81/dvdfs/
  http://forum.opentvix.com/viewtopic.php?f=8t=281

 Not sure how I missed this in my first round of googling.

 Here's an alternative but similar-looking solution:
 http://www.daemoninc.com/dvdreadfs/

Cool.  That one looks a little more friendly in that you can
apparently leave it mounted all the time.  With dvdfs, it looks like
you need a daemon running to mount/unmount dvdfs when media changes.

-- 
Grant Edwards   grant.b.edwardsYow! ... I don't like FRANK
  at   SINATRA or his CHILDREN.
  gmail.com




Re: [gentoo-user] ISDN problems

2010-06-23 Thread Mick
On Tuesday 22 June 2010 23:23:53 Alex Schuster wrote:

 But /etc/init.d/capi fails to start, when calling 'capiinit activate':
 ERROR: cannot open /dev/capi20 nor /dev/isdn/capi20 - No such device or
 address (6)
 
 This file is existing:
 crw--- 1 root root 191, 20 22. Jun 23:35 /dev/capi20
 
 Changing permissions does not help.
 
 I also tried the other kernel modules, net-dialup/fritzcapi, but that does
 not build either - it does not find linux/auconf.h. Huh? I have this in
 /usr/lib64/klibc/include/ only. On other Gentoo systems, this should be in
 the kernel's include directory. Maybe 2.6.33 is too new for that?
 
 Then I tried mISDN, and guess what, it also does not compile at all. There
 is a bug report (#265581), but its over a year old without progress.
 
 So I downloaded mISDN and built it according to http://www.misdn.org/,
 which seemed to work. But I get the same capi error. So it's probably not
 a problem with the ISDN card kernel driver, but with the CAPI setup.
 
 I'm out of ideas. What's wrong with /dev/capi20?

Should the ownership be different than root:root perhaps?  e.g. have you tried 
root:tty, or root:dialup, or root:uucp, or whichever group is appropriate for 
ISDN?

-- 
Regards,
Mick


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


Re: [gentoo-user] reading php file code in text editor

2010-06-23 Thread Mick
On 23 June 2010 21:06, Vincent Launchbury vinc...@doublecreations.com wrote:
 On 06/23/10 08:22, Mick wrote:
 PS.  I just looked at earlier (stable) versions of these files here:

 http://drupal.org/project/skinr
 [...]
 and they do not have the binary characters at the end - so this could
 well be a problem with the development versions.

 Perhaps it was just a corrupt download. I grabbed
 skinr-6.x-1.x-dev.tar.gz, and the skinr.module file was fine. (I assume
 you got the same one, as the cvs $Id:$ is identical to the one you posted.)

Guys thanks for your help.  I thought of a corrupt download too, but
couldn't explain that happening more than once with different files.
Then I noticed a pattern developing ...

If the download took place on a ntfs partition (used to share files
with a MSWindows OS) and then transfered over to reiserfs where Gentoo
and the drupal server lives, well, all these phenomena of corrupt
files seem to take place.

I cannot honestly explain this!  Why is it that if the download and
unzipping takes place using ntfs-3g on the said ntfs partition the php
files get corrupted?

This is what mount shows:

/dev/sda9 on /mnt/VideoDrive type fuseblk
(rw,nosuid,nodev,noatime,allow_other,blksize=4096)

Probably I did something wrong ... will keep an eye out for similar
errors in the future, because I just tried this again and there does
not seem to be a problem with it now.

Thanks for your help and sorry for the noise.
-- 
Regards,
Mick



Re: [gentoo-user] trouble with broadcom wireless

2010-06-23 Thread Allan Gottlieb
At Wed, 23 Jun 2010 09:23:40 +0100 Neil Bothwick n...@digimed.co.uk wrote:

 On Tue, 22 Jun 2010 21:24:00 -0400, Allan Gottlieb wrote:

 I have build b43 as both a kernel module and as a built-in component.
 But neither eth1 nor wlan0 exist for either kernel configuration (eth0
 is the hardwired ethernet)

 Are you sure this is a B43xx devices, the lspci output doesn't specify?
 Some Dells use a different Broadcom card that needs the
 net-wireless/broadcom-sta module to be emerged.

(I tried Mick's kernel settings, but with no effect).

Neil's suggestion to use broadcom-sta was the solution.  It took some
effort to get the module to build, but was possible.

thank you both.
allan gottlieb



Re: [gentoo-user] core i5

2010-06-23 Thread Stefan G. Weichinger
Am 23.06.2010 03:43, schrieb Mark Knecht:
 I'm writing you from an Intel Core i5-661 Clarksdale machine using the
 built in graphics. I've been fairly impressed with the processor
 itself, not very impressed with the stock cooling they supplied, and
 in general find the graphics at least acceptable for my needs as a
 desktop machine.

That's one of my questions: I currently use a passive Nvidia GeForce
9600 GT here so to be able to play some games now and then (quite good
performance compared to my former card but chosen for being quiet and
cool while I work).

I don't know if the builtin graphics will allow gaming on the same
level, I should go for some benchmark results. But this is definitely
not important ... just a nice to have feature maybe.

 The i5-661 cores are actually the fastest cores I have, and I've also
 got an i7-920 and an i7-980x. The i5-661 is only 2 cores/4 threads,
 but the cores are clocked at a higher rate than the other machine and
 on simple non-multi-threaded apps outperform the other machines.
 However when I'm running something compute intensive I've had the
 machine over heat using stock cooling so get a good CPU fan. (Yeah,
 the i7-980x is pretty nice also as it has 12 threads to play with and
 builds KDE from source in a little over an hour.)

So you run make -j13 or something?

 This machine has 3 old hard drives in it as well as 2 sound cards and
 a 1394 card and along with the two LCD monitors it still draws only
 about 150W so I'm pretty happy with the cost of running it day to day.
 
 I've not used it at all for Myth since I moved mostly to DirecTV but I
 suspect it wouldn't do badly assuming there's no issues with the Intel
 Graphics driver. I cannot help you there.

I only run mythfrontend here sometimes, mostly in a window on one of the
two monitors. I got used to compiz, even for daily work, but that
shouldn't be much load for the intel graphics.

What I would like to speed up is updating various VMs, I have quite some
linuxes in VMs, some of them gentoo-based, and running emerge -avuDN
world on them could always need some speedup ;-)

Thanks, Stefan



Re: [gentoo-user] core i5

2010-06-23 Thread Stefan G. Weichinger
Am 23.06.2010 04:27, schrieb kashani:

 I updated from a Q6600 to an i7 860 recently. Not amazing speed
 wise, but I can run 8 threads and use more than 8GB of RAM. The RAM was
 the big thing for me. If you're planning to do a lot with VMs I'd
 suggest at least an extra drive if not more if you can swing it. 

You mean for storing the VMs?
I have two drives locally now, RAID1 mostly. And I also test storing VMs
on an nfsV4-storage via gigabit ethernet. Quite OK. And NFS-storage is
more quiet ;-)

 Overall
 I'd say you're not going to notice much speed unless you're very CPU bound.

OK, thanks for that info!

Stefan



Re: [gentoo-user] core i5

2010-06-23 Thread Stefan G. Weichinger
Am 23.06.2010 00:27, schrieb Bill Longman:

 - core i7 @ 1.6GHz gives me eight threads. The RAM is really fast, too,
 so the overall system is very responsive. Great power savings stuff.

quite a plus with the box running for 10 hrs a day at least ...

 - Haven't tried kvm but would probably work fine.

I think so. Also the cpu-pinning ... I assume I could then assign one or
more of the 8 (virtual) CPUs to a specific VM ... nice ...

 - From /proc/cpuinfo:
   address sizes   : 36 bits physical, 48 bits virtual
 
   That's only 8GB physical, but that's probably a reasonable limit at
 the moment.

I think I could live with this. 8 GB now are more than I currently ever
need.

thx, Stefan





Re: [gentoo-user] ATI RV710/730

2010-06-23 Thread Mick
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?

-- 
Regards,
Mick


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


Re: [gentoo-user] core i5

2010-06-23 Thread Mark Knecht
On Wed, Jun 23, 2010 at 1:54 PM, Stefan G. Weichinger li...@xunil.at wrote:
 Am 23.06.2010 03:43, schrieb Mark Knecht:
 I'm writing you from an Intel Core i5-661 Clarksdale machine using the
 built in graphics. I've been fairly impressed with the processor
 itself, not very impressed with the stock cooling they supplied, and
 in general find the graphics at least acceptable for my needs as a
 desktop machine.

 That's one of my questions: I currently use a passive Nvidia GeForce
 9600 GT here so to be able to play some games now and then (quite good
 performance compared to my former card but chosen for being quiet and
 cool while I work).

 I don't know if the builtin graphics will allow gaming on the same
 level, I should go for some benchmark results. But this is definitely
 not important ... just a nice to have feature maybe.

Depending on the MB you choose - I'm using an Intel DH55HC - you might
not even get access to the built-in graphics chip. It requires certain
chipsets and then certain connection on the MB and not all Core i5
MB's that accept the i5-661 have it. I'm sure you know that already
but maybe the info is helpful for others later.

The DH55HC has been a pretty good MB over the last 4-5 months that
I've been running the machine and the graphics are OK. They were not
so good 5 months ago but the driver has gotten noticeably better.


 The i5-661 cores are actually the fastest cores I have, and I've also
 got an i7-920 and an i7-980x. The i5-661 is only 2 cores/4 threads,
 but the cores are clocked at a higher rate than the other machine and
 on simple non-multi-threaded apps outperform the other machines.
 However when I'm running something compute intensive I've had the
 machine over heat using stock cooling so get a good CPU fan. (Yeah,
 the i7-980x is pretty nice also as it has 12 threads to play with and
 builds KDE from source in a little over an hour.)

 So you run make -j13 or something?


Exactly. -j13. However there are things to learn about machine
configuration at this level. The disk systems start operating
differently when you have a lot of memory. I'm running 24GB of DRAM on
that machine and this effects the way the kernel looks at write back
to disk and what not. No problems, just new things to learn.

 This machine has 3 old hard drives in it as well as 2 sound cards and
 a 1394 card and along with the two LCD monitors it still draws only
 about 150W so I'm pretty happy with the cost of running it day to day.

 I've not used it at all for Myth since I moved mostly to DirecTV but I
 suspect it wouldn't do badly assuming there's no issues with the Intel
 Graphics driver. I cannot help you there.

 I only run mythfrontend here sometimes, mostly in a window on one of the
 two monitors. I got used to compiz, even for daily work, but that
 shouldn't be much load for the intel graphics.


I've wanted to check out compiz but haven't had the time to learn. One
down side to running Gentoo is that you cannot do much of anything
like that without considerable study before hand...

 What I would like to speed up is updating various VMs, I have quite some
 linuxes in VMs, some of them gentoo-based, and running emerge -avuDN
 world on them could always need some speedup ;-)


For the price it's been a good purchase I think. I've run Windows XP
and Win 7 in vmware and the speed is pretty close to identical on the
apps I use. (Mostly TradeStation) I won't do live stock trading in Win
7 under Gentoo yet but maybe one of these days. It's been very stable
but for safety most of the time when I'm trading I just run Win 7
native.

 Thanks, Stefan

You are welcome!

Cheers,
Mark



Re: [gentoo-user] core i5

2010-06-23 Thread Stefan G. Weichinger
Am 24.06.2010 00:13, schrieb Mark Knecht:

 I don't know if the builtin graphics will allow gaming on the same 
 level, I should go for some benchmark results. But this is
 definitely not important ... just a nice to have feature maybe.
 
 Depending on the MB you choose - I'm using an Intel DH55HC - you
 might not even get access to the built-in graphics chip. It requires
 certain chipsets and then certain connection on the MB and not all
 Core i5 MB's that accept the i5-661 have it. I'm sure you know that
 already but maybe the info is helpful for others later.

I knew part of it ;-)

I preferred Intel boards for years now and wasn't disappointed.

Maybe this time I chose a Lenovo machine with 3 yrs support ...?

M90p they call it, I don't know 

 The DH55HC has been a pretty good MB over the last 4-5 months that 
 I've been running the machine and the graphics are OK. They were not 
 so good 5 months ago but the driver has gotten noticeably better.

Windows driver, I assume?

 So you run make -j13 or something?
 
 Exactly. -j13. However there are things to learn about machine 
 configuration at this level. The disk systems start operating 
 differently when you have a lot of memory. I'm running 24GB of DRAM
 on that machine and this effects the way the kernel looks at write
 back to disk and what not. No problems, just new things to learn.

interesting.

How do you use up 24 gigs of DRAM?
Just tell me, I would like to justify that for me as well ;-)

 I've wanted to check out compiz but haven't had the time to learn.
 One down side to running Gentoo is that you cannot do much of
 anything like that without considerable study before hand...

Sure ... compiz is part eyecandy, part useful little features. I got
used to the features (=would somehow miss them) and the eyecandy (= ah,
yes, it rotates ... hmm, sure ...).

:-)

 For the price it's been a good purchase I think. I've run Windows XP 
 and Win 7 in vmware and the speed is pretty close to identical on
 the apps I use. (Mostly TradeStation) I won't do live stock trading
 in Win 7 under Gentoo yet but maybe one of these days. It's been very
 stable but for safety most of the time when I'm trading I just run
 Win 7 native.

dualboot then. Haven't booted Windows for months here. Should maybe do
and do some gaming instead of hacking around ...

;-)

Thanks, greets, Stefan



[gentoo-user] unable to drive the VGA output

2010-06-23 Thread 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)

* 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



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

2010-06-23 Thread Walter Dnes
/portage/sys-devel/gcc-4.4.3-r2/work/gcc-4.4.3/libgfortran -I. 
-iquote/var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/gcc-4.4.3/libgfortran/io 
-I/var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/gcc-4.4.3/libgfortran/../gcc 
-I/var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/gcc-4.4.3/libgfortran/../gcc/config
 -I../.././gcc -D_GNU_SOURCE -I . -Wall -Werror -fimplicit-none 
-fno-repack-arrays -fno-underscoring -fallow-leading-underscore -c 
/var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/gcc-4.4.3/libgfortran/generated/_atanh_r10.F90
  -fPIC -o .libs/_atanh_r10.o
libtool: compile:  
/var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/build/./gcc/gfortran 
-B/var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/build/./gcc/ 
-B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem 
/usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include 
-DHAVE_CONFIG_H -I. 
-I/var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/gcc-4.4.3/libgfortran -I. 
-iquote/var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/gcc-4.4.3/libgfortran/io 
-I/var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/gcc-4.4.3/libgfortran/../gcc 
-I/var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/gcc-4.4.3/libgfortran/../gcc/config
 -I../.././gcc -D_GNU_SOURCE -I . -Wall -Werror -fimplicit-none 
-fno-repack-arrays -fno-underscoring -fallow-leading-underscore -c 
/var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/gcc-4.4.3/libgfortran/generated/_atanh_r10.F90
 -o _atanh_r10.o /dev/null 21
make[3]: *** [_atanh_r10.lo] Error 1
make[3]: Leaving directory 
`/var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/build/x86_64-pc-linux-gnu/libgfortran'
make[2]: *** [all] Error 2
make[2]: Leaving directory 
`/var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/build/x86_64-pc-linux-gnu/libgfortran'
make[1]: *** [all-target-libgfortran] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/build'
make: *** [bootstrap-lean] Error 2
 * ERROR: sys-devel/gcc-4.4.3-r2 failed:
 *   emake failed with bootstrap-lean
 * 
 * Call stack:
 * ebuild.sh, line   54:  Called src_compile
 *   environment, line 5135:  Called toolchain_src_compile
 *   environment, line 5730:  Called gcc_src_compile
 *   environment, line 3288:  Called gcc_do_make
 *   environment, line 3075:  Called die
 * The specific snippet of code:
 *   emake LDFLAGS=${LDFLAGS} STAGE1_CFLAGS=${STAGE1_CFLAGS} 
LIBPATH=${LIBPATH} BOOT_CFLAGS=${BOOT_CFLAGS} ${GCC_MAKE_TARGET} || die 
emake failed with ${GCC_MAKE_TARGET};
 * 
 * If you need support, post the output of 'emerge --info 
=sys-devel/gcc-4.4.3-r2',
 * the complete build log and the output of 'emerge -pqv 
=sys-devel/gcc-4.4.3-r2'.
 * The complete build log is located at 
'/var/log/portage/sys-devel:gcc-4.4.3-r2:20100623-213852.log'.
 * The ebuild environment file is located at 
'/var/tmp/portage/sys-devel/gcc-4.4.3-r2/temp/environment'.
 * S: '/var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/build'
[ebuild   R   ] sys-devel/gcc-4.4.3-r2  USE=fortran nptl (-altivec) -bootstrap 
-build -doc (-fixed-point) -gcj -graphite -gtk (-hardened) (-libffi) -mudflap 
(-multilib) -multislot (-n32) (-n64) -nls -nocxx -objc -objc++ -objc-gc -openmp 
-test -vanilla 
Portage 2.1.8.3 (default/linux/amd64/10.0/no-multilib, gcc-4.3.4, 
glibc-2.11.1-r0, 2.6.32-gentoo-r7 x86_64)
=
System Settings
=
System uname: 
linux-2.6.32-gentoo-r7-x86_64-intel-r-_core-tm-_i3_cpu_5...@_2.93ghz-with-gentoo-1.12.13
Timestamp of tree: Wed, 23 Jun 2010 01:15:01 +
app-shells/bash: 4.0_p37
dev-lang/python: 2.6.5-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:1.6-r2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:   4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS=amd64
ACCEPT_LICENSE=*
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/gconf 
/etc/revdep-rebuild /etc/sandbox.d /etc/terminfo
CXXFLAGS=-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=assume-digests distlocks fixpackages news parallel-fetch 
protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch
GENTOO_MIRRORS=http://mirrors.acm.cs.rpi.edu/gentoo/ 
http://gentoo.netnitco.net;
LDFLAGS=-Wl,-O1
MAKEOPTS=-j1
PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles 
--exclude=/local --exclude=/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://rsync.namerica.gentoo.org/gentoo-portage
USE=X a52 aac amd64 bzip2 dga dri exif ffmpeg flac fortran gif intel joystick 
jpeg mmx mng

Re: [gentoo-user] core i5

2010-06-23 Thread Mark Knecht
On Wed, Jun 23, 2010 at 3:38 PM, Stefan G. Weichinger li...@xunil.at wrote:
 Am 24.06.2010 00:13, schrieb Mark Knecht:

 I don't know if the builtin graphics will allow gaming on the same
 level, I should go for some benchmark results. But this is
 definitely not important ... just a nice to have feature maybe.

 Depending on the MB you choose - I'm using an Intel DH55HC - you
 might not even get access to the built-in graphics chip. It requires
 certain chipsets and then certain connection on the MB and not all
 Core i5 MB's that accept the i5-661 have it. I'm sure you know that
 already but maybe the info is helpful for others later.

 I knew part of it ;-)

 I preferred Intel boards for years now and wasn't disappointed.

 Maybe this time I chose a Lenovo machine with 3 yrs support ...?

 M90p they call it, I don't know 

 The DH55HC has been a pretty good MB over the last 4-5 months that
 I've been running the machine and the graphics are OK. They were not
 so good 5 months ago but the driver has gotten noticeably better.

 Windows driver, I assume?


No, I was speaking of the IntelGFX drivers. Sorry for any confusion.
Although I am somewhat forced to use this machine most of the time
running Windows I've tried to keep my comments mostly directed toward
running MythTV  Gentoo.

 So you run make -j13 or something?

 Exactly. -j13. However there are things to learn about machine
 configuration at this level. The disk systems start operating
 differently when you have a lot of memory. I'm running 24GB of DRAM
 on that machine and this effects the way the kernel looks at write
 back to disk and what not. No problems, just new things to learn.

 interesting.

 How do you use up 24 gigs of DRAM?
 Just tell me, I would like to justify that for me as well ;-)


5 copies of Win7 running in vmware VMs. Each VM gets 20GB of RAID0, 2
processors and 4GB of RAM. That's 100GB, 20GB DRAM and 10 threads
total. I then have 2 i7-980X threads  4GB DRAM for running Gentoo as
the host. Gentoo runs on RAID1 and I have an additional RAID1 which I
use to back up the RAID0 daily.


 I've wanted to check out compiz but haven't had the time to learn.
 One down side to running Gentoo is that you cannot do much of
 anything like that without considerable study before hand...

 Sure ... compiz is part eyecandy, part useful little features. I got
 used to the features (=would somehow miss them) and the eyecandy (= ah,
 yes, it rotates ... hmm, sure ...).

 :-)

 For the price it's been a good purchase I think. I've run Windows XP
 and Win 7 in vmware and the speed is pretty close to identical on
 the apps I use. (Mostly TradeStation) I won't do live stock trading
 in Win 7 under Gentoo yet but maybe one of these days. It's been very
 stable but for safety most of the time when I'm trading I just run
 Win 7 native.

 dualboot then. Haven't booted Windows for months here. Should maybe do
 and do some gaming instead of hacking around ...


Yeah, dual boot is what I'm doing with the i5-661. The i7-980X only
runs Gentoo and if I need Windows it's in the 5 VMs described above.

The 980X is expensive to run. It's got 5 hard drives in it (2 for
RAID0, 3 for RAID1) plus the processor and all that memory burns over
300W at idle.

Cheers,
Mark

 ;-)

 Thanks, greets, Stefan





Re: [gentoo-user] core i5

2010-06-23 Thread kashani

On 6/23/2010 1:56 PM, Stefan G. Weichinger wrote:

Am 23.06.2010 04:27, schrieb kashani:


 I updated from a Q6600 to an i7 860 recently. Not amazing speed
wise, but I can run 8 threads and use more than 8GB of RAM. The RAM was
the big thing for me. If you're planning to do a lot with VMs I'd
suggest at least an extra drive if not more if you can swing it.


You mean for storing the VMs?
I have two drives locally now, RAID1 mostly. And I also test storing VMs
on an nfsV4-storage via gigabit ethernet. Quite OK. And NFS-storage is
more quiet ;-)


	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.


kashani