Bug 133439

Summary: Sundance driver don't work with Encore ENL832-TX-ICNT Network adapter
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Peter Pettersson <peterpet>
Component: KernelAssignee: Olaf Kirch <okir>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: i386   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: The Linux version of the driver provided by Encore
hwinfo after installation of SuSE 10.0 and you uppdate
patch to get YaST2 to select the sundance driver for the card
hwinfo after applying patch 57074
Encore driver modified by merging code from sundance driver - working

Description Peter Pettersson 2005-11-11 11:45:12 UTC
The Encore 10/100 Fast Ethernet Network Adapter ENL832-TX-ICNT comes with a version of the sundance driver also downloadable from http://www.encore-usa.com buth neigther that or the sundance driver installed in SuSE 10.0 works with the card. I've search google for the problem and there are some reports of problems with this card in recent Linux distributions from Latin america.

I can compile and install the driver from encore in SuSE 9.0 but in SuSE 9.2 it needs modification becuase of kernel changes and has to be configured manually. On SuSE 9.3 and 10.0 I havn't got it to work. The driver from SuSE dont recognize the  sundance driver as the correct one for this card in any version.
Comment 1 Peter Pettersson 2005-11-11 12:00:46 UTC
Created attachment 57072 [details]
The Linux version of the driver provided by Encore
Comment 2 Peter Pettersson 2005-11-11 12:03:21 UTC
Created attachment 57073 [details]
hwinfo after installation of SuSE 10.0 and you uppdate
Comment 3 Peter Pettersson 2005-11-11 12:08:10 UTC
Created attachment 57074 [details]
patch to get YaST2 to select the sundance driver for the card

YaST2 reports the card as Sundance Ethernet controller but then tells "The device does not have a driver module" when trying to configure. Compiling the module with this patch lets me continue but the driver still doesn't work.
Comment 4 Peter Pettersson 2005-11-11 12:09:45 UTC
Created attachment 57075 [details]
hwinfo after applying patch 57074
Comment 5 Peter Pettersson 2005-11-11 12:15:42 UTC
I've downloaded the kernel sources for SuSE 10.1 Alpha 2 but the sundance driver seems to be the same as in 10.0
Comment 6 Michael Gross 2005-11-11 13:00:25 UTC
Olaf: Can you take care of that? If not, assign it back to the screening team.
Comment 7 Olaf Kirch 2005-11-11 13:19:46 UTC
It seems the mainline driver doesn't support this card at all. So there's
not much we can do about this bug, and I am going to close this as WONTFIX.
Sorry.

However - here are some observations that may help you.

The driver from Encore seems to be forked from the version in mainline;
it also adds the PCI ID to the driver without additional code. So that
driver seems to have worked for someone.

The modified driver fails with "No MII transceiver found, aborting.  ASIC
status 63". Just a suspicion - the other change that may be required is this:

-               for (phy = 1; phy < 32 && phy_idx < MII_CNT; phy++) {
+               for (phy = 0; phy < 32 && phy_idx < MII_CNT; phy++) {

But given that the Encore driver doesn't work for you either, there must be
some other problem.

I suggest asking on the netdev list if anyone has experience with this
card.

It may also help to contact the vendor, as you bought their card but
the driver doesn't work.
Comment 8 Peter Pettersson 2005-11-14 12:29:30 UTC
Thanks for a quick allthough negative answer.

The encore driver works for me as is in SuSE 9.0 and by merging it with code from the sundance driver in SuSE it's possible to get it to work in later distributions. It seems the driver has not been updated for changes in the later kernels and in the configuration interface used by SuSE. Now I've got the driver from Encore to work in SuSE 10.0 by merging it with the sundance driver and will attach my version of the driver in case someone else is looking here for the same problem. Ofcourse the driver is not well tested but for me it loads and can be configured normally in YaST2 and the card seems to be pasing network traffic.
Comment 9 Peter Pettersson 2005-11-14 12:32:26 UTC
Created attachment 57237 [details]
Encore driver modified by merging code from sundance driver - working
Comment 10 Olaf Kirch 2005-11-15 12:10:06 UTC
Way cool! I'll see if I find the time to look into this, and help you
getting this merged upstream.
Comment 11 Greg Kroah-Hartman 2007-01-19 23:10:21 UTC
Closing due to the lack of activity...