From owner-freebsd-hardware@FreeBSD.ORG Mon Dec 1 09:22:19 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E869D1065679 for ; Mon, 1 Dec 2008 09:22:19 +0000 (UTC) (envelope-from rink@rink.nu) Received: from mx1.rink.nu (gloom.rink.nu [213.34.49.2]) by mx1.freebsd.org (Postfix) with ESMTP id AA4D58FC12 for ; Mon, 1 Dec 2008 09:22:19 +0000 (UTC) (envelope-from rink@rink.nu) Received: from localhost (localhost [127.0.0.1]) by mx1.rink.nu (Postfix) with ESMTP id CBB586D43B; Mon, 1 Dec 2008 10:04:24 +0100 (CET) X-Virus-Scanned: amavisd-new at rink.nu Received: from mx1.rink.nu ([213.34.49.2]) by localhost (gloom.rink.nu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l-JFh+L7wjuQ; Mon, 1 Dec 2008 10:04:21 +0100 (CET) Received: by mx1.rink.nu (Postfix, from userid 1000) id BE62E6D439; Mon, 1 Dec 2008 10:04:21 +0100 (CET) Date: Mon, 1 Dec 2008 10:04:21 +0100 From: Rink Springer To: Christoph Mallon Message-ID: <20081201090421.GA99082@rink.nu> References: <547602.79284.qm@web45809.mail.sp1.yahoo.com> <4933A29B.8060907@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4933A29B.8060907@gmx.de> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-hackers@freebsd.org, freebsd-hardware@freebsd.org, Won De Erick Subject: Re: Watchdog for Boser (HS-7001) X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2008 09:22:20 -0000 On Mon, Dec 01, 2008 at 09:38:51AM +0100, Christoph Mallon wrote: > Userland is not allowed to write to ports. That's the bus error you see. > Also without a call to the exit syscall at the end, it will segfault. Note that you can write to ports from userland by opening /dev/io - if you have it opened, you can write to the ports. -- Rink P.W. Springer - http://rink.nu "Anyway boys, this is America. Just because you get more votes doesn't mean you win." - Fox Mulder