Re: [gentoo-user] nfs over (lvm over nbd) ?
On Wed, 13 May 2009 01:58:18 +0200, Raph wrote: I never did such a setup but already see a couple of problems : - each client need some private HD space to, at least, boot enough to let the NBD daemon start. That's not a problem. Install the OS as usual and mount /home over the network. - $10 question : if 20 users login, will the ethernet be fast enough to support the load ? That depends on how fast the network is and what the users are doing. A bigger question is what happens if one computer goes down? I suspect your whole LVM could fail. This seem s an unnecessarily complex approach. What's wrong with creating each user's home directory on one computer and exporting it to the others over NFS? If each user has a preferred workstation, this will also reduce network usage. -- Neil Bothwick I thought I saw the light at the end of the tunnel... but it was just some sod with a torch bringing me more work! signature.asc Description: PGP signature
Re: [gentoo-user] kde:3.5 how to phase out
Dirk Heinrichs wrote: Am Dienstag, 12. Mai 2009 11:25:07 schrieb Helmut Jarausch: Furthermore, how to unmerge all of KDE:3.5, e.g. emerge --unmerge kde-base/kde-meta:3.5 does not work. paludis --uninstall --with-dependencies =kdelibs-3.5.9 If you have openoffice installed, it will need to be compiled without the kde use flag. Also to compile it make sure you have a default boost selected by using eselect boost. Afterwards you may want to package.mask =kde-base/kdelibs-3.5* A revdep-rebuild is probably in order too. HTH, Roy
Re: [gentoo-user] Konqueror and Flash (again...)
On Tuesday 12 May 2009 22:19:04 Robin Atwood wrote: I have everything at 4.2.3 like you. I rebuilt adobeflash as 32bit but I still get the same error: konqueror(20163) NSPluginLoader::lookup: Looking up plugin for mimetype application/x-shockwave-flash : /opt/netscape/plugins/libflashplayer.so nspluginviewer(20187) NSPluginClass::initialize: results in 0 nspluginviewer(20187) NSPluginInstance::NPGetValue: results in 0 konqueror(20163) NSPluginLoader::newInstance: - NSPluginLoader::NewInstance = 0x12b4540 konqueror(20163) NSPluginInstance::pluginResized: 640 385 konqueror(20163) NSPluginInstance::resizeEvent: 640 385 false true false konqueror(20163) NSPluginInstance::showEvent: 640 385 true true false konqueror(20163) NSPluginLoader::instance: NSPluginLoader::instance - 3 nspluginviewer(20187) PluginHostXEmbed::setupWindow: 102768327 640 385 KCrash: Application 'nspluginviewer' crashing... sock_file=/home/robin/.kde4.2/socket-opal/kdeinit4__0 konqueror(20163) NSPluginLoader::processTerminated: Viewer process terminated konqueror(20163) NSPluginLoader::release: NSPluginLoader::release - 2 konqueror(20163) NSPluginInstance::~NSPluginInstance: - NSPluginInstance::~NSPluginInstance And since you mention it, the kmplayerpart no longer plays embedded stream video, as on http://www.apple.com/trailers/. I get similar output when viewing flash, right up to PluginHostXEmbed, and yet mine works just fine -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Konqueror and Flash (again...)
On Wednesday 13 May 2009, Alan McKinnon wrote: On Tuesday 12 May 2009 22:19:04 Robin Atwood wrote: I have everything at 4.2.3 like you. I rebuilt adobeflash as 32bit but I still get the same error: konqueror(20163) NSPluginLoader::lookup: Looking up plugin for mimetype application/x-shockwave-flash : /opt/netscape/plugins/libflashplayer.so nspluginviewer(20187) NSPluginClass::initialize: results in 0 nspluginviewer(20187) NSPluginInstance::NPGetValue: results in 0 konqueror(20163) NSPluginLoader::newInstance: - NSPluginLoader::NewInstance = 0x12b4540 konqueror(20163) NSPluginInstance::pluginResized: 640 385 konqueror(20163) NSPluginInstance::resizeEvent: 640 385 false true false konqueror(20163) NSPluginInstance::showEvent: 640 385 true true false konqueror(20163) NSPluginLoader::instance: NSPluginLoader::instance - 3 nspluginviewer(20187) PluginHostXEmbed::setupWindow: 102768327 640 385 KCrash: Application 'nspluginviewer' crashing... sock_file=/home/robin/.kde4.2/socket-opal/kdeinit4__0 konqueror(20163) NSPluginLoader::processTerminated: Viewer process terminated konqueror(20163) NSPluginLoader::release: NSPluginLoader::release - 2 konqueror(20163) NSPluginInstance::~NSPluginInstance: - NSPluginInstance::~NSPluginInstance And since you mention it, the kmplayerpart no longer plays embedded stream video, as on http://www.apple.com/trailers/. I get similar output when viewing flash, right up to PluginHostXEmbed, and yet mine works just fine Very strange. Think I will just turn flash off for konq. :( -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling --
[gentoo-user] Re: how to recover a portage that wasn't in use for very long time
Alexey Luchko wrote: colinux ~ # emerge portage --pretend --tree These are the packages that would be merged, in reverse order: Calculating dependencies... done! [nomerge ] sys-apps/portage-2.1.6.11 [2.1.2.2] [ebuild U ] app-shells/bash-3.2_p39 [3.1_p17] USE=-examples% -plugins% [ebuild U ] sys-apps/portage-2.1.6.11 [2.1.2.2] [ebuild U ] dev-python/pycrypto-2.0.1-r6 [2.0.1-r5] [ebuild U ] sys-apps/sandbox-1.6-r2 [1.2.17] [ebuild N] app-arch/lzma-utils-4.32.7 USE=-nocxx [ebuild N] app-admin/eselect-news-20080320 [ebuild U ] app-admin/eselect-1.0.11-r1 [1.0.7] USE=-vim-syntax% [ebuild U ] app-misc/pax-utils-0.1.19 [0.1.15] [blocks B ] sys-apps/portage-2.1.5 (is blocking app-shells/bash-3.2_p39) colinux ~ # Hi! Thank every one for your help. Finally I got it out this way: first emerge --nodeps bash then emerge portage upgraded portage to the latest version and then, of cause, emerge -uDN system -pvt it had blocked packages [blocks B ] sys-apps/man-pages-3 (sys-apps/man-pages-3 is blocking sys-apps/man-pages-posix-2003a) [blocks B ] sys-fs/e2fsprogs-1.41 (sys-fs/e2fsprogs-1.41 is blocking sys-libs/e2fsprogs-libs-1.41.3-r1) [blocks B ] sys-apps/mktemp (sys-apps/mktemp is blocking sys-apps/coreutils-7.1) [blocks B ] sys-libs/com_err (sys-libs/com_err is blocking sys-libs/e2fsprogs-libs-1.41.3-r1) [blocks B ] sys-apps/util-linux-2.13 (sys-apps/util-linux-2.13 is blocking sys-apps/coreutils-7.1) [blocks B ] sys-libs/ss (sys-libs/ss is blocking sys-libs/e2fsprogs-libs-1.41.3-r1) I unmerged them, and then emerge -uDN system had been working fine until sys-libs/e2fsprogs-libs-1.41.3-r1 compilation failed with ../../lib/libuuid.so: undefined reference to `___tls_get_addr' I had no separate uuid package installed colinux ~ # emerge --search uuid | less Searching... [ Results for search key : uuid ] [ Applications found : 4 ] * dev-libs/ossp-uuid [ Masked ] Latest version available: 1.6.2 Latest version installed: [ Not Installed ] * dev-perl/Data-UUID Latest version available: 1.148 Latest version installed: [ Not Installed ] * dev-python/uuid [ Masked ] Latest version available: 1.30 Latest version installed: [ Not Installed ] * dev-ruby/uuidtools Latest version available: 1.0.7 Latest version installed: [ Not Installed ] It claimed on /usr/tmp/portage/sys-libs/e2fsprogs-libs-1.41.3-r1/work/e2fsprogs-libs-1.41.3/lib/libuuid.so I checked whether the name tls_get_addr exists and found nothing colinux e2fsprogs-libs-1.41.3 # pwd /usr/tmp/portage/sys-libs/e2fsprogs-libs-1.41.3-r1/work/e2fsprogs-libs-1.41.3 colinux e2fsprogs-libs-1.41.3 # grep tls_get_addr `find . -iname '*.c'` After seaching tls_get_addr on http://www.google.com/codesearch I decided to update glibc first: colinux ~ # emerge glibc -pvt These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild U ] sys-libs/glibc-2.8_p20080602-r1 [2.3.6-r4] USE=-debug% -gd% -glibc-omitfp (-hardened) (-multilib) -nls* -profile (-selinux) -vanilla% (-build%) (-erandom%) (-glibc-compat20%) (-nptl%) (-nptlonly%) 0 kB [?=0] Total: 1 package (1 upgrade), Size of downloads: 0 kB Portage tree and overlays: [0] /usr/portage [?] indicates that the source repository could not be determined * IMPORTANT: 1 news items need reading for repository 'gentoo'. * Use eselect news to read news items. colinux ~ # emerge glibc * i386 CHOSTs are no longer supported. * Chances are you don't actually want/need i386. * Please read http://www.gentoo.org/doc/en/change-chost.xml Here I've decided to make yet another backup and tried to remount / readonly. And found the mount missing. I'm guessing that util-linux is the package containing mount and it depends on e2fsprogs-libs-1.41.3-r1. Here I am now ;) Any advice is welcome! Alexey.
Re: [gentoo-user] Re: how to recover a portage that wasn't in use for very long time
On Wednesday 13 May 2009 12:03:40 Alexey Luchko wrote: Alexey Luchko wrote: colinux ~ # emerge portage --pretend --tree These are the packages that would be merged, in reverse order: Calculating dependencies... done! [nomerge ] sys-apps/portage-2.1.6.11 [2.1.2.2] [ebuild U ] app-shells/bash-3.2_p39 [3.1_p17] USE=-examples% -plugins% [ebuild U ] sys-apps/portage-2.1.6.11 [2.1.2.2] [ebuild U ] dev-python/pycrypto-2.0.1-r6 [2.0.1-r5] [ebuild U ] sys-apps/sandbox-1.6-r2 [1.2.17] [ebuild N] app-arch/lzma-utils-4.32.7 USE=-nocxx [ebuild N] app-admin/eselect-news-20080320 [ebuild U ] app-admin/eselect-1.0.11-r1 [1.0.7] USE=-vim-syntax% [ebuild U ] app-misc/pax-utils-0.1.19 [0.1.15] [blocks B ] sys-apps/portage-2.1.5 (is blocking app-shells/bash-3.2_p39) colinux ~ # Hi! Thank every one for your help. [snip long sad story of portage blockers] Here I am now ;) Any advice is welcome! Why are you doing this? Is it to learn how to cope with such things? If not, you are really wasting time that you will never get back. The last 18 months has seen much activity in the tree, lot's of it from large packages being split into smaller ones, and blockers installed. You've already come across mktemp/coreutils and e2fsprogs. You still have to deal with bash/python then that delicious recent cock-up with wget, expat and you have to decide if you want com_err or not. And plenty more. This all happened so long ago I forget the details (lucky for you it's all in the mail archives!). Trust me, if this is not a learning exercise, just unmount your data volumes and reinstall the machine. The pain is not worth it. Really. Especially if glibc decides it doesn't like your headers, then you really are up the creek if you didn't quickpkg critical apps in the system set first :-) -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Konqueror and Flash (again...)
On Wednesday 13 May 2009 11:43:30 Robin Atwood wrote: On Wednesday 13 May 2009, Alan McKinnon wrote: On Tuesday 12 May 2009 22:19:04 Robin Atwood wrote: I have everything at 4.2.3 like you. I rebuilt adobeflash as 32bit but I still get the same error: konqueror(20163) NSPluginLoader::lookup: Looking up plugin for mimetype application/x-shockwave-flash : /opt/netscape/plugins/libflashplayer.so nspluginviewer(20187) NSPluginClass::initialize: results in 0 nspluginviewer(20187) NSPluginInstance::NPGetValue: results in 0 konqueror(20163) NSPluginLoader::newInstance: - NSPluginLoader::NewInstance = 0x12b4540 konqueror(20163) NSPluginInstance::pluginResized: 640 385 konqueror(20163) NSPluginInstance::resizeEvent: 640 385 false true false konqueror(20163) NSPluginInstance::showEvent: 640 385 true true false konqueror(20163) NSPluginLoader::instance: NSPluginLoader::instance - 3 nspluginviewer(20187) PluginHostXEmbed::setupWindow: 102768327 640 385 KCrash: Application 'nspluginviewer' crashing... sock_file=/home/robin/.kde4.2/socket-opal/kdeinit4__0 konqueror(20163) NSPluginLoader::processTerminated: Viewer process terminated konqueror(20163) NSPluginLoader::release: NSPluginLoader::release - 2 konqueror(20163) NSPluginInstance::~NSPluginInstance: - NSPluginInstance::~NSPluginInstance And since you mention it, the kmplayerpart no longer plays embedded stream video, as on http://www.apple.com/trailers/. I get similar output when viewing flash, right up to PluginHostXEmbed, and yet mine works just fine Very strange. Think I will just turn flash off for konq. :( Shot in the dark: try rebuild konqueror and kdelibs. It's worth a try. -Robin -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] gcc not working after update
Well, all commands are failing because: ar...@lx-arnau ~/downloads $ amarok amarok: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory Cheers, Arnau
Re: [gentoo-user] gcc not working after update
On Wed, 13 May 2009 12:31:07 +0200, Arnau Bria wrote: all commands are failing because: ar...@lx-arnau ~/downloads $ amarok amarok: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory Have you run gcc-config? -- Neil Bothwick If at first you don't succeed, redefine success. signature.asc Description: PGP signature
Re: [gentoo-user] gcc not working after update
On Mittwoch 13 Mai 2009, Arnau Bria wrote: Hi all, I've updated my system and gcc stop working. I've done: 1.-) emerge -uD world 2.-) revdep-rebuild 3.-) emerge -depclean 4.-) revdep-rebuild depclean did this: sys-devel/gcc selected: 4.1.2 protected: none omitted: 4.3.2-r3 but now i get this error: # gcc-config -l * gcc-config: Active gcc profile is invalid! [1] i686-pc-linux-gnu-4.3.2 # eix gcc eix: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory then, I try fix_libtool: # fix_libtool_files.sh 4.1.2 * Scanning libtool files for hardcoded gcc library paths... gcc-config error: Could not run/locate gcc :0: assertion failed: (gcc -dumpversion) | getline NEWVER) Not sure if gcc 4.1.2 was last version, but as depclean removed it... so, how may I recover my gcc? TIA, http://www.gentoo.org/doc/en/gcc-upgrading.xml you don't need to. You have to read the documentation.
Re: [gentoo-user] gcc not working after update
Things getting better: # gcc-config i686-pc-linux-gnu-4.3.2 * Switching native-compiler to i686-pc-linux-gnu-4.3.2 ... * Your gcc has a bug with GCC_SPECS. * Please re-emerge gcc. * http://bugs.gentoo.org/68395 Regenerating /etc/ld.so.cache... [ ok ] * If you intend to use the gcc from the new profile in an already * running shell, please remember to do: * # source /etc/profile going to do what it is said...
Re: [gentoo-user] gcc not working after update
On Wed, 13 May 2009 12:43:49 +0200 Volker Armin Hemmann wrote: http://www.gentoo.org/doc/en/gcc-upgrading.xml you don't need to. You have to read the documentation. :-) as gcc-config -l failed I did not try gcc-config gcc-version and asked here... but doing that solved problems, nad now I'm continuing with the doc. thanks -- Arnau Bria http://blog.emergetux.net Bombing for peace is like fucking for virginity
Re: [gentoo-user] Konqueror and Flash (again...)
On Wednesday 13 May 2009, Alan McKinnon wrote: On Wednesday 13 May 2009 11:43:30 Robin Atwood wrote: On Wednesday 13 May 2009, Alan McKinnon wrote: On Tuesday 12 May 2009 22:19:04 Robin Atwood wrote: I get similar output when viewing flash, right up to PluginHostXEmbed, and yet mine works just fine Very strange. Think I will just turn flash off for konq. :( Shot in the dark: try rebuild konqueror and kdelibs. It's worth a try. I just installed 4.2.3! I will wait until the next update, they seem to be coming fairly frequently. -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling --
Re: [gentoo-user] gcc not working after update
On Wed, 13 May 2009 12:43:49 +0200 Volker Armin Hemmann wrote: On Mittwoch 13 Mai 2009, Arnau Bria wrote: Hi all, I've updated my system and gcc stop working. I've done: 1.-) emerge -uD world 2.-) revdep-rebuild 3.-) emerge -depclean 4.-) revdep-rebuild depclean did this: sys-devel/gcc selected: 4.1.2 protected: none omitted: 4.3.2-r3 but now i get this error: # gcc-config -l * gcc-config: Active gcc profile is invalid! [1] i686-pc-linux-gnu-4.3.2 # eix gcc eix: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory then, I try fix_libtool: # fix_libtool_files.sh 4.1.2 * Scanning libtool files for hardcoded gcc library paths... gcc-config error: Could not run/locate gcc :0: assertion failed: (gcc -dumpversion) | getline NEWVER) Not sure if gcc 4.1.2 was last version, but as depclean removed it... so, how may I recover my gcc? TIA, http://www.gentoo.org/doc/en/gcc-upgrading.xml you don't need to. You have to read the documentation. one point on this: * If you have issues with packages unable to locate libstdc++.la, * then try running 'fix_libtool_files.sh' on the old gcc versions. Maybe I confused libstdc++.la with libstdc++.so.6, but elog message recommends fix_libtool in case of missing libraries. thanks for your help, -- Arnau Bria http://blog.emergetux.net Bombing for peace is like fucking for virginity
Re: [gentoo-user] Re: how to recover a portage that wasn't in use for very long time
On 13 May 2009, at 11:17, Alan McKinnon wrote: ... Why are you doing this? Is it to learn how to cope with such things? If not, you are really wasting time that you will never get back. ... Trust me, if this is not a learning exercise, just unmount your data volumes and reinstall the machine. The pain is not worth it. Really. ... I'm inclined to disagree with you here. Obviously, it depends on the user - as I've undertaken this, I knew not to bother asking here because I knew I'd receive exactly this response. I examined ebuilds to see the blockers looked up compatible versions in the portage attic, and I did my own searches when I came to problems like this one. And so far I've been ok. In my case, reinstallation would be a huge pain. I would be massively worrying about which services on the machine I need to configure again, and whether everything I needed had been backed up properly. I have forgotten the original procedures I followed setting up many of these services, and it could easily take a week to set the machine up from scratch. If I upgrade the obsolete portage incrementally, I know that everything is still working, and I update the machine without disruption to the users who depend upon the machine. If a service fails during the procedure, then it is only ONE service that I have to fix, not several. As I upgrade a package run etc-update I can back up the original config files, and if I find the new ones are vastly different then I can refer to the originals /or diff them in. If this upgrade procedure is undertaken cautiously, then it is no worse or different than it was when the changes originally entered the portage tree. One can `emerge -pv world` and then emerge the first package with --oneshot, rinse repeat. Sure, this is potentially time- consuming, but I can leave packages compiling whilst I'm doing other things - reinstalling from scratch a base Gentoo installation isn't too bad (hardware, logger, housekeeping), but once you add in a number of services then I'm going to need to dedicate some time to the job. I'm not reading Alexey too clearly, but it seems to me that he is saying he has a full system backup. In this case one can restore to that in minutes if something goes hosed badly during an emerge or if the users come in the next morning complain that $facility isn't working. I'm NOT saying that this procedure is for everyone, but equally I don't think it's fair to say there's NEVER any justification for it. Stroller.
Re: [gentoo-user] Re: how to recover a portage that wasn't in use for very long time
On Wednesday 13 May 2009 16:16:10 Stroller wrote: In my case, reinstallation would be a huge pain. I would be massively worrying about which services on the machine I need to configure again, and whether everything I needed had been backed up properly. I have forgotten the original procedures I followed setting up many of these services, and it could easily take a week to set the machine up from scratch. But whether you reinstall (backing up and replacing old configs then runnign diff of course) or incrementally upgrade, and $SERVICE breaks, either way you equally do not know about it till $USER complains. It's just that I remember all too well what it took to get through those many various blockers. More often than not I was once of the first to run into them - I sync and update daily - but I'd hate to do it all again all in one go, especially when all my buddies here have forgotten the procedure. Horses for courses I guess. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: how to recover a portage that wasn't in use for very long time
On 13 May 2009, at 11:03, Alexey Luchko wrote: Alexey Luchko wrote: colinux ~ # emerge portage --pretend --tree These are the packages that would be merged, in reverse order: Calculating dependencies... done! [nomerge ] sys-apps/portage-2.1.6.11 [2.1.2.2] [ebuild U ] app-shells/bash-3.2_p39 [3.1_p17] USE=-examples% - plugins% [ebuild U ] sys-apps/portage-2.1.6.11 [2.1.2.2] [ebuild U ] dev-python/pycrypto-2.0.1-r6 [2.0.1-r5] [ebuild U ] sys-apps/sandbox-1.6-r2 [1.2.17] [ebuild N] app-arch/lzma-utils-4.32.7 USE=-nocxx [ebuild N] app-admin/eselect-news-20080320 [ebuild U ] app-admin/eselect-1.0.11-r1 [1.0.7] USE=-vim- syntax% [ebuild U ] app-misc/pax-utils-0.1.19 [0.1.15] [blocks B ] sys-apps/portage-2.1.5 (is blocking app-shells/ bash-3.2_p39) colinux ~ # Hi! Thank every one for your help. Finally I got it out this way: first emerge --nodeps bash then emerge portage upgraded portage to the latest version and then, of cause, emerge -uDN system -pvt it had blocked packages [blocks B ] sys-apps/man-pages-3 (sys-apps/man-pages-3 is blocking sys-apps/man-pages-posix-2003a) [blocks B ] sys-fs/e2fsprogs-1.41 (sys-fs/e2fsprogs-1.41 is blocking sys-libs/e2fsprogs-libs-1.41.3-r1) [blocks B ] sys-apps/mktemp (sys-apps/mktemp is blocking sys-apps/coreutils-7.1) [blocks B ] sys-libs/com_err (sys-libs/com_err is blocking sys-libs/e2fsprogs-libs-1.41.3-r1) [blocks B ] sys-apps/util-linux-2.13 (sys-apps/util- linux-2.13 is blocking sys-apps/coreutils-7.1) [blocks B ] sys-libs/ss (sys-libs/ss is blocking sys-libs/e2fsprogs-libs-1.41.3-r1) I unmerged them, and then emerge -uDN system had been working fine until sys-libs/e2fsprogs-libs-1.41.3-r1 compilation failed with ../../lib/libuuid.so: undefined reference to `___tls_get_addr' Alexey, I think `emerge --nodeps bash` was the cause of your problem. You need to resolve each and every dependency - often sequentially or incrementally - before you go on to the next package. --nodpes is just asking your system to break. I gave you advice in my previous message - you should have emerged earlier versions of packages in order, for the reason to avoid blockers. The Gentoo devs had a GOOD REASON when they declared bash-3.2_p39 as blocking the current portage. If you had tried to emerge the earlier bash you would probably have found it blocked by an earlier portage /or mktemp /or com_err /or util-linux /or sys-libs/ ss. If you had resolved each dependency in turn you would have eventually been able to upgrade to the latest versions. I know this, because last month I did this myself. A system last upgraded in August or September 2007 now has bash-3.2_p39 and portage-2.1.6.4 installed on it. If you don't have the patience for this, then do as Alan says reinstall the whole system. If you don't understand what I wrote, then just ask. If you want to upgrade this system then you're going to have to do a lot of work yourself. You WILL need to get older intermediate package versions from the CVS attic http://sources.gentoo.org/ and you will need to Google read the list archive to see the correct procedure for resolving the mktemp, com_err, util-linux sys-libs/ss problems. But that really is pretty straightforward - it is clearly documented on the list emerge version X of this, then version Y of that. Stroller.
Re: [gentoo-user] Problem with compiling kernel
On Tue, May 12, 2009 at 8:03 PM, Dale rdalek1...@gmail.com wrote: Paul Hartman wrote: On Mon, May 11, 2009 at 3:22 PM, Dale rdalek1...@gmail.com wrote: Paul Hartman wrote: On Mon, May 11, 2009 at 2:39 PM, Arnau Bria ar...@emergetux.net wrote: On Mon, 11 May 2009 21:33:23 +0200 Marc Blumentritt wrote: Hi, Hi, when I try to compile a kernel again (meaning after compiling it and building the modules), I get this error message: hive linux # make make modules_install make just one question about your compiling command, why make ... make? I just do make all make modules_install ... I do: make all make install make modules_install make firmware_install seperately :) I do like Arnau does. It works here. What is that firmware_install part anyway? I haven't ever seen that before. Why, it installs firmware of course. :) It looks like it was added almost a year ago. Here are the patch check-in notes: From: David Woodhouse dw...@... To: linux-ker...@... Subject: [PATCH 03/18] firmware: Add 'firmware_install' make target Date: Thursday, May 29, 2008 - 4:01 am This installs all the in-kernel-tree firmware into $(INSTALL_FW_PATH), which defaults to $(objtree)/usr/lib/firmware and is intended end up in /lib/firmware for udev to find the files. This, in conjunction with the builtin-firmware support, makes it simple for drivers with associated firmware to move over to request_firmware() and give the user a choice of whether to have it built in to the kernel image or loaded separately from userspace. As with kernel header installation for userspace, it intentionally pays no attention to configuration variables -- it installs _all_ available firmware blobs, unconditionally. I'm not real sure what firmware is so I will have to look into this a bit more. Maybe that it would be something I, and maybe others, need to do as well. I'm sure if someone went to the trouble of making it that it serves a purpose. Thanks ! Dale Firmware is the software that runs a piece of hardware... usually this is stored in NVRAM on the device and the OS shouldn't have anything to do with altering it, but some devices just have the firmware loaded by drivers at run-time so they can use cheaper hardware (think about Broadcom network cards, bluetooth dongles, winmodems). Or maybe sometimes they have both, where the onboard firmware is used but can be overridden by the driver. Almost everything has firmware, usually updatable, from cellphones to CD-ROM drives to video cards to RAID controllers to Playstations. :)
Re: [gentoo-user] Re: how to recover a portage that wasn't in use for very long time
On 13 May 2009, at 15:27, Alan McKinnon wrote: ... It's just that I remember all too well what it took to get through those many various blockers. More often than not I was once of the first to run into them - I sync and update daily - but I'd hate to do it all again all in one go, especially when all my buddies here have forgotten the procedure. I think it does help if one upgrades a week or two after everyone else. I upgrade my main systems only every 4 - 12 weeks, and whenever I have a problem I look in the list archives and a clear upgrade procedure has most always been described. I upgraded a 2007 system to current only a few weeks ago, and I encountered ALL the portage, mktemp, com_err, util-linux sys-libs/ss problems. Honestly, it was not so bad. All these problems were clearly documented on the list - perhaps by yourself! - and I was able to overcome all of them in the course of an afternoon. The system was down for a couple of hours because I was hasty impatient at one point, but in my case the significant cause of delays was that the machine is an old Duron 800mhz took time with its compilation. With a faster machine I could perhaps have done all these upgrades within an hour. Grabbing old versions of ebuilds from the attic is a bit of a pain, you wget them, rename them, copy them into /usr/local/portage, create the manifest and it's only when you try to emerge them that you find you also need a .patch file. But all these blockers are overcome just by upgrading the various packages in a straight-forward order. I reread Alexey's post after replying to yours, and the reason he's having problems is because he's being careless. If you break the system, it's obviously a gamble whether you'll get your ass out of the problem you created for yourself. If you want to be sure of not breaking the system then you have to be cautious, resolve EACH and EVERY dependency in turn and not just go fukkit, i don't know what that package does so, i'll ignore or unmerge it, upgrade this other package to the latest version and hope everything resolves. Stroller.
[gentoo-user] One of my cores sometimes sleeps
Hi there! Now this is _really_ annoying. My new PC has a AMD Athlon(tm) Dual Core Processor 4850e CPU, but sometimes one of the cores stops to do things for a while. I think. It happens many times per day, sometimes every minute, sometimes I do not notice it four hours. It seems that only new tasks are affected, like when amarok starts a new song. Most KDE4 itself is always responsive, but not the panel. Konqueror, Kontact and such sometimes freeze when I open a new page/mail. In race cases konqueror also freezes while displaying a page, after parts were already rendered. Sometimes gkrellm stops when this happens, sometimes it continues running, then I see the upper CPU with zero load. That's how I noticed it apparently has to do with one of the cores. When it happens and I call the top command, nothing happens, apparently because top needs to access both cores. After a couple of seconds, sometimes as long as 1-2 minutes, execution is resumed, and all the things that did not happen while I clicked around now happen. I have no idea what this could be. Googling did not find anything, maybe I am using the wrong keywords - many people have problems with freezing cores, but in their case the whole system freezes and needs a reset, while mine only takes a little nap and is just working happily afterwards. If noone has an idea, I might create a new kernel with .config settings from GRML or such, but I'd hate do do so, because I was happy to get a working system at all after lots of troubles, mainly with the video card. Just in case someone has an idea, my kernel .config is here: http://wonkology.org/~wonko/tmp/linux-2.6.28-tuxonice-r3.config I'd be thankful for every help I can get with this problem. I'm soo happy with my new system (great speed compared to the old PC, shiny new KDE4, encryption of everything), if only it wouldn't make these pauses every now and then. Wonko
Re: [gentoo-user] Re: how to recover a portage that wasn't in use for very long time
On Wednesday 13 May 2009 16:49:52 Stroller wrote: I reread Alexey's post after replying to yours, and the reason he's having problems is because he's being careless. If you break the system, it's obviously a gamble whether you'll get your ass out of the problem you created for yourself. If you want to be sure of not breaking the system then you have to be cautious, resolve EACH and EVERY dependency in turn and not just go fukkit, i don't know what that package does so, i'll ignore or unmerge it, upgrade this other package to the latest version and hope everything resolves. Very true. I see he's got the bash/portage mutual blocker one as well. Nasty one that - only by close study of the ebuilds did I manage to figure out that - upgrade bash to interim version in the tree - upgrade portage to latest - upgrade bash to latest was the only way through. In those days we didn't have automatic blocker resolution in portage either. And yes, if Alexey is being careless then portage is going to bite his ass. Alexey, if you read this: Do not unmerge bash, portage, wget or python without first making a quickpkg. Otherwise you will be left with an unusable system and no way out of it - portage uses those packages directly and cannot function without them. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] One of my cores sometimes sleeps
On Wed, May 13, 2009 at 9:55 AM, Alex Schuster wo...@wonkology.org wrote: Hi there! Now this is _really_ annoying. My new PC has a AMD Athlon(tm) Dual Core Processor 4850e CPU, but sometimes one of the cores stops to do things for a while. I think. I wonder if it is some kind of power-saving mode shutting down one core because it (thinks) it is not needed?
Re: [gentoo-user] Re: how to recover a portage that wasn't in use for very long time
On Wed, May 13, 2009 at 10:00 AM, Alan McKinnon alan.mckin...@gmail.com wrote: On Wednesday 13 May 2009 16:49:52 Stroller wrote: I reread Alexey's post after replying to yours, and the reason he's having problems is because he's being careless. If you break the system, it's obviously a gamble whether you'll get your ass out of the problem you created for yourself. If you want to be sure of not breaking the system then you have to be cautious, resolve EACH and EVERY dependency in turn and not just go fukkit, i don't know what that package does so, i'll ignore or unmerge it, upgrade this other package to the latest version and hope everything resolves. Very true. I see he's got the bash/portage mutual blocker one as well. Nasty one that - only by close study of the ebuilds did I manage to figure out that - upgrade bash to interim version in the tree - upgrade portage to latest - upgrade bash to latest was the only way through. In those days we didn't have automatic blocker resolution in portage either. And yes, if Alexey is being careless then portage is going to bite his ass. Alexey, if you read this: Do not unmerge bash, portage, wget or python without first making a quickpkg. Otherwise you will be left with an unusable system and no way out of it - portage uses those packages directly and cannot function without them. buildsyspkg in FEATURES (make.conf) can be a life saver too :)
Re: [gentoo-user] Re: how to recover a portage that wasn't in use for very long time
Paul Hartman paul.hartman+gen...@gmail.com writes: buildsyspkg in FEATURES (make.conf) can be a life saver too :) But it does not (IMHO) save binaries for enough packages. For example, it saves a binary for portage but not for python. I think it would be good if it saved a binary package for everything which would be built in stage-1, which would provide a much better 'get out of jail free' if a critical package gets corrupted or fails to run.
Re: [gentoo-user] Re: how to recover a portage that wasn't in use for very long time
On Wed, May 13, 2009 at 10:30 AM, Graham Murray gra...@gmurray.org.uk wrote: Paul Hartman paul.hartman+gen...@gmail.com writes: buildsyspkg in FEATURES (make.conf) can be a life saver too :) But it does not (IMHO) save binaries for enough packages. For example, it saves a binary for portage but not for python. I think it would be good if it saved a binary package for everything which would be built in stage-1, which would provide a much better 'get out of jail free' if a critical package gets corrupted or fails to run. That's true, I didn't think of that before. Thankfully I have never needed to use it, but I keep it enabled as a security blanket.
Re: [gentoo-user] Re: how to recover a portage that wasn't in use for very long time
On Wed, 13 May 2009 16:30:09 +0100, Graham Murray wrote: buildsyspkg in FEATURES (make.conf) can be a life saver too :) But it does not (IMHO) save binaries for enough packages. Then use buildpkg. -- Neil Bothwick It's only a hobby ... only a hobby ... only a signature.asc Description: PGP signature
[Solved] Re: [gentoo-user] Font problem
Hi all, I get the following error when starting Eterm: Eterm: Error: Unable to load font -misc-fixed-medium-r-semicondensed--13-*-*-*-c-*-iso10646-1. Falling back on k14 Eterm: FATAL: Couldn't load the fallback font either. Giving up. and the follwoing warning when starting xterm: Warning: Cannot convert string nil2 to type FontStruct xterm: cannot load font -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1 Has someone any idea to fix this problem? Thanks, Christoph Hi all, I solved the problem by myself. /var/log/Xorg.0.log gives me the reason and the solution: (WW) `fonts.dir' not found (or not valid) in /usr/share/fonts/misc/. Entry deleted from font path. (Run 'mkfontdir' on /usr/share/fonts/misc/). So I run mkfontdir /usr/share/fonts/misc and made a restart and the problem was solved ;-) best regards Christoph
Re: [gentoo-user] upgrading from kernel 2.6.24-rc6 to latest kernel
Adam Carter ha scritto: Now I want to ask the list: 1) Does anyone have a recent kernel config for this kind of machine? Just copy your .config file to the new kernel source directory and run make oldconfig. This runs through the old config file and prompts you to select what you want for the new options. *slaps on head* yeah. 2) What are the caveats and pitfalls I should be aware of when upgrading to latest kernel? I confess that reading CHANGELOGs didn't help me too much, quite confusing. You can keep both kernels and just use the bootloader to select which one to boot into. So if your new kernel doesn't work just reboot and use your old kernel again until you can work out whats wrong with the new one. Yes, but this means recompiling all external modules (nvidia, madwifi) every time I boot in a new kernel if I want them to work, isn't it? Also, I wonder if portage's madwifi now supports the Macbook Pro chipset... I had to use SVN one at the time. The drivers might be in the kernel now. I was using madwifi-ng and changed to the ath5k driver at around 2.6.26 or 27. Uh, good to know. But anyway, no major pitfalls/bad experiences in the last year's kernel I should be aware of? m.
Re: [gentoo-user] upgrading from kernel 2.6.24-rc6 to latest kernel
On Wed, May 13, 2009 at 3:14 PM, bn brullonu...@gmail.com wrote: Yes, but this means recompiling all external modules (nvidia, madwifi) every time I boot in a new kernel if I want them to work, isn't it? I think those modules get installed into kernel-version-specific directories in /lib/modules so that may not be a problem.
[gentoo-user] Re: upgrading from kernel 2.6.24-rc6 to latest kernel
bn wrote: You can keep both kernels and just use the bootloader to select which one to boot into. So if your new kernel doesn't work just reboot and use your old kernel again until you can work out whats wrong with the new one. Yes, but this means recompiling all external modules (nvidia, madwifi) every time I boot in a new kernel if I want them to work, isn't it? No. Kernel modules are kept in /lib/modules/VERSION/ meaning you will have the older ones working when you boot the older kernel again.
Re: [gentoo-user] Re: upgrading from kernel 2.6.24-rc6 to latest kernel
Nikos Chantziaras ha scritto: bn wrote: You can keep both kernels and just use the bootloader to select which one to boot into. So if your new kernel doesn't work just reboot and use your old kernel again until you can work out whats wrong with the new one. Yes, but this means recompiling all external modules (nvidia, madwifi) every time I boot in a new kernel if I want them to work, isn't it? No. Kernel modules are kept in /lib/modules/VERSION/ meaning you will have the older ones working when you boot the older kernel again. Oh, I didn't know, thanks. It's incredible that after 5 years of using Linux I am still so utterly clueless! Thanks guys. m.
Re: [gentoo-user] Problem with compiling kernel
Paul Hartman wrote: On Tue, May 12, 2009 at 8:03 PM, Dale rdalek1...@gmail.com wrote: Paul Hartman wrote: On Mon, May 11, 2009 at 3:22 PM, Dale rdalek1...@gmail.com wrote: Paul Hartman wrote: On Mon, May 11, 2009 at 2:39 PM, Arnau Bria ar...@emergetux.net wrote: On Mon, 11 May 2009 21:33:23 +0200 Marc Blumentritt wrote: Hi, Hi, when I try to compile a kernel again (meaning after compiling it and building the modules), I get this error message: hive linux # make make modules_install make just one question about your compiling command, why make ... make? I just do make all make modules_install ... I do: make all make install make modules_install make firmware_install seperately :) I do like Arnau does. It works here. What is that firmware_install part anyway? I haven't ever seen that before. Why, it installs firmware of course. :) It looks like it was added almost a year ago. Here are the patch check-in notes: From: David Woodhouse dw...@... To: linux-ker...@... Subject: [PATCH 03/18] firmware: Add 'firmware_install' make target Date: Thursday, May 29, 2008 - 4:01 am This installs all the in-kernel-tree firmware into $(INSTALL_FW_PATH), which defaults to $(objtree)/usr/lib/firmware and is intended end up in /lib/firmware for udev to find the files. This, in conjunction with the builtin-firmware support, makes it simple for drivers with associated firmware to move over to request_firmware() and give the user a choice of whether to have it built in to the kernel image or loaded separately from userspace. As with kernel header installation for userspace, it intentionally pays no attention to configuration variables -- it installs _all_ available firmware blobs, unconditionally. I'm not real sure what firmware is so I will have to look into this a bit more. Maybe that it would be something I, and maybe others, need to do as well. I'm sure if someone went to the trouble of making it that it serves a purpose. Thanks ! Dale Firmware is the software that runs a piece of hardware... usually this is stored in NVRAM on the device and the OS shouldn't have anything to do with altering it, but some devices just have the firmware loaded by drivers at run-time so they can use cheaper hardware (think about Broadcom network cards, bluetooth dongles, winmodems). Or maybe sometimes they have both, where the onboard firmware is used but can be overridden by the driver. Almost everything has firmware, usually updatable, from cellphones to CD-ROM drives to video cards to RAID controllers to Playstations. :) Ah, well since everything works very well here, I better leave all that alone. LOL Old saying, don't fix it if it ain't broke comes to mind here. Dale :-) :-)
[gentoo-user] KDE4 Task Manager - How can I keep it maximized?
This is a minor annoyance, but it's really frustrating me that I can't figure out how to solve it. Does anyone know how to make the KDE4 task manager (task bar, whatever you call it) fit the width of the screen? I can resize it by clicking on the cashew and dragging the arrows, but once I login with a smaller screen resolution, the taskbar is smaller when I next login at the higher resolution. For example if I login with a 1280x1024 desktop, the taskbar will be 1280 width even when I login at 1600x1200. Since I log in locally and remotely at different resolutions, this happens to me pretty much every day. Every day when I get home, I have to resize the task manager. SURELY there is a way to maximize it, but I can't find it. Does anyone know? :) Thanks in advance. Paul
[gentoo-user] Re: WARNING **: Failed to create dbus proxy for org.gnome.SettingsDaemon: Could not get owner of name 'org.gnome.SettingsDaemon': no such name
Jorge Morais wrote: On Sun, 10 May 2009 07:50:47 -0700 waltw41...@gmail.com wrote: Jorge Morais wrote: When starting evince from a terminal, I get a message like this: ** (evince:3597): WARNING **: Failed to create dbus proxy for org.gnome.SettingsDaemon: Could not get owner of name 'org.gnome.SettingsDaemon': no such name... If you don't have the settings-daemon running then such an error would be expected. But do you know what this error causes? If it is a harmless warning message, I think it is better to ignore it than install gnome-settings-daemon, which pulls 24 other packages. It's harmless, so ignore it. If you are not using gnome as your desktop then you don't need the settings-daemon.
[gentoo-user] Gnome complaining about automount of audio CD
I wonder if someone here knows where I turn off Gnome trying to automount audio CDs and complaining that that it can't be mounted. This is a recent development with updates in the last month or two. I don't play a lot of audio CDs on my Gentoo machine but periodically copy a CD. It used to be that I would start k3b, insert a CD and k3b would go look up it's name. This still works, but recent versions of Gnome seem to be trying to automount the audio CD which is something makes no sense to me, and it fails. I'd like to fix that if possible as I don't think I ever want Gnome to automount and play audio CDs. I suspect this may be a hal-ish thing but that's totally a guess on my part and backed up by nothing. Thanks, Mark
[gentoo-user] Gnome complaining about automount of audio CD
on Wednesday 05/13/2009 Mark Knecht(markkne...@gmail.com) wrote I wonder if someone here knows where I turn off Gnome trying to automount audio CDs and complaining that that it can't be mounted. This is a recent development with updates in the last month or two. I don't play a lot of audio CDs on my Gentoo machine but periodically copy a CD. It used to be that I would start k3b, insert a CD and k3b would go look up it's name. This still works, but recent versions of Gnome seem to be trying to automount the audio CD which is something makes no sense to me, and it fails. I'd like to fix that if possible as I don't think I ever want Gnome to automount and play audio CDs. I suspect this may be a hal-ish thing but that's totally a guess on my part and backed up by nothing. There is a use flag in gnome-base/gvfs called cdda which when you have it in there, asks you what you want to do with your audio cd, if that is not there I was getting a message about not being able to mount the cd. Hope that helps. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
Re: [gentoo-user] Gnome complaining about automount of audio CD
On Wed, May 13, 2009 at 5:53 PM, John covici cov...@ccs.covici.com wrote: on Wednesday 05/13/2009 Mark Knecht(markkne...@gmail.com) wrote I wonder if someone here knows where I turn off Gnome trying to automount audio CDs and complaining that that it can't be mounted. This is a recent development with updates in the last month or two. I don't play a lot of audio CDs on my Gentoo machine but periodically copy a CD. It used to be that I would start k3b, insert a CD and k3b would go look up it's name. This still works, but recent versions of Gnome seem to be trying to automount the audio CD which is something makes no sense to me, and it fails. I'd like to fix that if possible as I don't think I ever want Gnome to automount and play audio CDs. I suspect this may be a hal-ish thing but that's totally a guess on my part and backed up by nothing. There is a use flag in gnome-base/gvfs called cdda which when you have it in there, asks you what you want to do with your audio cd, if that is not there I was getting a message about not being able to mount the cd. Hope that helps. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com Thanks John. I enabled the flag. First time through it asked what to do. Asked it to do nothing form now on and it seems to be respecting that choice. Cheers, Mark
Re: [gentoo-user] Re: WARNING **: Failed to create dbus proxy for org.gnome.SettingsDaemon: Could not get owner of name 'org.gnome.SettingsDaemon': no such name
On Wed, 13 May 2009 17:13:23 -0700 walt w41...@gmail.com wrote: Jorge Morais wrote: On Sun, 10 May 2009 07:50:47 -0700 waltw41...@gmail.com wrote: Jorge Morais wrote: When starting evince from a terminal, I get a message like this: ** (evince:3597): WARNING **: Failed to create dbus proxy for org.gnome.SettingsDaemon: Could not get owner of name 'org.gnome.SettingsDaemon': no such name... If you don't have the settings-daemon running then such an error would be expected. But do you know what this error causes? If it is a harmless warning message, I think it is better to ignore it than install gnome-settings-daemon, which pulls 24 other packages. It's harmless, so ignore it. If you are not using gnome as your desktop then you don't need the settings-daemon. Thank you