Subject: Re: NetBSD/xen network problems (need help)
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Andreas Wrede <andreas@planix.com>
List: port-xen
Date: 03/13/2006 09:16:59
--Apple-Mail-3-743462847
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

On Mon, Jan 23, 2006 at 12:52:37PM +0100, Manuel Bouyer wrote:

> On Mon, Jan 23, 2006 at 12:41:54PM +0100, Manuel Bouyer wrote:
> > >
> > > Panic message:
> > >
> > > panic: m_makewritable: length changed
> > > Stopped at      netbsd:cpu_Debugger+0x4:        leave
> > > cpu_Debugger(c03f8d38,38,c03f8ce8,c03f8d38,0) at  
> netbsd:cpu_Debugger+0x4
> > > panic(c0331900,1,0,0,0) at netbsd:panic+0x121
> > > m_makewritable(c03f8d38,0,3b9aca00,1,c0871500) at  
> netbsd:m_makewritable+0x6b
> > > fr_check_wrapper(0,c03f8d38,c072d038,1,c0871800) at  
> netbsd:fr_check_wrapper+0x1b
> >
> > This is an internal diagnostig to m_makewritable(). Now, I see this
> > check doesn't check the error code returned by m_copyback0(), so  
> it's
> > possible it's triggered because of ressources shortage on mbuf pool.
>
> After reading mbuf(9) m_makewritable() should return the mbuf chain
> unmodified in case of error. So it's probably m_copyback0() which  
> is wrong
> here.

I am now getting the same panic. DomU is running  3.99.16 as of March  
8th, Dom0 is  3.99.16 from March 2nd. Was this resolved somehow?

panic: m_makewritable: length changed
Begin traceback...
m_makewritable(c058ad08,0,78,1,c058ad00) at netbsd:m_makewritable+0x80
pfil4_wrapper(0,c058ad08,c1242038,1,c058ad60) at netbsd:pfil4_wrapper 
+0x35
pfil_run_hooks(c0474960,c058ad80,c1242038,1,42) at  
netbsd:pfil_run_hooks+0x98
ip_input(c18cfb00,c04900a0,0,0,c010078f) at netbsd:ip_input+0x175
ipintr(fffffffe,20,5,1,c058ade0) at netbsd:ipintr+0xbc
DDB lost frame for netbsd:Xsoftnet+0x49, trying 0xc058ada0
Xsoftnet() at netbsd:Xsoftnet+0x49
--- interrupt ---
0xffffffff:
End traceback...
syncing disks... panic: m_makewritable: length changed
Begin traceback...
m_makewritable(c058a758,0,78,1,5611) at netbsd:m_makewritable+0x80
pfil4_wrapper(0,c058a758,c1242038,1,c058a7b0) at netbsd:pfil4_wrapper 
+0x35
pfil_run_hooks(c0474960,c058a7d0,c1242038,1,42) at  
netbsd:pfil_run_hooks+0x98
ip_input(c18d2000,c04900a0,0,0,c010078f) at netbsd:ip_input+0x175
ipintr(fffffffe,20,5,1,c058a830) at netbsd:ipintr+0xbc
DDB lost frame for netbsd:Xsoftnet+0x49, trying 0xc058a7f0
Xsoftnet() at netbsd:Xsoftnet+0x49
--- interrupt ---
0xffffffff:
End traceback...

dumping to dev 142,1 offset 1926279
dump device bad

-- 
     aew


--Apple-Mail-3-743462847
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFEFX7eEh/h9J/TQyERAlYkAKC9DRnAkBNw0LW9nNJcJ1khoFj+fgCg3ssY
PKvvzU85/ZukAJQ8I1XZV54=
=sZPY
-----END PGP SIGNATURE-----

--Apple-Mail-3-743462847--