Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fresh installation kernel stuck after GRUB
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Mon Jan 23, 2017 8:00 am    Post subject: Fresh installation kernel stuck after GRUB Reply with quote

Hello there,
I started a new installation on an Asus G20AJ everything seemed to work, but after reboot the system prompts me the minimal grub2 shell.
here I can already see, despite I am using efi, a partition with msdos1 (before on this machine I had kubuntu and Win10).
Even though I try manually to start the system:
Code:

set root=(hd0,gpt6)
linux vmlinux-4.4.39-gentoo root=/dev/sdb6 ro
boot

After RETURN the system simply freezes on the above display without doing anything and not even responding to the keyboard.

This are my disks:
Code:

Device          Start        End    Sectors   Size Type
/dev/sda1          34     262177     262144   128M Microsoft reserved
/dev/sda2      264192 1892083711 1891819520 902.1G Microsoft basic data
/dev/sda3  1892083712 1912510463   20426752   9.8G Linux filesystem
/dev/sda4  1912510464 1916416713    3906250   1.9G Linux filesystem
/dev/sda5  1933993984 1953523711   19529728   9.3G Linux swap
/dev/sda6  1916418048 1917417471     999424   488M Linux filesystem
/dev/sda7  1917417472 1933993983   16576512   7.9G Linux filesystem

Device         Start       End   Sectors  Size Type
/dev/sdb1       2048   1640447   1638400  800M Windows recovery environment
/dev/sdb2    1640448   2172927    532480  260M EFI System
/dev/sdb3    2172928   2435071    262144  128M Microsoft reserved
/dev/sdb4    2435072 162012121 159577050 76.1G Microsoft basic data
/dev/sdb5  211337216 250068991  38731776 18.5G Windows recovery environment
/dev/sdb6  162013184 211337215  49324032 23.5G Linux filesystem


/dev/sdb is SSD
/dev/sdb a normal hard disk

This is my fstab:
Code:

