LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-23-2015, 02:04 AM   #1
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie stretch buster
Posts: 1,745

Rep: Reputation: 107Reputation: 107
X segfaults and unable to log in (when keyboard is absent)


Hya,

I ran into a little bit weird situation.

Situation
I replaced legacy port keyboard with USB port keyboard.
On my console, things look good. X can be invoked then choked. (screen lock up, dead keyboard, mouse pointer moves but unable to click anything)

I tried to recover through ssh log in. It connects (I see login prompt, I can type in password, but unable to log in - waiting forever)

System
Debian jessie, amd64, custom kernel.
USB driver is is xhci (USB 3.0)

X.Org X Server 1.16.4
Release Date: 2014-12-20


Troubleshoot
Xorg.0.log looks like
Code:
.
[  1419.854] (WW) xf86CloseConsole: VT_GETMODE failed: Input/output error
[  1419.854] (EE) 
Fatal server error:
[  1419.854] (EE) xf86CloseConsole: VT_ACTIVATE failed: Input/output error
[  1419.854] (EE) 
[  1419.854] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[  1419.854] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  1419.854] (EE) 
[  1419.854] (EE) 
[  1419.854] (EE) Backtrace:
[  1419.855] (EE) 0: /usr/bin/X (xorg_backtrace+0x56) [0x7f62b0330d46]
[  1419.855] (EE) 1: /usr/bin/X (0x7f62b017a000+0x1baf29) [0x7f62b0334f29]
[  1419.855] (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (0x7f62ade6e000+0x35180) [0x7f62adea3180]
[  1419.855] (EE) 
[  1419.855] (EE) Segmentation fault at address 0x0
[  1419.855] (EE) 
FatalError re-entered, aborting
[  1419.855] (EE) Caught signal 11 (Segmentation fault). Server aborting
[  1419.855] (EE)
Putting keyboard back into legacy port resolved this situation.

Keyboard itself works via USB on other computers, even on the console of this computer.
I do not have xorg.conf

I have not spent time for further troubleshooting yet. For the time being, it is ok for me to survive. I am posting here because segfault is not a good thing to show up under such condition, I guess.

Have a nice day!

I will update.

cheers
 
Old 04-23-2015, 05:48 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Do you have /etc/X11/xorg.conf?

Perhaps it has set ps/2 mouse as default.

Try starting X without a config file and see, by just renaming the xorg.conf file to something else.
 
Old 04-23-2015, 06:49 AM   #3
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie stretch buster
Posts: 1,745

Original Poster
Rep: Reputation: 107Reputation: 107
Thanks for your comment.

No, I do not have xorg.conf (under /etc/X11)

cheers
 
Old 04-23-2015, 09:42 AM   #4
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Sometimes GPM interferes with X Window system. Try stopping it before starting X.
 
Old 04-23-2015, 09:08 PM   #5
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie stretch buster
Posts: 1,745

Original Poster
Rep: Reputation: 107Reputation: 107
Hya

Thanks for your comment.

I don't think I have gpm installed.

I have libgpm2, on which many applications depend.

cheers.
 
Old 03-20-2016, 03:53 AM   #6
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie stretch buster
Posts: 1,745

Original Poster
Rep: Reputation: 107Reputation: 107
Hya

After a long interval, (also system update to stretch), the problem is gone.

cheers
 
  


Reply

Tags
segfault, usb_keyboard, xhci, xorg


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bootmgr absent !!!!!! kaoutarabdelalim Linux - Newbie 18 10-07-2014 02:09 AM
segfaults are not logging into /var/log/messages ravikumarv Linux - General 1 12-10-2010 08:20 AM
Squid Proxy is unable to log "access.log" file. nishith Linux - Server 6 08-10-2008 12:00 AM
keyboard screwed up - how do i log in? pfunk Linux - Newbie 4 12-06-2004 04:00 AM
Keyboard disable, can't even log in Bustaroms Linux - Newbie 2 06-01-2003 10:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration