Subject: port-alpha/17615: sgmap kernel panic with pools&extent
To: None <>
From: None <>
List: netbsd-bugs
Date: 07/16/2002 19:55:55
>Number:         17615
>Category:       port-alpha
>Synopsis:       sgmap kernel panic with pools&extent
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-alpha-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 16 12:57:00 PDT 2002
>Originator:     Matt Thomas <>
>Release:        NetBSD 1.6D
System: NetBSD 1.6D NetBSD 1.6D (XPK) #23: Wed Jul 10 21:34:12 UTC 2002 alpha
Architecture: alpha
Machine: alpha
panic: pool_get: must have NOWAIT
Stopped at      cpu_Debugger+0x4:       ret     zero,(ra)
db> t
cpu_Debugger() at cpu_Debugger+0x4
panic() at panic+0x168
pool_get() at pool_get+0x5c
extent_alloc_region_descriptor() at extent_alloc_region_descriptor+0x158
extent_alloc_subregion1() at extent_alloc_subregion1+0x1dc
pci_sgmap_pte64_load_buffer() at pci_sgmap_pte64_load_buffer+0x154
pci_sgmap_pte64_load_mbuf() at pci_sgmap_pte64_load_mbuf+0x118
tsp_bus_dmamap_load_mbuf_sgmap() at tsp_bus_dmamap_load_mbuf_sgmap+0x28
_bus_dmamap_load_mbuf_direct() at _bus_dmamap_load_mbuf_direct+0x13c
ti_encap_tigon2() at ti_encap_tigon2+0x70
ti_start() at ti_start+0xc8
ether_output() at ether_output+0xafc
nd6_output() at nd6_output+0x408
ip6_output() at ip6_output+0xf78
nd6_ns_output() at nd6_ns_output+0x930
nd6_timer() at nd6_timer+0x31c
softclock() at softclock+0x220
hardclock() at hardclock+0x75c
interrupt() at interrupt+0x100
XentInt() at XentInt+0x1c
--- interrupt (from ipl 0) ---
idle() at idle+0x28
mi_switch() at mi_switch+0x1c8
ltsleep() at ltsleep+0x384
sys_nanosleep() at sys_nanosleep+0x1c8
syscall_plain() at syscall_plain+0x154
XentSys() at XentSys+0x58

	No clue.
	Fix code.