* Net grant tables breaking multiple nic domU
@ 2005-09-13 20:33 Jerone Young
2005-09-13 20:50 ` Nivedita Singhvi
0 siblings, 1 reply; 5+ messages in thread
From: Jerone Young @ 2005-09-13 20:33 UTC (permalink / raw)
To: xen-devel
While working Bugzilla #183 I figured out what was the problem... Net
grant tables...something that is marked as DANGEROUS in the kernel
config...is on by default. When net grant tables is compiled in bringing
up two interfaces in a domU crashes the domU kernel. But when I compile
both Dom0 & DomU without net grant tables I am able to use two
interfaces in domU with no problem. I don't know a lot about net grant
tables but could someone who know more about net grant tables take a
look at this?
--
Jerone Young
IBM Linux Technology Center
jyoung5@us.ibm.com
512-838-1157 (T/L: 678-1157)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Net grant tables breaking multiple nic domU
2005-09-13 20:33 Net grant tables breaking multiple nic domU Jerone Young
@ 2005-09-13 20:50 ` Nivedita Singhvi
2005-09-13 20:54 ` Jerone Young
0 siblings, 1 reply; 5+ messages in thread
From: Nivedita Singhvi @ 2005-09-13 20:50 UTC (permalink / raw)
To: Jerone Young; +Cc: xen-devel
Jerone Young wrote:
> While working Bugzilla #183 I figured out what was the problem... Net
> grant tables...something that is marked as DANGEROUS in the kernel
> config...is on by default. When net grant tables is compiled in bringing
> up two interfaces in a domU crashes the domU kernel. But when I compile
> both Dom0 & DomU without net grant tables I am able to use two
> interfaces in domU with no problem. I don't know a lot about net grant
> tables but could someone who know more about net grant tables take a
> look at this?
>
>
Jerone,
Did you not see Jim Dykman's updates and posts on this bug?
He's found the root cause, and is putting together a patch,
although some of it might be interim because it exposes
another resource shortage which will have to be addressed
somehow. Expect a patch from him in the next day or two,
and see the bugzilla entry (and previous posts on xen-devel)
from Jim for the details.
thanks,
Nivedita
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Net grant tables breaking multiple nic domU
2005-09-13 20:50 ` Nivedita Singhvi
@ 2005-09-13 20:54 ` Jerone Young
2005-09-13 21:04 ` Nivedita Singhvi
0 siblings, 1 reply; 5+ messages in thread
From: Jerone Young @ 2005-09-13 20:54 UTC (permalink / raw)
To: Nivedita Singhvi; +Cc: xen-devel
On Tue, 2005-09-13 at 13:50 -0700, Nivedita Singhvi wrote:
> Jerone Young wrote:
> > While working Bugzilla #183 I figured out what was the problem... Net
> > grant tables...something that is marked as DANGEROUS in the kernel
> > config...is on by default. When net grant tables is compiled in bringing
> > up two interfaces in a domU crashes the domU kernel. But when I compile
> > both Dom0 & DomU without net grant tables I am able to use two
> > interfaces in domU with no problem. I don't know a lot about net grant
> > tables but could someone who know more about net grant tables take a
> > look at this?
> >
> >
> Jerone,
>
> Did you not see Jim Dykman's updates and posts on this bug?
> He's found the root cause, and is putting together a patch,
> although some of it might be interim because it exposes
> another resource shortage which will have to be addressed
> somehow. Expect a patch from him in the next day or two,
> and see the bugzilla entry (and previous posts on xen-devel)
> from Jim for the details.
Yes I did see this. But if that is the case then why does disabling net
grant tables fix the problem? So I just decided to come to the list to
see if someone understanding the net grant table code might know.
>
> thanks,
> Nivedita
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
--
Jerone Young
IBM Linux Technology Center
jyoung5@us.ibm.com
512-838-1157 (T/L: 678-1157)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Net grant tables breaking multiple nic domU
2005-09-13 20:54 ` Jerone Young
@ 2005-09-13 21:04 ` Nivedita Singhvi
0 siblings, 0 replies; 5+ messages in thread
From: Nivedita Singhvi @ 2005-09-13 21:04 UTC (permalink / raw)
To: Jerone Young; +Cc: xen-devel
Jerone Young wrote:
>>Did you not see Jim Dykman's updates and posts on this bug?
>>He's found the root cause, and is putting together a patch,
>>although some of it might be interim because it exposes
>>another resource shortage which will have to be addressed
>>somehow. Expect a patch from him in the next day or two,
>>and see the bugzilla entry (and previous posts on xen-devel)
>>from Jim for the details.
>
>
> Yes I did see this. But if that is the case then why does disabling net
> grant tables fix the problem? So I just decided to come to the list to
> see if someone understanding the net grant table code might know.
The cause he identified is in the net grant code, so
there is no conflict here, is there? When you disable
the net grant code, it doesn't use net grant tables,
but falls back to the earlier code, which doesn't have
the bug. Yes, we could disable the net grant stuff, but
as we discussed in previous threads on this list, that
is a temporary workaround, and since this is the code
we want to ship in 3.0, I see the correct thing to do is
to find and fix the real problem, which Jim is doing.
thanks,
Nivedita
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Net grant tables breaking multiple nic domU
@ 2005-09-14 12:03 Ian Pratt
0 siblings, 0 replies; 5+ messages in thread
From: Ian Pratt @ 2005-09-14 12:03 UTC (permalink / raw)
To: Nivedita Singhvi, Jerone Young; +Cc: xen-devel
> The cause he identified is in the net grant code, so there is
> no conflict here, is there? When you disable the net grant
> code, it doesn't use net grant tables, but falls back to the
> earlier code, which doesn't have the bug. Yes, we could
> disable the net grant stuff, but as we discussed in previous
> threads on this list, that is a temporary workaround, and
> since this is the code we want to ship in 3.0, I see the
> correct thing to do is to find and fix the real problem,
> which Jim is doing.
Yep, its just a case of dynamically allocating more grant table slots
when an interface is brought up. The current BUG failure is needlessly
severe.
Ian
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-09-14 12:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-13 20:33 Net grant tables breaking multiple nic domU Jerone Young
2005-09-13 20:50 ` Nivedita Singhvi
2005-09-13 20:54 ` Jerone Young
2005-09-13 21:04 ` Nivedita Singhvi
-- strict thread matches above, loose matches on Subject: below --
2005-09-14 12:03 Ian Pratt
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.