Skip to contentSkip to conversation

/dev/root changes with 3.17-rc

DISCUSSION Norbert Preining 3 participants 5 messages Sep 11, 2014 – Oct 12, 2014

lore
Share & tools
lore
#0 lore raw

Hi everyone,

(please cc)

I am not sure whether this is a kernel bug, but:
- booting with 3.16 I get
/ mounted on /dev/sda6
- booting with 3.17-rc* I get
/ mounted on /dev/root

The later case disturbs grub (cannot find root device) as there is no /dev/root.

I normally to make oldconfig when compiling a new kernel, all of the above are self-compiled.

Thanks

Norbert

------------------------------------------------------------------------
PREINING, Norbert http://www.preining.info
JAIST, Japan TeX Live & Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------

#1 lore raw

Hi!

Quoted 1 line

(please cc)

Rafael, as he tracks regressions.

Quoted 5 lines

I am not sure whether this is a kernel bug, but:
- booting with 3.16 I get
/ mounted on /dev/sda6
- booting with 3.17-rc* I get
/ mounted on /dev/root

Where do you see the this? /proc/mounts?
Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#2 lore raw
Quoted 7 lines · Pavel Machek
Quoted 5 lines

I am not sure whether this is a kernel bug, but:
- booting with 3.16 I get
/ mounted on /dev/sda6
- booting with 3.17-rc* I get
/ mounted on /dev/root

Where do you see the this? /proc/mounts?

After loads of testing I found out what is the problem: initramfs.

I normally compile my own kernel with all the drivers built-in, and no initramfs ... and in this case, without initrd, it seems that / is somehow not remounted to a proper scsi device, but remains at /dev/root.

Hope that helps

Norbert

------------------------------------------------------------------------
PREINING, Norbert http://www.preining.info
JAIST, Japan TeX Live & Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------

#3 lore raw
Quoted 7 lines · Norbert Preining
Quoted 6 lines · Pavel Machek
Quoted 5 lines

I am not sure whether this is a kernel bug, but:
- booting with 3.16 I get
/ mounted on /dev/sda6
- booting with 3.17-rc* I get
/ mounted on /dev/root

Quoted 8 lines
Quoted 1 line

Where do you see the this? /proc/mounts?

After loads of testing I found out what is the problem: initramfs.

I normally compile my own kernel with all the drivers built-in, and no initramfs ... and in this case, without initrd, it seems that / is somehow not remounted to a proper scsi device, but remains at /dev/root.

But that was always the case, no? Yes, it would be nice to print real root device name in /proc/mounts, but it was "broken" for as far as I can remember...
Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html