RE: building a specific driver in kernel src tree

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

 




Actually am using Centos-5.5 (kernel-2.6.18-194.el5) and trying to overwrite the e1000 drives with those in kernel-2.6.22.
After resolving few symbols at compile time, when trying to load the kernel with this change, the e1000 probe method is failing with the error
e1000: 0000:01:00.0: e1000_probe: The EEPROM Checksum Is Not Valid
e1000: probe of 0000:01:00.0 failed with error -5
e1000: 0000:01:00.1: e1000_probe: The EEPROM Checksum Is Not Valid
e1000: probe of 0000:01:00.1 failed with error -5

Am trying to debug that.

Any help/pointers on why this occurs and how to resolve it?

--Sri


On Mon, May 9, 2011 at 11:35 AM, sri <bskmohan@xxxxxxxxx> wrote:
the config had it as CONFIG_E1000=y
Does =y or =m make any difference?

still not working.


On Mon, May 9, 2011 at 11:32 AM, Jeff Kirsher <jeffrey.t.kirsher@xxxxxxxxx> wrote:
On Sun, May 8, 2011 at 22:49, sri <bskmohan@xxxxxxxxx> wrote:
> Hi,
>
> As part of learning, I have added few debug statements to the code at
> drivers/net/e1000/e1000_main.c (e1000_probe function).
> Now to compile this, am doing make -C /lib/modules/2.6.18-194.el5PAE/build
> M=`pwd` modules under drivers/net/e1000 dir.
>
> That is not compiling anything. But the same thing when I do in
> drivers/net/e1000e, it is compiling and creating e1000e.ko file.
>

Check your kernel config file (which is .config) to make sure that
CONFIG_E1000=m

Then you should be able to run ` make drivers/net/e1000` to build the
e1000 driver as a module

> Any help on how to get e1000.ko?
>
> --Sri
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>



--
Cheers,
Jeff



--
--
ÂKrishna Mohan B



--
--
ÂKrishna Mohan B



--
--
ÂKrishna Mohan B
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux