Re: [gentoo-user] Apache and PHP5

2010-12-05 Thread Mick
On Saturday 04 December 2010 19:27:57 Dan Johansson wrote:
 Today I emerged mysql, apache, PHP5, phpmyadmin and joomla on a Laptop
 (~x86) to be able to play a bit with Joomla. But I can not get phpmyadmin
 or Joomla to work (both with the same error).
 
 Mysql and apache starts OK and the the phpmyadmin setup page
 (http://localhost/phpmyadmin/setup) loads fine - but when I press the
 Save-button all I get back is a blank page (the same is true for Joomla -
 after selecting the language and pressing Next - all I get is a black
 page)- In apache's error-log I see the following in both cases:
 
 [Sat Dec 04 19:54:35 2010] [notice] child pid 3134 exit signal Segmentation
 fault (11)
 
 I've had a look at bugs.gentoo.org but could not find anything with
 php-5.3.3 or Apache-2.2.16 (just with older versions of php and Apache).
 
 Any suggestions on where to start to search for a solution or still better
 a solution?

This is a pretty obscure fault.  It could be some module clash that leads to 
it.  You could try disabling modules you don't need to see what gives, or try 
emerging older packages.

If you want to compare I am running www-servers/apache-2.2.16 and dev-
lang/php-5.3.3-r1 without such problems.  These are my USE flags:

dev-lang/php-5.3.3-r1

Installed versions:  5.3.3-r1(5)(20:07:00 15/10/10)(apache2 berkdb bzip2 cli 
crypt ctype exif fileinfo filter gd gdbm hash iconv json ldap mysql nls phar 
posix readline session simplexml spell ssl tokenizer truetype unicode xml 
xmlreader xmlwriter zlib -adabas -bcmath -birdstep -calendar -cdb -cgi -cjk -
concurrentmodphp -curl -curlwrappers -db2 -dbmaker -debug -doc -embed -empress 
-empress-bcs -enchant -esoob -firebird -flatfile -fpm -frontbase -ftp -gd-
external -gmp -imap -inifile -interbase -intl -iodbc -ipv6 -kerberos -kolab -
ldap-sasl -libedit -mssql -mysqli -mysqlnd -oci8 -oci8-instant-client -odbc -
pcntl -pdo -pic -postgres -qdbm -recode -sapdb -sharedext -sharedmem -snmp -
soap -sockets -solid -sqlite -sqlite3 -suhosin -sybase-ct -sysvipc -threads -
tidy -wddx -xmlrpc -xpm -xsl -zip)

www-servers/apache-2.2.16

Installed versions:  2.2.16(2)(22:38:16 15/10/10)(apache2_modules_actions 
apache2_modules_alias apache2_modules_auth_basic apache2_modules_authn_alias 
apache2_modules_authn_anon apache2_modules_authn_dbm 
apache2_modules_authn_default apache2_modules_authn_file 
apache2_modules_authz_dbm apache2_modules_authz_default 
apache2_modules_authz_groupfile apache2_modules_authz_host 
apache2_modules_authz_owner apache2_modules_authz_user 
apache2_modules_autoindex apache2_modules_cache apache2_modules_cgi 
apache2_modules_cgid apache2_modules_dav apache2_modules_dav_fs 
apache2_modules_dav_lock apache2_modules_deflate apache2_modules_dir 
apache2_modules_disk_cache apache2_modules_env apache2_modules_expires 
apache2_modules_ext_filter apache2_modules_file_cache apache2_modules_filter 
apache2_modules_headers apache2_modules_include apache2_modules_info 
apache2_modules_log_config apache2_modules_logio apache2_modules_mem_cache 
apache2_modules_mime apache2_modules_mime_magic apache2_modules_negotiation 
apache2_modules_rewrite apache2_modules_setenvif apache2_modules_speling 
apache2_modules_status apache2_modules_unique_id apache2_modules_userdir 
apache2_modules_usertrack apache2_modules_vhost_alias ldap ssl -
apache2_modules_asis -apache2_modules_auth_digest -apache2_modules_authn_dbd -
apache2_modules_cern_meta -apache2_modules_charset_lite -apache2_modules_dbd -
apache2_modules_dumpio -apache2_modules_ident -apache2_modules_imagemap -
apache2_modules_log_forensic -apache2_modules_proxy -apache2_modules_proxy_ajp 
-apache2_modules_proxy_balancer -apache2_modules_proxy_connect -
apache2_modules_proxy_ftp -apache2_modules_proxy_http -
apache2_modules_substitute -apache2_modules_version -apache2_mpms_event -
apache2_mpms_itk -apache2_mpms_peruser -apache2_mpms_prefork -
apache2_mpms_worker -debug -doc -selinux -static -suexec -threads)

HTH.
-- 
Regards,
Mick


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


[gentoo-user] Re: Apache and PHP5

2010-12-05 Thread Holger Hoffstaette
On Sat, 04 Dec 2010 20:27:57 +0100, Dan Johansson wrote:

 Today I emerged mysql, apache, PHP5, phpmyadmin and joomla on a Laptop
 (~x86) to be able to play a bit with Joomla. But I can not get phpmyadmin
 or Joomla to work (both with the same error).
 
 Mysql and apache starts OK and the the phpmyadmin setup page
 (http://localhost/phpmyadmin/setup) loads fine - but when I press the
 Save-button all I get back is a blank page (the same is true for Joomla -
 after selecting the language and pressing Next - all I get is a black
 page)- In apache's error-log I see the following in both cases:
 
 [Sat Dec 04 19:54:35 2010] [notice] child pid 3134 exit signal
 Segmentation fault (11)

I just replied to your bug :) It's a wrong-code problem with gcc-4.5.1.
For reference, in case anyone else also sees their apache suddenly
crashing: http://bugs.gentoo.org/show_bug.cgi?id=347782

-h





Re: [gentoo-user] Apache and PHP5

2010-12-05 Thread Dan Johansson
On Sunday 05 December 2010 10.02:48 Mick wrote:
 On Saturday 04 December 2010 19:27:57 Dan Johansson wrote:
  Today I emerged mysql, apache, PHP5, phpmyadmin and joomla on a Laptop
  (~x86) to be able to play a bit with Joomla. But I can not get phpmyadmin
  or Joomla to work (both with the same error).
  
  Mysql and apache starts OK and the the phpmyadmin setup page
  (http://localhost/phpmyadmin/setup) loads fine - but when I press the
  Save-button all I get back is a blank page (the same is true for Joomla -
  after selecting the language and pressing Next - all I get is a black
  page)- In apache's error-log I see the following in both cases:
  
  [Sat Dec 04 19:54:35 2010] [notice] child pid 3134 exit signal Segmentation
  fault (11)
  
  I've had a look at bugs.gentoo.org but could not find anything with
  php-5.3.3 or Apache-2.2.16 (just with older versions of php and Apache).
  
  Any suggestions on where to start to search for a solution or still better
  a solution?
 
 This is a pretty obscure fault.  It could be some module clash that leads to 
 it.  You could try disabling modules you don't need to see what gives, or try 
 emerging older packages.

In the meantime I did open a bug 
(http://bugs.gentoo.org/show_bug.cgi?id=347782) and prompt got a suggestion on 
what the problem is. The problem is with sys-devel/gcc, I had version 4.5.1-r1 
installed and apache does not get cleanly compiled with this version. After 
reverting back to gcc version 4.4.5 and recompiling apache everything works OK 
(so far).

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



[gentoo-user] Qt builtin widget styles not applied

2010-12-05 Thread Erik
I only get Qt default style, and when I install kde-base/kstyles-4.5.3 i 
only get Oxygen. But none of the other styles, (CDE, Cleanlooks, MS 
Windows 9x,Motif, Plastique) that are supposed to be built into Qt-GUI 
4.6.3-r2 (and 4.7.1-r1), can be applied. (The selected style's name is 
saved to ~/.kde4/share/config/kdeglobals though.) What is wrong?





Re: [gentoo-user] cgroupd really do work!

2010-12-05 Thread Florian Philipp
Am 04.12.2010 22:00, schrieb Mark Knecht:
 On Fri, Dec 3, 2010 at 6:16 PM, William Kenworthy bi...@iinet.net.au wrote:
 On Fri, 2010-12-03 at 17:20 -0800, Mark Knecht wrote:
 On Fri, Dec 3, 2010 at 4:41 PM, William Kenworthy bi...@iinet.net.au 
 wrote:
 Re the discussion on cgroups on the 24/25 november - on my old AMD
 barton 2500+ desktop - in the past a load of anything more than 5 made
 it very painful to use.  Add in running windows in a qemu vm at the same
 time (all in 1.5G ram) and its almost unusable as an interactive
 desktop.

 Now, with Florians (thanks for the scripts) version of using it on
 gentoo, even at a load in excess of 12, its almost as good as with no
 load for desktop operations!

 To get the high load I am compiling a new kernel, running win2k in qemu,
 emerging latest updates, browsing the web and reading email in
 evolution, running updatedb and other cron jobs (just restarted after a
 tuxonice hibernate so everything is triggering at once!).

 Really, really, really neat!
 BillK

[...]
 
 If you're up for it maybe try putting doing a Gentoo Wiki page.
 
 Sounds like it's working pretty well. I'd like to try it but I don't
 have much time to focus on digging out the info.
 
 Congrats!
 -Mark
 

As you wish:
http://en.gentoo-wiki.com/wiki/Improve_responsiveness_with_cgroups

I welcome any improvements. This is my first wiki article and English is
not my mother tongue.

Hope this helps,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] cgroupd really do work!

2010-12-05 Thread Mark Knecht
On Sun, Dec 5, 2010 at 6:55 AM, Florian Philipp
li...@f_philipp.fastmail.net wrote:
 Am 04.12.2010 22:00, schrieb Mark Knecht:
 On Fri, Dec 3, 2010 at 6:16 PM, William Kenworthy bi...@iinet.net.au wrote:
 On Fri, 2010-12-03 at 17:20 -0800, Mark Knecht wrote:
 On Fri, Dec 3, 2010 at 4:41 PM, William Kenworthy bi...@iinet.net.au 
 wrote:
 Re the discussion on cgroups on the 24/25 november - on my old AMD
 barton 2500+ desktop - in the past a load of anything more than 5 made
 it very painful to use.  Add in running windows in a qemu vm at the same
 time (all in 1.5G ram) and its almost unusable as an interactive
 desktop.

 Now, with Florians (thanks for the scripts) version of using it on
 gentoo, even at a load in excess of 12, its almost as good as with no
 load for desktop operations!

 To get the high load I am compiling a new kernel, running win2k in qemu,
 emerging latest updates, browsing the web and reading email in
 evolution, running updatedb and other cron jobs (just restarted after a
 tuxonice hibernate so everything is triggering at once!).

 Really, really, really neat!
 BillK

 [...]

 If you're up for it maybe try putting doing a Gentoo Wiki page.

 Sounds like it's working pretty well. I'd like to try it but I don't
 have much time to focus on digging out the info.

 Congrats!
 -Mark


 As you wish:
 http://en.gentoo-wiki.com/wiki/Improve_responsiveness_with_cgroups

 I welcome any improvements. This is my first wiki article and English is
 not my mother tongue.

 Hope this helps,
 Florian Philipp



VERY nice start! Thanks!

Cheers,
Mark



Re: [gentoo-user] cgroupd really do work!

2010-12-05 Thread Florian Philipp
Am 05.12.2010 15:55, schrieb Florian Philipp:
 Am 04.12.2010 22:00, schrieb Mark Knecht:
 On Fri, Dec 3, 2010 at 6:16 PM, William Kenworthy bi...@iinet.net.au wrote:
 On Fri, 2010-12-03 at 17:20 -0800, Mark Knecht wrote:
 On Fri, Dec 3, 2010 at 4:41 PM, William Kenworthy bi...@iinet.net.au 
 wrote:
 Re the discussion on cgroups on the 24/25 november - on my old AMD
 barton 2500+ desktop - in the past a load of anything more than 5 made
 it very painful to use.  Add in running windows in a qemu vm at the same
 time (all in 1.5G ram) and its almost unusable as an interactive
 desktop.

 Now, with Florians (thanks for the scripts) version of using it on
 gentoo, even at a load in excess of 12, its almost as good as with no
 load for desktop operations!

 To get the high load I am compiling a new kernel, running win2k in qemu,
 emerging latest updates, browsing the web and reading email in
 evolution, running updatedb and other cron jobs (just restarted after a
 tuxonice hibernate so everything is triggering at once!).

 Really, really, really neat!

 If you're up for it maybe try putting doing a Gentoo Wiki page.

 Sounds like it's working pretty well. I'd like to try it but I don't
 have much time to focus on digging out the info.

 
 As you wish:
 http://en.gentoo-wiki.com/wiki/Improve_responsiveness_with_cgroups
 
 I welcome any improvements. This is my first wiki article and English is
 not my mother tongue.
 

Hmm, I just noticed that something is not right here: Everything works
fine as long as I limit the cgroups to cpu scheduling (`mount -t cgroup
cgroup /dev/cgroup -o cpu`). As soon as I add the blkio subsystem for
disk I/O scheduling (-o cpu,blkio or no -o at all), I can no longer
create cgroup hierarchies. Only the top level user cgroup is accepted.

Another issue is that the kernel documentation in
/usr/src/linux/Documentation/cgroups/cgroups.txt specifies that the
release_agent can also be included as a mount option with
`mount -t cgroup cgroup /dev/cgroup -o
cpu,release_agent='/usr/local/sbin/cgroup_clean'`
That seems to be no valid option, though. At least on my system it
causes mount to fail. Unfortunately there is no output on dmesg.

Can someone else reproduce this? I'm on gentoo-sources-2.6.34-r12.

Thanks in advance!
Florian Philipp



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Re: No cdrom device created

2010-12-05 Thread walt

On 12/04/2010 03:48 PM, Harry Putnam wrote:

I think I found the reason for a long standing problem I've had with
the machine locking up.

I see no evidence of a cdrom link or device name in /dev.

dmesg seems to show that it is recognized on boot, but I'm not smart
enough to know what the lines from dmesg really mean:

Just showing the key lines here but the full dmesg output can be views
if so desired at this link:  www.jtan.com/~reader/dmesg-101204.txt

dmesg|grep -2 hdc

[1.416847] hdb: UDMA/100 mode selected
[1.417357] Probing IDE interface ide1...
[2.089165] hdc: LITE-ON CD-ROM LTN-5291S, ATAPI CD/DVD-ROM drive


You're still using the deprecated ATA/ATAPI/MFM/RLL disk drivers. You
should completely unselect that set of drivers and use the newer ones
in Serial ATA and Parallel ATA drivers instead.

Doing that will cause all of your /dev/hd* to be renamed /dev/sd*
including any cd/dvd drives.  My /dev/cdrom is a symlink to /dev/sr0,
for example.  The links are created automatically on the next reboot,
but you'll need to edit /etc/fstab to reflect the new drive names
before you reboot with the new kernel.




[gentoo-user] Make use of Dell 5520 Voda built-in HSDPA modem.

2010-12-05 Thread Gary Golden
Hi. I have a dell xps M1530 machine with built-in 3g modem:
$ /usr/sbin/lsusb | grep -i hsdpa
Bus 007 Device 002: ID 413c:8138 Dell Computer Corp. Wireless 5520 Voda
I Mobile Broadband (3G HSDPA) Minicard EAP-SIM Port

Ideally, to manage broadband connections with network-manager.
But, when I try to create one there is no modems listed in networkmanager.

Do I need a kernel module? If yes, which one?

-- 
Gary Golden



Re: [gentoo-user] Make use of Dell 5520 Voda built-in HSDPA modem.

2010-12-05 Thread Florian Philipp
Am 05.12.2010 04:48, schrieb Gary Golden:
 Hi. I have a dell xps M1530 machine with built-in 3g modem:
 $ /usr/sbin/lsusb | grep -i hsdpa
 Bus 007 Device 002: ID 413c:8138 Dell Computer Corp. Wireless 5520 Voda
 I Mobile Broadband (3G HSDPA) Minicard EAP-SIM Port
 
 Ideally, to manage broadband connections with network-manager.
 But, when I try to create one there is no modems listed in networkmanager.
 
 Do I need a kernel module? If yes, which one?
 

Try to add the following to your kernel config:

Device Drivers  ---
[*] USB support  ---
M   USB Serial Converter support  ---
M   USB driver for GSM and CDMA modems

If everything goes well, you should find something like /dev/ttyUSB0 in
your filesystem.

Hope this helps,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


[gentoo-user] pykde4 need some help

2010-12-05 Thread András Csányi
Hi Guys,

I wanted to upgrade my desktop and I have got this:

Somebody knows what should I do? I didn't find anything in
bugs.gentoo.org. Should I report it?

Thanks!

-- Configuring done
-- Generating done
-- Build files have been written to:
/var/tmp/portage/kde-base/pykde4-4.5.4/work/pykde4-4.5.4_build
 Source configured.
 Compiling source in 
 /var/tmp/portage/kde-base/pykde4-4.5.4/work/pykde4-4.5.4 ...
 Working in BUILD_DIR: 
 /var/tmp/portage/kde-base/pykde4-4.5.4/work/pykde4-4.5.4_build
make -j3
 Source compiled.
 Test phase [not enabled]: kde-base/pykde4-4.5.4

 Install pykde4-4.5.4 into /var/tmp/portage/kde-base/pykde4-4.5.4/image/ 
 category kde-base
 Working in BUILD_DIR: 
 /var/tmp/portage/kde-base/pykde4-4.5.4/work/pykde4-4.5.4_build
make -j3 DESTDIR=/var/tmp/portage/kde-base/pykde4-4.5.4/image/ install
make: *** No rule to make target `install'.  Stop.
emake failed
 * ERROR: kde-base/pykde4-4.5.4 failed:
 *   died running make install, base_src_install
 *
 * Call stack:
 * ebuild.sh, line   56:  Called src_install
 *   environment, line 6414:  Called kde4-meta_src_install
 *   environment, line 4004:  Called kde4-base_src_install
 *   environment, line 3586:  Called cmake-utils_src_install
 *   environment, line 1742:  Called _execute_optionaly 'src_install'
 *   environment, line  736:  Called enable_cmake-utils_src_install
 *   environment, line 2169:  Called base_src_install
 *   environment, line 1382:  Called die
 * The specific snippet of code:
 *   emake DESTDIR=${D} $@ install || die died running make
install, $FUNCNAME;
 *
 * If you need support, post the output of 'emerge --info
=kde-base/pykde4-4.5.4',
 * the complete build log and the output of 'emerge -pqv
=kde-base/pykde4-4.5.4'.
 * The complete build log is located at
'/var/tmp/portage/kde-base/pykde4-4.5.4/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/kde-base/pykde4-4.5.4/temp/environment'.
 * S: '/var/tmp/portage/kde-base/pykde4-4.5.4/work/pykde4-4.5.4'



-- 
- -
--  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --
http://facebook.com/andras.csanyi
--  Trust in God and keep your gunpowder dry! - Cromwell



[gentoo-user] Re: Re: Re: CPU socket and picking a heat sink.

2010-12-05 Thread masterprometheus
Dale wrote:

 masterprometheus wrote:
 Dale wrote:

 Your motherboard includes a serial port header. The only thing you 
need
 is a port like this one :

 http://www.cablestogo.com/product.asp?cat_id=3543sku=09480#

 
 Thanks for the link.  If the mobo does have that when it gets here, 
I'll
 be ordering that.  

Your mobo has that connector. You can see it in newegg's pictures.


 Which coolermaster you picked ? Good luck.

 I picked this monster:
 
 http://www.newegg.com/Product/Product.aspx?Item=N82E1689160
 
 I got it in already and it is nice, especially compared to my old case.

It's a great one. Would be my choice too if I had to buy a new chassis. 
The price is more than you paid for your CPU and you're saying you don't 
have money for a better mobo :) ? Actually paying for a good computer 
case is a great idea, you won't regret. 

BTW something I forgot to mention is that the other expensive gigabyte 
mobo has a dedicated memory (128 MB DDR3) for its integrated graphics 
(called sideport memory by AMD). Not a big deal but it's a nice feature. 

Last, I hope you have a good PSU, don't use a crappy one. If you need 
help picking one, don't hesitate to ask. 




Re: [gentoo-user] pykde4 need some help

2010-12-05 Thread Volker Armin Hemmann
Hi,

I hit the exactly same problem. Rebuilding PyQt and other deps of pykde solved 
it.



[gentoo-user] Re: Somewhat OT. Building a rig. Want to get opinions before spending $$$

2010-12-05 Thread masterprometheus
Dale wrote:


 
 http://www.newegg.com/Product/Product.aspx?Item=N82E16817153116
 
 Thermaltake TR2 TRX-650M 650W ATX 12V v2.3 / EPS 12V Power supply.  I
 like this brand and would like to stay with this but if the price is
 right, I could be tempted to change my mind.  My biggest question on
 this, can this handle this mobo, CPU, video card and 3 to 4 drives
 including a DVD burner?
 
 http://www.newegg.com/Product/Product.aspx?Item=N82E16819103644

I saw that you already bought it. It's a below average product. Should 
still work fine for this system. 

http://www.newegg.com/Product/Product.aspx?Item=N82E16817371021
http://www.newegg.com/Product/Product.aspx?Item=N82E16817151095
http://www.newegg.com/Product/Product.aspx?Item=N82E16817207007

All of these are superior products with great prices. If one can get the 
rebate the last one is a steal.

 http://www.newegg.com/Product/Product.aspx?Item=N82E16835118056
 
 ZALMAN CNPS10X FLEX CPU Cooler.  This thing got good reviews and it is
 not priced to high.  According to the searches I have done this will 
fit
 the mobo/CPU and should fit in the case.  Any disagreements on this?

Zalman's cooler is a good one but the one I listed in a prior thread is 
cheaper. Performance is similar. This one of course doesn't need a fan 
and will be silent.

 Crucial Ballistix 4GB (2 x 2GB) 240-Pin DDR3 SDRAM DDR3 1600 (PC3 
12800)
 Desktop Memory.  According to newegg this fits the mobo.  Agree?

Yes a good one. If you don't need the fastest you can get a cheaper kit :
http://www.newegg.com/Product/Product.aspx?Item=N82E16820144478

However no objection to Crucial.
 
 I only plan to build one or the other not both.  I would like to make
 sure everything should fit fine but I would also like to get a opinion.
 I would like a opinion on whether build #2 would be better in the long
 run?  It appears to be a bit faster although the price is not much
 different.  Build #1 is $611.92.  Build #2 is $637.92.  That doesn't
 include shipping but a lot of the items have free shipping anyway.
 Basically, I need this to last me several years since I can't afford to
 rebuild every few years.  Also, one reason for the HUGE CPU cooler, I
 run folding in the winter.  Helps heat the place up a bit.  lol  My
 current rig with a Volcano 12 runs at about 90F at full load.  I would
 like to run pretty close to that since it just makes the CPU last 
longer.
 
 I'm open to ideas, discussion, problems and opinions.  I mostly want to
 make sure each build will work and which I should build.
 
 Thanks for your time and replies.  If you need more info, let me know.

The rest is good to great but that PSU is  






[gentoo-user] The story of a successful move from ~x86 back to x86.

2010-12-05 Thread Marcus Wanner
Hey all, remember me? I'm the guy with the old desktop from this thread:
http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg96277.html

That post tells the beginning of the story pretty nicely. To pick up
where I left off 11 months ago, I used the computer occasionally as a
device to control general IO through the parallel port, but never did
anything with portage. When it got cold about a week ago, I determined
that it was time to bring the box back from the dead to work as a...
space heater. I decided take the ~x86 system, up to date as of January
1st, 2010, and switch back to x86. This was the plan (outlined in a
post, by Alan I do believe, from around the same time as the one linked
to):
1. Change ACCEPT_KEYWORDS from ~x86 to x86 in make.conf.
2. Keyword the specific version of all installed packages which are
newer than the current stable.
3. Gradually wait for x86 to catch up to the installed system and
unkeyword packages as newer versions are installed.

In this case, I did most of the waiting for stable to catch up before
doing anything else, and it turns out that it paid off (only sixteen
packages were in need of keywording). Here's a retroactively simplified
summary of what I did, with a more detailed listing below:
Changed ACCEPT_KEYWORDS to x86 in /etc/make.conf.
emerge --sync
Updated @system
Did the layman symlink thing.
Removed openrc due to file conflicts (seems to have been replaced?)
Had a heck of a time with the libpng 1.2-1.4 update
Was puzzled by with the move from dev-libs/poppler to app-text/poppler
Updated @world
Masked =sys-apps/v86d-0.1.3-r1...it still won't build correctly.
Removed firefox and xulrunner on account of weird slotting problems and
xulrunner taking 1 hour to build.
Removed xsane and sane-backends because it won't build and I won't be
using it.
Was slightly confused by the bluez move.
Manually installed some grub stages.
Keyworded 16 packages which are newer than the current stable (step 2
above).
Was exceedingly confused by the gdbm format changes. The only offending
database was /etc/sasl2/sasldb2, which I renamed hoping it wouldn't
break anything.
Updated the kernel according to my usual procedure.
emerge -e world (took almost exactly 30.5 hours, no errors)

So it's quite possible to move from unstable to stable, it's just not
very pretty. Thanks for your advice way back when; it seems to have
worked out in the end. Any opinions on what I did right/shouldn't have
done the way I did?

Marcus Wanner


Here's my detailed log of all the commands I ran/changes I made, in
chronological order, for those that are interested:
changed /etc/make.conf from ~x86 to x86
emerge --sync
ln -s /var/lib/layman /usr/local/portage/layman
emerge -u system
etc-update
emerge -C openrc #was causing problem
emerge -u system #completing after problem
etc-update
emerge -uD system (128 packs; 112 done)
revdep-rebuild --library '/usr/lib/libpng12.so.0' (it failed because
dev-libs/poppler had moved)
emerge -C dev-libs/poppler (and 2 similar-named reverse deps)
emerge -1 app-text/poppler (to replace it)
revdep-rebuild --library '/usr/lib/libpng12.so.0' (42 packs; failed at
pygtk again)
emerge -av dev-util/lafilefixer
lafilefixer --justfixit
emerge -uD system (pygtk still failing about -lpng12)
emerge libpng:1.2
emerge -uD system (no change)
masked =dev-python/pygtk-2.17.0
emerge -uD system (10 packs)
perl-cleaner --all (17 packs)
emerge -C dev-util/lafilefixer
emerge -u world (49 packs; 6 done; v86d failed due to old kernel)
(updated kernel to 2.6.36-r12)
emerge -1uv x11-drivers/nvidia-drivers (module-rebuild wanted old
version)
emerge -u world (41 packs, failed at first one, v86d, again)
masked =sys-apps/v86d-0.1.3-r1
emerge -u world (38 packs; 11 done; failed at mousepad from cannot find
-lpng12)
/usr/sbin/libpng-1.4.x-update.sh
emerge -C libpng:1.2
emerge -u world (27 packs; 9 done; failed at awesome due to convert
using the wrong libjpeg)
unmasked pygtk since libpng seems to be fixed
revdep-rebuild -L libjpeg.so.7 (failed because of xulrunner upgrade
causing slotting problems)
emerge -C xulrunner
emerge -C firefox (didn't really need them...)
Removed xulrunner and firefox from USE
revdep-rebuild -L libjpeg.so.7 (failed because of sane-backends
downgrade)
emerge -uDav @world (to find to-be-downgraded packages)
emerge -C bluez-libs bluez-utils cwiid (were bocking
net-wireless/bluez-4.75)
emerge -uDav @world (to find to-be-downgraded packages)
Keyworded 16 to-be-downgraded packages; media-sound/lame-3.98.2-r2 and
xfce-base/libxfce4util-4.7.1 were still to be downgraded but are not
major so I unkeyworded them.
revdep-rebuild -L libjpeg.so.7 (wanted to downgrade sane-backends AGAIN)
emerge --oneshot   media-gfx/imagemagick:0 (all the others will be
rebuilt anyway; this one is needed for the upgrade however)
emerge -u world (13 packs; all done)
grub-install --recheck --no-floppy /dev/sda
emerge 

Re: [gentoo-user] pykde4 need some help

2010-12-05 Thread mischdele
I ran into the same thing a few days ago. In my case it was because I forgot 
running python-updater after the latest python update. So running python-
updater worked for me. Probably only rebuilding dev-python/sip and dev-
python/PyQt4 would have done the trick, too, but I didn't test that.

On Sunday 05 December 2010 22:05:34 András Csányi wrote:
 Hi Guys,
 
 I wanted to upgrade my desktop and I have got this:
 
 Somebody knows what should I do? I didn't find anything in
 bugs.gentoo.org. Should I report it?
 
 Thanks!
 
 -- Configuring done
 -- Generating done
 -- Build files have been written to:
 /var/tmp/portage/kde-base/pykde4-4.5.4/work/pykde4-4.5.4_build
 
  Source configured.
  Compiling source in
  /var/tmp/portage/kde-base/pykde4-4.5.4/work/pykde4-4.5.4 ... Working
  in BUILD_DIR:
  /var/tmp/portage/kde-base/pykde4-4.5.4/work/pykde4-4.5.4_build
 
 make -j3
 
  Source compiled.
  Test phase [not enabled]: kde-base/pykde4-4.5.4
  
  Install pykde4-4.5.4 into /var/tmp/portage/kde-base/pykde4-4.5.4/image/
  category kde-base Working in BUILD_DIR:
  /var/tmp/portage/kde-base/pykde4-4.5.4/work/pykde4-4.5.4_build
 
 make -j3 DESTDIR=/var/tmp/portage/kde-base/pykde4-4.5.4/image/ install
 make: *** No rule to make target `install'.  Stop.
 emake failed
  * ERROR: kde-base/pykde4-4.5.4 failed:
  *   died running make install, base_src_install
  *
  * Call stack:
  * ebuild.sh, line   56:  Called src_install
  *   environment, line 6414:  Called kde4-meta_src_install
  *   environment, line 4004:  Called kde4-base_src_install
  *   environment, line 3586:  Called cmake-utils_src_install
  *   environment, line 1742:  Called _execute_optionaly 'src_install'
  *   environment, line  736:  Called enable_cmake-utils_src_install
  *   environment, line 2169:  Called base_src_install
  *   environment, line 1382:  Called die
  * The specific snippet of code:
  *   emake DESTDIR=${D} $@ install || die died running make
 install, $FUNCNAME;
  *
  * If you need support, post the output of 'emerge --info
 =kde-base/pykde4-4.5.4',
  * the complete build log and the output of 'emerge -pqv
 =kde-base/pykde4-4.5.4'.
  * The complete build log is located at
 '/var/tmp/portage/kde-base/pykde4-4.5.4/temp/build.log'.
  * The ebuild environment file is located at
 '/var/tmp/portage/kde-base/pykde4-4.5.4/temp/environment'.
  * S: '/var/tmp/portage/kde-base/pykde4-4.5.4/work/pykde4-4.5.4'



Re: [gentoo-user] Re: Re: Re: CPU socket and picking a heat sink.

2010-12-05 Thread Dale

masterprometheus wrote:

Dale wrote:

   

masterprometheus wrote:
 

Dale wrote:
   
   

Your motherboard includes a serial port header. The only thing you
   

need
   

is a port like this one :

http://www.cablestogo.com/product.asp?cat_id=3543sku=09480#

   

Thanks for the link.  If the mobo does have that when it gets here,
 

I'll
   

be ordering that.
 

Your mobo has that connector. You can see it in newegg's pictures.
   


Well, they have that disclaimer at the bottom that says it is subject to 
change so the one I get may not have one.  It would be my luck anyway.  ;-)




   

Which coolermaster you picked ? Good luck.
   


   

I picked this monster:

http://www.newegg.com/Product/Product.aspx?Item=N82E1689160

I got it in already and it is nice, especially compared to my old case.
 

It's a great one. Would be my choice too if I had to buy a new chassis.
The price is more than you paid for your CPU and you're saying you don't
have money for a better mobo :) ? Actually paying for a good computer
case is a great idea, you won't regret.

BTW something I forgot to mention is that the other expensive gigabyte
mobo has a dedicated memory (128 MB DDR3) for its integrated graphics
(called sideport memory by AMD). Not a big deal but it's a nice feature.

Last, I hope you have a good PSU, don't use a crappy one. If you need
help picking one, don't hesitate to ask.

   


I actually caught the case on sale at tigerdirect.  It was $100.00 with 
free shipping I think.  I bought the power supply there at the same time 
tho so I still had to pay some shipping.  It's a Thermaltake TRX-650M.  
I got it because I have one close to that in my current rig and it has 
been a good one so far.  Since I blow the dust out about every month or 
so, it should last a long time.  I also have a UPS on this thing too.  
It gets some good clean power so that makes it easier on the power supply.


I was googling around the other night and found where someone put womens 
stockings on the case to help filter out the dust.  I got A/C filters 
velcro'd to the intakes on my old case now.  It ain't pretty but it does 
keep out a HUGE amount of dust.


I may order this stuff tomorrow.  I'm still giving the CPU cooler the 
evil eye.  I'm getting the ZALMAN CNPS10X Performa cooler for mine but 
still looking at a couple others.  Basically, I want it to run as cool 
as I can while not putting a gold brick on it.  lol


Dale

:-)  :-)



Re: [gentoo-user] Re: Somewhat OT. Building a rig. Want to get opinions before spending $$$

