Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] -Unable to mount root fs on unknown-block(8,3)
View unanswered posts
View posts from last 24 hours

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


Joined: 30 Jul 2006
Posts: 108
Location: Adelaide, Aust.

PostPosted: Wed Jun 29, 2016 3:46 am    Post subject: [SOLVED] -Unable to mount root fs on unknown-block(8,3) Reply with quote

Hi All,

I am doing a fresh install and running up against this issue. I have done some extensive reading on this forum and I can glean that with this error, I can assume that the kernel has booted, but cannot recognize what it sees on /dev/sda3.

Here is my fstab: http://pastebin.com/JMSQE5ug.
Here is the '40 custom' file I use for grub in Ubuntu: http://pastebin.com/2b5GUNYf. This is an extract of the file. I have recently tried the partuuid approach without success.
Here is the output of lspci -k: http://pastebin.com/0368bN1V
Here is the output of lspci -v: http://pastebin.com/2FhCmQjM
Here is the output of lshw: http://pastebin.com/KV5u7Mc9
Here is my config file:http://pastebin.com/YadKwzLu

No doubt there is something glaringly obvious that I am missing. Any help appreciated.

Regards
Raoul
_________________
**************
Not all pain is gain.


Last edited by Raoul on Tue Jul 19, 2016 1:04 am; edited 1 time in total
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1049
Location: Massachusetts USA

PostPosted: Wed Jun 29, 2016 5:56 am    Post subject: Reply with quote

In the '40 custom' file the value given for the PARTUUID is the UUID value but it should be the PARTUUID value.
Back to top
View user's profile Send private message
Raoul
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2006
Posts: 108
Location: Adelaide, Aust.

PostPosted: Wed Jun 29, 2016 6:10 am    Post subject: Reply with quote

jburns,

Indeed it should. My mistake. I have corrected it and tested. No change.

new 40_custom file here: http://pastebin.com/4bGX99Wj

Regards
Raoul
_________________
**************
Not all pain is gain.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7135
Location: Saint Amant, Acadiana

PostPosted: Wed Jun 29, 2016 11:22 am    Post subject: Reply with quote

Device 8,3 is sda3, is this where your Gentoo root resides?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Raoul
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2006
Posts: 108
Location: Adelaide, Aust.

PostPosted: Wed Jun 29, 2016 11:45 am    Post subject: Reply with quote

yes. Root is sda3
_________________
**************
Not all pain is gain.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Wed Jun 29, 2016 5:27 pm    Post subject: Reply with quote

Raoul,

unkown-block(8,3) is /dev/sda3.

That you get (8,3) and not (0,0) normally means taht the kernel can see /dev/sda3 but not read what it finds there.
If you have more that one drive, the kernel and BIOS may not agree on drive ordering.
This means that the kernel is looking on its /dev/sda3 but its not the drive you thought it was.

The panic may also include a list of the block devices the kernel can see.
It may even be an empty list, which looks a bit odd. Something along the lines of "Unable to find root block device in ."
If you have that message its useful to know, including the list of devices that the kernel reports.
_________________
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
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1074
Location: EU or US

PostPosted: Wed Jun 29, 2016 6:13 pm    Post subject: Reply with quote

Neddy,

he is using PARTUUID, and kernel is looking for 8,3 as a result. So it cannot be wrong drive, unless he got the PARTUUID off the wrong drive ...
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Wed Jun 29, 2016 6:18 pm    Post subject: Reply with quote

Buffoon,

Good point, well made. Thank you.

It that case, the motherboard may need
Code:
# CONFIG_SATA_AHCI_PLATFORM is not set
set on.
I have two motherboards with the same AMD chipset, one needs it, one does not. Its a long shot.
It took me a long time to discover that.
_________________
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
Raoul
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2006
Posts: 108
Location: Adelaide, Aust.

PostPosted: Wed Jun 29, 2016 10:12 pm    Post subject: Reply with quote

Hi Neddy

I have tried that and reconfirmed just now. Setting this flag does not work and in fact makes the error now to block (0,0).

Regards
Raoul
_________________
**************
Not all pain is gain.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7135
Location: Saint Amant, Acadiana

PostPosted: Wed Jun 29, 2016 11:09 pm    Post subject: Reply with quote

Code:
CONFIG_ATA_SFF=y

Do you really need it? I'd turn it off with everything that is enabled under this option.

Edit. If you need it build all PATA stuff as modules, and it won't interfere with boot. My 2¢.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Raoul
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2006
Posts: 108
Location: Adelaide, Aust.

PostPosted: Fri Jul 01, 2016 12:07 am    Post subject: Reply with quote

