From owner-freebsd-scsi Thu Feb 18 16:53: 0 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from panzer.plutotech.com (panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F84311649 for ; Thu, 18 Feb 1999 16:52:48 -0800 (PST) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.9.2/8.8.5) id RAA05099; Thu, 18 Feb 1999 17:52:30 -0700 (MST) From: "Kenneth D. Merry" Message-Id: <199902190052.RAA05099@panzer.plutotech.com> Subject: Re: Unusual CAM Error w/FreeBSD 3.1 (tosha) In-Reply-To: <19990218164554.B7822@cdrom.com> from "Christopher G. Mann" at "Feb 18, 1999 4:45:54 pm" To: r3cgm@cdrom.com (Christopher G. Mann) Date: Thu, 18 Feb 1999 17:52:30 -0700 (MST) Cc: freebsd-scsi@freebsd.org X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Christopher G. Mann wrote... > : Can you try the following: > : > : camcontrol devlist > : camcontrol tur -n cd -u 0 -v > : > : Do you have your securelevel set to anything non-standard? (i.e., have you > : set the kern.securelevel sysctl variable at all?) > : > : As far as I can tell, there's nothing in the XPT device open routine that > : could return EACCES (i.e. Permission denied). > : > : Hopefully the camcontrol commands above will help us diagnose the problem a > : little more... > : > : Ken > : -- > : Kenneth Merry > : ken@plutotech.com > > %camcontrol devlist > < > at scbus-1 target -1 lun -1 (xpt0) > at scbus0 target 0 lun 0 (pass0,da0) > at scbus0 target 1 lun 0 (pass1,da1) > at scbus0 target 2 lun 0 (pass2,cd0) > at scbus0 target 4 lun 0 (pass3,cd1) > at scbus0 target 6 lun 0 (pass4,da2) > < > at scbus0 target -1 lun -1 () > %camcontrol tur -n cd -u 0 -v > Unit is ready > > I haven't tickled the securelevel settings at all. We're getting somewhere now, but this is still very odd. Your xpt device is obviously working properly, otherwise you would get no output from camcontrol devlist. Just for grins, could you try disabling the setuid bit on tosha, and then running tosha -i as root? Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message