Tyr-7BE
02-05-2001, 08:21 PM
I know I know I know...there are countless tutorials out there on how to set up your D-Link DFE 530TX. The difference between me and most of those people is that when they follow the tutorials, their machine works.
Hopefully someone will know how to solve this, cause I sure as hell don't.
I am using kernel 2.2.17. My system is Mandrake 7.2, which is supposedly fully compatible with Red Hat. I downloaded the latest drivers of pci-scan.c and via-rhine.c. I tried to compile pci-scan.c and received a HUGE number of warning and error messages (they were almost all warnings and errors in various header files of my /usr/include/linux directory (a good majority of the form "warning: data definition has no type or storageclass." and "warning: no semicolon at end of struct or union." and other things like that, among many many many others in many files, all of them being various include files). This leads me to believe that the compilation of both pci-scan.c and via-rhine.c are not getting past the include preprocessor commands. Does anyone have ANY idea what might be causing this? As I recall, I had this problem several months ago when I attempted to compile the rtl8139 driver as well when I wanted to see if it worked with my DFE 538TX (other network card) as was rumoured (I still don't know to date...I need to be able to compile modules...please help!). I also tried the red-hat method of kgcc, but still no dice...gcc told me that there was no file to compile, even though I added the extra parameters. Do I need more than what Mandrake 7.2 gives me by default in order to compile c files?
Here's what it gives me as far as ethernet goes in dmesg | more...please note that I have 2 NICs...D-Link DFE 538TX and D-Link DFE 530TX (the 530TX is the one I want working, as I KNOW for a fact that it's supported...I think the other might be as well but I'm not sure).
dmesg | more :
eth0: 8139too FastEthernet 0.9.9-2.2 Jeff Garzik <jgarzik@mandrakesoft.com>
eth0: Linux-2.2 bug reports to Jens David <dg1kjd@afthd.tu-darmstadt.de>
eth0: RealTek RTL8139 Fast Ethernet board found at 0xc503a000, IRQ 0
eth0: Chip is 'RTL-8139B' - MAC address '00:50:ba:3f:f4:2f'.
via-rhine.c:v1.08 6/24/2000 Written by Donald Becker http://www.scyld.com/network/via-rhine.html
eth1: VIA VT3043 Rhine at 0x9000, 00:50:ba:c9:53:86, IRQ 0.
eth1: MII PHY found at address 8, status 0x782d advertising 05e1 Link 0000.
and much later on (after all the USB and sound card stuff),
eth0: VIA VT3043 Rhine at 0x9000, 00:50:ba:c9:53:86, IRQ 0.
eth0: MII PHY found at address 8, status 0x782d advertising 05e1 Link 0000.
Is it normal for eth1 and eth0 to say EXACTLY the same thing? That IRQ 0 thing makes me a little suspicious too. I hate not knowing what I'm doing! The fact that the drivers are v.1.08 written in June of 2000 suggests that they're up to date (as the ones in Muzz's post in "How I did it!" were v.1.07). I, with my limited linux experience, cannot tell which is which from this. Can anybody here? Is my DFE 530TX eth0 or eth1? Something tells me it's eth1.
So basically, I can't compile the new drivers I need to run this card. Any ideas? These are just my theories, and if anybody thinks they know what's going on, PLEASE respond. All I know for sure is "it doesn't work!"
lsmod displays neither hide nor hair of any ethernet modules, leading me to believe that it's either a part of the kernel, or non-existant. If anyone has a theory and requires more info, just tell me what to get you. Any and all help on this subject is much appreciated. Thanks a lot guys and gals :)
:mad:
[ 05 February 2001: Message edited by: Tyr-7BE ]
Hopefully someone will know how to solve this, cause I sure as hell don't.
I am using kernel 2.2.17. My system is Mandrake 7.2, which is supposedly fully compatible with Red Hat. I downloaded the latest drivers of pci-scan.c and via-rhine.c. I tried to compile pci-scan.c and received a HUGE number of warning and error messages (they were almost all warnings and errors in various header files of my /usr/include/linux directory (a good majority of the form "warning: data definition has no type or storageclass." and "warning: no semicolon at end of struct or union." and other things like that, among many many many others in many files, all of them being various include files). This leads me to believe that the compilation of both pci-scan.c and via-rhine.c are not getting past the include preprocessor commands. Does anyone have ANY idea what might be causing this? As I recall, I had this problem several months ago when I attempted to compile the rtl8139 driver as well when I wanted to see if it worked with my DFE 538TX (other network card) as was rumoured (I still don't know to date...I need to be able to compile modules...please help!). I also tried the red-hat method of kgcc, but still no dice...gcc told me that there was no file to compile, even though I added the extra parameters. Do I need more than what Mandrake 7.2 gives me by default in order to compile c files?
Here's what it gives me as far as ethernet goes in dmesg | more...please note that I have 2 NICs...D-Link DFE 538TX and D-Link DFE 530TX (the 530TX is the one I want working, as I KNOW for a fact that it's supported...I think the other might be as well but I'm not sure).
dmesg | more :
eth0: 8139too FastEthernet 0.9.9-2.2 Jeff Garzik <jgarzik@mandrakesoft.com>
eth0: Linux-2.2 bug reports to Jens David <dg1kjd@afthd.tu-darmstadt.de>
eth0: RealTek RTL8139 Fast Ethernet board found at 0xc503a000, IRQ 0
eth0: Chip is 'RTL-8139B' - MAC address '00:50:ba:3f:f4:2f'.
via-rhine.c:v1.08 6/24/2000 Written by Donald Becker http://www.scyld.com/network/via-rhine.html
eth1: VIA VT3043 Rhine at 0x9000, 00:50:ba:c9:53:86, IRQ 0.
eth1: MII PHY found at address 8, status 0x782d advertising 05e1 Link 0000.
and much later on (after all the USB and sound card stuff),
eth0: VIA VT3043 Rhine at 0x9000, 00:50:ba:c9:53:86, IRQ 0.
eth0: MII PHY found at address 8, status 0x782d advertising 05e1 Link 0000.
Is it normal for eth1 and eth0 to say EXACTLY the same thing? That IRQ 0 thing makes me a little suspicious too. I hate not knowing what I'm doing! The fact that the drivers are v.1.08 written in June of 2000 suggests that they're up to date (as the ones in Muzz's post in "How I did it!" were v.1.07). I, with my limited linux experience, cannot tell which is which from this. Can anybody here? Is my DFE 530TX eth0 or eth1? Something tells me it's eth1.
So basically, I can't compile the new drivers I need to run this card. Any ideas? These are just my theories, and if anybody thinks they know what's going on, PLEASE respond. All I know for sure is "it doesn't work!"
lsmod displays neither hide nor hair of any ethernet modules, leading me to believe that it's either a part of the kernel, or non-existant. If anyone has a theory and requires more info, just tell me what to get you. Any and all help on this subject is much appreciated. Thanks a lot guys and gals :)
:mad:
[ 05 February 2001: Message edited by: Tyr-7BE ]