Re: [gentoo-user] Re: [HEADSUP] libreoffice versus bison-2.5
On Sun, May 22, 2011 at 11:31:40PM +0200, Alan McKinnon wrote No, I think you need to get real. It's 2011, what did you expect? Here's what I don't expect. I run a tight ship on my machine. I currently have gnumeric and AbiWord and libreoffice-bin running uncer icewm. In order to get emerge -p app-office/kword to actually start, I had to... !) remove sys-apps/dbus from /etc/portage/package.mask 2) add the following to /etc/portage/package.use x11-libs/qt-sql qt3support x11-libs/qt-core qt3support ssl exceptions x11-libs/qt-gui qt3support accessibility dbus x11-libs/qt-qt3support accessibility kde x11-libs/qt-svg accessibility x11-libs/qt-opengl qt3support x11-libs/qt-webkit kde sys-block/parted device-mapper sys-fs/udev extras sys-auth/consolekit policykit x11-libs/qt-declarative qt3support 3) and here is the 390 megabytes of stuff to emerge... gebuild N] dev-libs/libgpg-error-1.10 USE=-common-lisp -nls -static-libs [ebuild N] dev-libs/libical-0.43 [ebuild N] dev-util/boost-build-1.42.0 USE=-examples -python [ebuild N] sys-apps/sdparm-1.03 [ebuild N] sys-power/pm-quirks-20100619 [ebuild N] sys-block/eject-2.1.5-r2 USE=-nls [ebuild N] kde-base/oxygen-icons-4.6.2 USE=(-aqua) (-kdeenablefinal) (-kdeprefix) [ebuild N] sys-apps/dbus-1.4.6 USE=X -debug -doc (-selinux) -static-libs -test [ebuild N] dev-cpp/eigen-2.0.13 USE=-debug -doc -examples [ebuild N] dev-libs/libassuan-2.0.1 USE=-static-libs [ebuild N] dev-libs/cyrus-sasl-2.1.23-r1 USE=-authdaemond -berkdb -crypt -gdbm -java -kerberos -ldap -mysql -ntlm_unsupported_patch -pam -postgres -sample -sqlite -srp -ssl -urandom [ebuild N] dev-libs/libksba-1.2.0 USE=-static-libs [ebuild N] dev-libs/libgcrypt-1.4.6 USE=-static-libs [ebuild N] dev-libs/pth-2.0.7-r2 USE=-debug [ebuild N] app-admin/eselect-boost-0.3 [ebuild NS ] app-text/docbook-xml-dtd-4.2-r2 [4.3-r1] [ebuild N] dev-libs/libpcre-8.12 USE=bzip2 (unicode) zlib -cxx -recursion-limit -static-libs [ebuild N] x11-libs/libXScrnSaver-1.2.1 USE=-static-libs [ebuild N] kde-base/kde-env-4.6.2 USE=(-aqua) (-kdeenablefinal) (-kdeprefix) [ebuild N] sys-apps/attr-2.4.44 USE=-nls [ebuild N] dev-cpp/clucene-0.9.21b-r1 USE=threads -debug -doc -static-libs [ebuild NS ] virtual/libusb-0 [1] [ebuild N] virtual/eject-0 [ebuild N] app-crypt/pinentry-0.8.0 USE=-caps -gtk -ncurses -qt4 -static [ebuild N] dev-libs/dbus-glib-0.92 USE=-bash-completion -debug -doc -static-libs -test [ebuild N] app-crypt/gnupg-2.0.17 USE=bzip2 -adns -caps -doc -ldap -nls -openct -pcsc-lite (-selinux) -smartcard -static [ebuild N] dev-libs/boost-1.42.0-r2 USE=-debug -doc -eselect -icu -mpi -python -static-libs -test -tools [ebuild N] app-misc/strigi-0.7.1 USE=exif -clucene -dbus -debug -fam -hyperestraier -inotify (-log) -qt4 -test [ebuild N] sys-apps/acl-2.2.49 USE=(-nfs) -nls [ebuild N] sys-power/pm-utils-1.4.1 USE=-alsa -debug -networkmanager -ntp VIDEO_CARDS=intel -radeon [ebuild R ] sys-fs/udev-151-r4 USE=extras* [ebuild N] app-crypt/gpgme-1.3.0 USE=-common-lisp -pth [ebuild N] sys-fs/lvm2-2.02.73-r1 USE=(-clvm) (-cman) -lvm1 -readline (-selinux) -static [ebuild N] dev-libs/libatasmart-0.17 USE=-static-libs [ebuild N] sys-block/parted-2.3 USE=device-mapper -debug -nls -readline (-selinux) [ebuild N] x11-libs/qt-core-4.7.2-r1 USE=exceptions qt3support ssl (-aqua) -debug -glib -iconv -jit -optimized-qmake -pch -private-headers [ebuild N] x11-libs/qt-sql-4.7.2 USE=qt3support (-aqua) -debug -exceptions (-firebird) -freetds -iconv -mysql -odbc -pch -postgres -sqlite [ebuild N] x11-libs/qt-script-4.7.2 USE=(-aqua) -debug -exceptions -iconv -jit -pch -private-headers [ebuild N] x11-libs/qt-test-4.7.2 USE=(-aqua) -debug -exceptions -iconv -pch [ebuild N] dev-util/automoc-0.9.88 [ebuild N] x11-libs/qt-dbus-4.7.2 USE=(-aqua) -debug -exceptions -pch [ebuild N] x11-libs/qt-xmlpatterns-4.7.2 USE=(-aqua) -debug -pch [ebuild N] dev-libs/soprano-2.6.0 USE=-clucene -dbus -debug -doc -raptor -redland -test -virtuoso [ebuild N] app-crypt/qca-2.0.3 USE=(-aqua) -debug -doc -examples [ebuild N] dev-libs/libattica-0.2.0 USE=-debug [ebuild N] x11-libs/qt-gui-4.7.2 USE=accessibility dbus mng qt3support tiff (-aqua) -cups -debug -egl -exceptions -glib -gtkstyle -nas -nis -pch -private-headers -raster -trace -xinerama [ebuild N] x11-libs/qt-qt3support-4.7.2 USE=accessibility kde (-aqua) -debug -exceptions -pch -phonon [ebuild N] x11-libs/qt-svg-4.7.2 USE=accessibility (-aqua) -debug -exceptions -iconv -pch [ebuild N] x11-libs/qt-opengl-4.7.2 USE=qt3support (-aqua) -debug -egl -exceptions -pch [ebuild N] media-libs/phonon-4.5.0 USE=(-aqua) -debug -gstreamer -pulseaudio -vlc -xine [ebuild N]
Re: [gentoo-user] Wierd key bindings in Firefox
Hi, Renat. On Tue, May 24, 2011 at 11:32:25PM +0200, Renat Golubchyk wrote: On Tue, 24 May 2011 21:17:14 + Alan Mackenzie a...@muc.de wrote: Hi, Gentoo. In Firefox 3.6.17, I would expect Page up/down to scroll ~a page up / down, and for up/down arrow to scroll a small number of lines up/down. This doesn't happen. Instead Page up/down do nothing, arrow down scrolls to the very bottom of the page, arrow up sometimes scrolls back to the top again. Does anybody else experience this behaviour, does anybody else know why it's happening, and does anybody else know how to get the desired key bindings? Get the keyconfig extension [1] and bind you keys as you see fit. My problem was my own. I'd had the cursor enabled (with F7) for several weeks without knowing it. As soon as I disabled it, my keys started working properly again. Cheers, Renat [1] http://forums.mozillazine.org/viewtopic.php?t=72994 -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) Thanks for that! It's most appropriate in the present circumstances. ;-) -- Alan Mackenzie (Nuremberg, Germany).
Re: [gentoo-user] pf-sources Kernel
James writes: Anyone running pf-sources? AMD64? Yes! Since two hours after I read your posting, never heard before of pf- sources or BFS before. And they run great! My system was somewhat unresponsive, especially when things like emerges were going on, video playback was stuttering, sometimes Amarok did this, too. Now, it's no problem any more. Well, activating Strigi desktop indexing and Nepomuk still slows things down, though. Your insights and experiences are most welcome, including your opinion of BFS... It rocks! But then, I have been running ck-sources before. And they also have the BFS patch. And it has been set in my .config. So, I should already have seen the benefits all the time. Maybe this is all wishful thinking only? The system already performs much, much better since I added another 2G of RAM one week ago. Now I have 8G, and do not notice that much swapping any more. Although... right now, swap is at 600M, and the system is swapping right now. Weird. I'm running rdiff- backup, this seems to increase swap size. Maybe too much of the stuff it precesses is being cached? Swap is at 800M now. Wonko
Re: [gentoo-user] Re: [HEADSUP] libreoffice versus bison-2.5
On Wed, May 25, 2011 at 10:00:03AM +0200, Walter Dnes wrote: On Sun, May 22, 2011 at 11:31:40PM +0200, Alan McKinnon wrote No, I think you need to get real. It's 2011, what did you expect? Here's what I don't expect. I run a tight ship on my machine. I currently have gnumeric and AbiWord and libreoffice-bin running uncer icewm. In order to get emerge -p app-office/kword to actually start, I had to... !) remove sys-apps/dbus from /etc/portage/package.mask 2) add the following to /etc/portage/package.use x11-libs/qt-sql qt3support x11-libs/qt-core qt3support ssl exceptions x11-libs/qt-gui qt3support accessibility dbus x11-libs/qt-qt3support accessibility kde x11-libs/qt-svg accessibility x11-libs/qt-opengl qt3support x11-libs/qt-webkit kde sys-block/parted device-mapper sys-fs/udev extras sys-auth/consolekit policykit x11-libs/qt-declarative qt3support 3) and here is the 390 megabytes of stuff to emerge... gebuild N] dev-libs/libgpg-error-1.10 USE=-common-lisp -nls -static-libs [ebuild N] dev-libs/libical-0.43 [ebuild N] dev-util/boost-build-1.42.0 USE=-examples -python [ebuild N] sys-apps/sdparm-1.03 [ebuild N] sys-power/pm-quirks-20100619 [ebuild N] sys-block/eject-2.1.5-r2 USE=-nls [ebuild N] kde-base/oxygen-icons-4.6.2 USE=(-aqua) (-kdeenablefinal) (-kdeprefix) [ebuild N] sys-apps/dbus-1.4.6 USE=X -debug -doc (-selinux) -static-libs -test [ebuild N] dev-cpp/eigen-2.0.13 USE=-debug -doc -examples [ebuild N] dev-libs/libassuan-2.0.1 USE=-static-libs [ebuild N] dev-libs/cyrus-sasl-2.1.23-r1 USE=-authdaemond -berkdb -crypt -gdbm -java -kerberos -ldap -mysql -ntlm_unsupported_patch -pam -postgres -sample -sqlite -srp -ssl -urandom [ebuild N] dev-libs/libksba-1.2.0 USE=-static-libs [ebuild N] dev-libs/libgcrypt-1.4.6 USE=-static-libs [ebuild N] dev-libs/pth-2.0.7-r2 USE=-debug [ebuild N] app-admin/eselect-boost-0.3 [ebuild NS ] app-text/docbook-xml-dtd-4.2-r2 [4.3-r1] [ebuild N] dev-libs/libpcre-8.12 USE=bzip2 (unicode) zlib -cxx -recursion-limit -static-libs [ebuild N] x11-libs/libXScrnSaver-1.2.1 USE=-static-libs [ebuild N] kde-base/kde-env-4.6.2 USE=(-aqua) (-kdeenablefinal) (-kdeprefix) [ebuild N] sys-apps/attr-2.4.44 USE=-nls [ebuild N] dev-cpp/clucene-0.9.21b-r1 USE=threads -debug -doc -static-libs [ebuild NS ] virtual/libusb-0 [1] [ebuild N] virtual/eject-0 [ebuild N] app-crypt/pinentry-0.8.0 USE=-caps -gtk -ncurses -qt4 -static [ebuild N] dev-libs/dbus-glib-0.92 USE=-bash-completion -debug -doc -static-libs -test [ebuild N] app-crypt/gnupg-2.0.17 USE=bzip2 -adns -caps -doc -ldap -nls -openct -pcsc-lite (-selinux) -smartcard -static [ebuild N] dev-libs/boost-1.42.0-r2 USE=-debug -doc -eselect -icu -mpi -python -static-libs -test -tools [ebuild N] app-misc/strigi-0.7.1 USE=exif -clucene -dbus -debug -fam -hyperestraier -inotify (-log) -qt4 -test [ebuild N] sys-apps/acl-2.2.49 USE=(-nfs) -nls [ebuild N] sys-power/pm-utils-1.4.1 USE=-alsa -debug -networkmanager -ntp VIDEO_CARDS=intel -radeon [ebuild R ] sys-fs/udev-151-r4 USE=extras* [ebuild N] app-crypt/gpgme-1.3.0 USE=-common-lisp -pth [ebuild N] sys-fs/lvm2-2.02.73-r1 USE=(-clvm) (-cman) -lvm1 -readline (-selinux) -static [ebuild N] dev-libs/libatasmart-0.17 USE=-static-libs [ebuild N] sys-block/parted-2.3 USE=device-mapper -debug -nls -readline (-selinux) [ebuild N] x11-libs/qt-core-4.7.2-r1 USE=exceptions qt3support ssl (-aqua) -debug -glib -iconv -jit -optimized-qmake -pch -private-headers [ebuild N] x11-libs/qt-sql-4.7.2 USE=qt3support (-aqua) -debug -exceptions (-firebird) -freetds -iconv -mysql -odbc -pch -postgres -sqlite [ebuild N] x11-libs/qt-script-4.7.2 USE=(-aqua) -debug -exceptions -iconv -jit -pch -private-headers [ebuild N] x11-libs/qt-test-4.7.2 USE=(-aqua) -debug -exceptions -iconv -pch [ebuild N] dev-util/automoc-0.9.88 [ebuild N] x11-libs/qt-dbus-4.7.2 USE=(-aqua) -debug -exceptions -pch [ebuild N] x11-libs/qt-xmlpatterns-4.7.2 USE=(-aqua) -debug -pch [ebuild N] dev-libs/soprano-2.6.0 USE=-clucene -dbus -debug -doc -raptor -redland -test -virtuoso [ebuild N] app-crypt/qca-2.0.3 USE=(-aqua) -debug -doc -examples [ebuild N] dev-libs/libattica-0.2.0 USE=-debug [ebuild N] x11-libs/qt-gui-4.7.2 USE=accessibility dbus mng qt3support tiff (-aqua) -cups -debug -egl -exceptions -glib -gtkstyle -nas -nis -pch -private-headers -raster -trace -xinerama [ebuild N] x11-libs/qt-qt3support-4.7.2 USE=accessibility kde (-aqua) -debug -exceptions -pch -phonon [ebuild N] x11-libs/qt-svg-4.7.2 USE=accessibility (-aqua) -debug -exceptions -iconv -pch [ebuild N] x11-libs/qt-opengl-4.7.2
[gentoo-user] Re: pf-sources Kernel
On 05/25/2011 03:12 PM, Alex Schuster wrote: [...] Now I have 8G, and do not notice that much swapping any more. Although... right now, swap is at 600M, and the system is swapping right now. Weird. I'm running rdiff- backup, this seems to increase swap size. Maybe too much of the stuff it precesses is being cached? Swap is at 800M now. You can tweak this in /etc/sysctl.conf: vm.swappiness = 30 Or maybe 20. The default is 60. IMO way too high for desktop systems.
[gentoo-user] Re: thunderbird bug?
Jeremy McSpadden deface at uberpenguin.net writes: Make sure your client is set to auth before sending. Simple fix. Been down that road can had conversations with ISP admins. That's not the issue. The same email address works, if I cut and past it into the To field of thunderbird. All other email address work just fine from thunderbird. I cannot find any related bugs..? Does click the blue redirected address work on craigslist for anyone running thunderbird on Gentoo? If so, it might be my flag setting? R ] mail-client/thunderbird-3.1.10 USE=alsa crypt dbus gnome ldap libnotify lightning startup-notification I'm running kde 4.6, if that should matter... I'm going to rebuild thunderbird, just for grins. Stumped. James
Swap performance (was: Re: [gentoo-user] Re: pf-sources Kernel)
Nikos Chantziaras writes: On 05/25/2011 03:12 PM, Alex Schuster wrote: [...] Now I have 8G, and do not notice that much swapping any more. Although... right now, swap is at 600M, and the system is swapping right now. Weird. I'm running rdiff- backup, this seems to increase swap size. Maybe too much of the stuff it precesses is being cached? Swap is at 800M now. You can tweak this in /etc/sysctl.conf: vm.swappiness = 30 Or maybe 20. The default is 60. IMO way too high for desktop systems. Good idea, but I'm using 20 already. I'll start another thread about this. Wonko
Re: [gentoo-user] Re: [HEADSUP] libreoffice versus bison-2.5
On Wed, May 25, 2011 at 7:46 AM, Indi thebeelzebubtrig...@gmail.com wrote: For people already running kde it's ok, but for the rest of us it's a bit ridiculous, isn't it? If he was already using Qt4, it might not have seemed so bad. ;) I think much of that list are from Qt4 and its dependencies. Other than kdelibs, kde-env, kdepimlibs, oxygen-icons I don't see much generic KDE stuff (not counting koffice since that's what he was installing).
[gentoo-user] Swap performance
Hi there! I still wonder why my KDE4 system starts swapping so early. Until a week ago, I had 6G of RAM, but after a day of being logged in, I usually had some swap usage. Sometimes this goes up to 1.5G, this is when the system becomes way too slow and I log out. Normally I don't mind having swap, I always had. But to me it looks like this is worse than it should be. From the point when swapping starts, it's nearly permanent, like, when switching applications and desktops. As if important stuff were swapped out that will be needed again soon. While unimportant stuff stays in memory. This was even worse when using the ati-drivers/fglrx, but at the moment I'm using xf86-video-ati with xorg-server-1.10.1.901 and KMS. echo 1 /proc/sys/vm/drop_caches helps a little, but not much. And not for long. Sometimes I quit memory-hungry applications like Kontact, Amarok and TV Browser and restart them immediately afterwards. Memory usage has dropped, and desktop switching is fast again, once I went to every desktop so that stuff will be swapped in. BTW, vm.swappiness is set to 20. Or I do a 'swapoff -a swapon -a', this empties the swap and also frees memory. But this takes _quite_ _a_ _while_. Once I measured 37 minutes to clear 1G of swap. But I do not remember how much memory was being used then, so I tried again, after closing memory-intensive applications: weird ~ # free -m total used free sharedbuffers cached Mem: 5721 4184 1536 0 34111 -/+ buffers/cache: 4039 1682 Swap: 4093885 3208 weird ~ # time swapoff -a real27m8.757s user2m12.284s sys 21m37.089s weird ~ # free -m total used free sharedbuffers cached Mem: 5721 4785936 0 53409 -/+ buffers/cache: 4322 1398 Swap:0 0 0 So, 27 minutes to put 885MB of swap back into RAM, with the double amount of that being free RAM. I monitored with iotop, and the transfer rate started around 60-100 K/s, later it went higher. But the average transfer rate is 550K/s. Shouldn't swap be, like, a little faster? My swap is on an LUKS-encrypted LVM volume, but I tried with a fresh new LVM volume, and it was a little better only. The SATA drive gives 80-100 MB/s according to hdparm -t. dd'ing /dev/zero directly to the swap volume gives around 100 MB/s. I'm running ck-sources 2.6.38, but I experience this for a long time now, and changed from tuxonice-sources (another thing that just doesn't work well for me) to ck-sources, to try if this would improve things. I even cloned a .config from some live cd, in case I had some stupid option activated that slowed things down. Lowering swappiness helped, as did more memory. With 3.7G of RAM, KDE4 was barely usable. But two years ago, when this PC was new, I ran KDE 4.2 on x86, compiled all except OpenOffice in tmpfs, often had a virtual machine running in VMplayer, and it was fine. I sure run lots of applications (Kontact, Amarok, TV Browser which uses an incredible amount of RAM), some Dolphins, some Konsoles, a few Konquerors, about 15-26 Chromium tabs, KMyMoney, some editors, sometimes Qt Creator, and some Okulars. When I file some photos from my camera with Digikam, I normally do not close it afterwards, hoping that it gets swapped out if needed, and unless I start using it again this should not cost too much of my RAM. This has always been my style of working, I don't like to close an applications just after working with it. And it was fine in the past, with much less memory, and with a virtual machine running all of the time. Now I got another 2G of RAM, and things are better. But still, I have 800M of swap right now, without using special applications or VMs. At this moment, it's not problem, there is no paging going on. A little while ago, it was quite noticeable. I was running rdiff-backup stuff at that moment, but so I am doing now. Weird. Oh, even weirder: The phone just rang, and five minutes later, swap has gone to 860M. I was running rdiff-backup --list-increment-sizes, maybe this uses much memory, and caches the stuff. Now the command has finished, and paging has stopped. The rdiff-backup process itself does not use much memory. BTW, does anyone else's kwin use 750M? That's pretty high, I think it used to be more like 300M. Wonko
Re: [gentoo-user] Ctrl+C not working over ssh?
* Andy Wilkinson drukar...@gmail.com [110524 18:02]: On 05/24/2011 12:38 PM, Todd Goodman wrote: * Andy Wilkinsondrukar...@gmail.com [110524 12:24]: I can't say for sure when this started, as I have gone a while without accessing my computer remotely much, but perhaps since my last upgrade (which may have included openrc), ctrl-c doesn't work over ssh. I have tested this from multiple workstations and even my droid, using different terminal emulators, and have got consistent results. I'm not even sure where to start looking. Googling didn't find me much (at least, not much that's current at all; 5 year-old ubuntu bugs aren't very useful), and I'm not sure at all what might be causing this. Could anyone here point me to something that might be causing this? Thanks, -Andy I don't have any problems. What does 'stty -a' show for the intr= bit? Todd $ stty -a speed 38400 baud; rows 23; columns 80; line = 0; intr = ^C; ... Which looks right, but when I try to use Ctrl-C, this happens: $ ping localhost PING localhost (127.0.0.1) 56(84) bytes of data. 64 bytes from localhost (127.0.0.1): icmp_req=1 ttl=64 time=0.037 ms ^C64 bytes from localhost (127.0.0.1): icmp_req=2 ttl=64 time=0.032 ms ^C^C^C64 bytes from localhost (127.0.0.1): icmp_req=3 ttl=64 time=0.032 ms ^C^C^C^C^C^C64 bytes from localhost (127.0.0.1): icmp_req=4 ttl=64 time=0.034 ms ^C^C^C^C^C^C64 bytes from localhost (127.0.0.1): icmp_req=5 ttl=64 time=0.032 ms ^Z This does NOT happen locally: from a console or terminal at the machine, I can interrupt just fine. Ctrl-Z does//work over ssh. Thanks, -Andy Very strange (as someone else said.) Only thing I can think of is that something in your startup scripts (.profile, .bashrc, etc.) are doing something different between the two logins. I've seen that most often when they do things based on TERM and it's different between a local login and remote. Maybe make sure your startup scripts run with a 'set -x' at the beginning and compare the output? Good luck, Todd
[gentoo-user] usb support in virtualbox
Hello, I am interested in usb support within virtualbox guests. The version I am currently using does not offer it: virtualbox-3.2.12-r4 would the bin package virtualbox-bin- 3.2.12-r1 has it? Is the usb support the main difference between the bin versus non-bin packages? Thanks, -- Valmor
Re: [gentoo-user] usb support in virtualbox
On Wed, 25 May 2011 10:53:26 -0400, Valmor de Almeida wrote: Is the usb support the main difference between the bin versus non-bin packages? Yes. -- Neil Bothwick We can't solve problems by using the same kind of thinking we used when we created them. (Albert Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] usb support in virtualbox
On Wed, May 25, 2011 at 7:53 AM, Valmor de Almeida val.gen...@gmail.com wrote: Hello, I am interested in usb support within virtualbox guests. The version I am currently using does not offer it: virtualbox-3.2.12-r4 would the bin package virtualbox-bin- 3.2.12-r1 has it? Is the usb support the main difference between the bin versus non-bin packages? Thanks, -- Valmor Valmor, Take a look at the Extension Pack. It might give you more of what you need. It does seem to be in portage but I've not used it myself. http://www.virtualbox.org/wiki/Downloads HTH, Mark
Re: [gentoo-user] usb support in virtualbox
On Wed, May 25, 2011 at 11:12 AM, Neil Bothwick n...@digimed.co.uk wrote: On Wed, 25 May 2011 10:53:26 -0400, Valmor de Almeida wrote: Is the usb support the main difference between the bin versus non-bin packages? Yes. -- Neil Bothwick We can't solve problems by using the same kind of thinking we used when we created them. (Albert Einstein) Would you know whether version =4.0.x will no longer have a bin distribution? Looking at what is available on my system I still see a bin split: /usr/portage/app-emulation/virtualbox-bin/virtualbox-bin-4.0.6-r1.ebuild Thanks, -- Valmor
Re: [gentoo-user] Swap performance
On Wed, May 25, 2011 at 9:20 AM, Alex Schuster wo...@wonkology.org wrote: Hi there! I still wonder why my KDE4 system starts swapping so early. Until a week ago, I had 6G of RAM, but after a day of being logged in, I usually had some swap usage. Sometimes this goes up to 1.5G, this is when the system becomes way too slow and I log out. I can't remember the last time my swap was used at all. I have 12G of RAM, but in my prior system with 8G it was the same. Only in a rare case when some program had run-away memory usage/memory leak did I ever get to swap usage... I'm using vanilla kernel 2.6.39 with no patches, no BFS. And I use proprietary nvidia-drivers. I normally don't have so many programs running at once, but it happens sometimes. Since 2.6.38 and enabling automatic process grouping, I don't use nice or ionice at all anymore. I do parallel emerge with -j along with make -j12 and never notice any slowdown or lag in UI at all. With KDE4 logged in, and no GUI apps running (other than knutmon and wicd), my RAM usage is slightly less than 900M (not counting filesystem caches). BTW, does anyone else's kwin use 750M? That's pretty high, I think it used to be more like 300M. My kwin (4.6.3-r1) has currently 507M VIRT, 54M RES, 37M SHR according to top. My worst memory offenders, by resident memory: clamd 124M denyhosts 114M X 75M plasma-desktop 56M By virtual memory: krunner 964M wicd-client (python) 681M plasma-desktop 643M kded4 581M Or I do a 'swapoff -a swapon -a', this empties the swap and also frees memory. But this takes _quite_ _a_ _while_. Once I measured 37 minutes to clear 1G of swap. My PC doesn't swap, but in my Nokia N900, it runs Linux and X, heavy use of gtk and Qt4 libs, it has 256M of RAM and 768M of swap on eMMC (transfer rate about 20MB/sec). It swaps like crazy. :) Usually there is more swap in use than RAM, actually. When I move the swap to a slow SD card instead (2MB/sec transfer rate), even in that slow device, swapoff on the eMMC swap partition with ~500M in-use takes about 2 or 3 minutes at most with the data being swapped slowly into the SD card. So I think in your case it should be much faster than that!
Re: [gentoo-user] Re: [HEADSUP] libreoffice versus bison-2.5
On Wed, May 25, 2011 at 04:30:02PM +0200, Paul Hartman wrote: On Wed, May 25, 2011 at 7:46 AM, Indi thebeelzebubtrig...@gmail.com wrote: For people already running kde it's ok, but for the rest of us it's a bit ridiculous, isn't it? If he was already using Qt4, it might not have seemed so bad. ;) I think much of that list are from Qt4 and its dependencies. Other than kdelibs, kde-env, kdepimlibs, oxygen-icons I don't see much generic KDE stuff (not counting koffice since that's what he was installing). Last I tried it, you can't run much of that stuff without the whole kdeinit thing, which is a giant resource hog (relatively speaking, for those of us accustomed to running trim, fast, light systems). That why I said it's become like an OS unto itself. I remember when people used to carry on about bloaty GNUstep libs, and I said but those *are* small, fast, and light and people responded to me in the manner I've responded to kde people who say that about kde. So it really is all quite relative... :) My standard is simple: it has to be able to work without a mouse, and when I hit the keys, I want to see results *immediately* -- real results, not a wait dialog or spinny thing. -- caveat utilitor ♫ ❤ ♫ ❤ ♫ ❤ ♫ ❤
Re: [gentoo-user] usb support in virtualbox
On Wed, May 25, 2011 at 11:14 AM, Mark Knecht markkne...@gmail.com wrote: [snip] Valmor, Take a look at the Extension Pack. It might give you more of what you need. It does seem to be in portage but I've not used it myself. http://www.virtualbox.org/wiki/Downloads HTH, Mark Mark, I see it in portage /usr/portage/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-4.0.6.ebuild Will give it a try. Thanks, -- Valmor
[gentoo-user] Re: [HEADSUP] libreoffice versus bison-2.5
Indi: Last I tried it, you can't run much of that stuff without the whole kdeinit thing, which is a giant resource hog (relatively speaking, for those of us accustomed to running trim, fast, light systems). If i will try knode, i get this result: Total: 69 packages (65 new, 2 in new slots, 2 reinstalls), Size of downloads: 361,274 kB Hart ;) mut -- Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/ Von Usern fuer User :-)
Re: [gentoo-user] Swap performance
Apparently, though unproven, at 16:20 on Wednesday 25 May 2011, Alex Schuster did opine thusly: Oh, even weirder: The phone just rang, and five minutes later, swap has gone to 860M. I was running rdiff-backup --list-increment-sizes, maybe this uses much memory, and caches the stuff. Now the command has finished, and paging has stopped. The rdiff-backup process itself does not use much memory. BTW, does anyone else's kwin use 750M? That's pretty high, I think it used to be more like 300M. I've been noticing this kind of thing too for a while now. In my case it's the nepomuk/akonadi/virtuoso stack doing it - it seems to trigger full scans at weird times and does other special things after a resume from suspend. Virtuoso can sometimes get as high as 800M RES memory in top. Which is all quite bizarre, I suspect a dodgy config on my part. As for kwin - what column are you reading the value from? Here kwin uses more like 60M -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Swap performance
On Wednesday 25 May 2011 16:20:58 Alex Schuster wrote: So, 27 minutes to put 885MB of swap back into RAM, with the double amount of that being free RAM. I monitored with iotop, and the transfer rate started around 60-100 K/s, later it went higher. But the average transfer rate is 550K/s. Shouldn't swap be, like, a little faster? no, sounds about right. Swap in linux is brain damaging slow. If you think about it your gall bladder might explode. That slow.
Re: [gentoo-user] Re: [HEADSUP] libreoffice versus bison-2.5
Apparently, though unproven, at 14:46 on Wednesday 25 May 2011, Indi did opine thusly: For people already running kde it's ok, but for the rest of us it's a bit ridiculous, isn't it? I used to use a few k apps in the 3 days, they were small and easily integrated into the system. Now kde is like it's own OS, so they've basically eliminated their apps from consideration of non-kde users. Not that it matters much to me, one of the strengths of gentoo is how many ways there are to do a given task. But there are quite a few kde zealots who seem to be completely unaware of what we mean by fast, light, standalone. I guess some people didn't experience the 80s or 90s. :) It doesn't make sense running koffice without also running KDE, it's a hard requirement. And not only did I experience the 80s and 90s, but the 70s as well. So now that you have defined what fast, light, standalone means by your current needs, it is obvious that no such package exists and hence there is a gap in the market. Now we know what your next project will be. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Swap performance
On Wednesday 25 May 2011 10:31:19 Paul Hartman wrote: When I move the swap to a slow SD card instead (2MB/sec transfer rate), even in that slow device, swapoff on the eMMC swap partition with ~500M in-use takes about 2 or 3 minutes at most with the data being swapped slowly into the SD card. So I think in your case it should be much faster than that! you are comparing apples with oranges (harddisks with moving arms with solid state devices). Do yourself a favour. Look up how long a harddisk needs to position its head. Now you can calculate how many times a second a harddisk can position its head. Now remember: swap is stupid, so lots and lots of head movement needed (and a cash flush is running too - so even more movements to write all that crap to disk), The result: the whole mess is fscking slow. You can have a nice fat raid with nice and fast harddisks - if you try to stream to a 15 year old DLT drive with 5/10mb/sec speed the dlt drive will constantly rewind - because harddisks suck when they have to seek. And swap (just like a backup) = lots and lots and lots of seeks.
Re: [gentoo-user] Re: [HEADSUP] libreoffice versus bison-2.5
On Wed, May 25, 2011 at 06:40:01PM +0200, Hartmut Figge wrote: Indi: Last I tried it, you can't run much of that stuff without the whole kdeinit thing, which is a giant resource hog (relatively speaking, for those of us accustomed to running trim, fast, light systems). If i will try knode, i get this result: Total: 69 packages (65 new, 2 in new slots, 2 reinstalls), Size of downloads: 361,274 kB I like mutt with the nntp patch for usenet anyway. Add rss2email and you have email, rss, and nntp all in mutt. Really nice. Quick and responsive, too. Using leafnode you can even have filters for nntp. Use elinks to open linked web content and feh for images, and you're all set. Well, until you want to watch something on hulu. But conkeror works well for that... :) -- caveat utilitor ♫ ❤ ♫ ❤ ♫ ❤ ♫ ❤
Re: [gentoo-user] Re: [HEADSUP] libreoffice versus bison-2.5
On Wednesday 25 May 2011 08:46:48 Indi wrote: On Wed, May 25, 2011 at 10:00:03AM +0200, Walter Dnes wrote: On Sun, May 22, 2011 at 11:31:40PM +0200, Alan McKinnon wrote No, I think you need to get real. It's 2011, what did you expect? Here's what I don't expect. I run a tight ship on my machine. I currently have gnumeric and AbiWord and libreoffice-bin running uncer icewm. In order to get emerge -p app-office/kword to actually start, I had to... !) remove sys-apps/dbus from /etc/portage/package.mask 2) add the following to /etc/portage/package.use x11-libs/qt-sql qt3support x11-libs/qt-core qt3support ssl exceptions x11-libs/qt-gui qt3support accessibility dbus x11-libs/qt-qt3support accessibility kde x11-libs/qt-svg accessibility x11-libs/qt-opengl qt3support x11-libs/qt-webkit kde sys-block/parted device-mapper sys-fs/udev extras sys-auth/consolekit policykit x11-libs/qt-declarative qt3support 3) and here is the 390 megabytes of stuff to emerge... gebuild N] dev-libs/libgpg-error-1.10 USE=-common-lisp -nls -static-libs [ebuild N] dev-libs/libical-0.43 [ebuild N] dev-util/boost-build-1.42.0 USE=-examples -python [ebuild N] sys-apps/sdparm-1.03 [ebuild N] sys-power/pm-quirks-20100619 [ebuild N] sys-block/eject-2.1.5-r2 USE=-nls [ebuild N] kde-base/oxygen-icons-4.6.2 USE=(-aqua) (-kdeenablefinal) (-kdeprefix) [ebuild N] sys-apps/dbus-1.4.6 USE=X -debug -doc (-selinux) -static-libs -test [ebuild N] dev-cpp/eigen-2.0.13 USE=-debug -doc -examples [ebuild N] dev-libs/libassuan-2.0.1 USE=-static-libs [ebuild N] dev-libs/cyrus-sasl-2.1.23-r1 USE=-authdaemond -berkdb -crypt -gdbm -java -kerberos -ldap -mysql -ntlm_unsupported_patch -pam -postgres -sample -sqlite -srp -ssl -urandom [ebuild N] dev-libs/libksba-1.2.0 USE=-static-libs [ebuild N] dev-libs/libgcrypt-1.4.6 USE=-static-libs [ebuild N] dev-libs/pth-2.0.7-r2 USE=-debug [ebuild N] app-admin/eselect-boost-0.3 [ebuild NS ] app-text/docbook-xml-dtd-4.2-r2 [4.3-r1] [ebuild N] dev-libs/libpcre-8.12 USE=bzip2 (unicode) zlib -cxx -recursion-limit -static-libs [ebuild N] x11-libs/libXScrnSaver-1.2.1 USE=-static-libs [ebuild N] kde-base/kde-env-4.6.2 USE=(-aqua) (-kdeenablefinal) (-kdeprefix) [ebuild N] sys-apps/attr-2.4.44 USE=-nls [ebuild N] dev-cpp/clucene-0.9.21b-r1 USE=threads -debug -doc -static-libs [ebuild NS ] virtual/libusb-0 [1] [ebuild N] virtual/eject-0 [ebuild N] app-crypt/pinentry-0.8.0 USE=-caps -gtk -ncurses -qt4 -static [ebuild N] dev-libs/dbus-glib-0.92 USE=-bash-completion -debug -doc -static-libs -test [ebuild N] app-crypt/gnupg-2.0.17 USE=bzip2 -adns -caps -doc -ldap -nls -openct -pcsc-lite (-selinux) -smartcard -static [ebuild N] dev-libs/boost-1.42.0-r2 USE=-debug -doc -eselect -icu -mpi -python -static-libs -test -tools [ebuild N] app-misc/strigi-0.7.1 USE=exif -clucene -dbus -debug -fam -hyperestraier -inotify (-log) -qt4 -test [ebuild N] sys-apps/acl-2.2.49 USE=(-nfs) -nls [ebuild N] sys-power/pm-utils-1.4.1 USE=-alsa -debug -networkmanager -ntp VIDEO_CARDS=intel -radeon [ebuild R ] sys-fs/udev-151-r4 USE=extras* [ebuild N] app-crypt/gpgme-1.3.0 USE=-common-lisp -pth [ebuild N] sys-fs/lvm2-2.02.73-r1 USE=(-clvm) (-cman) -lvm1 -readline (-selinux) -static [ebuild N] dev-libs/libatasmart-0.17 USE=-static-libs [ebuild N] sys-block/parted-2.3 USE=device-mapper -debug -nls -readline (-selinux) [ebuild N] x11-libs/qt-core-4.7.2-r1 USE=exceptions qt3support ssl (-aqua) -debug -glib -iconv -jit -optimized-qmake -pch -private-headers [ebuild N] x11-libs/qt-sql-4.7.2 USE=qt3support (-aqua) -debug -exceptions (-firebird) -freetds -iconv -mysql -odbc -pch -postgres -sqlite [ebuild N] x11-libs/qt-script-4.7.2 USE=(-aqua) -debug -exceptions -iconv -jit -pch -private-headers [ebuild N] x11-libs/qt-test-4.7.2 USE=(-aqua) -debug -exceptions -iconv -pch [ebuild N] dev-util/automoc-0.9.88 [ebuild N] x11-libs/qt-dbus-4.7.2 USE=(-aqua) -debug -exceptions -pch [ebuild N] x11-libs/qt-xmlpatterns-4.7.2 USE=(-aqua) -debug -pch [ebuild N] dev-libs/soprano-2.6.0 USE=-clucene -dbus -debug -doc -raptor -redland -test -virtuoso [ebuild N] app-crypt/qca-2.0.3 USE=(-aqua) -debug -doc -examples [ebuild N ] dev-libs/libattica-0.2.0 USE=-debug [ebuild N] x11-libs/qt-gui-4.7.2 USE=accessibility dbus mng qt3support tiff (-aqua) -cups -debug -egl -exceptions -glib -gtkstyle -nas -nis -pch -private-headers -raster -trace -xinerama [ebuild N ] x11-libs/qt-qt3support-4.7.2 USE=accessibility kde (-aqua) -debug -exceptions -pch -phonon [ebuild N] x11-libs/qt-svg-4.7.2 USE=accessibility (-aqua) -debug -exceptions
Re: [gentoo-user] Re: [HEADSUP] libreoffice versus bison-2.5
On Wed, May 25, 2011 at 07:20:01PM +0200, Volker Armin Hemmann wrote: and have you ever heard of 'code reuse' or 'modularity'? It seems - no. Because KDE itself might be huge. But once loaded the apps are pretty small - because they reuse code. kmail does not have its own html engine. It does not matter where you type your text etc pp. I'm sorry, but the once you load this GB of libs argument is missing the point entirely... Overall KDE uses LESS ram then most 'lightweight' solutions. No. Been around the block investigating this, it's BS. I've investigated this quite thoroughly because I have to support users who need everything to be easy and automatic and pointy-clicky (and preferably shiny too). Frankly, arguing that kde4 is a lighter weight solution is something only a hardcore zealot or someone who's not used a WM without a DE could do with a straight face. -- caveat utilitor ♫ ❤ ♫ ❤ ♫ ❤ ♫ ❤
Re: [gentoo-user] Re: [HEADSUP] libreoffice versus bison-2.5
On Wed, May 25, 2011 at 07:20:01PM +0200, Volker Armin Hemmann wrote: Oh - and you should spend some time on Alan's postings. He is not only a certified OLD FART, he has some serious first hand, real world experience that makes most of the other OLD FARTs on this list look like noobs. Sorry, I meant to address this as well: Don't get caught in the approval/disapproval trap. My preferences and opinions have nothing to do with personal stuff. I read everyone's posts, regardless of whether or not I agree with them on anything, and have no enemies, because I'm not interested in that sort of thing. There are occasionally people who dislike me, and that's fine. I don't like everybody either. But generally speaking, what others think is none of my business until they try to convince me I should also think that way. Then it seems appropriate to address it. You know, Linus uses gnome last I heard. So I'm well aware that my personal preferences have nothing to do with whether or not I am proficient or knowledgeable. Maybe I'm pushing peoples' buttons by sounding like some inflexible, judgemental old fart you met before. If so, sorry! I'm more of a live and let live, yet strongly opinionated old fart. :) -- caveat utilitor ♫ ❤ ♫ ❤ ♫ ❤ ♫ ❤
Re: [gentoo-user] Re: [HEADSUP] libreoffice versus bison-2.5
On Wed, May 25, 2011 at 07:10:01PM +0200, Alan McKinnon wrote: Apparently, though unproven, at 14:46 on Wednesday 25 May 2011, Indi did opine thusly: For people already running kde it's ok, but for the rest of us it's a bit ridiculous, isn't it? I used to use a few k apps in the 3 days, they were small and easily integrated into the system. Now kde is like it's own OS, so they've basically eliminated their apps from consideration of non-kde users. Not that it matters much to me, one of the strengths of gentoo is how many ways there are to do a given task. But there are quite a few kde zealots who seem to be completely unaware of what we mean by fast, light, standalone. I guess some people didn't experience the 80s or 90s. :) It doesn't make sense running koffice without also running KDE, it's a hard requirement. And not only did I experience the 80s and 90s, but the 70s as well. So now that you have defined what fast, light, standalone means by your current needs, it is obvious that no such package exists and hence there is a gap in the market. Now we know what your next project will be. Writing a virus that destroys all msoffice installs once and for all so we can finally just use sane formats editable as text? :D (kidding, of course, I would never do malware) Actually, writing an add-on for vim that can edit word documents is an idea I plan to look into when I get some time. Right now I use up all my poor little brain's ability to focus on other things, but maybe soon there'll be a break. -- caveat utilitor ♫ ❤ ♫ ❤ ♫ ❤ ♫ ❤
Re: [gentoo-user] e17 fails to build from svn
On Wednesday 18 May 2011 21:51:25 Mick wrote: On Wednesday 18 May 2011 21:31:54 Alan McKinnon wrote: Apparently, though unproven, at 21:34 on Tuesday 17 May 2011, Mick did opine thusly: Anyway, tonight it failed right on the first package: Emerging (1 of 10) dev-libs/eina- from enlightenment [snip] ../../src/include/eina_binbuf.h:209: note: previous declaration of 'eina_binbuf_length_get' was here eina_amalgamation.c:17936: error: redefinition of '__STRBUF_MAGIC_STR' eina_amalgamation.c:1222: note: previous definition of '__STRBUF_MAGIC_STR' was here FYI, this is fixed in svn now I wonder if I can start using the 1.0.0 versions of enlightenment packages yet, or am I supposed to continue using everything from svn and not mix them? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] office softs
Hello Some of you tried both LibreOffice / OpenOffice / Calligra recently ? What do you think of them ? Which is stable / not yet fully finish ? ... -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Swap performance
On Wed, May 25, 2011 at 11:58 AM, Volker Armin Hemmann volkerar...@googlemail.com wrote: On Wednesday 25 May 2011 10:31:19 Paul Hartman wrote: When I move the swap to a slow SD card instead (2MB/sec transfer rate), even in that slow device, swapoff on the eMMC swap partition with ~500M in-use takes about 2 or 3 minutes at most with the data being swapped slowly into the SD card. So I think in your case it should be much faster than that! you are comparing apples with oranges (harddisks with moving arms with solid state devices). Do yourself a favour. Look up how long a harddisk needs to position its head. Yeah, measuring speed in microseconds versus milliseconds. :) My SD read/write speed is about 0.9MB/sec in benchmark, and about 2 MB/sec in real-life swap usage. Based on Alex's timings it seems his HDD is getting about 0.5 MB/sec in swap usage. HDD benchmark random read/write is usually faster than that. But probably you're right and the seek operations are really killing it. HDD is about 20 times slower than SD card in seeking. If he has a USB flash drive, or memory card reader, he can use it for swap and see if it's any better or worse. I am curious how it will compare. Or, if he has multiple disks, he could create more swap partitions with equal priority and kernel will stripe/load balance automatically, hopefully improving his swap performance. Or better yet, figure out why his system is swapping at all which is what he was going for I think. With 8 GB I think he should be able to disable swap entirely anyway. :)
[gentoo-user] [OT] network discovery tools
There must be a number of people who post here that have had to do this problem. Discover the addresses of computers on a home network that have connected by way of DHCP. For example: Several wireless connections. I've used static IPS for around 10 yrs, always seemed handier for things like ssh between home lan computers. But recently started using DHCP for wireless connections. It must be such a popular method for some reason. But when you do it that way, and say want to VNC or ssh or the like to something connected by a dhcp serving WAP then how do you find the address? That is, besides something like accessing the WAP and checking the IPs connected to it. Is there some quick and sure way to discover any IPs on the home lan? Some kind of mapper tool?
Re: [gentoo-user] [OT] network discovery tools
On Wednesday 25 May 2011 21:45:07 Harry Putnam wrote: There must be a number of people who post here that have had to do this problem. Discover the addresses of computers on a home network that have connected by way of DHCP. For example: Several wireless connections. I've used static IPS for around 10 yrs, always seemed handier for things like ssh between home lan computers. But recently started using DHCP for wireless connections. It must be such a popular method for some reason. But when you do it that way, and say want to VNC or ssh or the like to something connected by a dhcp serving WAP then how do you find the address? That is, besides something like accessing the WAP and checking the IPs connected to it. Is there some quick and sure way to discover any IPs on the home lan? Some kind of mapper tool? dhcp can assign static adresses ! Thus, it's easier to manage (only the dhcp server to admin !) I am not english, thus, don't know website with such doc (in english) but you can easily find it on internet ! You have also dnsmasq that makes both dns (for lan) + dhcp (whereas commonly, this functions are split) -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: [OT] network discovery tools
On 2011-05-25, Harry Putnam rea...@newsguy.com wrote: There must be a number of people who post here that have had to do this problem. Discover the addresses of computers on a home network that have connected by way of DHCP. For example: Several wireless connections. I've used static IPs for around 10 yrs, always seemed handier for things like ssh between home lan computers. But recently started using DHCP for wireless connections. It must be such a popular method for some reason. But when you do it that way, and say want to VNC or ssh or the like to something connected by a dhcp serving WAP then how do you find the address? The best thing to do is to use a DHCP server and DNS server that are connected somehow. Then hostnames just work. Or you can statically assign IP addresses in the DHCP server so that DHCP clients always get hard-wired IP addresses that match up with the /etc/hosts file on the DNS server. I use OpenWRT for WAP, DNS, and DHCP, and it all pretty much just works. When a DHCP client is assigned an IP address, the DNS server knows about it and you can access it by it's hostname just the way you would with a static setup. For various reasons, I assign static IP addresses to a number of devices, but I do it via the DHCP server's configuration, not by configuring each individual device. -- Grant Edwards grant.b.edwardsYow! Did an Italian CRANE at OPERATOR just experience gmail.comuninhibited sensations in a MALIBU HOT TUB?
Re: [gentoo-user] office softs
On Wed, May 25, 2011 at 2:31 PM, Stéphane Guedon steph...@22decembre.eu wrote: Hello Some of you tried both LibreOffice / OpenOffice / Calligra recently ? What do you think of them ? Which is stable / not yet fully finish ? ... They are both very mature and stable and should be able to do almost anything you need, as long as that need is not 100% MS-compatibility. ;)
Re: [gentoo-user] Swap performance
Apparently, though unproven, at 18:53 on Wednesday 25 May 2011, Volker Armin Hemmann did opine thusly: On Wednesday 25 May 2011 16:20:58 Alex Schuster wrote: So, 27 minutes to put 885MB of swap back into RAM, with the double amount of that being free RAM. I monitored with iotop, and the transfer rate started around 60-100 K/s, later it went higher. But the average transfer rate is 550K/s. Shouldn't swap be, like, a little faster? no, sounds about right. Swap in linux is brain damaging slow. If you think about it your gall bladder might explode. That slow. For years now I've considered only two possible uses for linux swap: - a teeny small one just for wiggle room to try and hold that POS called the oom killer at bay - a bigger one the same size as total RAM, as a place to put the suspend image Every other usage makes no sense at all (RAM being so cheap and all). In fact, I've banned swap on all company servers except databases. I'd be interested to hear any current use cases where swap delivers a provable benefit. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Swap performance
Apparently, though unproven, at 18:58 on Wednesday 25 May 2011, Volker Armin Hemmann did opine thusly: On Wednesday 25 May 2011 10:31:19 Paul Hartman wrote: When I move the swap to a slow SD card instead (2MB/sec transfer rate), even in that slow device, swapoff on the eMMC swap partition with ~500M in-use takes about 2 or 3 minutes at most with the data being swapped slowly into the SD card. So I think in your case it should be much faster than that! you are comparing apples with oranges (harddisks with moving arms with solid state devices). Do yourself a favour. Look up how long a harddisk needs to position its head. Now you can calculate how many times a second a harddisk can position its head. Now remember: swap is stupid, so lots and lots of head movement needed (and a cash flush is running too - so even more movements to write all that crap to disk), The result: the whole mess is fscking slow. You can have a nice fat raid with nice and fast harddisks - if you try to stream to a 15 year old DLT drive with 5/10mb/sec speed the dlt drive will constantly rewind - because harddisks suck when they have to seek. And swap (just like a backup) = lots and lots and lots of seeks. That reminds me of how SSDs ought to be much faster than hard disks. But every time I use my Acer netbook (8G SSD) I curse and swear and commit random acts of violence - that first gen SSD controller is the worst possible thing to ever hit computers. I swear the 4G SDHC expansion card is leaps faster (completely OT, I know. I'll keep quiet now.) -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: [HEADSUP] libreoffice versus bison-2.5
Apparently, though unproven, at 19:13 on Wednesday 25 May 2011, Volker Armin Hemmann did opine thusly: Oh - and you should spend some time on Alan's postings. He is not only a certified OLD FART, he has some serious first hand, real world experience that makes most of the other OLD FARTs on this list look like noobs. Oh, I don't know about that so much. OK, I agree on the old fart bit. But many days Neil and Paul can make me look like a blithering idiot :-) Incidentally, this gentoo-user list has the highest concentration of seriously knowledgeable folk across a wide spectrum of any list/forum/whatever I've ever come across. Sometimes, it's frightening. I just wanted to put that out there - positive reinforcement. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] e17 fails to build from svn
Apparently, though unproven, at 21:01 on Wednesday 25 May 2011, Mick did opine thusly: On Wednesday 18 May 2011 21:51:25 Mick wrote: On Wednesday 18 May 2011 21:31:54 Alan McKinnon wrote: Apparently, though unproven, at 21:34 on Tuesday 17 May 2011, Mick did opine thusly: Anyway, tonight it failed right on the first package: Emerging (1 of 10) dev-libs/eina- from enlightenment [snip] ../../src/include/eina_binbuf.h:209: note: previous declaration of 'eina_binbuf_length_get' was here eina_amalgamation.c:17936: error: redefinition of '__STRBUF_MAGIC_STR' eina_amalgamation.c:1222: note: previous definition of '__STRBUF_MAGIC_STR' was here FYI, this is fixed in svn now I wonder if I can start using the 1.0.0 versions of enlightenment packages yet, or am I supposed to continue using everything from svn and not mix them? I tried pegging my system at the 1.0.0 libs that are available, that didn't work too well. The wm (e17 itself) is not released yet so unless you keep it at a snapshot made at the time of the 1.0.0 release you quickly encounter build failures. Same with the various apps in svn and all the third-party modules. Seems like the releases were meant to be a (mostly) feature-complete snapshot that devs could use to test and evaluate and write apps for. Real world dictates that if you like to stay current you should either limit yourself to only those things released already, or keep everything at - -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] office softs
Apparently, though unproven, at 22:07 on Wednesday 25 May 2011, Paul Hartman did opine thusly: On Wed, May 25, 2011 at 2:31 PM, Stéphane Guedon steph...@22decembre.eu wrote: Hello Some of you tried both LibreOffice / OpenOffice / Calligra recently ? What do you think of them ? Which is stable / not yet fully finish ? ... They are both very mature and stable and should be able to do almost anything you need, as long as that need is not 100% MS-compatibility. ;) LibreOffice comes with a huge benefit - I do not have to see the Oracle logo on the splash screen. That alone was enough to make me switch. Other than that, I reckon they are mostly on par with each other for the average user. According to some recent blogs I scanned over, LibreOffice ships with more templates or makes the process easier. I can see how many people would like that a lot. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] [OT] network discovery tools
Le 25 mai à 21:54 Stéphane Guedon a écrit On Wednesday 25 May 2011 21:45:07 Harry Putnam wrote: There must be a number of people who post here that have had to do this problem. Discover the addresses of computers on a home network that have connected by way of DHCP. For example: Several wireless connections. « ip a s » to get your IP with your mask and then « nmap ip.in.v4.format/mask » I've used static IPS for around 10 yrs, always seemed handier for things like ssh between home lan computers. But recently started using DHCP for wireless connections. It must be such a popular method for some reason. But when you do it that way, and say want to VNC or ssh or the like to something connected by a dhcp serving WAP then how do you find the address? avahi and zeroconf could be an help. With avahi-daemon running every where and avahi-dnsconfd I just type « ssh -l login myhostname.local » or « ssh -l login myhostname.lan » depending on your configuration. That is, besides something like accessing the WAP and checking the IPs connected to it. Is there some quick and sure way to discover any IPs on the home lan? Some kind of mapper tool? You've got lanmap to, though it doesn't seem maintained IMHO and it depends on nmap. dhcp can assign static adresses ! Thus, it's easier to manage (only the dhcp server to admin !) I am not english, thus, don't know website with such doc (in english) but you can easily find it on internet ! Configuration sample are even given in isc-dhcp-server default conf file, richly commented out. You have also dnsmasq that makes both dns (for lan) + dhcp (whereas commonly, this functions are split) -- Vincent-Xavier JUMEL GPG Id: 0x2E14CE70 http://thetys-retz.net Rejoignez les 5398 adhérents de l'April http://www.april.org/adherer Parinux, logiciel libre à Paris : http://www.parinux.org
[gentoo-user] haldaemon group/user
Hello, I have eliminated hal long ago and noted recently in my group list that I have a haldaemon group haldaemon:x:104:haldaemon and a user haldaemon:x:102:104:added by portage for hal:/dev/null:/sbin/nologin Should these have been eliminated or do I need to do it by hand or something else still needs it? Thanks, -- Valmor
[gentoo-user] Re: [OT] network discovery tools
Grant Edwards grant.b.edwa...@gmail.com writes: [...] But when you do it that way, and say want to VNC or ssh or the like to something connected by a dhcp serving WAP then how do you find the address? The best thing to do is to use a DHCP server and DNS server that are connected somehow. Then hostnames just work. Or you can statically assign IP addresses in the DHCP server so that DHCP clients always get hard-wired IP addresses that match up with the /etc/hosts file on the DNS server. I use OpenWRT for WAP, DNS, and DHCP, and it all pretty much just works. When a DHCP client is assigned an IP address, the DNS server knows about it and you can access it by it's hostname just the way you would with a static setup. For various reasons, I assign static IP addresses to a number of devices, but I do it via the DHCP server's configuration, not by configuring each individual device. That sounds like a good plan... and worth some thought. However I was only asking to find IPs on the home lan after the fact. Not the general question of how to setup the lan (though I welcome the ideas you present). I seem to have latched onto a tool by a bit more googling, and getting lucky, called netdiscover that is in portage now. Just one simple command found all machines active on the home lan including those with DHCP served addresses: netdiscover -i eth0 ENTER Oddly a similar command but aimed at a range misses a few: netdiscover -i eth0 -r 192.168.0.0/24 ENTER I guess the tool may use some heuristics if you give it less info. And for one reason or another a plain `arp' command misses several of those discovered with `netdiscover -i eth0' So I found what I needed... thanks.
Re: [gentoo-user] office softs
On Wednesday 25 May 2011 22:07:15 Paul Hartman wrote: On Wed, May 25, 2011 at 2:31 PM, Stéphane Guedon steph...@22decembre.eu wrote: Hello Some of you tried both LibreOffice / OpenOffice / Calligra recently ? What do you think of them ? Which is stable / not yet fully finish ? ... They are both very mature and stable and should be able to do almost anything you need, as long as that need is not 100% MS-compatibility. ;) I need a small MS-compatibility, as anyone I think. I wonder if calligra is mature enough to be used (cause openoffice not fully integrated with my desktop environnement). Openoffice/Libreoffice... = which to choose ? Openoffice is heavy whereas I think calligra light, thus, easier to update, but is calligra solid enough ? -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] haldaemon group/user
Apparently, though unproven, at 22:37 on Wednesday 25 May 2011, Valmor de Almeida did opine thusly: Hello, I have eliminated hal long ago and noted recently in my group list that I have a haldaemon group haldaemon:x:104:haldaemon and a user haldaemon:x:102:104:added by portage for hal:/dev/null:/sbin/nologin Should these have been eliminated or do I need to do it by hand or something else still needs it? You need to remove it by hand -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] office softs
On Wednesday 25 May 2011 22:20:00 Alan McKinnon wrote: Apparently, though unproven, at 22:07 on Wednesday 25 May 2011, Paul Hartman did opine thusly: On Wed, May 25, 2011 at 2:31 PM, Stéphane Guedon steph...@22decembre.eu wrote: Hello Some of you tried both LibreOffice / OpenOffice / Calligra recently ? What do you think of them ? Which is stable / not yet fully finish ? ... They are both very mature and stable and should be able to do almost anything you need, as long as that need is not 100% MS-compatibility. ;) LibreOffice comes with a huge benefit - I do not have to see the Oracle logo on the splash screen. That alone was enough to make me switch. Other than that, I reckon they are mostly on par with each other for the average user. According to some recent blogs I scanned over, LibreOffice ships with more templates or makes the process easier. I can see how many people would like that a lot. I don't have oracle logo... (useless mail just to make fun) :-) -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Swap performance
Alan McKinnon writes: That reminds me of how SSDs ought to be much faster than hard disks. But every time I use my Acer netbook (8G SSD) I curse and swear and commit random acts of violence - that first gen SSD controller is the worst possible thing to ever hit computers. I swear the 4G SDHC expansion card is leaps faster (completely OT, I know. I'll keep quiet now.) Ah, it's okay, we all need this from time to time :) Wonko
Re: [gentoo-user] haldaemon group/user
On Wed, May 25, 2011 at 3:37 PM, Valmor de Almeida val.gen...@gmail.com wrote: Should these have been eliminated or do I need to do it by hand or something else still needs it? I think you should do it by hand. In general, you can assume portage will never delete any config files or anything from /etc without your involvement (either manually or with etc-update or similar).
Re: [gentoo-user] office softs
On Wed, May 25, 2011 at 3:28 PM, Stéphane Guedon steph...@22decembre.eu wrote: Openoffice is heavy whereas I think calligra light, thus, easier to update, but is calligra solid enough ? KOffice is more than 10 years old, I think it is solid by now. :) (Calligra = new name for KOffice, basically)
Re: [gentoo-user] office softs
Apparently, though unproven, at 22:28 on Wednesday 25 May 2011, Stéphane Guedon did opine thusly: On Wednesday 25 May 2011 22:07:15 Paul Hartman wrote: On Wed, May 25, 2011 at 2:31 PM, Stéphane Guedon steph...@22decembre.eu wrote: Hello Some of you tried both LibreOffice / OpenOffice / Calligra recently ? What do you think of them ? Which is stable / not yet fully finish ? ... They are both very mature and stable and should be able to do almost anything you need, as long as that need is not 100% MS-compatibility. ;) I need a small MS-compatibility, as anyone I think. I wonder if calligra is mature enough to be used (cause openoffice not fully integrated with my desktop environnement). Openoffice/Libreoffice... = which to choose ? Openoffice is heavy whereas I think calligra light, thus, easier to update, but is calligra solid enough ? Calligra is pretty OK. As a comparison, I'd say it's comparable quality-wise to ~amd64 meaning it should work just fine and as a Gentoo user you ought to be able to deal with issues where it isn't. But you are asking the wrong question - you want MS-compatibility but don't say what that means. Keep in mind that Office is not even compatible with itself between versions. What exactly are your needs? 100% complete compatibility of all Office features requires Office. If you don't need 100% but do need something pretty damn close, OOo is you're first choice. If you just want to be able to read the text of .docs and .docxs and to hell with the formatting, then KWord or Words should be fine. It's a very complex question with no easy answer, and only you can tell. I say install KOffice and give it a test drive, see for yourself. Rest assured it won't eat your kittens when you run it. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: [HEADSUP] libreoffice versus bison-2.5
On Wed, 25 May 2011 22:11:24 +0200, Alan McKinnon wrote: But many days Neil and Paul can make me look like a blithering idiot :-) Only with your help :P -- Neil Bothwick Why do programmers get Halloween and Christmas confused? Because oct 31 is the same as dec 25. signature.asc Description: PGP signature
Re: [gentoo-user] [OT] network discovery tools
On Wed, 25 May 2011 14:45:07 -0500, Harry Putnam wrote: Is there some quick and sure way to discover any IPs on the home lan? Some kind of mapper tool? Do you know the MAC address of the device? That's usually written on the box somewhere, so you can usually examine the output of arp -n to findthe associated IP address. If it's not in the arp table, and it's your network, a QAD method is sudo nmap -sP 192.168.0.1-254 | grep -B 3 MACaddress Substituting the address range of your network if it's not 192.168.0. -- Neil Bothwick WinErr 007: System price error - Inadequate money spent on hardware signature.asc Description: PGP signature
Re: [gentoo-user] Display indirect login X app here?
On Tue, May 24, 2011 at 12:49 PM, Neil Bothwick n...@digimed.co.uk wrote: On Tue, 24 May 2011 10:50:49 -0700, Mark Knecht wrote: Is $DBUS_SESSION_BUS_ADDRESS set? Without it you will get errors like this. I have this in my .zshrc to set it on SSH logins. [[ -n ${SSH_TTY} ]] export DBUS_SESSION_BUS_ADDRESS=$(cat /proc/$(pidof kded4)/environ | tr '\0' '\n' | grep DBUS | cut -d '=' -f2-) || return 0 Turns out I didn't have much of anything on the machine that didn't come with KDE so I emerged xclock and that app opens here fine. I guess that points to KDE apps only. I'll have to do some reading about zssh and how that differs from openssh that I'm using here. Is there some equivalent of .zshrc that would allow me to do the same thing? Or maybe something globally in /etc/ssh? It's zsh, not zssh. Zsh is a shell, like Bash but better, so you'd put the same in .bashrc to use it with Bash. -- Neil Bothwick As always Neil, you continue to amaze me with the depth of solutions you seem to have at the snap of your fingers. Truly you have forgotten more than I shall ever know. Your suggestion seemed to have worked perfectly in my .bashrc file. I really appreciate the help. Cheers, Mark
Re: [gentoo-user] usb support in virtualbox
On 05/25/2011 12:15 PM, Valmor de Almeida wrote: On Wed, May 25, 2011 at 11:14 AM, Mark Knecht markkne...@gmail.com wrote: [snip] Valmor, Take a look at the Extension Pack. It might give you more of what you need. It does seem to be in portage but I've not used it myself. http://www.virtualbox.org/wiki/Downloads HTH, Mark Mark, I see it in portage /usr/portage/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-4.0.6.ebuild Will give it a try. Thanks, -- Valmor For the record. Tried and it is very nice. The 4.0.6 version with extpack uses the GPL vbox (source). All usb devices on the gentoo host are visible on a Windows7 guest. The problem I am facing now is that the Windows7 virtual machine tries to install drivers for the USB devices and it fails. Not sure what is going on... It may be an issue with USB 1.0 versus 2.0? -- Valmor
Re: [gentoo-user] usb support in virtualbox
On Wed, May 25, 2011 at 3:11 PM, Valmor de Almeida val.gen...@gmail.com wrote: On 05/25/2011 12:15 PM, Valmor de Almeida wrote: On Wed, May 25, 2011 at 11:14 AM, Mark Knecht markkne...@gmail.com wrote: [snip] Valmor, Take a look at the Extension Pack. It might give you more of what you need. It does seem to be in portage but I've not used it myself. http://www.virtualbox.org/wiki/Downloads HTH, Mark Mark, I see it in portage /usr/portage/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-4.0.6.ebuild Will give it a try. Thanks, -- Valmor For the record. Tried and it is very nice. The 4.0.6 version with extpack uses the GPL vbox (source). All usb devices on the gentoo host are visible on a Windows7 guest. The problem I am facing now is that the Windows7 virtual machine tries to install drivers for the USB devices and it fails. Not sure what is going on... It may be an issue with USB 1.0 versus 2.0? -- Valmor Hi Valmor, Good to know it at least gets you 1 step further in the right direction. As for Win 7 installing USB drivers is there an option to not install it automatically and then you go look for the right driver and install it by hand? One other possibility might be that either Linux or another VM is claiming the device and hence it's not responding correctly to the driver install. i typically run 3 VMs every day - 2 VMPLayer/XP and 1 virtualbox/Win 7. I've noted that I have to be a little careful to ensure the VMs don't interfere with each other WRT USB devices. Good luck figuring it out. Please post back if you find interesting info. Cheers, Mark
Re: [gentoo-user] Swap performance
Volker Armin Hemmann writes: On Wednesday 25 May 2011 16:20:58 Alex Schuster wrote: So, 27 minutes to put 885MB of swap back into RAM, with the double amount of that being free RAM. I monitored with iotop, and the transfer rate started around 60-100 K/s, later it went higher. But the average transfer rate is 550K/s. Shouldn't swap be, like, a little faster? no, sounds about right. Swap in linux is brain damaging slow. If you think about it your gall bladder might explode. That slow. Oh. _That_ slow. Wonko
Re: [gentoo-user] Swap performance
Paul Hartman writes: On Wed, May 25, 2011 at 9:20 AM, Alex Schuster wo...@wonkology.org wrote: I can't remember the last time my swap was used at all. I have 12G of RAM, but in my prior system with 8G it was the same. Only in a rare case when some program had run-away memory usage/memory leak did I ever get to swap usage... I'm using vanilla kernel 2.6.39 with no patches, no BFS. And I use proprietary nvidia-drivers. I normally don't have so many programs running at once, but it happens sometimes. Maybe I should have bought 4G instead of 2G, so I'd have 10G, not 8G. I'm not sure if this is recommended these days, to have one memory bank with 4G and 3 others with 2G each. Since 2.6.38 and enabling automatic process grouping, I don't use nice or ionice at all anymore. I do parallel emerge with -j along with make -j12 and never notice any slowdown or lag in UI at all. This is okay now, since I started using the pf-sources. But I have no explanation, I have been using the BFS scheduler already before with ck-sources. With KDE4 logged in, and no GUI apps running (other than knutmon and wicd), my RAM usage is slightly less than 900M (not counting filesystem caches). I don't want to log out now, but I have logs of experiments I did half a year ago. After a reboot, at the KDM login screen, the +/- buffers/cache line of free -m output showed 244M used. After logging into KDE4, it's 2954M, but I have maby apps (Konsoles, Kontact, Amarok, TV-Browser, Dolphin, Chromium) being started automatically. BTW, does anyone else's kwin use 750M? That's pretty high, I think it used to be more like 300M. My kwin (4.6.3-r1) has currently 507M VIRT, 54M RES, 37M SHR according to top. It's growing: 1405m VIRT, 851m RES, 6m SHR. Strange, I did not actually use the desktop after I wrote the mail you replied to, currently I'm logged in from remote. And it grows while I compose this mail, about 1M every 2 minutes. This is not normal, though. I use a little script to create a log file with some memory information, and when I grep these 50 files for the kwin process, I see memory usage between 410M and 520M mostly. Three were higher, up to 1.4G, but these were plasma bugs (suddenly haveing eight activities instead of one; and a problem of the file watcher plasmoid with very large log files). I also found one log with kwin using only 154M, but that was when I had KDE 3.5 running :) My worst memory offenders, by resident memory: clamd 124M denyhosts 114M X 75M plasma-desktop 56M kwin851 kontact 385 java373 (TV-Browser, this is also growing) X 124 okular 115 chrome 110 chrome 106 mysqld 93 ... BTW, with each Chromium tab being a single process, I wonder which tab uses 100M of RAM. My PC doesn't swap, but in my Nokia N900, it runs Linux and X, heavy use of gtk and Qt4 libs, it has 256M of RAM and 768M of swap on eMMC (transfer rate about 20MB/sec). It swaps like crazy. :) Usually there is more swap in use than RAM, actually. When I move the swap to a slow SD card instead (2MB/sec transfer rate), even in that slow device, swapoff on the eMMC swap partition with ~500M in-use takes about 2 or 3 minutes at most with the data being swapped slowly into the SD card. So I think in your case it should be much faster than that! Or not, with the large access times of hard drive. I don't know how large the chunks of memory stored in swap are, I thought some megabytes at least. Does anyone have an idea? I'd ask Volker, but I'm worried about his gall bladder. From another mail: Or better yet, figure out why his system is swapping at all which is what he was going for I think. With 8 GB I think he should be able to disable swap entirely anyway. :) That's what I think, too. As I wrote, I always used to have many applications open, and in the past this was no problem. If anyone is interested, there are some screenshots of my desktop here: http://www.wonkology.org/comp/desktop/ The 2010-11-28 shows the six desktops I have now, shortly after login. It's made half a year ago, but my desktop still looks quite similar. right now I have some extra stuff running, but not very much. And looking at the 3x3 desktops in one image (desktop3x3.png) from 2004, I see I was using 856M of RAM and 748M of swap then. With a Windows VM, a Mozilla window, some 15 or more Galeon tabs, and some more stuff. Without big performance problems. It might have taken a little while before the Windows VM became fully responsive, but I did not have the constant swapping I experience now. Wonko
Re: [gentoo-user] Re: thunderbird bug?
On Wed, May 25, 2011 at 11:18 PM, James wirel...@tampabay.rr.com wrote: Jeremy McSpadden deface at uberpenguin.net writes: Make sure your client is set to auth before sending. Simple fix. Been down that road can had conversations with ISP admins. That's not the issue. The same email address works, if I cut and past it into the To field of thunderbird. All other email address work just fine from thunderbird. Yes the auth message is bogus because you dont use different SMTP servers per email message, and the auth message is only being triggered on a particular message. Other messages work fine (- did i get that right James?) As a troubleshooting step - have you tried a new profile? IIRC the windows version has a profile manager, if the linux version doesnt have the same then just move the .thunderbird directory so it will re-create it with defaults when you launch it again. I'm not at my linux machine now, so the details may be a bit off.
Re: [gentoo-user] Re: [HEADSUP] libreoffice versus bison-2.5
Volker Armin Hemmann writes: This gem is a couple of years old, but still a worthy read: http://ktown.kde.org/~seli/memory/desktop_benchmark.html Read it. Seriously. Interesting. I'd like to also see KDE4 values :) BTW, according to the author, the only real memory usage information utility is Exmap. It's in portage, but when I run it (both exmtool and gexmap, and the exmap kernel module is loaded), it outputs lots of stuff, then aborts with 'start pgnum out of range'. Is anyone actually using it? Wonko
Re: [gentoo-user] usb support in virtualbox
On 05/25/2011 06:14 PM, Mark Knecht wrote: [snip] For the record. Tried and it is very nice. The 4.0.6 version with extpack uses the GPL vbox (source). All usb devices on the gentoo host are visible on a Windows7 guest. The problem I am facing now is that the Windows7 virtual machine tries to install drivers for the USB devices and it fails. Not sure what is going on... It may be an issue with USB 1.0 versus 2.0? -- Valmor Hi Valmor, Good to know it at least gets you 1 step further in the right direction. As for Win 7 installing USB drivers is there an option to not install it automatically and then you go look for the right driver and install it by hand? One other possibility might be that either Linux or another VM is claiming the device and hence it's not responding correctly to the driver install. i typically run 3 VMs every day - 2 VMPLayer/XP and 1 virtualbox/Win 7. I've noted that I have to be a little careful to ensure the VMs don't interfere with each other WRT USB devices. Good luck figuring it out. Please post back if you find interesting info. Cheers, Mark I think you are in the right track as far as a race between host and guest for claiming the device. It is not the driver installation that is the problem. The driver is installed and Windows7 says it is the latest driver. The problem is that at the end of the installation W7 tries to mount/start the device and that is when things do not work. The status of the device is listed as This device cannot start. (Code 10) There is quite a bit on the web on the Code 10 error. Still investigating... fdisk -l on the gentoo host lists the device if the guest is not running. As soon as the guest boots, the device is not listed by fdisk -l, this means that things are at least going in the right direction. The vbox manual says that the device should be hidden from the host once the guest gets a hold of it. -- Valmor
Re: [gentoo-user] Ctrl+C not working over ssh?
On 05/25/2011 07:08 AM, Todd Goodman wrote: * Andy Wilkinson drukar...@gmail.com [110524 18:02]: On 05/24/2011 12:38 PM, Todd Goodman wrote: * Andy Wilkinsondrukar...@gmail.com [110524 12:24]: I can't say for sure when this started, as I have gone a while without accessing my computer remotely much, but perhaps since my last upgrade (which may have included openrc), ctrl-c doesn't work over ssh. I have tested this from multiple workstations and even my droid, using different terminal emulators, and have got consistent results. I'm not even sure where to start looking. Googling didn't find me much (at least, not much that's current at all; 5 year-old ubuntu bugs aren't very useful), and I'm not sure at all what might be causing this. Could anyone here point me to something that might be causing this? Thanks, -Andy I don't have any problems. What does 'stty -a' show for the intr= bit? Todd $ stty -a speed 38400 baud; rows 23; columns 80; line = 0; intr = ^C; ... Which looks right, but when I try to use Ctrl-C, this happens: $ ping localhost PING localhost (127.0.0.1) 56(84) bytes of data. 64 bytes from localhost (127.0.0.1): icmp_req=1 ttl=64 time=0.037 ms ^C64 bytes from localhost (127.0.0.1): icmp_req=2 ttl=64 time=0.032 ms ^C^C^C64 bytes from localhost (127.0.0.1): icmp_req=3 ttl=64 time=0.032 ms ^C^C^C^C^C^C64 bytes from localhost (127.0.0.1): icmp_req=4 ttl=64 time=0.034 ms ^C^C^C^C^C^C64 bytes from localhost (127.0.0.1): icmp_req=5 ttl=64 time=0.032 ms ^Z This does NOT happen locally: from a console or terminal at the machine, I can interrupt just fine. Ctrl-Z does//work over ssh. Thanks, -Andy Very strange (as someone else said.) Only thing I can think of is that something in your startup scripts (.profile, .bashrc, etc.) are doing something different between the two logins. I've seen that most often when they do things based on TERM and it's different between a local login and remote. Maybe make sure your startup scripts run with a 'set -x' at the beginning and compare the output? Good luck, Todd Well, for no good reason, a reboot once I was back at the machine fixed the issue. I'm not sure why; I didn't change anything. I hate not knowing why reboots fix things. :( -Andy
Re: [gentoo-user] haldaemon group/user
On 05/25/2011 04:46 PM, Paul Hartman wrote: On Wed, May 25, 2011 at 3:37 PM, Valmor de Almeida val.gen...@gmail.com wrote: Should these have been eliminated or do I need to do it by hand or something else still needs it? I think you should do it by hand. In general, you can assume portage will never delete any config files or anything from /etc without your involvement (either manually or with etc-update or similar). Cleaned by hand. All working. Thanks, -- Valmor
Re: [gentoo-user] Re: [HEADSUP] libreoffice versus bison-2.5
On Wed, May 25, 2011 at 07:13:41PM +0200, Volker Armin Hemmann wrote On Wednesday 25 May 2011 08:46:48 Indi wrote: and have you ever heard of 'code reuse' or 'modularity'? It seems - no. Because KDE itself might be huge. But once loaded the apps are pretty small - because they reuse code. kmail does not have its own html engine. It does not matter where you type your text etc pp. Sorta like Internet Explorer in Windows. It loads a lot faster and lighter than Firefox or Opera. That's because ie.exe is merely a front end to a bunch of libraries that are loaded at boot time, which contributes to the boot process taking do long. Starting ie.exe takes hardly any time, because 90% of the app is already loaded. Overall KDE uses LESS ram then most 'lightweight' solutions. Because xtermabiwordsome odd pagerthunderbird don't look so good anymore. This gem is a couple of years old, but still a worthy read: http://ktown.kde.org/~seli/memory/desktop_benchmark.html Read it. Seriously. I don't know how good exmap is, but my personal experience is quite different. Between Fall 1999 and Summer 2007 I had a Dell Dimension with a 450 mhz PIII and 128 megs of *SYSTEM RAM* (no not the video card). It was actually quite usable to the very end, with Blackbox WM, and running a few apps. Meanwhile, KDE (and GNOME for that matter) would take forever to load and make the system crawl after that, even with 1 or 2 apps loaded. -- Walter Dnes waltd...@waltdnes.org
Re: [gentoo-user] usb support in virtualbox
On 05/25/2011 07:45 PM, Valmor de Almeida wrote: On 05/25/2011 06:14 PM, Mark Knecht wrote: [snip] For the record. Tried and it is very nice. The 4.0.6 version with extpack uses the GPL vbox (source). All usb devices on the gentoo host are visible on a Windows7 guest. The problem I am facing now is that the Windows7 virtual machine tries to install drivers for the USB devices and it fails. Not sure what is going on... It may be an issue with USB 1.0 versus 2.0? -- Valmor Hi Valmor, Good to know it at least gets you 1 step further in the right direction. As for Win 7 installing USB drivers is there an option to not install it automatically and then you go look for the right driver and install it by hand? One other possibility might be that either Linux or another VM is claiming the device and hence it's not responding correctly to the driver install. i typically run 3 VMs every day - 2 VMPLayer/XP and 1 virtualbox/Win 7. I've noted that I have to be a little careful to ensure the VMs don't interfere with each other WRT USB devices. Good luck figuring it out. Please post back if you find interesting info. Cheers, Mark I think you are in the right track as far as a race between host and guest for claiming the device. It is not the driver installation that is the problem. The driver is installed and Windows7 says it is the latest driver. The problem is that at the end of the installation W7 tries to mount/start the device and that is when things do not work. The status of the device is listed as This device cannot start. (Code 10) There is quite a bit on the web on the Code 10 error. Still investigating... fdisk -l on the gentoo host lists the device if the guest is not running. As soon as the guest boots, the device is not listed by fdisk -l, this means that things are at least going in the right direction. The vbox manual says that the device should be hidden from the host once the guest gets a hold of it. -- Valmor After much digging, no success. Apparently it is an ongoing bug. http://bugs.gentoo.org/show_bug.cgi?id=364717 When virtualbox is installed with the extension USE flag it pulls the oracle extension package and the USB interface on the Virtualbox manager is supposed to present a USB 2.0 box. This does not show up. Therefore it appears that USB 2.0 devices can't start on the VM guest since only USB 1.0 is enabled. No luck so far but it is pretty close to be resolved. All USB devices I have tried are identified by the Win7 VM guest and the drivers correctly installed. It is only the startup that fails. That is all folks. -- Valmor