Bug 12186 - Login doesn't accept keyboard input until X-server is restarted (due to faulty mounts)
Summary: Login doesn't accept keyboard input until X-server is restarted (due to fault...
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Input/Keyboard (show other bugs)
Version: 7.1 (2006.05)
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL: http://bugs.kde.org/show_bug.cgi?id=1...
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2007-08-27 14:09 UTC by Peter Vollebregt
Modified: 2008-12-21 16:28 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Peter Vollebregt 2007-08-27 14:09:00 UTC
Overview description:
At boot-up, graphical login interface loads, but keyboard input is not accepted. The mouse works. Restarting X solves the problem.


Steps to reproduce:
Basically enter a faulty NFS or SMB mountpoint in fstab and boot in X.


Details: 
In my case i use the kdm manager to logon. This defaults to the last user and puts the cursor in the password filed. This field is filled with a repeating '='. Another user suffering from the same error reported a repeating '8' (see the original error report aimed at KDE/kdm at URL http://bugs.kde.org/show_bug.cgi?id=149254.

Re-starting X allows keyboard input again. In my case the keyboard combination ctrl-alt-fn works also to go to another virtual terminal (so some keys still work ?!) and then also the keyboard functions again.

In my case this error also popped up sometimes when the system was already up and running. The reason is unknown - although most of the times one of my daughter was working within a vmware windows session (windows guest). The ctrl-alt-fn trick solved the issue then.

Other users using Mandriva 2007.x report the same problem using gdm. The KDE team seas this as a xorg problem. The problem is reported before by other users on other and older systems (see: http://bugs.kde.org/show_bug.cgi?id=45478)

Strangely enough i cannot find this error reported before on xorg's bugzilla. The only bug that seems to point in he same direction is bug 1176


Additional details:
- Mandriva Linux 2007.0 (other users are working with the newer 2007.1)
- xorg (according to KDE info centre): 70.101.000 version 11.0 (latest updated version based on RPM build 1.1.1-12.1mdv2007.0@586)
- logon via kdm into KDE 3.5.4


Apparent cause:
An invalid line in fstab.  

In my case, a samba mount that was not working. The other users report 'smb: mapping no longer valid' and faulty NFS mounts. This cause was discovered by gogling the web, but alas i cannot find the original solution anymore.


Resolution (actually a workaround):
Remove the offending line in fstab and reboot.  Login etc returns to normal. The error does not occur anymore.
Comment 1 cannewilson 2007-08-27 14:34:34 UTC
(In reply to comment #0)
> Overview description:
> At boot-up, graphical login interface loads, but keyboard input is not
> accepted. The mouse works. Restarting X solves the problem.
> 
This description accurately describes my experience.  A smb: mapping was no longer valid.  I am using Mandriva 2007.1 (Spring) with KDE 3.5.7.
Comment 2 Peter Vollebregt 2007-09-14 15:06:42 UTC
Is more information required? Please ask. I am really not the only one suffering from it. 
Comment 3 catworld 2007-09-16 07:15:05 UTC
I have same problem, running 2007.1 on Dell Inspiron 600 laptop.

But fstab/mtab is NOT the problem. Both files represent local HD mounts only, no smb or nfs mounts present, faulty or otherwise.

I MUST restart X every boot, or there is zero keyboard input at log in. Previous installs had resulted in any key-press generating a constant sting of "8" characters as reported herein. Do not know what caused this to change to NO KEYBd INPUT whatsoever, but several reinstalls were accomplished in attempt to fix this bug.

Note this behavior is same for any of several kernels and is unaffected by logging in as different users between reboots.

Use of "autologin" under such condition is disastrous, to say the least, requiring hard power-down, should the keyboard be touched at all after the desktop loads. (only function working is right-click on desktop to select "log out" from context menu. Main menu appears locked, with uppermost item in "recent" list flickering rapidly)

Note that disabling startup of DM at boot, with non-graphical log in and "startx" command DOES NOT RESULT IN ANY SUCH ERROR. This is definitely related to the automatic loading of DM.

And it appears to be specific to Mandriva 2007-2007.1

So apparently until MDV 2008 is released I will live with having to restart X server at every boot. A minor encumbrance in order to have an otherwise stunning OS.

Comment 4 Jerry Heyman 2008-03-27 10:18:54 UTC
Periodically, I see that the keyboard I'm typing on will stop
generating any keystrokes.  The mouse still works, so I know it's
not a frozen input.  I saw this with my 2006.0 installation and
assumed that it was related to my use of an old AT (5pin) style
keyboard (KeyTronic FlexPro) via a pigtail (5pin -> PS/2 adapter).

After installing 2008.0, I still see the problem - as it occurs
infrequently, I still assumed it was my choice in keyboards.

Recently, my IBM T60 laptop experienced the same issue.  As this
is an integrated keyboard, I can now claim that it's not my ancient
keyboard that is causing the problem.

This has occurred mostly when I'm in an editor - Xemacs or vi -
but is not limited to those applications as I've also seen it when
typing in a shell window.

The solution I've used is to log out of my X (KDE window manager)
session via mouse clicks, and logging back in.  Problem is then
temporarily solved, but it's an annoyance...
Comment 5 Peter Hutterer 2008-05-01 16:49:56 UTC
(In reply to comment #4)
> Periodically, I see that the keyboard I'm typing on will stop
> generating any keystrokes.  The mouse still works, so I know it's
> not a frozen input.  

this sounds like 1176. if you have a reproduceable test case - much appreciated.

Peter, canne, catworld:
can you confirm if this is an issue with a newer version of X?
Comment 6 cannewilson 2008-05-14 02:21:22 UTC
I haven't seen this behaviour for some time, so I would guess that the newer versions have in fact fixed it.  I can't confirm which version started the correct behaviour.  Sorry.
Comment 7 catworld 2008-05-14 03:38:24 UTC
Since using 2008.0 and 2008.1 I have not seen this problem once. I concur it has been resolved naturally.
Comment 8 Peter Hutterer 2008-05-14 05:14:00 UTC
(In reply to comment #7)
> Since using 2008.0 and 2008.1 I have not seen this problem once. I concur it
> has been resolved naturally.
> 

(In reply to comment #6)
> I haven't seen this behaviour for some time, so I would guess that the newer
> versions have in fact fixed it.  I can't confirm which version started the
> correct behaviour.  Sorry.


calling it fixed then.

Comment 9 Jerry Heyman 2008-05-14 07:46:05 UTC
Shouldn't be closed.

Experienced the problem yesterday.

Mandriva 2008.0 with all the current patches.

Once I logged out, and logged back in, the problem went away.
Comment 10 Peter Vollebregt 2008-05-14 14:06:55 UTC
This reaction is probably late - i was on a lenghty holiday.

What i can tell is that the error still is at i reported in mandriva 2007.0 (i still have it around if you want to debug it). Whit a faulty fstab i cannot enter the password in kdm (note that not all keys are disabled).

In 2008.0 it does not occur - although i only tested it a couple of times. With a faulty fstab i have no problems to logon and the keyboard is fully functional. Also with vmware i have no problems (the related error i reported).
Comment 11 Peter Hutterer 2008-12-18 03:06:48 UTC
Can you give us an update on this bug please?
It's been several months, did it reoccur?
Comment 12 Peter Vollebregt 2008-12-19 06:15:45 UTC
Peter,

It did not reoccur because i did disable the faulty mounts

At the moment i am working with a mandriva 2008.1 system using xorg 10.400.090 version 11.0 using x11-server-xorg-1.4.0.90-14.4mdv2008.1. I lost my 2007 setup diring a computer upgrade.

I have seen the same report from other people though - even with Mdv 2009.0 (not always linked to faulty mounts, but with this reoccuring ============= in the kdm login form i reported already, but it never is solved until people upgrade. A mysterious error becasue it only touches some people and noone is able to find a cause. My link to the faulty mounts is the only that i know of.
Comment 13 cannewilson 2008-12-19 09:40:24 UTC
(In reply to comment #12)
> Peter,
> 
> It did not reoccur because i did disable the faulty mounts
> 
> At the moment i am working with a mandriva 2008.1 system using xorg 10.400.090
> version 11.0 using x11-server-xorg-1.4.0.90-14.4mdv2008.1. I lost my 2007 setup
> diring a computer upgrade.
> 
> I have seen the same report from other people though - even with Mdv 2009.0
> (not always linked to faulty mounts, but with this reoccuring ============= in
> the kdm login form i reported already, but it never is solved until people
> upgrade. A mysterious error becasue it only touches some people and noone is
> able to find a cause. My link to the faulty mounts is the only that i know of.
> 

I confirm that fixing the faulty mounts in Mandriva 2007 did cure the problem, and I haven't seen it since.

Anne
Comment 14 Jerry Heyman 2008-12-21 16:28:08 UTC
For what it's worth, I just saw the problem this past Friday using X11

1.3.0.0-25.1mdv2008.0

And I'm now on Mandriva 2008.0

I have no funny mounts, those that are disk sbased are all
mounted and used, and there art the additional ones sunrpc and nfsd

[jerry@unix 1.0]$ mount
/dev/sda5 on / type ext3 (rw,relatime)
none on /proc type proc (rw)
/dev/sda8 on /data type ext3 (rw,relatime)
/dev/sda1 on /home type ext3 (rw,relatime)
/dev/sda7 on /opt type ext3 (rw,relatime)
/dev/hdc3 on /scratch type ext2 (rw,relatime)
/dev/sda6 on /usr type ext3 (rw,relatime)
/dev/hdc6 on /usr/local type ext3 (rw,relatime)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)

Will move up to Mandriva 2009.0 in the near future and see if the problem persists.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.