HI Jaglover,

I tried this as a module. Still no success.

Regards
Raoul
_________________
**************
Not all pain is gain.
Back to top
View user's profile Send private message
Raoul
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2006
Posts: 108
Location: Adelaide, Aust.

PostPosted: Wed Jul 06, 2016 11:24 pm    Post subject: Reply with quote

HI All,

Over the last few days I have continued to work on this without success.

I am still getting the original error as per subject of this thread.

Config is here: http://pastebin.com/51HuSxw4
lspci -v is here: http://pastebin.com/2FhCmQjM

The partitions are GPT. I have set all the kernel setting for my hardware as per lspci. There is no list of HDD in the error message, really just the message as written. I cannot find any discrepancy with HDD labelling and all of them are "sdX" style names.

I have been at this for days now without success. Some help would be appreciated.

Regards
Raoul
_________________
**************
Not all pain is gain.
Back to top
View user's profile Send private message
Syl20
Guru
Guru


Joined: 04 Aug 2005
Posts: 564
Location: France

PostPosted: Thu Jul 07, 2016 1:17 pm    Post subject: Reply with quote

Raoul wrote:
yes. Root is sda3

Are you really, really sure ? Your fstab says
Code:
# / was on /dev/sda1 during installation

And you grub config says
Code:
set root=(hd0,1)

As you don't have a /boot FS and the swap partition visibly is on /dev/sda5, what are /dev/sda1 and /dev/sda2 ?

A little off-topic, but why is / the lonely FS having the "discard" option ?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Thu Jul 07, 2016 6:21 pm    Post subject: Reply with quote

Raoul,

You say
Quote:
The partitions are GPT.

Your
.config:
# CONFIG_EFI_PARTITION is not set


That's a
Parker Brothers wrote:
Go to jail.
Go directly to jail.
Do not pass Go.
Do not collect 200 <insert local curency here>

sort of error.

Its particularly hard to spot fron the on screen symptoms too. Here's what happens. The kernel has MSDOS partition table support but not GPT partition table supporf.
Your HDD has a fake MSDOS partition table that contains a single entry, which in effect says thal GPT is in use. The kernel gets that far.
However, without EFI partition table support the kernel cannot read your real partition table.

I'm sure that kernel option was on earlier in the thread.
_________________
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
Raoul
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2006
Posts: 108
Location: Adelaide, Aust.

PostPosted: Thu Jul 07, 2016 10:41 pm    Post subject: Reply with quote

Hi Syl20,

I'm sorry for the confusion. My bad.
I am dual booting with Ubuntu. Ubuntu installed first and on sda1. I am trying to install Gentoo on sda3. So, the (hd0,1) in the 40_ custom for grub is trying to achieve this dual boot.

As for the "discard" option.....I can't answer that. It has been like that for so long I don't remember. I'd appreciate advice.

Regards
Raoul
_________________
**************
Not all pain is gain.
Back to top
View user's profile Send private message
Raoul
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2006
Posts: 108
Location: Adelaide, Aust.

PostPosted: Fri Jul 08, 2016 12:17 am    Post subject: Reply with quote

Hi Neddy Seagoon,

I have since set CONFIG_EFI_PARTITION. Same error.

Regards
Raoul
_________________
**************
Not all pain is gain.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Fri Jul 08, 2016 6:52 pm    Post subject: Reply with quote

Raoul,

Lets do some basic checks. Get into your chroot.
Run the commands listed below. Post the full output in each case.

Code:
ls -l /usr/src/linux/.config
ls -l /usr/src/linux/arch/x86/boot/bzImage
ls -l /boot


Also post the content of /boot/grub/grub.cfg

It would be useful to know if the error message has changed any 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
Raoul
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2006
Posts: 108
Location: Adelaide, Aust.

PostPosted: Sat Jul 09, 2016 7:06 am    Post subject: Reply with quote

Hi Neddy,

Thanks for the response.

Please see below and links.

Code:
(chroot) rap-desktop / # ls -l /usr/src/linux/.config
-rw-r--r-- 1 root root 100182 Jul  8 09:17 /usr/src/linux/.config


Code:
(chroot) rap-desktop / # ls -l /usr/src/linux/arch/x86/boot/bzImage
-rw-r--r-- 1 root root 5808672 Jul  8 09:40 /usr/src/linux/arch/x86/boot/bzImage


Code:
ls -l /boot
total 17836
-rw-r--r-- 1 root root  100182 Jul  8 09:40 config-4.6.2-gentoo
-rw-r--r-- 1 root root   98532 Jul  6 16:25 config-4.6.2-gentoo.old
-rw-r--r-- 1 root root 3240067 Jul  8 09:40 System.map-4.6.2-gentoo
-rw-r--r-- 1 root root 3227822 Jul  6 16:25 System.map-4.6.2-gentoo.old
-rw-r--r-- 1 root root 5808672 Jul  8 09:40 vmlinuz-4.6.2-gentoo
-rw-r--r-- 1 root root 5762528 Jul  6 16:25 vmlinuz-4.6.2-gentoo.old


The content of /boot/grub/grub.cfg is here: http://pastebin.com/h91xNrfC

Neddy, the /boot/grub/grub.cfg is on the Ubuntu partition /sda1.

The error message is still the same as far as the subject line is concerned. There is no list of drives that I can see which I know you have asked about in similar posts.

Regards
Raoul
_________________
**************
Not all pain is gain.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Jul 09, 2016 7:40 am    Post subject: Reply with quote

Raoul,

It looks like your kernel has been built and installed correctly.

Jul 8 09:17 /usr/src/linux/.config - is the oldest file.
Jul 8 09:40 /usr/src/linux/arch/x86/boot/bzImage is newer, so was made from the config above.
and the file in boot is
Jul 8 09:40 vmlinuz-4.6.2-gentoo which is the same file. That's all good.

Your pastebin is only the first page of grub.cfg in nano, so its truncated.

If Ubuntu has wgetpaste, use that to put /boot/grub/grub.cfg onto a pastebin.
_________________
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
Raoul
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2006
Posts: 108
Location: Adelaide, Aust.

PostPosted: Sat Jul 09, 2016 8:03 am    Post subject: Reply with quote

Sorry. Grub.cfg here: http://pastebin.com/Feb0PQvy
_________________
**************
Not all pain is gain.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Jul 09, 2016 8:37 am    Post subject: Reply with quote

Raoul,

That's all good.
You say that there is still no list of block devices at the panic. That implies that the kernel cannot see your HDD nor any optical drives.
Please pastebin you current kernel .config. A photo of the panic would be good too.

One wild thing to try is changing your gentoo boot line from
Code:
linux /boot/vmlinuz-4.6.2-gentoo root=/dev/sda3
to
Code:
linux /boot/vmlinuz-4.6.2-gentoo root=PARTUUID=<your_PARTUUID>


blkid will show you what you need to know.
Code:
/dev/sde1: UUID="c400b18c-0210-4338-a0fd-f437ecbaaf99" TYPE="ext4" PARTLABEL="ext4" PARTUUID="150e6ef1-7ba8-409c-9c3f-dbdecdc9f18b"

Notice that the filesystem UUID and PARTUUID are quite different.
_________________
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
Raoul
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2006
Posts: 108
Location: Adelaide, Aust.

PostPosted: Sat Jul 09, 2016 8:52 am    Post subject: Reply with quote

Thanks Neddy,

I have tried the blkid and it only provides the below:
Code:
/dev/sda1: UUID="2bec8d1f-b01c-4fdf-90c0-dae5b0ec4d38" TYPE="ext4"
/dev/sda3: UUID="017be4e8-0df3-486f-b1e0-901678a8d62e" TYPE="ext4"
/dev/sda5: UUID="bb269c0b-6ddb-4402-8085-5131443ad6a2" TYPE="swap"
/dev/sdb1: LABEL="/System" UUID="b0b84e74-f072-4827-9e77-c4f8d6ed8250" TYPE="ext4"
/dev/sdc1: UUID="2dd4020a-f93b-43fc-a087-387cc01fdc19" TYPE="ext4"
/dev/sde1: LABEL="TOSHIBA EXT" UUID="A6368BD7368BA741" TYPE="ntfs"


Regards
Raoul
_________________
**************
Not all pain is gain.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Jul 09, 2016 3:00 pm    Post subject: Reply with quote

Raoul,

Maybe your blkid is out of date?

NeddySeagoon wrote:
Please pastebin you current kernel .config. A photo of the panic would be good 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
Raoul
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2006
Posts: 108
Location: Adelaide, Aust.

PostPosted: Sun Jul 10, 2016 8:38 am    Post subject: Reply with quote

Hi NS,

Latest photo of error:https://www.dropbox.com/s/wwabtjnng94pcld/IMAG0021.jpg?dl=0

Current config: http://pastebin.com/v48YKvVt

Regards
Raoul
_________________
**************
Not all pain is gain.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Jul 10, 2016 8:41 am    Post subject: Reply with quote

Raoul,

Dropbox wants me to sign in and I don't do dropbox. Please use a public image hosting site.
I'll look your kernel over meanwhile.
_________________
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  Next
Page 1 of 2

 
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