Bug 25439

Summary: annoying console mouse cursor flicker
Product: Base System Reporter: davidx <davidx>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description davidx 2001-02-28 01:10:01 UTC
under system console, at first virtual console screen, if I move mouse cursor to left bottom corner, mouse cursor will flicker very fast, I need't do anything, there isn't any busy process, CPU idle time become
%82.

this is snapshot of top screen
------------------------------
last pid:   323;  load averages:  0.01,  0.02,  0.00    up 0+00:05:15  08:49:31
34 processes:  1 running, 33 sleeping
CPU states:  0.0% user,  0.0% nice,  0.0% system, 17.9% interrupt, 82.1% idle
Mem: 18M Active, 10M Inact, 8816K Wired, 64K Cache, 12M Buf, 22M Free
Swap: 128M Total, 128M Free

  PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
  305 nobody     2   0  8776K  8084K poll     0:00  0.00%  0.00% squid
  238 root       2   0  4848K  4156K select   0:00  0.00%  0.00% httpd
  191 root       2   0  2172K  1356K select   0:00  0.00%  0.00% sshd
  323 xyf       28   0  1888K  1176K RUN      0:00  0.00%  0.00% top
  322 xyf       18   0  1336K   948K pause    0:00  0.00%  0.00% csh
  287 mysql      2   0 24984K  4744K poll     0:00  0.00%  0.00% mysqld
  163 root       2   0   920K   616K select   0:00  0.00%  0.00% syslogd
  309 root       3   0  1052K   784K ttyin    0:00  0.00%  0.00% login
  321 root       2   0  2148K  1244K select   0:00  0.00%  0.00% telnetd
  288 postgres   2   0 20476K  1536K select   0:00  0.00%  0.00% postgres
  244 root      10   0   636K   448K wait     0:00  0.00%  0.00% sh
  251 postgres  18   0  1092K   620K pause    0:00  0.00%  0.00% csh
  291 root       2   0  1924K  1420K select   0:00  0.00%  0.00% nmbd
  186 root       2   0  1036K   772K select   0:00  0.00%  0.00% inetd
  210 root       2   0   888K   500K select   0:00  0.00%  0.00% moused
  188 root      10   0   956K   736K nanslp   0:00  0.00%  0.00% cron
  313 root       3   0   928K   640K ttyin    0:00  0.00%  0.00% getty
  315 root       3   0   928K   640K ttyin    0:00  0.00%  0.00% getty
  310 root       3   0   928K   640K ttyin    0:00  0.00%  0.00% getty
  316 root       3   0   928K   640K ttyin    0:00  0.00%  0.00% getty
  312 root       3   0   928K   640K ttyin    0:00  0.00%  0.00% getty
  314 root       3   0   928K   640K ttyin    0:00  0.00%  0.00% getty
  311 root       3   0   928K   640K ttyin    0:00  0.00%  0.00% getty
  300 root      10   0   628K   440K wait     0:00  0.00%  0.00% sh
  317 nobody    -6   0   844K   364K piperd   0:00  0.00%  0.00% unlinkd
  264 nobody     2   0  4872K  4156K accept   0:00  0.00%  0.00% httpd
  265 nobody     2   0  4872K  4156K accept   0:00  0.00%  0.00% httpd
  260 nobody     2   0  4872K  4156K accept   0:00  0.00%  0.00% httpd
  262 nobody     2   0  4872K  4156K accept   0:00  0.00%  0.00% httpd
  263 nobody     2   0  4872K  4156K accept   0:00  0.00%  0.00% httpd
  289 root       2   0  2372K  1520K select   0:00  0.00%  0.00% smbd
  166 daemon     2   0   920K   504K select   0:00  0.00%  0.00% portmap
  193 root       2   0   892K   592K select   0:00  0.00%  0.00% usbd


dmesg text
----------
Copyright (c) 1992-2001 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 4.2-STABLE #7: Tue Feb 27 15:29:31 CST 2001
    xyf@davidbsd.viasoft.com.cn:/usr/src/sys/compile/xu
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (501.14-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x665  Stepping = 5
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 67043328 (65472K bytes)
avail memory = 60010496 (58604K bytes)
Preloaded elf kernel "kernel" at 0xc044c000.
Preloaded elf module "accf_http.ko" at 0xc044c09c.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia Riva Ultra Vanta TNT2 graphics accelerator> at 0.0 irq 11
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xe000-0xe01f irq 10 at device 7.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
chip1: <Intel 82371AB Power management controller> port 0x5000-0x500f at device 7.3 on pci0
rl0: <RealTek 8139 10/100BaseTX> port 0xe400-0xe4ff mem 0xd9000000-0xd90000ff irq 5 at device 10.0 on pci0
rl0: Ethernet address: 00:e0:4c:6b:dc:5e
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model 4D+ Mouse, device ID 8
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
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
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ad0: 14655MB <Maxtor 31536H2> [29777/16/63] at ata0-master UDMA33
acd0: CDROM <SAMSUNG CD-ROM SC-140H> at ata1-slave using PIO4
Mounting root from ufs:/dev/ad0s2a

Fix: 

don't know, but I think FreeBSD's mouse driver seems weird, from 4.0 to 4.2, the bug is still there. it is very annoying.
Comment 1 Андрей Чернов 2001-02-28 01:16:28 UTC
On Tue, Feb 27, 2001 at 17:06:57 -0800, davidx@viasoft.com.cn wrote:
> under system console, at first virtual console screen, if I move mouse cursor to left bottom corner, mouse cursor will flicker very fast, I need't do anything, there isn't any busy process, CPU idle time become
> %82.
> >Fix:
> don't know, but I think FreeBSD's mouse driver seems weird, from 4.0 to 4.2, the bug is still there. it is very annoying.

I can confirm that this bug is actual for FreeBSD-current too.

-- 
Andrey A. Chernov
http://ache.pp.ru/
Comment 2 Andrey A. Chernov freebsd_committer freebsd_triage 2001-03-12 00:21:24 UTC
State Changed
From-To: open->closed

Duplicates PR 25536