 |
 |
 |
 |
| Hardware & Laptops Help with your hardware, including laptop issues |

2nd June 2004, 03:58 AM
|
|
Registered User
|
|
Join Date: Jun 2004
Posts: 25

|
|
|
ATI 9100 IGP - video and ethernet
Hi
Has anyone tried to get 3D to work with ATI's 9100 IGP chipset?
And more importantly has anyone managed to get its integrated 3Com 3C920B-EMB-WNM controller to work?
Best Regards,
darkprok
|

18th June 2004, 07:13 AM
|
|
Registered User
|
|
Join Date: Jun 2004
Posts: 25

|
|
|
Ethernet patch
I backported the ati 9100 igp integrated ethernet controller support from andrew morton's 2.6.7-rc3-mm2 tree.
It will add support to your kernel for 3Com's 3C920B-EMB-WNM Integrated Fast Ethernet Controller found on ati 9100 igp motherboards.
Here it is:
--- 3c59x.c.orig 2004-06-14 21:17:17.000000000 +0300
+++ 3c59x.c 2004-06-14 21:23:06.000000000 +0300
@@ -464,6 +464,7 @@
CH_3CCFEM656_1,
CH_3C450,
CH_3C920,
+ CH_ATI,
CH_3C982A,
CH_3C982B,
@@ -561,6 +562,8 @@
PCI_USES_IO|PCI_USES_MASTER, IS_TORNADO|HAS_NWAY|HAS_HWCKSM, 128, },
{"3c920 Tornado",
PCI_USES_IO|PCI_USES_MASTER, IS_TORNADO|HAS_NWAY|HAS_HWCKSM, 128, },
+ {"3c920b CH_ATI 9100 IGP",
+ PCI_USES_IO|PCI_USES_MASTER, IS_TORNADO|HAS_MII|HAS_HWCKSM, 128, },
{"3c982 Hydra Dual Port A",
PCI_USES_IO|PCI_USES_MASTER, IS_TORNADO|HAS_HWCKSM|HAS_NWAY, 128, },
{"3c982 Hydra Dual Port B",
@@ -615,6 +618,7 @@
{ 0x10B7, 0x6564, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CH_3CCFEM656_1 },
{ 0x10B7, 0x4500, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CH_3C450 },
{ 0x10B7, 0x9201, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CH_3C920 },
+ { 0x10B7, 0x9202, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CH_ATI },
{ 0x10B7, 0x1201, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CH_3C982A },
{ 0x10B7, 0x1202, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CH_3C982B },
To apply the patch type
cd /usr/src/linux-version/drivers/net/
patch < /path/to/this.patch
Best Regards,
darkprokoba
|

25th June 2004, 06:51 AM
|
|
Registered User
|
|
Join Date: Jun 2004
Posts: 4

|
|
|
please translate for newbies
Thank U darkprok, U seem to have solved my ethernet problem but as I am a complete newbie on Linux I don't know which kernel, or module (?) file you are referring to.
Can you please explain it a little more, I mean, both the file to edit and the steps after to let the kernel recognize my device? My very short Linux existence could be widened a lot by your advices......
Thanks
Opo
|

26th June 2004, 03:59 AM
|
|
Registered User
|
|
Join Date: Jun 2004
Posts: 25

|
|
|
Use your favorite text editor to copy the patch - everything from
--- 3c59x.c.orig 2004-06-14 21:17:17.000000000 +0300
...
to
...
{ 0x10B7, 0x1202, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CH_3C982B },
into a text file, and move the file to your linux system.
make sure you have the kernel-source package (yum install kernel-source)
Follow the instructions in my previous post to apply the patch. If you have the patch in /tmp/3com.patch and have installed the latest kernel source you can apply the patch like this:
(become root)
su
cd /usr/src/linux-2.6.6-1.435/drivers/net
patch < /path/to/this.patch
follow the documentation on how to rebuild and install the kernel.
reboot into the new kernel.
kudzu should automatically detect your network card and offer to configure TCP/IP
Best Regards,
darkprok
|

27th June 2004, 02:52 AM
|
|
Registered User
|
|
Join Date: Jun 2004
Posts: 4

|
|
|
I'll try and let U know
Thank U very much in advance, U've been very kind.
Opo
|

29th June 2004, 10:12 PM
|
|
Registered User
|
|
Join Date: Jun 2004
Posts: 7

|
|
It works ;)
Hello...
I modified my 3c59x.c source code for my 2.6.5-1.358 kernel manually and recompilled the modules and it works fine. I´m running fedora core 2 now on my pundit-r.
Many thanks for this information.
 Larry
