public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* /dev/root changes with 3.17-rc
@ 2014-09-11 14:45 Norbert Preining
  2014-10-10 12:40 ` Pavel Machek
  0 siblings, 1 reply; 5+ messages in thread
From: Norbert Preining @ 2014-09-11 14:45 UTC (permalink / raw)
  To: linux-kernel

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
------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: /dev/root changes with 3.17-rc
  2014-09-11 14:45 /dev/root changes with 3.17-rc Norbert Preining
@ 2014-10-10 12:40 ` Pavel Machek
  2014-10-10 12:52   ` Norbert Preining
  2014-10-12 19:55   ` Rafael J. Wysocki
  0 siblings, 2 replies; 5+ messages in thread
From: Pavel Machek @ 2014-10-10 12:40 UTC (permalink / raw)
  To: Norbert Preining, Rafael J. Wysocki; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: /dev/root changes with 3.17-rc
  2014-10-10 12:40 ` Pavel Machek
@ 2014-10-10 12:52   ` Norbert Preining
  2014-10-10 13:36     ` Pavel Machek
  2014-10-12 19:55   ` Rafael J. Wysocki
  1 sibling, 1 reply; 5+ messages in thread
From: Norbert Preining @ 2014-10-10 12:52 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Rafael J. Wysocki, linux-kernel

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
------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: /dev/root changes with 3.17-rc
  2014-10-10 12:52   ` Norbert Preining
@ 2014-10-10 13:36     ` Pavel Machek
  0 siblings, 0 replies; 5+ messages in thread
From: Pavel Machek @ 2014-10-10 13:36 UTC (permalink / raw)
  To: Norbert Preining; +Cc: Rafael J. Wysocki, linux-kernel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: /dev/root changes with 3.17-rc
  2014-10-10 12:40 ` Pavel Machek
  2014-10-10 12:52   ` Norbert Preining
@ 2014-10-12 19:55   ` Rafael J. Wysocki
  1 sibling, 0 replies; 5+ messages in thread
From: Rafael J. Wysocki @ 2014-10-12 19:55 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Norbert Preining, linux-kernel

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) ...


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-10-12 19:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-11 14:45 /dev/root changes with 3.17-rc Norbert Preining
2014-10-10 12:40 ` Pavel Machek
2014-10-10 12:52   ` Norbert Preining
2014-10-10 13:36     ` Pavel Machek
2014-10-12 19:55   ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox