| View previous topic :: View next topic |
| Author |
Message |
pht n00b

Joined: 13 Aug 2005 Posts: 8
|
Posted: Sat Aug 13, 2005 1:23 pm Post subject: [Solved] First installation - Network trouble during boot |
|
|
Hi !
I though I had reached the end of Gentoo installation...
But here is the end of the boot sequence :
| Quote: | * Starting lo
* no interface module has been loaded
* Initializing random number generator ...
INIT : Entering runlevel : 3
* Starting metallog ...
* Starting fcron ...
* Starting eth0
* apipa : missing required function interface_exists
* ERROR: Problem starting needed services
* sshd was not started
* Starting local ...
* ERROR: Problem starting needed services
* netmount was not started |
I think the 2 last ERRORs comes from the first error "apipa ..."
Of course, I have no network...
I just came back to this command
# make menuconfig
And I discovered I had forgotten to add my network drivers (what an idiot)
[Device drivers > Networking support > Ethernet (10 or 100Mbit) > 3Com > 3C905 ...
I added this drivers and then I launched :
| Code: | # source /etc/profile
# make clean
# make menuconfig
# make && make modules_install
# cp arch/i386/boot/bzImage /boot/kernel-2.6.12-r6
# cp System.map /boot/System.map-2.6.12-r6
# cp .config /boot/config-2.6.12-r6
# etc-update
# update-modules
# reboot |
No way... same booting sequence.
Wot I did wrong ?
Wot could I correct ?
Thanks
Last edited by pht on Sun Aug 14, 2005 6:32 am; edited 1 time in total |
|
| Back to top |
|
 |
m_sqrd Guru

Joined: 18 Jul 2005 Posts: 366
|
Posted: Sat Aug 13, 2005 1:44 pm Post subject: |
|
|
did you mount boot befor you copy the files ?
I guess you add the drive to the kernel and not as a module, but if you made it a module did you
edit your ls /etc/modules.autoload.d/kernel{what ever version} |
|
| Back to top |
|
 |
meathoz n00b

Joined: 18 Jan 2004 Posts: 61 Location: Finland
|
Posted: Sat Aug 13, 2005 1:45 pm Post subject: |
|
|
in case you compiled it as a module it might not get loaded automatically at boot time.
try modprobe 3c509 and run /etc/init.d/net.eth0 restart |
|
| Back to top |
|
 |
pht n00b

Joined: 13 Aug 2005 Posts: 8
|
Posted: Sat Aug 13, 2005 2:18 pm Post subject: |
|
|
m_sqrd -> yes, in fact I did :
| Code: | # mount /dev/hda1 /boot
# cp arch/i386/boot/bzImage /boot/kernel-2.6.12-r6
# cp System.map /boot/System.map-2.6.12-r6
# cp .config /boot/config-2.6.12-r6 |
meathoz & m_sqrd -> I added the 3c905 drivers as "built-in" kernel ( [*] 3Com... and not [M] )
I am still blocked. I can't see the problem
Anyway, thanks guys ! |
|
| Back to top |
|
 |
m_sqrd Guru

Joined: 18 Jul 2005 Posts: 366
|
Posted: Sat Aug 13, 2005 4:19 pm Post subject: |
|
|
Ok sorry I did not see your update
what dose dmesg |grep eth say did it find the device? |
|
| Back to top |
|
 |
pht n00b

Joined: 13 Aug 2005 Posts: 8
|
Posted: Sat Aug 13, 2005 5:17 pm Post subject: |
|
|
dmesg | grep eth -> response : nothing (?!)
dmesg | grep net -> 3c59x: Donald Becker and ...
It seems this file "/etc/conf.d/net" could be the problem:
Here are the 2 lines in "/etc/conf.d/net"
config_eth0=( "192.168.1.10 netmask 255.255.255.0 broadcast 192.168.1.255" )
routes_eth0=( "default via 192.168.1.1" ) |
|
| Back to top |
|
 |
m_sqrd Guru

Joined: 18 Jul 2005 Posts: 366
|
Posted: Sat Aug 13, 2005 5:39 pm Post subject: |
|
|
hmmm
what about ifconfig -a
I think the 2 line in the conf file look fine? but I could be blind ;'} |
|
| Back to top |
|
 |
pht n00b

Joined: 13 Aug 2005 Posts: 8
|
Posted: Sat Aug 13, 2005 5:47 pm Post subject: |
|
|
Well, I have noticed that I could not use this command (?!)
ifconfig : command not found.
Could I have un-installed it ?
I can remember these strange commands during installation procedure :
| Code: | #emerge --unmerge modutils
#emerge module-init-tools
#emerge udev |
Is this clearer ?
Net configuration file uses to look like this :
iface_eth0="192.168.1.10 broadcast 192.168.1.255 netmask 255.255.255.0"
gateway="eth0/192.168.1.1"
(I have no more result with this)
When I launch #/etc/init.d/net start
* Caching service dependencies .... [ok]
* Starting eth0
* apipa : missing required function interface_exists
(same message during boot)
I have read in "/etc/init.d/net" help that configuration files are /etc/rc.conf and /etc/conf.d/net.lo
I did not find anything interested for network in /etc/rc.conf ?
I just did a symbolic link : #ln -s /etc/conf.d/net /etc/conf.d/net.lo
No result yet ... |
|
| Back to top |
|
 |
m_sqrd Guru

Joined: 18 Jul 2005 Posts: 366
|
Posted: Sat Aug 13, 2005 6:17 pm Post subject: |
|
|
your login as root correct?
you may need to emerge sys-apps/net-tools
but that should have pull in by the install or via your stage3 |
|
| Back to top |
|
 |
Hyp Apprentice

Joined: 14 Feb 2004 Posts: 192
|
Posted: Sun Aug 14, 2005 5:24 am Post subject: |
|
|
Hi,
I've got exactly the same problem (I already reinstalled my gentoo 3 times (everytime stage2), but it's always this fuc** error that stops me from using the system) . I'm getting no network and ifconfig also doesn't exist in /sbin.
Maybe a problem in the baselayout ?
Hyp |
|
| Back to top |
|
 |
