Subject: Re: SLC 1.4.2 boot still fails
To: Todd Whitesel <toddpw@best.com>
From: Paul Kranenburg <pk@cs.few.eur.nl>
List: port-sparc
Date: 03/10/2000 15:51:40
> > (downloaded today), I still get a crash when booting my SLC.  The 1.4
> 
> The 1.4.2/ stuff hasn't changed since it went up.
> 
> I need more testers, here is all I have so far:
> 
> SS1	crashes while attaching keyboard
> SLC	crashes while attaching bwtwo

I have fixes for these (the latter actually has nothing to do with bwtwo);
patch requests have been submitted to `releng'. If you want to try
them out to-day, here they are:


Index: zs.c
===================================================================
RCS file: /cvsroot/syssrc/sys/arch/sparc/dev/zs.c,v
retrieving revision 1.69.2.1
diff -r1.69.2.1 zs.c
452a453
> 		struct zs_chanstate *cs;
462,463c463,466
< 		softreq |= zsc->zsc_cs[0]->cs_softreq;
< 		softreq |= zsc->zsc_cs[1]->cs_softreq;
---
> 		if ((cs = zsc->zsc_cs[0]) != NULL)
> 			softreq |= cs->cs_softreq;
> 		if ((cs = zsc->zsc_cs[1]) != NULL)
> 			softreq |= cs->cs_softreq;
Index: lfs/lfs_vfsops.c
===================================================================
RCS file: /cvsroot/syssrc/sys/ufs/lfs/lfs_vfsops.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -r1.36 -r1.37
1c1
< /*	$NetBSD: lfs_vfsops.c,v 1.36 1999/09/03 22:48:51 perseant Exp $	*/
---
> /*	$NetBSD: lfs_vfsops.c,v 1.37 1999/09/08 03:45:22 sommerfeld Exp $	*/
166a167,171
> 	if (root_device->dv_class != DV_DISK)
> 		return (ENODEV);
> 
> 	if (rootdev == NODEV)
> 	  	return (ENODEV);