OK...a bit closer, but still no go.  Don't know if Justin called it
regarding the missing modutils, but I added that package (and the
modutils-devel for good measure).  Coinciding with this was my poking
around and properly listing the KERNELDIR=/usr/src/2.4.18-27.8.0 in the
Makefile and it seemed to compile.  I copied the .o files over to
/lib/modules/2.4.18-27.8.0/kernel/drivers/scsi (the same basic path
as the functioning driver for the 2.4.18-14 kernel except for the version).
Rebooted and got a kernel panic error trying to load the fs.  Interestingly,
the driver for the 2.4.18-14 kernel shows up colored in green when I do an
ls on it's directory, but the one I compiled for the 2.4.18-27.8.0 kernel
shows up black just like all the other files.  Mean anything?

Toyed around with trying to load the compiled module (insmod  hpt302.o)
but there is already a module by that name (Duh!  You mean the one that
the system is running with?).  Is there maybe some module configuration
change I need to make to help enforce which one to use?  It seems like
that would just flow from having the file in the proper /lib/modules/...
path, no?

Think I'll shoot an e-mail to HighPoint and see if they can shed any
light on this as well.

Ever forward...

Stuart


> -----Original Message-----
> From: Michael Fratoni [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 31, 2003 6:13 PM
> To: [EMAIL PROTECTED]
> Subject: Re: how difficult is compiling a driver?
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Monday 31 March 2003 09:18 am, Douglas, Stuart wrote:
> > Thanks again, Mike, but I think this IS a catch-22...
> >
> > It seems I can't make the module without the kernel, and I can't
> > install the kernel without the module.
> >
> > I'm running on kernel 2.4-18-14 and tried making the module 
> after only
> > installing the most recent kernel-source package 
> (2.4.18-27.8.0), but
> > it runs off this long litany of error messages.  I then tried
> > installing the most recent kernel package (2.4.18-27.8.0), 
> thinking I
> > could then successfully make the new module before 
> rebooting, but the
> > kernel install errors out due to the lacking module.
> 
> Hrmm, this should work.
> Can you post the Makefile, and the errors you are seeing?
> 
> If you are using the hpt302-opensource-v10.tgz file, I've 
> built modules 
> for the 2.4.18-27.8.0 kernel. I can make them available on my 
> webserver.
> 
> $ /sbin/modinfo hpt302.o
> filename:    hpt302.o
> description: "Driver for HPT302"
> author:      "HighPoint Technologies, Inc."
> license:     <none>
> 
> - -- 
> - -Michael
> 
> pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
> Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
> - --
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
> 
> iD8DBQE+iMt8n/07WoAb/SsRAi3aAKCxsbO8OPGLQ95ZGwDFtX916uRiKwCePYSZ
> uq4uDLXzAeoojldLeahZD2c=
> =Syh2
> -----END PGP SIGNATURE-----
> 
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to