2010-12-05 Thread Dale

masterprometheus wrote:

Dale wrote:


   

http://www.newegg.com/Product/Product.aspx?Item=N82E16817153116

Thermaltake TR2 TRX-650M 650W ATX 12V v2.3 / EPS 12V Power supply.  I
like this brand and would like to stay with this but if the price is
right, I could be tempted to change my mind.  My biggest question on
this, can this handle this mobo, CPU, video card and 3 to 4 drives
including a DVD burner?

http://www.newegg.com/Product/Product.aspx?Item=N82E16819103644
 

I saw that you already bought it. It's a below average product. Should
still work fine for this system.

http://www.newegg.com/Product/Product.aspx?Item=N82E16817371021
http://www.newegg.com/Product/Product.aspx?Item=N82E16817151095
http://www.newegg.com/Product/Product.aspx?Item=N82E16817207007

All of these are superior products with great prices. If one can get the
rebate the last one is a steal.

   

http://www.newegg.com/Product/Product.aspx?Item=N82E16835118056

ZALMAN CNPS10X FLEX CPU Cooler.  This thing got good reviews and it is
not priced to high.  According to the searches I have done this will
 

fit
   

the mobo/CPU and should fit in the case.  Any disagreements on this?
 

Zalman's cooler is a good one but the one I listed in a prior thread is
cheaper. Performance is similar. This one of course doesn't need a fan
and will be silent.

   


