kern/73209: PS/2 keyboard problems when NFS server under load

Jason Bacon bacon at
Wed Oct 27 10:00:48 PDT 2004

>Number:         73209
>Category:       kern
>Synopsis:       PS/2 keyboard problems when NFS server under load
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 27 17:00:46 GMT 2004
>Originator:     Jason Bacon
>Release:        FreeBSD 5.3-RC1 i386
Medical College of Wisconsin
System: FreeBSD 5.3-RC1 FreeBSD 5.3-RC1 #0: Fri Oct 22 12:14:47 CDT 2004 bacon at i386

	When the NFS server is under load from a single client machine,
	(only one client is connected to this server)
	some keystrokes are lost and some are doubled on the console.
	The client is a SuSE 8.2 box copying data from a DVDRAM to
	the 5.3RC1 NFS server using UDP.  The server is a slow machine 
	(Celeron 266), so this problem may not show up on more current 


Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.3-RC1 #0: Fri Oct 22 12:14:47 CDT 2004
    bacon at
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium II/Pentium II Xeon/Celeron (266.44-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x650  Stepping = 0
real memory  = 268435456 (256 MB)
avail memory = 253022208 (241 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443LX (440 LX) host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 5 Entries> on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82443LX (440 LX) host to PCI bridge> mem 0x44000000-0x47ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
fxp0: <Intel 82558 Pro/100 Ethernet> port 0x2400-0x241f mem 0x40100000-0x401fffff,0x40400000-0x40400fff irq 11 at device 13.0 on pci0
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:08:c7:72:cb:28
pci0: <multimedia, audio> at device 14.0 (no driver attached)
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0x2000-0x20ff mem 0x42000000-0x42000fff irq 11 at device 15.0 on pci0
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
isab0: <PCI-ISA bridge> at device 20.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0x2440-0x244f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 20.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x2420-0x243f irq 11 at device 20.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
umass0: LaCie USB 2.0 LaCie Big Disk, rev 2.00/9a.bc, addr 2
umass0: Get Max Lun not supported (STALLED)
piix0: <PIIX Timecounter> port 0xfc00-0xfc0f at device 20.3 on pci0
Timecounter "PIIX" frequency 3579545 Hz quality 0
cpu0 on motherboard
orm0: <ISA Option ROMs> at iomem 0xe0000-0xe7fff,0xc9000-0xcd7ff,0xc8000-0xc87ff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
ahc1: No resources allocated.
unknown: <PNP0c02> can't assign resources (port)
unknown: <PNP0c02> can't assign resources (port)
Timecounter "TSC" frequency 266444446 Hz quality 800
Timecounters tick every 10.000 msec
Waiting 15 seconds for SCSI devices to settle
da1 at umass-sim0 bus 0 target 0 lun 0
da1: <LaCie Big Disk G372 > Fixed Direct Access SCSI-4 device 
da1: 1.000MB/s transfers
da1: 381564MB (781443935 512 byte sectors: 255H 63S/T 48642C)
cd0 at ahc0 bus 0 target 4 lun 0
cd0: <MATSHITA DVD-RAM LF-D200 A120> Removable CD-ROM SCSI-4 device 
cd0: 10.000MB/s transfers (10.000MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DRVS18V 0140> Fixed Direct Access SCSI-3 device 
da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 17519MB (35879135 512 byte sectors: 255H 63S/T 2233C)
Mounting root from ufs:/dev/da0s1a

top during NFS activity:

last pid:  1140;  load averages:  3.25,  1.73,  2.03    up 0+01:25:04  11:52:14
77 processes:  4 running, 73 sleeping
CPU states:  6.2% user,  0.0% nice, 32.4% system,  5.8% interrupt, 55.6% idle
Mem: 133M Active, 33M Inact, 66M Wired, 9512K Cache, 34M Buf, 648K Free
Swap: 1024M Total, 19M Used, 1005M Free, 1% Inuse

  359 root       4    0  1256K   700K -       12:07 12.50% 12.50% nfsd
  361 root       4    0  1256K   700K -        4:40  8.84%  8.84% nfsd
  362 root       4    0  1256K   700K -        3:53  7.67%  7.67% nfsd
  360 root       4    0  1256K   700K -        3:14  7.13%  7.13% nfsd
  994 bacon     -8    0  2208K  1268K biowr    1:16  2.78%  2.78% cp
  597 bacon     99    0 28956K 15776K select   3:06  2.05%  2.05% kdeinit
  546 root      97    0 22408K 14404K RUN      2:21  1.07%  1.07% Xorg
  611 bacon     96    0 32388K 16708K RUN      0:45  0.00%  0.00% kdeinit
  607 bacon     20  -76 12888K  5968K kserel   0:40  0.00%  0.00% artsd
  940 bacon     96    0 44748K 30356K select   0:32  0.00%  0.00% kmail
  624 bacon     96    0 25888K 14856K select   0:27  0.00%  0.00% kdeinit
  617 bacon     96    0 27532K 14896K select   0:25  0.00%  0.00% kdeinit
  621 bacon     96    0 29012K 17608K select   0:22  0.00%  0.00% kdeinit
  902 bacon     96    0 39512K 26504K select   0:20  0.00%  0.00% kdeinit
  615 bacon     96    0 26384K 15456K RUN      0:17  0.00%  0.00% kdeinit
  502 root      96    0  1268K   652K select   0:11  0.00%  0.00% moused

	I thought it would be worth reporting since it might provide some
	valuable clues for debugging.
	Write a constant stream of data to a slow NFS server.

More information about the freebsd-bugs mailing list