On Mon, 13 Dec 1999, Kazutaka YOKOTA wrote:
>>Unfortunately, the suggested remedy only compounded the problem.
>>Setting the psm0 flags to 0x100 killed X when the mouse lost sync.
>>Running moused and using sysmouse caused extremely eratic behavior.
>>Without moused and using /dev/psm0 for X simply froze the mouse --
>>although switching to another console and back seemed to work.
>
>Would you please provide the following information.
>
>1. The model of your Logitech PS/2 mouse.
MouseMan Serial-MousePort Model M-CQ38
>2. When booting the system, give "boot -v" at the loader prompt
> to obtain verbose messages, and send us /var/log/dmesg.boot.
It's attached. I've had some problems recently with attachments
disappearing. If this doesn't come through, let me know and I'll mail
it direct. Without the mime header, things seem to work as expected.
>3. Run `moused' as follows and show us the output.
> moused -i all -d -p /dev/psm0
moused: proto params: f8 80 00 00 8 00 ff
/dev/psm0 ps/2 sysmouse generic
>4. Tell me if you are using some sort of console switch.
> (We have had a lot of troubles with consoles switches.)
No switch. Plugged directly into an Asus T2P4.
>5. How did you start `moused'? What options did you gave?
This was the setting used successfully for over a year and the one
that originally was in effect the problem first came up. I did add
'-d' to the flags and did not try "all" for moused_type. From
/etc/rc.conf:
moused_enable="YES"
moused_port="/dev/psm0"
moused_type="ps/2"
moused_flags=""
allscreens_flags="-m on"
>When the X server is directly accessing /dev/psm0, syscons has nothing
>to do with mouse data stream. Syscons/sysmouse see mouse data only
>when you run moused.
I'm not sure it has much to do with moused, either. If I run moused, I
get erratic behavior just before the freeze -- but without moused, I
simply get a freeze. I still can't tell whether this is a software
problem -- or I've got a mouse going out coincidentally with my
last sup. For the record, I did not clean out /usr/obj before the
last makeworld.
The -d switch to moused hasn't yielded any noticable information
except:
Dec 12 15:03:30 acp /kernel: sc0: sc_switch_scr() 4
Dec 12 15:03:32 acp /kernel: sc0: sc_switch_scr() 1
But since I was leaving X, these didn't seem out of line.
As additional information, which may not be relevant, I've been using
kshisen to test this (which hasn't been rebuilt since about 3.1) and
the problem only seems to occur with high mouse activity. Normal xterm
activity doesn't seem to show the problem.
I've also had some problems with pppd and the serial port (where
userland ppp works fine) but so far, I haven't been able to log
anything that sheds any light. I'm using the same scripts I've used
successfully since 2.2.5. The only real connecton I've seen is that
some of the time, the erratic mouse behavior occurs at the time pppd
tries to connect. I don't know whether the pppd problem is related or
not, but it's the only other external symptom that I've noticed that I
can pass on.
-- Jay
, hdrtype=0x00, mfdev=0
subordinatebus=0 secondarybus=0
chip0: <Intel 82439HX PCI cache memory controller> rev 0x03 on pci0.0.0
found-> vendor=0x8086, dev=0x7000, revid=0x01
class=06-01-00, hdrtype=0x00, mfdev=1
subordinatebus=0 secondarybus=0
chip1: <Intel 82371SB PCI to ISA bridge> rev 0x01 on pci0.7.0
I/O Recovery Timing: 8-bit 3.5 clocks, 16-bit 3.5 clocks
Extended BIOS: disabled
Lower BIOS: disabled
Coprocessor IRQ13: enabled
Mouse IRQ12: disabled
Interrupt Routing: A: disabled, B: IRQ11, C: disabled, D: disabled
MB0: disabled, MB1:
found-> vendor=0x8086, dev=0x7010, revid=0x00
class=01-01-80, hdrtype=0x00, mfdev=0
subordinatebus=0 secondarybus=0
map[0]: type 4, range 32, base 0000e800, size 4
ide_pci0: <Intel PIIX3 Bus-master IDE controller> rev 0x00 on pci0.7.1
found-> vendor=0x1002, dev=0x4758, revid=0x01
class=03-00-00, hdrtype=0x00, mfdev=0
subordinatebus=0 secondarybus=0
map[0]: type 1, range 32, base e7000000, size 23
vga0: <ATI Mach64-GX graphics accelerator> rev 0x01 on pci0.9.0
found-> vendor=0x1000, dev=0x0004, revid=0x04
class=01-00-00, hdrtype=0x00, mfdev=0
subordinatebus=0 secondarybus=0
intpin=a, irq=11
map[0]: type 4, range 32, base 0000e000, size 8
map[1]: type 1, range 32, base e6800000, size 8
ncr0: <ncr 53c815 fast10 scsi> rev 0x04 int a irq 11 on pci0.11.0
ncr0: minsync=25, maxsync=206, maxoffs=8, 16 dwords burst, normal dma fifo
ncr0: single-ended, open drain IRQ driver
Probing for devices on the ISA bus:
atkbd: the current kbd controller command byte 0047
atkbd: keyboard ID 0x41ab (2)
kbdc: RESET_KBD return code:00fa
kbdc: RESET_KBD status:00aa
sc0 on isa
sc0: fb0 kbd0
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 at 0x280-0x29f irq 10 on isa
ed0: address 00:40:33:a7:dc:23, type NE2000 (16 bit)
bpf: ed0 attached
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000
psm0: current command byte:0047
kbdc: TEST_AUX_PORT status:0000
kbdc: RESET_AUX return code:00fa
kbdc: RESET_AUX status:00aa
kbdc: RESET_AUX ID:0000
psm: status 00 02 64
psm: status b1 03 c8
psm: status b1 03 c8
psm: status b1 03 c8
psm: status 00 00 3c
psm: data 08 00 00
psm: status 00 02 64
psm: data 08 00 00
psm: status 00 02 64
psm0 irq 12 on isa
psm0: model Generic PS/2 mouse, device ID 0-00, 3 buttons
psm0: config:00000000, flags:00000000, packet size:3
psm0: syncmask:c0, syncbits:00
sio0: irq maps: 0x1 0x11 0x1 0x1
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1: irq maps: 0x1 0x9 0x1 0x1
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2: disabled, not probed.
sio3: disabled, not probed.
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 not found at 0x1f0
wdc1 not found at 0x170
ppc: parallel port found at 0x378
ppc0: 0x87 - 0xc 0x0 0xff 0x10 0x0 0x0 0x5 0x0 0x0 0x8a 0x1f 0xc 0x28 0xab 0x0 0x0 0x0
0x0 0x0 0x0 0x7 0x0 0x0 0xfc 0x0 0x1 0xde 0xfe 0xbe 0x23 0x25 0x43 0x62
ppc0: ECP+EPP SPP
ppc0 at 0x378 irq 7 on isa
ppc0: W83877F chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
plip: irq 7
plip0: <PLIP network interface> on ppbus 0
bpf: lp0 attached
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3b0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0x0 size:0k
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
EGA/VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
npx0 on motherboard
npx0: INT 16 interface
i586_bzero() bandwidth = 151057401 bytes/sec
bzero() bandwidth = 404203718 bytes/sec
apm0: disabled, not probed.
imasks: bio c0080040, tty c007149a, net c007149a
BIOS Geometries:
0:03f2203e 0..1010=1011 cylinders, 0..32=33 heads, 1..62=62 sectors
1:03f5203f 0..1013=1014 cylinders, 0..32=33 heads, 1..63=63 sectors
2:03f6073b 0..1014=1015 cylinders, 0..7=8 heads, 1..59=59 sectors
0 accounted for
Device configuration finished.
bpf: tun0 attached
bpf: sl0 attached
bpf: ppp0 attached
new masks: bio c0080040, tty c007149a, net c007149a
bpf: lo0 attached
Waiting 15 seconds for SCSI devices to settle
ncr0: restart (scsi reset).
(probe2:ncr0:0:2:0): INQUIRY. CDB: 12 1 80 0 ff 0
(probe2:ncr0:0:2:0): ILLEGAL REQUEST asc:24,0
(probe2:ncr0:0:2:0): Invalid field in CDB sks:c8,1
(probe5:ncr0:0:5:0): INQUIRY. CDB: 12 1 80 0 ff 0
(probe5:ncr0:0:5:0): ILLEGAL REQUEST csi:40,0,0,0
(probe6:ncr0:0:6:0): INQUIRY. CDB: 12 1 80 0 ff 0
(probe6:ncr0:0:6:0): ILLEGAL REQUEST asc:24,0
(probe6:ncr0:0:6:0): Invalid field in CDB
sa0 at ncr0 bus 0 target 5 lun 0
sa0: <WANGTEK 5525ES SCSI REV7 3R4> Removable Sequential Access SCSI-CCS device
sa0: 3.300MB/s transfers
pass0 at ncr0 bus 0 target 0 lun 0
pass0: <SEAGATE ST31230N 0510> Fixed Direct Access SCSI-2 device
pass0: Serial Number 00220154
pass0: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled
pass1 at ncr0 bus 0 target 1 lun 0
pass1: <SEAGATE ST51080N 0943> Fixed Direct Access SCSI-2 device
pass1: Serial Number RJ053280
pass1: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled
pass2 at ncr0 bus 0 target 2 lun 0
pass2: <QUANTUM LP240S GM240S01X 6.3> Fixed Direct Access SCSI-2 device
pass2: 10.000MB/s transfers (10.000MHz, offset 8)
pass3 at ncr0 bus 0 target 5 lun 0
pass3: <WANGTEK 5525ES SCSI REV7 3R4> Removable Sequential Access SCSI-CCS device
pass3: 3.300MB/s transfers
pass4 at ncr0 bus 0 target 6 lun 0
pass4: <SONY CD-ROM CDU-55S 1.0t> Removable CD-ROM SCSI-2 device
pass4: 4.032MB/s transfers (4.032MHz, offset 8)
da2 at ncr0 bus 0 target 2 lun 0
da2: <QUANTUM LP240S GM240S01X 6.3> Fixed Direct Access SCSI-2 device
da2: 10.000MB/s transfers (10.000MHz, offset 8)
da2: 234MB (479350 512 byte sectors: 64H 32S/T 234C)
da1 at ncr0 bus 0 target 1 lun 0
da1: <SEAGATE ST51080N 0943> Fixed Direct Access SCSI-2 device
da1: Serial Number RJ053280
da1: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled
da1: 1030MB (2109840 512 byte sectors: 255H 63S/T 131C)
da0 at ncr0 bus 0 target 0 lun 0
da0: <SEAGATE ST31230N 0510> Fixed Direct Access SCSI-2 device
da0: Serial Number 00220154
da0: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled
da0: 1010MB (2069860 512 byte sectors: 64H 32S/T 1010C)
Considering MFS root f/s.
No MFS image available as root f/s.
Considering FFS root f/s.
changing root device to da0s1a
(cd0:ncr0:0:6:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(cd0:ncr0:0:6:0): NOT READY asc:3a,0
(cd0:ncr0:0:6:0): Medium not present
cd0 at ncr0 bus 0 target 6 lun 0
cd0: <SONY CD-ROM CDU-55S 1.0t> Removable CD-ROM SCSI-2 device
cd0: 4.032MB/s transfers (4.032MHz, offset 8)
cd0: Attempt to query device size failed: NOT READY, Medium not present
da0s1: type 0xa5, start 0, end = 2069859, size 2069860
da0s1: C/H/S end 128/214/58 (1608629) != end 2069859: invalid
start_init: trying /sbin/init
da1s1: type 0xa5, start 0, end = 2109839, size 2109840
da1s1: C/H/S end 131/84/33 (370259) != end 2109839: invalid
da2s1: type 0xa5, start 0, end = 479349, size 479350
da2s1: C/H/S end 475/8/46 (197063) != end 479349: invalid
da1s1: type 0xa5, start 0, end = 2109839, size 2109840
da1s1: C/H/S end 131/84/33 (370259) != end 2109839: invalid
da2s1: type 0xa5, start 0, end = 479349, size 479350
da2s1: C/H/S end 475/8/46 (197063) != end 479349: invalid