Compatible Support Forums: Driver for DLink DGE-530T Gigabit PCI on FC4

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Driver for DLink DGE-530T Gigabit PCI on FC4

#1 User is offline   glenrob 

  • stranger
  • Group: Members
  • Posts: 8
  • Joined: 27-December 05

Posted 27 December 2005 - 05:53 PM

I did a YUM update (of everything) which took me from 2.6.11-1.1369_FC4-i686 to 2.6.14-1.1653_FC4-i686.
Booting from the 2.6.11 kernel and doing a grep on dmesg shows:
eth0: DGE-530T Gigabit Ethernet Adapter
eth0: network connection up using port A
Booting from the 2.6.14 kernel results in an error message when attempting to set up eth0 - sk98lin does not seem to be present.
Doing a grep for eth0 of dmesg returns no entries.
Que Pas? How do I get gigabit working again?
0

#2 User is offline   glenrob 

  • stranger
  • Group: Members
  • Posts: 8
  • Joined: 27-December 05

Posted 28 December 2005 - 10:18 AM

I installed kernel-source as part of the yum update, so I decided to build a kernel. My attempts to make the kernel consistently failed. 'make mrproper' failed with a DocBook problem. 'make oldconfig' completed okay. Next I tried 'make menuconfig' in which I never found the proper gigabit driver. I then yum installed qt-devel so that I could try 'make xconfig'. I finally found what is probably the correct driver with xconfig - the one for the Marvel Yukon chipset - which I marked to be built in. I saved and exited xconfig and then attempted a 'make'. make chugged along for awhile with some warning messages about 'YY_STACK_USED', YY_ALWAYS_INTERACTIVE', YY_NEVER_INTERACTIVE', and 'YY_MAIN' not being defined and then error exited with 'no rule to make target 'init/main.o';'needed by /init/build_in.o'
Not being a makefile guru, I'm not sure how to get the kernel made.

If someone can point me at how to fix that, I believe the final build steps are 'make modules-install' and 'make install'.

Finally, I apologize for what is probably all error 299 (excessive operator ignorance) on my part.
0

#3 User is offline   danleff 

  • Carpal Tunnel
  • Group: Moderators
  • Posts: 2903
  • Joined: 30-August 02

Posted 28 December 2005 - 07:13 PM

Take a look at this article.

Try;

make xconfig
make all
make modules_install
make install
0

#4 User is offline   glenrob 

  • stranger
  • Group: Members
  • Posts: 8
  • Joined: 27-December 05

Posted 29 December 2005 - 12:32 AM

I tried 'make all' and immediately got an error:
make[1] No rule to make target 'init/main.o'; needed by 'init/buildtin.o'. Stop; make: ***[init]error 2.

So,.. I did
make clean
make xconfig
make all
I saw the YY_xxx warnings and then right after 'HOSTCC scripts/conmakehash' I again got the errors make[1] and make stated in the first part of the post.

Should I try using rpm on a downloaded source tree instead of yum as I have been doing?
0

#5 User is offline   glenrob 

  • stranger
  • Group: Members
  • Posts: 8
  • Joined: 27-December 05

Posted 29 December 2005 - 08:49 AM

Downloaded vanilla 2.6.14.1 source, moved the tree to /usr/src and then attempted a kernel build using the following steps:
make mrproper
make oldconfig
make xconfig
make all
Everything seems to be working okay, mrproper, oldconfig, and xconfig steps worked without any problems. 'make all' is chunking away on my older celeron/coppermine system. Apparently, I needed something more than 'yum install kernel-src' to succeed. Assuming all of this works (including make modules-install and make install, I'll test the kernel.

I'm currently running on the yum updated FC-4 kernel (i.e., 2.6.14-1.1653-FC4 built by the original update of everything) with a 100 Mbit pci card. If the kernel being built boots okay, I'll swap back in the gigabit card and if it works with that kernel then I'll try a similar build process with a download of the 1653-FC4 source.

This still begs the question, can I automate yum updates with cron and expect to have everything working when I boot a new system?
0

#6 User is offline   glenrob 

  • stranger
  • Group: Members
  • Posts: 8
  • Joined: 27-December 05

Posted 29 December 2005 - 11:26 AM

The vanilla kernel build (2.6.14.1) succeeded. It recognizes a Dlink 100Mbit card (Realtek RTL8139) and sets it up as eth0. I replaced the card with a Dlink Gbit card and rebooted. The (2.6.14.1) kernel does not recognize the gigabit card. The earlier FC4 kernel (1369) does recognize it and eth0 in dmesg declares it as a DGE-530T Gigabit Ethernet Adapter.

I'm not entirely sure how to read dmesg, but what I assume are the PCI vendor and subsystem ID's are 0104 -> 0107 in the Realtek case and 0114 -> 0117 in the case of the DGE-530T.

Any suggestions or recommendations? At the moment I am running the 2.6.11-1.1369_FC4 kernel with the gigabit card in the system. The system is a samba file server and I prefer the better response with gigabit. Does this older kernel expose me to security issues?
0

#7 User is offline   danleff 

  • Carpal Tunnel
  • Group: Moderators
  • Posts: 2903
  • Joined: 30-August 02

Posted 29 December 2005 - 06:05 PM

This just goes to show you that the newest is not always the best! It apparently was a known issue in earlier kernels and fixed in the kernel-2.6.13-1.1532_FC4 version. Apparently it is not fixed in the newest?

Try installing that kernel and see what happens.

Reference
0

#8 User is offline   glenrob 

  • stranger
  • Group: Members
  • Posts: 8
  • Joined: 27-December 05

Posted 31 December 2005 - 07:21 AM

I neeed to plead error 299 here. I can't find the source for kernel-2.6.13-1.1532_FC4. When I go to download.fedora.redhat, the only kernels I see in update are 2.6.12-1_1456_FC4; 2.6.14-1_1637_FC4; and a couple of other 2.6.14 kernel sources. I don't see any 2.6.13nnn kernels. Am I going about this wrong, or,... ?
0

#9 User is offline   glenrob 

  • stranger
  • Group: Members
  • Posts: 8
  • Joined: 27-December 05

Posted 31 December 2005 - 12:23 PM

I downloaded the 2.6.14-1_1637_FC4 source rpm and built a kernel and booted from it. This kernel did NOT find/initialize the DGE-530T (i.e., no eth0 present with this kernel). So,... the 2.6.11-1.1639_FC4 finds and initializes it, but the 2.6,14-1_1637_FC4 and 2.6.14-1_1653_FC4 kernels do not find it. Should I try the 2.6.12-1_1456_FC4 kernel? Other than a couple of answers that are different in make xconfig (which I mainly answered N or M) these kernels are all using the same .config file.
0

#10 User is offline   glenrob 

  • stranger
  • Group: Members
  • Posts: 8
  • Joined: 27-December 05

Posted 01 January 2006 - 10:38 AM

I built the 2.5.12-1_1456_FC4 kernel and booted from it. The DGE-530T works fine with this kernel.
0

#11 User is offline   danleff 

  • Carpal Tunnel
  • Group: Moderators
  • Posts: 2903
  • Joined: 30-August 02

Posted 01 January 2006 - 07:48 PM

Great! I just finished updating my kernel to the 2.6.14-1.1653 kernel, which worked for me. I needed to yum the kernel and kernel-devel packages. No need to manually build the kernel.

I bet the modprobe.conf lacked the correct designation for the interface.
0

#12 User is offline   hyvatti 

  • stranger
  • Group: Members
  • Posts: 1
  • Joined: 05-January 06

Posted 05 January 2006 - 05:13 PM


0

#13 User is offline   Zotter 

  • stranger
  • Group: Members
  • Posts: 1
  • Joined: 03-May 06

Posted 03 May 2006 - 02:21 AM

Thank you!

Worked a charm.

Been fighting this ever since a kernel update in FC4 'broke' it. Even went so far as to replace the NIC.

Thanks!
0

#14 User is offline   jimgolding 

  • stranger
  • Group: Members
  • Posts: 1
  • Joined: 10-May 06

Posted 10 May 2006 - 11:49 PM


0

#15 User is offline   willjames 

  • stranger
  • Group: Members
  • Posts: 1
  • Joined: 21-June 06

Posted 21 June 2006 - 04:04 PM

Finally got this card working on FC5 with help from the following link...

http://www.ubuntuforums.org/showthread.php?t=187770

You need to download the kernel sources and install them using the instructions in the link supplied by danleff above and then edit the files:
/usr/src/redhat/BUILD/kernel-2.6.16/linux-2.6.16.noarch/drivers/net/skge.c

and

/usr/src/redhat/BUILD/kernel-2.6.16/linux-2.6.16.noarch/drivers/net/sky2.c

as discussed in the above link.

the "kernel-2.6.16/linux-2.6.16.noarch/" may be different depending on the kernel version....

then recompile the kernel modules using "make modules", and install these using "make modules_install"

You may need edit /etc/modprobe.conf and make sure that the line
'alias eth? sky2' is changed to 'alias eth? skge'

Once you've done this the card should work :-)

Hope this helps someone

Will

0

#16 User is offline   danleff 

  • Carpal Tunnel
  • Group: Moderators
  • Posts: 2903
  • Joined: 30-August 02

Posted 22 June 2006 - 05:58 PM

Nice thread folks! Good troubleshooting on all parts!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users