Re: Running Open BSD 4.8 on a Blade 1500 with XVR 1200

Mark Kettenis <[email protected]>
Newsgroups gmane.os.openbsd.sparc
Message-ID <[email protected]>
> Date: Wed, 10 Nov 2010 15:26:07 +0100
> From: Michael Leicht <[email protected]>
> [868370.566] (II) Module wildcatfb: vendor="X.Org Foundation"
> [868370.566] 	compiled for 1.8.2, module version = 0.0.1
> [868370.566] 	ABI class: X.Org Video Driver, version 7.0
> [868370.567] Segmentation fault at address 0x0
> [868370.567]
> Fatal server error:
> [868370.567] Caught signal 11 (Segmentation fault). Server aborting
> [868370.567]
> [868370.567]

ok, I think this problem was fixed by wildcatfb_driver.c rev 1.7

You should be able to check out the -current
xenocara/drivers/xf86-video-wildcatfb and rebuild the driver by doing:

$ cd /usr/xenocara/drivers/xf86-video-wildcatfb
$ make -f Makefile.bsdwrapper obj
$ make -f Makefile.bsdwrapper
$ sudo make -f Makefile.bsdwrapper install

Or if you already have the 4.8 xenocara sources, apply the attached
diff and rebuild.

Index: wildcatfb_driver.c
===================================================================
RCS file: /cvs/xenocara/driver/xf86-video-wildcatfb/src/wildcatfb_driver.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- wildcatfb_driver.c	23 Jul 2010 15:20:33 -0000	1.6
+++ wildcatfb_driver.c	29 Aug 2010 14:43:17 -0000	1.7
@@ -1,4 +1,4 @@
-/*	$OpenBSD: wildcatfb_driver.c,v 1.6 2010/07/23 15:20:33 miod Exp $	*/
+/*	$OpenBSD: wildcatfb_driver.c,v 1.7 2010/08/29 14:43:17 matthieu Exp $	*/
 
 /*
  * Copyright (c) 2009 Miodrag Vallat.
@@ -204,18 +204,6 @@ static const OptionInfoRec WildcatFBOpti
 	{ -1, NULL, OPTV_NONE, {0}, FALSE}
 };
 
-/* Symbols needed from other modules. */
-static const char *fbSymbols[] = {
-	"fbPictureInit",
-	"fbScreenInit",
-	NULL
-};
-static const char *shadowSymbols[] = {
-	"shadowAdd",
-	"shadowSetup",
-	NULL
-};
-
 #ifdef XFree86LOADER
 static XF86ModuleVersionInfo WildcatFBVersRec = {
 	"wildcatfb",
@@ -252,7 +240,6 @@ WildcatFBSetup(pointer module, pointer o
 	if (!setupDone) {
 		setupDone = TRUE;
 		xf86AddDriver(&WILDCATFB, module, HaveDriverFuncs);
-		LoaderRefSymLists(fbSymbols, shadowSymbols, NULL);
 		return (pointer)1;
 	} else {
 		if (errmaj != NULL)
@@ -580,14 +567,11 @@ WildcatFBPreInit(ScrnInfoPtr pScrn, int 
 		WildcatFBFreeRec(pScrn);
 		return FALSE;
 	}
-	xf86LoaderReqSymLists(shadowSymbols, NULL);
 
 	if (xf86LoadSubModule(pScrn, "fb") == NULL) {
 		WildcatFBFreeRec(pScrn);
 		return FALSE;
 	}
-	xf86LoaderReqSymLists(fbSymbols, NULL);
-
 	TRACE_EXIT("PreInit");
 	return TRUE;
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.