From owner-freebsd-questions Fri May 15 16:28:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA23257 for freebsd-questions-outgoing; Fri, 15 May 1998 16:28:18 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id QAA23200 for ; Fri, 15 May 1998 16:28:06 -0700 (PDT) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Fri, 15 May 1998 19:27:35 -0400 (EDT) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA00466; Fri, 15 May 98 19:27:36 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id TAA08508; Fri, 15 May 1998 19:27:18 -0400 Message-Id: <19980515192717.A8491@ct.picker.com> Date: Fri, 15 May 1998 19:27:17 -0400 From: Randall Hopper To: Julian Elischer Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Rescanning SCSI-Bus without Rebooting? Mail-Followup-To: Julian Elischer , freebsd-questions@FreeBSD.ORG References: <19980514220155.B20919@ct.picker.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from Julian Elischer on Thu, May 14, 1998 at 07:22:15PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Julian Elischer: |wire down uk0 then just as you'd wire down sd0 |then it'll be there whether or not the device is on. I tried that; no luck. There's something that's not coming across here, and I'm not sure what it is. So let me just give you the results I'm seeing: --------------------------------------------------------------------- SCENARIO 1 : SCANNER OFF, BOOT UP FREEBSD, THEN TURN SCANNER ON --------------------------------------------------------------------- # dmesg | grep uk0 # echo < /dev/uk0 /dev/uk0: Device not configured. # scsi -f /dev/uk0 -d 255 scsi: unable to open device /dev/uk0: Device not configured --------------------------------------------------------------------- SCENARIO 2 : SCANNER ON, BOOTUP, LEAVE SCANNER ON --------------------------------------------------------------------- # dmesg | grep uk0 uk0 at scbus0 target 6 lun 0 uk0: Unknown # echo < /dev/uk0 # scsi -f /dev/uk0 -d 255 --------------------------------------------------------------------- USING THESE KERNEL CONFIG ENTRIES (WIRE-DOWN SYNTAX) --------------------------------------------------------------------- controller scbus0 at ncr0 # Single bus device disk sd0 at scbus0 target 5 unit 0 # sd0 = ZIP Drive device uk0 at scbus0 target 6 unit 0 # uk0 = Scanner How do I get make SCENARIO 1's results look like SCENARIO 2 (i.e. get SCSI unit rescan-on-open to work, as alluded to in scsi(8))? Thanks, Randall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message