Subject: Re: kern/30048: Kernel panic with 3.0_BETA
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: netbsd-bugs
Date: 04/26/2005 05:02:02
The following reply was made to PR kern/30048; it has been noted by GNATS.

From: Martti Kuparinen <martti.kuparinen@iki.fi>
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
Cc: gnats-bugs@NetBSD.org, kern-bug-people@NetBSD.org,
	gnats-admin@NetBSD.org, netbsd-bugs@NetBSD.org
Subject: Re: kern/30048: Kernel panic with 3.0_BETA
Date: Tue, 26 Apr 2005 07:59:34 +0300

 Manuel Bouyer wrote:
 
 > Do you have the kernel core dump ? If so, you should have it in
 > dmesg -M netbsd.core
 
 panic: m_copym: m == 0, len 1 [!COPYALL]
 Begin traceback...
 m_copym0(0,484,1,1,0) at netbsd:m_copym0+0x459
 m_copym(c1e70200,484,4da,1,0) at netbsd:m_copym+0x19
 tcp_build_datapkt(c24e8190,c1d7b5f4,b68,4da,28) at 
 netbsd:tcp_build_datapkt+0x1f
 0
 tcp_output(c24e8190,c0936cc8,c1d7b5f4,c0936de0,c24e8190) at 
 netbsd:tcp_output+0x
 1029
 tcp_sack_newack(c24e8190,cb53e844,c0936de0,cb53e858,0) at 
 netbsd:tcp_sack_newack
 +0xf6
 tcp_input(c1d67300,14,6,1a,c0936e50) at netbsd:tcp_input+0x17bc
 ip_input(c1d67300,0,0,246,0) at netbsd:ip_input+0x587
 ipintr(ba40010,30,a67a0010,10,c0933000) at netbsd:ipintr+0x76
 DDB lost frame for netbsd:Xsoftnet+0x41, trying 0xc0936e80
 Xsoftnet() at netbsd:Xsoftnet+0x41
 --- interrupt ---
 0x246:
 End traceback...
 syncing disks... fatal page fault in supervisor mode
 trap type 6 code 0 eip c03d0f86 cs 8 eflags 10246 cr2 23 ilevel 6
 panic: trap
 Begin traceback...
 trap() at netbsd:trap+0x149
 --- trap (number 6) ---
 buf_lotsfree(c02797ab,286,c1c9fc00,0,0) at netbsd:buf_lotsfree+0xa
 getnewbuf(0,0,0,0,4) at netbsd:getnewbuf+0x185
 getblk(d2c28bd0,fffffff4,ffffffff,4000,0) at netbsd:getblk+0x176
 ufs_bmaparray(d2c28bd0,25,0,c0936750,0) at netbsd:ufs_bmaparray+0x3ab
 ufs_bmap(c09366b0,c0936790,c09366e8,c04388da,c0633d80) at 
 netbsd:ufs_bmap+0x47
 VOP_BMAP(d2c28bd0,25,0,c093674c,c0936750) at netbsd:VOP_BMAP+0x40
 genfs_gop_write(d2c28bd0,c0936790,4,1,c140a3c0) at 
 netbsd:genfs_gop_write+0x191
 genfs_putpages(c09368f0,0,c0936928,c03e12ac,c0634180) at 
 netbsd:genfs_putpages+0
 x814
 VOP_PUTPAGES(d2c28bd0,0,0,0,0) at netbsd:VOP_PUTPAGES+0x40
 ffs_full_fsync(c0936a20,c22472f0,c0936998,c09369c8,10) at 
 netbsd:ffs_full_fsync+
 0x2cc
 ffs_fsync(c0936a20,d2c28bd0,10012,c03e0f70,c06339c0) at 
 netbsd:ffs_fsync+0x4c
 VOP_FSYNC(d2c28bd0,cd4e0000,0,0,0) at netbsd:VOP_FSYNC+0x4c
 ffs_sync(c1db4000,2,cd4e0000,c08667e0,c0936ac8) at netbsd:ffs_sync+0x1f0
 sys_sync(0,0,0,0,100) at netbsd:sys_sync+0xb6
 vfs_shutdown(c079a980,0,c0936b28,c03b3a1c,100) at netbsd:vfs_shutdown+0x64
 cpu_reboot(100,0,c1c91044,2,ffffffdc) at netbsd:cpu_reboot+0x155
 panic(c079a980,1,95,5,0) at netbsd:panic+0x108
 m_copym0(0,484,1,1,0) at netbsd:m_copym0+0x459
 m_copym(c1e70200,484,4da,1,0) at netbsd:m_copym+0x19
 tcp_build_datapkt(c24e8190,c1d7b5f4,b68,4da,28) at 
 netbsd:tcp_build_datapkt+0x1f
 0
 tcp_output(c24e8190,c0936cc8,c1d7b5f4,c0936de0,c24e8190) at 
 netbsd:tcp_output+0x
 1029
 tcp_sack_newack(c24e8190,cb53e844,c0936de0,cb53e858,0) at 
 netbsd:tcp_sack_newack
 +0xf6
 tcp_input(c1d67300,14,6,1a,c0936e50) at netbsd:tcp_input+0x17bc
 ip_input(c1d67300,0,0,246,0) at netbsd:ip_input+0x587
 ipintr(ba40010,30,a67a0010,10,c0933000) at netbsd:ipintr+0x76
 DDB lost frame for netbsd:Xsoftnet+0x41, trying 0xc0936e80
 Xsoftnet() at netbsd:Xsoftnet+0x41
 --- interrupt ---
 0x246:
 End traceback...
 
 dumping to dev 19,1 offset 2113157