RE: how difficult is compiling a driver?

2003-03-31 Thread Justin . Skists
Are you sure it's not complaining about "modutils"?

> -Original Message-
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]
> Sent: Monday, March 31, 2003 4:22 PM
> To:   [EMAIL PROTECTED]
> Subject:  redhat-list digest, Vol 1 #7313 - 11 msgs
> 
> > It seems I can't make the module without the kernel, and I can't install
> > the kernel without the module.
[snip]
> > 
> > Stuart
> 
> I don't understand why the kernel would have a dependency on a module. 
> I forget what kind of module it is you want to build.  Are you
> installing the kernel source from an RPM?  If the module is the only
> problem, why not just "rpm -i --force ..."?
> 
> 



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


RE: Problem with compiling proprietry drivers against stock redha t 8. 0 kernel?

2003-03-27 Thread Justin . Skists
In case anyone was interested, I've solved my problem. It's only taken me
two weeks...

It turns out that the value of HZ (clock ticks per second) in the Redhat 8
kernels is 512, whilst it's 100 in the official kernel.org kernels.

This change caused a "rounding down" error in my calculations that used HZ
in a way that it reduced the time (by half, I think) the driver was delaying
and timing out, causing my problem.

According to the nice people at redhat's Bugzilla, this change was
intentional and not some freaky #ifdef problem/bug in their kernel sources.

> -Original Message-
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]
> Sent: Thursday, March 13, 2003 1:10 PM
> To:   [EMAIL PROTECTED]
> Subject:  RE: Problem with compiling proprietry drivers against stock
> redha t 8. 0 kernel?
> 
> Thanks for the reply, Steven
> 
> Yes, I am compiling the drivers using gcc3.2. I had assumed that the stock
> kernel was compiled using the tools supplied in the distribution
> installation.
> 
> I've tried downloading and using both the 2.4.18-24 and 2.4.18-26 kernels
> and source from my local mirror. Unfortunately, the test fails in the same
> way.
> 
> However, you have raised a couple of avenues of thought that need looking
> into.
> 
> Justin.
> 
> > -Original Message-
> > From:   Steven Whatley [SMTP:[EMAIL PROTECTED]
> > Sent:   Thursday, March 13, 2003 5:21 AM
> > To: [EMAIL PROTECTED]
> > Subject:Re: Problem with compiling proprietry drivers against stock
> > redhat 8. 0 kernel?
> > 
> > On Wed, 12 Mar 2003 [EMAIL PROTECTED] wrote:
> > > I have a driver that I maintain as part of my job. When compiled
> against
> > the
> > > redhat 8 stock kernel (2.4.18-14), it fails a regression test. I would
> > give
> > > more details, but I'm not sure exactly what the problem is myself yet;
> > save
> > > to say that the test fails detecting a correct tone from one of our
> > telecoms
> > > card, but the underlying cause for that is uncertain.
> > >
> > > However, when it's compiled against an official 2.4.18 kernel from
> > > kernel.org (with no other tool change), it's absolutely fine. The test
> > > passes with flying colours.
> > 
> > Are you using gcc 3.2 to compile the driver?  I may be mistaken but
> isn't
> > the stock 2.4.18-14 RH8 kernel compiled with gcc 2.95?  Have you tried
> the
> > 2.4.18-24 (or newer) kernel from RedHat which is compiled with gcc 3.2?
> > I have heard of problems when kernels and modules are compiled with a
> > mixture of these to compilers.
> > 
> > Later,
> > Steven
> > 
> > 
> > 
> > 
> 
> 
> 
> -- 
> 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


Value of HZ in redhat8?

2003-03-27 Thread Justin . Skists
Guys/Gals,

I've been trying to work out why my driver won't work correctly in redhat8
but works fine using the 2.4.18 kernel from kernel.org.

I have, however, come across this:-

in the kernel.org kernel, my driver sees HZ as 100. When compiled against
the the redhat kernel, HZ is 512.

Does this sound correct to you people?


Justin.



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


RE: GPL license

2003-03-26 Thread Justin . Skists
You need to add the macro call MODULE_LICENSE("GPL") to your code.
look in linux/include/linux/module.h for other parameters



> Message: 10
> Date: Wed, 26 Mar 2003 19:40:26 +0530
> From: "Prasanta Sadhukhan" <[EMAIL PROTECTED]>
> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> Subject: GPL license
> Reply-To: [EMAIL PROTECTED]
> 
> Hi,
> Whenever I installed my driver in redhat linux 8.0, it is saying the
> software doesn't have GPL license.Installing the driver will taint the
> kernel.
> For making the driver GPL license compatible, did  i have to make any
> change in the driver codeI mean any macro kind of thing.
> 
> Thanks in advance
> 
> 
> 
> 



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


Re: Red Hat Linux 9 - Obsoleting RHCE's a an unprecidented pace....

2003-03-25 Thread Justin . Skists
Considering that I'm still having difficulties running my driver correctly
under Redhat 8.0 (any updated kernel, as opposed to 7.3, or the 2.4.18
kernel in kernel.org), I would call it oddball.

> --__--__--
> 
> Message: 12
> Date: Mon, 24 Mar 2003 14:07:25 -0800 (PST)
> From: Michael Mansour <[EMAIL PROTECTED]>
> Subject: Re: Red Hat Linux 9 - Obsoleting RHCE's a an unprecidented
> pace
> To: [EMAIL PROTECTED]
> Reply-To: [EMAIL PROTECTED]
> 
> > 8.0 appears to be an odd ball much like Windows ME
> > was for Microsoft.   But,
> > I'm sure RH has a very good reason for this - they
> > seem to know what they
> > are doing when "controversial" things like this
> > comes about.
> > 
> > -Eric Wood
> 
> I'm using 8.0 on 3 production systems at the moment,
> from servicing and supporting RAS, Radius and dialup
> links of varying sorts, to proxy squid caching, to
> firewalling, to handling of virtual email domains and
> system monitoring of various services and servers.
> 
> I've found it to be strong and robust, I wouldn't put
> it down to oddball at all.
> 
> Michael.
> 
> 
> 



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


RE: Problem with compiling proprietry drivers against stock redhat 8. 0 kernel?

2003-03-13 Thread Justin . Skists
Thanks for the reply, Steven

Yes, I am compiling the drivers using gcc3.2. I had assumed that the stock
kernel was compiled using the tools supplied in the distribution
installation.

I've tried downloading and using both the 2.4.18-24 and 2.4.18-26 kernels
and source from my local mirror. Unfortunately, the test fails in the same
way.

However, you have raised a couple of avenues of thought that need looking
into.

Justin.

> -Original Message-
> From: Steven Whatley [SMTP:[EMAIL PROTECTED]
> Sent: Thursday, March 13, 2003 5:21 AM
> To:   [EMAIL PROTECTED]
> Subject:  Re: Problem with compiling proprietry drivers against stock
> redhat 8. 0 kernel?
> 
> On Wed, 12 Mar 2003 [EMAIL PROTECTED] wrote:
> > I have a driver that I maintain as part of my job. When compiled against
> the
> > redhat 8 stock kernel (2.4.18-14), it fails a regression test. I would
> give
> > more details, but I'm not sure exactly what the problem is myself yet;
> save
> > to say that the test fails detecting a correct tone from one of our
> telecoms
> > card, but the underlying cause for that is uncertain.
> >
> > However, when it's compiled against an official 2.4.18 kernel from
> > kernel.org (with no other tool change), it's absolutely fine. The test
> > passes with flying colours.
> 
> Are you using gcc 3.2 to compile the driver?  I may be mistaken but isn't
> the stock 2.4.18-14 RH8 kernel compiled with gcc 2.95?  Have you tried the
> 2.4.18-24 (or newer) kernel from RedHat which is compiled with gcc 3.2?
> I have heard of problems when kernels and modules are compiled with a
> mixture of these to compilers.
> 
> Later,
> Steven
> 
> 
> 
> 



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


Problem with compiling proprietry drivers against stock redhat 8.0 kernel?

2003-03-12 Thread Justin . Skists
Guys/Gals,

I have a problem. It's a small problem, but a total nuisance.

I have a driver that I maintain as part of my job. When compiled against the
redhat 8 stock kernel (2.4.18-14), it fails a regression test. I would give
more details, but I'm not sure exactly what the problem is myself yet; save
to say that the test fails detecting a correct tone from one of our telecoms
card, but the underlying cause for that is uncertain.

However, when it's compiled against an official 2.4.18 kernel from
kernel.org (with no other tool change), it's absolutely fine. The test
passes with flying colours.

Has anyone heard about any problems similar to this, with proprietry drivers
having running problems between the two versions of kernel?


--
Justin Skists
Software Engineer
Aculab
Tel:+44 (0) 1908 273 800
Fax:+44 (0) 1908 273 801




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