Date: Sat, 14 Apr 2001 05:15:16 -0500 (CDT) From: natedac@kscable.com To: FreeBSD-gnats-submit@freebsd.org Subject: kern/26568: Mouse failure under 4.2-Release and 4-Stable Message-ID: <200104141015.f3EAFGh03142@daconcepts.dyndns.org>
next in thread | raw e-mail | index | archive | help
>Number: 26568 >Category: kern >Synopsis: Mouse driver will die if you move mouse and hold a key (e.g. ALT) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Apr 14 03:30:02 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Nate Dannenberg >Release: FreeBSD 4.3-RC i386 >Organization: N/A >Environment: System: FreeBSD daconcepts.dyndns.org 4.3-RC FreeBSD 4.3-RC #4: Wed Apr 4 13:36:26 CDT 2001 natedac@daconcepts.dyndns.org:/usr/src/sys/compile/PICCOLO i386 IBM Aptiva - 550 MHz Athlon, 96 MB Ram, Fellowes "GelMouse". Dmesg output from this machine is available: 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.3-RC #4: Wed Apr 4 13:36:26 CDT 2001 natedac@daconcepts.dyndns.org:/usr/src/sys/compile/PICCOLO Timecounter "i8254" frequency 1193182 Hz CPU: AMD-K7(tm) Processor (548.94-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x612 Stepping = 2 Features=0x81f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,MMX> AMD Features=0xc0400000<AMIE,DSP,3DNow!> real memory = 100532224 (98176K bytes) avail memory = 94580736 (92364K bytes) Preloaded elf kernel "kernel" at 0xc032f000. md0: Malloc disk npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <AMD-751 host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 pcib1: <AMD-751 PCI-PCI (AGP) bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <S3 Savage 4 graphics accelerator> at 5.0 irq 11 isab0: <PCI to ISA bridge (vendor=1022 device=7408)> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <AMD 756 ATA66 controller> port 0xcb00-0xcb0f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 chip1: <PCI to Other bridge (vendor=1022 device=740b)> at device 7.3 on pci0 ohci0: <AMD-756 USB Controller> mem 0xffafe000-0xffafefff irq 10 at device 7.4 on pci0 usb0: OHCI version 1.0, legacy support usb0: <AMD-756 USB Controller> on ohci0 usb0: USB revision 1.0 uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered sis0: <NatSemi DP83815 10/100BaseTX> port 0xf800-0xf8ff mem 0xffaff000-0xffafffff irq 11 at device 17.0 on pci0 sis0: Ethernet address: 00:02:e3:09:c0:a4 miibus0: <MII bus> on sis0 ukphy0: <Generic IEEE 802.3u media interface> on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: <unknown card> (vendor=0x125d, dev=0x1969) at 19.0 irq 9 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 NetMouse/NetScroll Optical, device ID 0 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: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 IP packet filtering initialized, divert enabled, rule-based forwarding disabled, default to deny, logging disabled IPv6 packet filtering initialized, logging disabled ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable ad0: 19473MB <Maxtor 92040U6> [39566/16/63] at ata0-master UDMA33 acd0: DVD-ROM <HITACHI DVD-ROM GD-2500> at ata1-master using PIO4 acd1: CD-RW <CD-RW CRX100E> at ata1-slave using PIO4 Mounting root from ufs:/dev/ad0s1a pcm0: <ESS Solo-1 (unknown vendor)> port 0xffe4-0xffe7,0xfff0-0xfff3,0xff90-0xff9f,0xffa0-0xffaf,0xff00-0xff3f irq 9 at device 19.0 on pci0 >Description: ******* * This PR is closely related to another PR: * * "Mouse driver will not properly restart if it dies or the mouse gets unplugged." * * These two PR's were prepared at the same time, hence the lack of reference * numbers. ******* Holding ALT, Shift, or probably any other key while moving the mouse around will cause the pointer to freeze, and the driver will stop working. This happens at the console, as well as under X 4.0.3 (but *not* 3.3.6) Once the driver stops, both X and the console are affected. I can narrow this down to post-4.2-Release at least. This problem did NOT occur with 4.2-Release if I remember right, and definitely doesn't occur prior to that. In fact, another machine I have available, a Compaq Presario 425 (486 DX/4 at 132 MHz, 16 MB RAM, stock Compaq mouse) which runs a GENERIC 4.2-Release (with only a few config tweaks, no recompiles), does not seem to be affected by this problem. >How-To-Repeat: Move the mouse around, either under X 4.0.3, or in the console, while holding another key such as ALT or SHIFT. The driver should die fairly quickly. Specifically, try ALT + Button 3 + move around. This is a common binding to move a window around (fvwm 1.54 default, I set sawfish to mimic it) and is where I first noticed the problem within X, when I was trying to move a window from one viewport to another, adjacent viewport. Simple mouse clicks with keys pressed don't seem to cause a problem, In the case of the console, I noticed it because of a habit of holding shift while selecting text for cut & paste (in an Xterm, Links and Pine need Shift + Button1 + Move to select text) In the case of X 3.3.6, the problem doesn't seem to happen when X is visible, only when the FreeBSD console is visible. Once the bug occurs, however, X is also affected - the pointer freezes and the mouse driver dies. A Reboot is required to regain mouse operation. Attempting to sigHUP moused, or completely terminate and restart it, does not work. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104141015.f3EAFGh03142>