From pm@ener1000.dee.uc.pt Fri Dec 6 11:15:53 1996 Received: from ener1000.dee.uc.pt (ener1000.dee.uc.pt [193.136.238.50]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id LAA06640 for ; Fri, 6 Dec 1996 11:15:46 -0800 (PST) Received: (from pm@localhost) by ener1000.dee.uc.pt (8.8.3/8.6.12) id TAA00418; Fri, 6 Dec 1996 19:09:55 GMT Message-Id: <199612061909.TAA00418@ener1000.dee.uc.pt> Date: Fri, 6 Dec 1996 19:09:55 GMT From: pm@ener1000.dee.uc.pt Reply-To: pm@ener1000.dee.uc.pt To: FreeBSD-gnats-submit@freebsd.org Subject: psm driver locks the console X-Send-Pr-Version: 3.2 >Number: 2166 >Category: i386 >Synopsis: psm driver locks the console >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 6 11:20:01 PST 1996 >Closed-Date: Wed Nov 5 20:08:27 PST 1997 >Last-Modified: Wed Nov 5 20:10:25 PST 1997 >Originator: Paulo Menezes paulo@isr.uc.pt >Release: FreeBSD 3.0-CURRENT i386 >Organization: Institute of Systems and Robotics >Environment: ener1000.dee.uc.pt:/usr/src/sys/compile/LOCAL Calibrating clock(s) relative to mc146818A clock ... i586 clock: 99471689 Hz, i8254 clock: 1193159 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency CLK_USE_I586_CALIBRATION not specified - using old calibration method CPU: Pentium (99.47-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x525 Stepping=5 Features=0x1bf real memory = 33554432 (32768K bytes) avail memory = 30306304 (29596K bytes) BIOS Geometries: 0:03fe3f20 0..1022=1023 cylinders, 0..63=64 heads, 1..32=32 sectors DEVFS: ready for devices pcibus_setup(1): mode 1 addr port (0x0cf8) is 0x800078a0 pcibus_setup(1a): mode1res=0x80000000 (0x80000000) pcibus_check: device 0 is there (id=122d8086) Probing for devices on PCI bus 0: configuration mode 1 allows 32 devices. chip0 rev 2 on pci0:0 CPU Inactivity timer: clocks Peer Concurrency: disabled CPU-to-PCI Write Bursting: enabled PCI Streaming: enabled Bus Concurrency: enabled Cache: 256K pipelined-burst secondary; L1 enabled DRAM: no memory hole, 66 MHz refresh Read burst timing: x-2-2-2/x-3-3-3 Write burst timing: x-3-3-3 RAS-CAS delay: 3 clocks ahc0 rev 3 int a irq 9 on pci0:6 mapreg[10] type=1 addr=0000fc00 size=0100. mapreg[14] type=0 addr=fedff000 size=1000. reg20: virtual=0xf6460000 physical=0xfedff000 size=0x1000 ahc0: Reading SEEPROM...done. ahc0: aic7870 Single Channel, SCSI Id=7, 16/255 SCBs ahc0: Reseting Channel A ahc0: Downloading Sequencer Program...Done ahc0: Probing channel A ahc0 waiting for scsi devices to settle ahc0: target 0 synchronous at 10.0MHz, offset = 0xf ahc0: target 0 Tagged Queuing Device (ahc0:0:0): "MICROP 4221-09SC21020AV TN05" type 0 fixed SCSI 2 sd0(ahc0:0:0): Direct-Access 1955MB (4004219 512 byte sectors) sd0(ahc0:0:0): with 4049 cyls, 9 heads, and an average 109 sectors/track vga0 rev 0 int a irq ?? on pci0:13 mapreg[10] type=0 addr=fe000000 size=800000. chip1 rev 2 on pci0:15:0 I/O Recovery Timing: 8-bit 1 clocks, 16-bit 2 clocks Extended BIOS: disabled Lower BIOS: enabled Coprocessor IRQ13: enabled Mouse IRQ12: disabled Interrupt Routing: A: IRQ9, B: disabled, C: disabled, D: disabled MB0: IRQ15, MB1: disabled chip2 rev 2 on pci0:15:1 mapreg[20] type=1 addr=0000f8f0 size=0010. Primary IDE: enabled Secondary IDE: enabled pci0: uses 8392704 bytes of memory from fe000000 upto fedfffff. pci0: uses 272 bytes of I/O space from f8f0 upto fcff. Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> ed0 not found at 0x280 ed1 not found at 0x300 sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface bpf: lp0 attached mse0: wrong signature ff mse0 not found at 0x23c psm0: current command byte:0047 psm0: status after reset 00 02 64 psm: status 00 00 64 (get_mouse_buttons) psm0: status 00 02 64 psm0 at 0x60-0x64 irq 12 on motherboard psm0: device ID 0, 2 buttons? pca0 on motherboard pca0: PC speaker audio driver fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in wdc0 not found at 0x1f0 wdc1 not found at 0x170 1 3C5x9 board(s) on ISA found at 0x300 ep0 at 0x300-0x30f irq 10 on isa ep0: aui/bnc[*BNC*] address 00:60:8c:c3:4e:2f bpf: ep0 attached npx0 on motherboard npx0: INT 16 interface apm0: disabled, not probed. pas0 not found at 0x388 sb0 not found at 0x220 sbxvi0 not found sbmidi0 not found at 0x330 imasks: bio c0000240, tty c003109a, net c0020400 Device configuration finished. Considering FFS root f/s. changing root device to sd0a configure() finished. DEVFS: ready to run bpf: lo0 attached sd0s1: type 0xa5, start 32, end = 4003839, size 4003808 : OK psm0: failed to disable the device (psmclose). psm0: failed to disable the aux port (psmclose). >Description: The psm driver never worked in this machine, it is a HP-vectra VL series 4 5/100 The mouse is detected and (about 6 months ago) I noticed that, when I power on the machine when I started X if I kept the mouse moving the pointer moved in the screen. But when I stopped it, the mouse pointer never moves again. Today I tryed to use it again enabling moused and when I logged on the moused process had gone. If I started it again it gives the two failure messages above (dmesg) and the console gets locked. >How-To-Repeat: To get the lock behaviour, do a simple cat /dev/psm0 and ^C it. >Fix: >Release-Note: >Audit-Trail: From: Kazutaka YOKOTA To: paulo@isr.uc.pt Cc: FreeBSD-gnats-submit@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: i386/2166: psm driver locks the console Date: Sat, 15 Feb 1997 19:53:42 +0900 Hello. In December you reported problems with the `psm' driver and `moused' in the FreeBSD 3.0-CURRENT running on HP Vectra VL. Since then, problems similar to yours have been reported and fixed. I wonder if these recent fix also cured your difficulty. The most possible versions of FreeBSD which may have solved your problem are 2.2-GAMMA, 3.0-SNAPs (970124 or later) and -current. If you have tried one of these, would you please tell me success/failure? If found no problem, I would close your PR. If you still have the problem, apparently I need to find a fix for the psm driver (possibly with your help). Kazu, the current psm driver hacker :-) State-Changed-From-To: open->closed State-Changed-By: yokota State-Changed-When: Wed Nov 5 20:08:27 PST 1997 State-Changed-Why: The originator doesn't respond. The problem is believed to be fixed in 2.2.x-RELEASE. >Unformatted: