From owner-freebsd-stable Mon Aug 26 2:34:19 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C42237B400 for ; Mon, 26 Aug 2002 02:34:17 -0700 (PDT) Received: from www.golsyd.net.au (golsyd.net.au [203.57.20.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id F17D443E3B for ; Mon, 26 Aug 2002 02:34:16 -0700 (PDT) (envelope-from kaltorak@quake.com.au) Received: from [210.49.77.192] by www.quake.com.au (NTMail 4.30.0012/AB6169.63.5324aadf) with ESMTP id dyghaaaa for ; Mon, 26 Aug 2002 19:34:18 +1000 Message-ID: <3D69F5EE.2010005@quake.com.au> Date: Mon, 26 Aug 2002 19:33:34 +1000 From: Kal Torak Organization: Quake Networking User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.9) Gecko/20020311 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Oliver Fromme Cc: "Kenneth D. Merry" , FreeBSD Stable Subject: Re: tosha port causing system to reboot References: <200208260826.g7Q8QKb56085@haluter.fromme.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Oliver Fromme wrote: > Kenneth D. Merry wrote: > > In general, though, you can't say that a userland program should never be > > able to cause a system panic. Using /dev/mem, you can scribble all over > > the place, including registers on most card in the system. Writing random > > garbage to /dev/mem will probably panic the system pretty quick. > > OK, that's true, but you need specific permissions to do > that. Tosha doesn't do any "magic" or "forbidden things". > Using the standard CAM API should be pretty safe. > > It is also recommended to _not_ run tosha as root, and > _not_ set any s-bits on the binary, but instead using the > group access features on the appropriate pass/xpt devices. Yes Im very bad... I run it as root.. But even so it shouldnt panic the system.. I will go and compile the kernel with debugging symbols and take another dump and trace and see if it reveals anything anyway... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message