LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   [AMD] 79c970 [PCnet32 LANCE] problem under gentoo, vmware (https://www.linuxquestions.org/questions/linux-hardware-18/%5Bamd%5D-79c970-%5Bpcnet32-lance%5D-problem-under-gentoo-vmware-635002/)

nc3b 04-13-2008 05:08 AM

[AMD] 79c970 [PCnet32 LANCE] problem under gentoo, vmware
 
Hello, I am trying to get my gentoo working under vmware. When I say modprobe lance it says
Quote:

Error inserting lance [ ... ] Operation not permitted
So I dmesg | tail
Code:

lance.c: Module autoprobing not allowed. Append "io=0xNNN" value(s)
Now I don't know what values I should append. I did say lspci -v, but I can't figure it out. Since I can't copy paste, here is the line with the ethernet card
Code:

02:00.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 10)
Other people have had this problem (I googled before posting here) but they didn't say what values one should add.. Must be one of those "is there any command to list the files in a directory?" :))

Any help is really appreciated. Thank you very much:)

nc3b 04-16-2008 03:01 AM

0 replies and 51 views in 3 days :)) Good going guys ;) I am sure I would have gotten a lot more attention should I have posted something like "Nvidia vs ATI" or "AMD sucks" or something alike :D

Anyway, I have found an answer to my problem by lsmod-ing a working kernel and finding I was using the wrong driver. I actually needed the one called pcnet32. So, should anyone need this info, here it is, although you probably shouldn't read at all this post, there must be more interesting threads..
Cheers:)

crashmeister 04-16-2008 04:07 AM

I think you'll neeed to modprobe pcnet32 not lance.

nc3b 04-16-2008 04:10 AM

That's what I just said
Quote:

I actually needed the one called pcnet32
Why have you posted?

bachrach44 06-27-2008 11:30 AM

thanks
 
I was having almost the exact same problem this morning that you were having, so thank you for posting back the solution to your own problem (it worked for me). Many people don't bother to do that, so thank you.

bluecell 08-04-2008 08:11 PM

Quote:

Originally Posted by bachrach44 (Post 3197044)
I was having almost the exact same problem this morning that you were having, so thank you for posting back the solution to your own problem (it worked for me). Many people don't bother to do that, so thank you.

Hi bachrach44, what is your solution. Please let me know, thank you.

I'm finding a way to download pcnet32.c, pcnet32.h and compile them into pcnet32.o, after that load pcnet32.o. But it stuck, I cannot findout pcnet32.o and pcnet32.h

akbarstatx 10-07-2008 04:40 PM

In your kernel config ( ) under device drivers, Ethernet 10/100 enable:
[*] EISA, VLB, PCI and on board controllers
<*> AMD PCnet32 PCI support
[ ] Use RX polling (NAPI)
<*> AMD 8111 (new PCI lance) support
[ ] Use RX polling (NAPI)

At least that works for me. I didn't build them as modules, but you could.

akbarstatx 10-07-2008 04:42 PM

In you kernel config enable under network devices:
[*] EISA, VLB, PCI and on board controllers
<*> AMD PCnet32 PCI support
[ ] Use RX polling (NAPI)
<*> AMD 8111 (new PCI lance) support
[ ] Use RX polling (NAPI)

This doesn't build them as modules but you could if you want. This setup worked for me.


All times are GMT -5. The time now is 02:17 AM.