View previous topic :: View next topic |
Author |
Message |
Joseph_sys Advocate
Joined: 08 Jun 2004 Posts: 2712 Location: Edmonton, AB
|
Posted: Sun Oct 04, 2009 7:27 pm Post subject: [SOLVED]xorg-server-1.6.3.901-r2 no keyboard or mouse |
|
|
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?
Last edited by Joseph_sys on Sun Oct 04, 2009 7:50 pm; edited 2 times in total |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Sun Oct 04, 2009 7:34 pm Post subject: |
|
|
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 |
|
|
Joseph_sys Advocate
Joined: 08 Jun 2004 Posts: 2712 Location: Edmonton, AB
|
Posted: Sun Oct 04, 2009 7:42 pm Post subject: |
|
|
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) |
|
Back to top |
|
|
Joseph_sys Advocate
Joined: 08 Jun 2004 Posts: 2712 Location: Edmonton, AB
|
Posted: Sun Oct 04, 2009 7:49 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Sun Oct 04, 2009 8:55 pm Post subject: |
|
|
eread from app-portage/gentoolkit is quite handy for reading elog messages. |
|
Back to top |
|
|
Joseph_sys Advocate
Joined: 08 Jun 2004 Posts: 2712 Location: Edmonton, AB
|
Posted: Sun Oct 04, 2009 9:03 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
rickj Guru
Joined: 06 Feb 2003 Posts: 427 Location: Calgary, Alberta, Canada
|
Posted: Tue Oct 06, 2009 3:17 pm Post subject: Xorg 1.6 -> black screen, machine dead |
|
|
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 |
|
|
Rexilion Veteran
Joined: 17 Mar 2009 Posts: 1044
|
Posted: Tue Oct 06, 2009 4:24 pm Post subject: Re: Xorg 1.6 -> black screen, machine dead |
|
|
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 |
|
|
rickj Guru
Joined: 06 Feb 2003 Posts: 427 Location: Calgary, Alberta, Canada
|
Posted: Tue Oct 06, 2009 5:22 pm Post subject: |
|
|
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 |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Tue Oct 06, 2009 5:32 pm Post subject: |
|
|
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 |
|
|
greenfield n00b
Joined: 06 Oct 2009 Posts: 1
|
Posted: Tue Oct 06, 2009 10:57 pm Post subject: Re: Xorg 1.6 -> black screen, machine dead |
|
|
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 |
|
|
geonik250 n00b
Joined: 02 Jan 2009 Posts: 5
|
Posted: Wed Oct 07, 2009 12:09 pm Post subject: Xorg 1.6 breaks abi with keyborad, mouse driver |
|
|
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 |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Wed Oct 07, 2009 12:23 pm Post subject: |
|
|
In fact, it is included in the elog output at the end of emerge and in the elog. |
|
Back to top |
|
|
geonik250 n00b
Joined: 02 Jan 2009 Posts: 5
|
Posted: Wed Oct 07, 2009 12:54 pm Post subject: |
|
|
My mistake.
One of these days i should start paying attention to elog messages. |
|
Back to top |
|
|
hill_usr n00b
Joined: 17 Feb 2006 Posts: 5 Location: Pisa, Italy
|
Posted: Wed Oct 07, 2009 1:19 pm Post subject: |
|
|
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 |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Wed Oct 07, 2009 1:32 pm Post subject: |
|
|
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 trayboot 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 |
|
|
blueflame Tux's lil' helper
Joined: 26 Nov 2006 Posts: 107 Location: Singapore
|
Posted: Wed Oct 07, 2009 1:32 pm Post subject: |
|
|
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 |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Wed Oct 07, 2009 1:36 pm Post subject: |
|
|
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 |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6098 Location: Dallas area
|
Posted: Wed Oct 07, 2009 1:43 pm Post subject: |
|
|
SysRq used to be the same key as the print screen key _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Wed Oct 07, 2009 2:57 pm Post subject: |
|
|
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 |
|
|
Joseph_sys Advocate
Joined: 08 Jun 2004 Posts: 2712 Location: Edmonton, AB
|
Posted: Wed Oct 07, 2009 3:08 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
rickj Guru
Joined: 06 Feb 2003 Posts: 427 Location: Calgary, Alberta, Canada
|
Posted: Wed Oct 07, 2009 4:11 pm Post subject: |
|
|
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 |
|
|
Joseph_sys Advocate
Joined: 08 Jun 2004 Posts: 2712 Location: Edmonton, AB
|
Posted: Wed Oct 07, 2009 4:17 pm Post subject: |
|
|
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..." |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Wed Oct 07, 2009 4:23 pm Post subject: |
|
|
rickj,
what do you get from this command? Code: | egrep '^[^#].*(INTEL|AGP|DRM)' /usr/src/linux/.config |
|
|
Back to top |
|
|
rickj Guru
Joined: 06 Feb 2003 Posts: 427 Location: Calgary, Alberta, Canada
|
Posted: Wed Oct 07, 2009 4:49 pm Post subject: |
|
|
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 |
|
|
|