Subject: port-i386/30863: X server grabs wscons keyboard
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
List: netbsd-bugs
Date: 07/29/2005 13:27:00
>Number: 30863
>Category: port-i386
>Synopsis: X server grabs wscons keyboard
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: port-i386-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jul 29 13:27:00 +0000 2005
>Originator: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
>Release: NetBSD 3.0_BETA
>Organization:
computer science department, university of Bonn, Germany
>Environment:
System: NetBSD tiger 3.0_BETA NetBSD 3.0_BETA (GENERIC.APM) #0: Fri Jul 29 14:22:35 CEST 2005 ignatios@tangens:/usr/local/sources/3.0/oi/sys/arch/i386/compile/GENERIC.APM i386
--- same for GENERIC kernel ---
Architecture: i386
Machine: i386
NetBSD 3.0_BETA (GENERIC.APM) #0: Fri Jul 29 14:22:35 CEST 2005
ignatios@tangens:/usr/local/sources/3.0/oi/sys/arch/i386/compile/GENERIC.APM
total memory = 1021 MB
avail memory = 992 MB
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel (686-class), 3200.19 MHz, id 0xf43
cpu0: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu0: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu0: features2 649d<SSE3,MONITOR,DS-CPL,EST,CID,xTPR>
cpu0: features3 20100000<EM64T>
cpu0: "Intel(R) Pentium(R) 4 CPU 3.20GHz"
cpu0: I-cache 12K uOp cache 8-way
cpu0: ITLB 4K/4M: 64 entries
cpu0: DTLB 4K/4M: 64 entries
cpu0: using thermal monitor 1
cpu0: Enhanced SpeedStep running at 1600 MHz (1420 mV)
cpu0: unknown Enhanced SpeedStep CPU
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82915P/G/GL Host (rev. 0x00)
ppb0 at pci0 dev 1 function 0: Intel 82915P/G/GL PCI Express Bridge (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
vga1 at pci1 dev 0 function 0: ATI Technologies Radeon X300 Series (rev. 0x00)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
ATI Technologies Radeon X300 Series Secondary (miscellaneous display) at pci1 dev 0 function 1 not configured
azalia0 at pci0 dev 27 function 0: Generic High Definition Audio Controller
azalia0: interrupting at irq 11
azalia0: host: 0x8086/0x2668 (rev. 3)
azalia0: host: High Definition Audio rev. 1.0
ppb1 at pci0 dev 28 function 0: Intel 82801FB/FR PCI Express Port #0 (rev. 0x03)
pci2 at ppb1 bus 5
pci2: memory space enabled, rd/line, wr/inv ok
ppb2 at pci0 dev 28 function 1: Intel 82801FB/FR PCI Express Port #1 (rev. 0x03)
pci3 at ppb2 bus 4
pci3: memory space enabled, rd/line, wr/inv ok
ppb3 at pci0 dev 28 function 2: Intel product 0x2664 (rev. 0x03)
pci4 at ppb3 bus 3
pci4: memory space enabled, rd/line, wr/inv ok
ppb4 at pci0 dev 28 function 3: Intel product 0x2666 (rev. 0x03)
pci5 at ppb4 bus 2
pci5: memory space enabled, rd/line, wr/inv ok
uhci0 at pci0 dev 29 function 0: Intel 82801FB/FR USB UHCI Controller (rev. 0x03)
uhci0: interrupting at irq 9
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1: Intel 82801FB/FR USB UHCI Controller (rev. 0x03)
uhci1: interrupting at irq 10
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2: Intel 82801FB/FR USB UHCI Controller (rev. 0x03)
uhci2: interrupting at irq 5
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3: Intel 82801FB/FR USB UHCI Controller (rev. 0x03)
uhci3: interrupting at irq 11
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7: Intel 82801FB/FR USB EHCI Controller (rev. 0x03)
ehci0: interrupting at irq 9
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: single transaction translator
uhub4: 8 ports with 8 removable, self powered
ppb5 at pci0 dev 30 function 0: Intel 82801BA Hub-PCI Bridge (rev. 0xd3)
pci6 at ppb5 bus 6
pci6: i/o space, memory space enabled
VIA Technologies VT6306 IEEE 1394 Host Controller (Firewire serial bus, interface 0x10, revision 0x46) at pci6 dev 3 function 0 not configured
fxp0 at pci6 dev 8 function 0: Intel 82562EZ (ICH6), rev 1
fxp0: interrupting at irq 3
fxp0: Ethernet address 00:13:20:5a:59:d7
inphy0 at fxp0 phy 1: i82562ET 10/100 media interface, rev. 0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801FB LPC Interface Bridge (rev. 0x03)
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801FB IDE Controller (ICH6) (rev. 0x03)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at irq 15
atabus1 at piixide0 channel 1
piixide1 at pci0 dev 31 function 2
piixide1: Intel 82801FB Serial ATA/Raid Controller (rev. 0x03)
piixide1: bus-master DMA support present
piixide1: primary channel configured to native-PCI mode
piixide1: using irq 10 for native-PCI interrupt
atabus2 at piixide1 channel 0
piixide1: secondary channel configured to native-PCI mode
atabus3 at piixide1 channel 1
Intel 82801FB/FR SMBus Controller (SMBus serial bus, revision 0x03) at pci0 dev 31 function 3 not configured
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
isapnp0: no ISA Plug 'n Play devices found
apm0 at mainbus0: Power Management spec V1.2
azalia0: codec: 0x10ec/0x0880 (rev. 0.0)
azalia0: codec: High Definition Audio rev. 0.9
azalia0: playback: encodings=1<PCM>
azalia0: playback: PCM formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
azalia0: playback: max channels=2
azalia0: recording: encodings=1<PCM>
azalia0: recording: PCM formats=60160<20bit,16bit,96kHz,48kHz,44.1kHz>
azalia0: recording: max channels=2
audio0 at azalia0: full duplex, independent
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Kernelized RAIDframe activated
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <_NEC DVD_RW ND-3540A, , 1.01> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd1 at atapibus0 drive 1: <TOSHIBA DVD-ROM SD-M1912, , TM01> cdrom removable
cd1: 32-bit data port
cd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
cd1(piixide0:0:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
uhidev0 at uhub0 port 2 configuration 1 interface 0
uhidev0: Logitech USB-PS/2 Optical Mouse, rev 2.00/20.00, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
uhidev1 at uhub1 port 1 configuration 1 interface 0
uhidev1: Sun Microsystems Type 6 USB keyboard, rev 1.00/1.02, addr 2, iclass 3/1
ukbd0 at uhidev1
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
wd0 at atabus2 drive 0: <SAMSUNG SP1614C>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 149 GB, 310101 cyl, 16 head, 63 sec, 512 bytes/sect x 312581808 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 7
wd0(piixide1:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
--Same with PS/2 keyboard plugged into ps/2 port.--
>Description:
When the X server is running (on vt05 == /dev/ttyE4), ctrl-alt-Fn (n=0,1,2,3)
switches to the ttyEn screen, but the cursor is at the upper left corner,
and the keyboard doesn't provide input. Especially switching back isn't
possible, neither ctrl-alt-esc into the kernel debugger or ctrl-alt-backspace
to stop the X server.
When the X server is killed through a network login, the keyboard instantly
works again.
>How-To-Repeat:
see above
>Fix:
unknown.
>Unformatted:
X11 is 2005-Jun-24 from the releng build
core OS is 2005-Jul-11 self-built.