[Click] Unable to install the patched e1000 driver for Linux 2.6.24.7

Eddie Kohler kohler at cs.ucla.edu
Thu Feb 25 22:36:15 EST 2010


dear man

YOu can only apply the e1000-7.3.20 patch to the e1000-7.3.20 driver.

E


卓理 方 wrote:
> Hi!
> I'm very eager to use the PollDevice element for some experiment.
> But I can't install the  patched  e1000 driver for Linux 2.6.24.7 successfully.
> I have already installed the e1000-7.6.15.5 driver that was not patched and it worked well.
> Then I did the "make clean" command and patched the e1000-7.6.15.5 driver with the e1000-7.3.20 polling.patch.
> The results are as follows:
>  
> patching file Makefile
> Hunk #1 FAILED at 146.
> 1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
> patching file e1000.h
> Hunk #1 FAILED at 110.
> Hunk #2 succeeded at 244 with fuzz 2 (offset 2 lines).
> Hunk #3 FAILED at 384.
> 2 out of 3 hunks FAILED -- saving rejects to file e1000.h.rej
> patching file e1000_main.c
> Hunk #1 FAILED at 164.
> Hunk #2 FAILED at 226.
> Hunk #3 FAILED at 324.
> Hunk #4 FAILED at 939.
> Hunk #5 FAILED at 994.
> Hunk #6 FAILED at 1030.
> Hunk #7 FAILED at 1138.
> Hunk #8 FAILED at 2681.
> Hunk #9 FAILED at 2869.
> Hunk #10 FAILED at 4469.
> Hunk #11 FAILED at 4662.
> Hunk #12 succeeded at 6828 with fuzz 2 (offset 1252 lines).
> 11 out of 12 hunks FAILED -- saving rejects to file e1000_main.c.rej
> patching file e1000_param.c
> Hunk #1 FAILED at 400.
> 1 out of 1 hunk FAILED -- saving rejects to file e1000_param.c.rej
>  
>  
> Has it been successfully patched or not?
>  
> And then I tried to install the patched e1000-7.6.15.5.I have got something wrong like those:
>  
> /home/e1000-7.6.15.5/src/e1000_main.c: In function ‘e1000_probe’:
> /home/e1000-7.6.15.5/src/e1000_main.c:1030: error: implicit declaration of function 'e1000_rx_poll'
> /home/e1000-7.6.15.5/src/e1000_main.c:1031: error: implicit declaration of function 'e1000_rx_refill'
> /home/e1000-7.6.15.5/src/e1000_main.c:1032: error: implicit declaration of function 'e1000_tx_pqueue'
> lots of errors like those
>  
> What should I do to install and patch the e1000 driver for Linux 2.6.24.7 correctly?
> I'm really so eager to resolve all of these problems!
> Thanks!
> 
> 
>       
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list