You are not logged in.

#1 2011-09-23 11:48:29

k3njiy
Member
Registered: 2011-05-15
Posts: 7

[Solved] KDE4 Apps don't start and Pulseaudio broken after update

Hi,
I hope I'm posting in the correct forum.

So, I updated my arch and since then somehow the whole system seems broken.
Right-click on desktop crashes the desktop (everything, nothing works, have to change to tty1 to reboot), starting dolphin, systemstettings or konversation doesn't work (nothing happens, icon bounces around a bit and thats it. starting it via console doesn't result in any usefull output, matter of fact no output at all...)
And also pulseaudio stopped working. (Just saw that it seems to be working again after I deleted ~/.pulse*, can't test it though since I'm at university...)

My pacman log:

[2011-09-21 14:12] upgraded gparted (0.9.0-3 -> 0.9.1-1)
[2011-09-23 10:57] Running 'pacman -Syu'
[2011-09-23 10:57] synchronizing package lists
[2011-09-23 10:58] starting full system upgrade
[2011-09-23 11:02] upgraded chromium (14.0.835.163-1 -> 14.0.835.186-1)
[2011-09-23 11:02] upgraded flashplugin (10.3.183.7-1 -> 10.3.183.10-1)
[2011-09-23 11:02] upgraded kde-agent (20110602-1 -> 20110922-1)
[2011-09-23 11:02] >>> Updating module dependencies. Please wait ...
[2011-09-23 11:02] >>> Generating initial ramdisk, using mkinitcpio.  Please wait...
[2011-09-23 11:02] ==> Building image from preset: 'default'
[2011-09-23 11:02]   -> -k /boot/vmlinuz-linux-ck -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-ck.img
[2011-09-23 11:02] ==> Starting build: 3.0-ck
[2011-09-23 11:02]   -> Parsing hook: [base]
[2011-09-23 11:02]   -> Parsing hook: [udev]
[2011-09-23 11:02]   -> Parsing hook: [autodetect]
[2011-09-23 11:02]   -> Parsing hook: [pata]
[2011-09-23 11:02]   -> Parsing hook: [scsi]
[2011-09-23 11:02]   -> Parsing hook: [sata]
[2011-09-23 11:02]   -> Parsing hook: [filesystems]
[2011-09-23 11:02]   -> Parsing hook: [usbinput]
[2011-09-23 11:02] ==> Generating module dependencies
[2011-09-23 11:02] ==> Creating gzip initcpio image: /boot/initramfs-linux-ck.img
[2011-09-23 11:02] 7305 blocks
[2011-09-23 11:02] ==> Image generation successful
[2011-09-23 11:02] ==> Building image from preset: 'fallback'
[2011-09-23 11:02]   -> -k /boot/vmlinuz-linux-ck -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-ck-fallback.img -S autodetect
[2011-09-23 11:02] ==> Starting build: 3.0-ck
[2011-09-23 11:02]   -> Parsing hook: [base]
[2011-09-23 11:02]   -> Parsing hook: [udev]
[2011-09-23 11:02]   -> Parsing hook: [pata]
[2011-09-23 11:02]   -> Parsing hook: [scsi]
[2011-09-23 11:02]   -> Parsing hook: [sata]
[2011-09-23 11:02]   -> Parsing hook: [filesystems]
[2011-09-23 11:03]   -> Parsing hook: [usbinput]
[2011-09-23 11:03] ==> Generating module dependencies
[2011-09-23 11:03] ==> Creating gzip initcpio image: /boot/initramfs-linux-ck-fallback.img
[2011-09-23 11:03] 23420 blocks
[2011-09-23 11:03] ==> Image generation successful
[2011-09-23 11:03] upgraded linux-ck-pentm (3.0.4-1 -> 3.0.4-2)
[2011-09-23 11:03] upgraded linux-ck-pentm-headers (3.0.4-1 -> 3.0.4-2)
[2011-09-23 11:03] upgraded sdl (1.2.14-8 -> 1.2.14-9)
[2011-09-23 11:03] upgraded virtuoso (6.1.3-1 -> 6.1.3-2)

My rc.conf:

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# DAEMON_LOCALE: If set to 'yes', use $LOCALE as the locale during daemon
# startup and during the boot process. If set to 'no', the C locale is used.
# HARDWARECLOCK: set to "", "UTC" or "localtime", any other value will result
#   in the hardware clock being left untouched (useful for virtualization)
#   Note: Using "localtime" is discouraged, using "" makes hwclock fall back
#   to the value in /var/lib/hwclock/adjfile
# TIMEZONE: timezones are found in /usr/share/zoneinfo
#   Note: if unset, the value in /etc/localtime is used unchanged
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.UTF-8"
DAEMON_LOCALE="no"
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Zurich"
KEYMAP="de-latin1-nodeadkeys"
CONSOLEFONT="default8x16"
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MODULES: Modules to load at boot-up. Blacklisting is no longer supported.
#   Replace every !module by an entry as on the following line in a file in
#   /etc/modprobe.d:
#     blacklist module
#   See "man modprobe.conf" for details.
#
MODULES=(tp_smapi bfq_iosched thinkpad_ec thinkpad_acpi hdaps acpi-cpufreq fuse cpufreq_performance cpufreq_ondemand cpufreq_conservative cpufreq_powersave cpufreq_userspace)
#bfq_iosched

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MODULES: Modules to load at boot-up. Blacklisting is no longer supported.
#   Replace every !module by an entry as on the following line in a file in
#   /etc/modprobe.d:
#     blacklist module
#   See "man modprobe.conf" for details.
#
MODULES=(tp_smapi bfq_iosched thinkpad_ec thinkpad_acpi hdaps acpi-cpufreq fuse cpufreq_performance cpufreq_ondemand cpufreq_conservative cpufreq_powersave cpufreq_userspace)
#bfq_iosched
# Udev settle timeout (default to 30)
UDEV_TIMEOUT=30

# Scan for FakeRAID (dmraid) Volumes at startup
USEDMRAID="no"

# Scan for BTRFS volumes at startup
USEBTRFS="no"

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------

# Scan for FakeRAID (dmraid) Volumes at startup
USEDMRAID="no"

# Scan for BTRFS volumes at startup
USEBTRFS="no"

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="thinkpad"

# Use 'ip addr' or 'ls /sys/class/net/' to see all available interfaces.
#
# Wired network setup
#   - interface: name of device (required)
#   - address: IP address (leave blank for DHCP)
#   - netmask: subnet mask (ignored for DHCP) (optional, defaults to 255.255.255.0)
#   - broadcast: broadcast address (ignored for DHCP) (optional)
#   - gateway: default route (ignored for DHCP)
#
# Static IP example
#
HOSTNAME="thinkpad"

# Use 'ip addr' or 'ls /sys/class/net/' to see all available interfaces.
#
# Wired network setup
#   - interface: name of device (required)
#   - address: IP address (leave blank for DHCP)
#   - netmask: subnet mask (ignored for DHCP) (optional, defaults to 255.255.255.0)
#   - broadcast: broadcast address (ignored for DHCP) (optional)
#   - gateway: default route (ignored for DHCP)
#
# Static IP example
# interface=eth0
# address=192.168.0.2
# netmask=255.255.255.0
# broadcast=192.168.0.255
# gateway=192.168.0.1
#
# DHCP example
# interface=eth0
# address=
# netmask=
# gateway=

#interface=eth0
#address=
#netmask=

#broadcast=
#gateway=

# Setting this to "yes" will skip network shutdown.
# This is required if your root device is on NFS.
NETWORK_PERSIST="no"

# Enable these netcfg profiles at boot-up. These are useful if you happen to
# need more advanced network features than the simple network service
# supports, such as multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
# If something other takes care of your hardware clock (ntpd, dual-boot...)
# you should disable 'hwclock' here.
#
DAEMONS=(dbus hwclock @hdapsd @verynice laptop-mode acpid @gpm @syslog-ng !network networkmanager !netfs @mysqld @crond @avahi-daemon @osspd @ulatencyd)

And also my rc.local:

#!/bin/bash
#
# /etc/rc.local: Local multi-user startup script.
#

#create optical symlinks 
ln -s /dev/sr0 /dev/cdrom
ln -s /dev/sr0 /dev/cdrw
ln -s /dev/sr0 /dev/dvd
ln -s /dev/sr0 /dev/dvdrw

#Enable BFQ for precompiled kernel26-ck from the unofficial repository
TID=$(date +%c)
KERN=$(uname -r | cut -d"-" -f2)
if [ "$KERN" == 'ck' ]; then
modprobe bfq-iosched
echo bfq > /sys/block/sda/queue/scheduler
echo "$TID $(uname -r) with $KERN patch so started bfq for sda" >> /var/log/bfq.log
else
echo "$TID $(uname -r) no bfq loaded" >> /var/log/bfq.log
fi

#Fix Dropbox file monitoring problem
echo 100000 | tee /proc/sys/fs/inotify/max_user_watches

Can anyone please help me? I just can't seem to find a solution.

Thank you!

Greetings

k3njiy

UPDATE: I suspect it has something to do with dbus or policykit, then again I hardly know anything about dbus nor policykit...
UPDATE2: Pulseaudio selected the dummy device, sound still doesn't work, also since I can't start KDE Systemsetting I can't change it and I don't want to go mess around in the config files of a broken KDE installation...

Last edited by k3njiy (2011-09-30 10:37:41)

Offline

#2 2011-09-23 13:57:17

k3njiy
Member
Registered: 2011-05-15
Posts: 7

Re: [Solved] KDE4 Apps don't start and Pulseaudio broken after update

Dbus became the main suspect:

klauncher(1824) kdemain: No DBUS session-bus found. Check if you have started the DBUS server. 
kdeinit4: Communication error with launcher. Exiting!
kdmgreet(1804)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed:  "Not connected to D-Bus server"

But dbus is installed and also in my daemons array...

And ps -e | grep dbus lists:

802 ?        00:00:18 dbus-daemon
1948 ?        00:00:00 dbus-launch
1949 ?        00:00:12 dbus-daemon

Is there no arch|linux|kde hacker online, that might have an idea what the puppies is going on? This is my productive computer and I need it for university and there's no change, I will install ubuntu just to have a functional system... i you guys|galls usually are always so brilliant

UPDATE
SOLVED: So, since nobody could help me, i turned to "The IT-Crowd" for help: "Have you tried turning it off and on again?"

Deleted my .kde4 Folder after I made a backup of it, deinstalled kde and dbus. Reinstalled it again and now it works. I didn't have to delete any configs in /etc/ . Since I didn't have anything important in my kde4 folder, I just manually configured my kde again the way I like it at thats it. Cannot say if restoring the original .kde4 folder would result in displaying the same symptoms again. So I also can't tell, if just deleting the .kde4 might be enough... See for yourself, if you ever have the problem. Just DON'T forget to make a backup!

Just documenting my workaround here in case anyone else has this problem.

Last edited by k3njiy (2011-09-30 10:46:38)

Offline

Board footer

Powered by FluxBB