Re: Disabling VLAN_HWTAGGING

2004-03-25 Thread Jacob S. Barrett
On Thursday 25 March 2004 03:45 pm, you wrote: > > Can you disable VLAN_HWTAGGING? > > Not without modifying if_nge.c, but it should be pretty trivial. As trivial as setting chaning: ifp->if_capabilities = IFCAP_HWCSUM | IFCAP_VLAN_HWTAGGING; to: ifp->if_capabilities = 0; This didn't solve the pr

Re: Disabling VLAN_HWTAGGING

2004-03-25 Thread Ruslan Ermilov
On Thu, Mar 25, 2004 at 11:18:40AM -0800, Jacob S. Barrett wrote: > Can you disable VLAN_HWTAGGING? > Not without modifying if_nge.c, but it should be pretty trivial. > I am seeing very strange behavior on a if_nge card with VLANs. If i try and > connect an if_vlan to it the kernel panics. If

Disabling VLAN_HWTAGGING

2004-03-25 Thread Jacob S. Barrett
Can you disable VLAN_HWTAGGING? I am seeing very strange behavior on a if_nge card with VLANs. If i try and connect an if_vlan to it the kernel panics. If I connect a ng_vlan to it tcpdump show that the tagged frames are "leaving" the if_nge interface, but tcpdump running on a remote host tha

SMTP request without response from the smtp server

2004-03-25 Thread Sylvain Lemasson
Hi, I use a freebsd 5.2.1 to connect to internet. I use NAT.When I send mail from an other computer but I am unable to reach the server. I use ethereal to look at the request and all the smtp requests are send but no request from the server are received. In a previous version of freebsd I have

Re: in_pcbbind_setup(), etc.

2004-03-25 Thread Robert Watson
On Thu, 25 Mar 2004, Pawel Jakub Dawidek wrote: > +> How does this sound? It would completely eliminate the issue of "er, > +> which thread is that", which is really an unnecessary issue given that all > +> we're interested in is the credential. > > Sounds good. I can prepare patch with this in

Re: in_pcbbind_setup(), etc.

2004-03-25 Thread Pawel Jakub Dawidek
On Thu, Mar 25, 2004 at 08:33:41AM -0500, Robert Watson wrote: +> >if (td != curthread) +> >printf("td != curthread in %s\n", __func__); +> > +> > And I'm seeing 2nd printf() while mounting NFS file systems. If so, I +> > think using td->td_ucred in this function isn't safe... +>

Re: in_pcbbind_setup(), etc.

2004-03-25 Thread Robert Watson
On Thu, 25 Mar 2004, Pawel Jakub Dawidek wrote: > +> Prior to FreeBSD 5.x, curproc could be NULL in interrupt context. With > +> the introduction of curthread and the move to interrupt threads, curthread > +> became always non-NULL. However, sometimes the use of curthread may not > +> make sens

Re: Setting up NIS

2004-03-25 Thread Ciprian Badescu
Hi, I don't believe this is the right place for a blank line. And the same for group. ... user:/nonexistent:/sbin/nologin +: -- Ciprian Badescu On Wed, 24 Mar 2004, Jamel Brown wrote: > Date: Wed, 24 Mar 2004 12:26:21 -0800 (PST) > From: Jamel Brown <[EMAIL PROTECTED]> > To: [EM

Re: in_pcbbind_setup(), etc.

2004-03-25 Thread Pawel Jakub Dawidek
On Tue, Mar 23, 2004 at 06:16:31PM -0500, Robert Watson wrote: +> > For example: 'td' can be NULL? It is offten tested, but not always, +> > Line 290: +> >if (sin->sin_addr.s_addr != INADDR_ANY) +> >if (prison_ip(td->td_ucred, 0, &sin->sin_addr.s_addr)) +> >

Re: BSD Packet filter hook,

2004-03-25 Thread Artis Caune
on 4.x you can replace IPFilter hook: ... int my_hook (const struct ip *ip, int ip_hl, struct ifnet *ifp, int out, struct mbuf **m) { /* drop all ;) */ m_freem(*m); *m = NULL; return 1; } /* on load */ fr_checkp = my_hook; /* on unload */ rf_checkp = NULL; ... on 5.x (>501108) there

Re: Fatal trap in rt_msg2

2004-03-25 Thread Roberto Nunnari
Roberto Nunnari wrote: On March 18th I did an upgrade from 5.2-p2 to RELENG_5_2 which Opps.. mistake.. you should read: from 5.2-p1 to RELENG_5_2 -- Roberto Nunnari -software engineer- mailto:[EMAIL PROTECTED] Scuola Universitaria Professionale della Svizzera Italiana

BSD Packet filter hook,

2004-03-25 Thread Fuhua Yin
Dear friends, Are there anyone who know about how to use BSD Packet filter hook?, something like netfilter in linux. But I need to find one for FreeBSD. Many thanks IN Advance, fuhua ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/l

Fatal trap in rt_msg2

2004-03-25 Thread Roberto Nunnari
Hello. I'm posting here as I've been told in current it's a better place. On March 18th I did an upgrade from 5.2-p2 to RELENG_5_2 which gave me 5.2.1-p3. cvsup, build and install went well, but when I rebooted I got Fatal trap 12 during network configuration, late in the boot process.. I could b