[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#826999: Kernel build scripts confused by entries for SCSI devices in /proc/mounts



On Sat, Jun 11, 2016 at 01:15:18PM +0100, Ben Hutchings wrote:
> Control: forcmerge??588675 -1
> 
> On Fri, 2016-06-10 at 18:16 -0700, Elliott Mitchell wrote:
> > The kernel build scripts are confused by what the SCSI subsystem produces
> > in /proc/mounts:
> 
> This is not controlled by the SCSI subsystem.
> 
> Unlike you, I've read the relevant source code, and I'm the upstream
> maintainer of initramfs-tools. ??I've seen problems like this before.
> When I ask you questions I am not just speculating.

I'm pretty sure the initramfs isn't the problem, though its presence does
manage to work around bug #588675.

> > $ awk '$2 == "/" && $1 != "rootfs"' < /proc/mounts
> > /dev/root / ext3 ro
> > $??
> > 
> > A kernel build on such a system will panic on boot unless the root
> > filesystem is explicitly passed to the kernel by the bootloader.????While
> > in common configurations bootloaders generally default to telling the
> > kernel what device it should use as root, that has not been documented to
> > be required.
> 
> It seems pretty obvious to me that you have to specify the root device
> somehow.

Indeed, and there are lots of ways to do that.  There is the "rdev"
setting (which I'm pretty sure is what underlies #826999), you or your
bootloader can also specify a device on the kernel's command-line.

> > Since Ben Hutchings thinks #588675 is too insignificant to ever be worthy
> > of a single line of code to fix, this bug now needs to be fixed (along
> > with many other utilities that are broken by #588675).
> 
> I make no judgement about the significance of that bug. ??But if you
> refuse to answer a maintainer's reasonable questions about a report,
> there is no way to progress and it should be closed.

That is a perfectly reasonable statement.  Please cite an example of
such an unanswered question.


-- 
(\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
 \BS (    |         EHeM+sigmsg@m5p.com  PGP 87145445         |    )   /
  \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445


Reply to: