Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Sep 1997 21:40:57 -0700
From:      Julian Elischer <julian@whistle.com>
To:        current@freebsd.org
Subject:   buf struct & scsi disk IO availability.
Message-ID:  <343082D9.41C67EA6@whistle.com>

next in thread | raw e-mail | index | archive | help
I have hit a point on which I am not on firm ground..

I would like to do some IO from a disk at PROBE time.
In my original SCSI code, this would have been ok, as long as
I didn't need interrupts. I thought I should check the following
points with thre readers of -current before I go further however..

1/ is the buf system set up fully by this time, 
i.e. can I user getebuf()?
david? bruce? john?

2/ Jason, if I use the disk as a direct result of the scsi_attach()
routine, does that catch you off guard in the aic driver?
In other words, when you call scsi_attach() and friends, 
are you set up enough to handle that routine looping back and in turn
asking you to perform IO (e.g. to read the fdisk table).

If this is not the case, I have a work-around which would be to queue
further configuration to occur at some later time (but before
mounting root), but it wouldn't be so clean.

julian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?343082D9.41C67EA6>