Re: [gentoo-user] Keyboard is dead after emerge-update
On Monday, 21. Mar 2016, 12:52:47 +0100, Bertram Scharpf wrote: > since an emerge-update-world on my notebook the keyboard > does no longer respond in X. This is extremely annoying > because when I have xdm in rc-update, X is started right at > boot. I have no chance to get back to the console using > Ctrl-Alt-F1, and the device in unusable. > > Yet, this is only a problem of the boot process. At home, > when I ssh into the system, I can do an > > # /etc/init.d/xdm restart > > and from that point on the keyboard works. It is even > possible to disable xdm in rc-update and start it after the > boot process has completed. In the meantime I found another solution. /etc/init.d/xdm did not actually start Xdm, but Kdm. In Kdm I could switch to the console by clicking a menu item with the mouse. Yet, I found the most satisfying solution when I ran into an emerge-dependency-resolution hell with KDE. I completely deinstalled KDE, and since I use SLiM I had not one crash any more. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de
Re: [gentoo-user] Keyboard is dead after emerge-update
On Tuesday 22 March 2016 13:47:42 Neil Bothwick wrote: > Windows will never cease. Nice. I see you've been harvesting in new fields :) -- Rgds Peter
Re: [gentoo-user] Keyboard is dead after emerge-update
On Tue, 22 Mar 2016 13:42:26 +, Ian Bloss wrote: > Don't know if anyone has mentioned this but you can always use the magic > sysrsc key to get control of input back from X Yes, I mentioned Alt-SysReq-R several posts ago. -- Neil Bothwick Windows will never cease. pgp3CxeCET8bq.pgp Description: OpenPGP digital signature
Re: [gentoo-user] Keyboard is dead after emerge-update
Don't know if anyone has mentioned this but you can always use the magic sysrsc key to get control of input back from X On Tue, Mar 22, 2016, 09:35 Neil Bothwick wrote: > On Tue, 22 Mar 2016 15:15:48 +0200, Alan McKinnon wrote: > > > > Try an Abacus. They work as designed. > > > So does portage. > > And both require more commitment to learn from the user than some are > willing to give. > > > -- > Neil Bothwick > > One difference between a man and a machine is that a machine is quiet > when well oiled. >
Re: [gentoo-user] Keyboard is dead after emerge-update
On Tue, 22 Mar 2016 15:15:48 +0200, Alan McKinnon wrote: > > Try an Abacus. They work as designed. > So does portage. And both require more commitment to learn from the user than some are willing to give. -- Neil Bothwick One difference between a man and a machine is that a machine is quiet when well oiled. pgpOWa1XP5IKU.pgp Description: OpenPGP digital signature
Re: [gentoo-user] Keyboard is dead after emerge-update
On Tuesday, March 22, 2016 03:15:48 PM Alan McKinnon wrote: > On 22/03/2016 15:13, J. Roeleveld wrote: > > On Tuesday, March 22, 2016 09:08:54 AM Alan Grimes wrote: > >> Neil Bothwick wrote: > >>> No one in their right mind would continue to use an OS that is clearly > >>> so > >>> unsuitable for their needs that they don't even trust it to start up > >>> properly... whatever their IQ. > >> > >> Why didn't I think of that!!! I'll run out to the store and select a > >> completely different operating system that's well designed, well > >> maintained, well supported and perfectly tailored to my needs. I'm sure > >> there's a vast variety to chose from... > > > > Try an Abacus. They work as designed. > > So does portage. > > Well, OK, what "as designed" means can sometimes be a tad grey. > But for the most part it works :-) I actually meant safe from breakage due to bugs or other wait... Bugs (the living type) can royally mess up an abacus... Never mind... -- Joost
Re: [gentoo-user] Keyboard is dead after emerge-update
On 22/03/2016 15:13, J. Roeleveld wrote: > On Tuesday, March 22, 2016 09:08:54 AM Alan Grimes wrote: >> Neil Bothwick wrote: >>> No one in their right mind would continue to use an OS that is clearly so >>> unsuitable for their needs that they don't even trust it to start up >>> properly... whatever their IQ. >> >> Why didn't I think of that!!! I'll run out to the store and select a >> completely different operating system that's well designed, well >> maintained, well supported and perfectly tailored to my needs. I'm sure >> there's a vast variety to chose from... > > Try an Abacus. They work as designed. So does portage. Well, OK, what "as designed" means can sometimes be a tad grey. But for the most part it works :-) -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] Keyboard is dead after emerge-update
On Tuesday, March 22, 2016 09:08:54 AM Alan Grimes wrote: > Neil Bothwick wrote: > > No one in their right mind would continue to use an OS that is clearly so > > unsuitable for their needs that they don't even trust it to start up > > properly... whatever their IQ. > > Why didn't I think of that!!! I'll run out to the store and select a > completely different operating system that's well designed, well > maintained, well supported and perfectly tailored to my needs. I'm sure > there's a vast variety to chose from... Try an Abacus. They work as designed. -- Joost
Re: [gentoo-user] Keyboard is dead after emerge-update
Neil Bothwick wrote: > No one in their right mind would continue to use an OS that is clearly so > unsuitable for their needs that they don't even trust it to start up > properly... whatever their IQ. Why didn't I think of that!!! I'll run out to the store and select a completely different operating system that's well designed, well maintained, well supported and perfectly tailored to my needs. I'm sure there's a vast variety to chose from... -- IQ is a measure of how stupid you feel. Powers are not rights.
Re: [gentoo-user] Keyboard is dead after emerge-update
On March 22, 2016 12:26:42 AM GMT+01:00, Neil Bothwick wrote: >On Mon, 21 Mar 2016 17:43:38 +0200, Alan McKinnon wrote: > >> Danger, Will Robinson, danger! >> >> The power of the troll is strong with this one. > >Read Alert! Res Alert! Mixed movie/TV references! I think you're getting your reference wrong with the first one :) The 'Reed alert' came from Lt. Malcolm Reed. -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
Re: [gentoo-user] Keyboard is dead after emerge-update
On Mon, 21 Mar 2016 10:14:03 -0400, waltd...@waltdnes.org wrote: > Try re-emerging your X drivers. To get a list of X drivers, > execute... > > qlist -I -C x11-drivers/ > > ...then "emerge -1" all the drivers that are listed. Or just emerge @x11-module-rebuild -- Neil Bothwick Anyone able to feel pain is trainable. pgpobk27wXOGw.pgp Description: OpenPGP digital signature
Re: [gentoo-user] Keyboard is dead after emerge-update
On Mon, 21 Mar 2016 10:52:26 -0400, Alan Grimes wrote: > Anyone who boots directly to X'doze without first going through a safe > console login is a raging mad lunatic who needs his head examined. Indeed. I mean, if I have a desktop system built to run desktop applications, why the hell would I want to set it up to boot to a desktop? After all, it's not as though it falls back to a console if X fails to load - as it does with monotonous regularity every eight years or so. No one in their right mind would continue to use an OS that is clearly so unsuitable for their needs that they don't even trust it to start up properly... whatever their IQ. -- Neil Bothwick Suicide is the most sincere form of self-criticism. pgpHlFe_C1mtN.pgp Description: OpenPGP digital signature
Re: [gentoo-user] Keyboard is dead after emerge-update
On Mon, 21 Mar 2016 17:43:38 +0200, Alan McKinnon wrote: > Danger, Will Robinson, danger! > > The power of the troll is strong with this one. Read Alert! Res Alert! Mixed movie/TV references! -- Neil Bothwick Obscenity is the crutch of inarticulate motherfuckers. pgppVQzGlbyGS.pgp Description: OpenPGP digital signature
Re: [gentoo-user] Keyboard is dead after emerge-update
On Monday 21 March 2016 10:52:26 Alan Grimes wrote: > Anyone who boots directly to X'doze without first going through a safe > console login is a raging mad lunatic who needs his head examined. This > is linux we are talking about. It's crap. It always has been crap, and > it always will be crap. Never ever ever trust it. I leave my computer on > continuously because booting it is such a risk. Every single time I load > X'doze and find that my keyboard and mouse are working I ghasp with > surprise. The linux developers, or the penguins as I like to call them > are so smug on the sublime superiority of the open source approach that > they never bother to design essential things such as fail-safe design, > fallback drivers, stable apis so that it doesn't just die if it's not > compiled against this specific point release. ... You know, the kind of > things that any competent programmer would think about. =| --->8 > IQ is a measure of how stupid you feel. Indeed. -- Rgds Peter linux counter 5290, 1994/04/23
Re: [gentoo-user] Keyboard is dead after emerge-update
On Monday, March 21, 2016 10:52:26 AM Alan Grimes wrote: > Anyone who boots directly to X'doze without first going through a safe > console login is a raging mad lunatic who needs his head examined. This > is linux we are talking about. It's crap. It always has been crap, and > it always will be crap. Never ever ever trust it. I leave my computer on > continuously because booting it is such a risk. Every single time I load > X'doze and find that my keyboard and mouse are working I ghasp with > surprise. The linux developers, or the penguins as I like to call them > are so smug on the sublime superiority of the open source approach that > they never bother to design essential things such as fail-safe design, > fallback drivers, stable apis so that it doesn't just die if it's not > compiled against this specific point release. ... You know, the kind of > things that any competent programmer would think about. =| Like in this scripts of yours? -- Joost
Re: [gentoo-user] Keyboard is dead after emerge-update
On Monday, March 21, 2016 01:08:19 PM Francisco Ares wrote: > 2016-03-21 11:52 GMT-03:00 Alan Grimes : > > Anyone who boots directly to X'doze without first going through a safe > > console login is a raging mad lunatic who needs his head examined. This > > is linux we are talking about. It's crap. It always has been crap, and > > it always will be crap. Never ever ever trust it. I leave my computer on > > continuously because booting it is such a risk. Every single time I load > > X'doze and find that my keyboard and mouse are working I ghasp with > > surprise. The linux developers, or the penguins as I like to call them > > are so smug on the sublime superiority of the open source approach that > > they never bother to design essential things such as fail-safe design, > > fallback drivers, stable apis so that it doesn't just die if it's not > > compiled against this specific point release. ... You know, the kind of > > things that any competent programmer would think about. =| > > > > Bertram Scharpf wrote: > > > Hi, > > > > > > since an emerge-update-world on my notebook the keyboard > > > does no longer respond in X. This is extremely annoying > > > because when I have xdm in rc-update, X is started right at > > > boot. I have no chance to get back to the console using > > > Ctrl-Alt-F1, and the device in unusable. > > > > > > Yet, this is only a problem of the boot process. At home, > > > when I ssh into the system, I can do an > > > > > > # /etc/init.d/xdm restart > > > > > > and from that point on the keyboard works. It is even > > > possible to disable xdm in rc-update and start it after the > > > boot process has completed. I solved the problem temporarily > > > this way, but the problem probably is a bug and should be > > > reported. > > > > > > So I have a closer look. When I diff "Xorg.0.log" and > > > "Xorg.0.log.old" (after removing the time stamps) I find one > > > line that doesn't appear in the log of the working X. > > > > > > (EE) kbd: Keyboard0: failed to set us as foreground pgrp > > > > (Inappropriate ioctl for device) > > > > > What does this mean? I estimate that "us" is the personal > > > pronoun and not a keyboard layout, and that the server tries > > > to do some chgrp on some /dev/*. I have no clue what to try > > > next. > > > > > > Thanks in advance. > > > > -- > > IQ is a measure of how stupid you feel. > > > > Powers are not rights. > > ... or you may provide checking points, like a script to run all "emerge > world" processes automatically, > > Open source and Linux' software begins with the premisse you know what you > are doing, as if you issue a "rm -fR /" you will get exactly what you have > asked for, a dead system, no "are you sure?" questions will ring. > > Those "craps" made me learn a lot! Me and a friend did that once to a system that needed reinstalling anyway. It doesn't actually wipe everything off the disk and processes in memory are likely to keep running. If we'd been running a shell with a lot of built-in functionality or a decent editor, we might have been able to restore some of the functionality :) -- Joost
Re: [gentoo-user] Keyboard is dead after emerge-update
On Monday, March 21, 2016 05:43:38 PM Alan McKinnon wrote: > On 21/03/2016 16:52, Alan Grimes wrote: > > Anyone who boots directly to X'doze without first going through a safe > > console login is a raging mad lunatic who needs his head examined. This > > is linux we are talking about. It's crap. It always has been crap, and > > it always will be crap. Never ever ever trust it. I leave my computer on > > continuously because booting it is such a risk. Every single time I load > > X'doze and find that my keyboard and mouse are working I ghasp with > > surprise. The linux developers, or the penguins as I like to call them > > are so smug on the sublime superiority of the open source approach that > > they never bother to design essential things such as fail-safe design, > > fallback drivers, stable apis so that it doesn't just die if it's not > > compiled against this specific point release. ... You know, the kind of > > things that any competent programmer would think about. =| > > Danger, Will Robinson, danger! > > The power of the troll is strong with this one. No really? :) -- Joost
Re: [gentoo-user] Keyboard is dead after emerge-update
2016-03-21 11:52 GMT-03:00 Alan Grimes : > Anyone who boots directly to X'doze without first going through a safe > console login is a raging mad lunatic who needs his head examined. This > is linux we are talking about. It's crap. It always has been crap, and > it always will be crap. Never ever ever trust it. I leave my computer on > continuously because booting it is such a risk. Every single time I load > X'doze and find that my keyboard and mouse are working I ghasp with > surprise. The linux developers, or the penguins as I like to call them > are so smug on the sublime superiority of the open source approach that > they never bother to design essential things such as fail-safe design, > fallback drivers, stable apis so that it doesn't just die if it's not > compiled against this specific point release. ... You know, the kind of > things that any competent programmer would think about. =| > > > Bertram Scharpf wrote: > > Hi, > > > > since an emerge-update-world on my notebook the keyboard > > does no longer respond in X. This is extremely annoying > > because when I have xdm in rc-update, X is started right at > > boot. I have no chance to get back to the console using > > Ctrl-Alt-F1, and the device in unusable. > > > > Yet, this is only a problem of the boot process. At home, > > when I ssh into the system, I can do an > > > > # /etc/init.d/xdm restart > > > > and from that point on the keyboard works. It is even > > possible to disable xdm in rc-update and start it after the > > boot process has completed. I solved the problem temporarily > > this way, but the problem probably is a bug and should be > > reported. > > > > So I have a closer look. When I diff "Xorg.0.log" and > > "Xorg.0.log.old" (after removing the time stamps) I find one > > line that doesn't appear in the log of the working X. > > > > (EE) kbd: Keyboard0: failed to set us as foreground pgrp > (Inappropriate ioctl for device) > > > > What does this mean? I estimate that "us" is the personal > > pronoun and not a keyboard layout, and that the server tries > > to do some chgrp on some /dev/*. I have no clue what to try > > next. > > > > Thanks in advance. > > > > -- > IQ is a measure of how stupid you feel. > > Powers are not rights. > > > ... or you may provide checking points, like a script to run all "emerge world" processes automatically, Open source and Linux' software begins with the premisse you know what you are doing, as if you issue a "rm -fR /" you will get exactly what you have asked for, a dead system, no "are you sure?" questions will ring. Those "craps" made me learn a lot! Best regards, Francisco
Re: [gentoo-user] Keyboard is dead after emerge-update
On 21/03/2016 16:52, Alan Grimes wrote: > Anyone who boots directly to X'doze without first going through a safe > console login is a raging mad lunatic who needs his head examined. This > is linux we are talking about. It's crap. It always has been crap, and > it always will be crap. Never ever ever trust it. I leave my computer on > continuously because booting it is such a risk. Every single time I load > X'doze and find that my keyboard and mouse are working I ghasp with > surprise. The linux developers, or the penguins as I like to call them > are so smug on the sublime superiority of the open source approach that > they never bother to design essential things such as fail-safe design, > fallback drivers, stable apis so that it doesn't just die if it's not > compiled against this specific point release. ... You know, the kind of > things that any competent programmer would think about. =| Danger, Will Robinson, danger! The power of the troll is strong with this one. -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] Keyboard is dead after emerge-update
Anyone who boots directly to X'doze without first going through a safe console login is a raging mad lunatic who needs his head examined. This is linux we are talking about. It's crap. It always has been crap, and it always will be crap. Never ever ever trust it. I leave my computer on continuously because booting it is such a risk. Every single time I load X'doze and find that my keyboard and mouse are working I ghasp with surprise. The linux developers, or the penguins as I like to call them are so smug on the sublime superiority of the open source approach that they never bother to design essential things such as fail-safe design, fallback drivers, stable apis so that it doesn't just die if it's not compiled against this specific point release. ... You know, the kind of things that any competent programmer would think about. =| Bertram Scharpf wrote: > Hi, > > since an emerge-update-world on my notebook the keyboard > does no longer respond in X. This is extremely annoying > because when I have xdm in rc-update, X is started right at > boot. I have no chance to get back to the console using > Ctrl-Alt-F1, and the device in unusable. > > Yet, this is only a problem of the boot process. At home, > when I ssh into the system, I can do an > > # /etc/init.d/xdm restart > > and from that point on the keyboard works. It is even > possible to disable xdm in rc-update and start it after the > boot process has completed. I solved the problem temporarily > this way, but the problem probably is a bug and should be > reported. > > So I have a closer look. When I diff "Xorg.0.log" and > "Xorg.0.log.old" (after removing the time stamps) I find one > line that doesn't appear in the log of the working X. > > (EE) kbd: Keyboard0: failed to set us as foreground pgrp (Inappropriate > ioctl for device) > > What does this mean? I estimate that "us" is the personal > pronoun and not a keyboard layout, and that the server tries > to do some chgrp on some /dev/*. I have no clue what to try > next. > > Thanks in advance. > -- IQ is a measure of how stupid you feel. Powers are not rights.
Re: [gentoo-user] Keyboard is dead after emerge-update
On Mon, Mar 21, 2016 at 01:59:50PM +0100, Bertram Scharpf wrote > On Monday, 21. Mar 2016, 12:37:07 +, Ian Bloss wrote: > > Did you update your kernel in the process as well? > > > > On Mon, Mar 21, 2016, 07:53 Bertram Scharpf > > wrote: > > > since an emerge-update-world on my notebook the keyboard > > > does no longer respond in X. [...] > > No. The emerge-update did not install new kernel sources and > therefore I found no need to reconfigure or to compile the > old ones. Try re-emerging your X drivers. To get a list of X drivers, execute... qlist -I -C x11-drivers/ ...then "emerge -1" all the drivers that are listed. -- Walter Dnes I don't run "desktop environments"; I run useful applications
Re: [gentoo-user] Keyboard is dead after emerge-update
On Monday, 21. Mar 2016, 10:17:22 -0300, Francisco Ares wrote: > 2016-03-21 9:59 GMT-03:00 Bertram Scharpf : > > > On Mon, Mar 21, 2016, 07:53 Bertram Scharpf > > > wrote: > > > > since an emerge-update-world on my notebook the keyboard > > > > does no longer respond in X. [...] > > > For my experience, if the X server was rebuilt (either a new version, or a > simple rebuild because of many possible triggers, including USE flags > change, for example), then you need to rebuild all X drivers as well. > > [...] > > Hope this helps. Yes, that helped. Thank you! Nevertheless, what a weird behaviour. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de
Re: [gentoo-user] Keyboard is dead after emerge-update
2016-03-21 9:59 GMT-03:00 Bertram Scharpf : > On Monday, 21. Mar 2016, 12:37:07 +, Ian Bloss wrote: > > Did you update your kernel in the process as well? > > > > On Mon, Mar 21, 2016, 07:53 Bertram Scharpf > wrote: > > > since an emerge-update-world on my notebook the keyboard > > > does no longer respond in X. [...] > > No. The emerge-update did not install new kernel sources and > therefore I found no need to reconfigure or to compile the > old ones. > > Bertram > > > -- > Bertram Scharpf > Stuttgart, Deutschland/Germany > http://www.bertram-scharpf.de > > For my experience, if the X server was rebuilt (either a new version, or a simple rebuild because of many possible triggers, including USE flags change, for example), then you need to rebuild all X drivers as well. After I issue a complete emerge update, I run the following script (I have a nVidia card) as root: GentooSystem ~ $ cat ~/bin/xorg_rebuild #! /bin/bash if ! [ -e /root/.working ] then touch /root/.working XORG_SERVER=`equery l xorg-server` if [ "$XORG_SERVER" != "`cat /root/xorg-server.txt`" ] then EMERGE_LIST=`equery l --format='$name' xf86*`" "`equery l --format='$name' "xorg*"`" "`equery l --format='$name' nvidia-drivers` # EMERGE_LIST=`equery l --format='$name' xf86*`" "`equery l --format='$name' "xorg*"` emerge -vD --with-bdeps=y --keep-going --quiet-build $EMERGE_LIST && \ echo $XORG_SERVER>/root/xorg-server.txt && \ echo $NVIDIA_DRVR>/root/nvidia-drvr.txt && \ rmmod nvidia 2>/dev/null && modprobe nvidia fi DRIVER="nvidia-drivers" MOD="nvidia" VIDEO_DRIVR=`equery l $DRIVER` if [ "$VIDEO_DRIVR" != "`cat /root/video-drv.txt`" ] then EMERGE_LIST=`equery l --format='$name' xf86*`" "`equery l --format='$name' "xorg*"`" "`equery l --format='$name' $DRIVER` emerge -vD --with-bdeps=y --keep-going --quiet-build $EMERGE_LIST && \ echo $XORG_SERVER>/root/xorg-server.txt && \ echo $VIDEO_DRIVR>/root/video-drv.txt && \ rmmod $MOD 2>/dev/null && modprobe $MOD fi rm -f /root/.working fi It uses three files, the first is used to signal to other scripts (that uses emerge for some reason) to not try to do anything while other of those scripts, including this one, is being run. That is "/root/working". Another file is "/root/xorg-server.txt", that keeps the output of 'equery l xorg-server', which is compared with up to date result of the same command. If it is different, the script lists all installed drivers and re-emerges them. Finally this same file is updated. The same happens with the nVidia proprietary driver, using file "/root/video-drv.txt". Hope this helps. Best regards, Francisco
Re: [gentoo-user] Keyboard is dead after emerge-update
On Monday, 21. Mar 2016, 12:37:07 +, Ian Bloss wrote: > Did you update your kernel in the process as well? > > On Mon, Mar 21, 2016, 07:53 Bertram Scharpf wrote: > > since an emerge-update-world on my notebook the keyboard > > does no longer respond in X. [...] No. The emerge-update did not install new kernel sources and therefore I found no need to reconfigure or to compile the old ones. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de
Re: [gentoo-user] Keyboard is dead after emerge-update
Did you update your kernel in the process as well? On Mon, Mar 21, 2016, 07:53 Bertram Scharpf wrote: > Hi, > > since an emerge-update-world on my notebook the keyboard > does no longer respond in X. This is extremely annoying > because when I have xdm in rc-update, X is started right at > boot. I have no chance to get back to the console using > Ctrl-Alt-F1, and the device in unusable. > > Yet, this is only a problem of the boot process. At home, > when I ssh into the system, I can do an > > # /etc/init.d/xdm restart > > and from that point on the keyboard works. It is even > possible to disable xdm in rc-update and start it after the > boot process has completed. I solved the problem temporarily > this way, but the problem probably is a bug and should be > reported. > > So I have a closer look. When I diff "Xorg.0.log" and > "Xorg.0.log.old" (after removing the time stamps) I find one > line that doesn't appear in the log of the working X. > > (EE) kbd: Keyboard0: failed to set us as foreground pgrp (Inappropriate > ioctl for device) > > What does this mean? I estimate that "us" is the personal > pronoun and not a keyboard layout, and that the server tries > to do some chgrp on some /dev/*. I have no clue what to try > next. > > Thanks in advance. > > Bertram > > > -- > Bertram Scharpf > Stuttgart, Deutschland/Germany > http://www.bertram-scharpf.de > >