Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]xorg-server-1.6.3.901-r2 no keyboard or mouse
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2405
Location: Edmonton, AB

PostPosted: Sun Oct 04, 2009 7:27 pm    Post subject: [SOLVED]xorg-server-1.6.3.901-r2 no keyboard or mouse Reply with quote

After upgrading to xorg-server-1.6.3.901-r2 on AMD64 I have no keyboard or mouse,
I'm not using hal

I've tried to enable hall by commenting out in xorg.conf
Option "AutoAddDevices" "false"
but it makes no difference, still no keyboard or mouse.

Where to look?
_________________
#Joseph


Last edited by Joseph_sys on Sun Oct 04, 2009 7:50 pm; edited 2 times in total
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Sun Oct 04, 2009 7:34 pm    Post subject: Reply with quote

Maybe you forgot the elog instructions
Code:
You must rebuild all drivers if upgrading from xorg-server 1.5
or earlier, because the ABI changed. If you cannot start X because
of module version mismatch errors, this is your problem.
You can generate a list of all installed packages in the x11-drivers
category using this command:
emerge portage-utils; qlist -I -C x11-drivers/
Code:
emerge -1av $(qlist -IC x11-drivers)
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2405
Location: Edmonton, AB

PostPosted: Sun Oct 04, 2009 7:42 pm    Post subject: Reply with quote

Mike Hunt wrote:
Maybe you forgot the elog instructions
Code:
You must rebuild all drivers if upgrading from xorg-server 1.5
or earlier, because the ABI changed. If you cannot start X because
of module version mismatch errors, this is your problem.
You can generate a list of all installed packages in the x11-drivers
category using this command:
emerge portage-utils; qlist -I -C x11-drivers/
Code:
emerge -1av $(qlist -IC x11-drivers)


I don't think this is the case, from emerge.log I see, I was using: xorg-server-1.5.3-r6
Unmerging... (x11-base/xorg-server-1.5.3-r6)
_________________
#Joseph
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2405
Location: Edmonton, AB

PostPosted: Sun Oct 04, 2009 7:49 pm    Post subject: Reply with quote

I just missed your section from 1.5 or earlier, I think you are correct:
running:
Code:
emerge -1av $(qlist -IC x11-drivers)
solve the problem.

During upgrade over 128 packages were upgraded so I must have missed this section :-/
There must be a way to get user attention to important details like this. Reading though all notes on 128-packages is not fun.
_________________
#Joseph
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Sun Oct 04, 2009 8:55 pm    Post subject: Reply with quote

eread from app-portage/gentoolkit is quite handy for reading elog messages. :)
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2405
Location: Edmonton, AB

PostPosted: Sun Oct 04, 2009 9:03 pm    Post subject: Reply with quote

Mike Hunt wrote:
eread from app-portage/gentoolkit is quite handy for reading elog messages. :)


Yes, that what I have setup but if I have 128-message it is easy to miss a line.
I usually stop at some that are highlighted in yellow.
For example, now I have upgraded medi-lib/jpeg-7 so I need to rebuild 195 packages, 195 new log messages.
_________________
#Joseph
Back to top
View user's profile Send private message
rickj
Guru
Guru


Joined: 06 Feb 2003
Posts: 343
Location: Calgary, Alberta, Canada

PostPosted: Tue Oct 06, 2009 3:17 pm    Post subject: Xorg 1.6 -> black screen, machine dead Reply with quote

I upgraded to xorg 1.6 yesterday - perhaps i should have left it 'till later...

I followed the upgrade guides with care, but on attempting to restart X the machine locks, with a black screen and no cursor, and responds to nothing, not even the power button. This doesn't seem to leave much to diagnose. Anyone have any idea how to proceed?

Xorg.0.log contains 5 lines of garbage - nothing readable

I tried posting under the Xorg lockups topic, but it seems nobody is looking at that any more
Back to top
View user's profile Send private message
Rexilion
Veteran
Veteran


Joined: 17 Mar 2009
Posts: 1044

PostPosted: Tue Oct 06, 2009 4:24 pm    Post subject: Re: Xorg 1.6 -> black screen, machine dead Reply with quote

rickj wrote:
I upgraded to xorg 1.6 yesterday - perhaps i should have left it 'till later...

I followed the upgrade guides with care, but on attempting to restart X the machine locks, with a black screen and no cursor, and responds to nothing, not even the power button. This doesn't seem to leave much to diagnose. Anyone have any idea how to proceed?

Xorg.0.log contains 5 lines of garbage - nothing readable

I tried posting under the Xorg lockups topic, but it seems nobody is looking at that any more


You could try (what I would do:)
1. revdep-rebuild
2. etc-update
3. Change video card driver to see if the driver is the problem like nvidia -> nv or nouveau alternatively use vesa
4. Try different kernel versions
Back to top
View user's profile Send private message
rickj
Guru
Guru


Joined: 06 Feb 2003
Posts: 343
Location: Calgary, Alberta, Canada

PostPosted: Tue Oct 06, 2009 5:22 pm    Post subject: Reply with quote

revdep-rebuild is part of the upgrade - and it's clean

There are no config files to update

My driver is intel, very vanilla - but I'll try rebuilding it

I use the current stable gentoo-sources kernel, and I'm not able to see why a change there would help.
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Tue Oct 06, 2009 5:32 pm    Post subject: Reply with quote

In fact, you need to rebuild all x11-drivers - as the elog of xorg-server-1.6 directed
Code:
emerge portage-utils && emerge -1 $(qlist -IC x11-drivers)
Back to top
View user's profile Send private message
greenfield
n00b
n00b


Joined: 06 Oct 2009
Posts: 1

PostPosted: Tue Oct 06, 2009 10:57 pm    Post subject: Re: Xorg 1.6 -> black screen, machine dead Reply with quote

I once had a similar problem. I solved it by updating all drivers. Go for this if you hav'nt tried.
_________________
Find det rette mobilabonnement.
Back to top
View user's profile Send private message
geonik250
n00b
n00b


Joined: 02 Jan 2009
Posts: 5

PostPosted: Wed Oct 07, 2009 12:09 pm    Post subject: Xorg 1.6 breaks abi with keyborad, mouse driver Reply with quote

Hi.
I upgraded from Xorg 1.5 to 1.6 nad had Xorg start but have no mouse or keyboard support
Looking in the logs i saw it had lines complaining about the abi interface of the keyboard and mouse drivers.
I then rebuilt them with
Code:
emerge -1 `qlist -IC x11-drivers`

Perhaps this info should be included in the Xorg 1.6 upgrade guide?
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Wed Oct 07, 2009 12:23 pm    Post subject: Reply with quote

In fact, it is included in the elog output at the end of emerge and in the elog. :P
Back to top
View user's profile Send private message
geonik250
n00b
n00b


Joined: 02 Jan 2009
Posts: 5

PostPosted: Wed Oct 07, 2009 12:54 pm    Post subject: Reply with quote

My mistake.
One of these days i should start paying attention to elog messages.
Back to top
View user's profile Send private message
hill_usr
n00b
n00b


Joined: 17 Feb 2006
Posts: 5
Location: Pisa, Italy

PostPosted: Wed Oct 07, 2009 1:19 pm    Post subject: Reply with quote

Indeed I've the same problem: after migration X starts and Xdm login mask is there, but then mouse and keyboard not working ..I'd like to try your code:

emerge -1 `qlist -IC x11-drivers`


But how can access a terminal and type this code given that mouse and keyboard not responding ?

Thanks a lot (sorry for maybe silly question)
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Wed Oct 07, 2009 1:32 pm    Post subject: Reply with quote

EDIT: try blueflame's suggestion in the next post first.

If it doesn't work, as a last resort try this:

Get your installCD into the tray
    boot CD
    mount your gentoo / partition
    rm /etc/runlevels/default/xdm
    reboot and remove CD


now your Gentoo box should reboot without X and you can re-emerge x11-drivers - you need portage-utils to do this
Code:
emerge -1av $(qlist -IC x11-drivers)


then re-link xdm and start X
Code:
rc-update add xdm default
/etc/init.d/xdm start


Last edited by Mike Hunt on Wed Oct 07, 2009 2:55 pm; edited 2 times in total
Back to top
View user's profile Send private message
blueflame
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2006
Posts: 107
Location: Singapore

PostPosted: Wed Oct 07, 2009 1:32 pm    Post subject: Reply with quote

To get a console login you can:
- At the grub prompt you can press 'e' to edit the kernel boot line and append 'single' so that you boot into single-user mode
OR,
- Press Alt-SysRq-R after X comes up. This puts the keyboard in raw mode and you should be able to use Ctl-Alt-F1 to get to a console that way.
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Wed Oct 07, 2009 1:36 pm    Post subject: Reply with quote

blueflame wrote:
- Press Alt-SysRq-R after X comes up. This puts the keyboard in raw mode and you should be able to use Ctl-Alt-F1 to get to a console that way.


Yes, true that, my mistake, it is better than a hard reboot. But on my keyboard the SysRq key is not identified.

Is it the one after F12 on a standard keyboard?


Last edited by Mike Hunt on Wed Oct 07, 2009 2:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 2465
Location: Dallas area

PostPosted: Wed Oct 07, 2009 1:43 pm    Post subject: Reply with quote

SysRq used to be the same key as the print screen key
_________________
Asus m5a99fx, FX 8320 - amd64-multilib, 3.15.9-zen, glibc-2.17, gcc-4.7.3-r1, eudev
xorg-server-1.16, openbox w/lxpanel, nouveau, oss4(2010)
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed Oct 07, 2009 2:57 pm    Post subject: Reply with quote

merged some posts above
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2405
Location: Edmonton, AB

PostPosted: Wed Oct 07, 2009 3:08 pm    Post subject: Reply with quote

By the way those who use hall: xorg.conf should have the lines:
Code:
Section "ServerFlags"

Option "AllowEmptyInput"   "FALSE"

EndSection


Correct me anybody, but I think xorg + hall will work with only these lines, everything else can be removed.
_________________
#Joseph
Back to top
View user's profile Send private message
rickj
Guru
Guru


Joined: 06 Feb 2003
Posts: 343
Location: Calgary, Alberta, Canada

PostPosted: Wed Oct 07, 2009 4:11 pm    Post subject: Reply with quote

After rebuilding the drivers, my problems are unchanged.

I tried re-doing the libxcb update starting at section 3. After the "one-liner" of section 3.1, revdep-rebuild rebuilt 256 packages, one package on a second run, and was clean on the third.

My /var/log/Xorg.0.log now contains some reasonable text. It seems to load the video driver correctly, and stall in the middle of identifying the video card on the pci bus. This is unreliable, since when the system freezes, the only way to get it restarted is to remove the power cord. I'm using an ext3 file system but even journalling has its limits, so the tail of the log is very likely missing.

I've tried using the xorg.conf in the preceeding post, but it makes no difference.
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2405
Location: Edmonton, AB

PostPosted: Wed Oct 07, 2009 4:17 pm    Post subject: Reply with quote

Here are my notes, try to follow them:
1.)
xorg.conf - should only have section:

Section "ServerFlags"
Option "AllowEmptyInput" "FALSE"
EndSection

2.)
rc-update hal add default

3.)
kernel should have enable:
CONFIG_INPUT_EVDEV=y

4.) make conf should have:
INPUT_DEVICES="evdev"
(instead of old: INPUT_DEVICES="keyboard mouse")

USE="... hal dbus..."
_________________
#Joseph
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Wed Oct 07, 2009 4:23 pm    Post subject: Reply with quote

rickj,

what do you get from this command?
Code:
egrep '^[^#].*(INTEL|AGP|DRM)' /usr/src/linux/.config
Back to top
View user's profile Send private message
rickj
Guru
Guru


Joined: 06 Feb 2003
Posts: 343
Location: Calgary, Alberta, Canada

PostPosted: Wed Oct 07, 2009 4:49 pm    Post subject: Reply with quote

Joseph_sys: All these are in place. I have tried both "evdev" and "evdev mouse keyboard" in INPUT_DEVICES.

Mike Hunt: Your grep gives:
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_CPU_SUP_INTEL=y
CONFIG_HW_RANDOM_INTEL=m
CONFIG_AGP=y
CONFIG_AGP_INTEL=y
CONFIG_DRM=y
CONFIG_DRM_I830=y
CONFIG_FB_INTEL=y
CONFIG_FB_INTEL_I2C=y
CONFIG_SND_INTEL8X0=m
CONFIG_CRYPTO_CRC32C_INTEL=m
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum