Subject: Re: NetBSD/xen network problems (need help)
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Mike M. Volokhov <mishka@intostroy.com>
List: port-xen
Date: 01/27/2006 10:01:44
On Thu, 26 Jan 2006 20:00:11 +0100
Manuel Bouyer <bouyer@antioche.eu.org> wrote:
> On Thu, Jan 26, 2006 at 05:24:54PM +0200, Mike M. Volokhov wrote:
> > > Here's a new patch which adds more debug printf.
> >
> > Kernel panic message:
> >
> > pa 0x5fd5f38 len 200 m_flags 0x2
> > new_m 0xc06bbf00 m_paddr 5fd5f00 M_BUFOFFSET 56
>
> Hey, of course ! 200 + 56 = 256 = 0x100. The KASSERT is wrong, it should
> use m_pkthdr.len - 1.
>
> Attached is a new patch for if_xennet.c, with this fixed (but still the
> additionnal debug printfs, just in case).
>
Rebuilt, installed, testing now. If there are will be no hangs nor
panics during nearest few hours, I'll report my results in Monday.
Manu, thank you very much for you time and patience!
--
Sincerely yours,
Mishka.
P.S. Well, you just resqued my ass :-)