View previous topic :: View next topic |
Author |
Message |
VistA n00b
Joined: 11 Nov 2002 Posts: 20 Location: Iowa State University, Ames, IA, USA
|
Posted: Sun Dec 15, 2002 2:22 am Post subject: vmware cause keyboard lockup? |
|
|
i have found that when I am running win2k under vmware (this is the only os i've run under vmware, so i don't know this is an issue with others) and vmware does some action that requires lots of disk access/cpu time my keyboard will lockup. The keyboard will behave like it is not plugged in (the LED's will freeze in the state that they were in before the lockup). I have also noticed that when this lockup happens, my dialup connection will stop sending/reciving packets. The like does not drop, but traffic stops moving across it. |
|
Back to top |
|
|
c_kuzmanic Guru
Joined: 18 Apr 2002 Posts: 488 Location: Los Angeles , California
|
Posted: Mon Dec 16, 2002 2:49 am Post subject: |
|
|
Are you using a usb keyboard or regular PS/2 ? |
|
Back to top |
|
|
VistA n00b
Joined: 11 Nov 2002 Posts: 20 Location: Iowa State University, Ames, IA, USA
|
Posted: Mon Dec 16, 2002 4:18 am Post subject: |
|
|
my keboard is PS/2. I thought that my usb mouse might be affecting things (i have found that if I do not have a mouse pluggedin the PS/2 port the kernel spits AT Keyboard Timeout errors at me when booting. Once the USB mods got loaded things work fine though) but i now have my mouse pluged into PS/2 via adapter. |
|
Back to top |
|
|
Carlo Developer
Joined: 12 Aug 2002 Posts: 3356
|
Posted: Mon Dec 16, 2002 5:07 pm Post subject: |
|
|
I can't help you with your problem, but I have another keyboard problem, which seems to have something to do with vmware, too. Sometimes when I press down a keyboard button outside the vm, I get only a single char, instead of the same one repeatedly. I can fix this by rechecking the keyboard repeat checkbox in the kde control center, but it's annoying to this once a day or so.
Carlo |
|
Back to top |
|
|
c_kuzmanic Guru
Joined: 18 Apr 2002 Posts: 488 Location: Los Angeles , California
|
Posted: Mon Dec 16, 2002 8:22 pm Post subject: |
|
|
What I would do is to just try to use another, really simple ps/2 keyboard and see if the probs persist. Does the current keyboard you are using feature any custom buttons, volume controls ,etc. ? This could be part of the problem.
Also, under "Devices" disconnect /dev/rtc and see if that improves anything. The realtime clock affects polling of hardware, vmware can act funky with rtc connected, especially some with some versions of windows.
Is your windows 2000 installation up-to-date? Make sure you have the latest service packs installed, this has probably nothing to do with the problem but it is a wise thing to do anyway. |
|
Back to top |
|
|
VistA n00b
Joined: 11 Nov 2002 Posts: 20 Location: Iowa State University, Ames, IA, USA
|
Posted: Tue Dec 17, 2002 12:12 am Post subject: |
|
|
the keyboard i'm using is a really simple ps/2 kbd. It lacks all of those fancy extra buttons. As to the rtc, I is not connected and never has been. (the win2k install is up to date too) |
|
Back to top |
|
|
c_kuzmanic Guru
Joined: 18 Apr 2002 Posts: 488 Location: Los Angeles , California
|
Posted: Tue Dec 17, 2002 2:25 am Post subject: |
|
|
VistA wrote: | my keboard is PS/2. I thought that my usb mouse might be affecting things (i have found that if I do not have a mouse pluggedin the PS/2 port the kernel spits AT Keyboard Timeout errors at me when booting. Once the USB mods got loaded things work fine though) but i now have my mouse pluged into PS/2 via adapter. |
What kernel are you using, and what does "lsmod" and "cat /proc/interrupts" say ? |
|
Back to top |
|
|
VistA n00b
Joined: 11 Nov 2002 Posts: 20 Location: Iowa State University, Ames, IA, USA
|
Posted: Tue Dec 17, 2002 3:43 am Post subject: |
|
|
i'm using gentoo-sources 2.4.19 r10, the AT timeout errors have happened with every kernel that i've ever used with any distro.
cat /proc/interrupts:
Code: |
CPU0
0: 8684370 XT-PIC timer
1: 26247 XT-PIC keyboard
2: 0 XT-PIC cascade
5: 246786 XT-PIC ham
9: 984462 XT-PIC usb-ohci, usb-ohci, eth0
10: 78481 XT-PIC EMU10K1
11: 6603875 XT-PIC nvidia
12: 1135010 XT-PIC PS/2 Mouse
14: 174464 XT-PIC ide0
15: 6518 XT-PIC ide1
NMI: 0
LOC: 8684577
ERR: 1911
MIS: 0
|
lsmod:
Code: |
Module Size Used by Tainted: PF
smbfs 32472 1 (autoclean)
ppp_deflate 36960 0 (autoclean)
ppp_async 7072 1 (autoclean)
ppp_generic 15772 3 (autoclean) [ppp_deflate ppp_async]
slhc 4816 1 (autoclean) [ppp_generic]
NVdriver 1067328 10 (autoclean)
iptable_filter 1612 1 (autoclean)
ipt_MASQUERADE 1272 1 (autoclean)
iptable_nat 14392 1 [ipt_MASQUERADE]
ip_conntrack 18656 1 [ipt_MASQUERADE iptable_nat]
ip_tables 10680 5 [iptable_filter ipt_MASQUERADE iptable_nat]
vmnet 22656 2
parport_pc 11972 0 (unused)
parport 13344 0 [parport_pc]
vmmon 20180 0
ham 7740 2
hamcore 544352 0 [ham]
sr_mod 12184 0
sg 25356 0 (unused)
ide-scsi 7504 0
scsi_mod 80580 3 [sr_mod sg ide-scsi]
emu10k1 50760 1
ac97_codec 9256 0 [emu10k1]
soundcore 3524 4 [emu10k1]
3c59x 25040 1
|
|
|
Back to top |
|
|
krt Tux's lil' helper
Joined: 27 Nov 2002 Posts: 102 Location: Earth
|
Posted: Fri Jan 10, 2003 6:23 pm Post subject: |
|
|
Carlo wrote: | I can't help you with your problem, but I have another keyboard problem, which seems to have something to do with vmware, too. Sometimes when I press down a keyboard button outside the vm, I get only a single char, instead of the same one repeatedly. I can fix this by rechecking the keyboard repeat checkbox in the kde control center, but it's annoying to this once a day or so.
Carlo |
I used to fix this by setting the kbdrate repeat in Linux, rather than with my Bios..
# set keyboard repeat to something useable
/usr/bin/kbdrate -r 30 -d 250
But now it fails, and I haven't figured out quite why this is
krt@phanotea:~$ /usr/bin/kbdrate -r 30 -d 250
Cannot open /dev/port: Operation not permitted
The permissions on /dev/port are:
crwxrwx--- 1 root wheel 1, 4 Dec 31 1969 /dev/port
My user, krt, is in the wheel group. Still no go.
My crufty work-around is setting /usr/bin/kbdrate as set-uid root, with the permissions to let the wheel group run it:
-rwsr-x--- 1 root wheel 5056 Dec 31 09:48 kbdrate
Obviously a kludge, and potentially opening my system up to a local user security risk, so I'd prefer to know how to go about setting the permissions on /dev/port such that a wheel user can modify their own typematic rate settings. If anyone knows how to do such, I'd appreciate a reply _________________ Everyone has something clever for a signature but me. |
|
Back to top |
|
|
VistA n00b
Joined: 11 Nov 2002 Posts: 20 Location: Iowa State University, Ames, IA, USA
|
Posted: Thu Jan 23, 2003 4:16 am Post subject: |
|
|
vmware just locked up my keyboard again, but i noticed that my music was still playing (which is stored on a different machine, accessed over my network) so i went to another box and ssh'ed in. one thing that caught my eye was the output of ps -A:
Code: |
PID TTY TIME CMD
1 ? 00:00:06 init
2 ? 00:00:03 keventd <defunct>
3 ? 00:00:00 kapmd
4 ? 00:00:00 ksoftirqd_CPU0
5 ? 00:00:00 kswapd
6 ? 00:00:00 bdflush
7 ? 00:00:00 kupdated
<snip>
|
now if i can find out what is causing keventd to go <defunct>... |
|
Back to top |
|
|
VistA n00b
Joined: 11 Nov 2002 Posts: 20 Location: Iowa State University, Ames, IA, USA
|
Posted: Fri Jan 31, 2003 9:28 pm Post subject: |
|
|
For others that might have this problem in the future, and for myself after I forget in 6 weeks, the keyboard lockup problems seem to have been caused by using a kernel with the preempt patches enabled. I recompiled my kernel (gentoo-sources 2.4.19) without the preempt option and things have run just fine for a week. |
|
Back to top |
|
|
edsuom n00b
Joined: 10 Sep 2003 Posts: 20 Location: Inland NW, USA
|
Posted: Mon Jan 05, 2004 11:40 pm Post subject: Still a problem with Kernel 2.4.23, VMware 4.0.2 |
|
|
For what it's worth, this problem occurs on my Gentoo 1.4 system (Kernel 2.4.23, VMware 4.0.2) about a year after the last post above. The /usr/bin/kbdrate and KDE control panel suggestions both work, so I'm not complaining too much. |
|
Back to top |
|
|
Carlo Developer
Joined: 12 Aug 2002 Posts: 3356
|
Posted: Mon Jan 05, 2004 11:59 pm Post subject: |
|
|
Thanks for pushing this thread - lost it somehow.
@krt: The problem is gone, since I'm using KDE 3.2.
Carlo _________________ Please make sure that you have searched for an answer to a question after reading all the relevant docs. |
|
Back to top |
|
|
|