[gentoo-user] Re[2]: [gentoo-user] Re: bus error during compilation of gcc
Воскресенье, 21 апреля 2013, 19:42 UTC от Nuno J. Silva (aka njsg) nunojsi...@ist.utl.pt: On 2013-04-20, the guard the.gu...@mail.ru wrote: Суббота, 20 апреля 2013, 19:56 UTC от Grant Edwards grant.b.edwa...@gmail.com: On 2013-04-20, the guard the.gu...@mail.ru wrote: The package i decided to install required a gcc rebuild so I started rebuilding it and got a bus error. I've googled and found suggestions to lower makeopts, but it didn't help. Every time I've gotten bus errors when building things it turned out to be a hardware problem. Bad RAM, failing CPU, failing motherboard power supply capacitors, bad disk controller card (obviously, that was a _long_ time ago). If I were you, I'd start by running memtest86+ overnight. memtest revealed nothing Which does not mean there's nothing there ;-) No, this isn't funny. Everything else compiles fine. My hardware is fine! It's a software problem. How do I fix it? Should I file a bugreport?
Re: [gentoo-user] Hows this for rsnapshot cron jobs?
On 21/04/2013 22:49, Tanstaafl wrote: On 2013-04-21 4:32 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On 21/04/2013 20:47, Tanstaafl wrote: 30 20 1 * * rootrsnapshot -c /etc/rsnapshot/myhost1.conf monthly 20 20 1 * * rootrsnapshot -c /etc/rsnapshot/myhost1.conf yearly Only the last line is wrong - your monthly and yearly are equivalent.To be properly yearly, you need a month value in field 4. Oh, right (I added that interval myself, rsnapshot only comes with the hourly, daily weekly and monthly by default). So, if I wanted it to run at 8:20pm on Dec 31, it would be: 20 22 31 12 * rootrsnapshot -c /etc/rsnapshot/myhost1.conf yearly Correct I'm not familiar with rsnapshot, I assume that package can deal with how many of each type of snapshot to retain in it's conf file? I see no crons to delete out of date snapshots. Correct, rsnapshot handles this. And, more as a nitpick than anything else, I always recommend that when a sysadmin adds a root cronjob, use crontab -e so it goes in /var/spool/cron, not /etc/crontab. Two benefits: - syntax checking when you save and quit - if you let portage, package managers, chef, puppet or whatever manage your global cronjobs in /etc/portage, then there's no danger that system will trash the stuff that you added there manually. I prefer doing things manually... so, nothing else manages my cron jobs. That said, I prefer to do this 'the gentoo way'... so is crontab -e the gentoo way? There's no gentoo way for this :-) Admittedly, things have changed over the years, most distros now have the equivalent of cron.daily etc that cron jobs get installed into, leaving the main /etc/crontab as a place to put the lastrun logic. It wasn't always like that though. If you ever move to puppet or similar to do your configs you'll want to revisit this. Meanwhile, as you do everything manually anyway, your current method seems to work just fine for you -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] login to gnome fails
Am 21.04.2013 20:16, schrieb Stefan G. Weichinger: Might my problem be related to consolekit? AFAI understand I don't need ck anymore as it is replaced by systemd-logind? I am confused right now by: https://bugs.gentoo.org/show_bug.cgi?id=465508 I was able to login via gdm now ... the last emerged packages were gdk-pixbuf gtk+ ... and now it works again ... what a strange trip that was. S
Re: [gentoo-user] kvm/libvirt and kernel configuration
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 signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Re: [gentoo-user] Re: bus error during compilation of gcc
On Sun, 21 Apr 2013 00:44:46 +0400 the guard wrote: Суббота, 20 апреля 2013, 19:56 UTC от Grant Edwards grant.b.edwa...@gmail.com: On 2013-04-20, the guard the.gu...@mail.ru wrote: The package i decided to install required a gcc rebuild so I started rebuilding it and got a bus error. I've googled and found suggestions to lower makeopts, but it didn't help. Every time I've gotten bus errors when building things it turned out to be a hardware problem. Bad RAM, failing CPU, failing motherboard power supply capacitors, bad disk controller card (obviously, that was a _long_ time ago). If I were you, I'd start by running memtest86+ overnight. -- Grant memtest revealed nothing We had an old QNX machine start giving bus errors during compilation of a large application. Running memtest (for approx 40 hrs) showed nothing, but a close visual examination of the motherboard showed bulging capacitors, i.e. failing capacitors.
Re: [gentoo-user] kvm/libvirt and kernel configuration
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? signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Best filesystem for virtualized gentoo mail server - WAS: vmWare HowTo / best practices
2013/4/21 Tanstaafl tansta...@libertytrek.org Windows VMs see get an 'LSI Logic SAS', and my gentoo VM gets an 'LSI Logic Parallel' controller. Did you tested using pvscsi? It's improve performance with less cost to CPU usage.
Re: [gentoo-user] kvm/libvirt and kernel configuration
On 22/04/13 20:31, 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. ... [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.) ... qxl is the guest video driver for spice, a vnc/rdesktop like connection to the guest either via the libvirt console, or across the network vnc fashion. Its supposed to be great, but maybe I need to tune it some more as I cant see much of an advantage over the other two yet. The virtio stuff is good, but can be a chore to setup - especially in windows guests (have to download drivers then spend extra time/reboots to install them, and disks especially are a pain to get working). BillK
[gentoo-user] OT: emoticon display with Thunderbird
Hello, I can display the basic emoticons when I receive them in email via thunderbird. Many of the newer, more sophisticated emoticons only show the raw ascii characters. [1] Fixes for thunderbird (10.0.11) and suggestions are most welcome, as I cannot upgrade thunderbird at this time. tia, James [1] http://fun.resplace.net/Emoticons/ascii_list.php
Re: [gentoo-user] kvm/libvirt and kernel configuration
Am 22.04.2013 14:31, schrieb Michael Mol: On 04/22/2013 05:40 AM, Michael Hampicke wrote: snip 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? Sorry I misunderstood you. I know that somewhere deep within some documentation I saw such a list, but I cannot find it now (maybe it was libvirt or in the IBM best practices docs?). Here's list of devices that I know of, which kvm can emulate. net: e1000, ne2000, rtl8139, pcnet, virtio video: spice/qxl, vmnet (needs guest driver from vmware), cirrus, xen, vga io: virtio, ata_piix, sata ahci Do you also care about stuff like sound cards? signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] kvm/libvirt and kernel configuration
On 04/22/2013 09:03 AM, William Kenworthy wrote: qxl is the guest video driver for spice, a vnc/rdesktop like connection to the guest either via the libvirt console, or across the network vnc fashion. Its supposed to be great, but maybe I need to tune it some more as I cant see much of an advantage over the other two yet. The benefit over SDL is that copy/paste works. The benefit over VNC is that it's a little more responsive. The downside is that it's more complicated, and nothing is ever documented, naturally. I have to tack this junk onto each VM (and choose a unique port): qemu-kvm \ ... -vga qxl \ -spice port=5900,addr=127.0.0.1,disable-ticketing \ -device virtio-serial-pci \ -device virtserialport,chardev=spicechannel0,name=com.redhat.spice.0 \ -chardev spicevmc,id=spicechannel0,name=vdagent \ ... Afterwards I can connect with, spicec -h 127.0.0.1 -p 5900
Re: [gentoo-user] Re: bus error during compilation of gcc
On 2013-04-22, David Relson rel...@osagesoftware.com wrote: On Sun, 21 Apr 2013 00:44:46 +0400 the guard wrote: Суббота, 20 апреля 2013, 19:56 UTC от Grant Edwards grant.b.edwa...@gmail.com: On 2013-04-20, the guard the.gu...@mail.ru wrote: The package i decided to install required a gcc rebuild so I started rebuilding it and got a bus error. I've googled and found suggestions to lower makeopts, but it didn't help. Every time I've gotten bus errors when building things it turned out to be a hardware problem. Bad RAM, failing CPU, failing motherboard power supply capacitors, bad disk controller card (obviously, that was a _long_ time ago). If I were you, I'd start by running memtest86+ overnight. memtest revealed nothing We had an old QNX machine start giving bus errors during compilation of a large application. Running memtest (for approx 40 hrs) showed nothing, but a close visual examination of the motherboard showed bulging capacitors, i.e. failing capacitors. Bad caps? Those can really give all the kinds of problems, and look really random. I've also seen occasions where a certain northbridge was less tolerant regarding voltages and would render the whole system unstable with a specific brand of memories (the memories were OK, but the system would still become unstable). There was also a more serious case where I started getting random segfaults with a computer, as I started leaving it on for longer and compiling larger programs. Apparently, the memory modules were seated in a less than optimal configuration, leading the motherboard to believe there was *another* memory module. Thing is, for several months the system was OK, because apparently it never needed more than the first half of the memory, or if it did, it did not try to use the result of addressing the second half. That was a lot of luck, I guess. (The less lucky part are the emerge -e systems anf emerge -e worlds which followed.) -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
Re: [gentoo-user] kvm/libvirt and kernel configuration
On 04/22/2013 11:38 AM, Michael Hampicke wrote: Am 22.04.2013 14:31, schrieb Michael Mol: On 04/22/2013 05:40 AM, Michael Hampicke wrote: snip 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? Sorry I misunderstood you. I know that somewhere deep within some documentation I saw such a list, but I cannot find it now (maybe it was libvirt or in the IBM best practices docs?). Here's list of devices that I know of, which kvm can emulate. net: e1000, ne2000, rtl8139, pcnet, virtio video: spice/qxl, vmnet (needs guest driver from vmware), cirrus, xen, vga io: virtio, ata_piix, sata ahci I was able to find these things while browsing through the 'details' list in virt-manager. Mostly what I'm curious about is which kernel configuration options they correspond to when setting up kernels in the guest. I'll post a link to the kernel configuration options I've found (so far) when I get home tonight. Do you also care about stuff like sound cards? A little. As I said, it's at least in part an academic exercise, so completeness becomes interesting. (Though some things can get plain silly, such as sb16, which I believe would be exposed via the ISA bus.) I do find it weird that there's nothing exposed to the guest via, e.g. the i2c bus; that would seem a natural mechanism through which to expose host knowledge and, possibly, influence guest behavior. Thanks for the responses. I'm always fond of knowledge-share threads. :) signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] OT: emoticon display with Thunderbird
On Mon, Apr 22, 2013 at 9:51 AM, James wirel...@tampabay.rr.com wrote: Hello, I can display the basic emoticons when I receive them in email via thunderbird. Many of the newer, more sophisticated emoticons only show the raw ascii characters. [1] Fixes for thunderbird (10.0.11) and suggestions are most welcome, as I cannot upgrade thunderbird at this time. I haven't tried it but this was the first Google result: http://kb.mozillazine.org/Add_emoticons
[gentoo-user] A torrent client which can listen to interface
Hi, I'm looking for a torrent client which can listen to an interface instead of ips. Any pointers?
Re: [gentoo-user] A torrent client which can listen to interface
On 4/22/2013 13:18, Nilesh Govindrajan wrote: Hi, I'm looking for a torrent client which can listen to an interface instead of ips. Any pointers? I don't understand, why would a torrent *client* listen on anything? -- staticsafe O ascii ribbon campaign - stop html mail - www.asciiribbon.org Please don't top post - http://goo.gl/YrmAb Don't CC me! I'm subscribed to whatever list I just posted on.
[gentoo-user] Re: [gentoo-user] A torrent client which can listen to interface
Понедельник, 22 апреля 2013, 22:48 +05:30 от Nilesh Govindrajan m...@nileshgr.com: Hi, I'm looking for a torrent client which can listen to an interface instead of ips. Any pointers? ammm. configure transmission to use a specified port and write iptables rules???
Re: [gentoo-user] A torrent client which can listen to interface
On Apr 22, 2013 11:14 PM, staticsafe m...@staticsafe.ca wrote: On 4/22/2013 13:18, Nilesh Govindrajan wrote: Hi, I'm looking for a torrent client which can listen to an interface instead of ips. Any pointers? I don't understand, why would a torrent *client* listen on anything? -- staticsafe O ascii ribbon campaign - stop html mail - www.asciiribbon.org Please don't top post - http://goo.gl/YrmAb Don't CC me! I'm subscribed to whatever list I just posted on. Torrent clients listen for peers on a port. It always picks the default interface or route. It becomes a problem when you have two Internet connections.
Re: [gentoo-user] Re: [gentoo-user] A torrent client which can listen to interface
On Apr 22, 2013 11:19 PM, the guard the.gu...@mail.ru wrote: Понедельник, 22 апреля 2013, 22:48 +05:30 от Nilesh Govindrajan m...@nileshgr.com: Hi, I'm looking for a torrent client which can listen to an interface instead of ips. Any pointers? ammm. configure transmission to use a specified port and write iptables rules??? Sounds good, thanks.
Re: [gentoo-user] A torrent client which can listen to interface
On 4/22/2013 13:51, Nilesh Govindrajan wrote: On Apr 22, 2013 11:14 PM, staticsafe m...@staticsafe.ca wrote: On 4/22/2013 13:18, Nilesh Govindrajan wrote: Hi, I'm looking for a torrent client which can listen to an interface instead of ips. Any pointers? I don't understand, why would a torrent *client* listen on anything? -- staticsafe O ascii ribbon campaign - stop html mail - www.asciiribbon.org Please don't top post - http://goo.gl/YrmAb Don't CC me! I'm subscribed to whatever list I just posted on. Torrent clients listen for peers on a port. It always picks the default interface or route. It becomes a problem when you have two Internet connections. Oh right. I don't think any clients allow you to specify an interface. Only IPs and ports. Like in rtorrent: -b a.b.c.d Bind the listening socket to this IP -i a.b.c.d Change the IP that is sent to the tracker -p int-intSet port range for incoming connections -- staticsafe O ascii ribbon campaign - stop html mail - www.asciiribbon.org Please don't top post - http://goo.gl/YrmAb Don't CC me! I'm subscribed to whatever list I just posted on.
Re: [gentoo-user] A torrent client which can listen to interface
On 04/22/2013 01:54 PM, staticsafe wrote: On 4/22/2013 13:51, Nilesh Govindrajan wrote: On Apr 22, 2013 11:14 PM, staticsafe m...@staticsafe.ca wrote: On 4/22/2013 13:18, Nilesh Govindrajan wrote: Hi, I'm looking for a torrent client which can listen to an interface instead of ips. Any pointers? I don't understand, why would a torrent *client* listen on anything? -- staticsafe O ascii ribbon campaign - stop html mail - www.asciiribbon.org Please don't top post - http://goo.gl/YrmAb Don't CC me! I'm subscribed to whatever list I just posted on. Torrent clients listen for peers on a port. It always picks the default interface or route. It becomes a problem when you have two Internet connections. Oh right. I don't think any clients allow you to specify an interface. Only IPs and ports. Like in rtorrent: -b a.b.c.d Bind the listening socket to this IP -i a.b.c.d Change the IP that is sent to the tracker -p int-intSet port range for incoming connections Indeed. In fact, what Nilesh is asking for isn't (to my knowledge) possible. You can only specify IP addresses to listen to. What's listened to then depends on which interfaces have that IP. I.e. I have a machine with two NICs[1], and the same IP on each NIC. If I tell a program to listen to that IP, it will receive packets sent to that IP seen by either NIC. If I remove that IP from one of those NICs, it will only see packets sent to that IP on the remaining NIC. If I add another NIC, no packets will be seen by the program until I add the IP to that NIC. What Nilesh probably wants to do is have the program listen on all IPs (so, 0.0.0.0 for IPv4, or [::] for IPv6), and then cover his butt with firewall rules. [1] Not a hypothetical; this is a real system. signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] A torrent client which can listen to interface
vuze does that,,, On 2013-04-22 19:18, Nilesh Govindrajan wrote: Hi, I'm looking for a torrent client which can listen to an interface instead of ips. Any pointers? -- Samuraiii e-mail: samurai.no.d...@gmail.com mailto:samurai.no.d...@gmail.com GnuPG key ID: 0x80C752EA http://pgp.mit.edu:11371/pks/lookup?search=0x80C752EAop=vindexfingerprint=onexact=on (obtainable on http://pgp.mit.edu) Full copy of public timestamp block http://publictimestamp.org signatures id-17508 (from 2013-04-18 21:00:00) is included in header of html.
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
Am 22.04.2013 21:04, schrieb Michael Mair-Keimberger: 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. I am interested ... ;-) Put it up somewhere (dropbox, pastebin, whatever) and share the link if you don't mind. Thanks, Stefan
Re: [gentoo-user] kvm/libvirt and kernel configuration
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. 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. signature.asc Description: OpenPGP digital signature
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] kvm/libvirt and kernel configuration
On 04/22/2013 03:44 PM, Michael Mair-Keimberger wrote: 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/ Attachments are ideal; the mailing list supports them, and it's more beneficial for the ml archives. (Even if gentoo infra's ml archives have been down for a year, gmane et al are also archiving.) signature.asc Description: OpenPGP digital signature
[gentoo-user] PosgreSQL - pg_hba.conf localhost access only
In my pg_hba.conf I have: local all all trust hostall all 127.0.0.1/32trust I was under impression that this is configuration is for localhost 127.0.0.1 access only. But to my surprise I can access my database from other machine on my network and even from another sub-network that I'm connected to via VPN How this authentication/access work? -- Joseph
[gentoo-user] KDM stucking!
Starting up Gentoo today and found that after I entered my password in KDM and the screen just stuck there with nothing for a while(maybe more than 1min) and then splash came up.This never appeared before and I don't know why.The only thing I did and might have something to do with it is that I happened to have deleted the /var/tmp/kdecache-username directory.So,is this reason? And what should I do now? Here is my ~/.xsession-errors file:http://pastebin.com/7N3A9bCc Thanks.