Re: [gentoo-user] systemd
On Wednesday, August 24, 2011 12:00:17 AM Stefan G. Weichinger wrote: Am 23.08.2011 11:22, schrieb Stefan G. Weichinger: http://en.gentoo-wiki.com/wiki/Improve_responsiveness_with_cgroups brings the script /usr/local/sbin/cgroup_start which is started by openrc, but not by systemd. In there the perms would be set up for my user ... So the solution will be to teach systemd to start that script as well. That was no big problem ... solved. Interesting observation right now: Wanted to extend a LV. Unmounted it, lvresize -L+5G ..., then resize2fs ... resize2fs told me that the LV is mounted and that is has to do online resizing. whoa. I unmounted it before! So it seems as if I would have to stop the related mount-service within systemd first ... That is an important thing to know IMO. You can resize a partition without having to umount it first. That's been possible for a couple of years now. :) -- Joost
[gentoo-user] [SOLVED] Can't emerge gnome-base/librsvg; missing /usr/lib/libglib-2.0.la
On Tue, Aug 23, 2011 at 11:43:23PM -0400, Philip Webb wrote It looks like the problem I reported recently, which was solved by remerging gcc libtool , esp the latter. Thanks, that appears to have done it. Still no .la file, but now the build doesn't seem to require it. -- Walter Dnes waltd...@waltdnes.org
Re: [gentoo-user] systemd
On Tuesday, August 23, 2011 11:15:01 PM Dale wrote: Alan McKinnon wrote: On Tue 23 August 2011 15:06:25 Canek Peláez Valdés did opine thusly: Now if it had similarities to say hal, I would instantly understand. But dbus is good and useful in all the ways that hal isn't. Wasn't. HAL is dead. From http://www.freedesktop.org/wiki/Software/hal Sadly, HAL is not yet dead. It lives still. It lives on the production database server I just happen to be rebooting as I type this (another story for another time) and will continue to live here for a very very long time indeed. Dale can confirm this. Dale will swear in a court of law with hand on bible than hal lives on in zombie form, infesting all the matter of his house and computers, infecting them with their undead zombieness. Ye gods, it's been a long hard day Not here. I shot hal with a silver bullet and drove a stake into it a long time ago. If that thing even twitches, I'll go Navy Seals on it. O_O Man I love the 2nd amendment we have. ;-) Even the NSA wouldn't be able to bring that back. I'm missing the exorcism in there, it's probably still floating around as a non-corporeal lifeform causing all kinds of strange issues -- Joost
Re: [gentoo-user] HP tablets run Gentoo?
On Wed, 24 Aug 2011 03:02:21 + (UTC), James wrote: They are just $99 so before I purchase one has anyone installed gentoo or embedded gentoo on one of these devices? I doubt you'll be able to install one now. They went on sale at £89 here yesterday, and all stock was gone before 9am. -- Neil Bothwick Thou shalt not battle over operating systems. I am wise and in My wisdom have created diverse and various operating systems. The Ten Usenet Commandments: One signature.asc Description: PGP signature
Re: [gentoo-user] Re: Plasma-runtime compilation problems
On Tuesday 23 Aug 2011 20:28:14 Jeff Cranmer wrote: Pardon my ignorance, but how do I find out? run this equery belongs /usr/include/plasma/service.h if you dont have the equery program install it by emerging app-portage/gentoolkit -- - Yohan Pereira A man can do as he will, but not will as he will - Schopenhauer
[gentoo-user] firefox-6 thunderbird-6 compile issues
Anyone else having issues building firefox-6 and thunderbird-6? Both here fail with errors like this (enormous command lines truncated for clarity): x86_64-pc-linux-gnu-g++ -o nsRDFResource.o -c ... rm -f libxul.so /usr/bin/python2.7 /var/tmp/portage/www- client/firefox-6.0/work/mozilla-release/config/pythonpath.py - I../../config ... collect2: ld returned 1 exit status make[5]: *** [libxul.so] Error 1 In both cases the only USE change from default is USE=-system-sqlite. xulrunner is up to date MAKEOPTS=-j1 makes no difference b.g.o has no relevant bugs google returns nothing of value I'm thinking it'sa problem specific to my setup but I'm out of ideas where to look next. Help anyone? -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] firefox-6 thunderbird-6 compile issues
Alan McKinnon writes: Anyone else having issues building firefox-6 and thunderbird-6? I just built firefox-6 this night on ~amd64. These are my USE flags: Installed versions: 6.0{tbz2}(02:52:51 24.08.2011)(alsa crashreporter dbus ipc libnotify linguas_de linguas_en methodjit startup-notification webm -bindist -custom-cflags -custom-optimization -debug -linguas_af -linguas_ak -linguas_ar -linguas_ast -linguas_be -linguas_bg -linguas_bn -linguas_bn_BD -linguas_bn_IN -linguas_br -linguas_bs -linguas_ca -linguas_cs -linguas_cy - linguas_da -linguas_el -linguas_en_GB -linguas_en_US -linguas_en_ZA - linguas_eo -linguas_es -linguas_es_AR -linguas_es_CL -linguas_es_ES - linguas_es_MX -linguas_et -linguas_eu -linguas_fa -linguas_fi -linguas_fr - linguas_fy -linguas_fy_NL -linguas_ga -linguas_ga_IE -linguas_gd -linguas_gl -linguas_gu -linguas_gu_IN -linguas_he -linguas_hi -linguas_hi_IN - linguas_hr -linguas_hu -linguas_hy -linguas_hy_AM -linguas_id -linguas_is - linguas_it -linguas_ja -linguas_kk -linguas_kn -linguas_ko -linguas_ku - linguas_lg -linguas_lt -linguas_lv -linguas_mai -linguas_mk -linguas_ml - linguas_mr -linguas_nb -linguas_nb_NO -linguas_nl -linguas_nn -linguas_nn_NO -linguas_nso -linguas_or -linguas_pa -linguas_pa_IN -linguas_pl -linguas_pt -linguas_pt_BR -linguas_pt_PT -linguas_rm -linguas_ro -linguas_ru - linguas_si -linguas_sk -linguas_sl -linguas_son -linguas_sq -linguas_sr - linguas_sv -linguas_sv_SE -linguas_ta -linguas_ta_LK -linguas_te -linguas_th -linguas_tr -linguas_uk -linguas_vi -linguas_zh -linguas_zh_CN - linguas_zh_TW -linguas_zu -pgo -system-sqlite -wifi) Both here fail with errors like this (enormous command lines truncated for clarity): x86_64-pc-linux-gnu-g++ -o nsRDFResource.o -c ... rm -f libxul.so /usr/bin/python2.7 /var/tmp/portage/www- client/firefox-6.0/work/mozilla-release/config/pythonpath.py - I../../config ... collect2: ld returned 1 exit status make[5]: *** [libxul.so] Error 1 No problem with this here (at 35% of the log file): x86_64-pc-linux-gnu-g++ -o nsRDFResource.o -c - I../../../../dist/stl_wrappers -I../../../../dist/system_wrappers -include /var/portage/tmp/portage/www-client/firefox-6.0/work/mozilla- release/config/gcc_hidden.h -DMOZILLA_INTERNAL_API -DOSTYPE=\Linux2.6\ - DOSARCH=Linux -I/var/portage/tmp/portage/www- client/firefox-6.0/work/mozilla-release/rdf/util/src/internal -I. - I../../../../dist/include -I../../../../dist/include/nsprpub - I/usr/include/nspr -I/usr/include/nss -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy - Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -march=k8-sse3 -pipe -mno-avx -fno-strict-aliasing - std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -Os -freorder-blocks - finline-limit=50 -fomit-frame-pointer -DMOZILLA_CLIENT -include ../../../../mozilla-config.h -MD -MF .deps/nsRDFResource.pp /var/portage/tmp/portage/www-client/firefox-6.0/work/mozilla-release/obj- x86_64-unknown-linux-gnu/rdf/util/src/internal/nsRDFResource.cpp /usr/bin/python2.7 /var/portage/tmp/portage/www- client/firefox-6.0/work/mozilla-release/config/pythonpath.py - I../../../../config /var/portage/tmp/portage/www- client/firefox-6.0/work/mozilla-release/config/expandlibs_gen.py nsRDFResource.olibrdfutil_s.a.desc make[8]: Leaving directory `/var/portage/tmp/portage/www- client/firefox-6.0/work/mozilla-release/obj-x86_64-unknown-linux- gnu/rdf/util/src/internal' In both cases the only USE change from default is USE=-system-sqlite. xulrunner is up to date That seems to be bundled now, firefox-6 does not depend on net- libs/xulrunner. MAKEOPTS=-j1 makes no difference b.g.o has no relevant bugs google returns nothing of value I'm thinking it'sa problem specific to my setup but I'm out of ideas where to look next. Help anyone? Probably not, but maybe you spot something when comparing outputs. Wonko
Re: [gentoo-user] Hoping someone can help explain distcc to me
Peter Humphrey wrote: On Sunday 21 August 2011 04:04:05 Matthew Finkel wrote: On Sat, Aug 20, 2011 at 10:46 PM, Dalerdalek1...@gmail.com wrote: How hard is it to set up a 64 bit machine to compile programs for a 32 bit system? Dale :-) :-) It's actually quite easy. IIRC, when I did it last, the only difference is that when you chroot into the subsystem you need prefix the command with linux32, e.g. linux32 chroot /path/to/chroot /bin/bash Yes, just follow this guide: http://www.gentoo.org/proj/en/base/amd64/howtos/chroot.xml I did that and it was straightforward as far as I remember. I did spend some time thinking at a few stages, to get an understanding of what I was doing rather than just blindly following somebody else's prescription. Then it's a matter of writing some simple scripts to mount the packages directory on the big host. Here's mine, most of which I scrounged from somewhere: $ cat /etc/init.d/atom #!/sbin/runscript depend() { need localmount need bootmisc } start() { ebegin Mounting 32-bit chroot dirs mount -o bind /dev /mnt/atom/dev/dev/null mount -o bind /dev/pts /mnt/atom/dev/pts/dev/null mount -o bind /dev/shm /mnt/atom/dev/shm/dev/null mount -t proc /proc /mnt/atom/proc/dev/null mount -o bind /sys /mnt/atom/sys/dev/null mount -o bind /tmp /mnt/atom/tmp/dev/null mount -t nfs -o vers=3 192.168.2.2:/usr/portage/packages /mnt/atom/usr/portage/packages eend $? An error occurred while attempting to mount 32-bit chroot directories ebegin Copying 32-bit chroot files cp -pf /etc/resolv.conf /mnt/atom/etc//dev/null cp -pf /etc/passwd /mnt/atom/etc//dev/null cp -pf /etc/shadow /mnt/atom/etc//dev/null cp -pf /etc/group /mnt/atom/etc//dev/null cp -pf /etc/hosts /mnt/atom/etc/ /dev/null cp -Ppf /etc/localtime /mnt/atom/etc//dev/null eend $? An error occurred while attempting to copy 32-bit chroot files. } stop() { ebegin Unmounting 32-bit chroot dirs umount -f /mnt/atom/dev/pts/dev/null umount -f /mnt/atom/dev/shm/dev/null umount -f /mnt/atom/dev/dev/null umount -f /mnt/atom/proc/dev/null umount -f /mnt/atom/sys/dev/null umount -f /mnt/atom/tmp/dev/null umount -f /mnt/atom/usr/portage/packages/dev/null eend $? An error occurred while attempting to unmount 32-bit chroot directories } I could list the steps of my daily routine to upgrade both the client and the chroot if that would help. I followed the guide and some info here and it seems to have worked great. I'm glad. The cooler on the heatsink is VERY whimpy. It's aluminum and has a little 60mm fan on it. I didn't measure it but its certainly not as big as my 80mm. I can barely feel the air it moves. Compiling on htat would likely be a problem pretty quick. Now to get the install moved over to the other rig. DVD and a tarball maybe? H, I got to think on this one. It's almost 5Gbs worth. Maybe man scp will help. ;-) Thanks for the link. This was awesome!! Dale :-) :-) P. S. Now I can build binaries for my old rig too. :-D
Re: [gentoo-user] Software for LCD Data Center
Thanks for all your answers guys! And sorry for not responding for three days, I was away on holiday. From what you say I will give DLNA a try (no other choice, I simply want to watch movies stored on my pc). I found some list of DLNA software on http://www.rbgrn.net/content/21-how-to-choose-dlna-media-server-windows-mac-os-x-or-linuxbut I will give a try to ushare and MediaTomb first. I'll go through the list and try each piece of software and see which one works best with my telly x gentoo combination. I'll let you know as soon as I have more info! Cheers, Peter
Re: [gentoo-user] Software for LCD Data Center
On 24 August 2011, at 12:57, czernitko wrote: … From what you say I will give DLNA a try (no other choice, I simply want to watch movies stored on my pc). … The *choice* may well be to connect some kind of external box to your TV and use that to stream and decode the videos from your NAS. The video codecs available in your TV will be somewhat limited, and the selection will not be upgradable. My ideal television would not even contain tuners, but only HDMI / DVI / component inputs - I would prefer a screen which is nothing more than a display. You can get set-top boxes which will stream videos across the network from your Samba shares for about £80 (e.g. PlayOn HD Mini, Western Digital TV Live). The contain dedicated decoder chips for h264, do 1080p and will play most any video codec you throw at them. Alternatively, if you want a bit more flexibility, you can get a dual-core 64-bit Atom box with a 250gb hard-drive, 2gig RAM and Linux pre-installed for £130. I believe that using the nVidia drivers this gives slightly more grunt for decoding than the STBs. Slap Gentoo on it and emerge XBMC - plenty of people report it working fine. http://www.ebuyer.com/267867-emachine-er1401-desktop-pt-nbzec-004 http://www.emachines.com/products/products.html?prod=ER1401-57 I appreciate that go and spend more money is not what you're expecting hear, and that you're thinking but it's already built-in to my TV, but AFAICT you don't actually have a clear idea of *what* is built into your TV. My crystal ball shows frustration in your future. I have a bunch of guitar tuition videos here in VP6 format - will your telly play those? On AVforums the single most common response to the question what video player do you wish you'd bought in the first place, if you knew then what you know now? was XMBC. http://www.avforums.com/forums/streamers-network-media-players/1478323-ok-knowing-what-you-know-what-player-would-you-buy-tomorrow.html Stroller.
Re: [gentoo-user] Software for LCD Data Center
On Wed, Aug 24, 2011 at 7:57 AM, czernitko czerni...@gmail.com wrote: Thanks for all your answers guys! And sorry for not responding for three days, I was away on holiday. From what you say I will give DLNA a try (no other choice, I simply want to watch movies stored on my pc). I found some list of DLNA software on http://www.rbgrn.net/content/21-how-to-choose-dlna-media-server-windows-mac-os-x-or-linux but I will give a try to ushare and MediaTomb first. I'll go through the list and try each piece of software and see which one works best with my telly x gentoo combination. I'll let you know as soon as I have more info! If you need help with MT, I can offer some assistance as I have time. -- :wq
Re: [gentoo-user] CONFIG_IOMMU_SUPPORT???
On 08/23/11 23:38, Mark Knecht wrote: * Messages for package app-emulation/virtualbox-modules-4.1.2: * CONFIG_IOMMU_SUPPORT: is not set when it should be. * Please check to make sure these options are set correctly. * Failure to do so may cause unexpected problems. SNIP k2 linux # cat .config | grep IOMMU The .config file does not necessarily contain all possible options.
[gentoo-user] Why is the introspection USE flag for glib being removed by emerge?
In package.use I have dev-libs/glibintrospection However emerge is removing it. emerge --ignore-default-opts -pv =dev-libs/glib-::gnome [ebuild R *] dev-libs/glib- USE=static-libs -debug -doc -fam (-introspection) (-selinux) -test -xattr 0 kB [1] Can someone tell me why it is being removed and how to prevent the removal? thanks, allan PS This lack of introspection on glib is causing my update world to fail. I have the gnome overlay installed (for gnome3). PPS The glib- ebuild (from the gnome overlay) is # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=3 PYTHON_DEPEND=2 inherit autotools gnome.org libtool eutils flag-o-matic pax-utils python virtualx if [[ ${PV} = ]]; then inherit gnome2-live fi DESCRIPTION=The GLib library of C routines HOMEPAGE=http://www.gtk.org/; SRC_URI=${SRC_URI} http://pkgconfig.freedesktop.org/releases/pkg-config-0.26.tar.gz; # pkg.m4 for eautoreconf LICENSE=LGPL-2 SLOT=2 IUSE=debug doc fam +introspection selinux +static-libs test xattr if [[ ${PV} = ]]; then KEYWORDS= else KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd fi RDEPEND=virtual/libiconv sys-libs/zlib xattr? ( sys-apps/attr ) fam? ( virtual/fam ) DEPEND=${RDEPEND} =sys-devel/gettext-0.11 =dev-util/gtk-doc-am-1.13 doc? ( =dev-libs/libxslt-1.0 =dev-util/gtk-doc-1.13 ~app-text/docbook-xml-dtd-4.1.2 ) test? ( dev-util/pkgconfig =sys-apps/dbus-1.2.14 ) PDEPEND=introspection? ( dev-libs/gobject-introspection ) !gnome-base/gvfs-1.6.4-r990 # Earlier versions do not work with glib # XXX: Consider adding test? ( sys-devel/gdb ); assert-msg-test tries to use it pkg_setup() { python_set_active_version 2 } src_prepare() { [[ ${PV} = ]] gnome2-live_src_prepare mv -vf ${WORKDIR}/pkg-config-*/pkg.m4 ${WORKDIR}/ || die if use ia64 ; then # Only apply for 4.1 local major=$(gcc-major-version) local minor=$(gcc-minor-version) if (( major 4 || ( major == 4 minor == 0 ) )); then epatch ${FILESDIR}/glib-2.10.3-ia64-atomic-ops.patch fi fi # Don't fail gio tests when ran without userpriv, upstream bug 552912 # This is only a temporary workaround, remove as soon as possible epatch ${FILESDIR}/${PN}-2.18.1-workaround-gio-test-failure-without-userpriv.patch # Fix gmodule issues on fbsd; bug #184301 epatch ${FILESDIR}/${PN}-2.12.12-fbsd.patch # Fix test failure when upgrading from 2.22 to 2.24, upstream bug 621368 epatch ${FILESDIR}/${PN}-2.24-assert-test-failure.patch # Do not try to remove files on live filesystem, upstream bug #619274 sed 's:^\(.*/desktop-app-info/delete.*\):/*\1*/:' \ -i ${S}/gio/tests/desktop-app-info.c || die sed failed if ! use test; then # don't waste time building tests sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' -i Makefile.am Makefile.in \ || die sed failed fi # Needed for the punt-python-check patch, disabling timeout test # Also needed to prevent croscompile failures, see bug #267603 AT_M4DIR=${WORKDIR} eautoreconf [[ ${CHOST} == *-freebsd* ]] elibtoolize epunt_cxx } src_configure() { local myconf # Building with --disable-debug highly unrecommended. It will build glib in # an unusable form as it disables some commonly used API. Please do not # convert this to the use_enable form, as it results in a broken build. # -- compnerd (3/27/06) use debug myconf=--enable-debug # Always use internal libpcre, bug #254659 econf ${myconf} \ $(use_enable xattr) \ $(use_enable doc man) \ $(use_enable doc gtk-doc) \ $(use_enable fam) \ $(use_enable selinux) \ $(use_enable static-libs static) \ --enable-regex \ --with-pcre=internal \ --with-threads=posix \ --disable-dtrace \ --disable-systemtap } src_install() { local f emake DESTDIR=${D} install || die Installation failed # Do not install charset.alias even if generated, leave it to libiconv rm -f ${ED}/usr/lib/charset.alias # Don't install gdb python macros, bug 291328 rm -rf ${ED}/usr/share/gdb/ ${ED}/usr/share/glib-2.0/gdb/ # This is there for git snapshots and the live ebuild, bug 351966 emake README || die emake README failed dodoc
Re: [gentoo-user] CONFIG_IOMMU_SUPPORT???
On Tue, Aug 23, 2011 at 9:18 PM, Hilco Wijbenga hilco.wijbe...@gmail.com wrote: On 23 August 2011 20:38, Mark Knecht markkne...@gmail.com wrote: Hi all, Can someone point me toward somehow enabling CONFIG_IOMMU_SUPPORT? It is apparently a kernel config option no required by virtualbox-drivers but I'm not finding it in the 3.0.3 kernel. I suspect there's something else I need to enable before this option becomes available? Unfortunately I haven't been able to Google what I need to do to find it. Thanks, Mark * Messages for package app-emulation/virtualbox-modules-4.1.2: * CONFIG_IOMMU_SUPPORT: is not set when it should be. * Please check to make sure these options are set correctly. * Failure to do so may cause unexpected problems. SNIP k2 linux # cat .config | grep IOMMU CONFIG_GART_IOMMU=y # CONFIG_CALGARY_IOMMU is not set CONFIG_AMD_IOMMU=y # CONFIG_AMD_IOMMU_STATS is not set CONFIG_IOMMU_HELPER=y CONFIG_IOMMU_API=y # CONFIG_IOMMU_DEBUG is not set # CONFIG_IOMMU_STRESS is not set k2 linux # I noticed the same. There does not appear to be any such option but luckily its absence does not appear to affect running VB at all. At the time of writing this I haven't tried Gregory's item about the CONFIG_CALGARY_IOMMU option. I'll try that later when I get to the machine but the reading I did on the web sounded like that was for IBM specific hardware. Here it seems that on the machine I was working - Intel based, i920 - VB won't install Win 7 64-bit without it. I get a bunch of messages that it will install but many cause problems. Are you running any 64-bit VMs? However I've got another Intel machine where I can install Win 7 64-bit in VB just fine with no complaints at all. Here's the IOMMU stuff from that box: mark@c2stable ~ $ uname -a Linux c2stable 3.0.1-gentoo #1 SMP PREEMPT Mon Aug 8 13:05:19 PDT 2011 x86_64 Intel(R) Core(TM) i7 CPU X 980 @ 3.33GHz GenuineIntel GNU/Linux mark@c2stable ~ $ zcat /proc/config.gz | grep IOMMU CONFIG_GART_IOMMU=y # CONFIG_CALGARY_IOMMU is not set # CONFIG_AMD_IOMMU is not set CONFIG_IOMMU_HELPER=y CONFIG_IOMMU_API=y # CONFIG_IOMMU_DEBUG is not set # CONFIG_IOMMU_STRESS is not set mark@c2stable ~ $ Except for the AMD option they seem identical unless I'm misreading something. I'm now wondering if there is both a BIOS and chipset component to making this work? I'm pretty sure I've got all the Vt-d stuff enabled but I'll have to wait to go into BIOS on both of them to compare. I'll try to do a diff later today between both machine's .config files to look for differences. Cheers, Mark
Re: [gentoo-user] Why is the introspection USE flag for glib being removed by emerge? (FIXED)
On Wed, Aug 24 2011, Allan Gottlieb wrote: In package.use I have dev-libs/glibintrospection However emerge is removing it. emerge --ignore-default-opts -pv =dev-libs/glib-::gnome [ebuild R *] dev-libs/glib- USE=static-libs -debug -doc -fam (-introspection) (-selinux) -test -xattr 0 kB [1] Can someone tell me why it is being removed and how to prevent the removal? It was removed by the profile. The fix is to add dev-libs/glib -introspection to /etc/portage/profile/package.use.mask allan
Re: [gentoo-user] CONFIG_IOMMU_SUPPORT???
On 24 August 2011 10:55, Mark Knecht markkne...@gmail.com wrote: On Tue, Aug 23, 2011 at 9:18 PM, Hilco Wijbenga hilco.wijbe...@gmail.com wrote: On 23 August 2011 20:38, Mark Knecht markkne...@gmail.com wrote: Hi all, Can someone point me toward somehow enabling CONFIG_IOMMU_SUPPORT? It is apparently a kernel config option no required by virtualbox-drivers but I'm not finding it in the 3.0.3 kernel. I suspect there's something else I need to enable before this option becomes available? Unfortunately I haven't been able to Google what I need to do to find it. Thanks, Mark * Messages for package app-emulation/virtualbox-modules-4.1.2: * CONFIG_IOMMU_SUPPORT: is not set when it should be. * Please check to make sure these options are set correctly. * Failure to do so may cause unexpected problems. SNIP k2 linux # cat .config | grep IOMMU CONFIG_GART_IOMMU=y # CONFIG_CALGARY_IOMMU is not set CONFIG_AMD_IOMMU=y # CONFIG_AMD_IOMMU_STATS is not set CONFIG_IOMMU_HELPER=y CONFIG_IOMMU_API=y # CONFIG_IOMMU_DEBUG is not set # CONFIG_IOMMU_STRESS is not set k2 linux # I noticed the same. There does not appear to be any such option but luckily its absence does not appear to affect running VB at all. At the time of writing this I haven't tried Gregory's item about the CONFIG_CALGARY_IOMMU option. I'll try that later when I get to the machine but the reading I did on the web sounded like that was for IBM specific hardware. Here it seems that on the machine I was working - Intel based, i920 - VB won't install Win 7 64-bit without it. I get a bunch of messages that it will install but many cause problems. Are you running any 64-bit VMs? Sort of. I'm working on installing Gentoo AMD64 in a VB machine. No problems so far but I've only just started (it's a weekend project). Certainly no Windows. However I've got another Intel machine where I can install Win 7 64-bit in VB just fine with no complaints at all. Here's the IOMMU stuff from that box: mark@c2stable ~ $ uname -a Linux c2stable 3.0.1-gentoo #1 SMP PREEMPT Mon Aug 8 13:05:19 PDT 2011 x86_64 Intel(R) Core(TM) i7 CPU X 980 @ 3.33GHz GenuineIntel GNU/Linux mark@c2stable ~ $ zcat /proc/config.gz | grep IOMMU CONFIG_GART_IOMMU=y # CONFIG_CALGARY_IOMMU is not set # CONFIG_AMD_IOMMU is not set CONFIG_IOMMU_HELPER=y CONFIG_IOMMU_API=y # CONFIG_IOMMU_DEBUG is not set # CONFIG_IOMMU_STRESS is not set mark@c2stable ~ $ Except for the AMD option they seem identical unless I'm misreading something. I'm now wondering if there is both a BIOS and chipset component to making this work? I'm pretty sure I've got all the Vt-d stuff enabled but I'll have to wait to go into BIOS on both of them to compare. I'll try to do a diff later today between both machine's .config files to look for differences. Can't you simply install the Calgary IOMMU as well? I know that it seems IBM based stuff (I noticed it myself when I was going through the same process) which you probably do not need but I assume it can't hurt (apart from making the kernel a bit bigger). But if it fixes your problem... Probably worth a try.
Re: [gentoo-user] CONFIG_IOMMU_SUPPORT???
On Wed, Aug 24, 2011 at 11:58 AM, Hilco Wijbenga hilco.wijbe...@gmail.com wrote: On 24 August 2011 10:55, Mark Knecht markkne...@gmail.com wrote: On Tue, Aug 23, 2011 at 9:18 PM, Hilco Wijbenga hilco.wijbe...@gmail.com wrote: On 23 August 2011 20:38, Mark Knecht markkne...@gmail.com wrote: Hi all, Can someone point me toward somehow enabling CONFIG_IOMMU_SUPPORT? It is apparently a kernel config option no required by virtualbox-drivers but I'm not finding it in the 3.0.3 kernel. I suspect there's something else I need to enable before this option becomes available? Unfortunately I haven't been able to Google what I need to do to find it. Thanks, Mark * Messages for package app-emulation/virtualbox-modules-4.1.2: * CONFIG_IOMMU_SUPPORT: is not set when it should be. * Please check to make sure these options are set correctly. * Failure to do so may cause unexpected problems. SNIP k2 linux # cat .config | grep IOMMU CONFIG_GART_IOMMU=y # CONFIG_CALGARY_IOMMU is not set CONFIG_AMD_IOMMU=y # CONFIG_AMD_IOMMU_STATS is not set CONFIG_IOMMU_HELPER=y CONFIG_IOMMU_API=y # CONFIG_IOMMU_DEBUG is not set # CONFIG_IOMMU_STRESS is not set k2 linux # I noticed the same. There does not appear to be any such option but luckily its absence does not appear to affect running VB at all. At the time of writing this I haven't tried Gregory's item about the CONFIG_CALGARY_IOMMU option. I'll try that later when I get to the machine but the reading I did on the web sounded like that was for IBM specific hardware. Here it seems that on the machine I was working - Intel based, i920 - VB won't install Win 7 64-bit without it. I get a bunch of messages that it will install but many cause problems. Are you running any 64-bit VMs? Sort of. I'm working on installing Gentoo AMD64 in a VB machine. No problems so far but I've only just started (it's a weekend project). Certainly no Windows. However I've got another Intel machine where I can install Win 7 64-bit in VB just fine with no complaints at all. Here's the IOMMU stuff from that box: mark@c2stable ~ $ uname -a Linux c2stable 3.0.1-gentoo #1 SMP PREEMPT Mon Aug 8 13:05:19 PDT 2011 x86_64 Intel(R) Core(TM) i7 CPU X 980 @ 3.33GHz GenuineIntel GNU/Linux mark@c2stable ~ $ zcat /proc/config.gz | grep IOMMU CONFIG_GART_IOMMU=y # CONFIG_CALGARY_IOMMU is not set # CONFIG_AMD_IOMMU is not set CONFIG_IOMMU_HELPER=y CONFIG_IOMMU_API=y # CONFIG_IOMMU_DEBUG is not set # CONFIG_IOMMU_STRESS is not set mark@c2stable ~ $ Except for the AMD option they seem identical unless I'm misreading something. I'm now wondering if there is both a BIOS and chipset component to making this work? I'm pretty sure I've got all the Vt-d stuff enabled but I'll have to wait to go into BIOS on both of them to compare. I'll try to do a diff later today between both machine's .config files to look for differences. Can't you simply install the Calgary IOMMU as well? I know that it seems IBM based stuff (I noticed it myself when I was going through the same process) which you probably do not need but I assume it can't hurt (apart from making the kernel a bit bigger). But if it fixes your problem... Probably worth a try. I Agree and will try it. I was only saying I didn't previously because all the write ups made it sound like it was for some other purpose. I think my other question is where does this message about CONFIG_IOMMU_SUPPORT get generated? Is it in the ebuild? If so then is the ebuild incorrect because the option doesn't exist? Or does the option exist but I cannot figure out how to get make menuconfig to make it available? There are a number of web pages like this one: http://cateee.net/lkddb/web-lkddb/IOMMU_SUPPORT.html which seem to indicate that I should see an IOMMU option somewhere in the drivers section of the kernel config. I do not, however, find that right now which is why I came here to ask. Anyway, I will be trying that later today. Cheers, Mark
Re: [gentoo-user] CONFIG_IOMMU_SUPPORT???
On Wed, Aug 24, 2011 at 2:13 PM, Mark Knecht markkne...@gmail.com wrote: http://cateee.net/lkddb/web-lkddb/IOMMU_SUPPORT.html which seem to indicate that I should see an IOMMU option somewhere in the drivers section of the kernel config. I do not, however, find that right now which is why I came here to ask. It looks to me like the specific option CONFIG_IOMMU_SUPPORT was just added for kernel 3.1, so you won't see it until then. It even mentions it on the page you linked to:: found in Linux kernels: 3.1-rc+HEAD It appears virtualbox-modules 4.1.0 doesn't check this. Maybe 4.1.2 is developed against the 3.1 kernel... Maybe you should switch to the latest git kernel, if you dare, or maybe you could mask the vbox modules 4.1.2 and use 4.1.0 instead? I'm not a virtualbox user so I have no idea if that's a reasonable suggestion or not, but I'm just throwing it out there. :)
Re: [gentoo-user] CONFIG_IOMMU_SUPPORT???
On Wed, Aug 24, 2011 at 12:55 PM, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Wed, Aug 24, 2011 at 2:13 PM, Mark Knecht markkne...@gmail.com wrote: http://cateee.net/lkddb/web-lkddb/IOMMU_SUPPORT.html which seem to indicate that I should see an IOMMU option somewhere in the drivers section of the kernel config. I do not, however, find that right now which is why I came here to ask. It looks to me like the specific option CONFIG_IOMMU_SUPPORT was just added for kernel 3.1, so you won't see it until then. It even mentions it on the page you linked to:: found in Linux kernels: 3.1-rc+HEAD It appears virtualbox-modules 4.1.0 doesn't check this. Maybe 4.1.2 is developed against the 3.1 kernel... Maybe you should switch to the latest git kernel, if you dare, or maybe you could mask the vbox modules 4.1.2 and use 4.1.0 instead? I'm not a virtualbox user so I have no idea if that's a reasonable suggestion or not, but I'm just throwing it out there. :) Thanks for the insights Paul. I'll roll back to a slightly earlier version of Virtualbox which will likely solve the problem. Cheers, Mark
[gentoo-user] Akonadi loses mails
I am about to get on a damn plane to Germany, find me the entire collection of KDEPIM devs and shoot every last one of those fuckers dead. dead. dead. dead. Then blow up the repo so this POS will never again see the light of day. I'm trying to migrate away from kdepim. Nothing else out there imports KDE folders so I use my usual trick of running a local imap server, dragging mail trees into it and when the new mail client is started, everything is right there. Akonadi/kmail2 silently destroys the mail when you attempt this. I did a few tests, copied small folders, contents of other folders, etc and satisfied myself it all worked nicely. Then dragged and dropped nice big chunks of mail tree into the IMAP folders. The mails appear in the kde view, but THEY ARE NOT ON DISK ANYMORE. What I am seeing is the akonadi cache, and sooner or later that will expire. There was no warning, no dialog, no notification. Just a pile of mail disappeared. Akonadi/nepomuk/kmail/virtuoso/soprano/strigi didn't do it's usual stunt of observing that my mouse pointer had moved and consume 200% of cpu at load 11 for 30 minutes while it reindexed everything. It appears to have just chucked 2GB of pim data away. Need I mention that NOT chucking pim data away is it's primary design goal (or should be). Now finally after 3 years, I understand what all the other ex-KDE users are on about - this is a stinking pile of bloatcrap and a solution to a problem that actually does not exist. To say that I'm pissed off is putting it mildly. Tomorrow morning I will decide if KDE4 itself is to be the next casualty. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Akonadi loses mails
Hi Alan, Am Mittwoch, 24. August 2011, 22:11:48 schrieb Alan McKinnon: I am about to get on a damn plane to Germany, find me the entire collection of KDEPIM devs and shoot every last one of those fuckers dead. dead. dead. dead. if you need a place to sleep, you're welcome :) Then blow up the repo so this POS will never again see the light of day. I'm trying to migrate away from kdepim. Nothing else out there imports KDE folders They are maildirs, sort of, aren't they? ~ $ ls .kde4/share/apps/kmail/mail/inbox/new/ {2f2c8b47-dc21-4a7a-a0c4-1f0f6a223264} {ef61aa1a-f38f-40a7-99b1-6573bb12afa5} so I use my usual trick of running a local imap server, dragging mail trees into it and when the new mail client is started, everything is right there. Akonadi/kmail2 silently destroys the mail when you attempt this. That's really bad... I did a few tests, copied small folders, contents of other folders, etc and satisfied myself it all worked nicely. Then dragged and dropped nice big chunks of mail tree into the IMAP folders. The mails appear in the kde view, but THEY ARE NOT ON DISK ANYMORE. What I am seeing is the akonadi cache, and sooner or later that will expire. F..k! There was no warning, no dialog, no notification. Just a pile of mail disappeared. Akonadi/nepomuk/kmail/virtuoso/soprano/strigi didn't do it's usual stunt of observing that my mouse pointer had moved and consume 200% of cpu at load 11 for 30 minutes while it reindexed everything. It appears to have just chucked 2GB of pim data away. Check your .xsession-error for SQL-Errors. I had a ton of these and had to reconfigure my MySQL-Server to manage the requests it got from kmail/akonadi/whatever. Don't remember the details though. Need I mention that NOT chucking pim data away is it's primary design goal (or should be). Now finally after 3 years, I understand what all the other ex-KDE users are on about - this is a stinking pile of bloatcrap and a solution to a problem that actually does not exist. I really like kde4. But this PIM-stuff... I don't get it. To say that I'm pissed off is putting it mildly. Tomorrow morning I will decide if KDE4 itself is to be the next casualty. Good luck, Michael
[gentoo-user] Re: Plasma-runtime compilation problems
On 08/24/2011 01:05 AM, Yohan Pereira wrote: On Tuesday 23 Aug 2011 20:28:14 Jeff Cranmer wrote: Pardon my ignorance, but how do I find out? run this equery belongs /usr/include/plasma/service.h if you dont have the equery program install it by emerging app-portage/gentoolkit Seems there is always an alternate way of answering any portage question. I know qfile service.h will do the same thing (emerge portage-utils). I'll bet there are still more ways that I don't know about yet. Anyone have a different trick to do the same thing?
Re: [gentoo-user] Akonadi loses mails
Alan McKinnon writes: I am about to get on a damn plane to Germany, find me the entire collection of KDEPIM devs and shoot every last one of those fuckers dead. dead. dead. dead. Uh-oh. I hope writing this did not put you on some terror list already. Then blow up the repo so this POS will never again see the light of day. Just when I thought this whole akonadification finally starts working. I'm trying to migrate away from kdepim. Nothing else out there imports KDE folders so I use my usual trick of running a local imap server, dragging mail trees into it and when the new mail client is started, everything is right there. Or you could create a 'Maildir' akonadi resource, move your kmail folders in there. They should be normal maildir folders, while those KMail-folders are a mix of maildirs and mbox stuff. Akonadi/kmail2 silently destroys the mail when you attempt this. I did a few tests, copied small folders, contents of other folders, etc and satisfied myself it all worked nicely. Then dragged and dropped nice big chunks of mail tree into the IMAP folders. The mails appear in the kde view, but THEY ARE NOT ON DISK ANYMORE. What I am seeing is the akonadi cache, and sooner or later that will expire. Ouch. OUCH! Um, I assume you know they are really gone? And not just in another location, like, in ~/.local instead of ~/.kde4/share/apps/kmail where you expect them? There was no warning, no dialog, no notification. Just a pile of mail disappeared. Akonadi/nepomuk/kmail/virtuoso/soprano/strigi didn't do it's usual stunt of observing that my mouse pointer had moved and consume 200% of cpu at load 11 for 30 minutes while it reindexed everything. It appears to have just chucked 2GB of pim data away. Need I mention that NOT chucking pim data away is it's primary design goal (or should be). Now finally after 3 years, I understand what all the other ex-KDE users are on about - this is a stinking pile of bloatcrap and a solution to a problem that actually does not exist. To say that I'm pissed off is putting it mildly. Tomorrow morning I will decide if KDE4 itself is to be the next casualty. I feel with you. I really do. I was very short of dropping most of KDE4 because of the lot of problems I have with this. Instead of ranting here, which I already did a lot, I moved to the KDE mailing list and by now wrote some 50 postings there, describing all the weird stuff that is getting on here. When I was unable to log into KDE (again!), I already tried e17, but wasn't to satisfied either. I decided to wait for 4.7, and some things became better. So I stayed. And I don't know what to use else. I'm using the plain shell for many things, and refused to try KDE for a long time, because I feared of nasty effects that indeed happened from time to time. Like, not being able to log in. Or the problem that the KDE password dialog no longer accepted my passwords I could not even unlock my wallet, nothing worked. But on the other hand, an integrated desktop environment is a nice thing. Consistent look, the same file dialog for most applications, a wallet (very handy when it works), graphical handling of multimedia files whcih works better than with mc. KWin is a great window manager, with many features that most others do not have, and very customizable. I like my desktop very much, it is beautiful, setting this up again in another environment would be a pain. So I just stay and hope things will eventually become better. I'm doing this for over two years now, it was a mistake to make the switch from KDE 3.5 so early, but I just did not expect the transition to be so long. And now I cannot go back. Will you report this on bugs.kde.org, or write to the KDE list? If not, I would forward the essential part of your mail, because the guys there should know what's happening. Losing mails is intolerable. I'm glad I am using IMAP for most mails, so messing up things locally will not make me lose them. Uh, I hope. I have a bunch of local mails which I still cannot access. I have to create a Maildir resource pointing to that directory, but this will not make them show up. I was told that I have to create a message in each folder to make them show up. This worked, but when I was nearly done (this takes quite a while with 10.000 mails), one folder started firing hundreds of notifications about a missing folder. So I stopped this, and decided to try some time again. The mails are not important, and when I need them, there's always mutt. I have a log where I note strange things and bugs happening with KDE4. And nearly every day I have to add something there. My personal favorite at the moment is the fact that whenever I start a Konqueror and open a URL, LibreOffice starts, too. I have no idea why this is. We all made jokes when Windows 95 came out, about its 'General Protection Fault' errors, but it's absolutely intolerable how often things crash with
[gentoo-user] Re: systemd
On 08/23/2011 01:19 PM, Alan McKinnon wrote: all running on hardware that no-one can replace. Okay, I give. Why not?
Re: [gentoo-user] Re: Plasma-runtime compilation problems
Am Mittwoch, 24. August 2011, 14:12:53 schrieb walt: On 08/24/2011 01:05 AM, Yohan Pereira wrote: On Tuesday 23 Aug 2011 20:28:14 Jeff Cranmer wrote: Pardon my ignorance, but how do I find out? run this equery belongs /usr/include/plasma/service.h if you dont have the equery program install it by emerging app-portage/gentoolkit Seems there is always an alternate way of answering any portage question. I know qfile service.h will do the same thing (emerge portage-utils). I'll bet there are still more ways that I don't know about yet. Anyone have a different trick to do the same thing? Hmm, this one... ~ $ find /var/db/pkg -name CONTENTS -exec grep -H /usr/include/plasma/service.h {} \; /var/db/pkg/kde-base/kdelibs-4.7.0-r1/CONTENTS:obj /usr/include/plasma/service.h e9ddea9052c900f1f87c57025a0f36f0 1308840546 Michael
Re: [gentoo-user] Re: Plasma-runtime compilation problems
walt writes: On 08/24/2011 01:05 AM, Yohan Pereira wrote: equery belongs /usr/include/plasma/service.h if you dont have the equery program install it by emerging app-portage/gentoolkit Seems there is always an alternate way of answering any portage question. I know qfile service.h will do the same thing (emerge portage-utils). I'll bet there are still more ways that I don't know about yet. Anyone have a different trick to do the same thing? wonko@weird ~ $ grep -r /usr/include/plasma/service.h /var/db/pkg/ /var/db/pkg/kde-base/kdelibs-4.7.0-r1/CONTENTS:obj /usr/include/plasma/service.h e9ddea9052c900f1f87c57025a0f36f0 1308840546 Emulating qfile as a shell function for nicer output: wonko@weird ~ $ myqfile() { grep -r $1 /var/db/pkg | sed 's#/CONTENTS:.*##g' } wonko@weird ~ $ myqfile /usr/include/plasma/service.h /var/db/pkg/kde-base/kdelibs-4.7.0-r1 Wonko
Re: [gentoo-user] Re: systemd
On Wed 24 August 2011 14:19:56 walt did opine thusly: On 08/23/2011 01:19 PM, Alan McKinnon wrote: all running on hardware that no-one can replace. Okay, I give. Why not? Dell 23xx and 24xx generation hardware -- alan dot mckinnon at gmail dot com
[gentoo-user] Akonadi loses mails
On Wed 24 August 2011 22:53:09 Michael Schreckenbauer did opine thusly: Hi Alan, Am Mittwoch, 24. August 2011, 22:11:48 schrieb Alan McKinnon: [snip] I'm trying to migrate away from kdepim. Nothing else out there imports KDE folders They are maildirs, sort of, aren't they? ~ $ ls .kde4/share/apps/kmail/mail/inbox/new/ {2f2c8b47-dc21-4a7a-a0c4-1f0f6a223264} {ef61aa1a-f38f-40a7-99b1-6573bb12afa5} Yes, after a fashion. It's my understanding that there are multiple implementations of maildir, all different, except that they have directories that map to mail folders, and files that map to emails. The actual structure varies a lot, and the only real standard is how qmail did it originally [snip] There was no warning, no dialog, no notification. Just a pile of mail disappeared. Akonadi/nepomuk/kmail/virtuoso/soprano/strigi didn't do it's usual stunt of observing that my mouse pointer had moved and consume 200% of cpu at load 11 for 30 minutes while it reindexed everything. It appears to have just chucked 2GB of pim data away. Check your .xsession-error for SQL-Errors. I had a ton of these and had to reconfigure my MySQL-Server to manage the requests it got from kmail/akonadi/whatever. Don't remember the details though. I did check there, and a few other places too such as enabling mail- related stuff in kdeugdialog and observing console output. I found nothing that seemed relevant. Need I mention that NOT chucking pim data away is it's primary design goal (or should be). Now finally after 3 years, I understand what all the other ex-KDE users are on about - this is a stinking pile of bloatcrap and a solution to a problem that actually does not exist. I really like kde4. But this PIM-stuff... I don't get it. Let's not talk about the complete lack of any findable documentation. The Nagios stuff is in better shape... -- alan dot mckinnon at gmail dot com
[gentoo-user] Any speed issues with dissimilar NVidia cards?
Hi, On one of my machines here I'm running an NVidia 465GTX card driving two 1920x1080 monitors in Twinview mode which for reference produces the following glxgears results: Default size - Approx. 10K fps 3840 x 1080 - Approx. 1500fps mark@c2stable ~ $ glxgears 39852 frames in 5.0 seconds = 7970.263 FPS 39793 frames in 5.0 seconds = 7958.562 FPS 48631 frames in 5.0 seconds = 9726.093 FPS 49370 frames in 5.0 seconds = 9873.878 FPS 49139 frames in 5.0 seconds = 9827.710 FPS 25787 frames in 5.0 seconds = 5156.782 FPS 7776 frames in 5.0 seconds = 1555.146 FPS 7703 frames in 5.0 seconds = 1540.542 FPS 7570 frames in 5.0 seconds = 1513.977 FPS 39883 frames in 5.0 seconds = 7976.487 FPS 49839 frames in 5.0 seconds = 9967.718 FPS 49720 frames in 5.0 seconds = 9943.888 FPS XIO: fatal IO error 11 (Resource temporarily unavailable) on X server :0 after 48 requests (48 known processed) with 0 events remaining. mark@c2stable ~ $ I'd like to add a 3rd monitor, probably a 1280x1024 I have sitting here, but the 465GTX is out of ports so I was considering buying a cheap NVidia PCIe card to drive that monitor. The main purpose of this 3rd monitor will be nothing other than watching NetFlix/Hulu in a VM while working on the two original monitors. Does anyone have experience with driving 3 or more monitors using non-identical NVidia cards? Are there any performance issues I need to be aware of if I put a lower performance card in with the 465? If I snag an old 8200 type card for $29 will it kill my 465's performance in any way? Thanks, Mark
Re: [gentoo-user] Updating a Standalone
Okay, thanks, it looks like I'll have to set up a mirror site on my laptop. Is there a good howto for this? How much space does it require? Thanks again, dhk On 08/12/2011 10:43 AM, Thanasis wrote: on 08/12/2011 05:08 PM Paul Hartman wrote the following: On Fri, Aug 12, 2011 at 8:26 AM, Thanasis thana...@asyr.hopto.org wrote: Keep an updated image of the standalone on laptop, update it via chroot, and sync back to the standalone. This is what i came here to suggest. :) But I think it'll only work if the 2 machines are using compatible arch, right? If the host is 64bit (amd or intel) it can work with a 32bit (and 64bit) chroot. You only need to fix* the -march= in the chroot(ed) make.conf (CFLAGS=) and call chroot via linux32 or linux64 accordingly. ls -l /usr/bin/linux* lrwxrwxrwx 1 root root 7 Aug 9 09:58 /usr/bin/linux32 - setarch lrwxrwxrwx 1 root root 7 Aug 9 09:58 /usr/bin/linux64 - setarch *(do not set march to native)
[gentoo-user] macbook pro boot from usb
Hello, I would like to experiment with Gentoo on a Mac but I don't seem to get past step 0, namely, booting from a gentoo usb stick (systemrescuecd). The Mac does not recognize the usb stick. I don't know much about Macs and searching the web has not been fruitful. In other computers without a Mac bios, it is a matter of changing the boot device order to the usb port. I don't know if such a thing exists in a Mac. If you have a gentoo mac I would appreciate inputs. Thanks, -- Valmor
Re: [gentoo-user] Re: Plasma-runtime compilation problems
Am Mittwoch, 24. August 2011, 23:27:46 schrieb Alex Schuster: walt writes: On 08/24/2011 01:05 AM, Yohan Pereira wrote: equery belongs /usr/include/plasma/service.h if you dont have the equery program install it by emerging app-portage/gentoolkit Seems there is always an alternate way of answering any portage question. I know qfile service.h will do the same thing (emerge portage-utils). I'll bet there are still more ways that I don't know about yet. Anyone have a different trick to do the same thing? wonko@weird ~ $ grep -r /usr/include/plasma/service.h /var/db/pkg/ /var/db/pkg/kde-base/kdelibs-4.7.0-r1/CONTENTS:obj /usr/include/plasma/service.h e9ddea9052c900f1f87c57025a0f36f0 1308840546 Emulating qfile as a shell function for nicer output: wonko@weird ~ $ myqfile() { grep -r $1 /var/db/pkg | sed 's#/CONTENTS:.*##g' } wonko@weird ~ $ myqfile /usr/include/plasma/service.h /var/db/pkg/kde-base/kdelibs-4.7.0-r1 I would use find and grep -H instead of grep -r On my system your version greps in ~ $ find /var/db/pkg | wc -l 33791 files, while only ~ $find /var/db/pkg -name CONTENTS | wc -l 1182 are relevant for the problem at hand ;) Wonko Regards, Michael
Re: [gentoo-user] Re: Plasma-runtime compilation problems
On 08/24/2011, 14:12:53 walt wrote: On 08/24/2011 01:05 AM, Yohan Pereira wrote: On Tuesday 23 Aug 2011 20:28:14 Jeff Cranmer wrote: Pardon my ignorance, but how do I find out? run this equery belongs /usr/include/plasma/service.h if you dont have the equery program install it by emerging app-portage/gentoolkit Seems there is always an alternate way of answering any portage question. I know qfile service.h will do the same thing (emerge portage-utils). I'll bet there are still more ways that I don't know about yet. Anyone have a different trick to do the same thing? Well, you could always do it the hard way : grep -R /usr/include/plasma/service.h /var/db/pkg/*/*/CONTENTS
Re: [gentoo-user] Akonadi loses mails
On Wednesday 24 Aug 2011 21:53:09 Michael Schreckenbauer wrote: Am Mittwoch, 24. August 2011, 22:11:48 schrieb Alan McKinnon: Then blow up the repo so this POS will never again see the light of day. I'm trying to migrate away from kdepim. Nothing else out there imports KDE folders They are maildirs, sort of, aren't they? ~ $ ls .kde4/share/apps/kmail/mail/inbox/new/ {2f2c8b47-dc21-4a7a-a0c4-1f0f6a223264} {ef61aa1a-f38f-40a7-99b1-6573bb12afa5} Are you sure that these maildirs cannot be accessed exactly as/where they are with other mail clients that read maildir? I have had no problem accessing and reading mine with mutt. Also, you have the Folder/Archive Folder command on the menu - would that help you to access messages with another mail client? so I use my usual trick of running a local imap server, dragging mail trees into it and when the new mail client is started, everything is right there. Akonadi/kmail2 silently destroys the mail when you attempt this. That's really bad... If it really does this then it is worse than just bad! O_O However, the sync of your offline mail folders with IMAP may be happening in two steps: 1. When I send a message from Kmail it immediately shows up in my local sent- mail folder. 2. If I sync with the IMAP server the message disappears from the local folder! OK, no need to panic now ... although I'm getting nervous. 3. Sync again and the message now shows up again in my local folder. Phew! Could this be happening with your local IMAP set up too and you haven't really lost your messages? I did a few tests, copied small folders, contents of other folders, etc and satisfied myself it all worked nicely. Then dragged and dropped nice big chunks of mail tree into the IMAP folders. The mails appear in the kde view, but THEY ARE NOT ON DISK ANYMORE. What I am seeing is the akonadi cache, and sooner or later that will expire. F..k! Indeed, unless the local messages have been moved over to the IMAP server and will show up again in the local client (and disk) once you resync with the server - as I describe above. I haven't checked my local Mail directories on the fs to see what happens to a message (physically) when it disappears temporarily from a local directory in Kmail. There was no warning, no dialog, no notification. Just a pile of mail disappeared. Akonadi/nepomuk/kmail/virtuoso/soprano/strigi didn't do it's usual stunt of observing that my mouse pointer had moved and consume 200% of cpu at load 11 for 30 minutes while it reindexed everything. It appears to have just chucked 2GB of pim data away. Check your .xsession-error for SQL-Errors. I had a ton of these and had to reconfigure my MySQL-Server to manage the requests it got from kmail/akonadi/whatever. Don't remember the details though. Need I mention that NOT chucking pim data away is it's primary design goal (or should be). Now finally after 3 years, I understand what all the other ex-KDE users are on about - this is a stinking pile of bloatcrap and a solution to a problem that actually does not exist. I really like kde4. But this PIM-stuff... I don't get it. To say that I'm pissed off is putting it mildly. Tomorrow morning I will decide if KDE4 itself is to be the next casualty. The funny thing is that other than the Konqueror/Dolphin, Kmail and K3b applications I don't really use KDE at all. If this behaviour is true the first thing I would do is double the frequency of my backups! o_O I'll keep my fingers crossed that you haven't really lost all your messages because of some unbelievable and catastrophic Akonadi bug, please let us know what happens. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: Plasma-runtime compilation problems
Am Mittwoch, 24. August 2011, 23:43:09 schrieb Michael Schreckenbauer: Am Mittwoch, 24. August 2011, 23:27:46 schrieb Alex Schuster: wonko@weird ~ $ grep -r /usr/include/plasma/service.h /var/db/pkg/ /var/db/pkg/kde-base/kdelibs-4.7.0-r1/CONTENTS:obj /usr/include/plasma/service.h e9ddea9052c900f1f87c57025a0f36f0 1308840546 Emulating qfile as a shell function for nicer output: wonko@weird ~ $ myqfile() { grep -r $1 /var/db/pkg | sed 's#/CONTENTS:.*##g' } wonko@weird ~ $ myqfile /usr/include/plasma/service.h /var/db/pkg/kde-base/kdelibs-4.7.0-r1 I would use find and grep -H instead of grep -r On my system your version greps in ~ $ find /var/db/pkg | wc -l 33791 Silly me... Your version greps in ~ $ find /var/db/pkg -type f| wc -l 32527 files. Michael
Re: [gentoo-user] Updating a Standalone
On Wed, 24 Aug 2011 17:34:55 -0400, dhk wrote: Okay, thanks, it looks like I'll have to set up a mirror site on my laptop. Is there a good howto for this? How much space does it require? 1) NFS export $DISTDIR on server 2) Mount shared NFS dir on each client 3) Set DISTDIR to mounted share in make.conf on each client -- Neil Bothwick With free advice you often get what you pay for. signature.asc Description: PGP signature
[gentoo-user] Akonadi losing mail
Now I can't even reply to the several excellent answers already received - I just watched kmail2 delete my entire gentoo-user folder. A thorough search of my home dir fails to reveal where mails are hiding. I created a new Maildir (the real one, not that stupid mixed KDE thing) in .kde4/share/apps/kmail/maildir and copied a bunch of stuff there. It got moved per the kmail2 interface - the originals and folders were no longer in the original place, they could be viewed in the new maildir resource. But they could not be found on disk. And then, as I watched, the entire folder tree was removed from the sidebar one folder at a time leaving only the top-most folder. There is nothing on disk. It gets worse. I have a folder for work stuff, counting the total column for each folder shows there are 6562 mails. find and wc on disk returns 4049. So there are 2513 files not on disk that should be. I have no idea where they could be. They are not in .local/share/.local-mail.directory/ They are not in .kde4/share/apps/kmail/ I do not find cache copies in /tmp or /var/tmp I conclude that there must be copies in the mysql that akonadi uses (I thought that was only for email metadata) But they have to be somewhere as kmail2 is showing them. I also discovered that kmail2 doesn't do changing of IMAP folders at all, it seems to be strictly read-only. I can create folders in that area to my heary's content, nothing shows on disk. Kmail2 doesn't seem to support server-side at all. I can create folders in claws easily enough and they show up, but not the other way round. It doesn't seem to be a delayed update either - 12 hours later is a bit too long for that. Will I log a KDE bug against this? I doubt it. I want nothing more to do with kdepim and dealing with those devs is pain I do not want. I'm subscribed to the kdepim user list and the devs often chip in there. Believe me, the ones answering there are quite confused in general and several sandwiches short of a full picnic. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] macbook pro boot from usb
On Wed, Aug 24, 2011 at 4:36 PM, Valmor de Almeida val.gen...@gmail.com wrote: Hello, I would like to experiment with Gentoo on a Mac but I don't seem to get past step 0, namely, booting from a gentoo usb stick (systemrescuecd). The Mac does not recognize the usb stick. I don't know much about Macs and searching the web has not been fruitful. In other computers without a Mac bios, it is a matter of changing the boot device order to the usb port. I don't know if such a thing exists in a Mac. If you have a gentoo mac I would appreciate inputs. I have never used a MacBook, and haven't used any Mac since they had black white screens, but I believe the problem is that its firmware uses EFI for booting, and not the usual BIOS/MBR boot like a normal PC would use. and your system rescue CD probably doesn't have the necessary files. If you google macbook efi linux usb boot or something, maybe there will be more specific info about how to solve it. There are some tools that may help, for example take a look at: http://refit.sourceforge.net/ I seem to recall reading that booting from USB flash drive/external hdd is not normally supported on a Mac, but it may be possible to make it work. good luck :)
Re: [gentoo-user] macbook pro boot from usb
I'm going to state the obvious and say did you try to hold ALT during boot? I made a systermrescue on USB stick and it works just fine on my MacBook. I also have Gentoo installed with Bootcamp and had no issues. Just make sure you partition with Guid On 2011-08-24, at 5:36 PM, Valmor de Almeida wrote: Hello, I would like to experiment with Gentoo on a Mac but I don't seem to get past step 0, namely, booting from a gentoo usb stick (systemrescuecd). The Mac does not recognize the usb stick. I don't know much about Macs and searching the web has not been fruitful. In other computers without a Mac bios, it is a matter of changing the boot device order to the usb port. I don't know if such a thing exists in a Mac. If you have a gentoo mac I would appreciate inputs. Thanks, -- Valmor
Re: [gentoo-user] macbook pro boot from usb
On Wed, Aug 24, 2011 at 6:56 PM, Nick Gotsinas d...@gameforce.ca wrote: I'm going to state the obvious and say did you try to hold ALT during boot? Yes. I made a systermrescue on USB stick and it works just fine on my MacBook. Maybe my systemrescue is old. Will update and try. I also have Gentoo installed with Bootcamp and had no issues. Just make sure you partition with Guid Thanks, -- Valmor On 2011-08-24, at 5:36 PM, Valmor de Almeida wrote: Hello, I would like to experiment with Gentoo on a Mac but I don't seem to get past step 0, namely, booting from a gentoo usb stick (systemrescuecd). The Mac does not recognize the usb stick. I don't know much about Macs and searching the web has not been fruitful. In other computers without a Mac bios, it is a matter of changing the boot device order to the usb port. I don't know if such a thing exists in a Mac. If you have a gentoo mac I would appreciate inputs. Thanks, -- Valmor
Re: [gentoo-user] macbook pro boot from usb
On Wed, Aug 24, 2011 at 7:39 PM, Valmor de Almeida val.gen...@gmail.com wrote: On Wed, Aug 24, 2011 at 6:56 PM, Nick Gotsinas d...@gameforce.ca wrote: I'm going to state the obvious and say did you try to hold ALT during boot? Yes. I made a systermrescue on USB stick and it works just fine on my MacBook. Maybe my systemrescue is old. Will update and try. I updated systemrescuecd to version 2.3.1 on a usb stick and rebooted holding the alt key. The only option I am given is the Macintosh HD. Thanks, -- Valmor I also have Gentoo installed with Bootcamp and had no issues. Just make sure you partition with Guid Thanks, -- Valmor On 2011-08-24, at 5:36 PM, Valmor de Almeida wrote: Hello, I would like to experiment with Gentoo on a Mac but I don't seem to get past step 0, namely, booting from a gentoo usb stick (systemrescuecd). The Mac does not recognize the usb stick. I don't know much about Macs and searching the web has not been fruitful. In other computers without a Mac bios, it is a matter of changing the boot device order to the usb port. I don't know if such a thing exists in a Mac. If you have a gentoo mac I would appreciate inputs. Thanks, -- Valmor
Re: [gentoo-user] Akonadi losing mail
On Wednesday 24 Aug 2011 23:30:16 Alan McKinnon wrote: Now I can't even reply to the several excellent answers already received - I just watched kmail2 delete my entire gentoo-user folder. A thorough search of my home dir fails to reveal where mails are hiding. I created a new Maildir (the real one, not that stupid mixed KDE thing) in .kde4/share/apps/kmail/maildir and copied a bunch of stuff there. It got moved per the kmail2 interface - the originals and folders were no longer in the original place, they could be viewed in the new maildir resource. But they could not be found on disk. And then, as I watched, the entire folder tree was removed from the sidebar one folder at a time leaving only the top-most folder. There is nothing on disk. It gets worse. I have a folder for work stuff, counting the total column for each folder shows there are 6562 mails. find and wc on disk returns 4049. So there are 2513 files not on disk that should be. I have no idea where they could be. They are not in .local/share/.local-mail.directory/ They are not in .kde4/share/apps/kmail/ I do not find cache copies in /tmp or /var/tmp I conclude that there must be copies in the mysql that akonadi uses (I thought that was only for email metadata) But they have to be somewhere as kmail2 is showing them. They say that kmail-2 has a completely different storage architecture ... Have you looked in the mysql tables to see what is hanging in there? (clutching at straws) I also discovered that kmail2 doesn't do changing of IMAP folders at all, it seems to be strictly read-only. I can create folders in that area to my heary's content, nothing shows on disk. Kmail2 doesn't seem to support server-side at all. I can create folders in claws easily enough and they show up, but not the other way round. It doesn't seem to be a delayed update either - 12 hours later is a bit too long for that. My previous response was about Kmail-1. Kmail-2 should *not* be used according to one developer's blog (4 months old): https://thomasmcguire.wordpress.com/category/kmail/ I've seen quite a lot of complains about slowness and missing local folders like ... Inbox! when I googled for it. Good luck in getting your messages back. -- Regards, Mick signature.asc Description: This is a digitally signed message part.