[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Failed making boot-CD with aic79xx driver :(



On Wed, Nov 09, 2005 at 09:00:09AM +0800, Zachary Wu wrote:
> Frans Pop 写道:
> 
> >On Tuesday 08 November 2005 02:24, Zachary Wu wrote:
> >  
> >
> >>Then I got an aic79xx.ko. modinfo aic79xx.ko,it said it's from Adaptec
> >>and with BSD Licence.
> >>    
> >>
> >
> >You cannot just copy a module from a random source and expect it to work 
> >with any kernel. You need to compile the module yourself using the kernel 
> >headers of the kernel you want to use it with.
> >  
> >
> I just make the ko under 2.6.8 source tree, it's same to the ISO's
> kernel. it's not a "random" source.
> I think u do not clearly know what I had said.
> I download the driver source and build it under 2.6.8 source tree, got a
> aic79xx.ko, put it into ISO, then "Invalid kernel format"

You need to do it not against the same kernel source, but also the same
patches and config file. The best is to use the linux-headers and set KSRC
accordyingly. This was somewhat broken in sarge though, and i am not sure how
it is supposed to work, so the best counsel i can give you is to install the
2.6.12 or 2.6.14 etch/sid packages (formers available as backport too, later
needing a rebuild of yaird in sarge, which is pretty straigthforward) and then
build using KSRC=/lib/modules/<uname -r>/build.

I would go for the backported 2.6.12, as those are the same which are used in
the beta1 and daily builds right now. Or you can just install the etch kernel
on your sarge box, which should work fine.

Friendly,

Sven Luther



Reply to: