Click to See Complete Forum and Search --> : Which package (RedHat) has these:?


curtas
06-18-2002, 03:31 PM
I'm trying to compile a driver for my network card in RedHat 7.3. The card is a 3Com 3c905c-TX, which should use driver 3c90x. I set up the alias, only to find that the driver is not with the other kernel files (an older version which does not seem to be working, 3c59x, was included). So anyway, I find the source code from 3com, and it comes with a compile script.

It doesn't compile and spits out hundreds of errors. Upon further investigation, it seems that the following files are not in the include/asm/ directory:

msr.h
hardirq.h
softirq.h
fixmap.h
delay.h

Any ideas where these might be on the RedHat disks? Did I miss a devel rpm when I installed?

Thanks,
ac

Strogian
06-18-2002, 05:02 PM
Searching google for 'msr.h rpm' yields several results talking about a kernel-headers package, so you may want to look into that.

z0mbix
06-19-2002, 08:54 AM
I use a 3Com 3c905c-TX, with the 3c90x module fine. It worked fine with all versions of linux i've ever used. Are you sure you need to compile it again? What exactly is going wrong?

curtas
06-20-2002, 07:44 AM
Thanks for the input so far.

For some reason, the 90x drivers did not install, they are not even in the directory with the rest of the kernel drivers! I thought about searching the install disks for the actual object file, but would have no clue where to begin.

If any of you know where RedHat puts the device drivers, I'd appreciate that too. In the meantime, I guess I'll try to find that package and recompile.

thanks,
ac

z0mbix
06-20-2002, 08:44 AM
mine is in /lib/modules/2.4.xx/kernel/net. If you can't find it there, then try locate 3c59x.o

curtas
06-20-2002, 08:50 AM
that's where I checked. I only have the 3c59x.o driver file.

I'll try the locate command and see if its elsewhere on the drive. (or CD's)

thanks,
ac

Stuka
06-20-2002, 10:42 AM
In response to the original question, if RH7.3 is similar to the 6.x series, the development stuff is in the egcs packages.

bwkaz
06-20-2002, 01:08 PM
I'm also using a 3c905C-TX, and the 3c59x.o driver works perfectly (well, except that the card loses a link every time I shut down, but I don't plan on doing that too often, and I think it's an APM issue anyway -- I can get the link back by unplugging the power, unplugging the network cable, waiting 20-30 secs, plugging power back in, and plugging network back in).

What, exactly, is the problem that you're having with the 3c59x driver?

curtas
06-20-2002, 02:14 PM
It just won't come up. It hangs at bootup when it gets to 'Initializing eth0' or something like that. If I try to start the network manually from the root control panels, it throws an error saying this can't be started.

It's a motherboard network "card" if that makes any difference.

I was just going to try the 90x driver to see if that helped. If it didn't, I was just gonna install a $15 10/100 card that I know works.

thanks again,
ac