Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nic boot problem [solved] good for learning
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
rretz
Tux's lil' helper
Tux's lil' helper


Joined: 05 Apr 2005
Posts: 94
Location: Maastricht (NL)

PostPosted: Fri Aug 05, 2005 1:41 pm    Post subject: nic boot problem [solved] good for learning Reply with quote

Maybe a very noob question, but we all have to learn!

i did a clean gentoo-soureces install via the cd. This worked exelent.
During the installation i had a succesfull network connection. after the reboot my networkconnection is gone?????


thx very much
_________________
___________________
New sport:
500mtr eating concrete


Last edited by rretz on Fri Aug 05, 2005 5:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
MacGoerk
n00b
n00b


Joined: 04 Aug 2005
Posts: 17

PostPosted: Fri Aug 05, 2005 2:01 pm    Post subject: Reply with quote

Hi there.

What network card are you using?
Did you compile and modify the kernel or did you use genkernel?
Did you follow the instructions in the Installation Handbook? Chapter 8b - Networking Information
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=8#doc_chap2

InstallationCD Network settings are gone after you reboot from your HDD, you have to set this up manually.
Or it could result from a missing kernel option (if you modified it yourself), or from a missing module load.

Just answer the first 3 questions, I'll try to help you
Back to top
View user's profile Send private message
rretz
Tux's lil' helper
Tux's lil' helper


Joined: 05 Apr 2005
Posts: 94
Location: Maastricht (NL)

PostPosted: Fri Aug 05, 2005 2:33 pm    Post subject: Reply with quote

Q1 this is the controller.

Network Controller Integrated Dual Broadcom 5721 10/100/1000 NICs (Wake on LAN and PXE capable)

Q2 No

Q3 yes
_________________
___________________
New sport:
500mtr eating concrete
Back to top
View user's profile Send private message
MacGoerk
n00b
n00b


Joined: 04 Aug 2005
Posts: 17

PostPosted: Fri Aug 05, 2005 2:47 pm    Post subject: Reply with quote

Please post the results of
"ifconfig" and "lsmod"

PS:

Quote:

Q2 No

"Did you went there yesterday or today?" - "No"
No-what? "I don't used genkernel" or "I don't konfigured kernel and modules myself" ;D
Back to top
View user's profile Send private message
rretz
Tux's lil' helper
Tux's lil' helper


Joined: 05 Apr 2005
Posts: 94
Location: Maastricht (NL)

PostPosted: Fri Aug 05, 2005 3:09 pm    Post subject: Reply with quote

lsmod ==>

livecd root # lsmod
Module Size Used by
ipv6 185472 12
rtc 8488 0
evdev 6368 0
tg3 69332 0
parport_pc 27876 0
parport 22088 1 parport_pc
ahci 7604 0
sata_qstor 6100 0
sata_uli 4368 0
sata_sis 4240 0
sata_sx4 9716 0
sata_nv 5620 0
sata_via 5364 0
sata_svw 4596 0
sata_sil 5620 0
sata_promise 6900 0
libata 27700 10 ahci,sata_qstor,sata_uli,sata_sis,sata_sx4,sata_nv,sata_via,sata_svw,sata_sil,sata_promise
dm_mirror 15320 0
dm_mod 38080 1 dm_mirror
sbp2 16920 0
ohci1394 25812 0
ieee1394 59704 2 sbp2,ohci1394
sl811_hcd 9392 0
ohci_hcd 15384 0
uhci_hcd 23936 0
usb_storage 47680 0
usbhid 25696 0
ehci_hcd 22872 0
usbcore 75064 7 sl811_hcd,ohci_hcd,uhci_hcd,usb_storage,usbhid,ehci_hcd


ifconfig
livecd root # ifconfig
eth0 Link encap:Ethernet HWaddr 00:13:21:AE:07:DC
inet addr:192.168.3.114 Bcast:192.168.3.255 Mask:255.255.255.0
inet6 addr: fe80::213:21ff:feae:7dc/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:11937 errors:0 dropped:0 overruns:0 frame:0
TX packets:1605 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:888596 (867.7 Kb) TX bytes:274357 (267.9 Kb)
Interrupt:19

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
_________________
___________________
New sport:
500mtr eating concrete
Back to top
View user's profile Send private message
MacGoerk
n00b
n00b


Joined: 04 Aug 2005
Posts: 17

PostPosted: Fri Aug 05, 2005 3:23 pm    Post subject: Reply with quote

ok thats your live CD...
I don't know if the live CD has all network modules compiled INTO the Kernel.

I've found this in the kernel menuconfig:

Code:

CONFIG_BNX2:                                                       
  │ This driver supports Broadcom NetXtremeII gigabit Ethernet cards.       
  │                                                                         
  │ To compile this driver as a module, choose M here: the module           
  │ will be called bnx2.  This is recommended.                             
  │                                                                         
  │ Symbol: BNX2 [=n]                                                       
  │ Prompt: Broadcom NetXtremeII support                                   
  │   Defined at drivers/net/Kconfig:2051                                   
  │   Depends on: NETDEVICES && !UML && PCI                                 
  │   Location:                                                             
  │     -> Device Drivers                                                   
  │       -> Networking support                                           
  │         -> Network device support (NETDEVICES [=y])                     
  │           -> Ethernet (1000 Mbit)                 


try to do a lsmod when you've booted from HDD, not from the LiveCD.
It should read "bnx2" somewhere, if it does not, then the appropriate module isn't loaded and this is the reason for your problem.

Code:

find /lib/modules/<kernel version>/ -type f -iname '*.o' -or -iname '*.ko'

This will list all available compiled modules, if you got a bnx2 there then try to do a "modprobe bnx2".
After that execute "/etc/init.d/net stop" and then "/etc/init.d/net start".
Try to ping a internal ip after that and if that works do a "ping www.giga.de" which should work, unless your DNS Configuration is wrong.
If all this works, edit the /etc/modules.autoload.d/kernel-2.x ( x is your minor kernel version, eg 6) and insert a new line with "bnx2".
This should load the module everytime your system boots.

After all I'm not very familiar with the genkernel since I've compiled mine on my own. Maybe it's just the unloaded module.
Back to top
View user's profile Send private message
rretz
Tux's lil' helper
Tux's lil' helper


Joined: 05 Apr 2005
Posts: 94
Location: Maastricht (NL)

PostPosted: Fri Aug 05, 2005 3:32 pm    Post subject: Reply with quote

during the install (livecd) i have a working networkconnection internal and external.

But nit afther the reboot.

I'll go to work on this and let it know

thx

I dont have bnx2 aaargh!!!!
where do i get this
_________________
___________________
New sport:
500mtr eating concrete
Back to top
View user's profile Send private message
MacGoerk
n00b
n00b


Joined: 04 Aug 2005
Posts: 17

PostPosted: Fri Aug 05, 2005 3:45 pm    Post subject: Reply with quote

Yes, I feared this would happen.
As stated in https://forums.gentoo.org/viewtopic-t-364031-highlight-genkernel+recompile.html
you can invoke "genkernel --menuconfig all"

Navigate to
-> Device Drivers
-> Networking support
-> Network device support (NETDEVICES [=y])
-> Ethernet (1000 Mbit)

and select there the < > Broadcom NetXtremeII support. Your selection should be [M] rather than [*].
That will give you the bnx2 as a module and you can do the steps i've described before (modprobe bnx2, edit your modules autoload, etc).
But keep in mind that recompiling your genkernel WILL take some time to finish (depends on how much is changed I suppose).
If it takes some time, go and grab some coffee ;)

You can recompile your kernel from the live cd, but then you have to repeat all the mounting and chrooting steps, or you simply boot into the system and invoke the command from there, which is a lot easier. Follow the Steps in the Handbook regarding genkernel, though. Specially the sections about initrd installation and blah :)

Good Luck!

PS: I just can't drop the thought that my custom kernel compile was easier ^^
Back to top
View user's profile Send private message
rretz
Tux's lil' helper
Tux's lil' helper


Joined: 05 Apr 2005
Posts: 94
Location: Maastricht (NL)

PostPosted: Fri Aug 05, 2005 3:49 pm    Post subject: Reply with quote

The MF is not there.
the only broadcom i can find under 1000Mb is tigcom3 support and this is <M>.
_________________
___________________
New sport:
500mtr eating concrete
Back to top
View user's profile Send private message
MacGoerk
n00b
n00b


Joined: 04 Aug 2005
Posts: 17

PostPosted: Fri Aug 05, 2005 4:11 pm    Post subject: Reply with quote

ok , my fault, tigon 3 is the right one as i read here:
https://forums.gentoo.org/viewtopic-t-326300-highlight-broadcom+genkernel.html

try to do

modprobe tg3
modules-update


thats the reason your livecd lsmod output was:
"tg3 69332 0 "
Well...their Product Names are really weird... Someone slap Broadcom for this xD


Last edited by MacGoerk on Fri Aug 05, 2005 4:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
rretz
Tux's lil' helper
Tux's lil' helper


Joined: 05 Apr 2005
Posts: 94
Location: Maastricht (NL)

PostPosted: Fri Aug 05, 2005 5:33 pm    Post subject: Reply with quote

whoesj


it works.
My thx is great.
_________________
___________________
New sport:
500mtr eating concrete
Back to top
View user's profile Send private message
MacGoerk
n00b
n00b


Joined: 04 Aug 2005
Posts: 17

PostPosted: Fri Aug 05, 2005 5:40 pm    Post subject: Reply with quote

Np.

But don't forget to insert the module in the autoload file, or you will have fun the next time you reboot ^^
Back to top
View user's profile Send private message
rretz
Tux's lil' helper
Tux's lil' helper


Joined: 05 Apr 2005
Posts: 94
Location: Maastricht (NL)

PostPosted: Fri Aug 05, 2005 10:26 pm    Post subject: Reply with quote

i did

tg3

thx
_________________
___________________
New sport:
500mtr eating concrete
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