Date: Tue, 21 Apr 1998 10:04:03 -0700 From: "David O'Brien" <obrien@NUXI.com> To: Mattias Pantzare <pantzer@ludd.luth.se> Cc: Hans Huebner <hans@artcom.de>, freebsd-scsi@FreeBSD.ORG Subject: Re: SCSI-Disk hot-swappability? Message-ID: <19980421100403.15807@nuxi.com> In-Reply-To: <199804210921.LAA20948@zed.ludd.luth.se>; from Mattias Pantzare on Tue, Apr 21, 1998 at 11:21:33AM %2B0200 References: <Pine.BSF.3.96.980421101846.19854A-100000@transrapid.artcom.de> <199804210921.LAA20948@zed.ludd.luth.se>
index | next in thread | previous in thread | raw e-mail
> > The sd driver seems to be prepared for this, but the necessary changes to
> > scsiconf.c do not seem to be there. We'd also need a set of utilities to
> > make the kernel reprobe a given SCSI device.
I'm not sure which of these gave me re-probability, but...
ls /dev/*scsi*
crw------- 1 root wheel 18, 0 Nov 4 23:55 scsisuper
In my kernel config file:
# These are only for watching for bitrot in old SCSI code.
# also need to execute: ``(umask 077; mknod /dev/scsisuper c 18 0)''
pseudo-device su #scsi user
pseudo-device ssc #super scsi
Then run (assuming you didn't swap out your boot drive):
/sbin/scsi -f /dev/rsd0.ctl -r
And to test, do an inquiry of the device just added (say sd2):
/sbin/scsi -f /dev/rsd2.ctl -c "12 0 0 0 v 0" 0x40 -i 64 "s8 z8 z16 z4"
--
-- David (obrien@NUXI.ucdavis.edu -or- obrien@FreeBSD.org)
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980421100403.15807>
