LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-18-2008, 03:41 AM   #1
kolRn
LQ Newbie
 
Registered: Jan 2008
Posts: 8

Rep: Reputation: 0
Slackware. The keyboard stops responding after "Running /etc/rc.d/rc.modules-2.6.21."


I'm new in the Linux world. A few days ago I installed Linux Slackware 12.0. I installed the kernel and all packages that came with it. After the installation was over, I started to boot for the first time. While in BIOS and while the kernel's initializing devices, the keyboard responds (i press NumLock button), but after "Running /etc/rc.d/rc.modules-2.6.21." it gets hooked off and does not respond at all. What's wrong and how can I fix it?

P.S. I've got a PS/2 keyboard and USB-mouse (the latter works perfectly well).
 
Old 01-18-2008, 04:43 AM   #2
kolRn
LQ Newbie
 
Registered: Jan 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Versions

Slackware 12.0, installed "huge.s", Linux 2.6.21.5-smp kernel.
Keyboard is Mitsumi (also used Genius). Both keyboards have PS/2 interface.
 
Old 01-18-2008, 04:46 AM   #3
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Welcome to LQ!

Why do you "run /etc/rc.d/rc.modules-2.6.21."?

That kernel should have support for a PS/2 kbd built in.
 
Old 01-18-2008, 04:46 AM   #4
kolRn
LQ Newbie
 
Registered: Jan 2008
Posts: 8

Original Poster
Rep: Reputation: 0
The keyboard freezes and when it prompts for the master login the cursor blinks but I'm "handless"...
 
Old 01-18-2008, 04:48 AM   #5
kolRn
LQ Newbie
 
Registered: Jan 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Bruce Hill View Post
Welcome to LQ!

Why do you "run /etc/rc.d/rc.modules-2.6.21."?

That kernel should have support for a PS/2 kbd built in.
You didn't understand - this is a string from the boot log after which the keyboard freezes. What I do is start my pc up, choose Linux in LILO and that's all...
 
Old 01-18-2008, 06:23 AM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Please post the output of that log...

Last edited by Bruce Hill; 01-18-2008 at 06:24 AM.
 
Old 01-18-2008, 06:33 AM   #7
kolRn
LQ Newbie
 
Registered: Jan 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Bruce Hill View Post
Please post the output of that log...
I'm new in the Linux world so I don't know how to get that log without beihg able to use bash (keyboard freezes).
I've typed out this piece of code just where the keyboard comes off:

EXT3 FS on hdc2, internal journal
/dev/hdc2 on / type ext3 (rw)
Running /etc/rc.d/rc.modules-2.6.21.5-smp:
dsdModule dependencies up to date (no new kernel modules found)
 
Old 01-18-2008, 08:46 AM   #8
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
I've never had a problem with a PS/2 kbd. With USB, yes; PS/2, never.

When you first boot, go into your BIOS and check the settings for anything related to keyboard, and PS/2.

Boot with the Slackware install CD1 and at the boot prompt enter:
Code:
hugesmp.s root=/dev/hdc2 rdinitr= ro
which should get you into your Slackware system. Then you can see what modules the PS/2 mouse is using.

You'll need a USB flash disk, or a shared drive (which I assume you have since you say Slackware is on hdc2), where you can copy this output to later post in your thread here.

We need to see the output of the following commands:
Code:
lsmod
/sbin/lspci
uname -a
Probably the easiest way to see what the kernel is doing with the kbd is this. Open a terminal, and as root issue "tail -f /var/log/messages" then unplug your kbd. Look at the messages that appear in that terminal, then plug the kbd back in. It will output what the kernel does, what modules it loads, to support the kbd. You can then copy and paste that output to here, also.
 
Old 01-21-2008, 01:14 AM   #9
kolRn
LQ Newbie
 
Registered: Jan 2008
Posts: 8

Original Poster
Rep: Reputation: 0
I made my keyboard work! What I did - I disconnected it from my pc while the linux kernel was starting up, and connected it back after it run '/etc/rc.d/rc.modules-2.6.21-smp', and it worked! Another condition of its workability is the presence of a ps/2 mouse connected. If it's not there (if I use USB mouse instead) disconnecting the kbd and connecting it again does not help.

I was suggested to install the latest stable version, Slackware 11.0. There might be a problem in the kernel. If the problem persists after I install the 11th version, I'll try to experiment with rc.modules-2.6.21-smp. I guess it runs something that conflicts with the kbd.
 
Old 01-21-2008, 02:37 AM   #10
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Slackware-12.0 is the latest stable version, which you report to have installed.

You have a conflict in your kernel modules, and will not find out what it is by downgrading to Slackware-11.0
 
Old 01-22-2008, 12:02 AM   #11
kolRn
LQ Newbie
 
Registered: Jan 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Bruce Hill View Post
Slackware-12.0 is the latest stable version, which you report to have installed.

You have a conflict in your kernel modules, and will not find out what it is by downgrading to Slackware-11.0
Okay, now I know that )
I've managed to get rid of this problem. I can't really say the reason but this is what fixed it: I used USB-mouse and ps/2 kbd, and I the kbd came off after running the modules conf. But then I used ps/2 mouse instead and... this problem was gone! All works well now. Even in KDE I have no problems with the mouse and kbd.

So thanks a lot for your support!
 
  


Reply



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
running "fake" display with keyboard input thebover Slackware 9 09-15-2004 12:27 AM
keyboard stops responding after typing capitals nigham Linux - Hardware 1 09-13-2004 12:19 AM
"<" ">" Keyboard keys on Toshiba Satellite 1005-s157 dont work RodCas Linux - Laptop and Netbook 1 05-08-2004 04:22 PM
Keyboard stops responding in all Gnome apps jsjohnst Linux - Software 8 02-03-2004 05:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:00 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