Re: [gentoo-user] No keyboard or mouse with X after upgrade
On Saturday 23 Jul 2011 03:53:44 Jeff Cranmer wrote: On Fri, 2011-07-22 at 22:39 -0400, Jeff Cranmer wrote: On Sat, 2011-07-23 at 10:18 +0800, William Kenworthy wrote: On Fri, 2011-07-22 at 22:00 -0400, Jeff Cranmer wrote: Hi All, I recently ran an emerge -NDuav on my system and world lists, and now I can't start X and keep the keyboard or mouse operating. Is this a known issue? Any simple fixes? Thanks in advance Jeff Did you follow the rebuild instructions for keyboard/mouse etc in the ebuild messages? - yes its a known problem when you dont do that. BillK Thanks. It looks like I've missed that. Where were the ebuild messages? I don't see anything on xorg-server-1.10.2 Got it - xf86-input-evdev needed to be recompiled to recover keyboard and mouse operation. Thanks Jeff Have a look here: http://gmane.linux.gentoo.user/244589 -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] No keyboard or mouse with X after upgrade
On Fri, 2011-07-22 at 22:00 -0400, Jeff Cranmer wrote: Hi All, I recently ran an emerge -NDuav on my system and world lists, and now I can't start X and keep the keyboard or mouse operating. Is this a known issue? Any simple fixes? Thanks in advance Jeff Did you follow the rebuild instructions for keyboard/mouse etc in the ebuild messages? - yes its a known problem when you dont do that. BillK
Re: [gentoo-user] No keyboard or mouse with X after upgrade
On Sat, 2011-07-23 at 10:18 +0800, William Kenworthy wrote: On Fri, 2011-07-22 at 22:00 -0400, Jeff Cranmer wrote: Hi All, I recently ran an emerge -NDuav on my system and world lists, and now I can't start X and keep the keyboard or mouse operating. Is this a known issue? Any simple fixes? Thanks in advance Jeff Did you follow the rebuild instructions for keyboard/mouse etc in the ebuild messages? - yes its a known problem when you dont do that. BillK Thanks. It looks like I've missed that. Where were the ebuild messages? I don't see anything on xorg-server-1.10.2
Re: [gentoo-user] No keyboard or mouse with X after upgrade
On Fri, 2011-07-22 at 22:39 -0400, Jeff Cranmer wrote: On Sat, 2011-07-23 at 10:18 +0800, William Kenworthy wrote: On Fri, 2011-07-22 at 22:00 -0400, Jeff Cranmer wrote: Hi All, I recently ran an emerge -NDuav on my system and world lists, and now I can't start X and keep the keyboard or mouse operating. Is this a known issue? Any simple fixes? Thanks in advance Jeff Did you follow the rebuild instructions for keyboard/mouse etc in the ebuild messages? - yes its a known problem when you dont do that. BillK Thanks. It looks like I've missed that. Where were the ebuild messages? I don't see anything on xorg-server-1.10.2 Got it - xf86-input-evdev needed to be recompiled to recover keyboard and mouse operation. Thanks Jeff
Re: [gentoo-user] no keyboard no mouse
On Fri, 24 Jun 2011 22:53:32 +1000 Adam Carter adamcart...@gmail.com wrote: Make an entry in your grub.conf with gentoo=nox, so you can boot to command line. here's what mine looks like What a reboot to fix Xorg keyboard drivers? Thats not the Linux way. Press at the same time Ctrl + Alt + SysRq + r Then press Ctrl + Alt + F1 Login as root and type emerge x11-drivers/xf86-input-evdev Then /etc/init.d/xdm restart http://en.wikipedia.org/wiki/Magic_SysRq_key
Re: [gentoo-user] no keyboard no mouse
- Mail Original - De: Jonathan winelauncher.jonat...@googlemail.com À: gentoo-user@lists.gentoo.org Envoyé: Dimanche 26 Juin 2011 08h08:48 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [gentoo-user] no keyboard no mouse On Fri, 24 Jun 2011 22:53:32 +1000 Adam Carter adamcart...@gmail.com wrote: Make an entry in your grub.conf with gentoo=nox, so you can boot to command line. here's what mine looks like What a reboot to fix Xorg keyboard drivers? Thats not the Linux way. Press at the same time Ctrl + Alt + SysRq + r Then press Ctrl + Alt + F1 Login as root and type emerge x11-drivers/xf86-input-evdev Then /etc/init.d/xdm restart http://en.wikipedia.org/wiki/Magic_SysRq_key Citing Alan Mackenzies: It's a strange, depressing feeling when the only input device which works is the reset button - thank goodness that isn't handled by evdev. ;-) -- Alain DIDIERJEAN Puisque ces mystères nous dépassent Feignons d'en être l'organisateur
Re: [gentoo-user] no keyboard no mouse
On Sun, 26 Jun 2011 08:34:30 +0200 (CEST) Alain DIDIERJEAN alain.didierj...@free.fr wrote: Citing Alan Mackenzies: It's a strange, depressing feeling when the only input device which works is the reset button - thank goodness that isn't handled by evdev. ;-) Please use the mark for quotes or it's a pain to read your reply. Using Ctrl + Alt + SysRq + key by passes Xorg and gets handled by the kernel. I used the same key combo to fix my Xorg drivers the other day. Yes I know I should of read the elog. With the key combo you need to hit all 4 keys at the same time or it does not work.
Re: [gentoo-user] no keyboard no mouse
On Saturday 25 June 2011 11:31:50 Pandu Poluan did opine thusly: On Sat, Jun 25, 2011 at 05:00, Neil Bothwick n...@digimed.co.uk wrote: On Fri, 24 Jun 2011 14:43:02 +0200 (CEST), Alain DIDIERJEAN wrote: I solved the problem by rebuilding xf86-input-evdev after booting on an unbuntu livecd then chrooting... Took some time. As for using portage Why did you need to chroot, just boot your normal system without X (add gentoo=nox to the kernel paramaters). 2.2, it's listed as ~*2.2.0_alpha41, too early for me. Thanks all for the help Don't let the ridiculous version number fool you, 2.2 has been generally usable for a couple of years. Honestly, the alpha designation also made me shy away from 2.2 It's not alpha as in alpha The rc point releases hit -99 sometime ago so Zac switched to a different prefix. Most other projects would have been a release by now. Really, someone should rebrand that as beta, if 2.2 is indeed usable for a couple of years. That said, thanks for the heads-up. I'll unmask it on my systems :-) Rgdsm -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] no keyboard no mouse
- Mail Original - De: Neil Bothwick n...@digimed.co.uk À: gentoo-user@lists.gentoo.org Envoyé: Samedi 25 Juin 2011 00h00:30 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [gentoo-user] no keyboard no mouse On Fri, 24 Jun 2011 14:43:02 +0200 (CEST), Alain DIDIERJEAN wrote: I solved the problem by rebuilding xf86-input-evdev after booting on an unbuntu livecd then chrooting... Took some time. As for using portage Why did you need to chroot, just boot your normal system without X (add gentoo=nox to the kernel paramaters). Didn't remember the option in these times of panic (I had some task to achieve rapidly). It's now an entry in grub.conf 2.2, it's listed as ~*2.2.0_alpha41, too early for me. Thanks all for the help Don't let the ridiculous version number fool you, 2.2 has been generally usable for a couple of years. Oooops, I stupidly thought that alpha in version name, which usually doesn't appear, meant a specially risky version in alpha state... Silly me. -- Alain DIDIERJEAN Puisque ces mystères nous dépassent Feignons d'en être l'organisateur
Re: [gentoo-user] no keyboard no mouse
Hi, Alan. On Fri, Jun 24, 2011 at 04:57:05PM +0200, Alan McKinnon wrote: Hmm. Recompiling the same source code produces a different binary? Not quite: Rebuilding the same sources against different headers produces a different binary. Presumably, it uses C macros in a .h file which is part of xorg. Or something like that. So evdev depends on xorg. Isn't there a way of expressing this in evdev's ebuild? Something like the DEPEND variable? It's already there, but doesn't help as the update trigger never happens. Actually, you have the depend the wrong way round - evdev depends on xorg-server; to have the driver and for it to be useful, the xorg- server must be present, otherwise there is nothing for the drivers to build against. You want to force a rebuild that is the opposite of the DEPEND, but portage does not support that (it's a circular dependency). It will also not rebuild the driver as part of a regular update as there is not a new version of the driver, hence according to normal portage logic there is no need to do so. Make sense? I think so - I've always had problems understanding dependencies. What I want is one of these nice to haves which would take an inordinate amount of work, if it's even possible. In the meantime, I'll carry on not starting Gnome at boot-up. Despite the existence of gentoo=nox, I feel safer starting it manually. It's a strange, depressing feeling when the only input device which works is the reset button - thank goodness that isn't handled by evdev. ;-) -- alan dot mckinnon at gmail dot com -- Alan Mackenzie (Nuremberg, Germany).
Re: [gentoo-user] no keyboard no mouse
On Sat, 25 Jun 2011 09:37:59 +0200 (CEST), Alain DIDIERJEAN wrote: 2.2, it's listed as ~*2.2.0_alpha41, too early for me. Thanks all for the help Don't let the ridiculous version number fool you, 2.2 has been generally usable for a couple of years. Oooops, I stupidly thought that alpha in version name, which usually doesn't appear, meant a specially risky version in alpha state... Silly me. I'd say the sillyness is in the version number. 2.2 (we're on 2.2.0 now) reached the milestone of 99 release candidates, which is farcical. -- Neil Bothwick I don't have any solution, but I certainly admire the problem. signature.asc Description: PGP signature
Re: [gentoo-user] no keyboard no mouse
On Friday 24 June 2011 11:43:48 Alan Mackenzie wrote: Hi, Adam. On Fri, Jun 24, 2011 at 06:59:42PM +1000, Adam Carter wrote: On Fri, Jun 24, 2011 at 6:47 PM, alain.didierj...@free.fr wrote: After upgrading xcb, ati driver and rebooting xorg can't read mouse and keyboard anymore. No more access to the system besides booting an unbuntu livecd. According to /var/log/Xorg.0.log, evdev cant't be loaded any more (see below). What can I do ? Is there an upgrade to evdev ? No you just need to rebuild it, so emerge xf86-input-evdev This problem hit me too. Can you give us an explanation for needing to rebuild evdev? Was there some missing dependency in an ebuild, or something? from xorg-server ebuild: elog You should consider reading upgrade guide for this release: elog http://www.gentoo.org/proj/en/desktop/x/x11/xorg- server-$(get_version_component_range 1-2)-upgrade-guide.xml echo ewarn You must rebuild all drivers if upgrading from xorg- server-$(get_version_component_range 1-2) ewarn because the ABI changed. If you cannot start X because ewarn of module version mismatch errors, this is your problem. echo ewarn You can generate a list of all installed packages in the x11-drivers ewarn category using this command: ewarn emerge portage-utils; qlist -I -C x11-drivers/ ewarn or using sets from portage-2.2: ewarn emerge @x11-module-rebuild fi people. learn to read. -- #163933
Re: [gentoo-user] no keyboard no mouse
Good evening, Volker! On Sat, Jun 25, 2011 at 02:01:50PM +0200, Volker Armin Hemmann wrote: On Friday 24 June 2011 11:43:48 Alan Mackenzie wrote: Hi, Adam. On Fri, Jun 24, 2011 at 06:59:42PM +1000, Adam Carter wrote: On Fri, Jun 24, 2011 at 6:47 PM, alain.didierj...@free.fr wrote: After upgrading xcb, ati driver and rebooting xorg can't read mouse and keyboard anymore. No more access to the system besides booting an unbuntu livecd. According to /var/log/Xorg.0.log, evdev cant't be loaded any more (see below). What can I do ? Is there an upgrade to evdev ? No you just need to rebuild it, so emerge xf86-input-evdev This problem hit me too. Can you give us an explanation for needing to rebuild evdev? Was there some missing dependency in an ebuild, or something? from xorg-server ebuild: elog You should consider reading upgrade guide for this release: elog http://www.gentoo.org/proj/en/desktop/x/x11/xorg- server-$(get_version_component_range 1-2)-upgrade-guide.xml echo ewarn You must rebuild all drivers if upgrading from xorg- server-$(get_version_component_range 1-2) ewarn because the ABI changed. If you cannot start X because ewarn of module version mismatch errors, this is your problem. echo ewarn You can generate a list of all installed packages in the x11-drivers ewarn category using this command: ewarn emerge portage-utils; qlist -I -C x11-drivers/ ewarn or using sets from portage-2.2: ewarn emerge @x11-module-rebuild fi people. learn to read. Hmmm. Yes. The problem is not so much the reading, but that the pertinent text is only fleetingly on the screen. I'm quite sure I saw these warnings, but their seriousness didn't impinge on my consciousness. Sadly. Are these warnings stored in a log anywhere? Looking for them in ebuilds before emerging would be a bit tedious. Or maybe it needs a script which would take the output of emerge -puND world, extract the ebuild names, and run them through grep ewarn. Or does such already exist? -- #163933 -- Alan Mackenzie (Nuremberg, Germany).
Re: [gentoo-user] no keyboard no mouse
Alan Mackenzie wrote: Hmmm. Yes. The problem is not so much the reading, but that the pertinent text is only fleetingly on the screen. I'm quite sure I saw these warnings, but their seriousness didn't impinge on my consciousness. Sadly. Are these warnings stored in a log anywhere? Looking for them in ebuilds before emerging would be a bit tedious. Or maybe it needs a script which would take the output of emerge -puND world, extract the ebuild names, and run them through grep ewarn. Or does such already exist? There are tools for that: root@fireball / # eix app-portage/elog [I] app-portage/elogv Available versions: 0.7.4{tbz2} ~0.7.4-r1 Installed versions: 0.7.4{tbz2}(02:43:28 PM 05/17/2011) Homepage:http://gechi-overlay.sourceforge.net/?page=elogv Description: Curses based utility to parse the contents of elogs created by Portage [I] app-portage/elogviewer Available versions: 0.5.2-r2{tbz2} ~0.6.1 ~0.6.2 ~0.6.2-r1 Installed versions: 0.5.2-r2{tbz2}(04:17:22 PM 05/17/2011) Homepage:http://sourceforge.net/projects/elogviewer/ Description: GTK+ based utility to parse the contents of elogs created by Portage Found 2 matches. root@fireball / # That should help. I liked it when all the messages like that were saved until the end of the emerge then displayed. I rarely sit and watch for the stuff scroll by anymore. Dale :-) :-)
Re: [gentoo-user] no keyboard no mouse
On Saturday 25 June 2011 09:50:15 Alan Mackenzie did opine thusly: Hi, Alan. On Fri, Jun 24, 2011 at 04:57:05PM +0200, Alan McKinnon wrote: Hmm. Recompiling the same source code produces a different binary? Not quite: Rebuilding the same sources against different headers produces a different binary. Presumably, it uses C macros in a .h file which is part of xorg. Or something like that. So evdev depends on xorg. Isn't there a way of expressing this in evdev's ebuild? Something like the DEPEND variable? It's already there, but doesn't help as the update trigger never happens. Actually, you have the depend the wrong way round - evdev depends on xorg-server; to have the driver and for it to be useful, the xorg- server must be present, otherwise there is nothing for the drivers to build against. You want to force a rebuild that is the opposite of the DEPEND, but portage does not support that (it's a circular dependency). It will also not rebuild the driver as part of a regular update as there is not a new version of the driver, hence according to normal portage logic there is no need to do so. Make sense? I think so - I've always had problems understanding dependencies. What I want is one of these nice to haves which would take an inordinate amount of work, if it's even possible. Trouble with dependencies is they present themselves the wrong way round when you try to debug them. It's the classic grandfather problem: I ask you who is your granddad?, that's an easy one, you say it's John Smith. Now I go find John Smith and ask him who's your grandson? He says I have more than one. Which one you interested in? and you can't answer that without more information. When you look in an ebuild for DEPENDS, you are using the first case. When you try debug portage output, you often end up at the second case. I imagine the real reason portage doesn't have excellent tools to help answer that is becuase the problem is infernally difficult to do correctly, and the output will always be mind-bogglingly confusing. Moving a little off-topic, I have a similar thing at work. A perfectly valid question I often get asked is when did we last receive a mail to x...@company.com? HR want to know this so they can know when to retire an address. I can't tell them, not without an exhaustive manual search of mail logs. In the meantime, I'll carry on not starting Gnome at boot-up. Despite the existence of gentoo=nox, I feel safer starting it manually. It's a strange, depressing feeling when the only input device which works is the reset button - thank goodness that isn't handled by evdev. ;-) Yup, loss of input devices in the most annoying pain in the arse imagineable. Remember when xorg was a huge monolithic code base and you always got everything every time, but the dependency issues just simply never happened? -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] no keyboard no mouse
On Saturday 25 June 2011 17:36:17 Alan Mackenzie wrote: Good evening, Volker! On Sat, Jun 25, 2011 at 02:01:50PM +0200, Volker Armin Hemmann wrote: On Friday 24 June 2011 11:43:48 Alan Mackenzie wrote: Hi, Adam. On Fri, Jun 24, 2011 at 06:59:42PM +1000, Adam Carter wrote: On Fri, Jun 24, 2011 at 6:47 PM, alain.didierj...@free.fr wrote: After upgrading xcb, ati driver and rebooting xorg can't read mouse and keyboard anymore. No more access to the system besides booting an unbuntu livecd. According to /var/log/Xorg.0.log, evdev cant't be loaded any more (see below). What can I do ? Is there an upgrade to evdev ? No you just need to rebuild it, so emerge xf86-input-evdev This problem hit me too. Can you give us an explanation for needing to rebuild evdev? Was there some missing dependency in an ebuild, or something? from xorg-server ebuild: elog You should consider reading upgrade guide for this release: elog http://www.gentoo.org/proj/en/desktop/x /x11/xorg- server-$(get_version_component_range 1-2)-upgrade-guide.xml echo ewarn You must rebuild all drivers if upgrading from xorg- server-$(get_version_component_range 1-2) ewarn because the ABI changed. If you cannot start X because ewarn of module version mismatch errors, this is your problem. echo ewarn You can generate a list of all installed packages in the x11-drivers ewarn category using this command: ewarn emerge portage-utils; qlist -I -C x11-drivers/ ewarn or using sets from portage-2.2: ewarn emerge @x11-module-rebuild fi people. learn to read. Hmmm. Yes. The problem is not so much the reading, but that the pertinent text is only fleetingly on the screen. I'm quite sure I saw these warnings, but their seriousness didn't impinge on my consciousness. Sadly. Are these warnings stored in a log anywhere? Looking for them in ebuilds before emerging would be a bit tedious. Or maybe it needs a script which would take the output of emerge -puND world, extract the ebuild names, and run them through grep ewarn. Or does such already exist? those warnings ARE stored. For the ultra lazy way: PORTAGE_ELOG_CLASSES=warn error log PORTAGE_ELOG_SYSTEM=mail save PORTAGE_ELOG_MAILURI=root@localhost /usr/sbin/sendmail PORTAGE_ELOG_MAILFROM=portage@localhost and then have the stuff dumped in your mailbox. -- #163933
Re: [gentoo-user] no keyboard no mouse
Am 24.06.2011 10:47, schrieb alain.didierj...@free.fr: After upgrading xcb, ati driver and rebooting xorg can't read mouse and keyboard anymore. No more access to the system besides booting an unbuntu livecd. According to /var/log/Xorg.0.log, evdev cant't be loaded any more (see below). What can I do ? Is there an upgrade to evdev ? 804 [13.253] (EE) module ABI major version (11) doesn't match the server's version (12) A emerge -1 x11-drivers/xf86-input-evdev should do the trick. Greetings Sebastian Beßler signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] no keyboard no mouse
On Fri, Jun 24, 2011 at 6:47 PM, alain.didierj...@free.fr wrote: After upgrading xcb, ati driver and rebooting xorg can't read mouse and keyboard anymore. No more access to the system besides booting an unbuntu livecd. According to /var/log/Xorg.0.log, evdev cant't be loaded any more (see below). What can I do ? Is there an upgrade to evdev ? No you just need to rebuild it, so emerge xf86-input-evdev
Re: [gentoo-user] no keyboard no mouse
On 06/24/11 04:47, alain.didierj...@free.fr wrote: After upgrading xcb, ati driver and rebooting xorg can't read mouse and keyboard anymore. No more access to the system besides booting an unbuntu livecd. According to /var/log/Xorg.0.log, evdev cant't be loaded any more (see below). What can I do ? Is there an upgrade to evdev ? - excerpt from /var/log/Xorg.0.log- 13.246] (II) LoadModule: evdev 786 [13.246] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so 787 [13.247] (II) Module evdev: vendor=X.Org Foundation 788 [13.247]compiled for 1.9.4, module version = 2.6.0 789 [13.247]Module class: X.Org XInput Driver 790 [13.247]ABI class: X.Org XInput driver, version 11.0 791 [13.247] (EE) module ABI major version (11) doesn't match the server's version (12) 792 [13.247] (II) UnloadModule: evdev 793 [13.247] (II) Unloading evdev 794 [13.247] (EE) Failed to load module evdev (module requirement mismatch, 0) 795 [13.247] (EE) No input driver matching `evdev' 796 [13.252] (II) config/udev: Adding input device Power Button (/dev/input/event0) 797 [13.252] (**) Power Button: Applying InputClass evdev keyboard catchall 798 [13.252] (II) LoadModule: evdev 799 [13.253] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so 800 [13.253] (II) Module evdev: vendor=X.Org Foundation 801 [13.253]compiled for 1.9.4, module version = 2.6.0 802 [13.253]Module class: X.Org XInput Driver 803 [13.253]ABI class: X.Org XInput driver, version 11.0 804 [13.253] (EE) module ABI major version (11) doesn't match the server's version (12) 805 [13.253] (II) UnloadModule: evdev 806 [13.253] (II) Unloading evdev 807 [13.253] (EE) Failed to load module evdev (module requirement mismatch, 0) 808 [13.253] (EE) No input driver matching `evdev' 809 [13.254] (II) config/udev: Adding input device Logitech Logitech Illuminated Keyboard (/dev/input/event2) 810 [13.254] (**) Logitech Logitech Illuminated Keyboard: Applying InputClass evdev keyboard catchall 811 [13.254] (II) LoadModule: evdev 812 [13.254] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so 813 [13.254] (II) Module evdev: vendor=X.Org Foundation 814 [13.254]compiled for 1.9.4, module version = 2.6.0 815 [13.254]Module class: X.Org XInput Driver 816 [13.254]ABI class: X.Org XInput driver, version 11.0 817 [13.254] (EE) module ABI major version (11) doesn't match the server's version (12) 818 [13.254] (II) UnloadModule: evdev 819 [13.254] (II) Unloading evdev 820 [13.254] (EE) Failed to load module evdev (module requirement mismatch, 0) 821 [13.254] (EE) No input driver matching `evdev' 822 [13.255] (II) config/udev: Adding input device Logitech Logitech Illuminated Keyboard (/dev/input/event3) 823 [13.255] (**) Logitech Logitech Illuminated Keyboard: Applying InputClass evdev keyboard catchall 824 [13.255] (II) LoadModule: evdev Did you try remerging evdev? I believe there's another package you need to reemerge also, I can't remember off the top of my head. If some one else doesn't chime in by the time I wake up then I'll look it up.
Re: [gentoo-user] no keyboard no mouse
On Fri, 24 Jun 2011 05:05:13 -0400, Matthew Finkel wrote: Did you try remerging evdev? I believe there's another package you need to reemerge also, I can't remember off the top of my head. If some one else doesn't chime in by the time I wake up then I'll look it up. If you use portage 2.2, emerge @x11-module-rebuild -- Neil Bothwick Time is the best teacher; unfortunately it kills all its students. signature.asc Description: PGP signature
Re: [gentoo-user] no keyboard no mouse
Hi, Adam. On Fri, Jun 24, 2011 at 06:59:42PM +1000, Adam Carter wrote: On Fri, Jun 24, 2011 at 6:47 PM, alain.didierj...@free.fr wrote: After upgrading xcb, ati driver and rebooting xorg can't read mouse and keyboard anymore. No more access to the system besides booting an unbuntu livecd. According to /var/log/Xorg.0.log, evdev cant't be loaded any more (see below). What can I do ? Is there an upgrade to evdev ? No you just need to rebuild it, so emerge xf86-input-evdev This problem hit me too. Can you give us an explanation for needing to rebuild evdev? Was there some missing dependency in an ebuild, or something? -- Alan Mackenzie (Nuremberg, Germany).
Re: [gentoo-user] no keyboard no mouse
Alan Mackenzie wrote: Hi, Adam. On Fri, Jun 24, 2011 at 06:59:42PM +1000, Adam Carter wrote: On Fri, Jun 24, 2011 at 6:47 PM,alain.didierj...@free.fr wrote: After upgrading xcb, ati driver and rebooting xorg can't read mouse and keyboard anymore. No more access to the system besides booting an unbuntu livecd. According to /var/log/Xorg.0.log, evdev cant't be loaded any more (see below). What can I do ? Is there an upgrade to evdev ? No you just need to rebuild it, so emerge xf86-input-evdev This problem hit me too. Can you give us an explanation for needing to rebuild evdev? Was there some missing dependency in an ebuild, or something? It is sort of like when you update a kernel and have to rebuild the video drivers. One is built against the other and when you upgrade, you have to update the things it was built against. There are other examples of this but this is just the first one I thought of. Anyone recall expat? That I think is another. Dale :-) :-)
Re: [gentoo-user] no keyboard no mouse
No you just need to rebuild it, so emerge xf86-input-evdev This problem hit me too. Can you give us an explanation for needing to rebuild evdev? Was there some missing dependency in an ebuild, or something? If you update xorg (which OP didnt list, but a new version just went stable) you need to rebuild its drivers (unless they were automatically rebuilt due to version bump).
Re: [gentoo-user] no keyboard no mouse
- Mail Original - De: Adam Carter adamcart...@gmail.com À: gentoo-user@lists.gentoo.org Envoyé: Vendredi 24 Juin 2011 14h07:02 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [gentoo-user] no keyboard no mouse No you just need to rebuild it, so emerge xf86-input-evdev This problem hit me too. Can you give us an explanation for needing to rebuild evdev? Was there some missing dependency in an ebuild, or something? If you update xorg (which OP didnt list, but a new version just went stable) you need to rebuild its drivers (unless they were automatically rebuilt due to version bump). I think portage should take care of that... but obviously it doesn't I solved the problem by rebuilding xf86-input-evdev after booting on an unbuntu livecd then chrooting... Took some time. As for using portage 2.2, it's listed as ~*2.2.0_alpha41, too early for me. Thanks all for the help -- Alain DIDIERJEAN Puisque ces mystères nous dépassent Feignons d'en être l'organisateur
Re: [gentoo-user] no keyboard no mouse
I think portage should take care of that... but obviously it doesn't I solved the problem by rebuilding xf86-input-evdev after booting on an unbuntu livecd then chrooting... Took some time. As for using portage 2.2, it's listed as ~*2.2.0_alpha41, too early for me. Make an entry in your grub.conf with gentoo=nox, so you can boot to command line. here's what mine looks like title Gentoo Linux 2.6.39-r1a root (hd0,0) kernel /boot/kernel-2.6.39-r1a root=/dev/sda3 usbcore.autosuspend=1 title Gentoo Linux 2.6.39-r1a Console root (hd0,0) kernel /boot/kernel-2.6.39-r1a root=/dev/sda3 usbcore.autosuspend=1 gentoo=nox
Re: [gentoo-user] no keyboard no mouse
On Friday 24 Jun 2011 10:34:50 Neil Bothwick wrote: On Fri, 24 Jun 2011 05:05:13 -0400, Matthew Finkel wrote: Did you try remerging evdev? I believe there's another package you need to reemerge also, I can't remember off the top of my head. If some one else doesn't chime in by the time I wake up then I'll look it up. If you use portage 2.2, emerge @x11-module-rebuild or in the words of the elog itself which the OP evidently missed: Messages generated by process 15731 on 2011-06-23 19:30:53 BST for package x11-base/xorg-server-1.10.2: LOG: postinst You should consider reading upgrade guide for this release: http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.10-upgrade- guide.xml WARN: postinst You must rebuild all drivers if upgrading from xorg-server-1.10 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/ or using sets from portage-2.2: emerge @x11-module-rebuild HTH. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] no keyboard no mouse
Hi, Adam. On Fri, Jun 24, 2011 at 10:07:02PM +1000, Adam Carter wrote: No you just need to rebuild it, so emerge xf86-input-evdev This problem hit me too. Can you give us an explanation for needing to rebuild evdev? Was there some missing dependency in an ebuild, or something? If you update xorg (which OP didnt list, but a new version just went stable) you need to rebuild its drivers (unless they were automatically rebuilt due to version bump). Hmm. Recompiling the same source code produces a different binary? Presumably, it uses C macros in a .h file which is part of xorg. Or something like that. So evdev depends on xorg. Isn't there a way of expressing this in evdev's ebuild? Something like the DEPEND variable? -- Alan Mackenzie (Nuremberg, Germany).
Re: [gentoo-user] no keyboard no mouse
On Friday 24 June 2011 14:42:24 Alan Mackenzie did opine thusly: Hi, Adam. On Fri, Jun 24, 2011 at 10:07:02PM +1000, Adam Carter wrote: No you just need to rebuild it, so emerge xf86-input-evdev This problem hit me too. Can you give us an explanation for needing to rebuild evdev? Was there some missing dependency in an ebuild, or something? If you update xorg (which OP didnt list, but a new version just went stable) you need to rebuild its drivers (unless they were automatically rebuilt due to version bump). Hmm. Recompiling the same source code produces a different binary? Not quite: Rebuilding the same sources against different headers produces a different binary. Presumably, it uses C macros in a .h file which is part of xorg. Or something like that. So evdev depends on xorg. Isn't there a way of expressing this in evdev's ebuild? Something like the DEPEND variable? It's already there, but doesn't help as the update trigger never happens. Actually, you have the depend the wrong way round - evdev depends on xorg-server; to have the driver and for it to be useful, the xorg- server must be present, otherwise there is nothing for the drivers to build against. You want to force a rebuild that is the opposite of the DEPEND, but portage does not support that (it's a circular dependency). It will also not rebuild the driver as part of a regular update as there is not a new version of the driver, hence according to normal portage logic there is no need to do so. Make sense? -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] no keyboard no mouse
On Fri, 24 Jun 2011 14:43:02 +0200 (CEST), Alain DIDIERJEAN wrote: I solved the problem by rebuilding xf86-input-evdev after booting on an unbuntu livecd then chrooting... Took some time. As for using portage Why did you need to chroot, just boot your normal system without X (add gentoo=nox to the kernel paramaters). 2.2, it's listed as ~*2.2.0_alpha41, too early for me. Thanks all for the help Don't let the ridiculous version number fool you, 2.2 has been generally usable for a couple of years. -- Neil Bothwick THE BORG: Calm, Cool and Collective... signature.asc Description: PGP signature
Re: [gentoo-user] no keyboard no mouse
Neil Bothwick wrote: On Fri, 24 Jun 2011 14:43:02 +0200 (CEST), Alain DIDIERJEAN wrote: 2.2, it's listed as ~*2.2.0_alpha41, too early for me. Thanks all for the help Don't let the ridiculous version number fool you, 2.2 has been generally usable for a couple of years. +1 I been using it here for a good while now. Other than the occasional surprise of feature enhancements, it has been fine. Dale :-) :-)
Re: [gentoo-user] no keyboard no mouse
On Sat, Jun 25, 2011 at 05:00, Neil Bothwick n...@digimed.co.uk wrote: On Fri, 24 Jun 2011 14:43:02 +0200 (CEST), Alain DIDIERJEAN wrote: I solved the problem by rebuilding xf86-input-evdev after booting on an unbuntu livecd then chrooting... Took some time. As for using portage Why did you need to chroot, just boot your normal system without X (add gentoo=nox to the kernel paramaters). 2.2, it's listed as ~*2.2.0_alpha41, too early for me. Thanks all for the help Don't let the ridiculous version number fool you, 2.2 has been generally usable for a couple of years. Honestly, the alpha designation also made me shy away from 2.2 Really, someone should rebrand that as beta, if 2.2 is indeed usable for a couple of years. That said, thanks for the heads-up. I'll unmask it on my systems :-) Rgdsm -- Pandu E Poluan ~ IT Optimizer ~ Visit my Blog: http://pepoluan.posterous.com Google Talk: pepoluan Y! messenger: pepoluan MSN / Live: pepol...@hotmail.com (do not send email here) Skype: pepoluan