NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: port-sparc/42186: sparc boot floppy "Data Access Exception" error
The following reply was made to PR port-sparc/42186; it has been noted by GNATS.
From: matthew green <mrg%eterna.com.au@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: port-sparc-maintainer%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost
Subject: re: port-sparc/42186: sparc boot floppy "Data Access Exception" error
Date: Sat, 17 Oct 2009 03:53:05 +1100
---
Index: promdev.c
===================================================================
RCS file: /cvsroot/src/sys/arch/sparc/stand/common/promdev.c,v
retrieving revision 1.21
diff -u -r1.21 promdev.c
--- promdev.c 5 Apr 2008 06:39:08 -0000 1.21
+++ promdev.c 15 Oct 2009 15:21:48 -0000
@@ -215,6 +215,13 @@
#endif
/*
+ * Don't check disklabel on floppy boot.
+ */
+ if (strncmp(prom_bootdevice, "fd", 2) == 0 ||
+ strstr(prom_bootdevice, "SUNW,fdtwo") != NULL)
+ return 0;
+
can you also check for "SUNW,fdthree"?
i think those only exist on sparc64 systems, but i know that the
plan is to have those marged...
.mrg.
Home |
Main Index |
Thread Index |
Old Index