Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Keyboard problems -- RESOLVE/FIXED
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1036
Location: Tujunga, CA

PostPosted: Tue Feb 02, 2016 5:51 am    Post subject: Keyboard problems -- RESOLVE/FIXED Reply with quote

The problems started when I rebooted with the latest kernel in portage. I had no response from the keyboard at the log on screen. I've tried different kernels, earlier versions of the nvidia-drivers, and attempted to try an earlier version of the xorg-server, which I'm not sure was ever done correctly. It seems if I make a change and then try to revert back to an earlier state, things get worse no matter the direction. Sometimes my root password is accepted in recover mode (different kernels) and sometimes not. If I get that far and do init 2, it won't accept my password for logging on, except rarely it does, but then when trying to do anything it asks for a new login. I've tried a different keyboard with no success. Note that this computer will still serve web pages, and so most of the system is working.

At this point I'm hoping someone can suggest something other than reinstalling gentoo. If it comes to that I'm tempted to go with ubuntu which I have on the laptop I'm typing on. I've loved using Gentoo for about 15 years and have had a number of "interesting" problems to work through;. I'd love to see any suggestions anyone might care to make. Note that at this point I can not get enough into the system to display things like xorg.conf, or anything else! Many thanks,
Fred


Last edited by Fred Krogh on Tue Feb 02, 2016 10:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Tue Feb 02, 2016 7:22 am    Post subject: Re: Keyboard problems Reply with quote

Fred Krogh wrote:
The problems started when I rebooted with the latest kernel in portage. I had no response from the keyboard at the log on screen.

Is it about xorg logon screen or even console logon? Can you boot with interactive mode?
Back to top
View user's profile Send private message
v_andal
Guru
Guru


Joined: 26 Aug 2008
Posts: 541
Location: Germany

PostPosted: Tue Feb 02, 2016 7:31 am    Post subject: Reply with quote

You should clarify, what is your problem actually. Your keyboard is not working, or your passwords are not accepted? If it is only passwords, then you may have messed up your /etc/passwd file, or removed some module that was managing that file. If your keyboard is not working, then please be more specific, if it is console mode or in xorg. Have you tried to boot from CD (for example SystemRescueCD https://www.system-rescue-cd.org/SystemRescueCd_Homepage)?
Back to top
View user's profile Send private message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1036
Location: Tujunga, CA

PostPosted: Tue Feb 02, 2016 3:09 pm    Post subject: Reply with quote

Since the problem started, I've never been able to log in to X. There were times when a console login was possible, but the furthest I can get at the moment is to login, and then do anything and it wants to log me in again. Passwords are accepted on a recover startup some of the time. But after an init 2 it wants me to log in again, and that I cannot do. Note that I have tried an alternate keyboard. Thanks for the responses.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Tue Feb 02, 2016 3:30 pm    Post subject: Reply with quote

Does the keyboard work while you're still on the bootloader (are you using one?) before booting starts?
And can you interactively stop/skip the boot services with that keyboard?
Back to top
View user's profile Send private message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1036
Location: Tujunga, CA

PostPosted: Tue Feb 02, 2016 4:05 pm    Post subject: Reply with quote

I tried plugging the computer into a wall plug instead of into a UPS. Don't know if that is important as X still sees no keyboard. But backing off I got a 4.3.3 kernel to start. Maybe that was just lucky. I can now ssh into the computer from my laptop. I find myself wondering if perhaps problems are caused by the power supply. Any thoughts? Thanks.
Back to top
View user's profile Send private message
Gatsby
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jan 2010
Posts: 116
Location: 127.0.0.1

PostPosted: Tue Feb 02, 2016 5:00 pm    Post subject: Re: Keyboard problems Reply with quote

Fred Krogh wrote:
The problems started when I rebooted with the latest kernel in portage. I had no response from the keyboard at the log on screen. I've tried different kernels, earlier versions of the nvidia-drivers, and attempted to try an earlier version of the xorg-server, which I'm not sure was ever done correctly. It seems if I make a change and then try to revert back to an earlier state, things get worse no matter the direction. Sometimes my root password is accepted in recover mode (different kernels) and sometimes not. If I get that far and do init 2, it won't accept my password for logging on, except rarely it does, but then when trying to do anything it asks for a new login. I've tried a different keyboard with no success. Note that this computer will still serve web pages, and so most of the system is working.


Hello Fred,

if you are running a gentoo box with openrc and upgraded today to sys-apps/sysvinit-2.88-r8 try masking it and re-emerge sys-apps/sysvinit-2.88-r7 or an older version.
I encountered today the same problems (no response from the keyboard at the kdm log on screen after an upgrade to sysvinit-2.88-r8 and gentoo-sources-4.4.1)
and that gave me back a functioning keyboard (log in with ssh from my other computer and downgrading sysvinit). Good luck. :)

Regards, Gatsby
_________________
Γνωθι σεαυτον.
Back to top
View user's profile Send private message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1036
Location: Tujunga, CA

PostPosted: Tue Feb 02, 2016 5:45 pm    Post subject: Reply with quote

Wow! There's a reason I love Gentoo. sys-apps/sysvinit-2.88-r7 has the system booting with the latest kernel just fine. Many thanks for this.
Back to top
View user's profile Send private message
Gatsby
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jan 2010
Posts: 116
Location: 127.0.0.1

PostPosted: Tue Feb 02, 2016 5:54 pm    Post subject: Reply with quote

Fred Krogh wrote:
Wow! There's a reason I love Gentoo. sys-apps/sysvinit-2.88-r7 has the system booting with the latest kernel just fine. Many thanks for this.


You're welcome. :)


Regards, Gatsby
_________________
Γνωθι σεαυτον.
Back to top
View user's profile Send private message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1036
Location: Tujunga, CA

PostPosted: Tue Feb 02, 2016 10:34 pm    Post subject: Reply with quote

Perhaps I should have mentioned that I'm running an xfce4 desktop, so the problem is known to affect kdm, and xfce4. I've also mentioned this problem in a bug report.
Back to top
View user's profile Send private message
gem
n00b
n00b


Joined: 07 Dec 2010
Posts: 6

PostPosted: Wed Feb 03, 2016 12:23 am    Post subject: Reply with quote

[quote="Fred Krogh"]Perhaps I should have mentioned that I'm running an xfce4 desktop, so the problem is known to affect kdm, and xfce4. I've also mentioned this problem in a bug report.[/quote]

Seems to me anything that uses /dev/console and /dev/tty1 to /dev/tty6 is affected. So anyone at the console.

I can confirm that the downgrade to 2.88-r7 solves the issue.

More info in bug #573668

https://bugs.gentoo.org/show_bug.cgi?id=573668

The easiest workaround may be to remove this line from your /etc/innittab:

x1:12345:respawn:/sbin/agetty 38400 console linux

That line was added in 2.88-r8.
Back to top
View user's profile Send private message
proteusx
Guru
Guru


Joined: 21 Jan 2008
Posts: 338

PostPosted: Wed Feb 03, 2016 2:43 pm    Post subject: Reply with quote

systemd black ops?
Back to top
View user's profile Send private message
gi7omy
n00b
n00b


Joined: 27 Oct 2002
Posts: 10

PostPosted: Wed Feb 03, 2016 6:11 pm    Post subject: Reply with quote

Just as an update, an emerge -upND --with-bdeps=y @world rolls back to the older sysvinit automatically
_________________
Daithi O Buitigh
Back to top
View user's profile Send private message
gem
n00b
n00b


Joined: 07 Dec 2010
Posts: 6

PostPosted: Thu Feb 04, 2016 12:35 am    Post subject: Reply with quote

[quote="gi7omy"]Just as an update, an emerge -upND --with-bdeps=y @world rolls back to the older sysvinit automatically[/quote]

I just did this, an a gentoo stable system recently downgraded to 2.88-r8

eix-sync; emerge -uDNa --with-bdeps=y world

It moved me back up from 2.88-r8 to 2.88-r9

Oh, and your -p just makes it pretend to do, not do.

Which is not so bad, the problem is the etc-update after that, which breaks the /etc/innittab
Back to top
View user's profile Send private message
gem
n00b
n00b


Joined: 07 Dec 2010
Posts: 6

PostPosted: Thu Feb 04, 2016 1:20 am    Post subject: Reply with quote

Sorry, I obviously replied too soon. Looking aver this again I see I made a few mistakes.
My apologies for any confusion.

> I just did this, on a gentoo stable system recently downgraded to 2.88-r8

I had downgraded -r7, -r8 was the bad one, and -r9 is the new good one.

> eix-sync; emerge -uDNa --with-bdeps=y world

That bumped me from the -r7 to the now fixed -r9. -r8 is not an option.

And all is well again, at least AFAIK
Back to top
View user's profile Send private message
gi7omy
n00b
n00b


Joined: 27 Oct 2002
Posts: 10

PostPosted: Thu Feb 04, 2016 3:54 am    Post subject: Reply with quote

"...Oh, and your -p just makes it pretend to do, not do. ..."

My apologies - I did mean 'uND' to actually do it. I spotted the rollback with the -p option. (my second language is Typonese :mrgreen: )
_________________
Daithi O Buitigh
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
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