Jaroslaw Polok wrote:
> Hello all.
>
>>>> it but insmod says:
>>>>
>>>> /lib/modules/2.4.21-47.0.1.ELsmp/kernel/drivers/net/e1000/e1000.o:
>>>> unresolved symbol pci_set_consistent_dma_mask
>>>>
>
> pci_set_consistent_dma_mask is non present on SL3 (RHEL3) kernels,
> (see for example code in there:
> /usr/src/redhat/BUILD/kernel-2.4.21/linux-2.4.21/drivers/net/b44.c)
>
> You'll need to do the same (in your e1000 sources) as RH did for tg3
> backported driver (define to be void function):
>
> /usr/src/redhat/BUILD/kernel-2.4.21/linux-2.4.21/drivers/net/tg3_compat.h:
> ...
> #define pci_set_consistent_dma_mask(pdev,mask) (0)
> ...
>
> (NO , it should not break anything, since the feature is not
> present anyway ...)
>
> Cheers
>
> Jarek
> __
I recompiled the module deleting all references to pci_set_consistent_dma_mask
The module is loaded without errors but the network does not work (as with the
module coming from the distribution)
Stefano
--
Stefano Stalio - Servizio Calcolo tel 0862-437423
Istituto Nazionale di Fisica Nucleare fax 0862-437570
Laboratori Nazionali del Gran Sasso
SS 17/bis - km 18.910 [log in to unmask]
67010 Assergi - L`Aquila