Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo stucking at boot on laptop
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
kapecitis
n00b
n00b


Joined: 04 May 2017
Posts: 47

PostPosted: Mon Feb 26, 2018 9:08 pm    Post subject: Gentoo stucking at boot on laptop Reply with quote

Hello!
I`m trying to install Gentoo on my laptop (Acer Aspire V15 Nitro , i7 4510U, HD4400 + GT840M)
I`m compiled kernel a lot of times, with --menuconfig too.
I`m checked all , but i have problem with booting of OS.

Here is screenshots, where kernel is stopping boot:
https://imgur.com/a/XMYQq (second screenshot with acpi=off)

Please help me with troubleshooting of problem!
Thank you!
P.S Sorry for my bad English.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon Feb 26, 2018 9:27 pm    Post subject: Reply with quote

kapecitis,

Please post the output of
Code:
emerge --info
so we can see your system settings.
The output of
Code:
lspci
so we know your hardware.

Pastebin the kernel .config file and post a link to it.
_________________
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
kapecitis
n00b
n00b


Joined: 04 May 2017
Posts: 47

PostPosted: Mon Feb 26, 2018 9:34 pm    Post subject: Reply with quote

NeddySeagoon wrote:
kapecitis,

Pastebin the kernel .config file and post a link to it.


Can you tell me how to paste the config file?
Back to top
View user's profile Send private message
kapecitis
n00b
n00b


Joined: 04 May 2017
Posts: 47

PostPosted: Mon Feb 26, 2018 9:43 pm    Post subject: Reply with quote

Code:
emerge --info
Portage 2.3.24 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop, gcc-6.4.0, glibc-2.25-r10, 4.5.2-aufs-r1 x86_64)
=================================================================
System uname: Linux-4.5.2-aufs-r1-x86_64-Intel-R-_Core-TM-_i7-4510U_CPU_@_2.00GHz-with-gentoo-2.4.1
KiB Mem:     6024608 total,   4059388 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 25 Feb 2018 00:45:01 +0000
Head commit of repository gentoo: d787c5691f81c259fa2417878fab30b41016b0a7
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r10::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts:

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=haswell -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firmware flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg lcms ldap libnotify lock mad mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt5 readline sdl seccomp session spell ssl startup-notification svg tcpd thunar tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="nouveau intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Code:
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)                                                                                                                                                                                                   
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)                                                                                                                                                                       
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)                                                                                                                                                                                               
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)                                                                                                                                                                                                 
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)                                                                                                                                                                                                 
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)                                                                                                                                                                                               
00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)                                                                                                                                                                                               
00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4)                                                                                                                                                                                               
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)                                                                                                                                                                                                       
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)                                                                                                                                                                                                         
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)                                                                                                                                                                                     
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)                                                                                                                                                                                                           
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)                                                                                                                                               
02:00.0 Network controller: Qualcomm Atheros AR9462 Wireless Network Adapter (rev 01)                                                                                                                                                                                         
03:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2)
[/quote]
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon Feb 26, 2018 9:47 pm    Post subject: Reply with quote

kapecitis,

There is a tool called wgetpaste.
Code:
emerge wgetpaste
wgetpaste /usr/src/linux/.config

Post the URL you get back.
_________________
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
kapecitis
n00b
n00b


Joined: 04 May 2017
Posts: 47

PostPosted: Mon Feb 26, 2018 10:31 pm    Post subject: Reply with quote

NeddySeagoon wrote:
kapecitis,

Post the URL you get back.


Here is paste: https://paste.pound-python.org/show/WN6VfYW7MBmaftPRchuV/
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon Feb 26, 2018 11:00 pm    Post subject: Reply with quote

kapecitis,

The following must all be off.
Code:
CONFIG_IDE=m
CONFIG_FB_VESA=y
CONFIG_FB_NVIDIA=y
CONFIG_FB_NVIDIA_I2C=y


CONFIG_IDE interferes with your HDD operation. Its not supported by udev either.
All the old IDE controlls appear under the SATA menu.

CONFIG_FB_VESA=y may work but its not required. Your CONFIG_DRM_I915=y gives you the inteldrmfb, which will be used for your console.
The system may use VESA for a second or two.

CONFIG_FB_NVIDIA=y will grab the nVidia graphics and prevent the Xorg driver working later.

Are you using an initrd?
CONFIG_BLK_DEV_INITRD=y provides kernel support.
CONFIG_INITRAMFS_SOURCE="" shows that its a separate file if its used at all.

If you are not using an initrd the following must be built into the kernel binary.
CONFIG_BLK_DEV_SD=m
CONFIG_SATA_AHCI=m
CONFIG_EXT4_FS=m (or the driver for your root filesystem)
Without an initrd, there is nowhere to load modules from before root is mounted.

Turn off
Code:
CONFIG_SCSI_LOWLEVEL=y
CONFIG_AMD_NB=y
CONFIG_PCCARD=y
CONFIG_PCMCIA=y
CONFIG_PCMCIA_LOAD_CIS=y
CONFIG_CARDBUS=y

CONFIG_SCSI_LOWLEVEL is for real SCSI - you don't have any.
The rest are only found on antique hardware. Its just bloat. It will save compile time.

Rebuild your kernel and initrd, if you have one. As your initrd contains kernel modules the two are a matched pair.
_________________
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
kapecitis
n00b
n00b


Joined: 04 May 2017
Posts: 47

PostPosted: Tue Feb 27, 2018 12:10 am    Post subject: Reply with quote

NeddySeagoon wrote:
kapecitis,

Rebuild your kernel and initrd, if you have one. As your initrd contains kernel modules the two are a matched pair.



Thank you , this helped to me , but at this moment a have a new problem:
https://imgur.com/a/4us0y

I`m installed Gentoo on HDD, but as /boot partition (on SSD) im used a System Reserved partition from Windows 10. (HDD is not bootable because he is installed instead of ODD, and BIOS not see HDD as a bootable device)
fstab is fine , im linked all partitions.
Back to top
View user's profile Send private message
kapecitis
n00b
n00b


Joined: 04 May 2017
Posts: 47

PostPosted: Tue Feb 27, 2018 10:06 am    Post subject: Reply with quote

Please help me with this problem
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Feb 27, 2018 11:06 am    Post subject: Reply with quote

kapecitis,

Please explain how you make your kernel.
If you use an initrd tell how you make it.

Put your /boot/grub/grub.cfg onto a pastebin site.
Now that your kernel has changed, pastebin its new .config file.

Get ready to chroot but don't do the chroot step.
Post the output of
Code:
blkid

_________________
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
kapecitis
n00b
n00b


Joined: 04 May 2017
Posts: 47

PostPosted: Tue Feb 27, 2018 2:22 pm    Post subject: Reply with quote

NeddySeagoon wrote:
kapecitis,

Please explain haw you make your kernel.
If you use an initrd tell how you make it.

Put your /boot/grub/grub.cfg onto a pastebin site.
Now that your kernel has changed, pastebin its new .config file.

Get ready to chroot but don't do the chroot step.
Post the output of
Code:
blkid


I compile kernel by using of genkernel (genkernel (--menuconfig) all)
How i understand i not use a initrd, but im using initramfs, that compiling by genkernel

http://bpaste.net/show/7a1004951c6b -fstab
https://bpaste.net/show/e1d9f85c1e0a -grub.cfg
http://bpaste.net/show/97780604db43 - .config

Code:
/dev/loop0: TYPE="squashfs"
/dev/sda1: LABEL="M-PM-^WM-PM-0M-QM-^@M-PM-5M-PM-7M-PM-5M-QM-^@M-PM-2M-PM-8M-QM-^@M-PM->M-PM-2M-PM-0M-PM-=M-PM-> M-QM-^AM-PM-8M-QM-^AM-QM-^BM-PM-5M-PM-<M-PM->M-PM-9" UUID="2C8E04988E045D28" TYPE="ntfs" PARTUUID="bee7fce3-01"
/dev/sda2: LABEL="Windows 10" UUID="2E8A0E598A0E1DC9" TYPE="ntfs" PARTUUID="bee7fce3-02"
/dev/sdb1: UUID="9404120B0411F0CA" TYPE="ntfs" PARTUUID="1bfe0be7-01"
/dev/sdb5: PARTUUID="1bfe0be7-05"
/dev/sdb6: UUID="1b937b72-49ad-4bf7-8df8-75b5c835a643" TYPE="ext4" PARTUUID="1bfe0be7-06"
/dev/sdb7: UUID="4a3815ba-d0ed-409e-80fc-08a8ffb3ab3f" TYPE="swap" PARTUUID="1bfe0be7-07"
/dev/sdb8: UUID="e24fa4d6-57e5-4a9a-8287-abc46d21ed83" TYPE="ext4" PARTUUID="1bfe0be7-08"
/dev/sdc4: LABEL="Gentoo Linu" UUID="B4FE-5315" TYPE="vfat" PARTUUID="000a0d74-04"


Code:
Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xbee7fce3

Device     Boot   Start       End   Sectors   Size Id Type
/dev/sda1  *       2048   1126399   1124352   549M  7 HPFS/NTFS/exFAT
/dev/sda2       1126400 234438655 233312256 111.3G  7 HPFS/NTFS/exFAT


Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x1bfe0be7

Device     Boot      Start        End    Sectors   Size Id Type
/dev/sdb1             2048 1742094335 1742092288 830.7G  7 HPFS/NTFS/exFAT
/dev/sdb2       1742094336 1953525167  211430832 100.8G  5 Extended
/dev/sdb5       1742096384 1742100479       4096     2M 83 Linux
/dev/sdb6       1742102528 1743151103    1048576   512M 83 Linux
/dev/sdb7       1743153152 1747347455    4194304     2G 82 Linux swap / Solaris
/dev/sdb8       1747349504 1953525167  206175664  98.3G 83 Linux
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Feb 27, 2018 3:10 pm    Post subject: Reply with quote

Code:
# CONFIG_BLK_DEV_SD is not set

Is required for all hard drives. Set it to <*>
The kernel cannot see your HDD.

Code:
# CONFIG_BLK_DEV_SR is not set
# CONFIG_CHR_DEV_SG is not set
Are needed for Optical drives
Set those to <*> too.
You will probably need them later.

The terms initrd and initramfs are used to mean the same thing.
Other than the internal structure, they do the same job.
_________________
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
kapecitis
n00b
n00b


Joined: 04 May 2017
Posts: 47

PostPosted: Tue Feb 27, 2018 3:54 pm    Post subject: Reply with quote

Wow! Its works! Thank you for help!!
Back to top
View user's profile Send private message
kapecitis
n00b
n00b


Joined: 04 May 2017
Posts: 47

PostPosted: Tue Feb 27, 2018 11:35 pm    Post subject: Reply with quote

A new problem :D :D
Before installing Xfce, in command prompt im enter "startxfce4", desktop is loading, but no mouse (touchpad and usb mice) no keyboard is working. CTRL+ALT+F1 is not working too.

P.S Help me pls :D
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Wed Feb 28, 2018 9:28 am    Post subject: Reply with quote

kapecitis,

Gentoo does not have problems, only learning opportunities :)

Please post your
Code:
emerge --info
output.
Your kernel looks OK as you have
Code:
CONFIG_INPUT_EVDEV=y


Put your /var/log/Xorg.0.log onto a pastebin too.
That will tell what Xorg did when it started.
_________________
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
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