openbsd-current strange keyboard behaviour

2008-10-31 Thread guilherme m. schroeder
Hi misc@,

I've installed OpenBSD 4.4-current from October 28 and i'm having a
strange problem.
When i start type something on console, sometimes it stops showing the
characters (and you are still typing) them it repeats the last char
you type about 5-10 times. This problem is occuring in X too. I tried
to reproduce it but no sucess, it occurs from time to time. I've used
OpenBSD 4.4-current from about two weeks ago and it was working fine.

Anyone had this problem?

OpenBSD 4.4-current (GENERIC.MP) #1946: Tue Oct 28 13:41:29 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3694628864 (3523MB)
avail mem = 3585646592 (3419MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf6590 (57 entries)
bios0: vendor Dell Inc. version "A06" date 10/10/2008
bios0: Dell Inc. Latitude E6400
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP HPET DMAR APIC ASF! MCFG SLIC TCPA SSDT
acpi0: wakeup devices PCI0(S4) PCIE(S4) USB1(S0) USB2(S0) USB3(S0)
USB4(S0) USB5(S0) USB6(S0) EHC2(S0) EHCI(S0) AZAL(S3) RP01(S4)
RP02(S4) RP03(S4) RP04(S3) RP05(S3) RP06(S5) LID_(S3) PBTN(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz, 2261.33 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu0: 3MB 64b/line 8-way L2 cache
cpu0: apic clock running at 265MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz, 2261.00 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu1: 3MB 64b/line 8-way L2 cache
ioapic0 at mainbus0 apid 2 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 3 (PCIE)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 11 (RP01)
acpiprt3 at acpi0: bus 12 (RP02)
acpiprt4 at acpi0: bus 13 (RP03)
acpiprt5 at acpi0: bus 14 (RP04)
acpiprt6 at acpi0: bus -1 (RP05)
acpiprt7 at acpi0: bus -1 (RP06)
acpiprt8 at acpi0: bus 0 (PCI0)
acpiec0 at acpi0
acpicpu0 at acpi0: C3
acpicpu1 at acpi0: C3
acpitz0 at acpi0: critical temperature 107 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PBTN
acpibtn2 at acpi0: SBTN
acpiac0 at acpi0: AC unit offline
acpibat0 at acpi0: BAT0 model "DELL FU27488" serial 30161 type LION oem "Sony"
acpibat1 at acpi0: BAT1 not present
acpivideo at acpi0 not configured
acpivideo at acpi0 not configured
acpivideo at acpi0 not configured
cpu0: unknown i686 model 7, can't get bus clockcpu0: EST: unknown
system bus clock
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07
vga1 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x07
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
inteldrm0 at vga1:couldn't find agp
"Intel GM45 Video" rev 0x07 at pci0 dev 2 function 1 not configured
"Intel ICH9 IGP M AMT" rev 0x03 at pci0 dev 25 function 0 not configured
uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 2
int 20 (irq 7)
uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 2
int 21 (irq 4)
uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 2
int 22 (irq 10)
ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 2
int 22 (irq 10)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x03:
apic 2 int 21 (irq 4)
azalia0: ../../../../dev/pci/azalia.c/1374 invalid PCM format: 0x
azalia0: codec[s]: IDT/0x76b2, Intel/0x2802, using IDT/0x76b2
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03: apic 2
int 16 (irq 0)
pci1 at ppb0 bus 11
ppb1 at pci0 dev 28 function 1 "Intel 82801I PCIE" rev 0x03: apic 2
int 17 (irq 0)
pci2 at ppb1 bus 12
iwn0 at pci2 dev 0 function 0 "Intel WiFi Link 5300AGN" rev 0x00: apic
2 int 17 (irq 3), MIMO 3T3R, MoW, address 00:16:ea:5e:dc:32
ppb2 at pci0 dev 28 function 2 "Intel 82801I PCIE" rev 0x03: apic 2
int 18 (irq 0)
pci3 at ppb2 bus 13
ppb3 at pci0 dev 28 function 3 "Intel 82801I PCIE" rev 0x03: apic 2
int 19 (irq 0)
pci4 at ppb3 bus 14
uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x03: apic 2
int 20 (irq 7)
uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x03: apic 2
int 21 (irq 4)
uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x03: apic 2
int 22 (irq 10)
ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x03: apic 2
int 20 (irq 7)
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb4 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x93
pci5 at ppb4 bus

Re: openbsd-current strange keyboard behaviour

2008-10-31 Thread Johan Beisser
Interesting. I had this problem on an IBM 600x, but due to the age of
the hardware assumed it was some quirkiness with its ACPI/apm
implementation.

In the end, I had to use a Windows install to manage the IRQs to stop
a conflict between sone subsystems. It helped make the keyboard freeze
less often, but never fully eliminated it.


On 10/31/08, guilherme m. schroeder <[EMAIL PROTECTED]> wrote:
> Hi misc@,
>
> I've installed OpenBSD 4.4-current from October 28 and i'm having a
> strange problem.
> When i start type something on console, sometimes it stops showing the
> characters (and you are still typing) them it repeats the last char
> you type about 5-10 times. This problem is occuring in X too. I tried
> to reproduce it but no sucess, it occurs from time to time. I've used
> OpenBSD 4.4-current from about two weeks ago and it was working fine.
>
> Anyone had this problem?
>
> OpenBSD 4.4-current (GENERIC.MP) #1946: Tue Oct 28 13:41:29 MDT 2008
> [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 3694628864 (3523MB)
> avail mem = 3585646592 (3419MB)
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf6590 (57 entries)
> bios0: vendor Dell Inc. version "A06" date 10/10/2008
> bios0: Dell Inc. Latitude E6400
> acpi0 at bios0: rev 2
> acpi0: tables DSDT FACP HPET DMAR APIC ASF! MCFG SLIC TCPA SSDT
> acpi0: wakeup devices PCI0(S4) PCIE(S4) USB1(S0) USB2(S0) USB3(S0)
> USB4(S0) USB5(S0) USB6(S0) EHC2(S0) EHCI(S0) AZAL(S3) RP01(S4)
> RP02(S4) RP03(S4) RP04(S3) RP05(S3) RP06(S5) LID_(S3) PBTN(S4)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpihpet0 at acpi0: 14318179 Hz
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz, 2261.33 MHz
> cpu0:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR,NXE,LONG
> cpu0: 3MB 64b/line 8-way L2 cache
> cpu0: apic clock running at 265MHz
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz, 2261.00 MHz
> cpu1:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR,NXE,LONG
> cpu1: 3MB 64b/line 8-way L2 cache
> ioapic0 at mainbus0 apid 2 pa 0xfec0, version 20, 24 pins
> ioapic0: misconfigured as apic 0, remapped to apid 2
> acpiprt0 at acpi0: bus 3 (PCIE)
> acpiprt1 at acpi0: bus -1 (AGP_)
> acpiprt2 at acpi0: bus 11 (RP01)
> acpiprt3 at acpi0: bus 12 (RP02)
> acpiprt4 at acpi0: bus 13 (RP03)
> acpiprt5 at acpi0: bus 14 (RP04)
> acpiprt6 at acpi0: bus -1 (RP05)
> acpiprt7 at acpi0: bus -1 (RP06)
> acpiprt8 at acpi0: bus 0 (PCI0)
> acpiec0 at acpi0
> acpicpu0 at acpi0: C3
> acpicpu1 at acpi0: C3
> acpitz0 at acpi0: critical temperature 107 degC
> acpibtn0 at acpi0: LID_
> acpibtn1 at acpi0: PBTN
> acpibtn2 at acpi0: SBTN
> acpiac0 at acpi0: AC unit offline
> acpibat0 at acpi0: BAT0 model "DELL FU27488" serial 30161 type LION oem
> "Sony"
> acpibat1 at acpi0: BAT1 not present
> acpivideo at acpi0 not configured
> acpivideo at acpi0 not configured
> acpivideo at acpi0 not configured
> cpu0: unknown i686 model 7, can't get bus clockcpu0: EST: unknown
> system bus clock
> pci0 at mainbus0 bus 0: configuration mode 1
> pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07
> vga1 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x07
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> inteldrm0 at vga1:couldn't find agp
> "Intel GM45 Video" rev 0x07 at pci0 dev 2 function 1 not configured
> "Intel ICH9 IGP M AMT" rev 0x03 at pci0 dev 25 function 0 not configured
> uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 2
> int 20 (irq 7)
> uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 2
> int 21 (irq 4)
> uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 2
> int 22 (irq 10)
> ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 2
> int 22 (irq 10)
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x03:
> apic 2 int 21 (irq 4)
> azalia0: ../../../../dev/pci/azalia.c/1374 invalid PCM format: 0x
> azalia0: codec[s]: IDT/0x76b2, Intel/0x2802, using IDT/0x76b2
> audio0 at azalia0
> ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03: apic 2
> int 16 (irq 0)
> pci1 at ppb0 bus 11
> ppb1 at pci0 dev 28 function 1 "Intel 82801I PCIE" rev 0x03: apic 2
> int 17 (irq 0)
> pci2 at ppb1 bus 12
> iwn0 at pci2 dev 0 function 0 "Intel WiFi Link 5300AGN" rev 0x00: apic
> 2 int 17 (irq 3), MIMO 3T3R, MoW, address 00:16:ea:5e:dc:32
> ppb2 at pci0 dev 28 function 2 "Intel 82801I PCIE" rev 0x03: apic 2
> int 18 (irq 0)
> pci3 at ppb2 bus 13
> ppb3 at pci0 d

Re: openbsd-current strange keyboard behaviour

2008-11-01 Thread mherrb
Did you guys fiddle with /etc/ttys or the way to start X?

This looks like the know problem of X and the process on console fighting  
for input because they are sharing the same virtual terminal device.
Normally there's no getty(8) process attached to ttyC4 so that X can attach  
to it (and xdm isi configured to use vt05 - which corresponds to ttyC4  
since VT numbers in X start at 01). If you activate a getty(8) process on  
this VT too, X will not find a free one and attach to ttyC0 anyways causing  
problems if you have processes trying to get input from ttyC0.