Subject: more info on ss1 lossage
To: None <port-sparc@NetBSD.ORG>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-sparc
Date: 04/26/1996 15:48:51
Ok, for all of you who saw my previous mail about my ss1 losing while
probing the scsibus...
esp0 at sbus0 slot 0 offset 0x800000 pri 3: ESP100[ESP_INIT(1)] 25Mhz, target 7
scsibus0 at esp0
[scsi_probedev a t 0 l 0] [scsi_probedev b]
That's where it hangs...
My scsi_probedev() looks like this:
void
scsi_probedev(scsi, target, lun)
struct scsibus_softc *scsi;
int target, lun;
{
struct scsi_link *sc_link;
static struct scsi_inquiry_data inqbuf;
struct scsi_quirk_inquiry_pattern *finger;
int checkdtype, priority;
struct scsibus_attach_args sa;
struct cfdata *cf;
printf("[scsi_probedev a t %d l %d] ", target, lun);
/* Skip this slot if it is already attached. */
if (scsi->sc_link[target][lun])
return;
printf("[scsi_probedev b] ");
sc_link = malloc(sizeof(*sc_link), M_DEVBUF, M_NOWAIT);
printf("[scsi_probedev c] ");
*sc_link = *scsi->adapter_link;
It seems REALLY strange for it to suddenly lose inside of malloc().
Somewhat annoying, actually.
Anyhow, for sanity's sake, I'm going to clean && make _again_ (I did that
to begin with), but in the mean time, if anyone wants to contribute an
idea... :-)
Ciao.
--------------------------------------------------------------------------
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: 408.866.1912
NAS: M/S 258-6 Work: 415.604.0935
Moffett Field, CA 94035 Pager: 415.428.6939