Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Feb 2004 12:23:10 -1000 (HST)
From:      Vincent Poy <vince@oahu.WURLDLINK.NET>
To:        Robert Watson <rwatson@freebsd.org>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: HEADSUP: Sleep queues added to kernel, so be careful.
Message-ID:  <20040228121518.Q8264-100000@oahu.WURLDLINK.NET>
In-Reply-To: <Pine.NEB.3.96L.1040228171207.24114M-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 28 Feb 2004, Robert Watson wrote:

>
> On Sat, 28 Feb 2004, Vincent Poy wrote:
>
> > > > >   Switch the sleep/wakeup and condition variable implementations to use the
> > > > >   sleep queue interface:
> > > >
> > > > There should be little user-visible effect from this change.
> > >
> > > Except for the kernel breakage, perhaps ;-) I guess John is away until
> > > Monday though.
> >
> > 	What kind of kernel breakage?
>
> I think Kris is referring to the tinderbox messages -- the midway driver
> appears to be having problems compiling because it relied on the
> cv_waitq_empty() primitive, which is no longer present following the sleep
> queue change.

	Thanks for explaining that!

> > What seems to happen for me is that I was originally on a September 23,
> > 2003 -CURRENT and then applied all /etc updates and then according to
> > src/UPDATING - I did a make buildworld, followed by a make buildkernel,
> > make installkernel and rebooted and things were still working.  Then I
> > did a make installworld and then recvsupped with the latest tree which
> > had src/sbin/savecore/savecore.c 1.68 as the latest thing, then repeated
> > the make buildworld, make buildkernel, make installkernel, make
> > installworld but this time as soon as I rebooted, the network seems to
> > not work at all.  I can't get past the machine.  Is this something
> > broken with ipfw since I can't ping the public IP but I can ping the
> > local 192.168.0.1 address but not anything beyond that and is connected
> > at 100Mbps Full Duplex.  Tried switching both NIC cards and cables just
> > in case they decided to fail but no go either.
>
> Could you confirm that your userspace and userland are really 100% in
> sync?  If you run without IPFW, do things work properly?

	Yep, they are in sync.  I guess I stayed up all night trying to
figure it out and right before your message, that's what I decided to do
by changing my /etc/rc.conf for firewall_enable="NO" from "YES" even
though I left the firewall_type="open".  My /etc/rc.firewall script does
use pipe and queues from dummynet so I don't know if that has an effect or
not.  But anyways, with the firewall disabled, this time ping and
traceroute doesn't seem to get anywhere and "ipfw show" shows:
65535   299    19878 deny ip from any to any
so I did a "ipfw add 65000 allow all from any to any" and then the box can
reach the outside fine so it seems like either the ipfw or dummynet is
broken.


Cheers,
Vince - vince@WURLDLINK.NET - Vice President             ________   __ ____
Unix Networking Operations - FreeBSD-Real Unix for Free / / / / |  / |[__  ]
WurldLink Corporation                                  / / / /  | /  | __] ]
San Francisco - Honolulu - Hong Kong                  / / / / / |/ / | __] ]
HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____]
Almighty1@IRC - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040228121518.Q8264-100000>