[Avila] FW: Can't get ethernet to work

Joel Lindsay joel at waveteq.com
Tue Jul 18 03:18:33 EDT 2006


------=_NextPart_000_0008_01C6A9FF.B46D62A0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

 

I am trying to incorporate Ethernet support on my avila board. I suspect
that I need to compile the kernel with intel npe support, as well as compile
the intel access library as a separate module.

 

When building the kernel after following all directions in the Intel Access
Library 2.1.1 I receive several warnings about undefined portions of the eth
module as below.   The module seems to build ok despite these warnings.
Copying this file to my root filesystem, and booting my board, I then try to
insmod this, but it gives me an error.  The build warnings are as follows:

 

*** Warning: "ixEthAccMiiWriteRtn" [drivers/net/ixp400_eth.ko] undefined!

*** Warning: "ixEthAccMiiReadRtn" [drivers/net/ixp400_eth.ko] undefined!

*** Warning: "ixEthDBFilteringPortMaximumFrameSizeSet"
[drivers/net/ixp400_eth.ko] undefined!

*** Warning: "ixEthAccPortTxFrameSubmit" [drivers/net/ixp400_eth.ko]
undefined!

*** Warning: "ixEthAccPortDisable" [drivers/net/ixp400_eth.ko] undefined!

*** Warning: "ixEthDBPortAgingEnable" [drivers/net/ixp400_eth.ko] undefined!

*** Warning: "ixEthAccPortEnable" [drivers/net/ixp400_eth.ko] undefined!

*** Warning: "ixEthAccPortRxCallbackRegister" [drivers/net/ixp400_eth.ko]
undefined!

*** Warning: "ixEthAccPortUnicastMacAddressSet" [drivers/net/ixp400_eth.ko]
undefined!

*** Warning: "ixEthAccPortMulticastAddressJoin" [drivers/net/ixp400_eth.ko]
undefined!

*** Warning: "ixEthAccPortMulticastAddressJoinAll"
[drivers/net/ixp400_eth.ko] undefined!

*** Warning: "ixEthAccPortPromiscuousModeClear" [drivers/net/ixp400_eth.ko]
undefined!

*** Warning: "ixEthAccPortPromiscuousModeSet" [drivers/net/ixp400_eth.ko]
undefined!

*** Warning: "ixEthAccPortMulticastAddressLeaveAll"
[drivers/net/ixp400_eth.ko] undefined!

*** Warning: "ixEthAccPortTxDoneCallbackRegister"
[drivers/net/ixp400_eth.ko] undefined!

*** Warning: "ixEthDBDatabaseMaintenance" [drivers/net/ixp400_eth.ko]
undefined!

*** Warning: "ixEthTxFrameDoneQMCallback" [drivers/net/ixp400_eth.ko]
undefined!

*** Warning: "ixEthRxPriorityPoll" [drivers/net/ixp400_eth.ko] undefined!

*** Warning: "ixEthAccPortDuplexModeSet" [drivers/net/ixp400_eth.ko]
undefined!

*** Warning: "ixEthMiiLinkStatus" [drivers/net/ixp400_eth.ko] undefined!

*** Warning: "ixOsalMbufAlloc" [drivers/net/ixp400_eth.ko] undefined!

*** Warning: "ixOsalIrqUnlock" [drivers/net/ixp400_eth.ko] undefined!

*** Warning: "ixOsalIrqLock" [drivers/net/ixp400_eth.ko] undefined!

*** Warning: "ixOsalMbufFree" [drivers/net/ixp400_eth.ko] undefined!

*** Warning: "ixEthAccPortRxFreeReplenish" [drivers/net/ixp400_eth.ko]
undefined!

  LD [M]  drivers/net/ixp400_eth.ko

joel at ubuntu:~/dev/avila/ixp_lib/linux$

 

 

I believe I may have to also include the access library module and insmod it
first, but I cannot get the access library to build separately.  When I do a
make ixp400 under the ixp400_xscale_sw directory, it fails with the
following error

 

--- Makefile:  Building object file
lib/linuxbe/perfProfAcc/IxPerfProfAccXscalePmu.o from C

                -Isrc/perfProfAcc/ -Isrc/perfProfAcc/
-I/home/joel/dev/avila/linux-2.6.12/include/asm-arm/arch-ixp425
-I/home/joel/dev/avila/linux-2.6.12/include/asm-arm/arch-ixp425
-DIX_COMPONENT_NAME=ix_perfProfAcc -DKBUILD_BASENAME=IxPerfProfAccXscalePmu
src/perfProfAcc/IxPerfProfAccXscalePmu.c -c -o
lib/linuxbe/perfProfAcc/IxPerfProfAccXscalePmu.o

src/perfProfAcc/IxPerfProfAccXscalePmu.c: In function
`ixPerfProfAccXscalePmuSymbolGet':

src/perfProfAcc/IxPerfProfAccXscalePmu.c:2329: error: structure has no
member named `next'

src/perfProfAcc/IxPerfProfAccXscalePmu.c:2331: warning: implicit declaration
of function `MOD_CAN_QUERY'

src/perfProfAcc/IxPerfProfAccXscalePmu.c:2335: warning: assignment from
incompatible pointer type

src/perfProfAcc/IxPerfProfAccXscalePmu.c:2335: error: structure has no
member named `nsyms'

src/perfProfAcc/IxPerfProfAccXscalePmu.c:2335: error: increment of pointer
to unknown structure

src/perfProfAcc/IxPerfProfAccXscalePmu.c:2335: error: arithmetic on pointer
to an incomplete type

src/perfProfAcc/IxPerfProfAccXscalePmu.c:2338: error: dereferencing pointer
to incomplete type

src/perfProfAcc/IxPerfProfAccXscalePmu.c:2340: error: dereferencing pointer
to incomplete type

src/perfProfAcc/IxPerfProfAccXscalePmu.c:2341: error: dereferencing pointer
to incomplete type

make: *** [lib/linuxbe/perfProfAcc/IxPerfProfAccXscalePmu.o] Error 1

 

 

Can anyone help me solve this so I can get my Ethernet port working.  I have
already compiled everything else in, including my wireless drivers, and I
figured the Ethernet drivers would be the easiest.  Boy was I wrong.

 

Thanks

 

------=_NextPart_000_0008_01C6A9FF.B46D62A0--





More information about the Avila mailing list