Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
marvell 8056 problems... [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
boazbd
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2006
Posts: 78
Location: Jerusalem, Israel

PostPosted: Fri Apr 13, 2007 7:41 pm    Post subject: marvell 8056 problems... [SOLVED] Reply with quote

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
View user's profile Send private message
firsm
n00b
n00b


Joined: 18 Dec 2003
Posts: 7

PostPosted: Sat Apr 14, 2007 1:27 am    Post subject: Reply with quote

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
View user's profile Send private message
boazbd
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2006
Posts: 78
Location: Jerusalem, Israel

PostPosted: Sat Apr 14, 2007 7:45 am    Post subject: Reply with quote

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
View user's profile Send private message
xanas3712
Guru
Guru


Joined: 15 Oct 2004
Posts: 455

PostPosted: Sat Apr 14, 2007 8:04 am    Post subject: Reply with quote

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
View user's profile Send private message
boazbd
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2006
Posts: 78
Location: Jerusalem, Israel

PostPosted: Sat Apr 14, 2007 8:37 am    Post subject: Reply with quote

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
View user's profile Send private message
Chris W
l33t
l33t


Joined: 25 Jun 2002
Posts: 972
Location: Brisbane, Australia

PostPosted: Sat Apr 14, 2007 9:59 am    Post subject: Re: marvell 8056 problems... Reply with quote

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
View user's profile Send private message
boazbd
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2006
Posts: 78
Location: Jerusalem, Israel

PostPosted: Sat Apr 14, 2007 11:29 am    Post subject: Reply with quote

thanks Chris!
changed udev rules to use the sky2 driver as eth1 and now everything is nice and working!
Back to top
View user's profile Send private message
xanas3712
Guru
Guru


Joined: 15 Oct 2004
Posts: 455

PostPosted: Sat Apr 14, 2007 9:21 pm    Post subject: Reply with quote

Cool, now I know something too.
Back to top
View user's profile Send private message
boazbd
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2006
Posts: 78
Location: Jerusalem, Israel

PostPosted: Thu Jul 26, 2007 7:04 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum