[gentoo-user] official gentoo wallpaper font
Hi all, Quick question: Can someone tell which font is being used in the official 10 years compiling wallpaper [1] (top right)? I haven't found any information about it, but i like it and want to use it for a conky configuration :) Thx [1] https://www.gentoo.org/assets/img/wallpaper/gentoo-10/purple/1920x1080.jpg -- greetings Michael Mair-Keimberger signature.asc Description: Digital signature
Re: [gentoo-user] unable to compile kdelibs in arm chroot
On Fri, Mar 20, 2015 at 01:17:12PM -0400, Fernando Rodriguez wrote: On Friday, March 20, 2015 10:15:03 AM Michael Mair-Keimberger wrote: On Thu, Mar 19, 2015 at 04:44:55PM -0400, Fernando Rodriguez wrote: On Thursday, March 19, 2015 9:11:02 PM Michael Mair-Keimberger wrote: Hi List, For the last few weeks i was playing around with my newly acquired raspberry pi 2. While it was pretty easy to setup a working gentoo stage3 system i failed installing anything below the basic packages. Generally my idea was building the arm packages on any system and provide them as binary packages for other raspberry pi's (yeah, i already bought my second rpi :D) At first, my idea was to build all the packages directly on the rpi. (with /var/tmp /usr/portage on a external harddisk). However, the compile times are worse than i expected so i abandoned the idea. Next i've played around with crossdev. It sort of worked, but i never could finish compiling xorg-server. (or basic system packages) Even though i've started over and over with different settings, there were always packages which failed to compile thus doesn't let me finish xorg-server. I might look into it some other day but now i just wanted something working. Now i'm playing with using qemu-arm [1][2] in order to compile the packages inside a chroot. This is - so far - the most promising method building packages, even though the compile times are worse than with crossdev, but still better than directly on the rpi. So far i finally could compile xorg-server and also updated the whole system, which, at this point, wasn't much anyway. My next goal was kde. I've compiled about half of all packages which are required for kdebase-meta, but now i'm stuck at kdelibs and i have no idea what's wrong. The problem: The problem is, the compile doesn't fail - it just hangs/stops. At some point (which seems to be random - it can stop anywhere between 1% and 100% of the compile) the compile stops and does nothing. I've waited hours, but nothing happened. So far i tried lots of things, for example: * MAKEOPTS=-j1 and/or FEATURES=-sandbox * also tried without building binary packages (-buildpkg) * /var/tmp on tmpfs * using: ebuild /usr/portage/kde-base//kdelibsebuild compile * using python3.3 instead of default 2.7 * moved it on a different system and tried building it there (again with many different settings) Nothing worked, even though the build moved until 100% two times (-_-) I have no idea what the problem is. Even qtwebkit, which took way longer to compile (about 3 hours) compiled on the first try. (which should exclude temperate and/or resource problems) I also don't think it's a problem with a use flag as the build stops anywhere - i couldn't find a pattern. It seems to be completely random. Any ideas whats wrong or how to fix this? Any help would be much appreciated as i'm out of ideas :( Thx [1] https://www.gentoo.org/proj/en/base/embedded/handbook/?part=1chap=5 [2] http://wiki.gentoo.org/wiki/Crossdev_qemu-static-user-chroot One possibility is swap trashing (running so low in RAM that every instruction takes several swaps to execute), especially with /var/tmp on tmpfs! This can happen even if you don't have a swap partition. Try with either more RAM or /var/tmp on a physical filesystem. Usually /var/tmp is on the physical filesystem anyway. I've tried it just once or twice because i though about a performance problem. RAM shouldn't be a problem too as i'm having 16GB of RAM available. I would tell you to attach a debugger and see if you can tell why it's hanging but that may not be worth the trouble (since it'll be a child process that's hanging it'll be tricky to start qemu with the gdb stub just for that process). If you want to try it see: http://tinkering-is-fun.blogspot.com/2009/12/debugging-non-native-programs-with-qemu.html and search QEMU_GDB for the tricky part. Thanks for the link. I might have a look someday whats happening here as i'm really curious and i really would like to build it over an chroot. I already played around with stracing the dead pids but couldn't find any useful information so far. However after being tired of testing around i've decided to take the easy way and compiled kdelibs on the raspberry pi directly. It took me about 3 hours. Thats nothing compared for the hours playing around already :) Interestingly i found that kdelibs isn't the only package which hangs at some point. I've installed kdelibs at my chroot as binary package and tried to continue merging kdebase-meta. But after emerging about 20 other packages, the compile stucked again. This time at kfind. I did the same again (compile on rpi and installed
Re: [gentoo-user] unable to compile kdelibs in arm chroot
On Thu, Mar 19, 2015 at 04:44:55PM -0400, Fernando Rodriguez wrote: On Thursday, March 19, 2015 9:11:02 PM Michael Mair-Keimberger wrote: Hi List, For the last few weeks i was playing around with my newly acquired raspberry pi 2. While it was pretty easy to setup a working gentoo stage3 system i failed installing anything below the basic packages. Generally my idea was building the arm packages on any system and provide them as binary packages for other raspberry pi's (yeah, i already bought my second rpi :D) At first, my idea was to build all the packages directly on the rpi. (with /var/tmp /usr/portage on a external harddisk). However, the compile times are worse than i expected so i abandoned the idea. Next i've played around with crossdev. It sort of worked, but i never could finish compiling xorg-server. (or basic system packages) Even though i've started over and over with different settings, there were always packages which failed to compile thus doesn't let me finish xorg-server. I might look into it some other day but now i just wanted something working. Now i'm playing with using qemu-arm [1][2] in order to compile the packages inside a chroot. This is - so far - the most promising method building packages, even though the compile times are worse than with crossdev, but still better than directly on the rpi. So far i finally could compile xorg-server and also updated the whole system, which, at this point, wasn't much anyway. My next goal was kde. I've compiled about half of all packages which are required for kdebase-meta, but now i'm stuck at kdelibs and i have no idea what's wrong. The problem: The problem is, the compile doesn't fail - it just hangs/stops. At some point (which seems to be random - it can stop anywhere between 1% and 100% of the compile) the compile stops and does nothing. I've waited hours, but nothing happened. So far i tried lots of things, for example: * MAKEOPTS=-j1 and/or FEATURES=-sandbox * also tried without building binary packages (-buildpkg) * /var/tmp on tmpfs * using: ebuild /usr/portage/kde-base//kdelibsebuild compile * using python3.3 instead of default 2.7 * moved it on a different system and tried building it there (again with many different settings) Nothing worked, even though the build moved until 100% two times (-_-) I have no idea what the problem is. Even qtwebkit, which took way longer to compile (about 3 hours) compiled on the first try. (which should exclude temperate and/or resource problems) I also don't think it's a problem with a use flag as the build stops anywhere - i couldn't find a pattern. It seems to be completely random. Any ideas whats wrong or how to fix this? Any help would be much appreciated as i'm out of ideas :( Thx [1] https://www.gentoo.org/proj/en/base/embedded/handbook/?part=1chap=5 [2] http://wiki.gentoo.org/wiki/Crossdev_qemu-static-user-chroot One possibility is swap trashing (running so low in RAM that every instruction takes several swaps to execute), especially with /var/tmp on tmpfs! This can happen even if you don't have a swap partition. Try with either more RAM or /var/tmp on a physical filesystem. Usually /var/tmp is on the physical filesystem anyway. I've tried it just once or twice because i though about a performance problem. RAM shouldn't be a problem too as i'm having 16GB of RAM available. -- Fernando Rodriguez -- greetings Michael signature.asc Description: Digital signature
[gentoo-user] unable to compile kdelibs in arm chroot
Hi List, For the last few weeks i was playing around with my newly acquired raspberry pi 2. While it was pretty easy to setup a working gentoo stage3 system i failed installing anything below the basic packages. Generally my idea was building the arm packages on any system and provide them as binary packages for other raspberry pi's (yeah, i already bought my second rpi :D) At first, my idea was to build all the packages directly on the rpi. (with /var/tmp /usr/portage on a external harddisk). However, the compile times are worse than i expected so i abandoned the idea. Next i've played around with crossdev. It sort of worked, but i never could finish compiling xorg-server. (or basic system packages) Even though i've started over and over with different settings, there were always packages which failed to compile thus doesn't let me finish xorg-server. I might look into it some other day but now i just wanted something working. Now i'm playing with using qemu-arm [1][2] in order to compile the packages inside a chroot. This is - so far - the most promising method building packages, even though the compile times are worse than with crossdev, but still better than directly on the rpi. So far i finally could compile xorg-server and also updated the whole system, which, at this point, wasn't much anyway. My next goal was kde. I've compiled about half of all packages which are required for kdebase-meta, but now i'm stuck at kdelibs and i have no idea what's wrong. The problem: The problem is, the compile doesn't fail - it just hangs/stops. At some point (which seems to be random - it can stop anywhere between 1% and 100% of the compile) the compile stops and does nothing. I've waited hours, but nothing happened. So far i tried lots of things, for example: * MAKEOPTS=-j1 and/or FEATURES=-sandbox * also tried without building binary packages (-buildpkg) * /var/tmp on tmpfs * using: ebuild /usr/portage/kde-base//kdelibsebuild compile * using python3.3 instead of default 2.7 * moved it on a different system and tried building it there (again with many different settings) Nothing worked, even though the build moved until 100% two times (-_-) I have no idea what the problem is. Even qtwebkit, which took way longer to compile (about 3 hours) compiled on the first try. (which should exclude temperate and/or resource problems) I also don't think it's a problem with a use flag as the build stops anywhere - i couldn't find a pattern. It seems to be completely random. Any ideas whats wrong or how to fix this? Any help would be much appreciated as i'm out of ideas :( Thx [1] https://www.gentoo.org/proj/en/base/embedded/handbook/?part=1chap=5 [2] http://wiki.gentoo.org/wiki/Crossdev_qemu-static-user-chroot -- greetings Michael signature.asc Description: Digital signature
Re: [gentoo-user] question about binhost's
On Tue, Nov 18, 2014 at 08:41:05AM +, Neil Bothwick wrote: On Tue, 18 Nov 2014 18:46:45 +1100, wraeth wrote: Interestingly, how do you remove an binary package using portage when you no longer need it? Using 'rm -i package' manually? The `eclean` utility from app-portage/gentoolkit can do this for you (as well as maintaining your distfiles directory). I didn't think eclean could handle individual packages? They are just files, so rm is fine. There's nothing overly special about it, though, so if you feel the need you can just `rm` files (though eclean is better). Beware of eclean if you use a shared $DISTDIR (or a shared $PKGDIR) if you have computers with the same architecture and settings). eclean run n one computer may remove files wanted by others on the network. -- Neil Bothwick There is always one more imbecile than you counted on. Thanks for clarification! So far I couldn't reproduce my problem anymore and I think I just made a wrong observation. Initially I asked because I was pretty sure I had a binary package of traceroute-2.0.18 which I believe were deleted after I upgraded to traceroute-2.0.21. However, I did some tests and it seems traceroute was the only example I could find were this happen and now I'm not even sure if I ever had an binary package of traceroute-2.0.18. Here is also a brief explanation of what I'm actually trying to achieve: A few weeks ago I set up another gentoo system on a rather old system (core2duo/4gb ram/1TB storage). Since this one should be just a computer for toying and trying around I thought about to put rootfs on a lvm partition so that I can easily clone the whole system. This works flawless. With a little nice script I've wrote myself I can easily clone/delete/backup/restore complete system's in minutes, which is why I already have 6 different systems. - gentoo_base - gentoo_cinnamon - gentoo_gnome (with systemd) - gentoo_kde - gentoo_kde_testing - gentoo_lxqt I guess the names are self-explaining. Moreover, I also had the idea to share similar packages across these systems. This would mean, if I already installed xorg on gentoo_cinnamon, I don't have to build it again on gentoo_kde. In this case binary packages are a big win. Only packages with different use flags would be rebuild. It's especially handy on packages like firefox, chromium or libreoffice. :) After I though old binaries were deleted I was eagerly to find a solution for that, since it would make my setup less practical. After all I should have checked other packages more carefully before asking stupid questions, but laziness lead me to my initial mail... Anyway: Older packages are kept, so everything seems to work as expected. I've also checked for rm/elcean in cron and other places were it could run automatically but I couldn't find anything. I also tested on different systems with different packages. No problems so far. I'll keep an eye on it, but I guess there wasn't really a problem. -- greetings Michael Mair-Keimberger signature.asc Description: Digital signature
Re: [gentoo-user] difficulties with lvm2+systemd+grub2
On Sun, Nov 16, 2014 at 12:21:37PM +1100, wraeth wrote: On Fri, Nov 14, 2014 at 07:43:18PM +0100, Michael Mair-Keimberger wrote: Basically my changes in my grub config were already correct, however I completely forgot, that, since I wrote my own init script, arg's like root and init simply weren't used by my script... If you look at my script, I only check the cmdline for lvm, so setting init or root haven't any effect at all :D Glad you got this part of it sorted! I know how both relieving and frustrating it can be to find such a simple thing as the solution - it took me two weeks to realise I was calling 'mpc' and not 'mpd' in my startup script, explaining why MPD was never running... :-/ Thanks! Yeah, it can be really frustration, but it's worth the relieving feeling when you found the bug :) Regarding dracut: Even though I got it to work, it also just bootet openrc and not systemd. Don't know why and I didn't digged further after it worked with my own script. You could try inspecting dmesg to try and determine why it isn't loading your chosen init. It could be something as simple as a typo, or if the filesystem (if you have /usr on a separate partition) isn't available at the time it's trying to launch init. Pretty sure! However, honestly I didn't look further into dracut for now (maybe another day - if I want to know how they work with lvm). BTW, with `dracut --print-cmdline` it prints you an example grub entry for your system, however it's doesn't set init and I think (otherwise I guess it would have work here) as long as you didn't already boot into systemd it wouldn't use it too... Regarding LVM: As mentioned systemd can't mount my lvm partitions from fstab. Those lvm partitions should be mounted by UUID, but it seems like systemd can't find them, even though there are available afterwards (under /dev/vg0/...). I've found dracut initrd's can be a little finicky with LVM volumes. With that in mind, here's the kernel cmdline for one of my systems wich uses LUKS-LVM-EXT4 for it's root partition. Note that it has explicit arguments for *all* LV's and not just root. BOOT_IMAGE=/vmlinuz-3.17.1-gentoo-r1 root=/dev/mapper/vg1-root ro rd.luks.uuid=luks-3f93b8aa-cf8b-4312-85d6-d45cffa59780 rd.lvm.lv=vg1/swap rd.lvm.lv=vg1/root resume=/dev/mapper/vg1-swap rootflags=rw,noatime,data=ordered rootfstype=ext4 quiet Thanks for sharing. From dracut's manual (man dracut.cmdline), rd.lvm.lv only activates given logical volumes, which should be the same like `vgchange -a y` (however i didn't look what exactly dracut does here). Since I'm already doing `vgchange -a y` in my init script, these logical volumes should be available for systemd. I've also checked for systemd's lvm service (lvm2-lvmetad.service) to make sure it's enabled and starts on boot, but it didn't changed anything. However, for now I just read-only mount these lv's directly via my init script and remount them write-able via /etc/local.d/*.start script's (glad to see systemd can make use of these scripts :) ) If I comment them out in /etc/fstab (they are not important) systemd boots just fine. I've also set use_lvmetad = 1 in /etc/lvm/lvm.conf as mentioned at the systemd wiki. This is a dracut-ism, in that if a static filesystem (as denoted by it's presence in /etc/fstab) is unmountable, it will assume there are problems and will drop to recovery. The idea of recovery is to identify your root partition with a symlink to the device node, after which you *should* be able to continue. ln -s /dev/root_device /dev/root See [1] for more. That being said, it may continue to drop to recovery - I've found the dracut recovery console to be a little temperamental with things like that... [1]: http://fedoraproject.org/wiki/How_to_debug_Dracut_problems Hmm, not sure about that. I think you misunderstood me ;) I wasn't drop into dracut's (or in this case in my initramfs) rescue shell (if you meant that). I was drop into systemd maintaince mode, which means after it couldn't mount these other lv's it stops all services, keep / read only and ask for the root password. Done that I was still able to remount / and all other partitions... It seems like fstab's static filesystem are mandatory for systemd ;) Cheers; -- wraeth wra...@wraeth.id.au GnuPG Key: B2D9F759 -- greetings Michael Mair-Keimberger signature.asc Description: Digital signature
[gentoo-user] question about binhost's
Hi list, I was setting up an binhost recently and i couldn't found any information how to keep old builds. Usually, for example a newer version of tcpdump gets build, the old build will be deleted. Only different slots were keeped. However, I want to keep these old builds but I haven't found an option for that. Is it even possible to keep these? If not, anyone know why? if it's not possible there must be a reason and i couldn't think of anyone... -- greetings Michael Mair-Keimberger signature.asc Description: Digital signature
Re: [gentoo-user] question about binhost's
On Mon, Nov 17, 2014 at 11:27:08PM +0200, Alan McKinnon wrote: On 17/11/2014 23:01, Michael Mair-Keimberger wrote: Hi list, I was setting up an binhost recently and i couldn't found any information how to keep old builds. Usually, for example a newer version of tcpdump gets build, the old build will be deleted. Only different slots were keeped. However, I want to keep these old builds but I haven't found an option for that. Is it even possible to keep these? If not, anyone know why? if it's not possible there must be a reason and i couldn't think of anyone... short answer: emerge -b long answer: read man emerge. All of it. Gotchas await. Well, the man page doesn't describe why it can't keep old builds... (don't know what you referring too) I do know `emerge -b` creates binary packages, but i orginally asked for a way to keep older versions of binary packages. Example: emerge -b =net-analyzer/tcpdump-4.5.1-r1 - binary package for tcpdump-4.5.1-r1 gets created emerge -b =net-analyzer/tcpdump-4.6.2 - binary package for tcpdump-4.6.2 gets created AND tcpdump-4.5.1-r1 gets deleted However, I want to keep tcpdump-4.5.1-r1 if possible. Is there a way? Simply emerge -b isn't sufficiency. -- Alan McKinnon alan.mckin...@gmail.com -- greetings Michael Mair-Keimberger signature.asc Description: Digital signature
Re: [gentoo-user] question about binhost's
On Mon, Nov 17, 2014 at 09:32:45PM +, thegeezer wrote: On 17/11/14 21:01, Michael Mair-Keimberger wrote: Hi list, I was setting up an binhost recently and i couldn't found any information how to keep old builds. Usually, for example a newer version of tcpdump gets build, the old build will be deleted. Only different slots were keeped. However, I want to keep these old builds but I haven't found an option for that. Is it even possible to keep these? If not, anyone know why? if it's not possible there must be a reason and i couldn't think of anyone... um, these _are_ kept until you run # eclean packages unless i'm missing something ? so you can still emerge -K old-apps/package for an example, in my /usr/portage/packages/app-shells on my laptop i have # ls -lah total 6.8M drwx-- 2 root root 4.0K Oct 14 21:02 . drwx-- 76 root root 4.0K Nov 17 10:51 .. -rw--- 1 root root 1.2M Sep 5 10:43 bash-4.2_p45.tbz2 -rw-r--r-- 1 root root 1.2M Sep 26 20:52 bash-4.2_p48-r1.tbz2 -rw-r--r-- 1 root root 1.2M Oct 1 14:33 bash-4.2_p50.tbz2 -rw-r--r-- 1 root root 1.2M Oct 2 22:22 bash-4.2_p51.tbz2 -rw-r--r-- 1 root root 1.2M Oct 6 10:09 bash-4.2_p52.tbz2 -rw-r--r-- 1 root root 1.2M Oct 9 23:50 bash-4.2_p53.tbz2 -rw-r--r-- 1 root root 8.4K Oct 14 21:02 push-1.6.tbz2 Hmm, that's interesting. I just checked another binhost and they clearly were kept. I don't know why it doesn't work with mine but it's definitely a problem with my system. Gonna check what's configured wrong. Anyway, thanks for the hint. -- greetings Michael Mair-Keimberger signature.asc Description: Digital signature
Re: [gentoo-user] difficulties with lvm2+systemd+grub2
On Wed, Nov 12, 2014 at 11:20:53AM +0100, Stefan G. Weichinger wrote: Am 12.11.2014 um 11:07 schrieb Sam Jorna: On Wed, Nov 12, 2014 at 10:42:28AM +0100, Michael Mair-Keimberger wrote: On Wed, Nov 12, 2014 at 12:03:04PM +1100, wra...@wraeth.id.au wrote: On Tue, Nov 11, 2014 at 09:56:09PM +0100, Michael Mair-Keimberger wrote: snip systemd. Maybe i could adopt that to my custom one as well. /snip Working examples are always nice :-) Around dracut and grub2 I remember a few bits, maybe they help. In /etc/dracut.conf I have (after discussion here): # dracut modules to omit omit_dracutmodules+=systemd (this one means don't build an instance of systemd *into* the initrd) # dracut modules to add to the default add_dracutmodules+=bash # build initrd only to boot current hardware hostonly=yes hostonly_cmdline=yes I don't use lvm and sw-raid anymore, you might need: add_dracutmodules+=lvm bash mdraid or so. After playing around some more hours with initram's i've finally found out what my problem was. It is easier than I though :D Basically my changes in my grub config were already correct, however I completely forgot, that, since I wrote my own init script, arg's like root and init simply weren't used by my script... If you look at my script, I only check the cmdline for lvm, so setting init or root haven't any effect at all :D That means, after modifying my init script, using /usr/lib/systemd/systemd as init, systemd booted up. It's still not perfect - it looks like it can't mount other lvm partition's and thus only boot's into maintains mode - but it boot's :) Regarding dracut: Even though I got it to work, it also just bootet openrc and not systemd. Don't know why and I didn't digged further after it worked with my own script. Regarding LVM: As mentioned systemd can't mount my lvm partitions from fstab. Those lvm partitions should be mounted by UUID, but it seems like systemd can't find them, even though there are available afterwards (under /dev/vg0/...). If I comment them out in /etc/fstab (they are not important) systemd boots just fine. I've also set use_lvmetad = 1 in /etc/lvm/lvm.conf as mentioned at the systemd wiki. Any clue why that doesn't work? -- greetings Michael Mair-Keimberger signature.asc Description: Digital signature
Re: [gentoo-user] difficulties with lvm2+systemd+grub2
On Tue, Nov 11, 2014 at 10:44:36PM +0100, Stefan G. Weichinger wrote: Am 11.11.2014 um 21:56 schrieb Michael Mair-Keimberger: Don't get confused about the lvm flag. This just get passed to my very simple custom initramfs Why not try dracut for creating your initrd? I spent *lots* of time around lvm/mdadm with systemd and grub2 back then ... What does your own initramfs do that dracut won't do? There's no specific reason why I use my own initrd. Maybe just curiosity - I just want to know what my initrd is really doing ;) I'll try dracut. If it's working I still can look into it's init script to find out what exactly is wrong with my custom one. - Aside from that: We don't see your kernel-config. Did you check for the requirements systemd has and recompile your kernel accordingly? Yeah, i've checked my kernel config (even wrote that). I've just followed the wiki howto regarding kernel config :) Does your new menuentry boot without the init= part? Hmm, not sure if i've tried that. I'll give it a try when i'm back home. - Just some generic thoughts, nothing specific, sorry. Thanks anyway, dracut is a starting point. Stefan -- greetings Michael Mair-Keimberger signature.asc Description: Digital signature
Re: [gentoo-user] difficulties with lvm2+systemd+grub2
On Tue, Nov 11, 2014 at 03:47:49PM -0600, Jc GarcĂa wrote: 2014-11-11 14:56 GMT-06:00 Michael Mair-Keimberger m.mairkeimber...@gmail.com: This lead me to my second question. At the wiki, the only way to create an initramfs for systemd was with genkernel (genkernel --udev --lvm). While the command itself is pretty useless (it's `genkernel --udev --lvm initramfs` if you want to create the initramfs - is this a bug??) i also would like to use my own initramfs. What changes do i have to make in my own initramfs for being able booting systemd from it? Did you used genkernel-next?, also the recommendation on this list for generating initramfs for systemd is dracut, you should give that a try. Sorry, i wasn't specific enough on that. Yes, i've used genkernel-next and I'll give dracut a try. Thanks! -- greetings Michael Mair-Keimberger signature.asc Description: Digital signature
Re: [gentoo-user] difficulties with lvm2+systemd+grub2
On Wed, Nov 12, 2014 at 12:03:04PM +1100, wra...@wraeth.id.au wrote: On Tue, Nov 11, 2014 at 09:56:09PM +0100, Michael Mair-Keimberger wrote: Today I've started to play around with systemd but so far I couldn't get it to boot. I've followed the how to from the gentoo wiki [1], but I stuck somehow. I found systemd to be rather tricky to implement on some of my systems, but this was a while ago and was in a more complex configuration that you're using (though as most people are suggesting, I used dracut to generate my initrd). I would also suggest to use either dracut or genkernel-next to generate an initramfs if you wanted to go down that path. Note that sys-kernel/genkernel (as opposed to sys-kernel/genkernel-next) can have issues with systemd (the last time I tried it it complained about systemd and suggested using genkernel-next). If you would prefer a hand-rolled one, I can't offer much, but as I think has already been suggested, one key point is to call the correct binary. The systemd binary itself is /usr/lib/systemd/systemd, though calling /sbin/init may work if that's configured in such a way as to launch systemd. Thanks for the detailed explanation. I wasn't specific enough on the genkernel part. I already used genkernel-next for generating the initramfs (which doesn't boot). However i'll give dracut a try, I guess if it works i still can extract dracut's initramfs and see what exaclty it does in order to boot with systemd. Maybe i could adopt that to my custom one as well. The other point I might add is that my system, which uses dracut, has systemd launched with some specific arguments: ps -fp 1 UIDPID PPID C STIME TTY TIME CMD root 1 0 0 11:31 ?00:00:00 /usr/lib/systemd/systemd --switched-root --system --deserialize 18 This may be relevant when creating your own initramfs. Thanks, thats something i could try as well :) First of all, with systemd installed I can't install lvm2 with the static use flag anymore, which is mandatory for being able using it for a initramfs. Why isn't that possible? How can I use the lvm binaries for my initramfs? Again, as I think has been mentioned, the 'static' use flag is typically a shortcut for easily building an initrd. Provided you include all the dependencies of a given binary (as seen with `ldd /path/to/binary`) you don't need static binaries. Yeah, now i was digging a bit further into static binaries. If I insert the relevant libaries it should work too. :) However i was wondering why lvm2 shouldn't be able to build with the static flag on systemd. However that's not important any more, i'm just curious :) This lead me to my second question. At the wiki, the only way to create an initramfs for systemd was with genkernel (genkernel --udev --lvm). While the command itself is pretty useless (it's `genkernel --udev --lvm initramfs` if you want to create the initramfs - is this a bug??) i also would like to use my own initramfs. I'm not sure what you mean by the command is useless and is a bug. Genkernel has multiple potential targets - 'all' for building the kernel and initrams, 'kernel' for the kernel binary and modules, 'initramfs' for just the initramfs image, etc. This command should generate an initramfs with the required components for systemd, udev and lvm. Well, at the wiki it's written you should run: genkernel --udev --lvm in order to generate the initramfs. But, you already mentioned it, you need a target in order generate anything, but it isn't mentioned at the wiki. As i'm not familar with genkernel i was a bit confused about the command. I would suggest following for example: genkernel --udev --lvm [target] Hopefully some of this will help clear things up a little. Yes, of course. Many thanks :) Cheers. -- wraeth wra...@wraeth.id.au GnuPG Key: B2D9F759 -- greetings Michael Mair-Keimberger signature.asc Description: Digital signature
Re: [gentoo-user] difficulties with lvm2+systemd+grub2
On Tue, Nov 11, 2014 at 05:13:16PM -0500, cov...@ccs.covici.com wrote: Michael Mair-Keimberger m.mairkeimber...@gmail.com wrote: Hi List, Today I've started to play around with systemd but so far I couldn't get it to boot. I've followed the how to from the gentoo wiki [1], but I stuck somehow. My configuration: rootfs is on lvm2 (no encryption or raid). I just use it for being able creating snapshot/backups of the running system. Grub is on /dev/sda2 which is a simple ext2 partition with a custom grub.cfg. A Grub entry looks like that: ### menuentry 'gentoo amd64 gnome' { linux /gentoo-3.16.5-n lvm=gentoo_amd64_gnome initrd /initrd.cpio.gz } ### Don't get confused about the lvm flag. This just get passed to my very simple custom initramfs which looks like this: ### #!/bin/busybox sh cmdline() { local value value= $(cat /proc/cmdline) value=${value##* $1=} value=${value%% *} [ $value != ] echo $value } # Mount the /proc and /sys filesystems. mount -t proc none /proc mount -t sysfs none /sys mount -t devtmpfs none /dev lvm vgscan lvm vgchange -ay vg0 lvm vgscan --mknodes # Mount the root filesystem. mount -o ro /dev/mapper/vg0-$(cmdline lvm) /mnt/root # Clean up. umount /proc umount /sys umount /dev # Boot the real thing. exec switch_root /mnt/root /sbin/init ### So far this works great for me. However, with systemd I had some difficulties how to correctly configure the system and grub2 in order to boot with systemd. This is what i did so far: For systemd i've created a new initramfs with genkernel and changed the grub config like the following entry: ### menuentry 'gentoo amd64 gnome systemd' { linux /gentoo-3.16.5-n root=UUID=1eb94a2b-40d7-4556-9102-0320efd04adc init=/usr/lib/systemd/systemd initrd /initramfs-genkernel-x86_64-3.16.5-gentoo } ### Systemd installation went without problems (it's a base system without any wm's installed atm), but even though the grub2 changes were quite easy and I've used the genkernel initramfs instead of mine I still get a kernel panic on boot (have a look at the attached picture). I've also checked the kernel config for having the required systemd configurations enabled. Anyone has some ideas what might be wrong? Furthermore I've also have some questions about lvm2+systemd. Hope someone can give me some answers :) First of all, with systemd installed I can't install lvm2 with the static use flag anymore, which is mandatory for being able using it for a initramfs. Why isn't that possible? How can I use the lvm binaries for my initramfs? This lead me to my second question. At the wiki, the only way to create an initramfs for systemd was with genkernel (genkernel --udev --lvm). While the command itself is pretty useless (it's `genkernel --udev --lvm initramfs` if you want to create the initramfs - is this a bug??) i also would like to use my own initramfs. What changes do i have to make in my own initramfs for being able booting systemd from it? I would use dracut to generate the initramfs and use rd.lvm.vg= to activate your volume group and specify the init as the exact location of the systemd binary -- then you don't need static or anything, dracut will automatically put in the appropriate libraries, and also check the file systems upon boot. Much better if you need to use systemd. Hope this helps. Dracut was already mentioned. I'll give it a try later that day. Regarding your rd.lvm.vg= flag. I guess should be put into the grub2 entry, shouldn't it? Anyway, thanks for sharing :) -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com -- greetings Michael Mair-Keimberger signature.asc Description: Digital signature
Re: [gentoo-user] virtual problem : how can I unmerge Nano ?
On Mon, Apr 28, 2014 at 10:32:22AM -0400, Philip Webb wrote: I never use Nano -- Vim or Ed are available in a raw terminal -- would like to unmerge it, but Portage tells me that virtual/editor requires it that @system requires virtual/editor . How can I tell Portage that Vim or Ed satisfy virtual/editor ? -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca You can set your editor of choice with eselect: eselect editor list eselect editor set $(editor_of_choice) Usually nano can be removed with emerge --deplcean, but it might be included in your world file. emerge --deselect nano should remove it from your world file too :) -- greetings Michael Mair-Keimberger signature.asc Description: Digital signature
[gentoo-user] troubles with mutt+gnupg
Hi list, I've changed mutts config to enable gpg support within mutt. While it seems to work nicely, there is still a minor problem. I've used the default config from /usr/share/doc/mutt-1.5.23-r2/samples/gpg.rc.bz2 and added a few other options which i found useful like fetching keys automaticaly when opening mails. My problem however is that every time i open a signed mail, gpg can't fetch the key in the first place. I always have to abort via Ctrl+C and reopen the mail again. Usually at least 3 times. After the third try it usually works. Thats quite annoying, even though after gpg could fetch the keys they are stored anyway and don't have to refetched again. Below is my actual mutt-gpg config: # decode application/pgp set pgp_decode_command=gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f # verify a pgp/mime signature set pgp_verify_command=gpg --status-fd=2 --no-verbose --quiet --batch --output - --verify %s %f # decrypt a pgp/mime attachment set pgp_decrypt_command=gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f # create a pgp/mime signed attachment set pgp_sign_command=gpg --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --detach-sign --textmode %?a?-u %a? %f # create a application/pgp signed (old-style) message set pgp_clearsign_command=gpg --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --textmode --clearsign %?a?-u %a? %f # create a pgp/mime encrypted attachment set pgp_encrypt_only_command=pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 0xBE43B303 -- -r %r -- %f # create a pgp/mime encrypted and signed attachment set pgp_encrypt_sign_command=pgpewrap gpg %?p?--passphrase-fd 0? --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to 0xBE43B303 -- -r %r -- %f # import a key into the public key ring set pgp_import_command=gpg --no-verbose --import %f # export a key from the public key ring set pgp_export_command=gpg --no-verbose --export --armor %r # verify a key set pgp_verify_key_command=gpg --verbose --batch --fingerprint --check-sigs %r # read in the public key ring set pgp_list_pubring_command=gpg --no-verbose --batch --quiet --with-colons --list-keys %r # read in the secret key ring set pgp_list_secring_command=gpg --no-verbose --batch --quiet --with-colons --list-secret-keys %r set pgp_autosign=yes set pgp_sign_as=0xBE43B303 set pgp_replyencrypt=yes set pgp_timeout=1800 # fetch keys set pgp_getkeys_command=gpg --keyserver subkeys.pgp.net --keyserver-options honor-http-proxy --recv-key %r /dev/null 21 # pattern for good signature - may need to be adapted to locale! set pgp_good_sign=^\\[GNUPG:\\] GOODSIG Any ideas whats wrong here? thx -- greetings Michael Mair-Keimberger signature.asc Description: Digital signature
[gentoo-user] gentoo on a kvm - can't install kernel sources
Hi List, Since a few days i'm trying to install gentoo on a kvm guest from edis.at. They support to boot from a gentoo minimal live-cd in order to install your own gentoo. The system has 5GB storage and 256MB ram. Actually that should be enough for a minimal installation. However, till now i couldn't get over that point where i'm trying to install the kernel sources... The partition of the hd looks like this right now: 64MB/boot 256MB swap ~4,3GB / Swap is active and i also made sure there are enough inodes on / (i had to raised them). Even though there is enough space and 256mb ram + 256mb swap should be enough ram i can't install (copy) the kernel sources. They just stop suddenly. There is nothing in the build.log. Last view lines are: /usr/src/linux-3.10.7-gentoo/sound/soc/pxa/pxa2xx-ac97.c /usr/src/linux-3.10.7-gentoo/sound/soc/pxa/pxa2xx-pcm.c /usr/src/linux-3.10.7-gentoo/sound/soc/pxa/pxa-ssp.c /usr/src/linux-3.10.7-gentoo/sound/soc/pxa/pxa2xx-i2s.c However i'll get errors in dmesg and it seems i'll get out of memory while installing: [snip] [63599.551452] emerge invoked oom-killer: gfp_mask=0x201da, order=0, oom_score_adj=0 [63599.551466] Pid: 12358, comm: emerge Not tainted 3.8.13-gentoo #1 . . . [63599.552434] Out of memory: Kill process 13382 (emerge) score 635 or sacrifice child [63599.552435] Killed process 13382 (emerge) total-vm:438472kB, anon- rss:206552kB, file-rss:0kB [snip] Any idea what i can do here, except buying an better kvm? From the docs 256MB should be fine so i don't know why it doesn't work? thx mmike
Re: [gentoo-user] gentoo on a kvm - can't install kernel sources
On Sunday 25 August 2013 18:23:07 Alan McKinnon wrote: On 25/08/2013 15:51, Michael Mair-Keimberger wrote: Hi List, Since a few days i'm trying to install gentoo on a kvm guest from edis.at. They support to boot from a gentoo minimal live-cd in order to install your own gentoo. The system has 5GB storage and 256MB ram. Actually that should be enough for a minimal installation. However, till now i couldn't get over that point where i'm trying to install the kernel sources... The partition of the hd looks like this right now: 64MB /boot 256MB swap ~4,3GB / Swap is active and i also made sure there are enough inodes on / (i had to raised them). Even though there is enough space and 256mb ram + 256mb swap should be enough ram i can't install (copy) the kernel sources. They just stop suddenly. There is nothing in the build.log. Last view lines are: /usr/src/linux-3.10.7-gentoo/sound/soc/pxa/pxa2xx-ac97.c /usr/src/linux-3.10.7-gentoo/sound/soc/pxa/pxa2xx-pcm.c /usr/src/linux-3.10.7-gentoo/sound/soc/pxa/pxa-ssp.c /usr/src/linux-3.10.7-gentoo/sound/soc/pxa/pxa2xx-i2s.c However i'll get errors in dmesg and it seems i'll get out of memory while installing: [snip] [63599.551452] emerge invoked oom-killer: gfp_mask=0x201da, order=0, oom_score_adj=0 [63599.551466] Pid: 12358, comm: emerge Not tainted 3.8.13-gentoo #1 . . . [63599.552434] Out of memory: Kill process 13382 (emerge) score 635 or sacrifice child [63599.552435] Killed process 13382 (emerge) total-vm:438472kB, anon-rss:206552kB, file-rss:0kB [snip] Any idea what i can do here, except buying an better kvm? From the docs 256MB should be fine so i don't know why it doesn't work? I cannot untar kernel sources on my virtualbox VMs with =256M either, and that goes back at least 18 months. tar just consumes too much memory. Your options: - untar somewhere else and copy the uncompressed sources over - get more memory when you build the kernel, you will find the same issue. gcc is going to use much more ram than 256M to get the job done. Do keep in mind that you can probably get that VM to *run* in teeny amounts of memory - maybe even only 64M - but building a kernel is a hugely memory-intensive task Thx for crosschecking. Well it looks like docs are out of date, 256MB ram is definitely not enough. I already though about to extract it here and than copy it to the vm. However, uploading uncompressed kernel sources would take quite some time over my slow internet connection and i really wanted to avoid that. Anyway, either copy or buy a better vm. I guess i'll gonna make my own vm at home and copy the full system over... thx mmike
Re: [gentoo-user] gentoo on a kvm - can't install kernel sources
On Monday 26 August 2013 01:49:17 Yohan Pereira wrote: On 25/08/13 at 09:50pm, Alan McKinnon wrote: I'd recommend cross-building just a kernel and modules locally and copying that to the vm, it will only be about 6 to 8M Some food for thought: I do question the wisdom though of running Gentoo on a VM like that. I've always found that Gentoo (despite all it's fantastic awesomeness elsewhere) is really not fitted for that specific task very well - it tends to be a lot of pain and not much gain. Why do you want Gentoo on the vm? Is there a very good reason, or is it because you are familiar with it? If the second reason, you might want to have a look at FreeBSD or one of the binary distros based of Gentoo like Sabayon. You might find the best of both worlds in that space. Well I have a couple VM's running on 256 mb of RAM. While I'll admit I initially chose gentoo because of familiarity. It seemed to work out fine although I'll admit I've I haven't updated the kernel, just using the kernel provided by the host. AFAIR the heaviest(memory wise) thing I did on such a VM was running a java stock trading application in a virtual screen that was accessed via VNC. I've never had problems(yet) compiling gcc etc. I remeber being able to compile faster than my laptop's aging core 2 due processor. Currently I use one for my personal a mail server, quassel (irc client), tt-rss, git/mecurial collaboration, development web hosting and other random stuff. It hasn't borked on me yet but YMMV. Heres the output of free from the VM. $ free -m total used free sharedbuffers cached Mem: 246231 15 0 14157 -/+ buffers/cache: 59187 Swap: 494 57437 Well, familiarity was my main reason but actually i though gentoo fits anyway quite good on such weak systems? (well besides compiling on it) You get a small system which needs not much space and performs quite good. (thats why 5GB is actually enough for me - i don't store anything there). FreeBSD might be a good alternative and in case gentoo is to much pain i'll give it a try. :) BTW, i have an alix device at home which also has just 256MB Ram and while the CF-Card (where the gentoo system is stored) has 8GB now, i've started with an 4GB CF-Card and i did compile on this device - even (hardened)kernels :) That was ~3 years ago, now i cross-compile for this device. However, gentoo on such devices runs perfectly well and rock stable. :) mmike
Re: [gentoo-user] startx with multiple window managers
You could actually pass an argument to startx. My .xinitrc looks like this: if [[ $2 == kde ]]; then exec startkde elif [[ $2 == awesome ]]; then setxkbmap de exec ck-launch-session dbus-launch --sh-syntax --exit-with-session awesome else exec startkde fi I've also created aliase for kde awesome (.bashrc): alias kde=startx kde alias awesome=startx awesome Means whenever i want to start kde or awesome i only have to execute kde or awesome. By default (startx) it would start kde. LG On Friday 23 August 2013 13:39:45 Randy Westlund wrote: I'm looking for a better way to manage multiple WMs. I launch X with startx. I also use multiple window managers. I'm primarily on xmonad because I love tiling WMs, but I also keep xfce around for whever I developing a GUI or letting my fiancee use my machine. My procedure for starting multiple managers is this: - log in - startx - login on tty2 - edit .xinitrc (shown below) - startx -- :1 .xinitrc goes from: exec xmonad #exec startxfce4 to: #exec xmonad exec startxfce4 Then I can switch between tty7 and tty8 at will. Usually I don't start xfce at all, but for the times when I do, I'd be nice to do this without editing a file. Can I simplify this process? Is there anyone else who uses multiple WMs? How do you manage them? Randy
Re: [gentoo-user] Anybody have a Gentoo KVM image to share?
Hi, I can give you my minimal gentoo vm(s). It's a stable gentoo minimal system with following aditional software installed (copied from world file): app-editors/nano app-misc/screen app-portage/gentoolkit dev-util/lafilefixer net-fs/nfs-utils net-misc/dhcpcd net-misc/ntp sys-apps/portage sys-boot/grub-static sys-devel/libtool sys-kernel/gentoo-sources sys-power/acpid The vm has a 50gb harddisk, but the compressed file (qcow2) has ~3gb (/usr/portage/* stuff deletetd) The system is pretty much up-to-date and i have both 32bit and 64bit versions. However, you need the virtio drivers on the host, because i'm using those drivers for the harddisk and network. Uploading it somewhere shouldn't be a problem but it will take quite some time since my upload speed is really slow ;) mike On Monday 13 May 2013 09:36:35 Alexander Berntsen wrote: If anyone have a Gentoo KVM image (preferably 10G or less) to share, please email the details on how to obtain a copy. I will be using it for development, so the simpler it is the better, with working networking. The reason I'm asking here is because I'm lazy and don't want to do work that somebody else has already done. Hopefully sharing it here will save someone else time as well, so please reply to the list and CC me (in case I forget to check the archives, as I don't subscribe to this list). -- Alexander alexan...@plaimi.net http://plaimi.net/~alexander
Re: [gentoo-user] Anybody have a Gentoo KVM image to share?
The uncompressed image has ~11gb and it would grow as you use it. However it should be easy to shrink that. The image has 3 (boot/swap/root) partitions, where the boot partition has 32mb. If i'm correct you only have to create a new image, make 2 or 3 (depends if you need swap) partitions on it, where the first one (/boot) must have the same size like in the original image (means 32mb). Than you dd the boot partition and copy the files of the root partiton to your new image. The files should fit perfectly on a ~10gb hd too since they just need ~1,5 gb. I could try it on my own, but than i would take some time... mike On Monday 13 May 2013 18:39:17 Alexander Berntsen wrote: On 13/05/13 18:36, Michael Mair-Keimberger wrote: The vm has a 50gb harddisk I'm not sure how KVM works with this -- is it a static file at 50G? I'm looking for an image I can use on my SSD, so it really has to be quite small (preferably maximum 10G). Thank you for the offer though, and if I can't get a small image anywhere I could use yours via an external HDD. -- Alexander alexan...@plaimi.net http://plaimi.net/~alexander
Re: [gentoo-user] Anybody have a Gentoo KVM image to share?
Well, i don't have any online storage were i could upload it. Looking at google i found this site www.transferbigfiles.com but i never tried it and uploads will expire in 5 days. If you don't have anything else i would upload it there.. mike On Monday 13 May 2013 19:31:52 Alexander Berntsen wrote: On 13/05/13 19:24, Michael Mair-Keimberger wrote: The uncompressed image has ~11gb and it would grow as you use it. That is largely acceptable. I would prefer even smaller, but it's more than sufficient for now. If you have anywhere I can get hold of this image that would be great. -- Alexander alexan...@plaimi.net http://plaimi.net/~alexander
Re: [gentoo-user] kvm/libvirt and kernel configuration
Regarding devices which devices qemu-kvm supports, just take a look at following commands: Available net devices: qemu-system-x86_64 -net nic,model=? Available cpu's: qemu-system-x86_64 -cpu ? Available machines (if needed) qemu-system-x86_64 -machine ? General list of available devices: qemu-system-x86_64 -device ? Depending on your arch it might differ.. Regarding virito devices: I highly recommend using those drivers. For my gentoo guests i always use virtio drivers for network devices (with vhost=on) and harddisks. (on windows guests only virito-net drivers) The performance gain is incredible. However, especially for the virtio harddisk driver, make sure you change fstab entries, because harddisk names change from sda to vda (or just use them from the beginning. If you going to try out desktop vm's too i also recommend qxl with spice. It's really fast and it also supports copy/paste (however you need an service for copy/paste on linux app-emulation/spice-vdagent) and window resizing. Those features also work on windows. Regarding libvirt my experience is actually very low since i setup my vms with an custom init script. You can take a look on it here: https://github.com/mm1ke/qemu-init/tree/devel I can also provide a basic kernel .config for the latest stable kernel on x64 and x86 if you are interrested. mike On Monday 22 April 2013 08:31:39 Michael Mol wrote: On 04/22/2013 05:40 AM, Michael Hampicke wrote: Am 22.04.2013 03:06, schrieb Michael Mol: So, I'm setting up number of kvm guests running Gentoo. KVM guests have a pretty limited set of device drivers they need to support. Is there a relatively up-to-date list of kernel configuration options? I.e. the list of NIC drivers, video drivers, I/O drivers... For net and io I always go with the virtio drivers [1]. For video: I don't care, my VMs are all headless, but when creating a desktop VM I suggest looking to vmvga or qxl. [1] http://wiki.libvirt.org/page/Virtio For video, I tend to use Cirrus. (I'll get the serial console stuff figured out eventually; I know how that works in the guest, but haven't prodded it in the host.) I didn't see a guest-side driver for vmvga, and I have no idea what qxl is. (I didn't hit search engines for it, I was merely searching around via menuconfig's / search.) Virtio drivers are awesome, of course. What I'm really looking for, though, is a list of all the devices the qemu/kvm host can emulate, and the most-specific guest driver. I.e. If I wanted to make a generic kernel configuration that contained the optimum drivers for all possible qemu/kvm configurations, what would be the minimum feature set? While I'm on the subject...menuconfig's search functionality indicated there was a vmguest-targeted CPU accounting in the kernel, but I couldn't get the HAVE_VIRTUAL_CPU_ACCOUNTING dependency flag set, and couldn't figure out what set it. Any ideas there?
Re: [gentoo-user] kvm/libvirt and kernel configuration
On Monday 22 April 2013 15:17:20 Michael Mol wrote: On 04/22/2013 03:04 PM, Michael Mair-Keimberger wrote: Regarding devices which devices qemu-kvm supports, just take a look at following commands: Available net devices: qemu-system-x86_64 -net nic,model=? Available cpu's: qemu-system-x86_64 -cpu ? Available machines (if needed) qemu-system-x86_64 -machine ? General list of available devices: qemu-system-x86_64 -device ? Depending on your arch it might differ.. Regarding virito devices: I highly recommend using those drivers. For my gentoo guests i always use virtio drivers for network devices (with vhost=on) and harddisks. (on windows guests only virito-net drivers) The performance gain is incredible. However, especially for the virtio harddisk driver, make sure you change fstab entries, because harddisk names change from sda to vda (or just use them from the beginning. If you going to try out desktop vm's too i also recommend qxl with spice. It's really fast and it also supports copy/paste (however you need an service for copy/paste on linux app-emulation/spice- vdagent) and window resizing. Those features also work on windows. Good to know. Does it work over the network, or does it presume local connectivity? My primary use case is connecting to the box over wireless. My secondary use case is connecting over a WAN link. Local connectivity is out of the question for this VM server. It works over the network. I have all my vms on a server and i only access those vm's over network. As client i suggest net-misc/spice-gtk. Regarding libvirt my experience is actually very low since i setup my vms with an custom init script. You can take a look on it here: https://github.com/mm1ke/qemu-init/tree/devel I'm actually not having any real difficulty setting up the VMs. As I said, the matter is largely academic. It's really not difficult to set up a guest primarily with virtio drivers, of course. The problem I'm trying to solve is the apparent lack of documentation mapping host kvm/qemu capabilities with guest kernel configurations I can also provide a basic kernel .config for the latest stable kernel on x64 and x86 if you are interrested. Like Stefan, I'm also curious. I would probably go through and tweak a number of network-related features (add a netfilter feature here, remove a network stack component there), but it'd be interesting to look at. Below are both configs (kernel 3.7.10)(hope bpaste is ok). If you going to use them and don't use virtio-net make sure you enable appropriate net drivers (e1000,rtl8129,..), because i've disabled all of them. http://bpaste.net/show/93300/ http://bpaste.net/show/93301/
Re: [gentoo-user] Unable to compile chromium 26
Look at bug 463550 [1].. Either you downgrade to app-accessibility/speech-dispatcher-0.7.1-r2 or use the patch which is pointed out at the bug. mike 1) https://bugs.gentoo.org/show_bug.cgi?id=463550 On Monday 01 April 2013 20:57:43 Nilesh Govindrajan wrote: I'm unable to compile chromium. It somewhere exits with not able to find libspeechd.h, but it exists in /usr/include/speech-dispatcher. I have attached build log. Can anybody tell what's going wrong? -- Nilesh Govindrajan http://nileshgr.com
[gentoo-user] xorg/mesa/steam problem
Hi Gentoo Users, For some time now i'm playing around with steam4linux and the open-source radeon drivers. Yesterday i've tried to play the games on my multi-monitor (3 screens) setup. Basically most of the games dosn't support multi-monitor and would show up the game on the primary or top left screens. However there were two games were it actually sort of worked. Defcon and Amnesia: The Dark Descent. Unfortunately i have a big issue. The games itself seems to run nicly, but i can't move my mouse freely. I can move my mouse from the left side to not even to the middle of the middle screen, which means i cant start any of those games. (the menues are in the middle) My question now is, where should i made an bug-report? If the problem would be just at one game i would say its a problem of the game. But two completly different games with exact the same problem? My think it could be a problem in xorg-server or mesa? What do you think? Michael