Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New gentoo user here : what's wrong on my .config kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
marietto
n00b
n00b


Joined: 24 Aug 2020
Posts: 7

PostPosted: Sat Nov 21, 2020 3:28 pm    Post subject: New gentoo user here : what's wrong on my .config kernel Reply with quote

Hello.

I'm a new user of gentoo. I'm learning how it works. I've installed it for the first time and I really want that it works because I want to join the community. Unfortunately after the installation (and reinstallation) I've rebooted the pc and I realized that it won't boot. I don't see anything on the screen,any message,any error,even if my two monitors are turned on. I suppose that there is some bad parameter on the kernel that I've configured. you can find the .config file for the kernel here : https://pastebin.com/ZYBA5Y15

you can find the hardware of my pc here : https://pastebin.com/E28R8yRd

to understand what's wrong inside the kernel configuration is too much even for a medium experienced user like me...if u don't have time to look inside the informations that Ive posted...i don't know how can I be useful...maybe there is a method to generate a working config file in some way ? I use ubuntu everyday...
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Nov 21, 2020 4:55 pm    Post subject: Reply with quote

marietto,

Welcome to the Gentoo community. You have four posts as I write. That makes you a contributor too, other that read your topics will get help from them.

You say
Quote:
I don't see anything on the screen,any message,any error


The startup sequence goes like this ...
You start the PC. It does its power on checks, maybe beeps and shows some instructions to enter the BIOS on the screen
If you do nothing, they will be a timeout, then grub will start and display a boot menu, if you use grub.
Grub has a timeout too. If you do nothing, it will load the default kernel.
When all in well, the kernel will display messages on the screen.

Where in those steps do you get nothing on the display?

Looking at your kernel, you have
Code:
CONFIG_DRM_NOUVEAU=y
CONFIG_DRM_I915=y

# CONFIG_FB_VESA is not set
# CONFIG_FB_EFI is not set
# CONFIG_FB_SIMPLE is not set
# CONFIG_FRAMEBUFFER_CONSOLE is not set


CONFIG_DRM_NOUVEAU=y may work with your nVidia cards, I've not checked but with # CONFIG_FRAMEBUFFER_CONSOLE is not set it won't be used for the console.
Likewise, your Intel GPU is configured with CONFIG_DRM_I915=y but it can' be used for the console either because of # CONFIG_FRAMEBUFFER_CONSOLE is not set.

Enable all of
Code:
# CONFIG_FB_VESA is not set
# CONFIG_FB_EFI is not set
# CONFIG_FB_SIMPLE is not set
# CONFIG_FRAMEBUFFER_CONSOLE is not set
with make menuconfig and rebuild and reiinstall your kernel.
Tell grub about it if you need to.

The kernel will chose and swap framebuffers console to suit itself and none of those options interfere with nvidia-drivers if you want to use the binary blob later.

A reinstall is not required, so don't do it. Only some minor changes to your kernel.
Post back if you need help getting back into the chroot.

The Intel and Nouveau framebuffer consoles, start fairly late. One of FB_VESA, FB_EFI and FB_SIMPLE together with FRAMEBUFFER_CONSOLE should get you a console.
_________________
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
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3943
Location: Hamburg

PostPosted: Sat Nov 21, 2020 6:43 pm    Post subject: Re: New gentoo user here : what's wrong on my .config kernel Reply with quote

marietto wrote:
maybe there is a method to generate a working config file in some way ?.
Try
Code:
make defconfig
If that does not work, then boot a working Linux, mount the Gentoo partition with holding kernel sources and do:
Code:
cd /usr/src/linux && make localmodconfig && make modules_install && make install
Maybe that helps.

Last edited by toralf on Sat Nov 21, 2020 11:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
marietto
n00b
n00b


Joined: 24 Aug 2020
Posts: 7

PostPosted: Sat Nov 21, 2020 10:14 pm    Post subject: Reply with quote

Hello. Thanks for your precious help,now I see the boot messages on my gentoo. Anyway I still have 2 problems :

1) I see this error between the boot messages "dmesg can't start"

2) keyboard and mouse don't work. Model is Atlantis P013-AX250G+M

How can I determine the name of the driver to enable on the kernel config ?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Nov 21, 2020 10:59 pm    Post subject: Reply with quote

marietto,

Is that a bluetooth keyboard and mouse?
I can only find an Italian page and I have no Italian.

Code:

CONFIG_BT=y
CONFIG_BT_BREDR=y
# CONFIG_BT_RFCOMM is not set
# CONFIG_BT_BNEP is not set
# CONFIG_BT_HIDP is not set
CONFIG_BT_HS=y
CONFIG_BT_LE=y
# CONFIG_BT_SELFTEST is not set
CONFIG_BT_DEBUGFS=y
 
#
# Bluetooth device driversneed a
#
# CONFIG_BT_HCIBTUSB is not set
# CONFIG_BT_HCIUART is not set
# CONFIG_BT_HCIBCM203X is not set
# CONFIG_BT_HCIBPA10X is not set
# CONFIG_BT_HCIBFUSB is not set
# CONFIG_BT_HCIVHCI is not set
# CONFIG_BT_MRVL is not set
# end of Bluetooth device drivers


You win need one or more of the HCI options. HCI means Human Computer Interface.
It will need to be paired with your PC, so you will probably have to borrow a non bluetooth mouse and keyboard to do thot.
Read the help on those options in menuconfig.

-- edit --

Code:
net-wireless/bluez
is required 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
marietto
n00b
n00b


Joined: 24 Aug 2020
Posts: 7

PostPosted: Sun Nov 22, 2020 1:08 am    Post subject: Reply with quote

its a wireless mouse and keyboard combo attached to the PCI Express Adapter USB 3.0 4 ports model NEC/Renesas UPD720201
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Nov 22, 2020 9:19 am    Post subject: Reply with quote

marietto,

Please install pciutils usbutils and wgetpaste so wo can get exact details. oy your hardware.
Use wgetpaste to put the output of
Code:
lspci -nnk
and
Code:
lsusb
onto a pastebin site.

These two commands will give the Vendor and Device IDs of everything connected te the PCe and USB buses.
That's how Linux binds drivers to devices.

Ahh ...
Code:
# CONFIG_USB_XHCI_HCD is not set

That's the USB3 driver for your USB3 ports and its off.
_________________
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
marietto
n00b
n00b


Joined: 24 Aug 2020
Posts: 7

PostPosted: Sun Nov 22, 2020 4:32 pm    Post subject: Reply with quote

CONFIG_USB_XHCI_HCD=y solved the problem. Thanks bro'. I'm ready to study the gentoo distro further.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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