Subject: kern/34698: can't establish a powerhook in the pci bus
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <juan@xtrarom.org>
List: netbsd-bugs
Date: 10/02/2006 21:20:00
>Number:         34698
>Category:       kern
>Synopsis:       can't establish a powerhook in the pci bus
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 02 21:20:00 +0000 2006
>Originator:     Juan RP
>Release:        NetBSD 4.99.3
>Organization:
>Environment:
System: NetBSD nocturno 4.99.3 NetBSD 4.99.3 (Nocturno-ACPI) #180: Mon Oct 2 19:44:02 CEST 2006 juan@nocturno:/home/juan/build/obj/sys/arch/i386/compile/Nocturno-ACPI i386
Architecture: i386
Machine: i386
>Description:
	With recent changes to pci.c that tries to set a powerhook
	on the busses, in some cases (mine) does not work
	and powerhook_establish(9) fails.

pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pci0: can't establish powerhook
pchb0 at pci0 dev 0 function 0
ppb0 at pci0 dev 1 function 0: VIA Technologies VT8377CE CPU-AGP Bridge (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
pci1: can't establish powerhook

>How-To-Repeat:
>Fix:
	Yes, please.