Re: [gentoo-user] Switch to VT1 on shutdown fails with mesa >= 9.1 and two screens configured in xinerama
On 05.10.2013 15:50, Alan McKinnon wrote: > On 05/10/2013 13:32, Andreas Prieß wrote: >>> This dual head setup - do you have one large desktop across two monitors, or two screens configured in xorg.conf? I can never quite remember what xinerama does (I think it's the first one) Can you reproduce the problem using just one configured monitor? >> The dual head setup with xinerama has two screens configured. The >> monitors have different resolutions and windows, desktop panels and >> things got placed in invisible areas otherwise (with Xfce at least). >> >> So, there is a new fact: I can NOT reproduce it with only one screen. >> >> If I start X without my config files and let it configure one screen >> automatically, the switch to VT1 on shutdown works as expected. >> >> Any hints for the next step? File a bug with mesa? Try other things? > > > First step is ually to file a bug at b.g.o. for the mesa team. If that > gives no results, move onto filing a bug with mesa. Bug filed - thanks for your time, Alan! https://bugs.gentoo.org/show_bug.cgi?id=487182 -- Andreas
Re: [gentoo-user] Re: separate / and /usr to require initramfs 2013-11-01
In linux.gentoo.user, James wrote: > Gregory Shearman gmail.com> writes: > > >> b) The important reason I need an initramfs is that I have my root >> filesystems on LVM partitions (except for my ARM servers). > > Hello Gregory, > > Please tell me, as much as you are confortable with, > about your ARM servers I'm running 2 servers at the moment. They are very low power and they mainly serve my home network. One is a Marvell Sheevaplug (single core 1.2GHZ 512MB memory) and has been running reliably for many years. The other is a Texas Instruments Pandaboard (2 core Cortex A9 Processor - 1Gb memory) . I've only had the Panda since October last year and it is also a very reliable server (with added GUI HDMI benefits!). > Running Gentoo? Running Embedded Gentoo? Which kernels? > HDD ? File Systems? Configurations, Grub 2? LVM, RAID ? Both servers are running Gentoo Stable... therefore current kernels (for their architecture). Both have external HDD attached via USB. File systems: root filesystem is on an SDHC card (2nd partition). Other filesystems (except for the boot partition) are all on LVM. I have /usr/src, /usr/portage, /usr/portage/distfiles is a symlink to /var/www/localhost/gentoo/distfiles (another filesystem). I also have /var/tmp/portage on a separate filesystem and I also run a postgresql database server which also has its own partition on /var/lib/postgresql/. Both servers have the same setup as I'm currently in the process of replacing the sheevaplug with the panda. Grub? There's no such thing on ARM machines. The kernel or uImage looks for the first partition on the configured root device (SDHC on my systems) the first partition MUST be VFAT (unfortunately) and it contains the u-boot bootloader and the kernel (uImage). Kernels are built the same way as x86 kernels except you do "make uImage" instead of "make bzImage". LVM? All the above filesystems, except the root partition and the boot partition are LVM volumes. Filesystems are mostly Ext4 (very conventional). RAID? Nope. > Typical usage? Print server, database server, backups, webserver - which includes serving gentoo portage and distfiles to other machines on the network (THTTPD is a great minimal web server). > What install docs did you follow? Sheevaplug: http://dev.gentoo.org/~armin76/arm/sheevaplug/install.xml#install Pandaboard: http://dev.gentoo.org/~armin76/arm/pandaboard/install.xml It's easy. > Any suggestions on setting up ARM servers, cluster, > and such are most welcome. ARM servers aren't much different to other servers but you must realise that these are low powered devices (the ones I run anyway) and aren't really suited to large loads. They especially suit a small business or home hobbyist environment. Even so, compiling Gentoo, especially on the Panda is not a problem and doesn't take forever (except for gcc updates 8-)). I suppose you could cluster a number of these devices but I think it would be more efficient to use a more powerful server running servers as virtual machines. -- Regards, Gregory.
Re: [gentoo-user] Network failed and weird error message
On Sun, 06 Oct 2013 19:28:01 -0500, Dale wrote: > The original config had OHCI enabled. My mobo doesn't need UHCI. I > didn't have EHCI enabled but likely don't need it anyway. I don't think > anything I have is USB3 based on what folks are posting here. EHCI is USB2, if you disable that and OHCI, it's no surprise that your USB doesn't work. You should be OK with just EHCI (and XHCI if you have USB3 but that doesn't appear to be the case). -- Neil Bothwick Sleep is an excellent way of listening to an opera. - James Stephens (1882-1950) signature.asc Description: PGP signature
Re: [gentoo-user] Network failed and weird error message
On Sun, 06 Oct 2013 19:11:26 -0500, Dale wrote: > I looked at those. They have no color at all. It's just metal on > mine. I've had them for a while so I suspect they are USB2. Just a > thought tho. They could be USB1 for all I know. They are USB2. If they're not blue, they're not USB3 and USB1 would be unusable for mass storage. It's only suitable for low bandwidth stuff like keyboards. -- Neil Bothwick Why do they call it a TV set when you only get one? signature.asc Description: PGP signature
Re: [gentoo-user] virt-manager and ssh
Am 03.10.2013 15:39, schrieb Michael Hampicke: > Server side: > > [ebuild R ~] app-emulation/libvirt-1.1.2-r3 USE="caps libvirtd > lvm macvtap nls numa python qemu udev vepa virt-network -audit > -avahi -firewalld -fuse -iscsi -lxc -nfs -openvz -parted -pcap > -phyp -policykit -rbd -sasl (-selinux) -systemd -uml -virtualbox > -xen" PYTHON_SINGLE_TARGET="python2_7 -python2_6" > PYTHON_TARGETS="python2_7 -python2_6" 0 kB > > I connect via ssh+pubkey Would you mind sharing your libvirtd.conf as well? Did you add a separate user/group for libvirtd on the server side? Thanks!
[gentoo-user] Re: Unable to catch kernel crash dump
>> I've been getting a kernel oops for awhile that is worse than ever in >> 3.11.1. It seems to be related to my XHCI USB port. I followed the >> instructions here: >> >> http://wiki.gentoo.org/wiki/Kernel_Crash_Dumps >> >> but /proc/vmcore doesn't exist after I reboot the system after a >> crash. I did notice that I was getting a lot of white text dumped to >> the screen against a black background before I followed the >> instructions in the wiki, but after following them the screen just >> freezes when it crashes. >> >> Does anyone know what I might be doing wrong or how to find out? > > I've discovered that the crash kernel should automatically boot after > a crash and that is not happening. Any idea what could be preventing > it? Does the following document look up to date and valid? > > http://wiki.gentoo.org/wiki/Kernel_Crash_Dumps > > - Grant It turns out the crashkernel itself crashes when I have the Mini DisplayPort connected. I've filed a bug: https://bugzilla.kernel.org/show_bug.cgi?id=62671 - Grant
[gentoo-user] Re: separate / and /usr to require initramfs 2013-11-01
Gregory Shearman gmail.com> writes: > Both servers are running Gentoo Stable... therefore current kernels (for > their architecture). Both have external HDD attached via USB. Hey Greg, If you just "reply" to the thread, we can keep one continuous thread going in lieu of a new posting each time. Let's just look at the Panda board. I have a first rev panda to experiment with. So a HDD via USB 2.0? fast enough for a Postgrsql database? A bit more on the HDD setup (hardware) would be keen. Did you ever try to run this on a straight USB stick and not the performance difference? > File systems: root filesystem is on an SDHC card (2nd partition). Other > filesystems (except for the boot partition) are all on LVM. I have > /usr/src, /usr/portage, /usr/portage/distfiles is a symlink to > /var/www/localhost/gentoo/distfiles (another filesystem). I also have > /var/tmp/portage on a separate filesystem and I also run a postgresql > database server which also has its own partition on > /var/lib/postgresql/≤version>. Both servers have the same setup as I'm > currently in the process of replacing the sheevaplug with the panda. Postgresql on a separate partition, nice idea. Do you aggresively manage the PG server or is it just a recreational (light duty) usage? > > Grub? There's no such thing on ARM machines. The kernel or uImage looks > for the first partition on the configured root device (SDHC on my > systems) the first partition MUST be VFAT (unfortunately) and it > contains the u-boot bootloader and the kernel (uImage). https://wiki.linaro.org/LEG/Engineering/Grub2 https://wiki.linaro.org/LEG/Engineering/Kernel/ACPI/AcpiOnArndaleUefi > Kernels are built the same way as x86 kernels except you do > "make uImage" instead of "make bzImage". You Compile the kernels on a x86 host or compile them directly on the Arm chip? Then you put new kernels on the SD and swap those out to test/use newer kernels on the Arm systems? > LVM? All the above filesystems, except the root partition and the boot > partition are LVM volumes. Filesystems are mostly Ext4 (very > conventional). What, no ZFS.? Wait till Alan heards about this. Grub2 on ARM will allow many new file systems, and that is the key issue with robust Arm servers, right now, imho. > > Typical usage? > Print server, database server, backups, webserver - which > includes serving gentoo portage and distfiles to other machines > on the network (THTTPD is a great minimal web server). > > Any suggestions on setting up ARM servers, cluster, > > and such are most welcome. > ARM servers aren't much different to other servers but you must realise > that these are low powered devices (the ones I run anyway) and aren't > really suited to large loads. They especially suit a small business or > home hobbyist environment. Even so, compiling Gentoo, especially on the > Panda is not a problem and doesn't take forever (except for gcc > updates ). What does your make.conf look like on the panda? > I suppose you could cluster a number of these devices but I think it > would be more efficient to use a more powerful server running servers as > virtual machines. No BTRFS or CEPH? (just teasing, but seriously) http://armservers.com/tag/ceph/ http://www.inktank.com/calxeda/ I posted previously on some Arm (A15) based systems, you may want to look at for your next arm server, recently. Many have SATA 3 interfaces. If you look at the ARM installation (handbook) docs, it is need of a re_vamping. I'm certain that folks would appreciate your participation in the modernization of the ARM handbook, via the Gentoo wiki. The Gentoo wiki is your (ARM) friend I'm very happy, you are sharing your (ARM) gentoo experiences herein. James
Re: [gentoo-user] Network failed and weird error message
Neil Bothwick wrote: > On Sun, 06 Oct 2013 19:28:01 -0500, Dale wrote: > >> The original config had OHCI enabled. My mobo doesn't need UHCI. I >> didn't have EHCI enabled but likely don't need it anyway. I don't think >> anything I have is USB3 based on what folks are posting here. > EHCI is USB2, if you disable that and OHCI, it's no surprise that your > USB doesn't work. You should be OK with just EHCI (and XHCI if you have > USB3 but that doesn't appear to be the case). > > I may have typed that in wrong. To much *HCI stuff. I had USB1 and USB2 stuff enabled. I didn't have USB3 stuff enabled tho. I turned it on while I was in there, just in case I do ever need it. Turning off the USB1 stuff stopped my UPS from being seen at all. I posted another reply with more info on how I got rid of this error tho. Of course, that means the UPS can't talk to the puter either. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: [gentoo-user] virt-manager and ssh
Am 07.10.2013 11:29, schrieb Stefan G. Weichinger: > Am 03.10.2013 15:39, schrieb Michael Hampicke: > >> Server side: >> >> [ebuild R ~] app-emulation/libvirt-1.1.2-r3 USE="caps libvirtd >> lvm macvtap nls numa python qemu udev vepa virt-network -audit >> -avahi -firewalld -fuse -iscsi -lxc -nfs -openvz -parted -pcap >> -phyp -policykit -rbd -sasl (-selinux) -systemd -uml -virtualbox >> -xen" PYTHON_SINGLE_TARGET="python2_7 -python2_6" >> PYTHON_TARGETS="python2_7 -python2_6" 0 kB >> >> I connect via ssh+pubkey > > Would you mind sharing your libvirtd.conf as well? > Did you add a separate user/group for libvirtd on the server side? > > Thanks! > > Hi Stefan, I did not change my libvirtd.conf There are no options set there, only comments. # egrep -i 'qemu|kvm|libvirt' /etc/passwd /etc/group /etc/passwd:qemu:x:77:77:added by portage for libvirt:/dev/null:/sbin/nologin /etc/group:kvm:x:78:qemu /etc/group:qemu:x:77: Once I had a problem with libvirt too. I remember that there was some debug option. When enabled you could see what libvirt was doing exactly. But I don't remeber where that options was. Maybe it was some enviroment variable that you had to set? Something like DEBUGOPTIONS="whatever" virsh your commands and DEBUGOPTIONS="whatever" libvirt --option-to-not-fork-in-background I don't have the man page handy right now. HTH signature.asc Description: OpenPGP digital signature
[gentoo-user] re: NX (Execute Disable) protection cannot be enabled: non-PAE kernel! [dmesg]
Is the message below I should do something about? box0=; dmesg|grep -i PAE [0.00] Notice: NX (Execute Disable) protection cannot be enabled: non-PAE kernel! My CPU seems to have support for it. box0=; grep pae /proc/cpuinfo flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm dtherm flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm dtherm But not my kernel, as far as I can tell. box0=; uname -a Linux box0 3.10.7-gentoo-r1 #1 SMP Sat Oct 5 23:57:58 EEST 2013 i686 Intel(R) Pentium(R) Dual CPU T3400 @ 2.16GHz GenuineIntel GNU/Linux box0=; grep -i pae .config box0=; echo $? 1 Thanks.
Re: [gentoo-user] re: automounting removable drives
On 10/07/2013 08:08 AM, Samuli Suominen wrote: > On 07/10/13 00:01, Frank Steinmetzger wrote: >> On Sun, Oct 06, 2013 at 07:01:09PM +0300, Alexander Kapshuk wrote: >>> I want to be able auto-mount removable drives. I'm running xfce: >>> box0=; equery list xfce-base/xfce4-meta >>> * Searching for xfce4-meta in xfce-base ... >>> [IP-] [ ] xfce-base/xfce4-meta-4.10:0 >>> >>> and kernel: >>> box0=; uname -a >>> Linux box0 3.10.7-gentoo-r1 #1 SMP Sat Oct 5 23:57:58 EEST 2013 i686 >>> Intel(R) Pentium(R) Dual CPU T3400 @ 2.16GHz GenuineIntel GNU/Linux >>> >>> Is udisks the only avenue available to me, as shown here?: >>> http://wiki.gentoo.org/wiki/Udisks >> >> I only use XFCE very sporadically, but I remember missing that feature >> at first, too. IIRC, you lack xfce-extra/xfce4-mount-plugin which is not >> part of the basic meta installation. >> > > wrong. xfce4-mount-plugin is a plug-in to define manual mount points > and do manual mounting. > Thanks for your responses. I'm sorry I forgot to mention that I do have xfce4-mount-plugin installed. box0=; equery list '*xfce*'|grep mount xfce-extra/xfce4-mount-plugin-0.6.4 But I still can't auto-mount my removable drives. So I thought that perhaps some further configuration had to be done. That question still remains, how do I do it? Thanks.
Re: [gentoo-user] virt-manager and ssh
Am 07.10.2013 19:24, schrieb Michael Hampicke: > Am 07.10.2013 11:29, schrieb Stefan G. Weichinger: >> Am 03.10.2013 15:39, schrieb Michael Hampicke: >> >>> Server side: >>> >>> [ebuild R ~] app-emulation/libvirt-1.1.2-r3 USE="caps >>> libvirtd lvm macvtap nls numa python qemu udev vepa >>> virt-network -audit -avahi -firewalld -fuse -iscsi -lxc -nfs >>> -openvz -parted -pcap -phyp -policykit -rbd -sasl (-selinux) >>> -systemd -uml -virtualbox -xen" PYTHON_SINGLE_TARGET="python2_7 >>> -python2_6" PYTHON_TARGETS="python2_7 -python2_6" 0 kB >>> >>> I connect via ssh+pubkey >> >> Would you mind sharing your libvirtd.conf as well? Did you add a >> separate user/group for libvirtd on the server side? >> >> Thanks! >> >> > > Hi Stefan, I did not change my libvirtd.conf There are no options > set there, only comments. > > # egrep -i 'qemu|kvm|libvirt' /etc/passwd /etc/group > /etc/passwd:qemu:x:77:77:added by portage for > libvirt:/dev/null:/sbin/nologin /etc/group:kvm:x:78:qemu > /etc/group:qemu:x:77: > > > Once I had a problem with libvirt too. I remember that there was > some debug option. When enabled you could see what libvirt was > doing exactly. But I don't remeber where that options was. Maybe it > was some enviroment variable that you had to set? Something like > > DEBUGOPTIONS="whatever" virsh your commands > > and > > DEBUGOPTIONS="whatever" libvirt --option-to-not-fork-in-background > > I don't have the man page handy right now. HTH Thanks for your reply ... I will check tomorrow when I am back at my office (the IPSEC-VPN is locked to my static IP etc etc). You use an URI like qemu+ssh://server ? I read about transports: http://libvirt.org/remote.html#Remote_transports and libvirtd is definitely running at the remote host. I somehow suspect that systemd does *something* to the used sockets ... dunno. Regards, Stefan
Re: [gentoo-user] re: automounting removable drives
On 10/07/2013 11:36 PM, Alexander Kapshuk wrote: > Thanks for your responses. I'm sorry I forgot to mention that I do have > xfce4-mount-plugin installed. > > box0=; equery list '*xfce*'|grep mount > xfce-extra/xfce4-mount-plugin-0.6.4 > > But I still can't auto-mount my removable drives. So I thought that > perhaps some further configuration had to be done. That question still > remains, how do I do it? > > Thanks. > hi, you need to emerge just one package: xfce-extra/thunar-volman (it may pull some dependencies); it does what you asked for victor
[gentoo-user] Re: separate / and /usr to require initramfs 2013-11-01
On 09/29/2013 04:58 AM, Volker Armin Hemmann wrote: > As much as I hate systemd My Alzheimer's prevents me from remembering your reasons for hating systemd. Would you *very* briefly refresh my memory, please?
[gentoo-user] Akonadi failing to start Postgres on ~arch
I run KDE 4.11.1 and Akonadi against Postgres rather than MySQL (USE="-mysql postgres" in make.conf) on ~amd64 (hardened if that matters). Recently I've noticed that akonadi is failing to start postgres at all. xsession-errors (attached is from the first start of a new user) contains: > Database process exited unexpectedly during initial connection! > executable: "/usr/bin/pg_ctl" > arguments: ("-w", "-t10", "start", > "-D/home/poke/.local/share/akonadi/db_data") > stdout: "waiting for server to startFATAL: could not create lock file > "/run/postgresql/.s.PGSQL.5432.lock": Permission denied > stopped waiting > " > stderr: "pg_ctl: could not start server > Examine the log output. > " > exit code: 1 > process error: "Process operation timed out" > "[ > 0: akonadiserver(_Z11akBacktracev+0x4a) [0x7b9a4a01a] > ...and so on and akonadiserver is tried several more times before: > ProcessControl: Application 'akonadiserver' returned with exit code 255 > (Unknown error) > "akonadiserver" crashed too often and will not be restarted! The permissions for /run/postgresql are: > drwxrwxr-x 2 postgres postgres 40 Oct 7 20:00 /run/postgresql I'm running: > $ emerge -pv1 akonadi-server postgresql-{base,server} > > [ebuild R] dev-db/postgresql-base-9.3.0-r1:9.3 USE="kerberos nls pam > readline ssl threads zlib -doc -ldap -pg_legacytimestamp -python" LINGUAS="en > -af -cs -de -es -fa -fr -hr -hu -it -ko -nb -pl -pt_BR -ro -ru -sk -sl -sv > -tr -zh_CN -zh_TW" PYTHON_SINGLE_TARGET="python2_7 -python2_6 -python3_2 > -python3_3" PYTHON_TARGETS="python2_7 python3_2 -python2_6 -python3_3" 0 kB > [ebuild R] dev-db/postgresql-server-9.3.0-r1:9.3 USE="nls pam xml -doc > -kerberos -perl -pg_legacytimestamp -python (-selinux) -tcl {-test} -uuid" > LINGUAS="en -af -cs -de -es -fa -fr -hr -hu -it -ko -nb -pl -pt_BR -ro -ru > -sk -sl -sv -tr -zh_CN -zh_TW" PYTHON_SINGLE_TARGET="python2_7 -python2_6 > -python3_2 -python3_3" PYTHON_TARGETS="python2_7 python3_2 -python2_6 > -python3_3" 0 kB > [ebuild R] app-office/akonadi-server-1.10.2-r1 USE="postgres qt4 > -mysql (-qt5) -sqlite {-test}" 0 kB What is going on here? Should Akonadi be using a lockfile within $HOME, or are /run/postgresql permissions wrong? I don't see this reported on b.g.o or upstream, but several KDE bugs (#303740, #286826) speak of a lockfile in $HOME/.local/share/akonadi/socket-$USER/. This directory is empty for me with KDE running. Any suggestions are appreciated! Thanks, Khumba xsession-errors Description: Binary data