NetBSD Problem Report #35435

From www@NetBSD.org  Wed Jan 17 10:17:15 2007
Return-Path: <www@NetBSD.org>
Received: by narn.NetBSD.org (Postfix, from userid 31301)
	id 05D4163B9E6; Wed, 17 Jan 2007 10:17:15 +0000 (UTC)
Message-Id: <20070117101715.05D4163B9E6@narn.NetBSD.org>
Date: Wed, 17 Jan 2007 10:17:15 +0000 (UTC)
From: yfbio@ion.ac.cn
Reply-To: yfbio@ion.ac.cn
To: gnats-bugs@NetBSD.org
Subject: startx of amd64x2 laptop causes the "pckbport: command timeout" and disables PS/2 keyboard
X-Send-Pr-Version: www-1.0

>Number:         35435
>Category:       port-amd64
>Synopsis:       startx of amd64x2 laptop causes the "pckbport: command timeout" and disables PS/2 keyboard
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 17 10:20:00 +0000 2007
>Closed-Date:    
>Last-Modified:  Thu Apr 21 03:45:26 +0000 2011
>Originator:     Feng Yu
>Release:        netbsd3.1 netbsd3.0,netbsd4.0
>Organization:
ION,CAS,PRC
>Environment:
Netbsd 3.1, amd64,
>Description:
My notebook has an AMD dual 64 cpu, and kernel config file is generic with smp enabled and ohci disabled (because ohci will cause hangup of initial process). but when  I run startx, two lines of "pckbport: command timeout" will appear in ttyE0. And after a while in X windows, keyboard stops any response. 
The following is my dmesg:

NetBSD 3.1 (GENERIC-ohci.MP) #0: Fri Dec 22 00:27:00 CST 2006
	root@Colorful:/usr/src/sys/arch/amd64/compile/GENERIC-ohci.MP
total memory = 446 MB
avail memory = 417 MB
mainbus0 (root)
mainbus0: Intel MP Specification (Version 1.4) (AMD      POOH        )
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Turion(tm) 64 X2 Mobile Technology TL-50, 1596.12 MHz
cpu0: features: ffdbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features: ffdbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu0: features: ffdbfbff<FXSR,SSE,SSE2,B27,B28,LONG,3DNOW2,3DNOW>
cpu0: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu0: L2 cache 256 KB 64B/line 16-way
cpu0: ITLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu0: DTLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu0: calibrating local timer
cpu0: apic clock running at 199 MHz
cpu0: 8 page colors
cpu1 at mainbus0: apid 1 (application processor)
cpu1: starting
cpu1: AMD Turion(tm) 64 X2 Mobile Technology TL-50, 1596.00 MHz
cpu1: features: ffdbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features: ffdbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu1: features: ffdbfbff<FXSR,SSE,SSE2,B27,B28,LONG,3DNOW2,3DNOW>
cpu1: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu1: L2 cache 256 KB 64B/line 16-way
cpu1: ITLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu1: DTLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
mpbios: bus 0 is type PCI   
mpbios: bus 1 is type PCI   
mpbios: bus 5 is type PCI   
mpbios: bus 8 is type PCI   
mpbios: bus 9 is type ISA   
ioapic0 at mainbus0 apid 2 (I/O APIC)
ioapic0: pa 0xfec00000, version 21, 24 pins
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: ATI Technologies product 0x5950 (rev. 0x10)
ppb0 at pci0 dev 1 function 0: ATI Technologies product 0x5a3f (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 5 function 0: ATI Technologies product 0x5975 (rev. 0x00)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
ppb1 at pci0 dev 5 function 0: ATI Technologies product 0x5a37 (rev. 0x00)
pci2 at ppb1 bus 2
pci2: no spaces enabled!
ppb2 at pci0 dev 6 function 0: ATI Technologies product 0x5a38 (rev. 0x00)
pci3 at ppb2 bus 5
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
Broadcom product 0x4311 (miscellaneous network, revision 0x01) at pci3 dev 0 function 0 not configured
pciide0 at pci0 dev 18 function 0
pciide0: ATI Technologies product 0x4380 (rev. 0x00)
pciide0: bus-master DMA support present, but unused (no driver support)
pciide0: primary channel configured to native-PCI mode
pciide0: using ioapic0 pin 22 (irq 11) for native-PCI interrupt
atabus0 at pciide0 channel 0
pciide0: secondary channel configured to native-PCI mode
atabus1 at pciide0 channel 1
ATI Technologies product 0x4387 (USB serial bus, interface 0x10) at pci0 dev 19 function 0 not configured
ATI Technologies product 0x4388 (USB serial bus, interface 0x10) at pci0 dev 19 function 1 not configured
ATI Technologies product 0x4389 (USB serial bus, interface 0x10) at pci0 dev 19 function 2 not configured
ATI Technologies product 0x438a (USB serial bus, interface 0x10) at pci0 dev 19 function 3 not configured
ATI Technologies product 0x438b (USB serial bus, interface 0x10) at pci0 dev 19 function 4 not configured
ATI Technologies product 0x4386 (USB serial bus, interface 0x20) at pci0 dev 19 function 5 not configured
ATI Technologies product 0x4385 (SMBus serial bus, revision 0x13) at pci0 dev 20 function 0 not configured
pciide1 at pci0 dev 20 function 1
pciide1: ATI Technologies product 0x438c (rev. 0x00)
pciide1: bus-master DMA support present, but unused (no driver support)
pciide1: primary channel configured to compatibility mode
pciide1: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus2 at pciide1 channel 0
pciide1: secondary channel configured to compatibility mode
pciide1: secondary channel ignored (not responding; disabled or no drives?)
azalia0 at pci0 dev 20 function 2: Generic High Definition Audio Controller
azalia0: interrupting at ioapic0 pin 16 (irq 10)
azalia0: host: 0x1002/0x4383 (rev. 0)
azalia0: host: High Definition Audio rev. 1.0
pcib0 at pci0 dev 20 function 3
pcib0: ATI Technologies product 0x438d (rev. 0x00)
ppb3 at pci0 dev 20 function 4: ATI Technologies product 0x4384 (rev. 0x00)
pci4 at ppb3 bus 8
pci4: i/o space, memory space enabled
bce0 at pci4 dev 0 function 0: Broadcom BCM4401-B0 10/100 Ethernet
bce0: interrupting at ioapic0 pin 21 (irq 10)
bmtphy0 at bce0 phy 1: BCM4401 10/100 media interface, rev. 0
bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bce0: Ethernet address 00:15:c5:c9:31:50
Ricoh product 0x0822 (system subclass 0x05, revision 0x19) at pci4 dev 1 function 0 not configured
Ricoh product 0x0843 (miscellaneous system, revision 0x01) at pci4 dev 1 function 1 not configured
pchb1 at pci0 dev 24 function 0
pchb1: Advanced Micro Devices AMD64 HyperTransport configuration (rev. 0x00)
pchb2 at pci0 dev 24 function 1
pchb2: Advanced Micro Devices AMD64 Address Map configuration (rev. 0x00)
pchb3 at pci0 dev 24 function 2
pchb3: Advanced Micro Devices AMD64 DRAM configuration (rev. 0x00)
pchb4 at pci0 dev 24 function 3
pchb4: Advanced Micro Devices AMD64 Miscellaneous configuration (rev. 0x00)
isa0 at pcib0
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
ioapic0: enabling
azalia0: codec[0]: 0x14f1/0x2bfa (rev. 0.0)
azalia0: codec[0]: High Definition Audio rev. 0.9
azalia0: codec[0]: No support for modem function groups
azalia0: codec[0] has no audio function groups
azalia0: codec[1]: Sigmatel STAC9220 (rev. 34.1)
azalia0: codec[1]: High Definition Audio rev. 1.0
azalia0: playback: max channels=2, encodings=1<PCM>
azalia0: playback: PCM formats=e07e0<24bit,20bit,16bit,192kHz,176.4kHz,96kHz,88.2kHz,48kHz,44.1kHz>
azalia0: recording: max channels=2, encodings=1<PCM>
azalia0: recording: PCM formats=e07e0<24bit,20bit,16bit,192kHz,176.4kHz,96kHz,88.2kHz,48kHz,44.1kHz>
audio0 at azalia0: full duplex, independent
Kernelized RAIDframe activated
wd0 at atabus0 drive 0: <Hitachi HTS541680J9SA00>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
atapibus0 at atabus2: 2 targets
cd0 at atapibus0 drive 0: <HL-DT-ST DVD+/-RW GSA-T11N, K0669P53253, A102> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
boot device: wd0
root on wd0g dumps on wd0b
root file system type: ffs
cpu1: CPU 1 running
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)
pckbport: command timeout
pckbport: command timeout

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: dsl@NetBSD.org
State-Changed-When: Sun, 22 Nov 2009 17:33:53 +0000
State-Changed-Why:
Does this happen with NetBSD 5.0 or a recent 'current' ?
Quite possibly the kernel had panicked and dropped into ddb.
Difficult to check since the dislay is still in X!


From: Andreas Gustafsson <gson@gson.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: Re: port-amd64/35435
Date: Thu, 20 May 2010 17:41:42 +0300

 Please see port-i386/43331 for a possibly related issue on i386.
 -- 
 Andreas Gustafsson, gson@gson.org

State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 21 Apr 2011 03:45:26 +0000
State-Changed-Why:
Feedback mail is bouncing.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.