Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Pavilion + RTL8101e/8169 Problem [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
streamkid
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jul 2007
Posts: 82
Location: Greece

PostPosted: Sat Jul 28, 2007 10:54 am    Post subject: Pavilion + RTL8101e/8169 Problem [solved] Reply with quote

Hello,
this is my first laptop, so I may be missing laptop-specific linux things :)

The thing is a Pavilion 6520ea with core 2 duo 7100, and I have hard time installing 2007.0 from minimal cd (amd64).

I googled and found a gentoo-wiki page, where's stated that windblows disables the eth0 on shutdown so it doesn't WoL. I fixed this.

When I boot the cd, by the time I am logged in as root, both the leds from the notebook are down and from the switch (ie link is down). eth0 seems to exist though, and i can configure it too.

Looking more closely, the net link is up till the time when autoconfig starts, and in my laptop says "Detected Intel Core 2 Duo CPU 7100 @ 1.80GHz CPUs @ 1795MHz". Then, it goes down.

If i don't allow autoconfig to start, the link will remain active, but i won't have any eth0, ie not configured.

System also reports these:

Code:

livecd root# dmesg | grep eth0
eth0: RTL8101e at 0xffffc20010094000, 00:1b:24:2a:8e:f8, IRC 17
eth0: RTL8101e at 0xffffc20010094000, 00:1b:24:2a:8e:f8, IRC 17
r8169: eth0: link down
r8169: eth0: link down

livecd root# lspci
06:00.0 Ethernet Controller: Realtek Semiconductor Co., Ltd. RTL8101e PCI Express Fast Ethernet controller (rev 01)


Help me which ever way you can 8)

PS: I 'll try to configure the card myself, but i suppose autoconfig does more than configuring my eth0, and i 'm not willing to configure the whole livecd by hand :!:


Last edited by streamkid on Mon Jul 30, 2007 3:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
m4chine
Apprentice
Apprentice


Joined: 12 Mar 2003
Posts: 271
Location: Ventura, CA, USA

PostPosted: Sat Jul 28, 2007 8:51 pm    Post subject: Reply with quote

and I take it

Code:
ifconfig eth0 up
dhcpcd


does not help? what does

Code:
ifconfig -a


produce when you are booted into console after autoconfig shuts down you link?
_________________
never trust a man who can count to 1023 on his fingers.

-m4chine
Back to top
View user's profile Send private message
streamkid
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jul 2007
Posts: 82
Location: Greece

PostPosted: Sat Jul 28, 2007 9:22 pm    Post subject: Reply with quote

Thanks for the reply!! :)

ifconfig eth0 up
doesn't do anything. if is still down.

iirc, dhcpcd eth0 after 5' or so responds "timeout" or sth alike.

ifconfig -a
lists lo, eth0, eth1 (wlan).
eth0 from a hardware pov seems to be ok (recognised ok). it doesn't display ip, etc. though.


in the case i won't let autoconfig run, manually loading the r8169 module doesn't make the eth0 work. eth0: no such device. propably i am doing something wrong...
Back to top
View user's profile Send private message
m4chine
Apprentice
Apprentice


Joined: 12 Mar 2003
Posts: 271
Location: Ventura, CA, USA

PostPosted: Sat Jul 28, 2007 9:40 pm    Post subject: Reply with quote

How about trying it manually...

Code:
ifconfig eth0 add 192.168.1.2 broadcast 192.168.1.255 netmask 255.255.255.0
route add default gw 192.168.1.1


Assuming your network is a 192.168.1.x network and 192.168.1.2 is an available address. Let me know your results.
_________________
never trust a man who can count to 1023 on his fingers.

-m4chine
Back to top
View user's profile Send private message
streamkid
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jul 2007
Posts: 82
Location: Greece

PostPosted: Sat Jul 28, 2007 10:22 pm    Post subject: Reply with quote

I already know and tried this..

The _hardware_ is down.. as if the cable was unplugged..

Eg.: even if ip/tcp isn't configured, the link with the switch exists. here i 'm not linked..
i hope you understand what exactly the problem is..

if there is anything else i can do to help you help me i will do it:)
Back to top
View user's profile Send private message
m4chine
Apprentice
Apprentice


Joined: 12 Mar 2003
Posts: 271
Location: Ventura, CA, USA

PostPosted: Sat Jul 28, 2007 10:31 pm    Post subject: Reply with quote

Sorry, what I meant to say was don't run the autoconfig, gentoo nodetect (iirc), and load your module and then apply the ipaddress and route information. It looks like the realtek module name is 'r8169', but if I'm wrong, while booted up with the autoconfig on, you can get your loaded module my running 'lsmod'. Let me know, cheers!
_________________
never trust a man who can count to 1023 on his fingers.

-m4chine
Back to top
View user's profile Send private message
streamkid
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jul 2007
Posts: 82
Location: Greece

PostPosted: Sat Jul 28, 2007 10:47 pm    Post subject: Reply with quote

Yeah, that's the module name.

If i don't let autoconfig run, i don't have eth0.
modprobe r8169
won't do the job (although the module is ok).

so there must be something more. i tried loading other related realtek modules, but with no luck :/
Back to top
View user's profile Send private message
m4chine
Apprentice
Apprentice


Joined: 12 Mar 2003
Posts: 271
Location: Ventura, CA, USA

PostPosted: Sat Jul 28, 2007 10:58 pm    Post subject: Reply with quote

Umm, so what happens when you load the module while booted with nodetect? Do you get any errors, or no errors and just no eth* with ifconfig -a ?
_________________
never trust a man who can count to 1023 on his fingers.

-m4chine
Back to top
View user's profile Send private message
streamkid
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jul 2007
Posts: 82
Location: Greece

PostPosted: Sat Jul 28, 2007 11:10 pm    Post subject: Reply with quote

i boot..
blah blah
i get root
(link up till now)
modprobe r8169
(link down)

that happens..
before loading i have only lo..
then i get my wired as eth0 but not up..
:?
Back to top
View user's profile Send private message
m4chine
Apprentice
Apprentice


Joined: 12 Mar 2003
Posts: 271
Location: Ventura, CA, USA

PostPosted: Sat Jul 28, 2007 11:23 pm    Post subject: Reply with quote

and at that point
Code:
ifconfig eth0 up

has no effect? and you tried
Code:
dhcpcd

or
Code:

ifconfig eth0 add 192.168.1.2 broadcast 192.168.1.255 netmask 255.255.255.0
route add default gw 192.168.1.1

_________________
never trust a man who can count to 1023 on his fingers.

-m4chine
Back to top
View user's profile Send private message
streamkid
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jul 2007
Posts: 82
Location: Greece

PostPosted: Sat Jul 28, 2007 11:31 pm    Post subject: Reply with quote

yeah. dhcpd times out.

ifconfig configures the card, and
ifconfig eth0
reports back with ip and stuff

but, the link is down, and i can't ping anything etc (means that link is down)..

:eek:

thanks for you help till now :)
Back to top
View user's profile Send private message
m4chine
Apprentice
Apprentice


Joined: 12 Mar 2003
Posts: 271
Location: Ventura, CA, USA

PostPosted: Sat Jul 28, 2007 11:37 pm    Post subject: Reply with quote

I would try the 2006.1 LiveCD at this point and see what problems arise and if your hardware is even supported. Cause I'm stumped :? .
_________________
never trust a man who can count to 1023 on his fingers.

-m4chine
Back to top
View user's profile Send private message
streamkid
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jul 2007
Posts: 82
Location: Greece

PostPosted: Sat Jul 28, 2007 11:46 pm    Post subject: Reply with quote

i am going to do that also...
be back with report in about 15' :)

ok.. tested..
the r8169 module isn't loaded by default.. this gives me a link, but no eth0
modprobe r8169 loads the module, but i still don't have eth0. bbbuuuttt the links stays up..

it starts @!#% me....
Back to top
View user's profile Send private message
m4chine
Apprentice
Apprentice


Joined: 12 Mar 2003
Posts: 271
Location: Ventura, CA, USA

PostPosted: Sun Jul 29, 2007 12:09 am    Post subject: Reply with quote

streamkid wrote:
it starts @!#% me....


So you do/don't have a usable network connection?
_________________
never trust a man who can count to 1023 on his fingers.

-m4chine
Back to top
View user's profile Send private message
streamkid
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jul 2007
Posts: 82
Location: Greece

PostPosted: Sun Jul 29, 2007 12:13 am    Post subject: Reply with quote

do not..

also, what is the following supposed to be doing?
Code:
/etc/init.d/net.eth0 start


same as
ifconfig eth0 up
?

gonna try it right now..
--It doesn't help on the 2006.1 thing, because it's actually no eth0..
it could maybe help on the 2007.0 where there is an eth0 but down..
trying now.. :)
*Even if it does work, i will continue it tomorrow.. its 3.30am now... thanks for your help and support :D
Back to top
View user's profile Send private message
m4chine
Apprentice
Apprentice


Joined: 12 Mar 2003
Posts: 271
Location: Ventura, CA, USA

PostPosted: Sun Jul 29, 2007 12:29 am    Post subject: Reply with quote

