Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

FreeBSD 10.0-RELEASE: mouse and kbd freezes after gdm starts

35 views
Skip to first unread message

Zenny

unread,
Jan 29, 2014, 5:43:29 AM1/29/14
to sta...@freebsd.org
Hi:

The mouse and keyboard stops responding after gdm starts. (on all
occasions gdm and gnome enabled in rc.conf with or without moused, hal
and dbus enabled). The xorg 1.7.7 worked with a black border all over
screen, so used poudiere to upgrade to xorg-server-1.12.4_4,1

The card is:

vgapci0@pci0:1:0:0: class=0x030000 card=0x04611043 chip=0x67791002
rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices [AMD] nee ATI'
device = 'Caicos [Radeon HD 6450]'
class = display
subclass = VGA



The only thing that I could see in the attached log (line 109-126):

[ 38.408] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so
[ 38.428] (II) Module mouse: vendor="X.Org Foundation"
[ 38.441] compiled for 1.7.7, module version = 1.9.0
[ 38.463] Module class: X.Org XInput Driver
[ 38.474] ABI class: X.Org XInput driver, version 7.0
[ 38.486] (EE) module ABI major version (7) doesn't match the
server's version (16)
[ 38.497] (II) UnloadModule: "mouse"
[ 38.508] (II) Unloading mouse
[ 38.519] (EE) Failed to load module "mouse" (module requirement
mismatch, 0)
[ 38.530] (II) LoadModule: "kbd"
[ 38.553] (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so
[ 38.564] (II) Module kbd: vendor="X.Org Foundation"
[ 38.575] compiled for 1.7.7, module version = 1.8.0
[ 38.597] Module class: X.Org XInput Driver
[ 38.608] ABI class: X.Org XInput driver, version 7.0
[ 38.619] (EE) module ABI major version (7) doesn't match the
server's version (16)
[ 38.630] (II) UnloadModule: "kbd"
[ 38.642] (II) Unloading kbd


There is no xorg.conf created. Can someone tell me what makes the kbd
and mouse modules keeps on getting unloaded?! Thanks!

/z
_______________________________________________
freebsd...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stabl...@freebsd.org"

Zenny

unread,
Jan 29, 2014, 6:04:29 AM1/29/14
to freebsd...@freebsd.org

Erich Dollansky

unread,
Jan 29, 2014, 6:24:14 AM1/29/14
to Zenny, freebsd...@freebsd.org
Hi,

On Wed, 29 Jan 2014 12:04:05 +0100
Zenny <garby...@gmail.com> wrote:

> The mouse and keyboard stops responding after gdm starts. (on all
> occasions gdm and gnome enabled in rc.conf with or without moused, hal
> and dbus enabled). The xorg 1.7.7 worked with a black border all over
> screen, so used poudiere to upgrade to xorg-server-1.12.4_4,1
>
compiling hal helped for me in a situation like this.

Erich

Tom Evans

unread,
Jan 29, 2014, 7:09:20 AM1/29/14
to Zenny, FreeBSD Stable
This seems pretty clear, doesn't it? You previously had xorg 1.7.7
installed, you upgraded to xorg 1.12.4 and when you start X, the log
file informs you that your mouse and keyboard drivers are compiled for
xorg 1.7.7, will not work with this version, and are unloaded.

Recompile and reinstall the appropriate drivers.

You might also want to verify your process for upgrading packages -
poudriere is a system for building up to date packages, it is not an
update tool. Using poudriere correctly with the appropriate update
tool should make it impossible for this scenario to happen, so there
is probably something wrong with your process. You can verify it by
listing it out here.

Cheers

Tom

Zenny

unread,
Jan 29, 2014, 7:19:49 AM1/29/14
to Erich Dollansky, freebsd...@freebsd.org
I did compile hal using poudriere and upgraded. Still the problem persists.

Zenny

unread,
Jan 29, 2014, 7:39:36 AM1/29/14
to Tom Evans, FreeBSD Stable
I recompiled accordingly and upgraded the drivers too as my poudriere.list has:

Thanks Tom for your response.

x11/xorg
x11/xinit
x11-drivers/xf86-video-ati
x11-drivers/xf86-video-radeonhd
x11-drivers/xf86-input-keyboard
x11-drivers/xf86-input-mouse
x11-drivers/xorg-drivers
x11-fonts/webfonts
x11-fonts/ubuntu-font
www/linux-f10-flashplugin11
ports-mgmt/poudriere
graphics/libdrm
graphics/dri
graphics/libGL
sysutils/hal

>
> You might also want to verify your process for upgrading packages -
> poudriere is a system for building up to date packages, it is not an
> update tool. Using poudriere correctly with the appropriate update
> tool should make it impossible for this scenario to happen, so there
> is probably something wrong with your process. You can verify it by
> listing it out here.

FYI, poudriere.conf reads:

ZPOOL=zroot
FREEBSD_HOST=ftp://ftp.freebsd.org
RESOLV_CONF=/etc/resolv.conf
BASEFS=/usr/local/poudriere
USE_TMPFS=yes
DISTFILES_CACHE=/usr/ports/distfiles
POUDRIERE_DATA=${BASEFS}/data
CHECK_CHANGED_OPTIONS=verbose
CHECK_CHANGED_DEPS=yes
PKG_REPO_SIGNING_KEY=/usr/local/etc/ssl/keys/pkg.key
WRKDIR_ARCHIVE_FORMAT=txz
NOLINUX=yes

/etc/make.conf reads:

WITH_NEW_XORG=yes
WITH_KMS=yes
WITH_GALLIUM=yes
MAKE_JOBS_UNSAFE=yes

/usr/local/etc/poudriere.d/10-amd64-make.conf has:

WITH_NEW_XORG="yes"
WITH_KMS="yes"

Did I miss something?

Warren Block

unread,
Jan 29, 2014, 9:20:51 AM1/29/14
to Zenny, Tom Evans, FreeBSD Stable
On Wed, 29 Jan 2014, Zenny wrote:

> x11/xorg
> x11/xinit
> x11-drivers/xf86-video-ati
> x11-drivers/xf86-video-radeonhd

Do not install radeonhd, it is obsolete. The radeon driver in
xf86-video-ati works for all the Radeon cards that are supported.

> x11-drivers/xf86-input-keyboard
> x11-drivers/xf86-input-mouse
> x11-drivers/xorg-drivers
> x11-fonts/webfonts
> x11-fonts/ubuntu-font
> www/linux-f10-flashplugin11
> ports-mgmt/poudriere
> graphics/libdrm
> graphics/dri
> graphics/libGL
> sysutils/hal

HAL and dbus should probably be recompiled together. X can be prevented
from using hal at all by setting Option "AutoAddDevices" "Off" in
ServerLayout.

The wiki has a section on installing or upgrading to the KMS drivers:
https://wiki.freebsd.org/Graphics#Installing_KMS_Ports

Tom Evans

unread,
Jan 29, 2014, 9:23:30 AM1/29/14
to Zenny, FreeBSD Stable
On Wed, Jan 29, 2014 at 12:39 PM, Zenny <garby...@gmail.com> wrote:
> FYI, poudriere.conf reads:
>
> ZPOOL=zroot
> FREEBSD_HOST=ftp://ftp.freebsd.org
> RESOLV_CONF=/etc/resolv.conf
> BASEFS=/usr/local/poudriere
> USE_TMPFS=yes
> DISTFILES_CACHE=/usr/ports/distfiles
> POUDRIERE_DATA=${BASEFS}/data
> CHECK_CHANGED_OPTIONS=verbose
> CHECK_CHANGED_DEPS=yes
> PKG_REPO_SIGNING_KEY=/usr/local/etc/ssl/keys/pkg.key
> WRKDIR_ARCHIVE_FORMAT=txz
> NOLINUX=yes
>
> /etc/make.conf reads:
>
> WITH_NEW_XORG=yes
> WITH_KMS=yes
> WITH_GALLIUM=yes
> MAKE_JOBS_UNSAFE=yes
>
> /usr/local/etc/poudriere.d/10-amd64-make.conf has:
>
> WITH_NEW_XORG="yes"
> WITH_KMS="yes"
>
> Did I miss something?

poudriere is a package builder, it is not a package installer. How you
are installing and upgrading your packages - you do not have
WITH_PKGNG set, for instance, so are you using portupgrade or
portmaster?

Zenny

unread,
Jan 29, 2014, 1:40:13 PM1/29/14
to Tom Evans, FreeBSD Stable
SOLVED:

This seems to be an issue discussed here:
https://github.com/freebsd/pkg/issues/347

And it is solved by running:

pkg clean -ya

to disable cache.

#pkg update
#pkg upgrade
#pkg install -f xf86-input-keyboard xf86-input-keyboard

SOLVED. Thanks to everyone for the inputs.

On 1/29/14, Tom Evans <teva...@googlemail.com> wrote:
0 new messages