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-devel

[Xen-devel] Netfront problems

To: xen-devel@xxxxxxxxxxxxxxxxxxx, Ewan Mellor <ewan@xxxxxxxxxxxxx>
Subject: [Xen-devel] Netfront problems
From: Murillo Bernardes <mfb@xxxxxxxxxx>
Date: Fri, 25 Nov 2005 11:05:06 -0200
Delivery-date: Fri, 25 Nov 2005 13:05:15 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: IBM
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8.2
Hi,

I'm trying to fix the following error on netfront, but no sucess until now.

1. Problem:
 -  On netfront_closing we unregister the net device (calling close_netdev)
 -  When the frontend directory on store is removed the netfront_remove() is 
called, and we call netif_disconnect_backend(), but "&info->tx_lock", 
"&info->rx_lock" , etc, are not valid anymore and we get an OOOPS.

2. If I call netif_free() from netfront_closing() I get:
"WARNING: g.e. still in use!
WARNING: leaking g.e. and page still in use!
WARNING: g.e. still in use!
WARNING: leaking g.e. and page still in use!"

Because this pages (info->tx and info->rx) still in use by hypervisor/dom0.

3. If I remove close_netdev() from netfront_closing() everthing seems to work 
well on begining but:
- after some attach and detach I see the same warning, and after some other 
attach and detach domU freeze. OR
- I get some OOPS on "page_waitqueue"

Seems to me there is something wrong on memory allocation/deallocation, but I 
did not find it yet.

Ideas?

-- 
Murillo Fernandes Bernardes
IBM Linux Technology Center

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

<Prev in Thread] Current Thread [Next in Thread>