Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 2006 00:27:41 -0700
From:      David G Lawrence <dg@dglawrence.com>
To:        Scott Long <scottl@samsco.org>
Cc:        freebsd-stable@freebsd.org, Oliver Brandmueller <ob@e-Gitt.NET>, John Baldwin <jhb@freebsd.org>
Subject:   Re: 6.2 SHOWSTOPPER - em completely unusable on 6.2
Message-ID:  <20060929072741.GH14975@tnn.dglawrence.com>
In-Reply-To: <451AA7B1.5080202@samsco.org>
References:  <451A1375.5080202@gneto.com> <20060927071538.GF22229@e-Gitt.NET> <451A4189.5020906@samsco.org> <20060927152824.GJ22229@e-Gitt.NET> <20060927155553.GB14563@icarus.home.lan> <20060927155904.GM22229@e-Gitt.NET> <451AA7B1.5080202@samsco.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--MfFXiAuoTsnnDAfZ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

   Attached is a simple user program that will immediately cause pretty much
all of the network drivers (at least the ones I own) to stop working and
get watchdog timeouts.

WARNING: This program will kill the network on your 6.x server. Do not run 
this on a production machine unless you are on the console and can ctrl-C
it!

-DG

David G. Lawrence
President
Download Technologies, Inc. - http://www.downloadtech.com - (866) 399 8500
The FreeBSD Project - http://www.freebsd.org
Pave the road of life with opportunities.

--MfFXiAuoTsnnDAfZ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="looppoll.c"

#include <sys/poll.h>

main()
{
	struct pollfd pfd;

	pfd.fd = 1;
	pfd.events = POLLOUT;
	pfd.revents = 0;

	while (1) {
		if (poll(&pfd, 1 /* stdout */, -1) < 0)
			break;
	}
}

--MfFXiAuoTsnnDAfZ--



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