Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 1999 17:52:30 -0700 (MST)
From:      "Kenneth D. Merry" <ken@plutotech.com>
To:        r3cgm@cdrom.com (Christopher G. Mann)
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: Unusual CAM Error w/FreeBSD 3.1 (tosha)
Message-ID:  <199902190052.RAA05099@panzer.plutotech.com>
In-Reply-To: <19990218164554.B7822@cdrom.com> from "Christopher G. Mann" at "Feb 18, 1999  4:45:54 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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)
> <IBM DORS-32160W WA0A>             at scbus0 target 0 lun 0 (pass0,da0)
> <SEAGATE ST15150N 0023>            at scbus0 target 1 lun 0 (pass1,da1)
> <PIONEER CD-ROM DR-U16S 1.01>      at scbus0 target 2 lun 0 (pass2,cd0)
> <NEC CD-ROM DRIVE:501 2.2>         at scbus0 target 4 lun 0 (pass3,cd1)
> <CONNER CFP2105S  2.14GB 2D4D>     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




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