pht n00b

Joined: 13 Aug 2005 Posts: 8
|
Posted: Sun Aug 14, 2005 6:22 am Post subject: |
|
|
That's it !
Step :
0- Boot with LiveCD 2005.1
1- #net-setup eth0 (config network to emerge !)
2- #swapon /dev/hda2 (mount swap)
3- #mount /dev/hda3 /mnt/gentoo (mount linux partition)
4- #mount /dev/hda1 /mnt/gentoo/boot (mount boot partition... un-usefull ?!)
5- #chroot /mnt/gentoo (go in my linux)
6- #emerge sys-apps/net-tools (as m_sqrd said)
7- #reboot
No more errors during booting sequence
... and full operating network !
Thanks a lot m_sqrd
(I hope Hyp will solve his problem too) |
|
| Back to top |
|
 |
Hyp Apprentice

Joined: 14 Feb 2004 Posts: 192
|
Posted: Sun Aug 14, 2005 6:33 am Post subject: |
|
|
Hi,
THANKS A LOT !! That's it.
Why isn't this done automatically during the installation process ??
Hyp |
|
| Back to top |
|
 |
pht n00b

Joined: 13 Aug 2005 Posts: 8
|
Posted: Sun Aug 14, 2005 6:37 am Post subject: |
|
|
Yep.. quite strange !
When I first installed LiveCD 2005.0, I didn't meet this problem. |
|
| Back to top |
|
 |
shoan n00b


Joined: 27 Oct 2003 Posts: 27
|
Posted: Thu Aug 18, 2005 4:29 am Post subject: |
|
|
| It solved the problem for me too. |
|
| Back to top |
|
 |
Ribs Tux's lil' helper


Joined: 16 Nov 2002 Posts: 133 Location: UK
|
Posted: Wed Aug 24, 2005 3:59 am Post subject: |
|
|
Tip also helped me, even tho portage said the package was already merged!
Cheers. _________________ Ribbed for your pleasure!
AmberNet IRC network;
http://www.ambernet.org |
|
| Back to top |
|
 |
wing_arebo n00b

Joined: 13 Sep 2005 Posts: 1
|
Posted: Tue Sep 13, 2005 8:55 pm Post subject: |
|
|
Thanks a lot!
It solved the problem for me too. |
|
| Back to top |
|
 |
ShawnWheatley n00b

Joined: 02 Mar 2005 Posts: 8
|
Posted: Wed Sep 14, 2005 10:11 am Post subject: Solved for me as well, VMWare Guest |
|
|
Thanks, this helped. I'm installing on VMWare 5. No issues now.
Is this a documented bug with the 2005.1 install? Where exactly does this problem start, in the stages? I was doing a Stage 2 install myself. |
|
| Back to top |
|
 |
Clawz n00b

Joined: 23 Sep 2005 Posts: 5 Location: The Netherlands
|
Posted: Fri Sep 23, 2005 8:41 am Post subject: |
|
|
Thank you, this has helped me also. Was googling for quite some time, i'm glad i hit this thread
Thanks again. |
|
| Back to top |
|
 |
wigy n00b


