Koozali.org: home of the SME Server

Compiling Dlink DGE-530T drivers

paquerette

Compiling Dlink DGE-530T drivers
« on: October 22, 2006, 12:03:30 AM »
Hi,

i'm trying to compile the drivers for my network card  : DLink DGE-530T.

(If any body already do that... )

i've updated to the last kernel with yum update kernel (2.6.9-34.0.2.EL),

I need the sources of this kernel to compile the drivers.
How can i get it ?

(I've tryed yum install kernel-source without success)

Regards,
Paquerette

Offline byte

  • *
  • 2,183
  • +2/-0
Compiling Dlink DGE-530T drivers
« Reply #1 on: October 22, 2006, 12:08:41 AM »
you want yum install --enablerepo=base module name

But as a note you should build on Centos 4.3.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

paquerette

Compiling Dlink DGE-530T drivers
« Reply #2 on: October 22, 2006, 12:21:45 AM »
So I first need to update my kernel to the last centos one (smp version) ?

yum --enablerepo=base update kernel-smp.i686
(is it good ?)

then install the sources :

yum --enablerepo=base install kernel-source

Is it safe to take the centos kernel instead of the sme one?

(why can't we have access to the sme kernel sources ?)

paquerette

Compiling Dlink DGE-530T drivers
« Reply #3 on: October 22, 2006, 01:04:58 AM »
I got the source via :

wget http://mirror.centos.org/centos/4/os/SRPMS/kernel-2.6.9-42.EL.src.rpm
rpm -ivh kernel-2.6.9-42.EL.src.rpm

Offline gregswallow

  • *
  • 651
  • +1/-0
Compiling Dlink DGE-530T drivers
« Reply #4 on: October 22, 2006, 08:41:54 AM »
* Fri Mar 17 2006 Jason Baron <jbaron@redhat.com> [2.6.9-34.5]
-add skge net driver (John Linville) [157247 167768]

You don't need to compile anything.  You need the skge driver for that card according to a search of Redhat's bugzilla.  Enable the smeupdates-testing repo and do a yum update and you will have a newer kernel that includes this.  You might have to run kudzu and re-run the console configuration to choose the network card.

paquerette

Compiling Dlink DGE-530T drivers
« Reply #5 on: October 22, 2006, 12:50:22 PM »
well i've updated the kernel:



Quote
yum --enablerepo=smeupdates-testing update kernel-smp.i686
signal-event post-upgrade; signal-event reboot

and then run "kudzu --probe" , but the card still seems to be unknown

Quote
class: NETWORK
bus: PCI
detached: 0
device: eth1
driver: sky2
desc: "D-Link System Inc: Unknown device 4b01"
vendorId: 1186
deviceId: 4b01
subVendorId: 1186
subDeviceId: 4b01
pciType: 1
pcidom:    0
pcibus:  1
pcidev:  7
pcifn:  0



I've run "kudzu"  with no param and try to reconfigure the server, but the ethernet card is not listed.

I'm not familiar with kudzu... I may have missed something... can you help ?

paquerette

paquerette

Compiling Dlink DGE-530T drivers
« Reply #6 on: October 22, 2006, 01:04:55 PM »
damned....

look here :
http://www.linuxquestions.org/hcl/showproduct.php?product=2711#review6

Quote
I read that this card was supported by the skge driver in 2.6 kernels, so I bought one. It turns out, D-Link has secretly changed their card. I actually got a D-Link 530T (rev 11) which is sufficiently different from a "normal" D-Link 530T that it doesn't work (pci id is 1186,4b01 instead of 1186,4c00)


i've a 4b01 not a 4c00.....

paquerette jumps trough its window.... aaaahhhhhhhh .... skirsh...

paquerette

Compiling Dlink DGE-530T drivers
« Reply #7 on: October 22, 2006, 02:11:58 PM »
http://ubuntuforums.org/showpost.php?s=b7526545c2aeb216e017b0a24a9447fc&p=1099408&postcount=3

nice :

Quote
It appears that the kernel included with dapper does not work for any DGE-530 revision, as a developer has inadverdantly moved the device IDs for these cards out of the SKGE driver and into the SKY2 driver.


still no success (one succeed with recompilation...)

Guess what, i'll buy another network card, a basic one with some realtek chip ....

Offline gregswallow

  • *
  • 651
  • +1/-0
Compiling Dlink DGE-530T drivers
« Reply #8 on: October 23, 2006, 01:47:23 AM »
Buying a new card is probably a good idea, but you could try this - http://atrpms.net/dist/el4/sk98lin/ - I just found it.

If that doesn't work, the kernel here probably will ('4b01' is in the skge 1.6 patch):
http://people.redhat.com/linville/kernels/rhel4/
...but there aren't kernel modules for that kernel, so the vpn and appletalk functions in SME won't work, if you need those.  And that kernel is just a 'testing' kernel from Redhat, not supported by anyone.