SCIENTIFIC-LINUX-USERS Archives

December 2006

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Stefano Stalio <[log in to unmask]>
Reply To:
Stefano Stalio <[log in to unmask]>
Date:
Thu, 7 Dec 2006 10:31:29 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (43 lines)
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

ATOM RSS1 RSS2