It's Gentoo's start-up script for your net.eth0 interface. In /etc/config.d/net.eth0 you would place your eth0 settings (dhcp, static ip, etc.) and then add net.eth0 to your startup inits once you have a working system. I would bet that "rc-status net.eth0" returns that net.eth0 has already started once booted up with hardware detection on.
_________________
never trust a man who can count to 1023 on his fingers.

-m4chine
Back to top
View user's profile Send private message
streamkid
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jul 2007
Posts: 82
Location: Greece

PostPosted: Sun Jul 29, 2007 7:05 am    Post subject: Reply with quote

Booting and letting autoconfig load the driver
And then

Code:

livecd root# tail -f /var/log/messages &
livecd root# ifconfig eth0 down
livecd root# Jul 09:43:13 livecd r8169: eth0: link down
Jul 29 09:43:13 livecd netplugd[11109]: eth0 state DOWN flags 0x00001002 BROADCAST,MULTICAST -> 0x00001003 UP, BROADCAST,MULTICAST
livecd root# ifconfig eth0 up
livecd root# /etc/init.d/net.eth0 --verbose stop
* stopping eth0
 * Loading networking modules for eth0
  * modules: adsl apipa arping ccwgroup macchange macnet rpname netplugd iwconfig wpa_supplicant essidnet iptunnel ifconfig iproute2 pppd system vlan dhcpcd ip6to4
 * Bridging down eth0
  * Stoppin netplug on eth0
  * Shutting down eth0
livecd root# Jul 29 09:45:49 livecd netplugd[12085]: caugh signal 15 - exiting
livecd root# /etc/init.d/net.eth0 --verbose start
* starting eth0
 * Loading networking modules for eth0
   * modules: adsl apipa arping ccwgroup macchange macnet rpname netplugd iwconfig wpa_supplicant essidnet iptunnel ifconfig iproute2 pppd system vlan dhcpcd ip6to4
   * netplugd provides plug
   * iwconfig provides wireless
   * iproute 2 provides interface
   * pppd provides ppp
   * dhcpcd provides dhcp
  * Configuring eth0 for MAC address 00:1B:24:8E:F8
  *Starting netplug for eth0
   * Backgrounding
livecd root# Jul 29 09:49:21 livecd r8169: eth0: link down


Shouldn't be r8169 be in the "modules:" list?
Back to top
View user's profile Send private message
streamkid
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jul 2007
Posts: 82
Location: Greece

PostPosted: Sun Jul 29, 2007 8:47 pm    Post subject: Reply with quote

i found a driver on the realtek site..
i 'll compile the driver myself...


Last edited by streamkid on Mon Jul 30, 2007 10:51 am; edited 1 time in total
Back to top
View user's profile Send private message
streamkid
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jul 2007
Posts: 82
Location: Greece

PostPosted: Mon Jul 30, 2007 10:50 am    Post subject: Reply with quote

The weird thing is that i installed ubuntu 7.04 and it uses r8169 and everything works fine!!
any idea what to do?

ok, i did it :D
I 'll post a guide in case someone needs it :)
Back to top
View user's profile Send private message
systema encephale
n00b
n00b


Joined: 17 Apr 2006
Posts: 11

PostPosted: Tue Jul 31, 2007 12:48 pm    Post subject: Reply with quote

streamkid wrote:
The weird thing is that i installed ubuntu 7.04 and it uses r8169 and everything works fine!!
any idea what to do?

ok, i did it :D
I 'll post a guide in case someone needs it :)

Same problem here... I do need this guide :)
Link is down, also ifplugd can do nothing to pull it up.
Back to top
View user's profile Send private message
streamkid
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jul 2007
Posts: 82
Location: Greece

PostPosted: Sun Aug 19, 2007 6:53 am    Post subject: Reply with quote

What i did is a bit more complicated.
first of all, you are gonna fetch the installation files (emerge -f [fetch only]).

boot up from the gentoo minimal cd, with nodetect option enabled.
download from somewhere your stage and your portage. then, start creating the new enviroment. the only thing you will need to get is grub.
on your spare gentoo machine do this:
rm /usr/portage/distfiles/*
emerge -f grub

copy whatever was downloaded to /usr/portage/distfiles on the media you like (i used usb stick).
that's the only thing you need to boot your system.

be carefull. you need to download a kernel >2.6.19 but <2.6.22, so you can compile realtek's driver module. when you boot up your new enviroment, just compile it and upgrade your system correctly (ie portage update, etc).

i hope i helped you.
if you have any questions feel free to ask.
i did this process about one month ago but i will do it soon again hoping that intel drivers got improved. :twisted:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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