/dev/sdb6               /               ext4            noatime,discard 0 1
/dev/sda6               /boot           vfat            noatime         0 1
/dev/sdb2               /boot/efi       vfat            noatime         0 1    (I tried after the official guide to install grub2 on /boot/efi, that's why this entry is listed)
/dev/sda7               /tmp            ext4            noatime         0 1
/dev/sda3               /var            ext4            noatime         0 1
/dev/sda4               none            swap            sw              0 0
/dev/sda5               /home           ext4            noatime         0 1



I followed the official guide from gentoo (https://wiki.gentoo.org/wiki/Handbook:AMD64/Full/Installation#Default:_GRUB2), but when I had to install grub2, it says to mount EFI Partition or have /boot vfat formatted.
Here I might have done the error: I formatted /boot as vfat (although I had a old /boot/efi on /dev/sdb2) and installed in here grub.
So in my thinking, the system is still booting on /dev/sda2 where there is no info about the system.

Thanks for the help!
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/


Last edited by DevOne on Mon Feb 06, 2017 8:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Mon Jan 23, 2017 12:42 pm    Post subject: Reply with quote

Quote:
set root=(hd0,gpt6)
linux vmlinux-4.4.39-gentoo root=/dev/sdb6 ro


check with blkid,

try to refer the partition in another fashion.

e.g. uuid, whatever works


Those partition naming of grub is not that easy. I usually try around with the grub shell, or just edit it until it works. with my maybe this is the right name for the partition.

I think you named the partition wrong. You may have no support for the filesystem / device / ...

--
Since I use lvm2 i got rid of those UUID, partition refering names. lvm2 needs an initramfs, but i can use human readable volume names which makes things more clear.
Back to top
View user's profile Send private message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Mon Jan 23, 2017 2:01 pm    Post subject: Reply with quote

Ok, can you help me with this? I have no clue how is working since I always have used LILO or the former grub.
This is the result of blkid:
Code:

/dev/sda1: PARTLABEL="Microsoft reserved partition" PARTUUID="4973300b-2041-4ba1-9e5c-9c818c180f26"
/dev/sda2: LABEL="Storage" UUID="18BA0256BA0230B4" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="435a0516-b6e8-4aae-a772-2306fad545a3"
/dev/sda3: UUID="142f2c81-55ab-4a76-bea0-cb7b5f4bc5c1" TYPE="ext4" PARTUUID="a7922263-5c38-4b5e-a2a2-e91dbd0f00b8"
/dev/sda4: UUID="ca708b98-c26a-4640-aa25-3e1866356bc9" TYPE="swap" PARTUUID="db17c236-25ac-4305-bc3e-9836997f2c64"
/dev/sda5: UUID="fa3ec6b8-d398-4bed-85a5-a8c2197e1229" TYPE="ext4" PARTUUID="c3ecb2a3-29e2-4b24-a9f7-60d82a70ca2e"
/dev/sda6: SEC_TYPE="msdos" UUID="41A5-1958" TYPE="vfat" PARTUUID="1f167658-3d17-44c8-93fa-4dbb8d68c912"
/dev/sda7: UUID="b81d601f-cc77-4ee7-8661-a9057c6c772a" TYPE="ext4" PARTUUID="eb533d0b-1895-4b02-9460-22113f1dc679"
/dev/sdb1: LABEL="Windows RE tools" UUID="68DEE923DEE8EA70" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="3d6cd383-4d90-45e7-9cd3-280f52134b97"
/dev/sdb2: LABEL="SYSTEM" UUID="46EA-E842" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="ff42c69d-48f9-45fc-9a54-6d2fab380c12"
/dev/sdb3: PARTLABEL="Microsoft reserved partition" PARTUUID="57281582-c188-4117-b0ca-5df185c6e9a5"
/dev/sdb4: LABEL="Windows" UUID="7E109279109237DB" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="bdda73e5-e525-4922-8786-d8a0347c4317"
/dev/sdb5: LABEL="Recovery image" UUID="9E8EF5C08EF5914F" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="f2a64e2a-4569-4765-b1f1-87c90a79760f"
/dev/sdb6: UUID="88c559e1-7ac0-4966-bbce-0c1d072e1b11" TYPE="ext4" PARTUUID="fa62056a-6d51-45ab-8209-915f113ef4e7"


I mean using grub-mkconfig he should take care of the partitions. How can I change it using uuid?
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Mon Jan 23, 2017 2:19 pm    Post subject: Reply with quote

Try this first

LEts assume you want to load the microcode for example and have an initramfs from genkernel (both optional features)
if not just comment it #initrd /microcode.cpio /initramfs-genkernel-x86_64-4.2.3-gentoo


Code:


menuentry ' Boot Gentoo   ' {

echo    'adding gpt partition support'
insmod part_gpt

echo    'Changing boot partition'
set root=(hd1,gpt2)

echo    'Booting '
linux vmlinux-4.4.39-gentoo root=UUID=88c559e1-7ac0-4966-bbce-0c1d072e1b11 rootfstype=ext4 ro
    initrd /microcode.cpio /initramfs-genkernel-x86_64-4.2.3-gentoo

echo    'done'



}



I think the above one should work. If not try the one below:


Code:
menuentry ' Boot Gentoo  2 ' {

echo    'adding gpt partition support'
insmod part_gpt

echo    'Changing boot partition'
set root=(hd1,gpt2)

echo    'Booting '
linux vmlinux-4.4.39-gentoo root=UUID=fa62056a-6d51-45ab-8209-915f113ef4e7 rootfstype=ext4 ro
    initrd /microcode.cpio /initramfs-genkernel-x86_64-4.2.3-gentoo

echo    'done'



}



Last edited by Roman_Gruber on Mon Jan 23, 2017 2:39 pm; edited 3 times in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Mon Jan 23, 2017 2:25 pm    Post subject: Reply with quote

Having more than one EFI System Partition can confuse some (maybe all) UEFI implementations.
Your thought, "So in my thinking, the system is still booting on /dev/sda2 where there is no info about the system." is highly likely correct.

For fun, make a rEFInd ( http://www.rodsbooks.com/refind/getting.html ) cd or usb, boot it, and see if it can sort out your bootable options. If you like it, build an efi stub kernel and leave it at /boot/vmlinuz-whatever version , delete /boot/efi ( or /boot/EFI ), install rEFInd on the windows ESP per http://www.rodsbooks.com/refind/installing.html#windows .

Ignoring rEFInd; saving grub
You may be able to sort out which Grub is the new grub in the UEFI/BIOS and select it as first to boot.
You may be able to sort out which Grub is the new grub from efibootmgr -v run in a UEFI chroot and select it as first to boot.
See https://wiki.gentoo.org/wiki/Efibootmgr#Managing_EFI_boot_entries .
Slightly more elegant: From the UEFI chroot, run rm -rf /boot/EFI (or /boot/efi if my memory fails) , mkdir /boot/efi , mount /dev/sdb2 boot/efi , reinstall grub per https://wiki.gentoo.org/wiki/GRUB2#UEFI_with_GPT .
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Mon Jan 23, 2017 2:40 pm    Post subject: Reply with quote

I just edited my previous post. I think the issue was the wrong reference to the vfat partition. I tried to provide hole grub2 section, just for copy and paste.
Back to top
View user's profile Send private message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Mon Jan 23, 2017 2:55 pm    Post subject: Reply with quote

Thanks to all of you for the information.
I was attracted by the efibootmgr, so I ran it on the machine (currently I am in sysrescue remotely):
Code:

sysresccd boot # efibootmgr -v
BootCurrent: 0005
Timeout: 1 seconds
BootOrder: 0001,0000,0004,0005,0003
Boot0000* ubuntu        HD(2,GPT,ff42c69d-48f9-45fc-9a54-6d2fab380c12,0x190800,0x82000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0001* gentoo        HD(2,GPT,ff42c69d-48f9-45fc-9a54-6d2fab380c12,0x190800,0x82000)/File(\EFI\gentoo\grubx64.efi)
Boot0003  Windows Boot Manager  HD(2,GPT,ff42c69d-48f9-45fc-9a54-6d2fab380c12,0x190800,0x82000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)
Boot0004* ubuntu        HD(2,GPT,ff42c69d-48f9-45fc-9a54-6d2fab380c12,0x190800,0x82000)/File(EFI\UBUNTU\GRUBX64.EFI)
Boot0005* UEFI: (FAT) KingstonDT 101 G2 PciRoot(0x0)/Pci(0x14,0x0)/USB(5,0)/USB(2,0)/HD(1,MBR,0x4294967263,0x800,0x1ddf000)..BO

I am not an expert, but here there is something wrong with the same EFI on ubuntu and gentoo. :roll:

That above is the result (if it is related) of using straight away /dev/sdb2 (the EFI partition) as boot partition (and then I ran again grub-install and grub-mkconfig again)


Can please someone explain me what these are and how to remove something (if I have to)?
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/
Back to top
View user's profile Send private message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Mon Jan 23, 2017 3:13 pm    Post subject: Reply with quote

Roman_Gruber wrote:
Try this first

LEts assume you want to load the microcode for example and have an initramfs from genkernel (both optional features)
if not just comment it #initrd /microcode.cpio /initramfs-genkernel-x86_64-4.2.3-gentoo


Code:


menuentry ' Boot Gentoo   ' {

echo    'adding gpt partition support'
insmod part_gpt

echo    'Changing boot partition'
set root=(hd1,gpt2)

echo    'Booting '
linux vmlinux-4.4.39-gentoo root=UUID=88c559e1-7ac0-4966-bbce-0c1d072e1b11 rootfstype=ext4 ro
    initrd /microcode.cpio /initramfs-genkernel-x86_64-4.2.3-gentoo

echo    'done'



}



I think the above one should work. If not try the one below:


Code:
menuentry ' Boot Gentoo  2 ' {

echo    'adding gpt partition support'
insmod part_gpt

echo    'Changing boot partition'
set root=(hd1,gpt2)

echo    'Booting '
linux vmlinux-4.4.39-gentoo root=UUID=fa62056a-6d51-45ab-8209-915f113ef4e7 rootfstype=ext4 ro
    initrd /microcode.cpio /initramfs-genkernel-x86_64-4.2.3-gentoo

echo    'done'



}



Ok thanks, I will check this later since now I cannot reboot the machine since I am remotely connected to it
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Mon Jan 23, 2017 3:15 pm    Post subject: Reply with quote

First a question: is Secure Boot disabled? It is shimmed in ubuntu.
If you will be keeping ubuntu in a triple boot; easiest way to continue with grub is to enter the gentoo chroot, unmerge grub and remove the /boot/efi and/or /boot/EFI directories as existing, to do so, run
Code:
emerge -C grub
umount /boot/efi
umount /boot/EFI
rm -rf  /boot/efi
rm-rf  /boot/EFI
exit the chroot and boot ubuntu and follow ubuntu procedures to add gentoo to the boot list in the ubuntu grub menu.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Mon Jan 23, 2017 3:24 pm    Post subject: Reply with quote

DONAHUE wrote:
First a question: is Secure Boot disabled? It is shimmed in ubuntu.
If you will be keeping ubuntu in a triple boot; easiest way to continue with grub is to enter the gentoo chroot, unmerge grub and remove the /boot/efi and/or /boot/EFI directories as existing, to do so, run
Code:
emerge -C grub
umount /boot/efi
umount /boot/EFI
rm -rf  /boot/efi
rm-rf  /boot/EFI
exit the chroot and boot ubuntu and follow ubuntu procedures to add gentoo to the boot list in the ubuntu grub menu.


Hi...yes I disabled this damn secure boot already in the past.
As I wrote earlier, the current situation is this:
Code:

I shut the old boot out (/dev/sda6)
I mounted boot directory using /dev/sdb2 (the EFI partition)
ran grub-install as usual (--efi-directory=/boot)
ran grub-mkconfig -o /boot/grub/grub.cfg


I don't want anymore ubuntu, so I don't know where that entry is coming from (I thought installing grub removes ubuntu entry but it seems not like that!)
Can I remove all ubuntu entries?
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/
Back to top
View user's profile Send private message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Mon Jan 23, 2017 3:55 pm    Post subject: Reply with quote

Ok, I removed the ubuntu entries, now I think everything is fine from grub's point of view (or at least cleaner):
Code:

sysresccd boot # efibootmgr -v
BootCurrent: 0005
Timeout: 1 seconds
BootOrder: 0001,0005,0003
Boot0001* gentoo        HD(2,GPT,ff42c69d-48f9-45fc-9a54-6d2fab380c12,0x190800,0x82000)/File(\EFI\gentoo\grubx64.efi)
Boot0003  Windows Boot Manager  HD(2,GPT,ff42c69d-48f9-45fc-9a54-6d2fab380c12,0x190800,0x82000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)
Boot0005* UEFI: (FAT) KingstonDT 101 G2 PciRoot(0x0)/Pci(0x14,0x0)/USB(5,0)/USB(2,0)/HD(1,MBR,0x4294967263,0x800,0x1ddf000)..BO
sysresccd boot # ll /boot/
total 7568
-rwxr-xr-x 1 root root   92749 Jan 23 16:27 config-4.4.39-gentoo
drwxr-xr-x 3 root root    4096 Jan 23 16:27 EFI
drwxr-xr-x 6 root root    4096 Jan 23 17:07 grub
-rwxr-xr-x 1 root root 2718597 Jan 23 16:27 System.map-4.4.39-gentoo
-rwxr-xr-x 1 root root 4925264 Jan 23 16:27 vmlinuz-4.4.39-gentoo
sysresccd boot # ll /boot/EFI/gentoo/grubx64.efi


Later I will try a soft reboot to see if I have chance of a correct gentoo boot, if not I will try the suggestions using the UUID.
Thanks for the time being
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/
Back to top
View user's profile Send private message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Mon Jan 23, 2017 6:39 pm    Post subject: Reply with quote

Hi all guys...
it seems that cleaning the EFI let it at least to start and show the grub menu with entries!
So I fixed this first issue, but the second one (manually starting the kernel stuck) is still there:
Code:

Booting a command list

Loading Linux 4.4.39-gentoo ...


and it remains like this!!! :cry:

I have tried also the suggestions to run it with UUID and PARTUUID, but same behaviour.
I don't use a pre-loaded image, but I don't think that is the issue...
What will you guys suggest next?
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Mon Jan 23, 2017 8:44 pm    Post subject: Reply with quote

grub then is no longer the problem.
the kernel configuration may be
why is the kernel so old?
how did you make the kernel?
from the chroot
Code:
run emerge wgetpaste
eselect kernel list | wgetpaste -t
uname -r | wgetpaste -t
mount /dev/sdb2 /boot #if that is what you have been doing
ls -alR /boot |  wgetpaste -t
wgetpaste -t /usr/src/linux/.config
Post the url's returned.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Mon Jan 23, 2017 8:50 pm    Post subject: Reply with quote

DONAHUE wrote:
grub then is no longer the problem.
the kernel configuration may be
why is the kernel so old?
how did you make the kernel?
from the chroot
Code:
run emerge wgetpaste
eselect kernel list | wgetpaste -t
uname -r | wgetpaste -t
mount /dev/sdb2 /boot #if that is what you have been doing
ls -alR /boot |  wgetpaste -t
wgetpaste -t /usr/src/linux/.config
Post the url's returned.


I will do this tomorrow...
why do you say it is old?
I just did
emerge --sync
emerge gentoo-sources
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Mon Jan 23, 2017 9:00 pm    Post subject: Reply with quote

did you tried my suggestions? waht are the results?
Back to top
View user's profile Send private message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Mon Jan 23, 2017 9:12 pm    Post subject: Reply with quote

Roman_Gruber wrote:
did you tried my suggestions? waht are the results?


Hi, as reported, it is just blocked in
Loading kernel...

almost in the same way it was trying it manually at the beginning
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Mon Jan 23, 2017 9:21 pm    Post subject: Reply with quote

can you give us a screen? a screensht from a smartphone helps me the most.

and also kernel configs so others can ahve a look

which hardware? lspci -kk

---


Do you see the grub graphical "interface"?

Does it loads the kernel or not?

Does it finds the root partition?
Back to top
View user's profile Send private message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Mon Jan 23, 2017 9:32 pm    Post subject: Reply with quote

Roman_Gruber wrote:
can you give us a screen? a screensht from a smartphone helps me the most.

and also kernel configs so others can ahve a look

which hardware? lspci -kk

---


Do you see the grub graphical "interface"?

Does it loads the kernel or not?

Does it finds the root partition?


I will provide all the info tomorrow.
For the time being, grub is showing the "interface" and I can select which kernel to run (from the /boot/grub/grub.cfg)
and it doesn't load anything, no info or start or kernel panic...just stuck after RETURN with "Loading kernel ..."
so it seems it is not even starting the kernel!
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Tue Jan 24, 2017 12:24 am    Post subject: Reply with quote

oops! why is the kernel so old? Probably a good question but should not have been asked of you. I use testing branch gentoo-sources and git-sources which are at 4.9+ and 4.10+. Did not know going stable was lagging so badly. Should have checked, sorry.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Tue Jan 24, 2017 7:44 am    Post subject: Reply with quote

DONAHUE wrote:
oops! why is the kernel so old? Probably a good question but should not have been asked of you. I use testing branch gentoo-sources and git-sources which are at 4.9+ and 4.10+. Did not know going stable was lagging so badly. Should have checked, sorry.


Yes...I thought your question was the outcome of different things you normally do :wink:
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/
Back to top
View user's profile Send private message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Tue Jan 24, 2017 8:08 am    Post subject: Reply with quote

Roman_Gruber wrote:

and also kernel configs so others can ahve a look
which hardware? lspci -kk


lspci result:
Code:

00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
        Subsystem: ASUSTeK Computer Inc. 4th Gen Core Processor DRAM Controller
        Kernel driver in use: hsw_uncore
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:14.0 USB controller: Intel Corporation 9 Series Chipset Family USB xHCI Controller
        Subsystem: ASUSTeK Computer Inc. 9 Series Chipset Family USB xHCI Controller
        Kernel driver in use: xhci_hcd
00:16.0 Communication controller: Intel Corporation 9 Series Chipset Family ME Interface #1
        Subsystem: ASUSTeK Computer Inc. 9 Series Chipset Family ME Interface
        Kernel driver in use: mei_me
        Kernel modules: mei_me
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection (2) I218-V
        Subsystem: ASUSTeK Computer Inc. Ethernet Connection (2) I218-V
        Kernel driver in use: e1000e
        Kernel modules: e1000e
00:1a.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #2
        Subsystem: ASUSTeK Computer Inc. 9 Series Chipset Family USB EHCI Controller
        Kernel driver in use: ehci-pci
00:1b.0 Audio device: Intel Corporation 9 Series Chipset Family HD Audio Controller
        Subsystem: ASUSTeK Computer Inc. 9 Series Chipset Family HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 1 (rev d0)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1c.3 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 4 (rev d0)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1d.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #1
        Subsystem: ASUSTeK Computer Inc. 9 Series Chipset Family USB EHCI Controller
        Kernel driver in use: ehci-pci
00:1f.0 ISA bridge: Intel Corporation 9 Series Chipset Family H97 Controller
        Subsystem: ASUSTeK Computer Inc. 9 Series Chipset Family H97 Controller
        Kernel driver in use: lpc_ich
        Kernel modules: lpc_ich
00:1f.2 RAID bus controller: Intel Corporation SATA Controller [RAID mode]
        Subsystem: ASUSTeK Computer Inc. SATA Controller [RAID mode]
        Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 9 Series Chipset Family SMBus Controller
        Subsystem: ASUSTeK Computer Inc. 9 Series Chipset Family SMBus Controller
        Kernel modules: i2c_i801
01:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 970] (rev a1)
        Subsystem: ASUSTeK Computer Inc. GM204 [GeForce GTX 970]
        Kernel driver in use: nouveau
        Kernel modules: nouveau
01:00.1 Audio device: NVIDIA Corporation GM204 High Definition Audio Controller (rev a1)
        Subsystem: ASUSTeK Computer Inc. GM204 High Definition Audio Controller
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821AE 802.11ac PCIe Wireless Network Adapter
        Subsystem: AzureWave RTL8821AE 802.11ac PCIe Wireless Network Adapter
        Kernel driver in use: rtl8821ae
        Kernel modules: rtl8821ae


Of these above, I have seen this one was not set (so now in the .config you see it as set):
Code:

00:1f.0 ISA bridge: Intel Corporation 9 Series Chipset Family H97 Controller
        Subsystem: ASUSTeK Computer Inc. 9 Series Chipset Family H97 Controller
        Kernel driver in use: lpc_ich
        Kernel modules: lpc_ich



My .config: https://drive.google.com/file/d/0B6nat4h3zI16N2J2OVRCcW9UdXc/view?usp=sharing
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/
Back to top
View user's profile Send private message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Tue Jan 24, 2017 1:57 pm    Post subject: Reply with quote

It really seems the ssd is not found...although starting sysrescue seems it is recognize that as generic scsi driver...
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Tue Jan 24, 2017 3:01 pm    Post subject: Reply with quote

from the chroot run:
Code:
emerge wgetpaste
eselect kernel list | wgetpaste -t
uname -r | wgetpaste -t
mount /dev/sdb2 /boot #if that is what you have been doing
ls -alR /boot |  wgetpaste -t
blkid | wgetpaste -t

Post the url's returned.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Tue Jan 24, 2017 5:00 pm    Post subject: Reply with quote

DONAHUE wrote:
from the chroot run:
Code:
emerge wgetpaste
eselect kernel list | wgetpaste -t
uname -r | wgetpaste -t
mount /dev/sdb2 /boot #if that is what you have been doing
ls -alR /boot |  wgetpaste -t
blkid | wgetpaste -t

Post the url's returned.


this is an extraction from dmesg from sysrescue not yet in chroot:
Code:

[    1.623305] sd 2:0:0:0: [sdb] 250069680 512-byte logical blocks: (128 GB/119 GiB)
[    1.623432] sd 2:0:0:0: [sdb] Write Protect is off
[    1.623433] sd 2:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[    1.623519] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.625593]  sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
[    1.626308] sd 2:0:0:0: [sdb] Attached SCSI disk
[   61.633334] UDF-fs: warning (device sdb): udf_fill_super: No partition found (2)
[   61.738612] UDF-fs: warning (device sdb3): udf_fill_super: No partition found (2)
[   61.878588] EXT4-fs (sdb6): couldn't mount as ext3 due to feature incompatibilities
[   61.887408] EXT4-fs (sdb6): mounted filesystem with ordered data mode. Opts: (null)


sdb6 is my root (ssd), why it is asking for ext3?

eselect kernel: https://paste.pound-python.org/show/ySKtcNG38ZYBYOqniERd
uname -r: https://paste.pound-python.org/show/cuz785TjQjq1lt6Ncgmh/
boot content:https://paste.pound-python.org/show/m99tFcqxpkqxHlRD8Hur/
blkid: https://paste.pound-python.org/show/jwql46tJ9aIt4nmwVrEJ
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Tue Jan 24, 2017 7:01 pm    Post subject: Reply with quote

sysresccd is heavily modular; it tries the ext3 module, rejects it, loads ext4

did you just do the base handbook install or have you gone beyond to setup direct boot into a GUI?
_________________
Defund the FCC.
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, 4, 5  Next
Page 1 of 5

 
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