Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  8 Dec 1999 15:04:57 -0500 (EST)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Wilko Bulte <wilko@yedi.iaf.nl>
Cc:        freebsd-alpha@FreeBSD.ORG (FreeBSD-alpha mailing list)
Subject:   Re: lockup when boot -v
Message-ID:  <14414.47296.627385.97542@grasshopper.cs.duke.edu>
In-Reply-To: <199912081829.TAA00773@yedi.iaf.nl>
References:  <199912081829.TAA00773@yedi.iaf.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

Wilko Bulte writes:
 > I have a weird phenomenon which only seems to affect alpha:
 > 
 > boot -fl v always locks up after printing "Mounting root from ufs:/dev/da0a"
 > 
 > Omitting the -fl v works just fine. This is -current on a Miata.
 > 
 > Ideas?

I've been seeing this or something like it for 9 months now.  It
happens on Miatas & xp1000s.  I think it happens on AS500s too.

There is some race between the isp driver & the cam scsi system.
Changing the xpt_action() used the read the disk capacity in
cam/scsi/scsi_da.c into xpt_polled_action() makes things work for me.

I have spent hours trying to help Justin & Matt debug this.  Still no
joy.  If you'd like to try your hand at it, let me know & I'll forward 
you more info.

Try:

Index: /home/home1/gallatin/zsys/cam/scsi/scsi_da.c
===================================================================
RCS file: /home/ncvs/src/sys/cam/scsi/scsi_da.c,v
retrieving revision 1.40
diff -u -r1.40 scsi_da.c
--- scsi_da.c	1999/10/29 18:08:22	1.40
+++ scsi_da.c	1999/12/07 15:25:04
@@ -1107,7 +1107,8 @@
 				   /*timeout*/5000);
 		start_ccb->ccb_h.ccb_bp = NULL;
 		start_ccb->ccb_h.ccb_state = DA_CCB_PROBE;
-		xpt_action(start_ccb);
+		xpt_polled_action(start_ccb);
+/*		xpt_action(start_ccb);*/
 		break;
 	}
 	}

Drew


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




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