Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jun 2009 01:31:45 +0530
From:      Manish Jain <invalid.pointer@gmail.com>
To:        Roland Smith <rsmith@xs4all.nl>,  FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   No sound, no mouse and now X applications won't start
Message-ID:  <4A3D4029.6090408@gmail.com>
In-Reply-To: <20090617222407.GB26045@slackbox.xs4all.nl>
References:  <4A396736.8010808@gmail.com> <20090617222407.GB26045@slackbox.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi Roland,

Looks like nobody at freebsd-questions has any answers for me. Maybe 
7.2-x86 doesn't like newish amd hardware. Anyway, here are the 
contents of /dev/sndstat :

> FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
> Installed devices:
> pcm0: <HDA ATI RS690/780 HDMI PCM #0 Digital> at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:1v/0r:0v channels default)
> pcm1: <HDA Realtek ALC885 PCM #0 Analog> at cad 0 nid 1 on hdac1 kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex)
> pcm2: <HDA Realtek ALC885 PCM #1 Analog> at cad 0 nid 1 on hdac1 kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex)
> pcm3: <HDA Realtek ALC885 PCM #2 Digital> at cad 0 nid 1 on hdac1 kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex)

I tried snd_hda, even though it's listed as the driver for Intel
HDA, not Realtek HDA on AMD hardware. It doesn't work. The volume
control applet still complains no sound device has been configured.

/dev/ums0 does get created I if plug in the mouse after the login 
prompt has appeared. But the mouse would behave crazy till I changed 
the Xorg generated xorg.conf's setting of ZAxisMapping from "4 5 6 
7" to "4 5".

I have still more problems. After all ports finished installing, 
some X applications just don't start (eg Acroread). I can't any 
error messages from the terminal because gnome-terminal itself 
doesn't start.

Given time, maybe I could ultimately figure this problem out, but if 
you have any ready ideas, please be kind enough to share them me.

Here are some messages.


#/var/log/console.log :
> Jun 20 01:17:01 pbbi kernel: Jun 20 01:17:01 pbbi pulseaudio[1276]: main.c: Daemon startup without any loaded modules, refusing to work.
> Jun 20 01:18:04 pbbi kernel: Jun 20 01:18:04 pbbi gnome-keyring-daemon[1251]: dbus failure unregistering from session: Connection is closed
> Jun 20 01:21:50 pbbi kernel: Jun 20 01:21:50 pbbi pulseaudio[1686]: main.c: Daemon startup without any loaded modules, refusing to work.
> Jun 20 01:21:51 pbbi kernel: Jun 20 01:21:51 pbbi dbus-daemon: Would reject message, 1 matched rules; type="method_call", sender=":1.10" (uid=0 pid=1292 comm=") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination="org.freedesktop.SystemToolsBackends.Platform" (uid=0 pid=1723 comm="))
> Jun 20 01:21:51 pbbi kernel: Jun 20 01:21:51 pbbi dbus-daemon: Would reject message, 1 matched rules; type="method_call", sender=":1.10" (uid=0 pid=1292 comm=") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination="org.freedesktop.SystemToolsBackends.Platform" (uid=0 pid=1723 comm="))
> Jun 20 01:22:04 pbbi kernel: Jun 20 01:22:04 pbbi gnome-keyring-daemon[1665]: dbus failure unregistering from session: Connection is closed
> Jun 20 02:00:18 pbbi kernel: Jun 20 02:00:18 pbbi pulseaudio[2068]: main.c: Daemon startup without any loaded modules, refusing to work.
> Jun 20 02:00:19 pbbi kernel: Jun 20 02:00:19 pbbi dbus-daemon: Would reject message, 1 matched rules; type="method_call", sender=":1.10" (uid=0 pid=1292 comm=") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination="org.freedesktop.SystemToolsBackends.Platform" (uid=0 pid=1723 comm="))
> Jun 20 02:00:19 pbbi kernel: Jun 20 02:00:19 pbbi dbus-daemon: Would reject message, 1 matched rules; type="method_call", sender=":1.10" (uid=0 pid=1292 comm=") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination="org.freedesktop.SystemToolsBackends.Platform" (uid=0 pid=1723 comm="))
> Jun 20 02:22:14 pbbi kernel: Jun 20 02:22:14 pbbi pulseaudio[7162]: main.c: Daemon startup without any loaded modules, refusing to work.
> Jun 20 02:22:14 pbbi kernel: Jun 20 02:22:14 pbbi dbus-daemon: Would reject message, 1 matched rules; type="method_call", sender=":1.10" (uid=0 pid=1292 comm=") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination="org.freedesktop.SystemToolsBackends.Platform" (uid=0 pid=1723 comm="))


#/var/log/messages :
> Jun 20 02:00:07 pbbi kernel: info: [drm] Loading RS780 CP Microcode
> Jun 20 02:00:07 pbbi kernel: info: [drm] Loading RS780 PFP Microcode
> Jun 20 02:00:07 pbbi kernel: info: [drm] Resetting GPU
> Jun 20 02:00:07 pbbi kernel: info: [drm] writeback test succeeded in 1 usecs
> Jun 20 02:00:07 pbbi kernel: drm0: [ITHREAD]
> Jun 20 02:00:07 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed
> Jun 20 02:00:07 pbbi gnome-session[2036]: WARNING: Unable to determine session: Unable to lookup session information for process '2036'
> Jun 20 02:00:18 pbbi gnome-session[2036]: WARNING: Application 'metacity.desktop' failed to register before timeout
> Jun 20 02:00:18 pbbi pulseaudio[2068]: main.c: Daemon startup without any loaded modules, refusing to work.
> Jun 20 02:00:19 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed
> Jun 20 02:00:19 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed
> Jun 20 02:00:19 pbbi dbus-daemon: Would reject message, 1 matched rules; type="method_call", sender=":1.10" (uid=0 pid=1292 comm=") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination="org.freedesktop.SystemToolsBackends.Platform" (uid=0 pid=1723 comm="))
> Jun 20 02:00:19 pbbi dbus-daemon: Would reject message, 1 matched rules; type="method_call", sender=":1.10" (uid=0 pid=1292 comm=") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination="org.freedesktop.SystemToolsBackends.Platform" (uid=0 pid=1723 comm="))
> Jun 20 02:20:42 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed
> Jun 20 02:20:42 pbbi gnome-session[2036]: WARNING: Unable to determine session: Unable to lookup session information for process '2036'
> Jun 20 02:20:42 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed
> Jun 20 02:20:42 pbbi gnome-session[2036]: WARNING: Unable to determine session: Unable to lookup session information for process '2036'
> Jun 20 02:20:43 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed
> Jun 20 02:20:43 pbbi gnome-session[2036]: WARNING: Unable to determine session: Unable to lookup session information for process '2036'
> Jun 20 02:20:44 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed
> Jun 20 02:20:44 pbbi gnome-session[2036]: WARNING: Unable to determine session: Unable to lookup session information for process '2036'
> Jun 20 02:20:45 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed
> Jun 20 02:20:45 pbbi gnome-session[2036]: WARNING: Unable to determine session: Unable to lookup session information for process '2036'
> Jun 20 02:20:46 pbbi kernel: info: [drm] Resetting GPU
> Jun 20 02:22:02 pbbi kernel: info: [drm] Setting GART location based on new memory map
> Jun 20 02:22:02 pbbi kernel: info: [drm] Loading RS780 CP Microcode
> Jun 20 02:22:02 pbbi kernel: info: [drm] Loading RS780 PFP Microcode
> Jun 20 02:22:02 pbbi kernel: info: [drm] Resetting GPU
> Jun 20 02:22:02 pbbi kernel: info: [drm] writeback test succeeded in 1 usecs
> Jun 20 02:22:02 pbbi kernel: drm0: [ITHREAD]
> Jun 20 02:22:03 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed
> Jun 20 02:22:03 pbbi gnome-session[7130]: WARNING: Unable to determine session: Unable to lookup session information for process '7130'
> Jun 20 02:22:13 pbbi gnome-session[7130]: WARNING: Application 'metacity.desktop' failed to register before timeout
> Jun 20 02:22:14 pbbi pulseaudio[7162]: main.c: Daemon startup without any loaded modules, refusing to work.
> Jun 20 02:22:14 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed
> Jun 20 02:22:14 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed
> Jun 20 02:22:14 pbbi dbus-daemon: Would reject message, 1 matched rules; type="method_call", sender=":1.10" (uid=0 pid=1292 comm=") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination="org.freedesktop.SystemToolsBackends.Platform" (uid=0 pid=1723 comm="))
> Jun 20 02:22:14 pbbi dbus-daemon: Would reject message, 1 matched rules; type="method_call", sender=":1.10" (uid=0 pid=1292 comm=") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination="org.freedesktop.SystemToolsBackends.Platform" (uid=0 pid=1723 comm="))
> Jun 20 02:23:54 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed
> Jun 20 02:23:54 pbbi gnome-session[7130]: WARNING: Unable to determine session: Unable to lookup session information for process '7130'
> Jun 20 02:23:54 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed
> Jun 20 02:23:54 pbbi gnome-session[7130]: WARNING: Unable to determine session: Unable to lookup session information for process '7130'
> Jun 20 02:23:55 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed
> Jun 20 02:23:55 pbbi gnome-session[7130]: WARNING: Unable to determine session: Unable to lookup session information for process '7130'
> Jun 20 02:23:56 pbbi kernel: info: [drm] Resetting GPU
> Jun 20 02:24:42 pbbi kernel: info: [drm] Setting GART location based on new memory map
> Jun 20 02:24:42 pbbi kernel: info: [drm] Loading RS780 CP Microcode
> Jun 20 02:24:42 pbbi kernel: info: [drm] Loading RS780 PFP Microcode
> Jun 20 02:24:42 pbbi kernel: info: [drm] Resetting GPU
> Jun 20 02:24:42 pbbi kernel: info: [drm] writeback test succeeded in 1 usecs
> Jun 20 02:24:42 pbbi kernel: drm0: [ITHREAD]
> Jun 20 02:24:43 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed
> Jun 20 02:24:43 pbbi gnome-session[7692]: WARNING: Unable to determine session: Unable to lookup session information for process '7692'
> Jun 20 02:24:53 pbbi gnome-session[7692]: WARNING: Application 'metacity.desktop' failed to register before timeout
> Jun 20 02:24:53 pbbi pulseaudio[7723]: main.c: Daemon startup without any loaded modules, refusing to work.
> Jun 20 02:24:53 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed
> Jun 20 02:24:54 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed
> Jun 20 02:53:30 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed
> Jun 20 02:53:30 pbbi gnome-session[7692]: WARNING: Unable to determine session: Unable to lookup session information for process '7692'
> Jun 20 02:53:30 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed
> Jun 20 02:53:30 pbbi gnome-session[7692]: WARNING: Unable to determine session: Unable to lookup session information for process '7692'
> Jun 20 02:53:31 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed
> Jun 20 02:53:31 pbbi gnome-session[7692]: WARNING: Unable to determine session: Unable to lookup session information for process '7692'
> Jun 20 02:53:32 pbbi kernel: info: [drm] Resetting GPU
> Jun 20 02:54:00 pbbi halt: halted by root
> Jun 20 02:54:00 pbbi syslogd: exiting on signal 15


dbus, hald, polkitd and gnome are all enabled in rc.conf.

loader.conf looks like following :
> kern.maxdsiz="734003200"
> ums_load="YES"
> linprocfs_load="YES"
> linsysfs_load="YES"
> sound_load="YES"
> snd_hda_load="YES"


-- 
Regards
Manish Jain
invalid.pointer@gmail.com
+91-96500-10329

Laast year I kudn't spell Software Engineer. Now I are won.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A3D4029.6090408>