Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Feb 2001 00:22:24 -0700
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Bob Greene <rgreene@tclme.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Trouble adding second SCSI drive
Message-ID:  <20010218002224.A10384@panzer.kdm.org>
In-Reply-To: <3A8F3D55.E2E0A398@tclme.org>; from rgreene@tclme.org on Sat, Feb 17, 2001 at 09:11:17PM -0600
References:  <3A8F3D55.E2E0A398@tclme.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 17, 2001 at 21:11:17 -0600, Bob Greene wrote:
> I'm having trouble configuring a second SCSI drive on the same chain as
> the boot drive.   I can low level format from Adaptec's boot-time
> utility, but cannot configure the drive for use under FreeBSD 4.2
> STABLE.  The drives worked under Linux as well as Windows NT.
> 
> The controller is an Adaptec 2940UW.
> 
> >From dmesg:
> 
> da0 at ahc0 bus 0 target 0 lun 0
> da0: <IBM DGVS09U 0110> Fixed Direct Access SCSI-2 device
> da0: 40.000MB/s transfers (20.000MHz, offset 8, 16 bit), Tagged Queueing
> Enabled
> da0: 8705MB (17829870 512 byte sectors: 255H 63S/T 1109C)
> da1 at ahc0 bus 0 target 1 lun 0
> da1: <IBM DDRS-31930W S71D> Fixed Direct Access SCSI-2 device
> da1: 40.000MB/s transfers (20.000MHz, offset 8, 16 bit), Tagged Queueing
> Enabled
> da1: 8715MB (17850000 512 byte sectors: 255H 63S/T 111C)
> 
> Using camcontrol:
> 
> schmoo# camcontrol modepage da1 -m 1 -e -P 3
> camcontrol: cam_real_open_device: couldn't open passthrough device
> /dev/pass1
> cam_real_open_device: Operation not permitted
> 
> Using dd:
> 
> schmoo# dd if=/dev/zero of=/dev/rda1 count=2
> dd: /dev/rda1: Operation not permitted

[ ... ]

> I've seen similar questions on DejaNews, but haven't seen any
> responses.  Other than not being able to expand the storage, everything
> runs swell.

You most likely have a securelevel greater than 1.

You can check the securelevel like this:

sysctl kern.securelevel

The fix is to not set your secure level to something greater than 1.

Ken
-- 
Kenneth Merry
ken@kdm.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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