From owner-freebsd-current@FreeBSD.ORG Sat Feb 28 14:23:42 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 723B916A4CE; Sat, 28 Feb 2004 14:23:42 -0800 (PST) Received: from oahu.WURLDLINK.NET (oahu.wurldlink.net [66.193.144.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A79743D1D; Sat, 28 Feb 2004 14:23:42 -0800 (PST) (envelope-from vince@oahu.WURLDLINK.NET) Received: from oahu.WURLDLINK.NET (vince@localhost.WURLDLINK.NET [127.0.0.1]) by oahu.WURLDLINK.NET (8.12.9/8.12.9) with ESMTP id i1SMNBqQ087720; Sat, 28 Feb 2004 12:23:11 -1000 (HST) Received: from localhost (vince@localhost)i1SMNAAE087717; Sat, 28 Feb 2004 12:23:10 -1000 (HST) Date: Sat, 28 Feb 2004 12:23:10 -1000 (HST) From: Vincent Poy To: Robert Watson In-Reply-To: Message-ID: <20040228121518.Q8264-100000@oahu.WURLDLINK.NET> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: alc@freebsd.org cc: current@freebsd.org cc: Kris Kennaway Subject: Re: HEADSUP: Sleep queues added to kernel, so be careful. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2004 22:23:42 -0000 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