2014-10-10 12:40:23

by Pavel Machek

[permalink] [raw]
Subject: Re: /dev/root changes with 3.17-rc

Hi!

> (please cc)

Rafael, as he tracks regressions.

> 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
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


2014-10-10 12:53:06

by Norbert Preining

[permalink] [raw]
Subject: Re: /dev/root changes with 3.17-rc

On Fri, 10 Oct 2014, Pavel Machek wrote:
> > 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
------------------------------------------------------------------------

2014-10-10 13:36:44

by Pavel Machek

[permalink] [raw]
Subject: Re: /dev/root changes with 3.17-rc

On Fri 2014-10-10 21:52:57, Norbert Preining wrote:
> On Fri, 10 Oct 2014, Pavel Machek wrote:
> > > 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.

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

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

2014-10-12 19:34:58

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: /dev/root changes with 3.17-rc

On Friday, October 10, 2014 02:40:12 PM Pavel Machek wrote:
> Hi!
>
> > (please cc)
>
> Rafael, as he tracks regressions.

I've not been doing that for quite some time now (like a couple of years) ...