From owner-freebsd-questions Sat Feb 17 23:22:41 2001 Delivered-To: freebsd-questions@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id 99E9437B67D for ; Sat, 17 Feb 2001 23:22:36 -0800 (PST) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id AAA10448; Sun, 18 Feb 2001 00:22:24 -0700 (MST) (envelope-from ken) Date: Sun, 18 Feb 2001 00:22:24 -0700 From: "Kenneth D. Merry" To: Bob Greene Cc: questions@FreeBSD.ORG Subject: Re: Trouble adding second SCSI drive Message-ID: <20010218002224.A10384@panzer.kdm.org> References: <3A8F3D55.E2E0A398@tclme.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <3A8F3D55.E2E0A398@tclme.org>; from rgreene@tclme.org on Sat, Feb 17, 2001 at 09:11:17PM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: 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: 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