[gentoo-user] Plasma6+wayland+chromium+teams screen share how to?
Hi there, After applying the recent world updates including a full switch to kde6/ plasma6+wayland, I see that microsoft teams as web-application (PWA) running in chromium does not allow sharing screen or windows anymore. The dialog opening keeps empty, nothing to share. Do I need the screen cast use flag for this set in chromium? (Under X11 it worked fine without) Is this a permission problem (chromium not allowed to read other window's content)? Is there any documentation describing how to get it working? Thanks in advance Alex
[gentoo-user] Plasma6 audio volume keys no longer working
Hi there, After recent update world, my laptop upgraded from kde5/plasma5/x11 to kde6/ plasma6/wayland. Now I have a very strange behavior of the volume+/- and mute button. When being logged in, those keys have no effect (ignored), but mic-mute button works as it should. The behavior gets more weird, because all of the keys work perfectly when the session is locked (e.g. after wakeup from suspend, when I have to enter the password go unlock). This means, that the keys themselves, and the proper handling in drivers and evdev and forwarding to some application works, but something in plasma6 goes wrong. I checked bindings of the keys, when trying to rebind Volume+ or Volume- to their respective keys, it says that that they are already bound to that key. Any ideas? --- Relevant software information --- Kde-plasma/plasma-meta-6.1.5 Kde-frameworks 6.6.0 + 5.116.0 (Both slots installed) Qt 6.7.2 + 6.15.14 (Both slots installed) dev-libs/wayland-1.23.1
Re: [gentoo-user] [SOLVED] Uefi + uki stuck while booting (/dev/gpt-auto-root)
On Sonntag, 16. Juni 2024, 12:59:54 CEST Michael wrote: > I'm not the right person to comment reliably on this, because I don't use > systemd and do not use LVM, but until someone else chimes in I'll give it a > go ... :-) > I found the solution for my specific setup (lvm+luks+secureboot: installkernel: USE+=uki ukify Systemd: USE += secureboot cryptsetup boot ukify This implies that installkernel is using dracut for creating an initrd and systemd's uki-generator for creating the efi file. Systemd's uki generator is configured in /etc/kernel/uki.conf: [UKI] SecureBootSigningTool=sbsign SecureBootPrivateKey="/usr/share/secureboot/keys/db/db.key" SecureBootCertificate="/usr/share/secureboot/keys/db/db.pem" Cmdline=dolvm rd.luks.uuid=luks- root=/dev/mapper/ rd.luks.options=discard Where is the patition uuid of the encrypted lvm container and the real root inside the contianer (/dev/mapper/). The dolvm instructs initrd to trigger the lvm discovery, rd.luks.uuid being defined tells it to use cryptsetup luksOpen on the specified device. rd.luks.options=discard is optional and enables pass-through of ssd trim commands through the lvm layer to the real nvme-ssd. The relevant information I was looking for is the Cmdline arguement in uki.conf. Best Regards Alex > On Sunday, 16 June 2024 09:04:26 BST Alexander Puchmayr wrote: > > Hi there, > > > > I just tried to prepare my new laptop for UFEI+secureboot by creating a > > single unified kernel image including kernel,initrd,microcode,etc. > > NB: The partition layout has a vfat/Efi partition and a luks encrypted lvm > > container holding SYS(Root), Data(home) and swap. > > > > I added uki and ukify use flags to installkernel and systemd, checked the > > configuration again and configured the kernel by emerge --config > > sys-kernel/ gentoo-kernel. > > > > Bulding the kernel image seems to work fine, the log messages say its > > creating a initrd using dracut, creating a efi file, signing it properly > > and even installs it under /boot/efi/EFI/Linux. > > Why is the ESP mounted under /boot/efi, instead of /efi? > > https://wiki.gentoo.org/wiki/EFI_System_Partition#Mount_point > > > When booting it, it loads the kernel and then seems to get stuck: > > > > Timed out waiting for device /dev/gpt-auto-root > > Dependency failed for File System Check in /dev/gpt-auto-root > > Dependency failed for Root Partition > > Dependency failed for Initrd Root File System > > Dependency failed for Initrd Mountpoints Configured in the Real Root > > Dependency failed for Initrd Root Device > > The gpt-auto-root is a script which tries to automatically detect and mount > the root fs. Did you create your partition(s) with GPT and did you select > the correct partition type "Linux Root (x86-64)" to make sure the partition > GUID code for LUKS is correct according to the Discoverable Partitions > Specification? If you used fdisk, you'll probably need to add the partition > type GUID code manually, as advised in the Handbook. Press -i in fdisk to > find out what it currently is set as. > > > Then it ends up in an emergency shell. > > > > There's a log in /run/initramfs/rdsosreport.txt, which reveals that it > > does > > not find my encrypted lvm partition (LUKS encrypted lvm container holding > > SYS, DATA, SWAP, etc), which obviously needs to be setup first. Seems like > > some boot parameter is missing. > > Did you configure dracut to include the necessary modules and to add the > corresponding LUKS and LVM UUIDs? > > https://wiki.gentoo.org/wiki/ > Full_Disk_Encryption_From_Scratch#Initramfs_configuration > > > Checking systemd's USE flags: Relevant flags lvm + cryptsetup + boot + > > secureboot use flags are set > > > > To me it looks like as if its missing information which partition to use > > for decrypting/mounting, and which lvm volume to use as real-root. > > > > Is this a dracut configuration? A systemd configruation? An installkernel > > configuration? Something else? > > > > Thanks > > > > Alex > > I think this is a dracut configuration issue, because systemd's 'kernel- > install' setup is relatively straight forward: > > https://wiki.gentoo.org/wiki/Installkernel#Systemd_kernel-install_.28USE.3D. > 2Bsystemd.29 > > If the problem is with dracut as I suspect, you may find 'sys-kernel/ugrd' > easier than dracut for your type of installation, but dracut should work too > if correctly configured. > > HTH.
[gentoo-user] Uefi + uki stuck while booting (/dev/gpt-auto-root)
Hi there, I just tried to prepare my new laptop for UFEI+secureboot by creating a single unified kernel image including kernel,initrd,microcode,etc. NB: The partition layout has a vfat/Efi partition and a luks encrypted lvm container holding SYS(Root), Data(home) and swap. I added uki and ukify use flags to installkernel and systemd, checked the configuration again and configured the kernel by emerge --config sys-kernel/ gentoo-kernel. Bulding the kernel image seems to work fine, the log messages say its creating a initrd using dracut, creating a efi file, signing it properly and even installs it under /boot/efi/EFI/Linux. When booting it, it loads the kernel and then seems to get stuck: Timed out waiting for device /dev/gpt-auto-root Dependency failed for File System Check in /dev/gpt-auto-root Dependency failed for Root Partition Dependency failed for Initrd Root File System Dependency failed for Initrd Mountpoints Configured in the Real Root Dependency failed for Initrd Root Device Then it ends up in an emergency shell. There's a log in /run/initramfs/rdsosreport.txt, which reveals that it does not find my encrypted lvm partition (LUKS encrypted lvm container holding SYS, DATA, SWAP, etc), which obviously needs to be setup first. Seems like some boot parameter is missing. Checking systemd's USE flags: Relevant flags lvm + cryptsetup + boot + secureboot use flags are set To me it looks like as if its missing information which partition to use for decrypting/mounting, and which lvm volume to use as real-root. Is this a dracut configuration? A systemd configruation? An installkernel configuration? Something else? Thanks Alex
Re: [gentoo-user] After Update grub does not work anymore
Thanks for the hints. Indeed, I didn't read the news regarding grub. Booting from a rescue system and running grub-install followed by a grub- mkconfig solved the problem. Although I do not fully understand why this happend. AFIAK, installing/ updating grub does not update files in /boot nor /boot/efi. And grub-mkconfig only updates /boot/grub/grub.cfg. And the other files from the grub package are inside an encrypted system disk, which grub cannot access without getting the pass phrase. So, why do the EFI files suddenly stop working without having been changed? Thanks Alex On Freitag, 29. März 2024, 12:00:24 CET hitachi303 wrote: > Am 29.03.24 um 11:55 schrieb Alexander Puchmayr: > > Hi, > > > > After upgrading two Lenovo Laptops (UEFI, secure boot disabled), grub does > > not work anymore; instead it says "Welcome to Grub" ... And then > > immediately boots into bios setup. > > > > What did go wrong? > > I did the usual things: > > * emerge update world > > * emerge --config gentoo-kernel > > * grub-mkconfig -o /boot/grub/grub.cfg > > > > Everything went fine without errors, but then the final reboot, only bios > > setup. And these steps do not alter the efi boot loaders > > > > Any ideas? How to get out of this? > > > > Alex > > Hi, > > die you follow the announcement about grub? eselect news read > > 2024-02-01-grub-upgrades >Title GRUB upgrades >AuthorMike Gilbert >Posted2024-02-01 >Revision 2 > > When booting with GRUB, it is important that the core image and modules > have matching versions. Usually, running grub-install is sufficient to > ensure this. > > On the UEFI platform, grub-install allows the core image to be placed in > two different locations: > > EFI/gentoo/grubx64.efi > This is the location used by grub-install without options. > > EFI/BOOT/BOOTX64.EFI > This is the location used by grub-install --removable. > > On upgrades, it is common for users to mismatch the grub-install options > they used for the current and previous versions of grub. This will cause > a stale core image to exist. For example: > > /boot/efi/EFI/BOOT/BOOTX64.EFI (grub 2.06 core image) > /boot/efi/EFI/gentoo/grubx64.efi (grub 2.12 core image) > /boot/grub/x86_64-efi/*.mod (grub 2.12 modules) > > Booting this system using BOOTX64.EFI image would likely fail due to a > symbol mismatch between the core image and modules. [1] > > Re-runing grub-install both with and without the --removable option > should ensure a working GRUB installation. > > However, this will clobber any BOOTX64.EFI image provided by other > loaders. If dual-booting using another boot loader, users must take care > not to replace BOOTX64.EFI if it is not provided by GRUB. > > References: > [1] https://bugs.gentoo.org/920708
[gentoo-user] After Update grub does not work anymore
Hi, After upgrading two Lenovo Laptops (UEFI, secure boot disabled), grub does not work anymore; instead it says "Welcome to Grub" ... And then immediately boots into bios setup. What did go wrong? I did the usual things: * emerge update world * emerge --config gentoo-kernel * grub-mkconfig -o /boot/grub/grub.cfg Everything went fine without errors, but then the final reboot, only bios setup. And these steps do not alter the efi boot loaders Any ideas? How to get out of this? Alex
Re: [gentoo-user] CPU ISA level is lower than required
Hi there, Unfortunately this still did not help. I repeat my original question: Q: The binary (e.g. /usr/bin/bzip2) obviously "knows" what it requires. How do I find out what this is? Neither ldd, ld.so or the like seem to give me this information. BR Alex On Sonntag, 3. März 2024, 18:45:16 CET Alexander Puchmayr wrote: > Am Sonntag, 3. März 2024, 14:32:41 CET schrieb Andreas K. Huettel: > > > I set CFLAGS="-O2 -pipe march=x86-64-v2" on the buildhost and performed > > > a > > > emerge -ev @world, re-creating all packages in binary form. > > > > > > My expectation was that these packages would work on the target > > > platform, > > > but they don't. Error message "CPU ISA level is lower than required". > > > > Quiz question: did you rebuild your toolchain *before* or *after* bzip2? > > > > Suspicion without proof, the startup code embedded by gcc and glibc may > > well be affected by the microarchitecture level. As may be libraries > > statically linked in... > > > > The safer way would be to run emerge -ev world, and afterwards build the > > packages with a second emerge -ev world ... > > Indeed, that seems to be the problem. I remember, my first try was with -v3 > (as my buildhost supported this), and, after discovering the "surprise" on > the target machine, started the emerge -ev @world. Likely, glibc was not > the first package, so there are an unknown number of packets that have the > problem. > > I started to recompile the "usual suspects", like bzip2 and xz, which made > it a bit better, but still the emerge -uavDNk @world did not succeed. > > Now I'm doing again a emerge -ev @world on my buildhost again, so tomorrow > it should be solved. > > Thanks for the hint > Alex
Re: [gentoo-user] CPU ISA level is lower than required
Am Sonntag, 3. März 2024, 14:32:41 CET schrieb Andreas K. Huettel: > > I set CFLAGS="-O2 -pipe march=x86-64-v2" on the buildhost and performed a > > emerge -ev @world, re-creating all packages in binary form. > > > > My expectation was that these packages would work on the target platform, > > but they don't. Error message "CPU ISA level is lower than required". > > Quiz question: did you rebuild your toolchain *before* or *after* bzip2? > > Suspicion without proof, the startup code embedded by gcc and glibc may well > be affected by the microarchitecture level. As may be libraries statically > linked in... > > The safer way would be to run emerge -ev world, and afterwards build the > packages with a second emerge -ev world ... Indeed, that seems to be the problem. I remember, my first try was with -v3 (as my buildhost supported this), and, after discovering the "surprise" on the target machine, started the emerge -ev @world. Likely, glibc was not the first package, so there are an unknown number of packets that have the problem. I started to recompile the "usual suspects", like bzip2 and xz, which made it a bit better, but still the emerge -uavDNk @world did not succeed. Now I'm doing again a emerge -ev @world on my buildhost again, so tomorrow it should be solved. Thanks for the hint Alex
[gentoo-user] CPU ISA level is lower than required
Hi, I tried to tweak some settings regarding CFLAGS="march=x86-64-v2" on my buildhost and then install the binary packages on the target machines. Buildhost: AMD Ryzen 7 2700; ld.so --help says: Subdirectories of glibc-hwcaps directories, in priority order: x86-64-v4 x86-64-v3 (supported, searched) x86-64-v2 (supported, searched) Target platform: AMD A8-5500; ld.so --help says Subdirectories of glibc-hwcaps directories, in priority order: x86-64-v4 x86-64-v3 x86-64-v2 (supported, searched) I set CFLAGS="-O2 -pipe march=x86-64-v2" on the buildhost and performed a emerge -ev @world, re-creating all packages in binary form. My expectation was that these packages would work on the target platform, but they don't. Error message "CPU ISA level is lower than required". Q: The binary (e.g. /usr/bin/bzip2) obviously "knows" what it requires. How do I find out what this is? Neither ldd, ld.so or the like seem to give me this information. Q: Does the xpak format encode those requirements in any way, if so , how can I read them? Q: Can I compile binary packages with multiple ISA sets and let portage on the target machine decide which sub-package to use depending on capabilities of the target CPU?
[gentoo-user] Media-sound/strawberry and external mass storage devices
Hi there, I installed strawberry on two systems: My desktop and my laptop computer; While my desktop shows all attached USB mass storage media in stawberry's device tab, the laptop's device tab stays empty, no matter what I connect or in which order (start strawberry first, then insert USB stick or the other way round). Mounting and accessing the devices in KDE/Dolphin works fine, they immediately appear in plasma's removable device widget, I can open and use them as usual. However, when starting strawberry on command line with option --version, I see some differences: 10:11:33.916 INFO DeviceManager:450Device added: "Gio//f2fs/ 29868666880" ("Gio//f2fs/29868666880") 10:11:33.917 INFO DeviceManager:450Device added: "Udisks2/ AA5YSPHZ0QR09UDC/Corsair/Voyager 3.0/30408704000/5ca996d4-0070-4196-865c- d5c8f32c59eb" Those lines are only shown on the desktop PC (the one that shows the devices in the device tab), the laptop shows no single DeviceManager message. Does anyone have an idea what prevents Strawberry's device manager from showing/scanning devices? Thanks Alex
[gentoo-user] Gentoo-kernel 6.6 -- how to install?
Hi there, Since now kernel 6.6 is stable, installation procedure seems to have changed. I used to install it by emerge --config gentoo-kernel grub-mkconfig -o /boot/grub/grub.cfg But grub does not find the kernel, since it is not installed in /boot's root but in some uuid named sub directory. Eselect news says for grub users, nothing changes, but actually it does not work. So how is this now supposed to work? Best regards Alex
Re: [gentoo-user] Kmail does not show all imap folders
On Montag, 22. Jänner 2024, 10:48:02 CET Michael wrote: > In Kmail make sure you have subscribed on the server folders you want Kmail > to show. Right-click on the top folder and select 'Serverside > Subscription' to show the tree of folders on the server. Indeed, that was missing. I only looked at "local subscriptions", not server side subscriptions. Now folders are shown :-) Thanks a lot Alex
[gentoo-user] Kmail does not show all imap folders
Hi there, I'm using dovecot as imap server, some sieve scripts sorting incoming mails into a folder structure and kmail on multiple different machines as client. The folder structure on the server looks fine, I can access the folders via command line and I don't see anything obviously wrong. Some of those target folders are not shown on all machines, they are simply ignored; Unfortunately these folders contain important mails which I need to react to (which is bad if I do not see them on my main machine, only in some test VM). I checked folder subscriptions in kmail, but I do not see the missing folders there either. Also akonadi-console does not show them. I also tried curl imaps:/// Showing all of the missing folders, so I think its an akonadi/kmail problem and not an imap problem. Any ideas? BR Alex Kde-apps/kmail-23.08.3 Kde-frameworks/kjobwidgets-5.112.0 kde-apps/akonadi-23.08.3-r1
Re: [gentoo-user] After upgrade no login screen anymore
On Samstag, 11. März 2023, 13:03:41 CET Alexander Puchmayr wrote: > Hi there, > > After having done a world update, neither sddm nor lightdm do start an > Xserver anymore. The X server itself runs fine, I can start it from the > console and I after setting DISPLAY properly can even start programs using > it, but the login managers do not start X for some reason. > > No hint so far in the logs, and no ideas where I should looking. > > The system is running inside a virtualbox VM, with Win10 as host operating > system. > Its even getting more strange, the very same image copied from the windows laptop to a linux box and started with kvm/libvirt works fine, but in windows/ virtualbox it doesn't. Now I have two completely identical systems which only differn in the hypervisor they're started with, named "virtualbox" and "libvirt". On both systems, I start lightdm from the command line with -d option, and compare the results. Intrestingly the "libvirt" system writes "New seat added from logind: seat0", the "virtualbox" system does not, which seems to be the relevant difference (see log output below) Further, I found the following command in another forum: Gdbus introspect --system --dest org.freedesktop.login1 --object-path /org/ freedesktop/login1/seat/seat0 And the relevant difference here is in the org.freedesktop.login1.Seat properties section ... readonly b CanGraphical = false; ... on virtualbox. The same command on "libvirt" machine shows "true" here. So, what is required for a login seat to be treated as "graphical"? Thanks Alex [virtualbox] # lightdm -d [+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log [+0.00s] DEBUG: Starting Light Display Manager 1.32.0, UID=0 PID=867 [+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/ lightdm.conf.d [+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/ lightdm.conf.d [+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d [+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf [+0.00s] DEBUG: Registered seat module local [+0.00s] DEBUG: Registered seat module xremote [+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager [+0.01s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? [+0.01s] DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) [+0.02s] DEBUG: Monitoring logind for seats [+0.02s] DEBUG: Acquired bus name org.freedesktop.DisplayManager [+0.02s] DEBUG: Could not run plymouth --ping: Failed to execute child process ?plymouth? (No such file or directory) [+0.02s] DEBUG: Loading users from org.freedesktop.Accounts [+0.02s] DEBUG: User /org/freedesktop/Accounts/User2001 added [+0.02s] DEBUG: User /org/freedesktop/Accounts/User1001 added [+0.09s] DEBUG: User /org/freedesktop/Accounts/User2002 added ...waiting for ctrl-C and no login screen ... [libvirt] # lightdm -d [+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log [+0.00s] DEBUG: Starting Light Display Manager 1.32.0, UID=0 PID=793 [+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/ lightdm.conf.d [+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/ lightdm.conf.d [+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d [+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf [+0.00s] DEBUG: Registered seat module local [+0.00s] DEBUG: Registered seat module xremote [+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager [+0.00s] DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) [+0.00s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? [+0.01s] DEBUG: Monitoring logind for seats [+0.01s] DEBUG: New seat added from logind: seat0 [+0.01s] DEBUG: Seat seat0: Loading properties from config section Seat:* [+0.01s] DEBUG: Seat seat0 has property CanMultiSession=no [+0.01s] DEBUG: Seat seat0: Starting [+0.01s] DEBUG: Seat seat0: Creating greeter session [+0.01s] DEBUG: Seat seat0: Creating display server of type x [+0.01s] DEBUG: Could not run plymouth --ping: Failed to execute child process ?plymouth? (No such file or directory) [+0.01s] DEBUG: Using VT 7 [+0.01s] DEBUG: Seat seat0: Starting local X display on VT 7 [+0.01s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log [+0.01s] DEBUG: XServer 0: Writing X server authority to /var/run/lightdm/ root/:0 [+0.01s] DEBUG: XServer 0: Launching X Server [+0.01s] DEBUG: Launching process 799: /usr/bin/X :0 -seat seat0 -auth /var/ run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch [+0.01s] DEBUG: XServer 0: Waiting for ready signal from X server :0 [+0.01s] DEBUG: Acquired bus name org.freedesktop.DisplayManager [+0.01s] DEBUG: Registering seat w
Re: [gentoo-user] After upgrade no login screen anymore
Am Samstag, 11. März 2023, 16:21:01 CET schrieb netfab: > In lightdm.conf, try to set : > > logind-check-graphical=false > > Then restart the service. > > Does this help ? No. Same as before.
Re: [gentoo-user] After upgrade no login screen anymore
On Samstag, 11. März 2023, 13:17:12 CET Michael wrote: > On Saturday, 11 March 2023 12:03:41 GMT Alexander Puchmayr wrote: > > Hi there, > > > > After having done a world update, neither sddm nor lightdm do start an > > Xserver anymore. The X server itself runs fine, I can start it from the > > console and I after setting DISPLAY properly can even start programs using > > it, but the login managers do not start X for some reason. > > > > No hint so far in the logs, and no ideas where I should looking. > > > > The system is running inside a virtualbox VM, with Win10 as host operating > > system. > > > > Any ideas? > > > > Thanks > > > >Alex > > Asking the obvious, but is display-manager service running? Of course. I even tried starting it on the command line with the -d option to see whether I get any useful information. lightdm -d [+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log [+0.00s] DEBUG: Starting Light Display Manager 1.32.0, UID=0 PID=1176 [+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/ lightdm.conf.d [+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/ lightdm.conf.d [+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d [+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf [+0.00s] DEBUG: Using Xephyr for X servers [+0.00s] DEBUG: Registered seat module local [+0.00s] DEBUG: Registered seat module xremote [+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager [+0.00s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? [+0.00s] DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) [+0.01s] DEBUG: Monitoring logind for seats [+0.01s] DEBUG: Acquired bus name org.freedesktop.DisplayManager [+0.01s] DEBUG: Could not run plymouth --ping: Failed to execute child process ?plymouth? (No such file or directory) [+0.02s] DEBUG: Loading users from org.freedesktop.Accounts [+0.02s] DEBUG: User /org/freedesktop/Accounts/User2001 added [+0.02s] DEBUG: User /org/freedesktop/Accounts/User1001 added [+0.09s] DEBUG: User /org/freedesktop/Accounts/User2002 added ^C[+27.38s] DEBUG: Got signal 2 from process 0 [+27.38s] DEBUG: Caught Interrupt signal, shutting down [+27.38s] DEBUG: Stopping display manager [+27.38s] DEBUG: Display manager stopped [+27.38s] DEBUG: Stopping daemon [+27.38s] DEBUG: Exiting with return value 0
[gentoo-user] After upgrade no login screen anymore
Hi there, After having done a world update, neither sddm nor lightdm do start an Xserver anymore. The X server itself runs fine, I can start it from the console and I after setting DISPLAY properly can even start programs using it, but the login managers do not start X for some reason. No hint so far in the logs, and no ideas where I should looking. The system is running inside a virtualbox VM, with Win10 as host operating system. Any ideas? Thanks Alex
Re: [gentoo-user] [SOLVED] Nextcloud-24.0.7 and proxy settings
Hi there, The problem has a rather simple cause and also a simple solution: Nextcloud expects a working DNS server for resolving its own app server, *then* it is using the proxy to access it. After configuring a DNS proxy in my DMZ and ensuring that /etc/resolv.conf on the nextcloud instance is correctly pointing to it, it suddenly works :-) Alex On Sonntag, 19. Februar 2023, 13:17:41 CET Alexander Puchmayr wrote: > Hi there, > > I'm trying to setup a nextcloud instance inside a DMZ that has no direct > connection to the outside world, only via proxy. The proxy itself is working > fine, but I fail to configure nextcloud to actually use this proxy. > > According to the docs, I tried setting the proxy field in config/config.php, > i.e. > > $CONFIG = array ( > ... > 'proxy' => '10.46.1.109:3128', > 'proxyuserpwd' => '', > ... > ); > > But this setting seems to be ignored, tcpdump does not show any connection > attempt to that ip and nextcloud complains that it cannot connect to the > internet. > > In another forum I found that in > /etc/apache2/vhosts.d/10_nextcloud_vhosts.conf, environment variables like > HTTP_PROXY and HTTPS_PROXY may be set, i.e. > > > ... > SetEnv HTTP_PROXY 10.46.1.109:3128 > SetEnv HTTPS_PROXY 10.46.1.109:3128 > ... > > > But this also does not seem to work. > > Any other ideas? > > Thanks > Alex
Re: [gentoo-user] emerge times blown out
Am Samstag, 18. Februar 2023, 01:49:11 CET schrieb Adam Carter: > I have three systems (all ~arch) and the emerge times have blown out on all > of them across all packages. Worst example appears to be; > > Fri Dec 23 13:11:44 2022 >>> net-libs/webkit-gtk-2.38.3-r410 >merge time: 37 minutes and 8 seconds. > > Fri Dec 23 13:43:08 2022 >>> net-libs/webkit-gtk-2.38.3 >merge time: 31 minutes and 24 seconds. > > Sat Feb 4 21:16:40 2023 >>> net-libs/webkit-gtk-2.38.4-r410 >merge time: 6 hours, 53 minutes and 28 seconds. > > Sun Feb 5 04:17:12 2023 >>> net-libs/webkit-gtk-2.38.4 >merge time: 7 hours and 32 seconds. > > Is anyone else seeing this? Could it be that some kind of Spectre mitigation is active? I just read about some massive performance problems in Kernel 5.19+ on Skylake CPUs. Stable gentoo kernel was upgraded to 6.1 recently, which could also be affected by this problem. See https://lkml.iu.edu/hypermail/linux/kernel/2209.1/02248.html Try turning the mitigations off or revert to a 5.15.x kernel. Alex
[gentoo-user] Nextcloud-24.0.7 and proxy settings
Hi there, I'm trying to setup a nextcloud instance inside a DMZ that has no direct connection to the outside world, only via proxy. The proxy itself is working fine, but I fail to configure nextcloud to actually use this proxy. According to the docs, I tried setting the proxy field in config/config.php, i.e. '10.46.1.109:3128', 'proxyuserpwd' => '', ... ); But this setting seems to be ignored, tcpdump does not show any connection attempt to that ip and nextcloud complains that it cannot connect to the internet. In another forum I found that in /etc/apache2/vhosts.d/10_nextcloud_vhosts.conf, environment variables like HTTP_PROXY and HTTPS_PROXY may be set, i.e. ... SetEnv HTTP_PROXY 10.46.1.109:3128 SetEnv HTTPS_PROXY 10.46.1.109:3128 ... But this also does not seem to work. Any other ideas? Thanks Alex
[gentoo-user] How to produce broken binary packages
Hi there, I just encountered a problem regarding binary packages and got some broken packages and I don't know how to solve this permanently; On my buildhost I compile all packages I need for several VMs and install only those packages I really need on the target machines. Problem combination: * net-fs/samba-4.15.12-r2 has a direct dependency to sys-libs/liburing. * dev-db/mariadb does not have a dependency to liburing, but during build, if liburing is available it will use it for some reason yielding a binary that links against it: Buildhost-server ~ # ldd /usr/sbin/mysqld linux-vdso.so.1 (0x7ffec5b61000) libpcre2-8.so.0 => /usr/lib64/libpcre2-8.so.0 (0x7fcfbd704000) libcrypt.so.2 => /lib64/libcrypt.so.2 (0x7fcfbd6c9000) liburing.so.2 => /usr/lib64/liburing.so.2 (0x7fcfbd6c2000) --- Installing that package on a target VM does not install liburing, hence yielding a broken /usr/sbin/mysqld binary because the library is missing, and the reason why I still have a consistent system on my buildhost is because samba has it as dependency. A quick on-the-fly solution is either manually installing liburing and adding it to the world profile (@world is required otherwise emerge -c will remove it again), or install mariadb by compiling it (not using emerge -k). But all of them are somewhat unclean. A) Is this a problem in the ebuild script of mysql because not taking care of this? b) Is this a problem of mariadb's configure/make script because of implicitly using the library without being told so by ebuild? Alex
[gentoo-user] Cryfs error Crashed Deserialization failed - missing nullbyte for string termination
Hi there, I just encountered a weird problem when trying to access my kde-plasma vault. Although I entered the correct password, it refused to open. Journalctl shows Nov 01 18:41:50 zeus kded5[1348]: OUT: "CryFS Version 0.10.3\n\nPassword: \nDeriving encryption key (this can take some time)...done\n" Nov 01 18:41:50 zeus kded5[1348]: ERR: "[2022-11-01 18:41:50.894] [Log] [error] Crashed: Deserialization failed - missing nullbyte for string termination\n" Using cryfs on the command line shows the same thing: alex@zeus ~ $ cryfs .local/share/plasma-vault/Privat.enc Vaults/Privat/ CryFS Version 0.10.3 Password: Deriving encryption key (this can take some time)...done [2022-11-01 18:49:24.052] [Log] [error] Crashed: Deserialization failed - missing nullbyte for string termination Googling this error shows exactly 3 (!) matches, the most useful is assuming a corruption on the file system; so I compared with backup, even more than several months ago. No changes, the files are identical and the backup is OK. Next, I copied the encrypted files from .local/share/plasma-vault to an ubuntu installation (kubuntu-2020-04LTS which uses cryfs 0.10.2 instead of 0.10.3 that gentoo uses) , and there the container opened fine. It looks like as if gentoo's cryfs 0.10.3-r1 cannot open the container, ubuntu's 0.10.2 can. What's wrong with the gentoo version? Any ideas? Thanks in advance
[gentoo-user] Layman adding git over ssh only repository
Hi there, I tried to add a repository which is only reachable via git over ssh; no access via git port (9418 according to /etc/services) or http(s). Only ssh connections with public key are accepted. I tried Layman -o ssh://git@myserver/path/to/repo.git -f -a myrepo, but failed with "invalid url". Then I tried the same with "git://git@..." , also failed. It seems like it does not accept the url scheme and refusing to connect at all. Next thing I tried is to create a repository.xml and put it to the local file system: my-repo My overlay alexander.puchmayr#my-email.com Alexander Puchmayr> git://myserver/path/to/repo.git Layman -o repository.xml -f -a myrepo now tries to fetch it via the git port (9418), failing with timeout. Replacing source type="git" with "ssh", "ssh+git", "git+ssh" also did not succeed. I'm pretty sure not being the first one trying this, but I cannot find any useful information how to do this. So how can I achieve this? Thanks Alex
Re: [gentoo-user] Selective news?
Am Dienstag, 2. August 2022, 01:04:56 CEST schrieb Ramon Fischer: > Take a look in "/etc/pulse/client.conf". > > You can either set "autospawn = yes" or comment it. > That did it. For some reason, after the update it was set to no. Thanks Alex
Re: [gentoo-user] Selective news?
Same here, pulseaudio daemon is no longer started automatically. Starting it from a shell (simply call pulseaudio ) and audio works fine again. Not sure which start script to add it to; .login or .profile are unsuitable because it would then start it at every login even with ssh). Alex Am Sonntag, 31. Juli 2022, 00:12:49 CEST schrieb Peter Humphrey: > On Saturday, 30 July 2022 15:36:35 BST Rich Freeman wrote: > > From: > > https://gitweb.gentoo.org/data/gentoo-news.git/tree/2022-07-29-pipewire-so > > un d-server/2022-07-29-pipewire-sound-server.en.txt > > > > Display-If-Installed: media-video/pipewire > > Display-If-Installed: media-sound/pulseaudio > > Display-If-Installed: media-sound/pulseaudio-daemon > > Display-If-Installed: media-libs/libpulse > > > > If you have any of those packages installed, the news will display. > > But pulseaudio is installed, having been pulled in by plasma-meta; that's > why I was puzzled. > > $ eix -Ic pulse > [I] media-libs/libpulse (16.1{xpak:2}@30/06/22): Libraries for PulseAudio > clients > [I] media-sound/pulseaudio (16.1{xpak}@10/07/22): A meta package for > PulseAudio (networked sound server) > [I] media-sound/pulseaudio-daemon (16.1{xpak:2}@30/06/22): Daemon component > of PulseAudio (networked sound server) > Found 3 matches > > The only pertinent difference between the machines is that one is amd64, the > other ~amd64. Well, the ~amd64 box has no sound hardware, but apart from > that... > > > We try to filter news so that users aren't bombarded by things that > > aren't relevant to them. > > And it has worked well for me too until now. > > > For example, a few weeks ago there was apparently a corruption in the mu > > MUA (which I'd never heard of), which would be really important to know > > about if you were one of the 0.001% of Gentoo users who rely on it. > > Yes, I saw that, and no, I hadn't heard of it either.
Re: [gentoo-user] Would a Thinkpad X200 be too much trouble too run gentoo on?
Am Donnerstag, 21. April 2022, 14:49:24 CEST schrieb Dex Conner: > Hi everyone, > > So I've found a Thinkpad X200 online and I'm thinking of buying it for > libreboot purposes. Do you think the P8600 cpu can handle all the > compiling on gentoo? For the record, I don't have any of the "big stuff" > like KDE, GNOME, Firefox (all I have is Tor Browser [which I don't > compile], dwl and some terminal programs like neomutt and profanity). > Surely, I wouldn't be spending 5 hours to do small upgrades, > right?..right? > Do you have some more powerful machine in the background? If yes, you can either create binary packages on this machine and only install them on your laptop, or use distcc for moving the big compilation tasks to this other machine. Using binary packages, I can still use a Lenovo SL510, which seems to have similar properties regarding CPU and RAM than the X200, with all desktop programs, including full KDE/plasma, Firefox, libreoffice, etc. Alex
Re: [gentoo-user] "sys-libs/glibc[crypt(+)]" is soft blocking sys-libs/libxcrypt
Am Sonntag, 3. April 2022, 10:23:25 CEST schrieb n952162: > My emerge fails due to a collision with xorg-server and glibc. How can I > find out where the problem is, actually? > > Output attached. Did you have a look at https://www.gentoo.org/support/news-items/2021-10-18-libxcrypt-migration-stable.html Alex
Re: [gentoo-user] systemd DNS does not resolve 'local' addresses
Thanks for the hint with mDNS, I wasn't aware of that. I'm using the '.local' domain for all my machines for more than 15 years now, longer than mDNS exists, but finally, after some research I found the problem, and actually it wasn't systemd per se, it was an update of /etc/nsswitch.conf. The old version had Hosts: mymachines files myhostname dns while the new version contains Hosts: mymachines resolve [!UNAVAIL=return] files myhostname dns The extra "resolve [!UNAVAIL=return]" makes the difference. It loads the glibc's plugin nss-resolve [1], which then calls systemd-resolved [2], which interprets '.local' as mDNS address. The mDNS is not activated on purpose, it seems to be some default setting of the router which does not appear in the configuration pages (or I didn't find it). Anyway, there are some ways to solve this: 1) create an entry in /etc/hosts on every machine. Contradicts the idea of DNS, but works 2) keep the old setting in nsswich.conf (without "resolve ...") 3) change my "own" TLD from .local to something else, like .home, as suggested in [3] I think as long term strategy option 3 would be the best. Regards Alex [1] https://www.freedesktop.org/software/systemd/man/nss-resolve.html [2] https://www.freedesktop.org/software/systemd/man/systemd-resolved.html# [3] https://www.rfc-editor.org/rfc/rfc6762#appendix-G Am Samstag, 2. April 2022, 23:48:06 CEST schrieb Rich Freeman: > On Sat, Apr 2, 2022 at 5:22 PM Alexander Puchmayr > > wrote: > > ## portage.local maps to 192.168.1.6 > > ## DNS-Server provided via DHCP is 192.168.1.1 (openwrt-router) > > > > buildhost-desktop ~ # ping portage.local > > ping: portage.local: Temporary failure in name resolution > > > >Protocols: +LLMNR +mDNS -DNSOverTLS DNSSEC=no/unsupported > > So, I haven't really used resolved much, but I see you have mDNS > enabled. Does the portage.local host broadcast itself using mDNS? If > it is running Gentoo then the answer is no unless you have it running > avahi, which is usually not installed by default. Many > desktop-oriented linux distros provide avahi by default. > > A resolver that supports mDNS will not use DNS to resolve the .local > TLD, in accordance with RFC 6762. > > If you intend to use .local for DNS and not mDNS then you probably do > not want mDNS enabled. You can either disable it for resolved > globally by setting MulticastDNS=no in the [Resolve] section of > /etc/systemd/resolved.conf, or by disabling it for a specific network > in your network manager (the setting has the same name for > systemd-networkd). > > This is one of those reasons why it is best to not use the .local TLD > for DNS on your home network. You can disable it on systemd-resolved, > but some IoT device in your home might have it permanently enabled. > It allows a form of name resolution to work without any DNS server as > devices discover and broadcast on their own.
[gentoo-user] systemd DNS does not resolve 'local' addresses
Hi, After upgrading systemd from 249.9 to 249.11, some of my host names defined in my router's host file do no longer resolve, but nslookup can still resolve them properly. With 249.9 everything works fine, and all other machines which did not yet get the update work fine. Any ideas? Thanks, Alex ## portage.local maps to 192.168.1.6 ## DNS-Server provided via DHCP is 192.168.1.1 (openwrt-router) buildhost-desktop ~ # ping portage ping: portage: Name or service not known buildhost-desktop ~ # ping portage.local ping: portage.local: Temporary failure in name resolution buildhost-desktop ~ # host portage portage has address 192.168.1.6 buildhost-desktop ~ # nslookup portage Server: 192.168.1.1 Address:192.168.1.1#53 Name: portage Address: 192.168.1.6 buildhost-desktop ~ # dig portage ; <<>> DiG 9.16.27 <<>> portage ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40446 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;portage. IN A ;; ANSWER SECTION: portage.0 IN A 192.168.1.6 ;; Query time: 3 msec ;; SERVER: 192.168.1.1#53(192.168.1.1) ;; WHEN: Sat Apr 02 22:49:50 CEST 2022 ;; MSG SIZE rcvd: 52 buildhost-desktop ~ # resolvectl Global Protocols: +LLMNR +mDNS -DNSOverTLS DNSSEC=no/unsupported resolv.conf mode: uplink Fallback DNS Servers: 1.1.1.1#cloudflare-dns.com 8.8.8.8#dns.google 1.0.0.1#cloudflare-dns.com 8.8.4.4#dns.google 2606:4700:4700::#cloudflare-dns.com 2001:4860:4860::#dns.google 2606:4700:4700::1001#cloudflare-dns.com 2001:4860:4860::8844#dns.google Link 2 (enp3s0) Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6 Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/ unsupported Current DNS Server: 192.168.1.1 DNS Servers: 192.168.1.1 buildhost-desktop ~ #
Re: [gentoo-user] Emerge -u -k package install order - broken system [SOLVED]
Am Montag, 6. September 2021, 16:33:32 CEST schrieb Alexander Puchmayr: > Hi there, > > I just tried to upgrade a older installation via binary packages and this > broke my system. After around 25 packages of almost 300 it stopped with > error and failing packages. > > $ emerge > Failed to validate a sane '/dev'. > bash process substitution doesn't work; this may be an indication of a > broken '/dev/fd'. > $ ls -l /dev/fd/ > insgesamt 0 > lrwx-- 1 root root 64 6. Sep 14:18 0 -> /dev/pts/0 > lrwx-- 1 root root 64 6. Sep 14:18 1 -> /dev/pts/0 > lrwx-- 1 root root 64 6. Sep 14:18 2 -> /dev/pts/0 > lr-x-- 1 root root 64 6. Sep 14:18 3 -> /proc/27261/fd > > --> looks allright, but: > > $ bash > bash: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /lib64/ > libreadline.so.8) > > --> system broken(!), cannot start any shell anymore, cannot install > anything anymore and it's obvious that the system is bricked after reboot > or even when the ssh session I'm logged in is closed. > > It seems like as if sys-libs/readline-8.1_p1-r1-1:0/8::gentoo is installed > *before* installing a suitable glibc, breaking any binary that has the > useflag readline (including bash). > > Two questions: > How do I get out of this mess? > Why does portage not work in correct package order? Portage bug? The problem was caused by a newly compiled sys-libs/readline as binary package. The package itself was compiled on my buildhost by a emerge -auvDN world, and when readline was compiled, the latest glibc-2.33 was already installed on the buildhost, hence the readline packet had a (implicit) dependency to >=glibc-33. Portage does not seem to be aware of that (the glibc version is not a dependency of readline), so portage did not care and install it at some suitable position later. From the time on that readline was emerged from that binary package, all programs linked with it have now that implicit dependency of >=glibc-2.33, which is not yet installed (which was 2.28). Bang! HOW TO FIX THIS BREAKAGE: For the system recovery I was lucky to have a backup of the old packages, so I could extract the readline-tbz2-package file to the temporary directly and copy the so files to /usr/local/lib64 (I chose /usr/local/ to avoid overwriting the package files) Ls -l /usr/local/lib64/ insgesamt 368 lrwxrwxrwx 1 root root 15 6. Sep 14:53 libhistory.so -> libhistory.so.8 lrwxrwxrwx 1 root root 17 6. Sep 15:04 libhistory.so.8 -> libhistory.so. 8.0 -rwxr-xr-x 1 root root 47368 6. Sep 14:53 libhistory.so.8.0 lrwxrwxrwx 1 root root 16 6. Sep 14:53 libreadline.so -> libreadline.so.8 lrwxrwxrwx 1 root root 18 6. Sep 15:04 libreadline.so.8 -> libreadline.so.8.0 -rwxr-xr-x 1 root root 325464 6. Sep 14:53 libreadline.so.8.0 Then, I created a ld.so.conf config file to ensure that /usr/local/lib is at *first* place: echo "/usr/local/lib64" >/etc/ld.so.conf.d/10-temporary-fix.conf ldconfig Notes: * The config file *must* end with .conf * Although /usr/local/lib64 is already in the ld.so.conf file, this step is necessary to get it at first place; otherwise it is after /lib64 and /usr/ lib64, and ld.so finds the non-working version first * setting LD_LIBRARY_PATH does not work as ebuild does not forward the environment variables from the calling process. Test it with ldd /usr/bin/bash -- no errors shall be reported, and the readline library shall show the /usr/local/lib64 path. Now, I could emerge glibc-2.33 the usual way (emerge -avk1 glibc), and then afterwards remove the temporary ld.so.conf file rm /etc/ld.so.conf.d/10-temporary-fix.conf ldconfig Test again with ldd /usr/bin/bash -- the new readline library from /usr/lib64 and /lib64 shall now be used. Now, the libraries from /usr/local/lib can be removed safely. System recovered! Best regards, Alex
Re: [gentoo-user] Emerge -u -k package install order - broken system
Am Montag, 6. September 2021, 19:38:38 CEST schrieb Jack: > On 2021.09.06 10:33, Alexander Puchmayr wrote: > > Hi there, > > > > I just tried to upgrade a older installation via binary packages and > > this > > broke my system. After around 25 packages of almost 300 it stopped > > with error > > and failing packages. > > > > $ emerge > > Failed to validate a sane '/dev'. > > bash process substitution doesn't work; this may be an indication of > > a broken > > '/dev/fd'. > > $ ls -l /dev/fd/ > > insgesamt 0 > > lrwx-- 1 root root 64 6. Sep 14:18 0 -> /dev/pts/0 > > lrwx-- 1 root root 64 6. Sep 14:18 1 -> /dev/pts/0 > > lrwx-- 1 root root 64 6. Sep 14:18 2 -> /dev/pts/0 > > lr-x-- 1 root root 64 6. Sep 14:18 3 -> /proc/27261/fd > > > > --> looks allright, but: > > > > $ bash > > bash: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by > > /lib64/ > > libreadline.so.8) > > > > --> system broken(!), cannot start any shell anymore, cannot install > > anything > > anymore and it's obvious that the system is bricked after reboot or > > even when > > the ssh session I'm logged in is closed. > > > > It seems like as if sys-libs/readline-8.1_p1-r1-1:0/8::gentoo is > > installed > > *before* installing a suitable glibc, breaking any binary that has > > the useflag > > readline (including bash). > > > > Two questions: > > How do I get out of this mess? > > Why does portage not work in correct package order? Portage bug? > > It might help if you stated which version of packages you currently > have installed - specifically glibc. > > As for recovery, you most likely need to boot to a live image (CD or > USB) then chroot into the existing system. I'm only guessing as to > what is the minimal list of files you will need to replace, but I'd see > if you can find or create a binary package of the latest glibc and then > install or unpack that to your system. > > As to whether this might be a bug in portage, I'd say you need to > provide more details about exactly what you did. What emerge line, > what you mean by installation via binary packages, and where you got > those binary packages. > > If you do still have a running shell, does emerge still run at all? What I did is: * On my build host, I compiled the full system and creating packages * On the client (i.e. The machine in question) I simply did a emerge -auvDNk world. * Portage did not complain about any conflicts, the amount of packages is what I expected, so I started the upgrade. * After about 25 packages installed successfully, emerge stopped with the errors explained before. For me the problem is solved now as I could recover the system, but I still would like to know how to prevent this -- installing glibc prior world may be a good idea. Thanks, Alex
[gentoo-user] Emerge -u -k package install order - broken system
Hi there, I just tried to upgrade a older installation via binary packages and this broke my system. After around 25 packages of almost 300 it stopped with error and failing packages. $ emerge Failed to validate a sane '/dev'. bash process substitution doesn't work; this may be an indication of a broken '/dev/fd'. $ ls -l /dev/fd/ insgesamt 0 lrwx-- 1 root root 64 6. Sep 14:18 0 -> /dev/pts/0 lrwx-- 1 root root 64 6. Sep 14:18 1 -> /dev/pts/0 lrwx-- 1 root root 64 6. Sep 14:18 2 -> /dev/pts/0 lr-x-- 1 root root 64 6. Sep 14:18 3 -> /proc/27261/fd --> looks allright, but: $ bash bash: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /lib64/ libreadline.so.8) --> system broken(!), cannot start any shell anymore, cannot install anything anymore and it's obvious that the system is bricked after reboot or even when the ssh session I'm logged in is closed. It seems like as if sys-libs/readline-8.1_p1-r1-1:0/8::gentoo is installed *before* installing a suitable glibc, breaking any binary that has the useflag readline (including bash). Two questions: How do I get out of this mess? Why does portage not work in correct package order? Portage bug?
Re: [gentoo-user] Laptop internal speakers no longer working after recent updates
Am Dienstag, 31. August 2021, 19:24:15 CEST schrieb Michael: > On Tuesday, 31 August 2021 12:08:04 BST Alexander Puchmayr wrote: > > Am Dienstag, 31. August 2021, 00:18:43 CEST schrieb Michael: > > > If the alsa drivers are not compiled as modules, the above file would > > > not > > > have any effect. Anyway, let's try this in /etc/asound.conf: > > > > > > defaults.pcm.card 1 > > > defaults.pcm.device 0 > > > defaults.ctl.card 1 > > > > > > On a reboot your Generic_1 analogue card should be available and > > > recognised > > > as the default audio device. You may need to unmute it, via pactl or > > > kmix. > > > > Sorry, didn't change anything. > > > > I doubt that the problem is wrong default settings of alsa. > > > > I run pulseaudio -vvv and the output was interesting: > > > > Pci:00/:00:08.1/:07:00.1/sound/card0 > > and > > pci:00/:00:08.1/:07:00.6/sound/card1 > > > > Where the latter one is the one that is not used by pulseaudio. > > > > Both report "UCM available for card HD-Audio Generic" > > Note: the card name "HD-Audio Generic" is identical, and this is reported > > by alsa-libs, as far as I could see from the code. > > Your *card* names according to your 'aplay -l' output are/were: > > card 0: Generic > card 1: Generic_1 > card 3: Headset > > You can re-check this with: > > aplay -l | awk -F \: '/,/{print $2}' | awk '{print $1}' | uniq > > > Another way to discover all card name(s) including unused cards is by the > output of: > > cat /sys/class/sound/card*/id > > The alsa-ucm function involves creating use case alsa mixer profiles, > similar to pulseaudio profiles and will work even without pulseaudio > running. If a UCM configuration file exists for a card, then pulseaudio > will ignore built-in profiles and will generate a profile based on the UCM > config file. > > Take a look at: > > /usr/share/alsa/ucm2/README.md > > and for various mixer profiles look under /usr/share/alsa/ucm2/ > > However, my usage of pulseaudio has been cursory and don't know much about > its auto-configuration. In any case, I suspect the alsa-ucm output is only > relevant in highlighting the common codec name, as you confirm below. > > > [...] > > > > Alsa-info.sh reveals further info: > > !!Soundcards recognised by ALSA > > !!- > > > > 0 [Generic]: HDA-Intel - HD-Audio Generic > > > > HD-Audio Generic at 0xfd3c8000 irq 91 > > > > 1 [Generic_1 ]: HDA-Intel - HD-Audio Generic > > > > HD-Audio Generic at 0xfd3c irq 92 > > > > 2 [acp]: acp - acp > > > > acp > > > > To me it looks like as if pulseaudio is quering card0, getting the name > > "HD- Audio Generic", finding the HDMI channels; then it tries to read > > card1, gets also "HD-Audio Generic" as name and hence the same channels > > as for card0. > > > > I have no idea how to fix this. > > > > Cheers > > > > Alex > > As I understand it, "HD-Audio" is the kernel driver (CONFIG_SND_HDA=m) and > "Generic" is the generic codec parser (CONFIG_SND_HDA_GENERIC=m) used by the > snd-hda-intel module (CONFIG_SND_HDA_INTEL=m) - unless a specific model > codec is (also) configured for a card, e.g. in my case I have > CONFIG_SND_HDA_CODEC_CONEXANT=m > > If in your recent system update/upgrade you did not change your kernel, or > the available options of any audio modules under /etc/modprobe.d/ then the > drivers were always configured so and therefore the problem you experience > now is unlikely to be caused by the generic codec parser. > > Someone more knowledgeable in pulseaudio should chime in, assuming this > problem is being caused by pulseaudio. :-/ I just downgraded to alsa-utils and alsa-tools 1.2.3, and the problem disappeared. I will keep this combination for a while until the next update. However, I'm not sure whether this is an alsa problem or a pulseaudio problem. Thanks for your help Alex
Re: [gentoo-user] Laptop internal speakers no longer working after recent updates
Am Dienstag, 31. August 2021, 00:18:43 CEST schrieb Michael: > If the alsa drivers are not compiled as modules, the above file would not > have any effect. Anyway, let's try this in /etc/asound.conf: > > defaults.pcm.card 1 > defaults.pcm.device 0 > defaults.ctl.card 1 > > On a reboot your Generic_1 analogue card should be available and recognised > as the default audio device. You may need to unmute it, via pactl or kmix. Sorry, didn't change anything. I doubt that the problem is wrong default settings of alsa. I run pulseaudio -vvv and the output was interesting: Pci:00/:00:08.1/:07:00.1/sound/card0 and pci:00/:00:08.1/:07:00.6/sound/card1 Where the latter one is the one that is not used by pulseaudio. Both report "UCM available for card HD-Audio Generic" Note: the card name "HD-Audio Generic" is identical, and this is reported by alsa-libs, as far as I could see from the code. Then it finds HDMI1-3 for both cards. *** card0 *** [...] D: [pulseaudio] module-udev-detect.c: /devices/ pci:00/:00:08.1/:07:00.1/sound/card0 is busy: no D: [pulseaudio] module-udev-detect.c: Loading module-alsa-card with arguments 'device_id="0" name="pci-_07_00.1" card_name="alsa_card.pci-_07_00.1" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module- udev-detect.discovered=1"' D: [pulseaudio] reserve-wrap.c: Unable to contact D-Bus session bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 I: [pulseaudio] alsa-ucm.c: UCM available for card HD-Audio Generic I: [pulseaudio] alsa-ucm.c: Set UCM verb to HiFi D: [pulseaudio] alsa-ucm.c: Got TQ for verb HiFi: HiFi D: [pulseaudio] alsa-ucm.c: Got PlaybackPCM for device HDMI3: hw:Generic,8 D: [pulseaudio] alsa-ucm.c: Got PlaybackPriority for device HDMI3: 1300 D: [pulseaudio] alsa-ucm.c: Got JackControl for device HDMI3: HDMI/DP,pcm=8 Jack W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device HDMI3, assuming stereo duplex. D: [pulseaudio] alsa-ucm.c: No _conflictingdevs for device HDMI3 D: [pulseaudio] alsa-ucm.c: No _supporteddevs for device HDMI3 D: [pulseaudio] alsa-ucm.c: Got PlaybackPCM for device HDMI2: hw:Generic,7 D: [pulseaudio] alsa-ucm.c: Got PlaybackPriority for device HDMI2: 1200 D: [pulseaudio] alsa-ucm.c: Got JackControl for device HDMI2: HDMI/DP,pcm=7 Jack W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device HDMI2, assuming stereo duplex. D: [pulseaudio] alsa-ucm.c: No _conflictingdevs for device HDMI2 D: [pulseaudio] alsa-ucm.c: No _supporteddevs for device HDMI2 D: [pulseaudio] alsa-ucm.c: Got PlaybackPCM for device HDMI1: hw:Generic,3 D: [pulseaudio] alsa-ucm.c: Got PlaybackPriority for device HDMI1: 1100 D: [pulseaudio] alsa-ucm.c: Got JackControl for device HDMI1: HDMI/DP,pcm=3 Jack W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device HDMI1, assuming stereo duplex. D: [pulseaudio] alsa-ucm.c: No _conflictingdevs for device HDMI1 D: [pulseaudio] alsa-ucm.c: No _supporteddevs for device HDMI1 [...] *** card1 *** (the one that is ignored by pulseaudio) [...] D: [pulseaudio] module-udev-detect.c: /devices/ pci:00/:00:08.1/:07:00.6/sound/card1 is busy: no D: [pulseaudio] module-udev-detect.c: Loading module-alsa-card with arguments 'device_id="1" name="pci-_07_00.6" card_name="alsa_card.pci-_07_00.6" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module- udev-detect.discovered=1"' D: [pulseaudio] reserve-wrap.c: Unable to contact D-Bus session bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 I: [pulseaudio] alsa-ucm.c: UCM available for card HD-Audio Generic I: [pulseaudio] alsa-ucm.c: Set UCM verb to HiFi D: [pulseaudio] alsa-ucm.c: Got TQ for verb HiFi: HiFi D: [pulseaudio] alsa-ucm.c: Got PlaybackPCM for device HDMI3: hw:Generic,8 D: [pulseaudio] alsa-ucm.c: Got PlaybackPriority for device HDMI3: 1300 D: [pulseaudio] alsa-ucm.c: Got JackControl for device HDMI3: HDMI/DP,pcm=8 Jack W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device HDMI3, assuming stereo duplex. D: [pulseaudio] alsa-ucm.c: No _conflictingdevs for device HDMI3 D: [pulseaudio] alsa-ucm.c: No _supporteddevs for device HDMI3 D: [pulseaudio] alsa-ucm.c: Got PlaybackPCM for device HDMI2: hw:Generic,7 D: [pulseaudio] alsa-ucm.c: Got PlaybackPriority for device HDMI2: 1200 D: [pulseaudio] alsa-ucm.c: Got JackControl for device HDMI2: HDMI/DP,pcm=7 Jack W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device HDMI2, assuming stereo duplex. D: [pulseaudio] alsa-uc
Re: [gentoo-user] Laptop internal speakers no longer working after recent updates
Am Montag, 30. August 2021, 13:30:03 CEST schrieb Michael: > On Monday, 30 August 2021 11:30:38 BST Alexander Puchmayr wrote: > > Hi there, > > > > I have a weird problem on my Lenovo P14s laptop. Before I applied a world > > upgrade (based on August 22 state portage), the internal speaker of the > > laptop worked fine, but now its all silent, although all mixer levels are > > 100% and no channel is muted. > > There was a recent move to pipewire which could have jumbled audio devices > around for you - but I am not familiar with how pipewire works, or why it > would have caused this problem. > > https://wiki.gentoo.org/wiki/PipeWire > I did not install pipewire, so we can exclude this. [snip...] > $ aplay -l > List of PLAYBACK Hardware Devices > card 0: HDMI [HDA ATI HDMI], device 3: Generic Digital [Generic Digital] > Subdevices: 1/1 > Subdevice #0: subdevice #0 > card 1: Generic [HD-Audio Generic], device 0: CX20757 Analog [CX20757 > Analog] Subdevices: 1/1 > Subdevice #0: subdevice #0 > Here is output of aplay -l: List of PLAYBACK Hardware Devices card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0] Subdevices: 0/1 Subdevice #0: subdevice #0 card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1] Subdevices: 0/1 Subdevice #0: subdevice #0 card 0: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2] Subdevices: 0/1 Subdevice #0: subdevice #0 card 1: Generic_1 [HD-Audio Generic], device 0: ALC257 Analog [ALC257 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 3: Headset [Logitech USB Headset], device 0: USB Audio [USB Audio] Subdevices: 0/1 Subdevice #0: subdevice #0 I added an old USB headset for testing, and *this* card (card 3) is shown in pavcontrol and kde-plasma audio settings, along with the three sub-devices of card 0; however, card 1 is not shown. In alsamixer and aplay I can see the device as "Generic_1", and -- after finding out the pcm name of it via aplay -L -- I could play some wav file with aplay on it: aplay -D front:CARD=Generic_1,DEV=0 some_wav_file.wav It seems to be a pulseaudio problem, which seems to arbitrarily ignoring Generic_1 card. > Alternatively, take a look at this method of controlling the order in which > audio modules are loaded: > https://wiki.gentoo.org/wiki/ALSA#Laptops_with_HDMI_audio_output Thanks for the link, brought me to inspect /etc/modprobe.d/alsa.conf. Corrected the number of sound cards there, but did not help :-( I remember to have edited this file about 10 years ago, not sure if those settings are still relevant. Cheers, Alex
[gentoo-user] Laptop internal speakers no longer working after recent updates
Hi there, I have a weird problem on my Lenovo P14s laptop. Before I applied a world upgrade (based on August 22 state portage), the internal speaker of the laptop worked fine, but now its all silent, although all mixer levels are 100% and no channel is muted. Observed facts: * Connecting a HDMI tv-set produces sound over the tv-set properly * Booting Win10: Internal speakers working fine --> no hw issue * Connecting headphone via audio jack under linux - no sound. * Reverting to backup makes sound work again --> config/sw problem introduced by update * In plasma's system settings/audio tray, the Speaker output device is not shown -- only 3xHDMI (The analog speaker seems to have gone) The kernel is exactly the same as before the upgrade, didn't recompile it (sys-kernel/gentoo-sources-5.12.0) --> no kernel issue Relevant packet changes: sys-kernel/linux-firmware-20210511 -> sys-kernel/linux-firmware-20210716 dev-python/pyalsa-1.1.6-r1 = dev-python/pyalsa-1.1.6-r1 Media-libs/alsa-lib-1.2.3.2-r1 -> media-libs/alsa-lib-1.2.4 Media-libs/alsa-topology-conf-1.2.3 -> media-libs/alsa-topology-conf-1.2.4 Media-libs/alsa-ucm-conf-1.2.3 -> media-libs/alsa-ucm-conf-1.2.4 Media-plugins/alsa-plugins-1.2.2 = media-plugins/alsa-plugins-1.2.2 Media-sound/alsa-tools-1.2.2-r1 = media-sound/alsa-tools-1.2.2-r1 Media-sound/alsa-utils-1.2.3 -> media-sound/alsa-utils-1.2.4 Media-libs/pulseaudio-qt-1.2 = media-libs/pulseaudio-qt-1.2 Media-plugins/gst-plugins-pulse-1.16.3 = media-plugins/gst-plugins- pulse-1.16.3 Media-sound/pulseaudio-13.0-r1 = media-sound/pulseaudio-13.0-r1 Kde-plasma/plasma-meta-5.20.5 -> 5.21.5 (including all dependencies) I tried downgrading linux-firmware to the old version from the backup -- did not help. I tried logging in from a completely fresh account to exclude any bad config in the local home directory -> no success. Any further ideas? Thanks, Alex PS: lspci shows 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Root Complex 00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir IOMMU 00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge 00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge 00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge 00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge 00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge 00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge 00:02.6 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge 00:02.7 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge 00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge 00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus 00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51) 00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51) 00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 0 00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 1 00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 2 00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 3 00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 4 00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 5 00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 6 00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 7 01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0e) 02:00.1 Serial controller: Realtek Semiconductor Co., Ltd. Device 816a (rev 0e) 02:00.2 Serial controller: Realtek Semiconductor Co., Ltd. Device 816b (rev 0e) 02:00.3 IPMI Interface: Realtek Semiconductor Co., Ltd. Device 816c (rev 0e) 02:00.4 USB controller: Realtek Semiconductor Co., Ltd. Device 816d (rev 0e) 03:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a) 04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01) 05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15) 06:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02) 07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev d1) 07:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 1637 07:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor 07:00.3 USB controller: Advanced M
[gentoo-user] Emerge --root= headerfiles taken from / or ROOT?
Hi there, I'm just trying setup a small target image with the --root (env SYSROOT), - config-root and --sysroot options, and some builds fail, because the header files as well as cmake include files are not taken from the path specified to root/sysroot, but from /. How can I make emerge/ebuild take the headers from the target path? The goal is to have a target image, which contains only minimum set of packages and also a minimum set of use flags, just to get it booting and fulfill its purpose. The use flags and the package set are different from the host build system. The architecture is the same, so I'm not cross compiling. Thanks Alex
Re: [gentoo-user] Weird harddisk problem: AHCI disks sometimes not found
Hi there, Thanks for all suggestions and answers so far. I'm pretty sure it is not a hardware problem, because * Exchanging SATA cables does not affect the problem * Using different SATA slots on the mainboard does not affect the problem * Using different SATA power connectors does not affect the problem I continued to experiment with different kernel versions and configs: * Ubuntu-5.4.0-48-generic works * sys-kernel/gentoo-sources-5.4.60 [self compiled and configured for a similar machine some time ago]: WORKS * sys-kernel/gentoo-kernel-5.4.97 [default config] FAILS * sys-kernel/gentoo-kernel-bin-5.4.97 FAILS * sys-kernel/vanilla-sources-5.4.102 [same config as with 5.4.60] WORKS * sys-kernel/gentoo-kernel-5.10.20 [default config] FAILS * sys-kernel/gentoo-sources-5.10.20 [same config as with 5.4.60] WORKS The common thing seems to be that my self-configured kernels work and the default dist-kernels fail. I checked the differences in the configs (/usr/src/ linux/.config) related to SATA or AHCI, and one candidate was CONFIG_SATA_MOBILE_LPM_POLICY, which was set to 3 (medium power save) in distkernel's config and 0 (keep seetings from firmware) in my self compiled kernels. SOLUTION: Adding CONFIG_SATA_MOBILE_LPM_POLICY=0 to /etc/kernel/config.d and recompiling the gentoo-kernel actually solved the problem. I assume the reason is an incompatibility between the link power modes (mode 3) and the drives making the link to appear to be down. Alex Am Donnerstag, 11. März 2021, 20:39:04 CET schrieb Alexander Puchmayr: > Hi there, > > I have a weird harddisk detection problem which rises the questio: what does > the gentoo-kernel make differently than the ubuntu kernel? > > The system in question has 2 identical SSDs (Kingston SV300S3 60GB) and two > identical HDDs (older Maxtor7V300F0 300GB) , all connected to SATA/AHCI > ports; the HDDs are combined to a LVM-raid1 volume. SATA controller is a > onboard SB7x on an Asus M3A78 mainboard in AHCI mode. > > Only one of the two SSDs is attached at the same time to the system, the > other one is disconnected. One contains a gentoo installation (just updated > yesterday), the other one an Ubuntu LTS 20.04. This allows dual-.boot by > switching connection cables. > > When I connect the gentoo-SSD and boot it, BIOS finds all HDDs and the SSD, > and starts booting; but gentoo does not recognize at least one of the HDDs > (/dev/ sdc missing, dmesg shows link down on Sata-Interface > . Going back to the bios shows that even BIOS does not recognize the disk > anymore. A full powercycle (pressing reset button is not sufficent) to make > BIOS to recognize the disks again. > > Doing the same with the Ubuntu-Disk works absolutely fine, all HDDs are > recognized and the raid is working fine, not a single time that one of the > disks was not recognized. > > Without the Ubuntu observation I'd say its a hardware problem and the old > HDDs are simply beyond their age, but why are they working in ubuntu and > not in gentoo? And what is it doing with BIOS/Harddisk that even Bios does > not find it anymore? I need a full powercycle to make bios find it again. > This indicates a gentoo kernel problem, and I have no idea where to start > looking, and AFAIK there's nothing much to configure a SATA/AHCI drive. > > Any ideas? > > Thanks > Alex > > PS: > Sys-kernel/gentoo-kernel-5.4.97, default configuration > Hardware: > 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] RS780 Host Bridge > 00:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to > PCI bridge (int gfx) > 00:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI > bridge (PCIE port 2) > 00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/ > SB9x0 SATA Controller [AHCI mode] > 00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/ > SB9x0 USB OHCI0 Controller > 00:12.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB > OHCI1 Controller > 00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/ > SB9x0 USB EHCI Controller > 00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/ > SB9x0 USB OHCI0 Controller > 00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB > OHCI1 Controller > 00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/ > SB9x0 USB EHCI Controller > 00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller > (rev 3a) > 00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/ > SB9x0 IDE Controller > 00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia > (Intel HDA) > 00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] S
[gentoo-user] Weird harddisk problem: AHCI disks sometimes not found
Hi there, I have a weird harddisk detection problem which rises the questio: what does the gentoo-kernel make differently than the ubuntu kernel? The system in question has 2 identical SSDs (Kingston SV300S3 60GB) and two identical HDDs (older Maxtor7V300F0 300GB) , all connected to SATA/AHCI ports; the HDDs are combined to a LVM-raid1 volume. SATA controller is a onboard SB7x on an Asus M3A78 mainboard in AHCI mode. Only one of the two SSDs is attached at the same time to the system, the other one is disconnected. One contains a gentoo installation (just updated yesterday), the other one an Ubuntu LTS 20.04. This allows dual-.boot by switching connection cables. When I connect the gentoo-SSD and boot it, BIOS finds all HDDs and the SSD, and starts booting; but gentoo does not recognize at least one of the HDDs (/dev/ sdc missing, dmesg shows link down on Sata-Interface . Going back to the bios shows that even BIOS does not recognize the disk anymore. A full powercycle (pressing reset button is not sufficent) to make BIOS to recognize the disks again. Doing the same with the Ubuntu-Disk works absolutely fine, all HDDs are recognized and the raid is working fine, not a single time that one of the disks was not recognized. Without the Ubuntu observation I'd say its a hardware problem and the old HDDs are simply beyond their age, but why are they working in ubuntu and not in gentoo? And what is it doing with BIOS/Harddisk that even Bios does not find it anymore? I need a full powercycle to make bios find it again. This indicates a gentoo kernel problem, and I have no idea where to start looking, and AFAIK there's nothing much to configure a SATA/AHCI drive. Any ideas? Thanks Alex PS: Sys-kernel/gentoo-kernel-5.4.97, default configuration Hardware: 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] RS780 Host Bridge 00:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (int gfx) 00:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI bridge (PCIE port 2) 00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/ SB9x0 SATA Controller [AHCI mode] 00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/ SB9x0 USB OHCI0 Controller 00:12.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller 00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/ SB9x0 USB EHCI Controller 00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/ SB9x0 USB OHCI0 Controller 00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller 00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/ SB9x0 USB EHCI Controller 00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 3a) 00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/ SB9x0 IDE Controller 00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) 00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller 00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge 00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/ SB9x0 USB OHCI2 Controller 00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration 00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] Address Map 00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] DRAM Controller 00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] Miscellaneous Control 01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS780 [Radeon HD 3200] 01:05.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] RS780 HDMI Audio [Radeon 3000/3100 / HD 3200/3300] 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 02)
[gentoo-user] Broken binary packages
Hi there, I'm using a build host to generate all packages for my different machines in my local network; Not every machine gets every package. I encountered a problem where a package that looks absolutely fine on the buildhost but on the target machine its broken since some libraries are missing. NB: I previously did an emerge -e world before on the buildhost. As an example I'd like to take media-tv/mythtv-31.0-r1, which has a dependency to dev-qt/qtwebkit:5 if the xmltv useflag is set: buildhost-desktop ~ # equery depends dev-qt/qtwebkit-5.212.0_pre20200309-r1 * These packages depend on dev-qt/qtwebkit-5.212.0_pre20200309-r1: dev-python/PyQt5-5.14.2 (webkit ? dev-qt/qtwebkit:5[printsupport]) dev-qt/designer-5.14.2 (webkit ? >=dev-qt/qtwebkit-5.9.1:5) dev-util/kdevelop-5.5.2 (webkit ? >=dev-qt/qtwebkit-5.212.0_pre20180120:5) kde-apps/k3b-19.12.3 (webkit ? >=dev-qt/qtwebkit-5.212.0_pre20180120:5) kde-apps/kdenlive-19.12.3-r3 (freesound ? >=dev-qt/ qtwebkit-5.212.0_pre20180120:5) kde-apps/umbrello-19.12.3 (>=dev-qt/qtwebkit-5.212.0_pre20180120:5) media-gfx/digikam-6.4.0-r1 (webkit ? >=dev-qt/qtwebkit-5.212.0_pre20180120:5) media-gfx/wkhtmltopdf-0.12.5 (dev-qt/qtwebkit:5[printsupport]) media-tv/mythtv-31.0-r1 (xmltv ? dev-qt/qtwebkit:5) net-misc/teamviewer-15.4.4445 (dev-qt/qtwebkit:5) The Useflag "xmltv" is not set, but since the packages kde-apps/umbrello and media-gfx/wkhtmltopdf have a direct dependency to dev-qt/qtwebkit, it is installed on the buildhost. When building mythtv, it finds the webkit libraries and headers installed and uses it, even if the xmltv-useflag is NOT set(!), yielding a binary that has an implicit dependency to qtwebkit, but portage does not know of it. When I install now the mythtv package on my laptop, where none of the other packages are installed that require qtwebkit, there's no need for portage to install it, and so we get a broken mythtv package. I see several ways to solve this, but none is really satisfying: * set the xmltv use flag to mythtv to get an explict dependency -- I don't want it and I don't need it. * rebuild mythtv on my 12-year old notebook locally -- nothing I'd really like to do. * Install qtwebkit in the world set -- I don't like those library packages in the world set * remove those packages requiring qtwebkit explicity, then rebuild mythtv, build package, install on notebook and rebuild/reinstall the removed packages on the buildhost again -- too cumbersome and I have the same problem again at the next update session. And mythtv is not the only package that may cause such problems, so I would have to do this in many different combinations. Is there a better way to solve this? Is it possible to tell mythtv's build system to ignore the unwanted libraries if the xmltv use-flag is NOT set? Regards Alex
Re: [gentoo-user] Realtek r8169 realtek.ko not loaded.
Am Sonntag, 17. Mai 2020, 13:09:44 CEST schrieb Victor Ivanov: > Hi Alexander, > > A while back I had the exact same issue with a remote machine that I am > managing. It has an Asus B45-M mobo with an r8169 chipset. Ever since > the 5.2.x kernel family - where it last used to work - it has been a pain. > > Initially I added a manual "soft" dependency in "/etc/conf.d/modules" as > William has suggested to you with "realtek" appearing first in the list. > But this stopped working following an update to 5.4.x and is still the > case today with the 5.6.x family (I keep testing it once in a while). > > I then decided to build both realtek and r8169 modules into the kernel: > > REALTEK_PHY=y > CONFIG_R8169=y > This worked, and as I found out in an answer for William's mail, it seems to be a problem with genkernel's way to create initrds with embedded busybox. It seems as if busybox does not support softdeps. Regards Alex > It did require a bit of faff as the whole chain of dependencies from > REALTEK_PHY had to be built in as well, but I think that was about 5-6 > kernel options in total. > > Adding it to the ramdisk as William suggests might work too. In my case > I didn't bother trying this due to the fact that every failed attempted > required manual intervention by someone to get the machine booted with > working kernel. > > I have a gut feeling that tells me adding it to the initrd probably > won't work. But if you're planning on trying it, please keep us posted. > I would be very interested in hearing your solution. > > Regards, > V > > On 17/05/2020 09:07, Alexander Puchmayr wrote: > > Hi there > > > > I just upgraded an older notebook with r8169 network chip to new kernel > > 5.4 > > (sys-kernel/gentoo-sources-5.4.28) with genkernel. > > After booting the new kernel the network adapter was not initialized, no > > network interface eth0. > > Dmesg says > > [6.390973] r8169 :08:00.0: realtek.ko not loaded, maybe it needs > > to be added to initramfs? > > [6.392864] r8169: probe of :08:00.0 failed with error -2 > > > > After searching with google I found a thread in the kernel mailing list > > https://bugzilla.kernel.org/show_bug.cgi?id=204343 > > The cause is a soft depencency to module realtek.ko, which needs to be > > loaded first. > > > > Doing this manually, i.e. rmmod r8169 && modprobe realtek && modprobe > > r8169 > > works fine; network interface eth0 gets configured and is operating. > > > > Since the kernel loads the network module before systemd is running, it > > has to be configured in initrd somehow. > > So, the final question is, how to get that into initrd with genkernel? > > I need to add something like this > > > > cat /etc/modprobe.d/realtek > > Softdep r8169 pre: realtek > > > > How do I get this into initrd with genkernel-next? > > > > Thanks in advance > > > > Alex > > > > PS > > Profile: > > default/linux/amd64/17.0/desktop/plasma/systemd > > > > Relevant packages: > > sys-apps/gentoo-systemd-integration-7 > > sys-apps/kmod-26-r5 > > sys-apps/systemd-244.3 > > sys-kernel/genkernel-next-69 > > sys-kernel/gentoo-sources-5.4.28 > > > > Lspci > > 08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. > > RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03)
Re: [gentoo-user] Realtek r8169 realtek.ko not loaded.
Am Sonntag, 17. Mai 2020, 10:24:00 CEST schrieb William Kenworthy: > Easiest would be to put it in /etc/conf.d/modules and rebuild the > initrd. Genkernel picks it up from there. You could also ask genkernel > to add all built modules to the initrd via its config file. > Whats the format of that file? Alex > BillK > > On 17/5/20 4:07 pm, Alexander Puchmayr wrote: > > Hi there > > > > I just upgraded an older notebook with r8169 network chip to new kernel > > 5.4 > > (sys-kernel/gentoo-sources-5.4.28) with genkernel. > > After booting the new kernel the network adapter was not initialized, no > > network interface eth0. > > Dmesg says > > [6.390973] r8169 :08:00.0: realtek.ko not loaded, maybe it needs > > to be added to initramfs? > > [6.392864] r8169: probe of :08:00.0 failed with error -2 > > > > After searching with google I found a thread in the kernel mailing list > > https://bugzilla.kernel.org/show_bug.cgi?id=204343 > > The cause is a soft depencency to module realtek.ko, which needs to be > > loaded first. > > > > Doing this manually, i.e. rmmod r8169 && modprobe realtek && modprobe > > r8169 > > works fine; network interface eth0 gets configured and is operating. > > > > Since the kernel loads the network module before systemd is running, it > > has to be configured in initrd somehow. > > So, the final question is, how to get that into initrd with genkernel? > > I need to add something like this > > > > cat /etc/modprobe.d/realtek > > Softdep r8169 pre: realtek > > > > How do I get this into initrd with genkernel-next? > > > > Thanks in advance > > > > Alex > > > > PS > > Profile: > > default/linux/amd64/17.0/desktop/plasma/systemd > > > > Relevant packages: > > sys-apps/gentoo-systemd-integration-7 > > sys-apps/kmod-26-r5 > > sys-apps/systemd-244.3 > > sys-kernel/genkernel-next-69 > > sys-kernel/gentoo-sources-5.4.28 > > > > Lspci > > 08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. > > RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03) -- Dipl. Ing. Alexander Puchmayr Grundbachstraße 36 4060 Leonding, Österreich
[gentoo-user] Realtek r8169 realtek.ko not loaded.
Hi there I just upgraded an older notebook with r8169 network chip to new kernel 5.4 (sys-kernel/gentoo-sources-5.4.28) with genkernel. After booting the new kernel the network adapter was not initialized, no network interface eth0. Dmesg says [6.390973] r8169 :08:00.0: realtek.ko not loaded, maybe it needs to be added to initramfs? [6.392864] r8169: probe of :08:00.0 failed with error -2 After searching with google I found a thread in the kernel mailing list https://bugzilla.kernel.org/show_bug.cgi?id=204343 The cause is a soft depencency to module realtek.ko, which needs to be loaded first. Doing this manually, i.e. rmmod r8169 && modprobe realtek && modprobe r8169 works fine; network interface eth0 gets configured and is operating. Since the kernel loads the network module before systemd is running, it has to be configured in initrd somehow. So, the final question is, how to get that into initrd with genkernel? I need to add something like this cat /etc/modprobe.d/realtek Softdep r8169 pre: realtek How do I get this into initrd with genkernel-next? Thanks in advance Alex PS Profile: default/linux/amd64/17.0/desktop/plasma/systemd Relevant packages: sys-apps/gentoo-systemd-integration-7 sys-apps/kmod-26-r5 sys-apps/systemd-244.3 sys-kernel/genkernel-next-69 sys-kernel/gentoo-sources-5.4.28 Lspci 08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03)
[gentoo-user] Portage/emerge became extremely slow
Hi there, In the last months I experienced that emerge takes longer and longer to collect all dependencies, sometimes more than 10 to 20 minutes until it asks me whether to install the packages. Today I had a new record. 61min(!) on a i7-Quadcore notebook, 59min user time, i.e. Portage being busy. What is portage doing all the time? It can't be that it takes more than one hour to tell me what packages to install without having installed/compiled one single package! apollo ~ # time emerge -p -avukDN -j2 --verbose-conflicts --keep-going=y -- binpkg-changed-deps --with-bdeps=y --rebuilt-binaries=y --exclude cross- armv7v-hardfloat-linux-gnueabi/glibc world * IMPORTANT: config file '/etc/portage/package.keywords/yapf' needs updating. * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS * sections of the emerge man page to learn how to update config files. These are the packages that would be merged, in order: Calculating dependencies... done! [verbose output messages, packages, conflicts skipped here] * IMPORTANT: 59 news items need reading for repository 'gentoo'. * Use eselect news read to view new items. real61m51,252s user59m5,839s sys 2m45,123s apollo ~ # Regards Alex
Re: [gentoo-user] kstars and indilib
Am Samstag, 8. Dezember 2018, 05:50:59 CET schrieb David Haller: > Hello, > > Just updated the one in the tree in my local overlay, see attached > indilib-1.7.5.ebuild. > Thanks a lot, works fine! But there's still the problem that the stable version of kstars does not check the correct version of indi and compiles a version not supporting it although the use flag has been set. Do you create a bug report for kstars or shall I do it? Alex
Re: [gentoo-user] CPU upgrade and LVM questions.
Am Donnerstag, 6. Dezember 2018, 10:27:31 CET schrieb Dale: > Howdy, > > I mentioned in other threads that I'm doing some upgrades to my system. > My first question is about a CPU upgrade. I currently have this for my > CPU, from cpuinfo: > > AMD Phenom(tm) II X4 955 Processor > > I've bought but not yet installed a FX-8350 CPU. I have this in my > make.conf file: > > CFLAGS="-march=native -O2 -pipe" Compiling the whole system with -march=native might lead to troubles, especially when doing a CPU change. This option means that gcc is determining the type of CPU automatically and adjusts the instruction set used to exactly this CPU. Although, in your case, it is highly likely that your new CPU understands all commands from the old, but I wouldn't bet on it. Its possible that your existing software encounters problems like "illegal instruction" or the like. Very bad if your compiler crashes after CPU replacement, then you cannot emerge anything. I highly recommend using CFLAGS="-O2 -pipe" and nothing more, the performance difference is, if measurable at all, negligible. > USE_CPU="fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov > pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt > pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc > extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic > cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt > nodeid_msr hw_pstate npt lbrv svm_lock nrip_save" > As someone else in this thread already mentioned, USE_CPU is not used. What you're looking for is CPU_FLAGS_X86=..., which defines what cpu-specific options will be enabled for packages supporting it and where it makes sense. See package cpuid2cpuflags for details. Regards Alex
[gentoo-user] kstars and indilib
Hi there, I tried to compile kstars with useflag indi, but the provided version in portage is too old: [build.log from kstars] -- Checking for module 'libindi' -- Found libindi, version 1.6.0 -- INDI version 1.5.0 found in /usr/include/libindi, but at least version 1.7.1 is required -- INDI version 1.5.0 found in /usr/include/libindi, but at least version 1.7.1 is required -- Found INDI: /usr/lib/libindiclient.a, /usr/include/libindi I have no idea why it pretends to find indi-1.5.0, when 1.6 is installed :-( Version 1.6 is currently the only version in portage, which renders the useflag "indi" for kstars useless, as the resulting kstars binary does not support indi. https://indilib.org/download/gentoo.html shows a way to add an overlay, but the repo proposed does not exist anymore. Where do I find a ebuild for installing at least indilib-1.7.1? Regards Alex
Re: [gentoo-user] kdevelop broken (llvm slot issue)
Am Sonntag, 19. August 2018, 17:57:55 CEST schrieb Andrew Udvare: > > I am not having issues with KDevelop with Clang support and I have > everything on the latest version: > > LLVM 6.0.1-r1 libffi ncurses > Clang 6.0.1 +static-analyzer LLVM_TARGETS="AMDGPU BPF NVPTX X86" > KDevelop 5.2.3 gdbui hex plasma qmake welcomepage > kDevelop-php 5.2.3 > kdevelop-python 5.2.3 > Mesa 18.* classic dri3 egl gallium gbm gles2 llvm wayland > Thanks for the quick response. Upgrading to mesa 18 solves the problem. Regards Alex
[gentoo-user] kdevelop broken (llvm slot issue)
Hi there, After recent upgrades of mesa, llvm, clang etc kdevelop does not work anymore. It crashes immediately after start with errors : CommandLine Error: Option 'help-list' registered more than once! LLVM ERROR: inconsistency in registered CommandLine options This issue is covered by bug https://bugs.gentoo.org/651658, which is open since March 2018 and no progress since also March 2018. It seems as if multiple slots of llvm cause the problems. mesa pulls in llvm: 5, while other programs pull in llvm:6 (via clang:6) Does anyone have an idea how to get a working kdevelop again? Regards Alex
Re: [gentoo-user] sddm no longer working
Am Mittwoch, 4. April 2018, 17:20:17 CEST schrieb Jack: > On 2018.04.04 11:14, Alexander Puchmayr wrote: > > Hi there, > > > > After last update, on one machine sddm-0.17.0-r1 no longer does not > > anything anymore. Systemd starts the service, and systemctl status > > shows that the sddm is running, and also ps jax shows a running sddm. > > > > apollo ~ # systemctl status sddm > > ● sddm.service - Simple Desktop Display Manager > > > >Loaded: loaded (/lib/systemd/system/sddm.service; enabled; vendor > > > > preset: disabled) > > > >Active: active (running) since Wed 2018-04-04 16:41:28 CEST; 2s ago > > > > Docs: man:sddm(1) > > > >man:sddm.conf(5) > > > > Main PID: 8350 (sddm) > > > >CGroup: /system.slice/sddm.service > > > >└─8350 /usr/bin/sddm > > > > Apr 04 16:41:28 apollo systemd[1]: Started Simple Desktop Display > > Manager. > > Apr 04 16:41:28 apollo sddm[8350]: Initializing... > > Apr 04 16:41:28 apollo sddm[8350]: Logind interface found > > Apr 04 16:41:28 apollo sddm[8350]: Starting... > > > > But thats all. It does not create a log file (/var/log/sddm.log not > > touched, no entry), it does not start X (no process). It seems like > > sddm is starting and waiting for something I don't know. > > > > Any ideas? > > > > Thanks, > > > > Alex > > Can you start X manually? Is there anything relevant in > /var/log/Xorg.0.log? Yes, I can start X manually, and it seems to work. But sddm does not even start X. > Are all sddm config files OK? I think so. They look the same as before the update (where it worked fine) Alex
[gentoo-user] sddm no longer working
Hi there, After last update, on one machine sddm-0.17.0-r1 no longer does not anything anymore. Systemd starts the service, and systemctl status shows that the sddm is running, and also ps jax shows a running sddm. apollo ~ # systemctl status sddm ● sddm.service - Simple Desktop Display Manager Loaded: loaded (/lib/systemd/system/sddm.service; enabled; vendor preset: disabled) Active: active (running) since Wed 2018-04-04 16:41:28 CEST; 2s ago Docs: man:sddm(1) man:sddm.conf(5) Main PID: 8350 (sddm) CGroup: /system.slice/sddm.service └─8350 /usr/bin/sddm Apr 04 16:41:28 apollo systemd[1]: Started Simple Desktop Display Manager. Apr 04 16:41:28 apollo sddm[8350]: Initializing... Apr 04 16:41:28 apollo sddm[8350]: Logind interface found Apr 04 16:41:28 apollo sddm[8350]: Starting... But thats all. It does not create a log file (/var/log/sddm.log not touched, no entry), it does not start X (no process). It seems like sddm is starting and waiting for something I don't know. Any ideas? Thanks, Alex
Re: [gentoo-user] virtualbox: no x-server after kernel upgrade to 4.12.12-gentoo [SOLVED]
Am Freitag, 15. September 2017, 20:35:03 schrieb Alexander Kapshuk: > On Fri, Sep 15, 2017 at 5:47 PM, Alexander Puchmayr wrote: > [list with log dumps cutted] > > Obviously, something is going terribly wrong here, and I'm getting stuck > > as I > > do not have any Idea where to start. The only thing that changed is a > > kernel > > upgrade and a rebuild of the virtual box modules. > > > > Any ideas? > > > > Thanks in advance, > > > > Alex > > The Gentoo wiki article referenced below emphasizes the fact that certain > kernel config options need enabling in order to have proper hardware > emulation. So you want to make sure you have those enabled in your kernel > config. Then take it from there. > > https://wiki.gentoo.org/wiki/VirtualBox > Thanks for your hint, the kernel config was as it should be (except that I used modules wherever possible). My assumption was that the kernel frame buffer device and X driver conflict and the X server does not load because the kernel frame buffer driver was active. So, I removed the kernel driver by blacklisting vboxvideo $ cat /etc/modprobe.d/blacklist.conf blacklist vboxvideo $ genkernel initramfs [...] $ reboot After reboot: sddm showed a login screen, X was working (with VboxVideo driver), I could log in successfully. Problem solved :-) Thanks to all who spent a thought on this! Regards Alex PS: The question, why a framebuffer device for virtualbox is automatically created just to cause a conflict with X later on, still remains. Do other installations have the same problem?
Re: [gentoo-user] virtualbox: no x-server after kernel upgrade to 4.12.12-gentoo
Am Freitag, 15. September 2017, 10:43:52 schrieb R0b0t1: > On Fri, Sep 15, 2017 at 9:47 AM, Alexander Puchmayr > > wrote: > > Hi there, > > > > I'm using a gentoo-guest inside a virtual box on a Win10 host. The last > > somewhat working combination was kernel 4.4.39/virtualbox-5.1.24. > > > > When I update to kernel 4.12.12, the X-Server does not work anymore (I've > > also tried with 4.9.xx, same result -- no X) > > > > I used genkernel to compile the kernel, copied the previous 4.4.39-config > > from /proc/config.gz to /usr/src/linux-4.12.12-gentoo via zcat, and did > > no further changes; so nothing relevant should be changed, at least to my > > knowledge. > > > > After compilation of the kernel, required packages have been re-emerged: > > - app-emulation/virtualbox-guest-additions > > - x11-drivers/xf86-video-virtualbox > > > > Booting with 4.12.12: > > - sddm crashes with segfaults > > - Starting X from the command line: X complains missing EGL_MESA_drm > > EGL_MESA_drm_image required. > > > > : CommandLine Error: Option 'asan-instrument-assembly' registered more > > : than > > > > once! > > LLVM ERROR: inconsistency in registered CommandLine options > > [??? No idea where this comes from :-( ] > > > > > > cat /var/log/Xorg.0.log > > [ 793.159] (II) LoadModule: "vboxvideo" > > [ 793.159] (II) Loading /usr/lib64/xorg/modules/drivers/vboxvideo_drv.so > > [ 793.159] (II) Module vboxvideo: vendor="Oracle Corporation" > > [ 793.159]compiled for 1.19.3, module version = 1.0.1 > > [ 793.159]Module class: X.Org Video Driver > > [ 793.159]ABI class: X.Org Video Driver, version 23.0 > > [ 793.159] (**) Load address of symbol "VBOXVIDEO" is 0x7f3840a24380 > > [ 793.160] (II) VBoxVideo: guest driver for VirtualBox: vbox > > [ 793.160] (II) modesetting: Driver for Modesetting Kernel Drivers: kms > > [ 793.160] (II) FBDEV: driver for framebuffer: fbdev > > [ 793.160] (II) VESA: driver for VESA chipsets: vesa > > [ 793.160] (II) vboxvideo: kernel driver found, not loading. > > <-- !! [ 793.160] (II) vboxvideo: kernel driver found, not loading. > > [ 793.160] (II) modeset(0): using drv /dev/dri/card0 > > [ 793.160] (II) Loading sub module "glamoregl" > > [ 793.160] (II) LoadModule: "glamoregl" > > [ 793.160] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so > > [ 793.163] (II) Module glamoregl: vendor="X.Org Foundation" > > [ 793.163]compiled for 1.19.3, module version = 1.0.0 > > [ 793.163]ABI class: X.Org ANSI C Emulation, version 0.4 > > [ 793.163] (II) glamor: OpenGL accelerated X.org driver based. > > [ 793.217] (II) glamor: EGL version 1.4 (DRI2): > > [ 793.217] EGL_MESA_drm_image required. > > [ 793.218] (EE) modeset(0): glamor initialization failed > > > > dmesg shows: > > 5.269630] VBoxService 5.1.24 r117012 (verbosity: 0) linux.amd64 (Sep 15 > > 2017 16:09:26) release log > > > > 00:00:00.46 main Log opened > > > > 2017-09-15T15:23:25.22099Z > > [5.269691] 00:00:00.000133 main OS Product: Linux > > [5.269717] 00:00:00.000165 main OS Release: 4.12.12-gentoo > > [5.269740] 00:00:00.000191 main OS Version: #1 SMP Fri Sep 15 > > 15:33:45 CEST 2017 > > [5.269772] 00:00:00.000213 main Executable: /usr/sbin/vboxguest- > > service > > > >00:00:00.000214 main Process ID: 4275 > >00:00:00.000215 main Package type: LINUX_64BITS_GENERIC > > > > (OSE) > > [5.272160] 00:00:00.002532 main 5.1.24 r117012 started. Verbose > > level = 0 > > [7.780006] vboxvideo :00:02.0: fb0: vboxdrmfb frame buffer device > > > > Booting old 4.4.39 kernel[Just select old kernel in grub] > > - sddm shows login screen > > - /var/log/Xorg.0.log shows lots of lines regarding VBoxVideo driver. > > - dmesg does not show the vboxvideo line from above > > > > Obviously, something is going terribly wrong here, and I'm getting stuck > > as I do not have any Idea where to start. The only thing that changed is > > a kernel upgrade and a rebuild of the virtual box modules. > > > > Any ideas? > > Details on this are sparse but you need to run @x11-modules-rebuild > after a kernel upgrade. You may also want to run @module-rebuild > depending on how you rebuilt your kernel. > > https://wiki.gentoo.org/wiki/X_server/upgrade > https://forums.gentoo.org/viewtopic-p-6633091.html > Thanks for the answer! I re-emerged both @x11-modules-rebuild and @module-rebuild, but it did not help a bit. Still the same problem. I assume that the key is the vboxvideo line from dmesg. It registers a framebuffer device fb0, which may cause the Xorg-driver to fail. But I do not know how to disable this, since it comes from the vbox driver module itself. Regards Alex
[gentoo-user] virtualbox: no x-server after kernel upgrade to 4.12.12-gentoo
Hi there, I'm using a gentoo-guest inside a virtual box on a Win10 host. The last somewhat working combination was kernel 4.4.39/virtualbox-5.1.24. When I update to kernel 4.12.12, the X-Server does not work anymore (I've also tried with 4.9.xx, same result -- no X) I used genkernel to compile the kernel, copied the previous 4.4.39-config from /proc/config.gz to /usr/src/linux-4.12.12-gentoo via zcat, and did no further changes; so nothing relevant should be changed, at least to my knowledge. After compilation of the kernel, required packages have been re-emerged: - app-emulation/virtualbox-guest-additions - x11-drivers/xf86-video-virtualbox Booting with 4.12.12: - sddm crashes with segfaults - Starting X from the command line: X complains missing EGL_MESA_drm EGL_MESA_drm_image required. : CommandLine Error: Option 'asan-instrument-assembly' registered more than once! LLVM ERROR: inconsistency in registered CommandLine options [??? No idea where this comes from :-( ] cat /var/log/Xorg.0.log [ 793.159] (II) LoadModule: "vboxvideo" [ 793.159] (II) Loading /usr/lib64/xorg/modules/drivers/vboxvideo_drv.so [ 793.159] (II) Module vboxvideo: vendor="Oracle Corporation" [ 793.159]compiled for 1.19.3, module version = 1.0.1 [ 793.159]Module class: X.Org Video Driver [ 793.159]ABI class: X.Org Video Driver, version 23.0 [ 793.159] (**) Load address of symbol "VBOXVIDEO" is 0x7f3840a24380 [ 793.160] (II) VBoxVideo: guest driver for VirtualBox: vbox [ 793.160] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 793.160] (II) FBDEV: driver for framebuffer: fbdev [ 793.160] (II) VESA: driver for VESA chipsets: vesa [ 793.160] (II) vboxvideo: kernel driver found, not loading. <-- !! [ 793.160] (II) vboxvideo: kernel driver found, not loading. [ 793.160] (II) modeset(0): using drv /dev/dri/card0 [ 793.160] (II) Loading sub module "glamoregl" [ 793.160] (II) LoadModule: "glamoregl" [ 793.160] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so [ 793.163] (II) Module glamoregl: vendor="X.Org Foundation" [ 793.163]compiled for 1.19.3, module version = 1.0.0 [ 793.163]ABI class: X.Org ANSI C Emulation, version 0.4 [ 793.163] (II) glamor: OpenGL accelerated X.org driver based. [ 793.217] (II) glamor: EGL version 1.4 (DRI2): [ 793.217] EGL_MESA_drm_image required. [ 793.218] (EE) modeset(0): glamor initialization failed dmesg shows: 5.269630] VBoxService 5.1.24 r117012 (verbosity: 0) linux.amd64 (Sep 15 2017 16:09:26) release log 00:00:00.46 main Log opened 2017-09-15T15:23:25.22099Z [5.269691] 00:00:00.000133 main OS Product: Linux [5.269717] 00:00:00.000165 main OS Release: 4.12.12-gentoo [5.269740] 00:00:00.000191 main OS Version: #1 SMP Fri Sep 15 15:33:45 CEST 2017 [5.269772] 00:00:00.000213 main Executable: /usr/sbin/vboxguest- service 00:00:00.000214 main Process ID: 4275 00:00:00.000215 main Package type: LINUX_64BITS_GENERIC (OSE) [5.272160] 00:00:00.002532 main 5.1.24 r117012 started. Verbose level = 0 [7.780006] vboxvideo :00:02.0: fb0: vboxdrmfb frame buffer device Booting old 4.4.39 kernel[Just select old kernel in grub] - sddm shows login screen - /var/log/Xorg.0.log shows lots of lines regarding VBoxVideo driver. - dmesg does not show the vboxvideo line from above Obviously, something is going terribly wrong here, and I'm getting stuck as I do not have any Idea where to start. The only thing that changed is a kernel upgrade and a rebuild of the virtual box modules. Any ideas? Thanks in advance, Alex
[gentoo-user] konsole: strange behaviour regarding profile
Hi there, I use to have several different KDE/plasma activities configured, each with different folder view widgets with desktop icons inside for the applications which I use on these activities. Especially, there are some icons with Exec=konsole -e slogin alex@server to have quick access to my server; other icons have root@router, root@server, root@laptop, etc. The strange behaviour is now, when I start konsole from the launcher (i.e. with no -e argument) , it opens a konsole with the last successful login and not, as I expect, on the local system as my current local user. I could even reproduce it by opening the launcher and type konsole -e slogin alex@server As expected, a konsole with login as alex@server is opened. Next, start konsole without any arguments, and slogin alex@server is executed automatically. How can I turn this off and get the behaviour that konsole without -e arguments opens a window with a simple shell at the local machine? Best regards Alex
[gentoo-user] libepoxy fails to compile on arm
Hi there, I'm trying to compile a system for my raspberry 2, and during compiling media-libs/libexpoxy-1.2, I encountered a problem: > libtool: compile: armv7a-hardfloat-linux-gnueabi-gcc -std=gnu99 > -DHAVE_CONFIG_H -I. > -I/var/tmp/portage/media-libs/libepoxy-1.2/work/libepoxy-1.2/src -I.. > -I/var/tmp/portage/media-libs/libepoxy-1.2/work/libepoxy-1.2/include > -I../include -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 > -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs > -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement > -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn > -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit > -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces > -Werror=sequence-point -Werror=return-type -Werror=trigraphs > -Werror=array-bounds -Werror=write-strings -Werror=address > -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast > -fno-strict-aliasing -Wno-int-conversion -fvisibility=hidden -O2 -pipe > -march=armv7-a -mfpu=neon -mfloat-abi=hard -c > /var/tmp/portage/media-libs/libepoxy-1.2/work/libepoxy-1.2/src/dispatch_com > mon.c -fPIC -DPIC -o .libs/dispatch_common.o In file included from > ../include/epoxy/egl_generated.h:10:0, > > from > /var/tmp/portage/media-libs/libepoxy-1.2/work/libepoxy-1.2 > /include/epoxy/egl.h:46, from > /var/tmp/portage/media-libs/libepoxy-1.2/work/libepoxy-1.2 > /src/dispatch_common.h:48,> > from /var/tmp/portage/media- libs/libepoxy-1.2/work/libepoxy-1.2/src/dispatch_glx.c:28: > /usr/include/EGL/eglplatform.h:110:45: fatal error: > interface/vmcs_host/vc_dispmanx.h: No such file or directory> > #include "interface/vmcs_host/vc_dispmanx.h" > > ^ > > compilation terminated. > Makefile:614: recipe for target 'dispatch_glx.lo' failed > make[3]: *** [dispatch_glx.lo] Error 1 > make[3]: *** Waiting for unfinished jobs Obviously, a file interface/vmcs_host/vc_dispmanx.h cannot be found; Searching for it reveals that it is part of media-libs/raspberrypi-userland-0_pre20140117 and installed in /opt/vc/include/interface/vmcs_host/vc_dispmanx.h It seems like it is just a INCLUDEPATH problem, but I have no idea how to add a path to the build process. Thanks for suggestions Alex --
[gentoo-user] DVB-C Technotrend C1501 CI CAM initialization?
Hi there, I just encountered a weird problem with a new TechnoTrend C-1501 DVB-C card with CI module (SAA7146 based). The CAM seems to work fine ONLY if I remove and re-insert the whole CI module after booting. When I don't do that, I cannot receive any program (could not try non-encrypted channels since my provider encrypts all digital channels). After re-inserting the card, everything works as it should. Since the computer is not permanently powered on, and the back of the computer is hard to access, this is a very unsatisfying condition; Is there a way to re-initialize the module after rebooting or any other way to simulate re-insertion of it by software? Tech details: Linux version 3.17.7-gentoo (root@artemis) (gcc version 4.7.3 (Gentoo 4.7.3-r1 p1.4, pie-0.5.5) ) #1 SMP PREEMPT Tue Dec 30 16:58:13 CET 2014 (Gentoo-kernel, no further patches applied) artemis linux # qlist -Iv dvb media-libs/libdvb-0.5.5.1-r3 virtual/linuxtv-dvb-headers-5.8 artemis linux # dmesg [relevant parts] [5.322053] saa7146: found saa7146 @ mem c9072c00 (revision 1, irq 21) (0x13c2,0x101a) [5.322055] saa7146 (0): dma buffer size 192512 [5.322057] DVB: registering new adapter (TT-Budget C-1501 PCI) [5.341385] adapter has MAC addr = 00:d0:5c:cd:8e:15 [5.373142] Registered IR keymap rc-tt-1500 [5.373225] input: Budget-CI dvb ir receiver saa7146 (0) as /devices/pci:00/:00:14.4/:04:06.0/rc/rc0/input13 [5.373269] rc0: Budget-CI dvb ir receiver saa7146 (0) as /devices/pci:00/:00:14.4/:04:06.0/rc/rc0 [5.373342] budget_ci: CI interface initialised [5.410959] budget_ci dvb :04:06.0: DVB: registering adapter 0 frontend 0 (Philips TDA10023 DVB-C)... [9.374382] dvb_ca adapter 0: DVB CAM detected and initialised successfully [ 373.441786] dvb_ca adapter 0: DVB CAM detected and initialised successfully The first line is right after booting, the second after re-inserting the CI- module. Thanks Alexander Puchmayr
Re: [gentoo-user] duplicate HD drives
On Freitag, 12. September 2014, 15:53:19 Joseph wrote: > I have two identical HD in a box and want to duplicate sda to sdb OK, do you want to copy just the boot sector or clone the whole disk with all data on it? > I want sdb to be bootable just in case something happens to sda so I can > swap the drives and boot. > > Do I boot from USB and run: > dd if=/dev/sda of=/dev/sdb bs=512 count=1 > If you want to copy *all* data, why stop after one block? Omit the "count=1" and clone the whole disk. BTW: It might go a little faster of you increase the block size, lets say bs=4096. > fdisk -l /dev/sda > > Disk /dev/sda: 596.2 GiB, 640135028736 bytes, 1250263728 sectors > Units: sectors of 1 * 512 = 512 bytes > Sector size (logical/physical): 512 bytes / 512 bytes > I/O size (minimum/optimal): 512 bytes / 512 bytes > Disklabel type: dos > Disk identifier: 0x000f2548 > > DeviceBoot StartEndBlocks Id System > /dev/sda1 * 63 80324 40131 83 Linux > /dev/sda2 80325 16868249 8393962+ 82 Linux swap / Solaris > /dev/sda3 16868250 121740569 52436160 83 Linux > /dev/sda4 121740570 1250258624 564259027+ 83 Linux > > fdisk -l /dev/sdb > > Disk /dev/sdb: 596.2 GiB, 640133946880 bytes, 1250261615 sectors > Units: sectors of 1 * 512 = 512 bytes > Sector size (logical/physical): 512 bytes / 512 bytes > I/O size (minimum/optimal): 512 bytes / 512 bytes
Re: [gentoo-user] mount.nfs stale nfs handle [SOLVED]
Am Sonntag, 29. Juni 2014, 21:34:07 schrieb Alexander Puchmayr: > Hi there, > > After upgrading my server to latest stable release of gentoo, none of my > clients is able to mount any nfs share from the server anymore. > > Symptoms: > $ mount -v -t nfs poseidon:/datadisk/ /mnt/gentoo/ > mount.nfs: timeout set for Sun Jun 29 19:33:40 2014 > mount.nfs: trying text-based options > 'vers=4,addr=192.168.1.6,clientaddr=192.168.1.2' > mount.nfs: mount(2): Protocol not supported > mount.nfs: trying text-based options 'addr=192.168.1.6' > mount.nfs: prog 13, trying vers=3, prot=6 > mount.nfs: trying 192.168.1.6 prog 13 vers 3 prot TCP port 2049 > mount.nfs: prog 15, trying vers=3, prot=17 > mount.nfs: trying 192.168.1.6 prog 15 vers 3 prot UDP port 60058 > mount.nfs: mount(2): Stale NFS file handle > mount.nfs: trying text-based options > 'vers=4,addr=192.168.1.6,clientaddr=192.168.1.2' > mount.nfs: mount(2): Protocol not supported > mount.nfs: trying text-based options 'addr=192.168.1.6' > mount.nfs: prog 13, trying vers=3, prot=6 > mount.nfs: trying 192.168.1.6 prog 13 vers 3 prot TCP port 2049 > mount.nfs: prog 15, trying vers=3, prot=17 > mount.nfs: trying 192.168.1.6 prog 15 vers 3 prot UDP port 60058 > mount.nfs: mount(2): Stale NFS file handle > [...] > mount.nfs: Connection timed out > $ > [...] The important hint I finally found after searching for hours: > http://www.mmacleod.ca/blog/2014/02/nfs-exports-and-xfss-inode64-mount-option/ Thanks to the guy who wrote it! The key is that * I'm exporting more than one different (sub-)directories on the same filesystem * For some reason it gets confused with the uuid/fsid; Can't find the page where I found that anymore :-( * the actual device the exported filesystem resides on is /dev/md127 and not /dev/md0 as I originally wanted. Since I did not regard the number, I ignored this fact, but I also found hints that this might cause the problem of the previous point. The suggested solution was to add a *unique* fsid=xx entry to the exports file for each directory exported, so that it looks like: /etc/exports: /datadisk/music 192.168.1.0/24(rw,no_subtree_check,fsid=1) /datadisk/video 192.168.1.0/24(rw,no_subtree_check,fsid=2) /datadisk/backup192.168.1.0/24(ro,no_subtree_check,fsid=3) ... If the same fsid is used more than once then the first directory with this fsid will be mounted! So using *different* fsids for each exported directory is essential!!! So, my NFS works now as it should! Thanks to all who spent a thought on it! Alex
Re: [gentoo-user] mount.nfs stale nfs handle
Yes. Both client and server have the actual version. Alex Gesendet mit AquaMail für Android http://www.aqua-mail.com Am 30. Juni 2014 09:30:01 schrieb Joost Roeleveld : On Sunday 29 June 2014 22:48:32 Alexander Puchmayr wrote: > Am Sonntag, 29. Juni 2014, 20:41:55 schrieb Neil Bothwick: > > On Sun, 29 Jun 2014 21:34:07 +0200, Alexander Puchmayr wrote: > > > After upgrading my server to latest stable release of gentoo, none of > > > my clients is able to mount any nfs share from the server anymore. > > > > [snip] > > > > > Server has kernel version 3.12.21-gentoo-r1and net-fs/nfs-utils-1.2.9 > > > installed. As both clients and server are not accessable from outside, > > > no firewalls are installed. > > > > That's not the latest nfs-utils in stable, it is 1.2.9-r3. > > This morning it was masked; OK, emerge --sync && emerge nfs-utils. > After restarting all nfs relevant services it is still the same :-( Just to confirm, did you update nfs-utils on both systems? -- Joost !DSPAM:506,53b10f55576434764113543!
Re: [gentoo-user] mount.nfs stale nfs handle
Am Sonntag, 29. Juni 2014, 20:41:55 schrieb Neil Bothwick: > On Sun, 29 Jun 2014 21:34:07 +0200, Alexander Puchmayr wrote: > > After upgrading my server to latest stable release of gentoo, none of > > my clients is able to mount any nfs share from the server anymore. > > [snip] > > > Server has kernel version 3.12.21-gentoo-r1and net-fs/nfs-utils-1.2.9 > > installed. As both clients and server are not accessable from outside, > > no firewalls are installed. > > That's not the latest nfs-utils in stable, it is 1.2.9-r3. > This morning it was masked; OK, emerge --sync && emerge nfs-utils. After restarting all nfs relevant services it is still the same :-( > Are you using openrc or systemd? There was a problem with some > systemd service files in recent nfs-utils releases, fixed now. I'm using openrc. Alex
[gentoo-user] mount.nfs stale nfs handle
Hi there, After upgrading my server to latest stable release of gentoo, none of my clients is able to mount any nfs share from the server anymore. Symptoms: $ mount -v -t nfs poseidon:/datadisk/ /mnt/gentoo/ mount.nfs: timeout set for Sun Jun 29 19:33:40 2014 mount.nfs: trying text-based options 'vers=4,addr=192.168.1.6,clientaddr=192.168.1.2' mount.nfs: mount(2): Protocol not supported mount.nfs: trying text-based options 'addr=192.168.1.6' mount.nfs: prog 13, trying vers=3, prot=6 mount.nfs: trying 192.168.1.6 prog 13 vers 3 prot TCP port 2049 mount.nfs: prog 15, trying vers=3, prot=17 mount.nfs: trying 192.168.1.6 prog 15 vers 3 prot UDP port 60058 mount.nfs: mount(2): Stale NFS file handle mount.nfs: trying text-based options 'vers=4,addr=192.168.1.6,clientaddr=192.168.1.2' mount.nfs: mount(2): Protocol not supported mount.nfs: trying text-based options 'addr=192.168.1.6' mount.nfs: prog 13, trying vers=3, prot=6 mount.nfs: trying 192.168.1.6 prog 13 vers 3 prot TCP port 2049 mount.nfs: prog 15, trying vers=3, prot=17 mount.nfs: trying 192.168.1.6 prog 15 vers 3 prot UDP port 60058 mount.nfs: mount(2): Stale NFS file handle [...] mount.nfs: Connection timed out $ [Poseidon is my server at 192.168.1.6, the client is at 192.168.1.2] Server disk to be exported is a ~9TB raid array with XFS. I'm using nfs3 with ACL and no idmapd; nfs4+ is not compiled into kernel (neither on client nor on server); Why it is trying nfs4 first as seen in the log above I don't know. nfs-utils has been compiled with USE=-nfsv4 Server has kernel version 3.12.21-gentoo-r1and net-fs/nfs-utils-1.2.9 installed. As both clients and server are not accessable from outside, no firewalls are installed. What I checked: /etc/exports: /datadisk 192.168.1.0/24(rw,async,subtree_check) portmapper, nfs-services are running normal, as far I can see. Does anyone have any suggestion? Thanks, Alex
Re: [gentoo-user] GRUB isn't working on SSD
On Sonntag, 29. Juni 2014, 13:02:12 João Matos wrote: > 2014-06-29 10:48 GMT-03:00 Alan McKinnon : > > On 29/06/2014 14:17, João Matos wrote: > > > Dear list, > > > > > > After finishing the configuration, my gentoo was working very well. So, > > > the last step was to create a stage4, and replace my old hd. > > > > > > I did it, installed grub lecacy in chroot. No error reported during the > > > installation. My /boot isn't a separated partition, and my root fs is > > > ext4, just like before. Everything is the same but the ssd. > > > > > > I tried the grub2, but I had the same result. I don't think grub is the > > > problem, and I don't see need to change it, since I have just gentoo on > > > my machine. > > > > > > what do you say? > > > > does grub find your ssd device at all? > > > > yes. In fact the grub is working pretty well. But nothing is showed. Just > > black screen. but my system is booting, even I cant see the menu. > Have you tried grub2-mkconfig -o /boot/grub/grub.cfg ? Alex
Re: [gentoo-user] kde-misc/synaptiks crashes immediately [SOLVED]
Thanks for the reply. strace showed very detailed the last syscalls before the SIGSEV: [pid 21801] sendmsg(9, {msg_name(0)=NULL, msg_iov(2)=[{"l\4\1\1\0\0\0\0\3\0\0\0X\0\0\0\1\1o\0\23\0\0\0/StatusNotifierItem\0\0\0\0\0\2\1s\0\32\0\0\0org.kde.StatusNotifierItem\0\0\0 \0\0\0\3\1s\0\7\0\0\0NewIcon\0", 104}, {"", 0}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 104 [pid 21801] --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x8} --- and file descriptor 9 was connected to dbus. Well, but this did not show WHERE it crashed. Next try was ltrace, but ltrace cannot be applied on python scripts (no ELF). Finally, I checked the dependencies, and starting with pykde4 seemed to be a good idea. Recompiled it with "USE=debug" and "CXXFLAGS=-O2 -g", and voila, synaptiks worked without a problem. Hmmm. So, recompiled pykde with the normal options, and it still worked. Very strange, since I ran revdep-rebuild and pyhton-updater after the world upgrade ... Note@self: Maybe updating/re-emerging PyQt4 and pykde4 is worth the time, even if its not neccessary. However, it seems to work now. Best regards Alex Am Samstag, 22. März 2014, 17:19:14 schrieb Tom Wijsman: > On Sat, 22 Mar 2014 16:47:23 +0100 > > Alexander Puchmayr wrote: > > Symptom: > > Start synaptiks configuration module, get immedeately DrKonqi crash > > report (trace attached, likely not much useful since I disabled debug > > flags) Start either from kde systemsettings or konsole; the latter > > gives > > > > alex@prometheus /datadisk/home/alex $ synaptiks > > Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: > > reading configurations from ~/.fonts.conf is deprecated. > > KCrash: Application 'synaptiks' crashing... > > KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from > > kdeinit sock_file=/homedisk/alex/.kde4/socket-prometheus/kdeinit4__0 > > unnamed app(17763): Communication problem with "synaptiks" , it > > probably crashed. > > Error message was: "org.freedesktop.DBus.Error.NoReply" : " "Message > > did not receive a reply (timeout by message bus)" " > > > > Any ideas what could go wrong? > > The crash would reveal what is wrong; therefore, I suggest you to > recompile the libraries of those packages with debug flags. > > See http://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces > > Besides that, you might be able to use strace and/or ltrace (with -f > parameter; if needed, increase the -s parameter) to see what happens > under the hood. > > I'm suspecting you'll find the cause by inspecting both; because as > the trace mixes in evaluation of a Python script, you might need to use > strace and/or ltrace to discover which Python script this is. > > A next step could be to use a debugger on that Python script if the > trace, strace and/or ltrace are insufficient to reveal the cause. > > When you have found the cause, can you file the details in a bug at > https://bugs.gentoo.org such that the maintainers are aware of this? > > Thank you very much in advance. -- Dipl. Ing. Alexander Puchmayr Grundbachstraße 36 4060 Leonding, Österreich
[gentoo-user] kde-misc/synaptiks crashes immediately
Hi there, since the last world upgrade last week synaptiks no longer works on my laptop. x11-drivers/xf86-input-synaptics-1.7.1 kde-misc/synaptiks-0.8.1-r2 kde-base/kde-meta-4.11.5 dev-lang/python-2.7.5-r3 dev-lang/python-3.3.3 Symptom: Start synaptiks configuration module, get immedeately DrKonqi crash report (trace attached, likely not much useful since I disabled debug flags) Start either from kde systemsettings or konsole; the latter gives alex@prometheus /datadisk/home/alex $ synaptiks Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated. KCrash: Application 'synaptiks' crashing... KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit sock_file=/homedisk/alex/.kde4/socket-prometheus/kdeinit4__0 unnamed app(17763): Communication problem with "synaptiks" , it probably crashed. Error message was: "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" " Any ideas what could go wrong? Thanks, Alex Application: synaptiks (synaptiks), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [KCrash Handler] #5 0x7fca426060fb in ?? () from /usr/lib64/qt4/libQtCore.so.4 #6 0x7fca4260bb53 in QObject::connect(QObject const*, char const*, QObject const*, char const*, Qt::ConnectionType) () from /usr/lib64/qt4/libQtCore.so.4 #7 0x7fca3a8c3f44 in KActionCollection::addAction(QString const&, QAction*) () from /usr/lib64/libkdeui.so.5 #8 0x7fca3b208855 in ?? () from /usr/lib64/python2.7/site-packages/PyKDE4/kdeui.so #9 0x7fca46533dae in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 #10 0x7fca46535535 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 #11 0x7fca46533af1 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 #12 0x7fca46535535 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 #13 0x7fca464c107c in ?? () from /usr/lib64/libpython2.7.so.1.0 #14 0x7fca4649b363 in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0 #15 0x7fca464aa11f in ?? () from /usr/lib64/libpython2.7.so.1.0 #16 0x7fca4649b363 in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0 #17 0x7fca464f1aa6 in ?? () from /usr/lib64/libpython2.7.so.1.0 #18 0x7fca464f1708 in ?? () from /usr/lib64/libpython2.7.so.1.0 #19 0x7fca4649b363 in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0 #20 0x7fca4653282a in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 #21 0x7fca46535535 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 #22 0x7fca464c107c in ?? () from /usr/lib64/libpython2.7.so.1.0 #23 0x7fca4649b363 in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0 #24 0x7fca464aa11f in ?? () from /usr/lib64/libpython2.7.so.1.0 #25 0x7fca4649b363 in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0 #26 0x7fca4652e517 in PyEval_CallObjectWithKeywords () from /usr/lib64/libpython2.7.so.1.0 #27 0x7fca401fee82 in ?? () from /usr/lib64/python2.7/site-packages/sip.so #28 0x7fca3fdfbfdd in ?? () from /usr/lib64/python2.7/site-packages/PyQt4/QtCore.so #29 0x7fca3b060aa6 in sipKUniqueApplication::newInstance() () from /usr/lib64/python2.7/site-packages/PyKDE4/kdeui.so #30 0x7fca3a9d4712 in ?? () from /usr/lib64/libkdeui.so.5 #31 0x7fca3a9d4788 in ?? () from /usr/lib64/libkdeui.so.5 #32 0x7fca3a9d48c9 in ?? () from /usr/lib64/libkdeui.so.5 #33 0x7fca41edda41 in ?? () from /usr/lib64/qt4/libQtDBus.so.4 #34 0x7fca41ede47f in ?? () from /usr/lib64/qt4/libQtDBus.so.4 #35 0x7fca41edee03 in ?? () from /usr/lib64/qt4/libQtDBus.so.4 #36 0x7fca41edeefb in ?? () from /usr/lib64/qt4/libQtDBus.so.4 #37 0x7fca4260fd6e in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4 #38 0x7fca3e545864 in QApplication::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #39 0x7fca3b06b3a3 in sipKUniqueApplication::event(QEvent*) () from /usr/lib64/python2.7/site-packages/PyKDE4/kdeui.so #40 0x7fca3e53bccc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #41 0x7fca3e53fa91 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #42 0x7fca3a9d12c6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5 #43 0x7fca3b06b44e in sipKUniqueApplication::notify(QObject*, QEvent*) () from /usr/lib64/python2.7/site-packages/PyKDE4/kdeui.so #44 0x7fca425f2a6e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4 #45 0x7fca425f5e11 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4 #46 0x7fca42626c23 in ?? () from /usr/lib64/qt4/libQtCore.so.4 #47 0x7fca408f43f5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #48 0x7fca408f4748 in ?? () from /usr/li
Re: [gentoo-user] KDE nepomuk memory usage
On Freitag, 27. Dezember 2013, 00:42:06 Alan McKinnon wrote: > What column in htop shows that number? > > top, htop, and all their friends do not display what most people assume > they display. Modern OSes (for more than a decade now) manage memory in > a way that makes it impossible to answer "how much memory is this app > using?" > > If you are looking at the VIRT column, just ignore it, that column is > practically useless for most rational viewings of {h,}top I know, the VIRT column shows the size of the virtual adress space of the process, and this has nothing to do with the real, physical amount of memory allocated. The RES column shows the resident memory, i.e. those pages actually in use and kept in memory, exclusive those pages swapped out. This column shows currently 1185M (after rebooting this morning) Best regards Alex
[gentoo-user] Thunderbird folder structure on Imap servers inconsistent
Hi there, I'm trying out some mail clients with Imap support, and when using thunderbird (v24.2, latest version in stable gentoo tree) I encountered several problems regarding imap server consistency: Folders which I already deleted still appear (marked in itallic grey color in TB's folder list) Some folders appear multiple times (e.g. I have a folders like Mailinglists + Gentoo + users where all the mail from this forum goes to. This is consistent with the filesystem on my Imap server (dovecot). But, additionally, the 'Gentoo' subfolder appears in top level again (with all its other subfolders as well), and the 'users' folder appears again in top level a third time. Furthermore, when I select an unread mail in 'Mailinglists/Gentoo/users', the counter of unread mail decreases in the top level copy. Does anyone have similar experiences? Best regards, Alex
Re: [gentoo-user] kde 4.11.2, akonadi & Kmail2 problems (retrieving folder contents please wait)
On Donnerstag, 26. Dezember 2013, 14:02:13 Alan McKinnon wrote: > On 25/12/2013 16:19, Mick wrote: > +1 > > I ran into this too in the kde-4.4 era (when kmail2 was showing first > signs of being releasable) and I honestly have not seen any signs since > that the kmail devs have any clue at all. This mailing list has many > stories of folks experiencing data loss when they just follow the > instructions. I know, and I think one of them was mine ... However, I always were able to fix it in away so I could live with it, but if a piece of software does not allow you to do what it is ment to do, it becomes a useless waste of bytes. So I had to restore from backup, which showed me two things: 1) My backup works (yeah !!) 2) I should have restored *all* user data as well, because: akonadi's mail filter agent stores in its config only a numerical id of a directory where to put the filtered mails to ('Move to folder') instead of its name. When recreating the database, it messed up these numbers, so the filters put the mail into the wrong folders. Hence, it *requires* that both the fiter- configfile *and* the database must be kept *syncronous*. Unless you have a database+filesystem which can handle modifications in one *single* transaction, this is IMHO a bad idea, and AFAIK no such combination exists so far. > > Nowadays I use Tbird and all issues just go away. > I tried Tbird as well, but it has also serious problems keeping the folders synchronized. See my next mail I'm writing to this forum. > It's unbelievable the chaos kamil2 can inflict on a system, and the > worst is that everything they do is a complete 100% already-solved > system, there's nothing new in it - it does mail and contacts plus a few > other bits! Classic case of 2nd major project syndrome (read mythical > man Month if you don't get the reference) Well, I think the idea behind akonadi is not that bad, but some times I have the impression that the implementation is either incomplete or buggy or highly inefficient.
[gentoo-user] KDE nepomuk memory usage
Hi there, How many memory is reasonable for virtuoso to use? I just had a view via htop, and I was surprised to see virtuoso-t processes occupying more than 1.5 GB (!), althoug there is a maximum of 128MB defined. Memory leak? Versions involved: dev-db/virtuoso-server-6.1.6 kde-base/kde-meta-4.10.5 Best regards Alex
Re: [gentoo-user] Chmod Failed
On Mittwoch, 25. Dezember 2013, 12:37:27 Silvio Siefke wrote: > Hello, > > On Wed, 25 Dec 2013 11:49:53 +0400 > > the wrote: > > ls -al would be helpful > > ks3374456 tmp # ls -la > insgesamt 12 > drwxrwxrwt 3 rootroot4096 25. Dez 05:49 . > drwxr-xr-x 9 rootroot4096 10. Dez 07:47 .. > -rw-r--r-- 1 rootroot 0 10. Dez 07:47 .keep > drwsr-x--- 3 portage portage 4096 25. Dez 05:51 portage > > /mnt/gentoo/i686/var/tmp/portage/sys-apps/dbus-1.6.12/image > ks3374456 image # ls -la > insgesamt 20 > drwxr-xr-x 5 rootroot4096 25. Dez 05:51 . > drwxrwxr-x 8 portage portage 4096 25. Dez 05:51 .. > drwxr-xr-x 5 rootroot4096 25. Dez 05:51 etc > drwxr-xr-x 7 rootroot4096 25. Dez 05:51 usr > drwxr-xr-x 4 rootroot4096 25. Dez 05:51 var > > ks3374456 dbus-1.6.12 # ls -la image/usr/libexec/ > insgesamt 396 > drwxr-xr-x 2 root root 4096 25. Dez 05:51 . > drwxr-xr-x 7 root root 4096 25. Dez 05:51 .. > -rwsr-x--- 1 root messagebus 396834 25. Dez 05:51 dbus-daemon-launch-helper > > ks3374456 dbus-1.6.12 # chmod 4750 > image/usr/libexec/dbus-daemon-launch-helper chmod: Beim Setzen der > Zugriffsrechte für „image/usr/libexec/dbus-daemon-launch-helper“: Keine > Berechtigung > > Which users are involved? I assume you are emerging as root, and you have been doing you manual modification as root as well. Just a guess: as part of the emerge-command, chmod may be called as user 'portage', who does not have the right to change modifications of this file. Just another guess: have a look at your /etc/portage/make.conf, and check the FEATURES variable. If it contains 'userpriv', remove it and try again. Best regards Alex
Re: [gentoo-user] kde 4.11.2, akonadi & Kmail2 problems (retrieving folder contents please wait)
On Donnerstag, 26. Dezember 2013, 14:02:13 Alan McKinnon wrote: > On 25/12/2013 16:19, Mick wrote: > +1 > > I ran into this too in the kde-4.4 era (when kmail2 was showing first > signs of being releasable) and I honestly have not seen any signs since > that the kmail devs have any clue at all. This mailing list has many > stories of folks experiencing data loss when they just follow the > instructions. I know, and I think one of them was mine ... However, I always were able to fix it in away so I could live with it, but if a piece of software does not allow you to do what it is ment to do, it becomes a useless waste of bytes. So I had to restore from backup, which showed me two things: 1) My backup works (yeah !!) 2) I should have restored *all* user data as well, because: akonadi's mail filter agent stores in its config only a numerical id of a directory where to put the filtered mails to ('Move to folder') instead of its name. When recreating the database, it messed up these numbers, so the filters put the mail into the wrong folders. Hence, it *requires* that both the fiter- configfile *and* the database must be kept *syncronous*. Unless you have a database+filesystem which can handle modifications in one *single* transaction, this is IMHO a bad idea, and AFAIK no such combination exists so far. > > Nowadays I use Tbird and all issues just go away. > I tried Tbird as well, but it has also serious problems keeping the folders synchronized. See my next mail I'm writing to this forum. > It's unbelievable the chaos kamil2 can inflict on a system, and the > worst is that everything they do is a complete 100% already-solved > system, there's nothing new in it - it does mail and contacts plus a few > other bits! Classic case of 2nd major project syndrome (read mythical > man Month if you don't get the reference) Well, I think the idea behind akonadi is not that bad, but some times I have the impression that the implementation is either incomplete or buggy or highly inefficient.
[gentoo-user] Thunderbird folder structure on Imap servers inconsistent
Hi there, I'm trying out some mail clients with Imap support, and when using thunderbird (v24.2, latest version in stable gentoo tree) I encountered several problems regarding imap server consistency: Folders which I already deleted still appear (marked in itallic grey color in TB's folder list) Some folders appear multiple times (e.g. I have a folders like Mailinglists + Gentoo + users where all the mail from this forum goes to. This is consistent with the filesystem on my Imap server (dovecot). But, additionally, the 'Gentoo' subfolder appears in top level again (with all its other subfolders as well), and the 'users' folder appears again in top level a third time. Furthermore, when I select an unread mail in 'Mailinglists/Gentoo/users', the counter of unread mail decreases in the top level copy. Does anyone have similar experiences? Best regards, Alex
[gentoo-user] akonadi, imap mail folders don't appear when created
Hi there, When I create a subfolder at top level of my imap account with kmail2, it does not appear in kmail. Versions involved: kde-base/kontact-4.10.5 kde-base/kmail-4.10.5 app-office/akonadi-server-1.9.2 kde-base/akonadiconsole-4.10.5 Strangly, I appears after a while on my second system (my laptop), but not on the desktop where I created it. Sometimes, also sub-folders are not shown properly when created. I tried reloading the imap data, stopping&starting akonadi-servers, even re- login or reboot did not help. The only thing that really helped was removing the imap-agent from akonadi and re-installing it. It takes a long time until all akonadi/kmail/mysql/nepomuk/virtuoso-processes are finished with their job and you can do something useful with your computer again. Best regards Alex
Re: [gentoo-user] how to create a multi-page PDF
On Mittwoch, 25. Dezember 2013, 18:25:54 Philip Webb wrote: > I have a set of images of pages of a printed article, which I scanned ; > there are jpg & pdf versions . I want to concatenate them into 1 pdf . > I used to use 'pdftk', but it required Java, which I don't want. > I can import the jpg's into LO Impress & create a slide-show pdf, > but is there any simpler method ? Do you have imagemagick installed? You may use convert to do so, e.g. convert page1.jpg page2.jpg ... output.pdf you may want to set the density (-density option) or the size of the final pages. See the man page for details. Best regards. Alex
[gentoo-user] KDE nepomuk memory usage
Hi there, How many memory is reasonable for virtuoso to use? I just had a view via htop, and I was surprised to see virtuoso-t processes occupying more than 1.5 GB (!), althoug there is a maximum of 128MB defined. Memory leak? Versions involved: dev-db/virtuoso-server-6.1.6 kde-base/kde-meta-4.10.5 Best regards Alex
Re: [gentoo-user] Chmod Failed
On Mittwoch, 25. Dezember 2013, 12:37:27 Silvio Siefke wrote: > Hello, > > On Wed, 25 Dec 2013 11:49:53 +0400 > > the wrote: > > ls -al would be helpful > > ks3374456 tmp # ls -la > insgesamt 12 > drwxrwxrwt 3 rootroot4096 25. Dez 05:49 . > drwxr-xr-x 9 rootroot4096 10. Dez 07:47 .. > -rw-r--r-- 1 rootroot 0 10. Dez 07:47 .keep > drwsr-x--- 3 portage portage 4096 25. Dez 05:51 portage > > /mnt/gentoo/i686/var/tmp/portage/sys-apps/dbus-1.6.12/image > ks3374456 image # ls -la > insgesamt 20 > drwxr-xr-x 5 rootroot4096 25. Dez 05:51 . > drwxrwxr-x 8 portage portage 4096 25. Dez 05:51 .. > drwxr-xr-x 5 rootroot4096 25. Dez 05:51 etc > drwxr-xr-x 7 rootroot4096 25. Dez 05:51 usr > drwxr-xr-x 4 rootroot4096 25. Dez 05:51 var > > ks3374456 dbus-1.6.12 # ls -la image/usr/libexec/ > insgesamt 396 > drwxr-xr-x 2 root root 4096 25. Dez 05:51 . > drwxr-xr-x 7 root root 4096 25. Dez 05:51 .. > -rwsr-x--- 1 root messagebus 396834 25. Dez 05:51 dbus-daemon-launch-helper > > ks3374456 dbus-1.6.12 # chmod 4750 > image/usr/libexec/dbus-daemon-launch-helper chmod: Beim Setzen der > Zugriffsrechte für „image/usr/libexec/dbus-daemon-launch-helper“: Keine > Berechtigung > > Which users are involved? I assume you are emerging as root, and you have been doing you manual modification as root as well. Just a guess: as part of the emerge-command, chmod may be called as user 'portage', who does not have the right to change modifications of this file. Just another guess: have a look at your /etc/portage/make.conf, and check the FEATURES variable. If it contains 'userpriv', remove it and try again. Best regards Alex
[gentoo-user] kde 4.11.2, akonadi & Kmail2 problems (retrieving folder contents please wait)
Hi there, On Monday I upgraded from kde-4.10.5 to kde-4.11.2 (the latest release marked as 'amd64' on gentoo), but I had serious problems with kmail2: * I could not open any of my mail, kmail is always showing "Retrieving folder contents please wait". Didn't show up after more than one hour. * some akonadi process, kontact and mysqld kept more than two CPUS permanently busy. Consequently, I haven't been able to read my mail :-( I tried: * Restarting the akonadi resource for my local mailbox. No effekt. * Re-creating the databases by moving ~.local/share/akonadi to akonadi.orig Akonadi recreated its database successfully, but at the end the same result. * Akonadi-console: The debugger shows so many entries per second that I could barely read them. Frequent hangs for a couple of minutes (thought it died, so I killed it, but then I saw it just had a very large timeout) Then I had to restore 4.10.5 from the backup. Now, some of my mail folders got messed up (Mails moved into wrong folders) Filters are messed up (rules to move to specific folders suddenyl point to different folders -- that explains the mails in wrong folders ... ) Is there a way to re-initialize akonadi without risking to lose data and without having to recreate each and every rule I made? Best regards Alex
Re: [gentoo-user] Re: Anyone installed x11-drivers/ati-drivers recently? (Fails to download)
On Friday 22 November 2013, 17:20:36 walt wrote: > On 11/22/2013 10:56 AM, Alexander Puchmayr wrote: > > Hi there, > > > > I have no clue why downloading ati-drivers fails. I always get redirected > > to http://support.amd.com/en-us/download/incomplete > > no matter what version of ati-drivers I want to install. > > Problems like that are sometimes caused by gentoo mirror servers that > are having technical problems. > > Are you having similar trouble with any other packages? > No > You can specify your preferred mirrors by adding a line like this to > your make.conf file: > > GENTOO_MIRRORS="http://gentoo.oregonstate.edu > http://www.ibiblio.org/pub/linux/distributions/gentoo"; > Thanks for the suggestion. I installed netselect, changed the mirrors and now it works :-) Alex
[gentoo-user] Anyone installed x11-drivers/ati-drivers recently? (Fails to download)
Hi there, I have no clue why downloading ati-drivers fails. I always get redirected to http://support.amd.com/en-us/download/incomplete no matter what version of ati-drivers I want to install. Alex
Re: [gentoo-user] [SOLVED] All KDE-related programs don't play music anymore
Hi, I remember to have accidently started amarok via ssh on my notebook (wrong console window), with DISPLAY on my desktop. This seems to have scrapped phonon-config and/or pulseaudio config on both systems. After having removed these files (.pulse/ and .kde4/share/config/phonondevicesrc) on both systems, amarok played my music as expected. Thanks to all who answered me. Best Regards Alex On Monday 16 September 2013, 13:37:37 Alexander Puchmayr wrote: > Hi there, > > I've got a somewhat strange problem, which occurs on both my laptop and my > desktop-pc, both running gentoo. From one day to the other, all KDE-based > music/media player don't start playing music anymore. > I've tried Amarok, Kaffeine and Juk, and all of them seem to hang when > starting any kind of music file (mp3/flac/wma). But, strangly, kaffeine > plays videos with sound without a problem. Also, other programs (non-kde), > for example audacity and xine, play mp3 files properly. > In kde's system settings, the phonon configuration dialog play its test > sounds properly. > > Any ideas? Any idea why it affects two different systems pretty much at the > same time? Any idea why it worked yesterday morning and started to have > troubles yesterday evening, without having changed anything in the system? > > BTW: dmesg shows a lot of lines that might be relevant: > [21219.855176] traps: alsa-sink[12956] general protection ip:7f08486569f2 > sp:7f083fff6b70 error:0 in libasound.so.2.0.0[7f084860+ea000] > one per attempt to play anything in amarok. > > Best regards > Alex > > > > !DSPAM:506,5237149d673921892913720!
[gentoo-user] All KDE-related programs don't play music anymore
Hi there, I've got a somewhat strange problem, which occurs on both my laptop and my desktop-pc, both running gentoo. From one day to the other, all KDE-based music/media player don't start playing music anymore. I've tried Amarok, Kaffeine and Juk, and all of them seem to hang when starting any kind of music file (mp3/flac/wma). But, strangly, kaffeine plays videos with sound without a problem. Also, other programs (non-kde), for example audacity and xine, play mp3 files properly. In kde's system settings, the phonon configuration dialog play its test sounds properly. Any ideas? Any idea why it affects two different systems pretty much at the same time? Any idea why it worked yesterday morning and started to have troubles yesterday evening, without having changed anything in the system? BTW: dmesg shows a lot of lines that might be relevant: [21219.855176] traps: alsa-sink[12956] general protection ip:7f08486569f2 sp:7f083fff6b70 error:0 in libasound.so.2.0.0[7f084860+ea000] one per attempt to play anything in amarok. Best regards Alex
Re: [gentoo-user] Re: nvidia-drivers segfault when starting X
On Friday 02 August 2013 02:38:37 Nikos Chantziaras wrote: > On 01/08/13 23:02, Alexander Puchmayr wrote: > > Hi there, > > > > When I start X (or start kdm), I get a segmentation fault and no X. > > > >[...] > > > > Kernel 3.8.18, nvidia-drivers 304.88 (Last to support the GeForce7600, > > newer drivers do not support it any more). > > > > Any ideas? > > Try manually rolling your own ebuild for 307.83. This is the latest > version for your card, but unfortunately it's not in portage. 304.88 > are a year old. > Thanks for the suggestion, but do you have a link for downloading the *.run file from nvidia? I can't find one on ftp://download.nvidia.com :-( Alex
Re: [gentoo-user] [SOLVED] Re: nvidia-drivers segfault when starting X
On Friday 02 August 2013 02:38:37 Nikos Chantziaras wrote: > On 01/08/13 23:02, Alexander Puchmayr wrote: > > Hi there, > > > > When I start X (or start kdm), I get a segmentation fault and no X. > > > >[...] > > > > Kernel 3.8.18, nvidia-drivers 304.88 (Last to support the GeForce7600, > > newer drivers do not support it any more). > > > > Any ideas? > > Try manually rolling your own ebuild for 307.83. This is the latest > version for your card, but unfortunately it's not in portage. 304.88 > are a year old. > A BIOS upgrade for my Asus F2A55-M MoBo to version 6402 solved the problem. Thanks to all who spent a thought on it Alex
[gentoo-user] nvidia-drivers segfault when starting X
Hi there, When I start X (or start kdm), I get a segmentation fault and no X. The Xorg-log says: [ 8675.702] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32 [ 8675.702] (==) NVIDIA(0): RGB weight 888 [ 8675.702] (==) NVIDIA(0): Default visual is TrueColor [ 8675.702] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0) [ 8675.702] (**) NVIDIA(0): Option "TwinViewOrientation" "LeftOf" [ 8675.703] (**) NVIDIA(0): Option "AddARGBGLXVisuals" [ 8675.703] (**) NVIDIA(0): Option "UseEvents" "false" [ 8675.703] (**) NVIDIA(0): Enabling 2D acceleration [ 8676.186] (II) NVIDIA(GPU-0): Display (Samsung SyncMaster (DFP-0)) does not support NVIDIA [ 8676.186] (II) NVIDIA(GPU-0): 3D Vision stereo. [ 8676.253] (II) NVIDIA(GPU-0): Display (Eizo L565 (DFP-1)) does not support NVIDIA 3D Vision [ 8676.253] (II) NVIDIA(GPU-0): stereo. [ 8676.255] (II) NVIDIA(0): NVIDIA GPU GeForce 7600 GT (G73) at PCI:1:0:0 (GPU-0) [ 8676.255] (--) NVIDIA(0): Memory: 262144 kBytes [ 8676.255] (--) NVIDIA(0): VideoBIOS: 05.73.22.18.00 [ 8676.255] (II) NVIDIA(0): Detected PCI Express Link width: 16X [ 8676.255] (--) NVIDIA(0): Interlaced video modes are supported on this GPU [ 8676.255] (--) NVIDIA(0): Valid display device(s) on GeForce 7600 GT at PCI:1:0:0 [ 8676.255] (--) NVIDIA(0): CRT-0 [ 8676.255] (--) NVIDIA(0): CRT-1 [ 8676.255] (--) NVIDIA(0): TV-0 [ 8676.255] (--) NVIDIA(0): Samsung SyncMaster (DFP-0) (connected) [ 8676.255] (--) NVIDIA(0): Eizo L565 (DFP-1) (connected) [ 8676.255] (--) NVIDIA(0): CRT-0: 400.0 MHz maximum pixel clock [ 8676.255] (--) NVIDIA(0): CRT-1: 400.0 MHz maximum pixel clock [ 8676.255] (--) NVIDIA(0): TV-0: 400.0 MHz maximum pixel clock [ 8676.255] (--) NVIDIA(0): TV encoder: Unknown [ 8676.255] (--) NVIDIA(0): Samsung SyncMaster (DFP-0): 330.0 MHz maximum pixel clock [ 8676.255] (--) NVIDIA(0): Samsung SyncMaster (DFP-0): Internal Dual Link TMDS [ 8676.255] (--) NVIDIA(0): Eizo L565 (DFP-1): 165.0 MHz maximum pixel clock [ 8676.255] (--) NVIDIA(0): Eizo L565 (DFP-1): Internal Single Link TMDS [ 8676.255] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display [ 8676.255] (**) NVIDIA(0): device Samsung SyncMaster (DFP-0) (Using EDID frequencies [ 8676.255] (**) NVIDIA(0): has been enabled on all display devices.) [ 8676.255] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display [ 8676.255] (**) NVIDIA(0): device Eizo L565 (DFP-1) (Using EDID frequencies has been [ 8676.255] (**) NVIDIA(0): enabled on all display devices.) [ 8676.255] (II) NVIDIA(0): Validated MetaModes: [ 8676.255] (II) NVIDIA(0): "DFP-0:nvidia-auto-select,DFP-1:nvidia-auto- select" [ 8676.255] (II) NVIDIA(0): Virtual screen size determined to be 3200 x 1200 [ 8676.256] (WW) NVIDIA(0): Unable to support custom viewPortOut 1920 x 1080 +0 +60 [ 8676.256] (WW) NVIDIA(0): Unable to support custom viewPortOut 1920 x 1080 +0 +60 [ 8676.256] (--) NVIDIA(0): DPI set to (93, 95); computed from "UseEdidDpi" X config [ 8676.256] (--) NVIDIA(0): option [ 8676.256] (**) NVIDIA(0): Enabling 32-bit ARGB GLX visuals. [ 8676.256] (--) Depth 24 pixmap format is 32 bpp [ 8676.262] (II) NVIDIA(0): Setting mode "DFP-0:nvidia-auto- select,DFP-1:nvidia-auto-select" [ 8676.286] (EE) [ 8676.286] (EE) Backtrace: [ 8676.286] (EE) 0: X (xorg_backtrace+0x34) [0x5cd634] [ 8676.286] (EE) 1: X (0x40+0x1d1ca9) [0x5d1ca9] [ 8676.286] (EE) 2: /lib64/libpthread.so.0 (0x7fe689cb+0x10810) [0x7fe689cc0810] [ 8676.286] (EE) 3: /usr/lib64/xorg/modules/drivers/nvidia_drv.so (0x7fe6840d8000+0x11643b) [0x7fe6841ee43b] [ 8676.286] (EE) 4: /usr/lib64/xorg/modules/drivers/nvidia_drv.so (0x7fe6840d8000+0x72773) [0x7fe68414a773] [ 8676.286] (EE) 5: /usr/lib64/xorg/modules/drivers/nvidia_drv.so (0x7fe6840d8000+0xeaa01) [0x7fe6841c2a01] [ 8676.286] (EE) 6: /usr/lib64/xorg/modules/drivers/nvidia_drv.so (0x7fe6840d8000+0xe30e4) [0x7fe6841bb0e4] [ 8676.286] (EE) 7: /usr/lib64/xorg/modules/drivers/nvidia_drv.so (0x7fe6840d8000+0xe3820) [0x7fe6841bb820] [ 8676.286] (EE) 8: /usr/lib64/xorg/modules/drivers/nvidia_drv.so (0x7fe6840d8000+0x9447b) [0x7fe68416c47b] [ 8676.286] (EE) 9: /usr/lib64/xorg/modules/drivers/nvidia_drv.so (0x7fe6840d8000+0x8fedb) [0x7fe684167edb] [ 8676.286] (EE) 10: /usr/lib64/xorg/modules/drivers/nvidia_drv.so (0x7fe6840d8000+0xde8f6) [0x7fe6841b68f6] [ 8676.286] (EE) 11: /usr/lib64/xorg/modules/drivers/nvidia_drv.so (0x7fe6840d8000+0x56f6bb) [0x7fe6846476bb] [ 8676.286] (EE) 12: /usr/lib64/xorg/modules/drivers/nvidia_drv.so (0x7fe6840d8000+0x5609f1) [0x7fe6846389f1] [ 8676.286] (EE) 13: X (AddScreen+0x75) [0x43ddb5] [ 8676.286] (EE) 14: X (InitOutput+0x3ec) [0x48b20c] [ 8676.286] (EE) 15: X (0x40+0x29910) [0x429910] [ 8676.286] (EE) 16: /lib64/libc.so.6 (__libc_start_main+0xec) [0x7fe68890a4cc] [ 8676.286] (EE) 17: X (0x40+0x2a22d) [0x42a22d] [ 8676.286] (EE) [ 8676.28
Re: [gentoo-user] Experiences with amd richland or trinity APUs?
On Mittwoch, 24. Juli 2013, 20:40:36 Jason Weisberger wrote: > I've been running a mobile A8 quad core with a 6000 series GPU for about a > year under 3.x kernels and open source x.org[1] drivers. Not a hiccup. OK, thanks for the replies so far. I'll try the A10 ... Alex
[gentoo-user] Experiences with amd richland or trinity APUs?
Hi there, I'm thinking of bying a quad-core cpu, preferably an amd cpu because they are significantly cheaper than intel ones. The actual models are A8 (trinity, RD 7560D GPU) and A10 (richland RD 8570D GPU), or a plain AthlonIIx4 (no GPU). My question is: Are these GPUs supported properly under linux? Does anyone have experiences with them? Thanks, Alex
Re: [gentoo-user] k3b burning BD-Disk pretends to fail at 99.99%
On Mittwoch, 10. Juli 2013, 10:36:08 Joerg Schilling wrote: > Thomas Schmitt wrote: > > Hi, > > > > rdalek1...@gmail.com wrote: > > > Maybe one of these ideas floating around will help the OP. > > > > One big problem is the substantial price of BD-R experiments. > > Well, I am not sure whether you noticed: the OP seems to have turned several > BD-Rs into coasters already. I cannot speak for other people, but I did not > ruin a single BD using cdrecord. > > Jörg Actually, the burnt BDs where readable and contained the expected content. Maybe the problem is when closing the session or writing some kind of lead- out, or the like. However, I can mount them and read them. Alex
Re: [gentoo-user] k3b burning BD-Disk pretends to fail at 99.99%
On Mittwoch, 10. Juli 2013, 01:26:18 Dale wrote: > Thomas Schmitt wrote: > > Hi, > > > > paul...@andor.dropbear.id.au wrote: > >>> "Settings" -> "Configure K3b" -> "Programs" > > > > michaelkintz...@gmail.com wrote: > >> This just displays what's there. I can't change any of the listed > >> programs > >> from this screen. > > > > So one should rather repair growisofs. > > It is not a big deal. > > > > > > Have a nice day :) > > > > Thomas > > I wonder if he can unmerge growisofs? Or at least remove the file. > I just made a simple test by renaming growisofs and then attemting to create a BD-RE disk (Re-recordables are nice, sine non-RW media don't grow in my garden ;-) Result: k3b complained that it cannot find growisofs and that it won't be possible to create DVDs. I tried to create a BD, so I continued, selected approximately 17GB of my foto-disk, and tried to write them. Immediately, k3b's write-disk dialog showed that mkisofs cannot find growisofs and then "mkisofs has crashed". It was worth a try, but it didn't work. Alex PS: app-cdr/cdrtools-3.00 app-cdr/dvd+rw-tools-7.1-r1
Re: [gentoo-user] k3b burning BD-Disk pretends to fail at 99.99%
On Sonntag, 7. Juli 2013, 17:19:30 Paul Hartman wrote: > On Sat, Jul 6, 2013 at 11:33 AM, Alexander Puchmayr > > wrote: > > I just burned all my pictures from my last vacation on a blueray-disk > > using > > k3b, and for no apparent reason it stoped at 99.8% and complained an error > > (I/O error). I checked the logs (see attached file), but could not find a > > hint. I compared each and every file on the disk with its original, but > > yould not find any problem. > > Maybe it is same as described in this bug: > > https://bugs.kde.org/show_bug.cgi?id=255483 > > I don't use k3b but I know when I burn a 25GB disc image using > growisofs, I have to disable the spare sectors otherwise it won't fit > on the disc, and it burns all the way until the end where it fails, > rather than "knowing" ahead of time that it won't fit. > Don't think so, since the media I've burnt were 10G and 22G large. Alex
Re: [gentoo-user] k3b burning BD-Disk pretends to fail at 99.99%
On Samstag, 6. Juli 2013, 23:55:52 Joerg Schilling wrote: [...] > > > > Any ideas what could have gone wrong? > > It is interesting that there is no error message in the output from your > attachment. > > k3b should usew cdrecord instead of growisofs in case that cdrecord is > installed. Is cdrecord missing or why did k3b use growisofs? > > Did you explicitely try cdrecord? > Hi, cdrecord is installed, I have no idea why k3b chose to use growisofs for creating the >10G isofs. I did not try cdrecord (How can I change which programs k3b uses?) Alex
[gentoo-user] k3b burning BD-Disk pretends to fail at 99.99%
Hi there, I just burned all my pictures from my last vacation on a blueray-disk using k3b, and for no apparent reason it stoped at 99.8% and complained an error (I/O error). I checked the logs (see attached file), but could not find a hint. I compared each and every file on the disk with its original, but yould not find any problem. dmesg shows this 26762.496981] warning: `growisofs' uses 32-bit capabilities (legacy support in use) [27681.802889] ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen [27681.802903] sr 4:0:0:0: [sr0] CDB: [27681.802905] cdb[0]=0x28: 28 00 00 00 00 10 00 00 01 00 [27681.802929] ata5.00: cmd a0/01:00:00:00:08/00:00:00:00:00/a0 tag 0 dma 2048 in res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x4 (timeout) [27681.802934] ata5.00: status: { DRDY } [27681.802942] ata5: hard resetting link [27683.026713] ata5: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [27683.033633] ata5.00: configured for UDMA/133 [27683.046777] ata5: EH complete I tried with a second BD-Media, but got the same result. Any ideas what could have gone wrong? Best regards Alex k3b-error.txt.tar.gz Description: application/compressed-tar
Re: [gentoo-user] How to get raid
On Wednesday 04 January 2012 11:57:18 Jeff Cranmer wrote: > Hi all, > > I have recently built a new system, running Gentoo on a Sabertooth 990FX > motherboard. The board has a raid controller on which I'm running a > 120GB solid state drive for the OS (Raid 0) and a set of three 1.5TB > drives which were previously running as a RAID5 array. > > I can see the sda 120GB drive and have installed the operating system on > that. I can't see one device for the three disk RAID5 array, even > though the RAID BIOS reports it as a healthy 3TB disk. Instead I see > three separate devices, sdb, sdc and sdd > > What do I need to do to mount the 3TB RAID disk? I'm running genkernel, > and compiled it with genkernel --dmraid all. It should already have > data on it, if I can only get gentoo to recognise it. > > I can see the RAID controller when I use lspci > > 00:11.0 RAID bus controller: ATI Technologies Inc SB7x0,SB8x0,SB9x0 SATA > Controller [RAID5 mode] (rev 40) > > One possible clue may be in dmesg, where I get the error > device-mapper: table: 253:0: raid45: unknown target type > The first question is: What type of raid are you using? a) Software-Raid created with mdadm & co b) Hardware-Controller based raid. While in the first case you see all individual disks with their partitions and a /dev/mdX entry that actually contains the raid failsystem, the second one shows only a /dev/sdX holding the final raid drive. Additionally, for the hardware based raid, you'll need a driver for the controller that supports the raid5. I think this is the configuration you're trying to run, since you mentioned that you created your raid in the RAID BIOS. I'm not sure (I've never tried this) whether there is a driver for Linux supporting raid modes on board-embedded HW raid controllers. Alex
Re: [gentoo-user] Running out of space on /var partition
Depending on your available ram and swap space, you might want to mount /var/tmp/portage as tmpfs. My fstab entry shows none/var/tmp/portagetmpfs size=10g,nr_inodes=1m I have 4GB ram, and the speed benefit especially for open/libre-office is quite impressive. The advantage is, that it a) uses only as much of memory as is really used b) you may use mount option -remount to increase the size of the filesystem, and add proper swapfiles if you see that you're running out of space (mkswap, swapon) Greetings, Alex Am Montag, 25. Juli 2011, 12:02:34 schrieb Mick: > After some deliberation I've started emerging libreoffice. It gave the > usual office suite warnings at the beginning that there isn't enough space > in /var (I have 5.8G and it was asking for more than 7G+). > > Half way through the emerge I noticed that I have only 74M left and is > going down fast! O_O > > OpenOffice was able to emerge in the past using this partition size without > a problem. I've flushed logs and what not to free some space, but I'm > thinking of extending the partition somehow. I don't run LVM on this > machine so that's not a solution for this circumstance. > > Is there anything I can do with mount --rbind and could I do this in the > middle of an emerge? I have another partition with loads of space in it, > but it has a different fs on it (reiser4 instead of /var's ext4).
Re: [gentoo-user] kdevelop-3.5.4 && avahi && qt3-useflag
Am Sonntag 21 März 2010 15:51:22 schrieb Dale: > Don't file it on b.g.o. tho. Subscribe to the desktop mailing list and > post it there. There are some kde-sunset people on there that will see > it and fix it with whatever is needed. The kde-sunset is not Gentoo > maintained. > The thing I really dislike is when files get changed and no revision update is made. I'm not talking about trivial changes like typos or the like. I'm talking about feature changes and other modifications which cause things to break. We both had avahi-0.6.24-r2 installed, but the ebuilds were different, had different behaviour and one was causing problems. This shall NEVER happen!! Greetings Alex
Re: [gentoo-user] kdevelop-3.5.4 && avahi && qt3-useflag
Am Sonntag 21 März 2010 14:29:22 schrieb Dale: > Alexander Puchmayr wrote: > > Hi there! > > > > I just wanted to emerge dev-util/kdevelop-3.5.4-r1 from kde-sunset, which > > failed because kde-misc/kdnssd-avahi-0.1.2-r1 fails to compile due to: > > > > * ERROR: kde-misc/kdnssd-avahi-0.1.2-r1 failed: > > * net-dns/avahi-0.6.24-r2 does not actually support the qt3 USE flag! > > > > I get this on mine: > > [ebuild R ] net-dns/avahi-0.6.24-r2 USE="dbus gdbm gtk ipv6 > mdnsresponder-compat python qt3 qt4 -autoipd -bookmarks -doc > -howl-compat -mono -test" 0 kB [1] > > It lists both the qt3 and qt4 USE flag on here. Actually, mine was > apparently installed with it since it shows it is not changing. You > sure you don't have a setting somewhere that is stopping this? Maybe > package.use or something. After wondering how it comes that your ebuild with the same version and revision is different to mine, I had a look to the machine where it worked some weeks ago, and voila: diff /var/db/pkg/net-dns/avahi-0.6.24-r2/avahi-0.6.24-r2.ebuild /usr/portage/net-dns/avahi/avahi-0.6.24-r2.ebuild 1c1 [...] 16c16 < IUSE="bookmarks howl-compat mdnsresponder-compat gdbm dbus doc mono gtk python qt3 qt4 autoipd kernel_linux test ipv6" --- > IUSE="bookmarks howl-compat mdnsresponder-compat gdbm dbus doc mono gtk python qt4 autoipd kernel_linux test ipv6" 22d21 < qt3? ( x11-libs/qt:3 ) 56c55 < $(use_enable qt3) \ --- > --disable-qt3 \ It seems as if somebody has silently changed the ebuild and forgot to increase the revision counter... I think I have to file a bug report Greetings, Alex
[gentoo-user] kdevelop-3.5.4 && avahi && qt3-useflag
Hi there! I just wanted to emerge dev-util/kdevelop-3.5.4-r1 from kde-sunset, which failed because kde-misc/kdnssd-avahi-0.1.2-r1 fails to compile due to: * ERROR: kde-misc/kdnssd-avahi-0.1.2-r1 failed: * net-dns/avahi-0.6.24-r2 does not actually support the qt3 USE flag! The situation is quite a deadlock, because avahi doesn't support the qt3 useflag anymore, and the dependency for kdnssd-avahi comes through kdelibs, which selects either avahi or mdnsresponder depending on its avahi-useflag. Removing avahi for kdelibs is not possible, as it results in blocking packages (avahi and mdnsresponder cannot be installed at the same time), and removing avahi-support entirely for the whole system is a thing I really don't want to do. So, I'm stuck now, I can't install kdevelop-3.5.4 due to use-flag problems which are entirely irrelevant for kevelop :-( Thanks for suggestions Alex
Re: [gentoo-user] Skype && pulseaudio [SOLVED]
Am Dienstag 23 Februar 2010 13:48:29 schrieb Mike Mazur: > Hi, > > > Usually the pavucontrol app does this. When a call starts, open > pavucontrol (or Applications -> Sound & Video -> PulseAudio Volume > Control), find your Skype call in the Streams list, right-click and > pick the device you want that call to use. > Aaaahh! The trick is to start a call (echo123 for example), then use pavucontrol. Then you see the skype-specific streams which you can re-assign. > As the note at the bottom of the Streams tab says, this appears to > only modify the output device, not the input device. That would > explain why Skype stubbornly continued to use only the built-in mic in > my case. > > Hope that helps, Yes, that solved the problem :-) Thanks a lot! Alex
Re: [gentoo-user] Skype && pulseaudio
Am Montag 22 Februar 2010 17:42:22 schrieb David: > Alexander Puchmayr wrote: > > Just tried this tool, but it seems to be a complete failure. Just gives a > > box with "connection refused", but no information what it tries to > > connect to. The pulseaudio-deamon itself is running, and I can connect to > > it via pacmd without any problem. > > > > Alex > I really don't know what was going on yesterday, but after getting rid of the ~/.pulse directory and logging out and in again, this particular problem vanished. NB: I started the deamon as user, not as root. > I don't use it system wide, here are the guides I used; > http://forums.gentoo.org/viewtopic-t-789181-highlight-pulseaudio.html > http://pulseaudio.org/wiki/PerfectSetup > The original problem is still not solved: How do I tell pulseaudio that the sound from application XX shall go to device YY ??? Alex
Re: [gentoo-user] Skype && pulseaudio
Am Montag 22 Februar 2010 10:48:37 schrieb David Abbott: > On Mon, 2010-02-22 at 08:38 +0100, Alexander Puchmayr wrote: > > Hi there! > > > > The 2.1.x-Version of Skype seems to use pulseaudio if it finds a > > pulsaudio- deamon running, and doesn't allow to chose the audio device in > > this case. > > > > What I want to have is very simple: > > * Ringtone and any other sound produced by skype shall go to the internal > > sound device with loudspeakers connected > > * Audiostream for talking to someone shall go to the USB-Headset. > > > > How do I configure this? > > > > What I've tried so far: > > * pacmd shows skype as single client. I couldn't find a way to redirect > > it to the headset > > * I've installed padevchoser, but it only allows me to change the default > > device, and the setting seems to be ignored by skype. > > > > Thanks > > Alex > > Did you try pavucontrol and select your input and output devices? > Just tried this tool, but it seems to be a complete failure. Just gives a box with "connection refused", but no information what it tries to connect to. The pulseaudio-deamon itself is running, and I can connect to it via pacmd without any problem. Alex
[gentoo-user] Skype && pulseaudio
Hi there! The 2.1.x-Version of Skype seems to use pulseaudio if it finds a pulsaudio- deamon running, and doesn't allow to chose the audio device in this case. What I want to have is very simple: * Ringtone and any other sound produced by skype shall go to the internal sound device with loudspeakers connected * Audiostream for talking to someone shall go to the USB-Headset. How do I configure this? What I've tried so far: * pacmd shows skype as single client. I couldn't find a way to redirect it to the headset * I've installed padevchoser, but it only allows me to change the default device, and the setting seems to be ignored by skype. Thanks Alex