trouble generating a core file
Chuck Tuffli
chuck_tuffli at agilent.com
Mon May 9 13:28:59 PDT 2005
On Mon, May 09, 2005 at 10:53:08AM -0700, Matthew Dillon wrote:
. ..
> What was the actual panic that occured? Can you do a 'trace' from
> the DB> prompt ? What was the panic address and instruction pointer
> value and how does that match up with the kernel's symbol table
> (nm -N /kernel).
>
> -Matt
Below is what came out on comconsole including the output from 'trace'.
Note that the svd_* entries are from our loadable driver which you can
find at http://www.tuffli.net/svd.c and http://www.tuffli.net/svd.h
The application making calls to our driver is essentially allocating
dmamem buffers until an allocation fails in order to test error
handling within the application. Also note that this dump is from a
different machine that is running 1.2.1-RELEASE, but the failure is
identical.
. ..
Mon Jan 5 09:54:40 PST 1970
svd0: Agilent Tachyon Driver Version 1.0
svd0: <Agilent Tachyon QX4 PCI-E FC Adapter rev 1.1> port 0x4000-0x40ff,0x4400-0x44ff mem 0xdd400000-0xdd401fff irq 2 at device 0.0 on pci5
panic: vm_page_wakeup: page not busy!!!
mp_lock = 00000001; cpuid = 1; lapic.id = 01000000
panic(c153f074,29fcd,c0a1a000,d58e2884,c03809c0) at panic+0xbd
panic(c0476580,29f4d,d58e289c,c0375a0a,c153f074) at panic+0xbd
vm_page_free_toq(c153f074) at vm_page_free_toq+0x1d8
vm_contig_pg_free(29f4d,7f328,1,ed7862b8,1601) at vm_contig_pg_free+0x5a
contigmalloc_map(7f328,c04d1980,1601,0,0) at contigmalloc_map+0x5b
contigmalloc(7f328,c04d1980,1601,0,0) at contigmalloc+0x2d
bus_dmamem_alloc(ed7862b8,d55ba1d8,1,d55ba1e4,d55ba1d0) at bus_dmamem_alloc+0x125
svd_dma_alloc(c23a2e08,d55ba1e0,d55ba1e4,d55ba1d0,80) at svd_dma_alloc+0x4e
svd_alloc(c23a2de8,d58e2b68,d58e29c8,c2445218,d58e29a4) at svd_alloc+0x76
svd_ioctl(d25d3e58,c0105300,d58e2b68,3,cc1fb400) at svd_ioctl+0x63
cdevsw_putport(c0525420,d58e29c8) at cdevsw_putport+0x70
lwkt_domsg(c0525420,d58e29c8,d58e29cc,f721a280,f721a2c0) at lwkt_domsg+0x35
dev_dioctl(d25d3e58,c0105300,d58e2b68,3,cc1fb400) at dev_dioctl+0x5a
spec_ioctl(d58e2a64,d58e2a4c,c0371f8e,d58e2a64,d58e2a94) at spec_ioctl+0x22
spec_vnoperate(d58e2a64,d58e2a94,c028e57a,d58e2a64,c0105300) at spec_vnoperate+0x16
ufs_vnoperatespec(d58e2a64,c0105300,d587e3b8,d53e1c40,c04d9a00) at ufs_vnoperatespec+0x16
vop_ioctl(d26448b8,d587e3b8,c0105300,d58e2b68,3) at vop_ioctl+0x46
vn_ioctl(d53e1c40,c0105300,d58e2b68,cc1fb400,0) at vn_ioctl+0xdb
mapped_ioctl(4,c0105300,bfbff6c0,0,d58e2d40) at mapped_ioctl+0x3b6
ioctl(d58e2c34,9456788,bfbffbdc,bfbffbe4,d58e2d20) at ioctl+0x1f
syscall2(bfbf002f,bfbf002f,bfbf002f,bfbffbe4,bfbffbdc) at syscall2+0x266
Xint0x80_syscall() at Xint0x80_syscall+0x2a
Debugger("panic")
CPU1 stopping CPUs: 0x00000001
stopped
Stopped at Debugger+0x34: movb $0,in_Debugger.363
db> trace
Debugger(c044c8fc) at Debugger+0x34
panic(c0476580,29f4d,d58e289c,c0375a0a,c153f074) at panic+0xd0
vm_page_free_toq(c153f074) at vm_page_free_toq+0x1d8
vm_contig_pg_free(29f4d,7f328,1,ed7862b8,1601) at vm_contig_pg_free+0x5a
contigmalloc_map(7f328,c04d1980,1601,0,0) at contigmalloc_map+0x5b
contigmalloc(7f328,c04d1980,1601,0,0) at contigmalloc+0x2d
bus_dmamem_alloc(ed7862b8,d55ba1d8,1,d55ba1e4,d55ba1d0) at bus_dmamem_alloc+0x125
svd_dma_alloc(c23a2e08,d55ba1e0,d55ba1e4,d55ba1d0,80) at svd_dma_alloc+0x4e
svd_alloc(c23a2de8,d58e2b68,d58e29c8,c2445218,d58e29a4) at svd_alloc+0x76
svd_ioctl(d25d3e58,c0105300,d58e2b68,3,cc1fb400) at svd_ioctl+0x63
cdevsw_putport(c0525420,d58e29c8) at cdevsw_putport+0x70
lwkt_domsg(c0525420,d58e29c8,d58e29cc,f721a280,f721a2c0) at lwkt_domsg+0x35
dev_dioctl(d25d3e58,c0105300,d58e2b68,3,cc1fb400) at dev_dioctl+0x5a
spec_ioctl(d58e2a64,d58e2a4c,c0371f8e,d58e2a64,d58e2a94) at spec_ioctl+0x22
spec_vnoperate(d58e2a64,d58e2a94,c028e57a,d58e2a64,c0105300) at spec_vnoperate+0x16
ufs_vnoperatespec(d58e2a64,c0105300,d587e3b8,d53e1c40,c04d9a00) at ufs_vnoperatespec+0x16
vop_ioctl(d26448b8,d587e3b8,c0105300,d58e2b68,3) at vop_ioctl+0x46
vn_ioctl(d53e1c40,c0105300,d58e2b68,cc1fb400,0) at vn_ioctl+0xdb
mapped_ioctl(4,c0105300,bfbff6c0,0,d58e2d40) at mapped_ioctl+0x3b6
ioctl(d58e2c34,9456788,bfbffbdc,bfbffbe4,d58e2d20) at ioctl+0x1f
syscall2(bfbf002f,bfbf002f,bfbf002f,bfbffbe4,bfbffbdc) at syscall2+0x266
Xint0x80_syscall() at Xint0x80_syscall+0x2a
--
Chuck Tuffli
Agilent Technologies
More information about the Bugs
mailing list