Last edited by farbrorlarry; 29th June 2004 at 11:22 PM.
Reason: Forgot something
|

30th June 2004, 04:47 AM
|
|
Registered User
|
|
Join Date: Jun 2004
Posts: 4

|
|
|
Still trying....what's 'patch' command?
Unfortunately I am not as good as our comrade who already succeded with it.
That's my situation, first of all I have Gentoo installation 2.4.25...hope is not an issue.
I've recompiled my kernel to produce ORIGINAL 3c59x module but when I try to insmod it I receive an error ( dmesg says No IRQ known for interrupt pin A of device ....)
I hope it can be solved by your patch.
I modified the 3c59x.c file as you suggested, it's time to go forth, you say:
"
cd /usr/src/linux-2.6.6-1.435/drivers/net
patch < /path/to/this.patch
"
NOW, what is this command 'patch'?
I thought I had to recompile 3c59x.c with something like
gcc -DMODUL _D__KERNEL__ 06 -c 3c59x.c
then
install -m 644 3c59x.o /lib/modules/'uname -r'/drivers/net
and finally
insmod 3c59x
would succeed! (hope so)
Am I wrong, is this command patch something different?
And btw, after compiling and installing the module, why should I recompile the kernel as I am running it as a module, I though it worked as a win dll (oops), is not?
Thank U for your help!
|

30th June 2004, 07:45 PM
|
|
Registered User
|
|
Join Date: Jun 2004
Posts: 7

|
|
Patch...
Patch command changes the source. Add/removes code from the source.
You can do this manually if you like.
Change this part:
CH_3CCFEM656_1,
CH_3C450,
CH_3C920,
CH_3C982A,
CH_3C982B,
to:
CH_3CCFEM656_1,
CH_3C450,
CH_3C920,
CH_ATI,
CH_3C982A,
CH_3C982B,
and
/* AKPM: from Don's 0.99Q */
PCI_USES_IO|PCI_USES_MASTER, IS_TORNADO|HAS_NWAY|HAS_HWCKSM, 128, },
{"3c920 Tornado",
PCI_USES_IO|PCI_USES_MASTER, IS_TORNADO|HAS_NWAY|HAS_HWCKSM, 128, },
{"3c982 Hydra Dual Port A",
PCI_USES_IO|PCI_USES_MASTER, IS_TORNADO|HAS_HWCKSM|HAS_NWAY, 128, },
{"3c982 Hydra Dual Port B",
PCI_USES_IO|PCI_USES_MASTER, IS_TORNADO|HAS_HWCKSM|HAS_NWAY, 128, },
to:
/* AKPM: from Don's 0.99Q */
PCI_USES_IO|PCI_USES_MASTER, IS_TORNADO|HAS_NWAY|HAS_HWCKSM, 128, },
{"3c920 Tornado",
PCI_USES_IO|PCI_USES_MASTER, IS_TORNADO|HAS_NWAY|HAS_HWCKSM, 128, },
{"3c920n CH_ATI 9100 IGP",
PCI_USES_IO|PCI_USES_MASTER,IS_TORNADO|HAS_MII|HAS _HWCKSM,128,},
{"3c982 Hydra Dual Port A",
PCI_USES_IO|PCI_USES_MASTER, IS_TORNADO|HAS_HWCKSM|HAS_NWAY, 128, },
{"3c982 Hydra Dual Port B",
PCI_USES_IO|PCI_USES_MASTER, IS_TORNADO|HAS_HWCKSM|HAS_NWAY, 128, },
and
{ 0x10B7, 0x4500, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CH_3C450 },
{ 0x10B7, 0x9201, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CH_3C920 },
{ 0x10B7, 0x1201, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CH_3C982A },
{ 0x10B7, 0x1202, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CH_3C982B },
to:
{ 0x10B7, 0x4500, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CH_3C450 },
{ 0x10B7, 0x9201, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CH_3C920 },
{ 0x10B7, 0x9202, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CH_ATI },
{ 0x10B7, 0x1201, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CH_3C982A },
{ 0x10B7, 0x1202, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CH_3C982B },
Then recompilled the module and reboot or rmmod 3c59x.
Or like this
cd /usr/src/linuxsrc
make modules
make modules_install
reboot
// Larry
|

