Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
First Installation - No Modules loaded on reboot [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
kurama
n00b
n00b


Joined: 19 Apr 2014
Posts: 6

PostPosted: Sat Apr 19, 2014 9:01 pm    Post subject: First Installation - No Modules loaded on reboot [Solved] Reply with quote

Hello guys, I'm new to the forum and to gentoo itself, I come from Archlinux and wanted to try out gentoo to learn more.

Problem is, I followed the handbook, configured and compiled the kernel, but when I boot no modules are loaded:
Code:
#lsmod

Module                           Size Used by

And I get these messages which I assume are a consequence of the system not loading any module: http://i.imgur.com/PpChf2e.jpg
I installed systemd from the chroot, following the gentoo wiki. I'm thinking that if something went wrong in migrating to systemd, it could be the reason of my issue, but I really can't figure it out.

Any help would be very much appreciated!


Last edited by kurama on Sun Apr 20, 2014 7:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 8855

PostPosted: Sat Apr 19, 2014 9:25 pm    Post subject: Reply with quote

Those messages are informational. Depending on your kernel configuration, you may not need to load modules. Some users even disable module loading entirely and compile everything directly into the kernel. Is there some specific functionality that is not working for you?
Back to top
View user's profile Send private message
kurama
n00b
n00b


Joined: 19 Apr 2014
Posts: 6

PostPosted: Sat Apr 19, 2014 9:36 pm    Post subject: Reply with quote

Hu wrote:
Those messages are informational. Depending on your kernel configuration, you may not need to load modules. Some users even disable module loading entirely and compile everything directly into the kernel. Is there some specific functionality that is not working for you?

For example I emerged dhcpcd from the chroot, and enabled the daemon with systemd. It doesn't start and i also get:
Code:
#dhcpcd
dhcpcd: command not found

Another thing: those messages seem mouse related. In the installation live usb the mouse is working and now it isn't.
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 8855

PostPosted: Sat Apr 19, 2014 11:31 pm    Post subject: Reply with quote

Sorry, I do not support systemd. However, dhcpcd ought to be found. For the version I have installed, it is in /sbin, which should be part of your path. Please provide more specific information. What profile are you using? What version of dhcpcd did you install? In what way does the mouse not work?
Back to top
View user's profile Send private message
kurama
n00b
n00b


Joined: 19 Apr 2014
Posts: 6

PostPosted: Sun Apr 20, 2014 12:42 am    Post subject: Reply with quote

Hu wrote:
Please provide more specific information. What profile are you using? What version of dhcpcd did you install? In what way does the mouse not work?

- I'm using KDE with systemd profile (cause i planned to install KDE)
- dhcpcd is in fact located in /sbin, if I run:
Code:
# sbin/dhcpcd

I am able to start it, but it outputs an error "no valid interfaces found". Version is 6.2.0
(in chroot i am able to connect via ethernet, use dhcpcd and see the ethernet interface)
- While I was in the live USB, I was able to move the shell cursor by moving the mouse, now it doesn't work. I don't know if it's normal or not.

could be helpful if I manage to pastebin my kernel .config file?

By the way, thank you very much for your help!
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6444
Location: Goose Creek SC

PostPosted: Sun Apr 20, 2014 3:45 am    Post subject: Reply with quote

boot usb, mount the gentoo partition,
Code:
wgetpaste /mnt/gentoo/usr/src/linux/.config
lspci -k | wgetpaste
lsusb | wgetpaste
wgetpaste /proc/cpuinfo
parted -l | wgetpaste
post url's returned

edit to use cd/usb vice directly vice using the chroot.
_________________
Defund the FCC.


Last edited by DONAHUE on Sun Apr 20, 2014 2:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
kurama
n00b
n00b


Joined: 19 Apr 2014
Posts: 6

PostPosted: Sun Apr 20, 2014 10:14 am    Post subject: Reply with quote

DONAHUE wrote:
boot usb, mount the gentoo partition, post url's returned


wgetpaste /usr/src/linux/.config
http://bpaste.net/show/218758/

lspci -k | wgetpaste
http://bpaste.net/show/218759/

susb | wgetpaste
http://bpaste.net/show/218768/

wgetpaste /proc/cpuinfo
http://bpaste.net/show/218769/

parted -l | wgetpaste
For this one I get:
Error: Invalid partition table - recursive partition on /dev/sdb

So I got you a pic of:
Code:
cfdisk /dev/sda

(and I had to emerge usbutils and pciutils, which I assume is normal for a fresh installation?)

EDIT: Changed the links to make them clickable.


Last edited by kurama on Sun Apr 20, 2014 5:42 pm; edited 2 times in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6444
Location: Goose Creek SC

PostPosted: Sun Apr 20, 2014 3:58 pm    Post subject: Reply with quote

The kernel config does not include a driver for the ethernet controller.
Quote:
# CONFIG_R8169 is not set
menuconfig needs
Quote:
Device Drivers --->
[*] Network device support --->
[*] Ethernet driver support --->
[*] Realtek devices
<*> Realtek 8169 gigabit ethernet support
boot the installed gentoo system, edit menuconfig, recompile and recopy the kernel, reboot.If there is no internet connection after reboot: Does
Code:
ifconfig -a
show interface(s)? If so does
Code:
ifconfig
show interface(s)?

The mouse functions in the usb system because the liveusb includes the gpm package. With an ethernet connection in the installed system or in the chroot run
Code:
emerge gpm
systemctl enable gpm.service
systemctl start gpm.service


Quote:
(and I had to emerge usbutils and pciutils, which I assume is normal for a fresh installation?)
Sorry, meant to say wgetpaste /mnt/gentoo/usr/src/linux/.config , so all commands could be run from the usb. Adding the utilities to the basic gentoo system is a good thing as they are not provided in stage3.
Quote:
Error: Invalid partition table - recursive partition on /dev/sdb
is unusual. Are you aware of any peculiarities in /dev/sdb? Is /dev/sdb the usb and /dev/sda the hard drive?
Code:
 parted -l /dev/sda | wgetpaste
post the url from the usb/cd system please. (No cfdisk picture link).
Was compiling a 32 bit kernel an intentional choice? Is the stage3 also 32 bit?
Your kernel config has only 13 modules enabled.
Code:
grep -i =m /mnt/gentoo/usr/src/linux/.config
from usb with gentoo mounted. none of which appear likely to be mounted routinely.
Code:
find /lib/modules/3.12.3-gentoo/ -type f -iname '*.o' -or -iname '*.ko' | less
should list them from the installed system or the chroot.
_________________
Defund the FCC.


Last edited by DONAHUE on Sun Apr 20, 2014 7:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
kurama
n00b
n00b


Joined: 19 Apr 2014
Posts: 6

PostPosted: Sun Apr 20, 2014 6:51 pm    Post subject: Reply with quote

DONAHUE wrote:

The kernel config does not include a driver for the ethernet controller.
Quote:
# CONFIG_R8169 is not set
menuconfig needs
Quote:
Device Drivers --->
[*] Network device support --->
[*] Ethernet driver support --->
[*] Realtek devices
<*> Realtek 8169 gigabit ethernet support
boot the installed gentoo system, edit menuconfig, recompile and recopy the kernel, reboot.If there is no internet connection after reboot: Does
Code:
ifconfig -a
show interface(s)? If so does
Code:
ifconfig
show interface(s)?

Thanks! This worked like a charm. I disabled other uneeded drivers and enabled the realtek ones and now both ifconfig and ifconfig -a show the interface, and I'm able to connect.
(I guess I missed that config page while I was configuring the kernel first time)

DONAHUE wrote:

The mouse functions in the usb system because the liveusb includes the gpm package. With an ethernet connection in the installed system or in the chroot run
Code:
emerge gpm
systemctl enable gpm.service
systemctl start gpm.service

Didn't know that, thank you. And by the way now I enabled:
Quote:
CONFIG_MOUSE_SYNAPTICS_USB=y

and I'm not getting those notifications about the mouse anymore.


DONAHUE wrote:
is unusual. Are you aware of any peculiarities in /dev/sdb? Is /dev/sdb the usb and /dev/sda the hard drive?
Code:
 parted -l /dev/sda | wgetpaste
post the url from the usb/cd system please. (No cfdisk picture link).

yes, /dev/sdb is the live usb and /dev/sda is the hard drive. Since I installed wgetpaste on the system I did:
Code:
parted -l /dev/sda | wgetpaste

from the gentoo system and the URL is: http://bpaste.net/show/219948/

DONAHUE wrote:

Was compiling a 32 bit kernel an intentional choice? Is the stage3 also 32 bit?

yeah. That machine has only 2GB of RAM so I chose a 32bit. The stage is also 32bit.


DONAHUE wrote:

Your kernel config has only 13 modules enabled.
Code:
grep -i =m /mnt/gentoo/usr/src/linux/.config
from usb with gentoo mounted. none of which appear likely to be mounted routinely.
Code:
find /lib/modules/3.12.3-gentoo/ -type f -iname '*.o' -or -iname '*.ko' | less
should list them from the installed system or the chroot.

I did:
Code:
find /lib/modules/3.12.3-gentoo/ -type f -iname '*.o' -or -iname '*.ko' | wgetpaste

and the URL is: http://bpaste.net/show/219955/

About modules I'm a bit confused since it's my first time loading them manually, and in the handbook I didn't find clear instructions.
What modules do I need to specify? If my config has 13 modules enabled, then lsmod should show them loaded, but it doesn't. :? Sorry but I'm very, very confused about this aspect.

One last question. Fixed these things, is everything alright to start installing VGA drivers, Xorg and KDE?
Thank you so much and sorry if I'm such a newbie, but like I said it's my first time with such an advanced OS. :D
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6444
Location: Goose Creek SC

PostPosted: Sun Apr 20, 2014 7:15 pm    Post subject: Reply with quote

My conception: if an external module is needed and available, the kernel and/or udev should find it and load it. if not determined to be needed, silence should result. If needed and not found dmesg or the journal should complain. Sometimes if needed and compiled into the kernel a complaint is logged though there is no problem.

If you haven't, now is a good time for a careful read of parts 2 and 3 of the handbook; Working with Gentoo and Working with Portage. Not to memorize them but to know where to look when the odd messages occur. As you add features to get past the terminal, I suggest consulting the gentoo wiki, I think it has gotten good..e.g. google "gentoo wiki xorg-server"
_________________
Defund the FCC.


Last edited by DONAHUE on Sun Apr 20, 2014 10:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
kurama
n00b
n00b


Joined: 19 Apr 2014
Posts: 6

PostPosted: Sun Apr 20, 2014 7:29 pm    Post subject: Reply with quote

Thank you again! I marked the thread as "Solved". I will now read the rest of the handbook and consult the wiki to proceed in installing what's left.
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