Subject: Re: Color X Problems.
To: I-Jong Lin <ijonglin@EE.Princeton.EDU>
From: Colin Wood <cwood@ichips.intel.com>
List: port-mac68k
Date: 02/02/1998 00:23:53
I-Jong Lin wrote:
> 
>    I've been having some problems setting up my Mac IIcx
> with Max Hi-Resolution Video card with Color X Windows.
> I've followed all the instructions in the very usefull 
> HOW-TO documents and tried to get Color X via the LKM method
> (since I don't think there's a SLOTMAN-HWDIRECT version out
> there yet).  Anyway, some problems occurs which I can't quite
> figure out.

<snip>
 
> So, I tried compiling the video_lkm_combined.o by myself.  That didn't
> work either, and when I tried to test the mod_load command in
> a single-user state, I get this message:
> 
> modload -o /tmp/video -e video_lkm_cmd video_lkm_combined.o
> modload: can't reserve memory: Operation not permitted
> *** Error code 9
> 
> Stop.
>  
> So, I'm working on a Mac IIcx, and I tried using the HWDIRECT kernel 
> and my own cross-compiled kernel (w/o NFS stuff).  The Mac has 68MB
> of RAM, so I doubt it's running out of memory.

Do you have "options 	LKM" turned on in your kernel config file?  That's
about all I can think of right now.....although the error you're getting
seems to indicate that the permissions on some file aren't correct.  My
video LKM is 755.  Oh, is your kernel named "/netbsd"?  That might also
cause problems.

I hope this helps.

Later.

-- 
Colin Wood                                 cwood@ichips.intel.com
Component Design Engineer - MD6                 Intel Corporation
-----------------------------------------------------------------
I speak only on my own behalf, not for my employer.