5th July 2004, 05:01 AM
|
|
Registered User
|
|
Join Date: Jun 2004
Posts: 4

|
|
|
You two guys are great! Now ifconfig eth0 is working!!!!
Now I have to configure a pppoe coonnection with my adsl provider, am I too lazy if I ask you any hints?
Thank U, really.
Opo
|

8th July 2004, 03:50 PM
|
|
Registered User
|
|
Join Date: Jul 2004
Posts: 5

|
|
|
debian:/home/leo/linux-2.6.7/drivers/net# patch < /home/leo/patch.leo
patching file 3c59x.c
patch: **** malformed patch at line 4: CH_3CCFEM656_1,
that is what i get, i guess that it is an error?
|

8th July 2004, 07:20 PM
|
|
Registered User
|
|
Join Date: Jun 2004
Posts: 7

|
|
|
Edit source
Yes, Edit the source like i describe above and you will success-
|

9th July 2004, 11:31 AM
|
|
Registered User
|
|
Join Date: Jul 2004
Posts: 5

|
|
|
Thank you very much. It is works fine by now.
I got a asus pundit-r with igp9100.
Have you got any other suggestions about the config file. (are there any options that i dont want to use or some that i will definately need?
|

9th July 2004, 04:34 PM
|
|
Registered User
|
|
Join Date: Jul 2004
Posts: 5

|
|
|
drivers/net/3c59x.c:567: error: `HAS' undeclared here (not in a function)
drivers/net/3c59x.c:567: error: initializer element is not constant
drivers/net/3c59x.c:567: error: (near initialization for `vortex_info_tbl[33].drv_flags')
drivers/net/3c59x.c:567: error: parse error before "_HWCKSM"
drivers/net/3c59x.c:567: error: initializer element is not constant
drivers/net/3c59x.c:567: error: (near initialization for `vortex_info_tbl[33]')
drivers/net/3c59x.c:569: error: initializer element is not constant
drivers/net/3c59x.c:569: error: (near initialization for `vortex_info_tbl[34]')
drivers/net/3c59x.c:571: error: initializer element is not constant
drivers/net/3c59x.c:571: error: (near initialization for `vortex_info_tbl[35]')
drivers/net/3c59x.c:575: error: initializer element is not constant
drivers/net/3c59x.c:575: error: (near initialization for `vortex_info_tbl[36]')
drivers/net/3c59x.c:577: error: initializer element is not constant
drivers/net/3c59x.c:577: error: (near initialization for `vortex_info_tbl[37]')
drivers/net/3c59x.c:579: error: initializer element is not constant
drivers/net/3c59x.c:579: error: (near initialization for `vortex_info_tbl[38]')
make[3]: *** [drivers/net/3c59x.o] Error 1
make[2]: *** [drivers/net] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/home/leo/linux-2.6.7'
make: *** [stamp-build] Error 2
that is the error after i do it the manual way.. did it 3 times, 3 times same output so its not something like worng copy paste thing..
|

10th July 2004, 01:54 AM
|
|
Registered User
|
|
Join Date: Jun 2004
Posts: 7

|
|
|
Mail me the source
Hello!
Send the source to fedoraproblem@bilpark.nu and i will look at it.
Perhaps you have missed some parts?
// Larry
|

10th July 2004, 05:57 AM
|
|
Registered User
|
|
Join Date: Jul 2004
Posts: 5

|
|
|
has been send
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 13:08 (Saturday, 25-05-2013)
|
|
 |
 |
 |
 |
|
|