All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* Problems modularizing newport graphics.
@ 1999-01-28  8:04 Alex deVries
  1999-01-28  8:14 ` Alex deVries
  1999-01-28  8:51 ` Tomi Leppikangas
  0 siblings, 2 replies; 3+ messages in thread
From: Alex deVries @ 1999-01-28  8:04 UTC (permalink / raw
  To: SGI Linux



Alright.  I know this sounds a bit weird, but I'm trying to modularize
graphics.o.  Why? So we can debug newport graphics properly.

Just so people know where things are at; the drawbars in the XFree tree in
CVS doesn't do a thing; there's an issue with the ioctl handling in
drivers/sgi/char/graphics.c .

So, to avoid having to reboot every 5 minutes I'm trying to make graphics
loadable and unloadable.  This'd be good for all of you who have no
graphics.  Same with keyboard support, but that's another story.

So, the kernel now builds without graphics.o.  Not terribly difficult.

But when I try to insert the module:

[root@black char]# /sbin/insmod  /lib/modules/2.1.131/misc/graphics.o 
/lib/modules/2.1.131/misc/graphics.o: couldn't find the kernel version the
module was compiled for

I know this kernel was built for this kernel.  Using -f doesn't help.

I notice all the modules have a symbol in their nm output called
__module_kernel_version.  graphics.o does not.  How does this get added?

Please?

I'm tempted to commit my code because graphics.c wasn't working anyway.

- Alex

-- 
Alex deVries, puffin on LinuxNet.
I know exactly what I want in life.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problems modularizing newport graphics.
  1999-01-28  8:04 Problems modularizing newport graphics Alex deVries
@ 1999-01-28  8:14 ` Alex deVries
  1999-01-28  8:51 ` Tomi Leppikangas
  1 sibling, 0 replies; 3+ messages in thread
From: Alex deVries @ 1999-01-28  8:14 UTC (permalink / raw
  To: SGI Linux


On Thu, 28 Jan 1999, Alex deVries wrote:
> But when I try to insert the module:
> [root@black char]# /sbin/insmod  /lib/modules/2.1.131/misc/graphics.o 
> /lib/modules/2.1.131/misc/graphics.o: couldn't find the kernel version the
> module was compiled for
> 
> I know this kernel was built for this kernel.  Using -f doesn't help.

Oh, never mind.  I'm just being stupid and forgot #include
<linux/module.h> because of an editing mistake.

Just ignore me and go back to doing what you were doing.

- Alex

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problems modularizing newport graphics.
  1999-01-28  8:04 Problems modularizing newport graphics Alex deVries
  1999-01-28  8:14 ` Alex deVries
@ 1999-01-28  8:51 ` Tomi Leppikangas
  1 sibling, 0 replies; 3+ messages in thread
From: Tomi Leppikangas @ 1999-01-28  8:51 UTC (permalink / raw
  To: linux

> Alright.  I know this sounds a bit weird, but I'm trying to modularize
> graphics.o.  Why? So we can debug newport graphics properly.
> 
> Just so people know where things are at; the drawbars in the XFree tree in
> CVS doesn't do a thing; there's an issue with the ioctl handling in
> drivers/sgi/char/graphics.c .

Hey this sounds good, i thougt that nothing is hapening for X. Is there
anyone else doing something for getting x-server running on sgi-linux?
Is there any other info available than whats on ftp.linux.sgi.com?


-- 
##        Tomi.Leppikangas@oulu.fi         ##
##  http://www.student.oulu.fi/~tomilepp/  ##

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-01-28  8:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-28  8:04 Problems modularizing newport graphics Alex deVries
1999-01-28  8:14 ` Alex deVries
1999-01-28  8:51 ` Tomi Leppikangas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.