Joined: 27 Oct 2005 Posts: 1 Location: Budapest, Hungary
|
Posted: Thu Oct 27, 2005 6:26 pm Post subject: Do not temper too much USE flags before stage3! |
|
|
| m_sqrd wrote: | your login as root correct?
you may need to emerge sys-apps/net-tools
but that should have pull in by the install or via your stage3 |
It is my second stage1 gentoo install. The first went really painlessly, although it was installed to a laptop and a lot of things could go wrong - but did not.
This second one drove me crazy. There were bootstrap problems, network connection drops, and a lot of nightmare like missing /sbin/ifconfig mentioned in this thread. The only nasty thing I done was that I set too much USE flags too early. When the handbook said I can edit some USE flags in section 6.a of the handbook, I ran through the list in /usr/portage/profiles/use.desc and set or forbid a lot of flags. This pulled in some packages like openafs during stage1 -> stage2 bootstrap if I remember right, and caused also some compile problems.
So please be patient, and do not temper too much with USE flags in make.conf before stage3, or if you do so - like me - be prepared to read forum threads to find solutions caused by dependencies portage maintainers were not aware of during bootstrap and emerge system phases. _________________ Success comes from carrying on when others give up. |
|
| Back to top |
|
 |
mobiusproject Tux's lil' helper

Joined: 14 Jun 2003 Posts: 106
|
Posted: Tue Nov 01, 2005 8:18 pm Post subject: |
|
|
Just bumping to say thank you. I was trying to figure out the reason that this wasn't working, and it seems that net-tools wasn't installed again after bootstrap.
| Code: | $ emerge net-tools -pv
[ebuild R ] sys-apps/net-tools-1.60-r11 -build* +nls -static 0 kB |
The build that I was using was compiled with the "build" use flag which is only done while bootstrapping. I also noticed that I didn't have ifconfig (which is part of net-tools) until after I rebuilt it. |
|
| Back to top |
|
 |
kraken n00b

Joined: 27 Mar 2005 Posts: 24
|
Posted: Wed Nov 09, 2005 8:23 am Post subject: |
|
|
| Bumping to thank as well. |
|
| Back to top |
|
 |
lemaymd n00b


Joined: 01 Sep 2003 Posts: 26 Location: Urbana, IL
|
Posted: Wed Nov 09, 2005 8:48 pm Post subject: |
|
|
You have my thanks as well!
One remaining issue though, why does portage say net-tools is up-to-date when it's not even installed? This seems quite severe. I even suspected it was missing before reading this, but an emerge -s net-tools told me I was fine. I would have never tried remerging it if I hadn't read this... _________________ - Abit AN8-SLI
- Athlon64 4400+ X2 Toledo
- 2x 1GB Patriot CL2 PC3200 RAM
- 2x Hitachi Deskstar SATA-150 as RAID-0: 115MB/s
- Sapphire Radeon PCIe X300SE 128MB
- vanilla kernel v.2.6.14.5, GCC 4.1.0 |
|
| Back to top |
|
 |
blommethomas Apprentice


Joined: 16 Nov 2005 Posts: 283 Location: roeselare, belgium
|
Posted: Sat Nov 19, 2005 6:33 am Post subject: |
|
|
| Worked fine with me too, but this should be noticed in the manual |
|
| Back to top |
|
 |
javabiz Tux's lil' helper


Joined: 17 Aug 2004 Posts: 116 Location: 40�27'17" North, 109�32'8" West
|
Posted: Sat Nov 19, 2005 8:11 am Post subject: Currently installing RR4 and this looks like same problem! |
|
|
| I just returned to Gentoo after using the rr4 revised GLI installer. If a few problems can be worked out--rr4 and GLI could be the wave of the future! I've been a Mepis, CentOS, Kubuntu supporter since leaving this forum late last year (2004) but the prodigal son has returned! I ended up with this same problem after installing with rr4--I will try this out and report back what happens! |
|
| Back to top |
|
 |
motosauro n00b


Joined: 23 Nov 2005 Posts: 64 Location: Verona, Italy
|
Posted: Thu Nov 24, 2005 6:29 am Post subject: |
|
|
| m_sqrd wrote: | your login as root correct?
you may need to emerge sys-apps/net-tools
but that should have pull in by the install or via your stage3 |
Thanks
I was stuck and thought I had to restart from scratch.
Your hint solved my problem.
BTW I still had to add the tulip module to /etc/modules.autoload.d/kernel-xxxx
but now everything works just fine.
I think this piece of information should be added in the manual
P.S.
OT
This is my first post
Hi all
/OT _________________ Per aspera ad astra
If apache complains about segmentation faults on start try to clean /tmp of all apache owned files  |
|
| Back to top |
|
 |
|