Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
install fail [SOLVED]
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Sun Jul 07, 2013 10:20 am    Post subject: install fail [SOLVED] Reply with quote

Hi!
Trying to install 64 bit Gentoo by Gentoo Linux AMD64 Handbook http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml
Compiled kernel by
Code:
genkernel all

warning:
http://s1107.photobucket.com/user/hcyildiran/media/DSCN2012.jpg.html?sort=3&o=1

Code:
# find /lib/modules/3.8.13-gentoo/ -type f -iname '*.o' -or -iname '*.ko' | less


http://s1107.photobucket.com/user/hcyildiran/media/DSCN2013.jpg.html?sort=3&o=0

And I can't move :oops:


Last edited by hcyildiran on Mon Jul 15, 2013 5:51 pm; edited 3 times in total
Back to top
View user's profile Send private message
slis
n00b
n00b


Joined: 11 Oct 2010
Posts: 67
Location: Limanowa

PostPosted: Sun Jul 07, 2013 10:41 am    Post subject: Reply with quote

You've got a typo
"type" insted of "-type"
and there is no "-or" in your command line.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43221
Location: 56N 3W

PostPosted: Sun Jul 07, 2013 10:46 am    Post subject: Reply with quote

hcyildiran,

You are at the stage where you are populating /etc/conf.d/modules.

If you skip this part, about the only thing that may not work is your network.
Provided your new install boots, you can start that manually after the reboot.

If you know your network module, by running lspci -k outside the chroot, you can add it to /etc/conf.d/modules now.
Almost everything else will be detected by the kernel and udev, which will load the right modules.

genkernel will have build a lost of cruft you don't need.

--- edit ---

Oh, Gentoo installs never fail, they complete with varying degrees of success. :)
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Sun Jul 07, 2013 10:48 am    Post subject: Reply with quote

Oh yes, long installation time, reduced carefulness. but how can I get back
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43221
Location: 56N 3W

PostPosted: Sun Jul 07, 2013 10:52 am    Post subject: Reply with quote

hcyildiran,

Mount your filesystems - skip the partiting and filesystem making steps in the handbook.
Mount /proc and /dev inside the chroot as per the handbook
Do the chroot steps as per the handbook.

You are now back in your chroot as if you had never left.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Sun Jul 07, 2013 11:06 am    Post subject: Reply with quote

NeddySeagoon wrote:
hcyildiran,

.....

Oh, Gentoo installs never fail, they complete with varying degrees of success. :)


it's nice and fine compliment. Thank you

I'm mounting again.


Last edited by hcyildiran on Sun Jul 07, 2013 11:25 am; edited 1 time in total
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Sun Jul 07, 2013 11:24 am    Post subject: Reply with quote

By the way, does genkernel compilation have negative effect on system performance and speed
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43221
Location: 56N 3W

PostPosted: Sun Jul 07, 2013 8:11 pm    Post subject: Reply with quote

hcyildiran,

genkernel takes a shotgun approach to making your kernel. It makes a fully modular kernel including almost every module known to Linus.
It has to omit things where the user is forced to choose between incompatible options, as
a) it can't read your mind
b) it does not do any hardware detection at all
Everyone gets the same kernel out of genkernel all.

The result of this approach is that the kernel will run on almost any hardware but is likely to have a few key bits missing, especially in the video support department.

Building all the extra (to you) modules that you will never use takes time and disk space. This is the price you pay for having a generic kernel.
Once your box is booted any adverse effects on system performance are vanishingly small.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Sun Jul 07, 2013 8:25 pm    Post subject: Reply with quote

Code:
lspci -k


[IMG]http://i1107.photobucket.com/albums/h383/hcyildiran/DSCN2016.jpg[/IMG]
[IMG]http://i1107.photobucket.com/albums/h383/hcyildiran/DSCN2015.jpg[/IMG]

Code:
nano -w /etc/conf.d/modules

[IMG]http://i1107.photobucket.com/albums/h383/hcyildiran/DSCN2014.jpg[/IMG]

What should I do?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43221
Location: 56N 3W

PostPosted: Sun Jul 07, 2013 8:39 pm    Post subject: Reply with quote

hcyildiran,

All the lines in your /etc/conf.d/modules are commented out.

You will need to load your r8169 module.
Code:
modules="r8169"

You will need to at your WiFi and USB3 drivers to that list too, everything else will load automatically.

Hint: its a space separated list of module names.

If you mess up, you can do
Code:
modprobe <module_name>
There is once case where modprobe will fail.
You are trying to use a usb keyboard to modprobe a module needed for the usb keyboard.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Sun Jul 07, 2013 9:13 pm    Post subject: Reply with quote

I think there is something wrong.

Code:
# modprobe xhci_hcd
modprobe: FATAL: Module xhci_hcd not found.
# modprobe iwlwifi
# modprobe r8169
modprobe: FATAL: Module r8169 not found.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43221
Location: 56N 3W

PostPosted: Sun Jul 07, 2013 9:18 pm    Post subject: Reply with quote

hcyildiran,

Are those messages after you boot your own install or while you are using the liveCD kernel?

At face value, the modules were not built.
However, if they were configured as <*>, the code is built into the kernel binary, not as loadable modules.

Boot into your install.
Does
Code:
ifconfig -a
show you have an ethernet interface ?
If so, r8169 is built in.

Code:
zgrep 8169 /proc/config.gz
may help too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Sun Jul 07, 2013 9:31 pm    Post subject: Reply with quote

