Networking Forums

Networking Forums > Computer Networking > Linux Networking > Encore (Sundance) NIC does not compile.

Reply
Thread Tools Display Modes

Encore (Sundance) NIC does not compile.

 
 
Marco A. Cruz Quevedo
Guest
Posts: n/a

 
      03-12-2007, 05:34 PM
I have Fedora Core 3 and I was using the Encore ENL832-TX-ICNT
(Sundance Alta chipset) fine. I installed it following the directions
provided in the drivers diskette. The driver compiled without any
problem. Then, I update my kernel to 2.6.12-1.1381_FC3, and when I
tried to recompile the driver the same way as I have done before, the
following error messages shown up:

make -C /lib/modules/2.6.12-1.1381_FC3/build SUBDIRS=/root/scratch/
Encore-NIC modules
make[1]: Entering directory `/lib/modules/2.6.12-1.1381_FC3/
build' [*** <- headers updated! ]
CC [M] /root/scratch/Encore-NIC/sundance_main.o
/root/scratch/Encore-NIC/sundance_main.c: In function `rx_poll':
/root/scratch/Encore-NIC/sundance_main.c:1400: warning: implicit
declaration of function `pci_dma_sync_single'
/root/scratch/Encore-NIC/sundance_main.c: In function
`netdev_ethtool_ioctl':
/root/scratch/Encore-NIC/sundance_main.c:1653: error: structure
has no member named `slot_name'
make[2]: *** [/root/scratch/Encore-NIC/sundance_main.o] Error 1
make[1]: *** [_module_/root/scratch/Encore-NIC] Error 2
make: *** [all] Error 2

('/root/scratch/Encore-NIC' is the temporary directory where I compile
the
driver)

I checked that the kernel headers were updated properly.

Previous kernel was 2.6.9-1.667. The question is: Why the driver does
not compile if it
has compiled before?

The URLs
http://www.scyld.com/network/sundance.html
http://cesdis.gsfc.nasa.gov/linux/misc/100mbps.html
http://cesdis.gsfc.nasa.gov/linux/misc/NWay.html

do not exist anymore.

Any ideas will be greatly appreciated.

Regards

Marco

 
Reply With Quote
 
 
 
 
Dances With Crows
Guest
Posts: n/a

 
      03-12-2007, 05:53 PM
["Followup-To:" header set to comp.os.linux.misc.]
Marco A. Cruz Quevedo staggered into the Black Sun and said:
> I have Fedora Core 3 and I was using the Encore ENL832-TX-ICNT
> (Sundance Alta chipset) fine. I installed it following the directions
> provided in the drivers diskette. The driver compiled without any
> problem. Then, I [updated] my kernel to 2.6.12-1.1381_FC3,


That kernel's seriously ancient. Isn't Fedora Core 3 going to be EOLed
soon if it isn't EOL already? Time to get a distro that can be updated
without major hassle, like Debian or Gentoo, eh?

> /root/scratch/Encore-NIC/sundance_main.c:1653: error: structure
> has no member named `slot_name'
> make[2]: *** [/root/scratch/Encore-NIC/sundance_main.o] Error 1


> Previous kernel was 2.6.9-1.667. Why [does] the driver not compile if
> it has compiled before?


The kernel's internal APIs aren't stable; check
Documentation/stable_api_nonsense.txt in your kernel source tree for
why. This module is depending on data structures that have changed.
However, 2.6.17.11 (oldest kernel tarball I have here) has the sundance
module in drivers/net . It's possible that the 2.6.12.fedora kernel has
that module in it. (I can't find any reference to "encore" or "enl832"
anywhere in drivers/net , though. Is this some sort of weird,
not-widely-used NIC? What does lspci say this NIC is?)

> Any ideas will be greatly appreciated.


All above. HTH anyway,

--
I find that having a pint or two is a good problem-solving technique.
Especially if it's vodka rather than beer.
--Peter Corlett in ASR
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
 
Reply With Quote
 
Marco A. Cruz Quevedo
Guest
Posts: n/a

 
      03-13-2007, 03:58 PM
On Mar 12, 12:53 pm, Dances With Crows
<danSPANceswithTRAPcr...@gmail.com> wrote:
> ["Followup-To:" header set to comp.os.linux.misc.]
> Marco A. Cruz Quevedo staggered into the Black Sun and said:
>
> > I have Fedora Core 3 and I was using the Encore ENL832-TX-ICNT
> > (Sundance Alta chipset) fine. I installed it following the directions
> > provided in the drivers diskette. The driver compiled without any
> > problem. Then, I [updated] my kernel to 2.6.12-1.1381_FC3,

>
> That kernel's seriously ancient. Isn't Fedora Core 3 going to be EOLed
> soon if it isn't EOL already? Time to get a distro that can be updated
> without major hassle, like Debian or Gentoo, eh?
>
> > /root/scratch/Encore-NIC/sundance_main.c:1653: error: structure
> > has no member named `slot_name'
> > make[2]: *** [/root/scratch/Encore-NIC/sundance_main.o] Error 1
> > Previous kernel was 2.6.9-1.667. Why [does] the driver not compile if
> > it has compiled before?

>
> The kernel's internal APIs aren't stable; check
> Documentation/stable_api_nonsense.txt in your kernel source tree for
> why. This module is depending on data structures that have changed.
> However, 2.6.17.11 (oldest kernel tarball I have here) has the sundance
> module in drivers/net . It's possible that the 2.6.12.fedora kernel has
> that module in it. (I can't find any reference to "encore" or "enl832"
> anywhere in drivers/net , though. Is this some sort of weird,
> not-widely-used NIC? What does lspci say this NIC is?)
>
> > Any ideas will be greatly appreciated.

>
> All above. HTH anyway,


Here is the lspci output
- - -
02:09.0 Ethernet controller: Sundance Technology Inc: Unknown device
0200 (rev 31)
Subsystem: Sundance Technology Inc: Unknown device 0201
Flags: bus master, medium devsel, latency 32, IRQ 3
I/O ports at dc00 [size=128]
Memory at feaffc00 (32-bit, non-prefetchable) [size=512]
Expansion ROM at feae0000 [disabled] [size=64K]
Capabilities: [50] Power Management version 2
- - -

In the kernel tree, you can find the module at drivers/net/sundance.c
but in 2.6.12, this module is older than the one supplied in the NIC
drivers diskette

I have just recompiled kernel 2.6.12 and the module sundance.ko is
present, but when I try to activate eth0, system reports that there is
no netcard present. Also, tI tried to recompile the diskette drivers,
and I get same errors.

You can get the drivers from http://www.encore-usa.com/download/d...NT_Drivers.zip

Regards,

Marco


---
Freedom is not a permission for chaos.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Blackberry's Magic (An Encore Presentation) kaash Broadband 1 07-28-2007 04:21 PM
How to compile kernel? Fister Linux Networking 1 07-05-2007 06:22 PM
encore wireless-g usb adapter problem bombasos Wireless Internet 1 04-02-2007 02:56 PM
Encore Wireless G USB, where to get drivers? Al Puzzuoli Wireless Internet 2 02-15-2005 12:03 AM
LiS Compile problems Big Jim Linux Networking 2 11-11-2003 02:30 AM



1 2 3 4 5 6 7 8 9 10 11