I have always been skittish of a cooler with no fan.  They just don't 
sound right for some reason.  I guess if I saw one in action, I may feel 
a little different.  I do like the large quiet fans tho.  I do like to 
keep the noise to a minimum.  I actually checked Toms hardware for that 
one too.  It is highly rated.   I have a ThermalTake Volcano 12+ on my 
little AMD 2500+.  It runs cool tho.  I'm running folding and have been 
for at least a week now and I'm running 87F for the CPU and the fans are 
~3700 rpms.  Not to bad I guess.   I hope for something like that with 
the new CPU but it may run a little hotter since it has more cores and 
such.




Crucial Ballistix 4GB (2 x 2GB) 240-Pin DDR3 SDRAM DDR3 1600 (PC3
 

12800)
   

Desktop Memory.  According to newegg this fits the mobo.  Agree?
 

Yes a good one. If you don't need the fastest you can get a cheaper kit :
http://www.newegg.com/Product/Product.aspx?Item=N82E16820144478

However no objection to Crucial.
   


One reason I picked it is that it is 4Gb in one stick.  I plan to max it 
out over the next year and then put portage's compile directory on a 
tmpfs in memory, or something to that effect.  I read a while back that 
it speeds up the compile a good bit.  Of course, that SATA drive will 
help to in the meantime.





   