Sorry`I'm not good at Linux and English. I'm sending photo

[IMG]http://i1107.photobucket.com/albums/h383/hcyildiran/DSCN2017.jpg[/IMG]
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43221
Location: 56N 3W

PostPosted: Sun Jul 07, 2013 9:44 pm    Post subject: Reply with quote

hcyildiran,

Your photo shows
Code:
(chroot) livecd linux #
which is the root prompt when you boot the liveCD and move into the chroot.
When you are in the chroot like this, you use the liveCD kernel and modules not your own.

With the r8169 module loaded on the liveCD, your wired Ethernet is called enp5s0
The zgrep command shows that the liveCD kernel has the r8169 module configured as a module =m, not built in, which would show as =y.
ifconfig does not list your WiFi interface.


Now we need to know about your own kernel.
Boot into your own kernel and do the same tests.

iwconfig is provided by the wireless-tools package, which you will need to emerge.

Your English is fine.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Sun Jul 07, 2013 10:42 pm    Post subject: Reply with quote

I'm trying to understand anything I did was in livecd? Nothing in system?
I've begun to install glibc it's taking much more time. So I couldn't find answer.
The job begins in the morning.

Regards
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43221
Location: 56N 3W

PostPosted: Mon Jul 08, 2013 4:23 pm    Post subject: Reply with quote

hcyildiran,

Shut down your system.
Remove the CD from the drive.
Start your system. This will use your own kernel and modules.

Perform the tests again.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Mon Jul 08, 2013 4:39 pm    Post subject: Reply with quote

Before completion the install?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43221
Location: 56N 3W

PostPosted: Mon Jul 08, 2013 5:01 pm    Post subject: Reply with quote

hcyildiran,

What steps do you still have to perform ?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Mon Jul 08, 2013 5:05 pm    Post subject: Reply with quote

Configuring system, necessary tools, bootloader
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43221
Location: 56N 3W

PostPosted: Mon Jul 08, 2013 5:08 pm    Post subject: Reply with quote

hcyildiran,

You can come back to /etc/conf.d/modules later after you have rebooted your system.

Continue with the other steps. If modules does not list r8169 you will not have networking.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Mon Jul 08, 2013 5:26 pm    Post subject: Reply with quote

Meanwhile I've just completed it

reboot

[IMG]http://i1107.photobucket.com/albums/h383/hcyildiran/DSCN2018.jpg[/IMG]
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Mon Jul 08, 2013 5:41 pm    Post subject: Reply with quote

I just want to ask how I can start my system before installtion finish
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43221
Location: 56N 3W

PostPosted: Mon Jul 08, 2013 5:52 pm    Post subject: Reply with quote

hcyildiran,

You need a kernel, a bootloader and your stage3 to start your system.

You need to do section 8, or your network will not work and you will not be able to log in, even as root.
In section 9, you only need a DHCP client, or your networks won't work.
You need to do section 10, as you must have a boot loader.

Everything else can be added later.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
hcyildiran
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2011
Posts: 113

PostPosted: Mon Jul 08, 2013 5:58 pm    Post subject: Reply with quote

hcyildiran wrote:
Meanwhile I've just completed it

reboot

[IMG]http://i1107.photobucket.com/albums/h383/hcyildiran/DSCN2018.jpg[/IMG]




Sorry but my stage3 does mean nothing to me, How?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43221
Location: 56N 3W

PostPosted: Mon Jul 08, 2013 8:44 pm    Post subject: Reply with quote

hcyildiran,

The stage3 is the file you downloaded and untared to /mnt/gentoo in step5.

Your photo shows
Code:
CONFIG_DEVTMPFS=y is required in your kernel configuration

It is needed for your system to start.

Get back into your chroot, rebuild and reinstall your kernel. To find the item in menuconfig, press / and enter DEVTMPFS
Code:
  ┌───────────────────────────────────────── Search Results ─────────────────────────────────────────┐
  │ Symbol: DEVTMPFS [=y]                                                                            │ 
  │ Type  : boolean                                                                                  │ 
  │ Prompt: Maintain a devtmpfs filesystem to mount at /dev                                          │ 
  │   Defined at drivers/base/Kconfig:24                                                             │ 
  │   Depends on: HOTPLUG [=y]                                                                       │ 
  │   Location:                                                                                      │ 
  │     -> Device Drivers                                                                            │ 
  │ (1)   -> Generic Driver Options                                                                  │ 
  │                                                                                                  │ 
  │                                                                                                  │ 
  │ Symbol: DEVTMPFS_MOUNT [=y]                                                                      │ 
  │ Type  : boolean                                                                                  │ 
  │ Prompt: Automount devtmpfs at /dev, after the kernel mounted the rootfs                          │ 
  │   Defined at drivers/base/Kconfig:44                                                             │ 
  │   Depends on: DEVTMPFS [=y]                                                                      │ 
  │   Location:                                                                                      │ 
  │     -> Device Drivers                                                                            │ 
  │       -> Generic Driver Options                                                                  │ 
  │ (2)     -> Maintain a devtmpfs filesystem to mount at /dev (DEVTMPFS [=y])                       │ 
  │                                                                               

Notice
Code:
Depends on: HOTPLUG [=y] 
which means that the hotplug option must be on too.
You can use the search to find it too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
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
Goto page 1, 2, 3  Next
Page 1 of 3

 
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