View previous topic :: View next topic |
Author |
Message |
boazbd Tux's lil' helper
Joined: 07 Sep 2006 Posts: 78 Location: Jerusalem, Israel
|
Posted: Fri Apr 13, 2007 7:41 pm Post subject: marvell 8056 problems... [SOLVED] |
|
|
Hi all.
I've got the ga-965p-ds4 mobo with on board marvell 8056 lan, which I understand is supposed to work with the sky2 module.
I compiled this module both into the kernel and as a module with no success..
right now I have it compiled into the kernel and the weird thing is it gets identified and i can even start it but then i cant reach the network:
Code: |
boaz init.d # /etc/init.d/net.eth2 start
* Starting eth2
* Configuration not set for eth2 - assuming DHCP
* Bringing up eth2
* dhcp
* Running dhcpcd ... [ ok ]
* eth2 received address 192.168.1.104/24
|
another thing is that in dmesg it is first named eth1 and then somehow eth2 :
Code: |
boaz init.d # dmesg | grep sky2
sky2 v1.10 addr 0xf8000000 irq 16 Yukon-EC Ultra (0xb4) rev 2
sky2 eth1: addr 00:16:e6:d9:03:52
sky2 eth2: enabling interface
sky2 eth2: ram buffer 0K
sky2 eth2: disabling interface
sky2 eth2: enabling interface
sky2 eth2: ram buffer 0K
sky2 eth2: Link is up at 100 Mbps, full duplex, flow control both
|
any help will be appreciated.
Last edited by boazbd on Sat Apr 14, 2007 7:04 pm; edited 1 time in total |
|
Back to top |
|
|
firsm n00b
Joined: 18 Dec 2003 Posts: 7
|
Posted: Sat Apr 14, 2007 1:27 am Post subject: |
|
|
Hi there,
I have exactly the same motherboard (DS3). What kernel are you running? I didn't get that module to work with anything below 2.6.20. I'm running 2.6.20 now and it seems to work fine.
- firsm |
|
Back to top |
|
|
boazbd Tux's lil' helper
Joined: 07 Sep 2006 Posts: 78 Location: Jerusalem, Israel
|
Posted: Sat Apr 14, 2007 7:45 am Post subject: |
|
|
hi firsm. i gentoo-sources-2.6.20 and as i said, the hardware is recognized and and i even get an i.p when i start it but
i cant really use it, i cant even ping my router (says host unreachable). |
|
Back to top |
|
|
xanas3712 Guru
Joined: 15 Oct 2004 Posts: 455
|
Posted: Sat Apr 14, 2007 8:04 am Post subject: |
|
|
I have an S3, not a DS3, but it has the same chip for this I believe (rev 12) It doesn't work in gigabit mode very well (errors and it's not any faster than 10/100) but it does work for me. And I think I've used as low as kernel 2.6.18 with it (started with that due to jmicron issues being somewhat resolved).
I never had any problems akin to yours, if you are using the same sources I've got to think maybe you have a hardware problem? I'm not sure why though but I do find it odd just as you did that it changes from eth1 to eth2. My adapter is set as eth0. |
|
Back to top |
|
|
boazbd Tux's lil' helper
Joined: 07 Sep 2006 Posts: 78 Location: Jerusalem, Israel
|
Posted: Sat Apr 14, 2007 8:37 am Post subject: |
|
|
the hardware is assigned eth2 because i use an old 3com pci network card (instead of this one which obviously isn't working),
but still the switch from eth1 to eth2 is weird.... maybe i have something missing in my kernel other than the sky2 driver??
P.S. the marvell lan works flawlessly in windows xp so its probably not a hardware issue... |
|
Back to top |
|
|
Chris W l33t
Joined: 25 Jun 2002 Posts: 972 Location: Brisbane, Australia
|
Posted: Sat Apr 14, 2007 9:59 am Post subject: Re: marvell 8056 problems... |
|
|
boazbd wrote: |
another thing is that in dmesg it is first named eth1 and then somehow eth2 :
Code: |
boaz init.d # dmesg | grep sky2
sky2 v1.10 addr 0xf8000000 irq 16 Yukon-EC Ultra (0xb4) rev 2
sky2 eth1: addr 00:16:e6:d9:03:52
sky2 eth2: enabling interface
sky2 eth2: ram buffer 0K
sky2 eth2: disabling interface
sky2 eth2: enabling interface
sky2 eth2: ram buffer 0K
sky2 eth2: Link is up at 100 Mbps, full duplex, flow control both
|
|
This is probably the udev persistent net rules, which tie the MAC address to the interface name in a constant way to avoid any nasty surprises. You can fiddle with this in /etc/udev/rules.d/70-persistent-net.rules. _________________ Cheers,
Chris W
"Common sense: The collection of prejudices acquired by age 18." -- Einstein |
|
Back to top |
|
|
boazbd Tux's lil' helper
Joined: 07 Sep 2006 Posts: 78 Location: Jerusalem, Israel
|
Posted: Sat Apr 14, 2007 11:29 am Post subject: |
|
|
thanks Chris!
changed udev rules to use the sky2 driver as eth1 and now everything is nice and working! |
|
Back to top |
|
|
xanas3712 Guru
Joined: 15 Oct 2004 Posts: 455
|
Posted: Sat Apr 14, 2007 9:21 pm Post subject: |
|
|
Cool, now I know something too. |
|
Back to top |
|
|
boazbd Tux's lil' helper
Joined: 07 Sep 2006 Posts: 78 Location: Jerusalem, Israel
|
Posted: Thu Jul 26, 2007 7:04 am Post subject: |
|
|
P.S
I had many problems using the sky2 driver supplied with the kernel (the NIC would stop working very often).
Now using sk98lin patch from marvell site, it works great, no problems since then... |
|
Back to top |
|
|
|