I only plan to build one or the other not both.  I would like to make
sure everything should fit fine but I would also like to get a opinion.
I would like a opinion on whether build #2 would be better in the long
run?  It appears to be a bit faster although the price is not much
different.  Build #1 is $611.92.  Build #2 is $637.92.  That doesn't
include shipping but a lot of the items have free shipping anyway.
Basically, I need this to last me several years since I can't afford to
rebuild every few years.  Also, one reason for the HUGE CPU cooler, I
run folding in the winter.  Helps heat the place up a bit.  lol  My
current rig with a Volcano 12 runs at about 90F at full load.  I would
like to run pretty close to that since it just makes the CPU last
 

longer.
   

I'm open to ideas, discussion, problems and opinions.  I mostly want to
make sure each build will work and which I should build.

Thanks for your time and replies.  If you need more info, let me know.
 

The rest is good to great but that PSU is 

   


Yea, the ones you listed above are good ones.  I just start out with 
what I have used before that worked well and go from there.  I only 
recall one P/S going bad on me tho.  I blew the dust out and didn't know 
that a rubber band came off and got hung in the fan.  I found out a few 
minutes later tho.  It sort of had a bad smell.  :-(


I hope to post some pics somewhere when I get it done.  Going to test my 
cable management skills a little bit.  lol


Dale

:-)  :-)



Re: [gentoo-user] cgroupd really do work!

2010-12-05 Thread Bill Longman

 Hmm, I just noticed that something is not right here: Everything works
 fine as long as I limit the cgroups to cpu scheduling (`mount -t cgroup
 cgroup /dev/cgroup -o cpu`). As soon as I add the blkio subsystem for
 disk I/O scheduling (-o cpu,blkio or no -o at all), I can no longer
 create cgroup hierarchies. Only the top level user cgroup is accepted.

 Another issue is that the kernel documentation in
 /usr/src/linux/Documentation/cgroups/cgroups.txt specifies that the
 release_agent can also be included as a mount option with
 `mount -t cgroup cgroup /dev/cgroup -o
 cpu,release_agent='/usr/local/sbin/cgroup_clean'`
 That seems to be no valid option, though. At least on my system it
 causes mount to fail. Unfortunately there is no output on dmesg.

 Can someone else reproduce this? I'm on gentoo-sources-2.6.34-r12.


I had this very same problem when I was trying this last year, Florian. I
didn't pursue it any further so I can't tell you any solutions. I do
remember it though because it was quite frustrating.

-- 
Bill Longman


[gentoo-user] vmplayer over ssh - very very very slow mouse

2010-12-05 Thread Mark Knecht
Hi,
   Somewhat off topic other than both machines are Gentoo.

   Using my AMD64 machine locally I ssh into a remote AMD64 machine
350 miles away using the following command:

ssh -X -Y -C remoteaddress

   At this point I start vmplayer and from the vmplayer GUI I start a
Windows XP VM on the remote machine displaying it locally. The machine
works fine except the mouse is so slow the VM is almost unusable. Move
the mouse an inch locally and maybe 5-10 seconds later the Win XP
mouse cursor jumps to a new position. There is no sense locally that
you have _any_ control over the remote cursor. It just sits there on
my screen and then suddenly jumps to a new position.

   In general graphics within XP over shh are fine - nearly as fast as
running an X app on the same machine. When I click on something I get
a new app screen within XP painted and displayed here quickly. Only
the mouse cursor is so slow as to make the machine very difficult to
use.

   I'm wondering if there might be a better way to run that sort of
setup so that the cursor responsiveness is more reasonable?

   Currently the remote machine only has vmplayer plus other tools as
installed by the vmware-workstation package. Workstation is not
licensed and not enabled.

Thanks,
Mark



Re: [gentoo-user] Re: Somewhat OT. Building a rig. Want to get opinions before spending $$$

2010-12-05 Thread Mark Knecht
On Sun, Dec 5, 2010 at 3:51 PM, Dale rdalek1...@gmail.com wrote:
SNIP
 Zalman's cooler is a good one but the one I listed in a prior thread is
 cheaper. Performance is similar. This one of course doesn't need a fan
 and will be silent.



 I have always been skittish of a cooler with no fan.  They just don't sound
 right for some reason.  I guess if I saw one in action, I may feel a little
 different.  I do like the large quiet fans tho.  I do like to keep the noise
 to a minimum.  I actually checked Toms hardware for that one too.  It is
 highly rated.   I have a ThermalTake Volcano 12+ on my little AMD 2500+.  It
 runs cool tho.  I'm running folding and have been for at least a week now
 and I'm running 87F for the CPU and the fans are ~3700 rpms.  Not to bad I
 guess.   I hope for something like that with the new CPU but it may run a
 little hotter since it has more cores and such.

They work fine if you have a lot of case cooling. If case fans die or
just shut off for some reason you can lose the processor pretty
quickly, but that's not much different than a CPU fan dieing...

If you're looking for silence go water cooled.

- Mark



Re: [gentoo-user] Re: Re: Re: CPU socket and picking a heat sink.

2010-12-05 Thread Marcus Wanner
On Sun, 2010-12-05 at 17:04 -0600, Dale wrote:
 I actually caught the case on sale at tigerdirect.  It was $100.00 with 
 free shipping I think.  I bought the power supply there at the same time 
 tho so I still had to pay some shipping.  It's a Thermaltake TRX-650M.  
 I got it because I have one close to that in my current rig and it has 
 been a good one so far.  Since I blow the dust out about every month or 
 so, it should last a long time.  I also have a UPS on this thing too.  
 It gets some good clean power so that makes it easier on the power supply.

Hey, to rather rudely butt in, has anyone considered taking the
component mounts off a really old case and building a new one? I mean,
you can use whatever material you want, and it would take probably less
time than shopping endlessly for a cheap pre-made one...

Marcus Wanner





Re: [gentoo-user] Re: Somewhat OT. Building a rig. Want to get opinions before spending $$$

2010-12-05 Thread Dale

Mark Knecht wrote:

On Sun, Dec 5, 2010 at 3:51 PM, Dalerdalek1...@gmail.com  wrote:
SNIP
   

Zalman's cooler is a good one but the one I listed in a prior thread is
cheaper. Performance is similar. This one of course doesn't need a fan
and will be silent.


   

I have always been skittish of a cooler with no fan.  They just don't sound
right for some reason.  I guess if I saw one in action, I may feel a little
different.  I do like the large quiet fans tho.  I do like to keep the noise
to a minimum.  I actually checked Toms hardware for that one too.  It is
highly rated.   I have a ThermalTake Volcano 12+ on my little AMD 2500+.  It
runs cool tho.  I'm running folding and have been for at least a week now
and I'm running 87F for the CPU and the fans are ~3700 rpms.  Not to bad I
guess.   I hope for something like that with the new CPU but it may run a
little hotter since it has more cores and such.
 

They work fine if you have a lot of case cooling. If case fans die or
just shut off for some reason you can lose the processor pretty
quickly, but that's not much different than a CPU fan dieing...

If you're looking for silence go water cooled.

- Mark

   


I agree.  Fanless or not, if you lose the case cooling, you got problems 
real quick.  I just want a efficient cooler since I run folding during 
the winter months.  I also know that the cooler they run, the longer 
they last.


I'm not big on water cooling.  I like to look at pics where people do 
use water cooling but I just don't want water around my puter.  I don't 
even put my glass close to my rig.  It's not even close to my keyboard 
or my desk either.


Weird ain't I?

Dale

:-)  :-)



Re: [gentoo-user] Make use of Dell 5520 Voda built-in HSDPA modem.

2010-12-05 Thread Gary Golden
Thanks a lot! It works.

---
Gary Golden

On 12/05/2010 11:39 PM, Florian Philipp wrote:
 Am 05.12.2010 04:48, schrieb Gary Golden:
 Hi. I have a dell xps M1530 machine with built-in 3g modem:
 $ /usr/sbin/lsusb | grep -i hsdpa
 Bus 007 Device 002: ID 413c:8138 Dell Computer Corp. Wireless 5520 Voda
 I Mobile Broadband (3G HSDPA) Minicard EAP-SIM Port

 Ideally, to manage broadband connections with network-manager.
 But, when I try to create one there is no modems listed in networkmanager.

 Do I need a kernel module? If yes, which one?

 
 Try to add the following to your kernel config:
 
 Device Drivers  ---
 [*] USB support  ---
 M   USB Serial Converter support  ---
 M   USB driver for GSM and CDMA modems
 
 If everything goes well, you should find something like /dev/ttyUSB0 in
 your filesystem.
 
 Hope this helps,
 Florian Philipp
 



Re: [gentoo-user] cgroupd really do work!

2010-12-05 Thread Florian Philipp
Am 06.12.2010 00:54, schrieb Bill Longman:
 
 
 Hmm, I just noticed that something is not right here: Everything works
 fine as long as I limit the cgroups to cpu scheduling (`mount -t cgroup
 cgroup /dev/cgroup -o cpu`). As soon as I add the blkio subsystem for
 disk I/O scheduling (-o cpu,blkio or no -o at all), I can no longer
 create cgroup hierarchies. Only the top level user cgroup is accepted.
 
 Another issue is that the kernel documentation in
 /usr/src/linux/Documentation/cgroups/cgroups.txt specifies that the
 release_agent can also be included as a mount option with
 `mount -t cgroup cgroup /dev/cgroup -o
 cpu,release_agent='/usr/local/sbin/cgroup_clean'`
 That seems to be no valid option, though. At least on my system it
 causes mount to fail. Unfortunately there is no output on dmesg.
 
 Can someone else reproduce this? I'm on gentoo-sources-2.6.34-r12.
 
 
 I had this very same problem when I was trying this last year, Florian.
 I didn't pursue it any further so I can't tell you any solutions. I do
 remember it though because it was quite frustrating.
 
 -- 
 Bill Longman

Thanks for the answer!

I think I've found the answer, at least for the first issue: Look at
this bug: https://bugzilla.kernel.org/show_bug.cgi?id=15980

I still don't know what causes the second issue.

Regards,
Florian Philipp



signature.asc
Description: OpenPGP digital signature