LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Slackware. The keyboard stops responding after "Running /etc/rc.d/rc.modules-2.6.21." (http://www.linuxquestions.org/questions/linux-hardware-18/slackware-the-keyboard-stops-responding-after-running-etc-rc-d-rc-modules-2-6-21-a-614473/)

kolRn 01-18-2008 03:41 AM

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).

kolRn 01-18-2008 04:43 AM

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.

Bruce Hill 01-18-2008 04:46 AM

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.

kolRn 01-18-2008 04:46 AM

The keyboard freezes and when it prompts for the master login the cursor blinks but I'm "handless"...

kolRn 01-18-2008 04:48 AM

Quote:

Originally Posted by Bruce Hill (Post 3026906)
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...

Bruce Hill 01-18-2008 06:23 AM

Please post the output of that log...

kolRn 01-18-2008 06:33 AM

Quote:

Originally Posted by Bruce Hill (Post 3027002)
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)

Bruce Hill 01-18-2008 08:46 AM

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.

kolRn 01-21-2008 01:14 AM

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.

Bruce Hill 01-21-2008 02:37 AM

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

kolRn 01-22-2008 12:02 AM

Quote:

Originally Posted by Bruce Hill (Post 3029921)
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!


All times are GMT -5. The time now is 11:00 AM.