WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] Stop 8E with GPL PV Drivers

To: "Nick Couchman" <Nick.Couchman@xxxxxxxxx>
Subject: RE: [Xen-users] Stop 8E with GPL PV Drivers
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Wed, 29 Oct 2008 20:14:54 +1100
Cc: Pekka.Panula@xxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 29 Oct 2008 02:15:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49078ACC.87A6.0099.1@xxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4906DCA00200009900030673@xxxxxxxxxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D0154F9BF@trantor> <49078ACC.87A6.0099.1@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ack5eqOU1BUf49fdRUCsF3wETQJhFAAKknBg
Thread-topic: [Xen-users] Stop 8E with GPL PV Drivers
> 
> James,
> Here you go - here are the last few lines of the debugger output.  I
> haven't received the BSOD, but I figured the debugger output was
> preventing that:
> XenVbd     stat_no_shadows = 0
> XenVbd     stat_no_grants = 0
> XenVbd     stat_outstanding_requests = 1
> XenVbd     stat_interrupts = 954805
> XenVbd     stat_interrupts_for_me = 348160
> XenVbd     stat_reads = 56361
> XenVbd     stat_writes = 296092
> XenVbd     stat_unaligned_le_4096 = 14
> XenVbd     stat_unaligned_le_8192 = 0
> XenVbd     stat_unaligned_le_16384 = 0
> XenVbd     stat_unaligned_le_32768 = 0
> XenVbd     stat_unaligned_le_65536 = 0
> XenVbd     stat_unaligned_gt_65536 = 0
> XenVbd     stat_no_shadows = 0
> XenVbd     stat_no_grants = 0
> XenVbd     stat_outstanding_requests = 1
> 
> *** Assertion failed: !in_mdl
> ***   Source File: c:\projects\win-pvdrivers.hg\xennet\xennet_tx.c,
line
> 176
> 
> Break repeatedly, break Once, Ignore, terminate Process, or terminate
> Thread (boipt)?
> 
> Let me know if you need any more info - I'll happy to provide further
> debug output, etc.
> 

Is it repeatable under the debugger?

At first glance, the only way I can see that that breakpoint could be
triggered is if the preceeding call to NdisGetFirstBufferFromPacketSafe
fails, which isn't something I'm testing for. Memory corruption caused
somewhere else in my drivers is another possibility, but I'm ignoring
that possibility for now :)

I have just uploaded a xennet_2k3_x86_0.9.11-pre18-update.zip which
contain a check for the return of NdisGetFirstBufferFromPacketSafe.
Please try it and see what happens - just copy the sys file directly
into c:\windows\system32\drivers and then reboot

If that is the cause of the problem, you should see a log message of
"NdisGetFirstBufferFromPacketSafe failed" instead of the exception.

I'll look at it some more though, just in case there is another possible
way it could arrive there...

James


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users