Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #56075 > unrolled thread

Bug#845302: systemd: 232-6:Failed to boot, makes kernel panic when starting /sbin/init.

Started byBen Hutchings <ben@decadent.org.uk>
First post2016-12-09 19:00 +0100
Last post2016-12-15 19:20 +0100
Articles 5 — 2 participants

Back to article view | Back to linux.debian.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#845302: systemd: 232-6:Failed to boot, makes kernel panic when starting /sbin/init. Ben Hutchings <ben@decadent.org.uk> - 2016-12-09 19:00 +0100
    Bug#845302: systemd: 232-6:Failed to boot, makes kernel panic when starting /sbin/init. Ben Hutchings <ben@decadent.org.uk> - 2016-12-15 07:30 +0100
      Bug#845302: systemd: 232-6:Failed to boot, makes kernel panic when starting /sbin/init. Michael Biebl <biebl@debian.org> - 2016-12-15 11:50 +0100
        Bug#845302: systemd: 232-6:Failed to boot, makes kernel panic when starting /sbin/init. Ben Hutchings <ben@decadent.org.uk> - 2016-12-15 16:10 +0100
          Bug#845302: systemd: 232-6:Failed to boot, makes kernel panic when starting /sbin/init. Michael Biebl <biebl@debian.org> - 2016-12-15 19:20 +0100

#56075 — Bug#845302: systemd: 232-6:Failed to boot, makes kernel panic when starting /sbin/init.

FromBen Hutchings <ben@decadent.org.uk>
Date2016-12-09 19:00 +0100
SubjectBug#845302: systemd: 232-6:Failed to boot, makes kernel panic when starting /sbin/init.
Message-ID<sMxCG-6dN-21@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

On Wed, 23 Nov 2016 14:30:36 +0100 Michael Biebl <biebl@debian.org> wrote:
> Control: reassign -1 initramfs-tools 0.125
> 
> 
> Am 23.11.2016 um 11:25 schrieb K.Ohta:
> > Not mounted /usr and made kernel panic still longer sleep.
> > 
> > Then booting with "init=/bin/bash" , check dmesg (attached).
> > Below message was wrote when trying to mount /usr :
> >> [   15.958645] EXT4-fs (sde3): Unrecognized mount option "auto" or missing value
> > 
> > If this message is correct, mount program included by initramfs
> > has not recognized "auto" (or some another) option(s), regardless
> > /bin/mount (or /sbin/mount/ext4) recognize this option(s) :-(
> 
> 
> I'm going to reassign this to initramfs-tools as it uses mount
> implementations from either klibc-utils or busybox which are both
> incomplete and as a result, fail to mount /usr.
> 
> I decided against reassigning this to busybox and klibc-utils.
> I think it's preferable, if initramfs-tools simply uses the mount
> implementation from the real systemd, i.e. util-linux. This guarantees
> that we won't run into such problems again in the future.
> 
> The mount utility is tiny, all its library dependencies are already in
> the initramfs. Rebuilding the initramfs with mount from u-l increases
> the size by 17K.

I see.  fsck already pulls in libmount, so indeed there is little extra
cost to including mount.

> We would also have to make sure to use mount --move in
> /usr/share/initramfs-tools/init for /run, /sys and /proc
> 
> Ben, what's your take on this?

I'd like to sort out the busybox and klibc-utils implementations of
mount, but I must admit there isn't much point in using them any more.

Ben.
 
-- 
Ben Hutchings
When in doubt, use brute force. - Ken Thompson

[toc] | [next] | [standalone]


#56190

FromBen Hutchings <ben@decadent.org.uk>
Date2016-12-15 07:30 +0100
Message-ID<sOxId-2nI-3@gated-at.bofh.it>
In reply to#56075

[Multipart message — attachments visible in raw view] — view raw

On Fri, 2016-12-09 at 17:50 +0000, Ben Hutchings wrote:
> On Wed, 23 Nov 2016 14:30:36 +0100 Michael Biebl <biebl@debian.org> wrote:
[...]
> > We would also have to make sure to use mount --move in
> > /usr/share/initramfs-tools/init for /run, /sys and /proc
> >  
> > Ben, what's your take on this?
> 
> I'd like to sort out the busybox and klibc-utils implementations of
> mount, but I must admit there isn't much point in using them any more.

...except that a few other packages install scripts that use
'mount -o move', which doesn't work with the util-linux version of
mount:

https://codesearch.debian.net/search?q=mount+.*+-o+move

I think that util-linux will need to get support for that.

Ben.

-- 
Ben Hutchings
It is easier to change the specification to fit the program than vice
versa.

[toc] | [prev] | [next] | [standalone]


#56199

FromMichael Biebl <biebl@debian.org>
Date2016-12-15 11:50 +0100
Message-ID<sOBLP-4GV-7@gated-at.bofh.it>
In reply to#56190

[Multipart message — attachments visible in raw view] — view raw

Am 15.12.2016 um 07:18 schrieb Ben Hutchings:
> On Fri, 2016-12-09 at 17:50 +0000, Ben Hutchings wrote:
>> On Wed, 23 Nov 2016 14:30:36 +0100 Michael Biebl <biebl@debian.org> wrote:
> [...]
>>> We would also have to make sure to use mount --move in
>>> /usr/share/initramfs-tools/init for /run, /sys and /proc
>>>  
>>> Ben, what's your take on this?
>>
>> I'd like to sort out the busybox and klibc-utils implementations of
>> mount, but I must admit there isn't much point in using them any more.
> 
> ...except that a few other packages install scripts that use
> 'mount -o move', which doesn't work with the util-linux version of
> mount:
> 
> https://codesearch.debian.net/search?q=mount+.*+-o+move
> 
> I think that util-linux will need to get support for that.

Or we fix the 3 packages which are affected.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

[toc] | [prev] | [next] | [standalone]


#56214

FromBen Hutchings <ben@decadent.org.uk>
Date2016-12-15 16:10 +0100
Message-ID<sOFPs-7kP-25@gated-at.bofh.it>
In reply to#56199

[Multipart message — attachments visible in raw view] — view raw

On Thu, 2016-12-15 at 11:39 +0100, Michael Biebl wrote:
> Am 15.12.2016 um 07:18 schrieb Ben Hutchings:
> > On Fri, 2016-12-09 at 17:50 +0000, Ben Hutchings wrote:
> > > On Wed, 23 Nov 2016 14:30:36 +0100 Michael Biebl <biebl@debian.org> wrote:
> > 
> > [...]
> > > > We would also have to make sure to use mount --move in
> > > > /usr/share/initramfs-tools/init for /run, /sys and /proc
> > > >  
> > > > Ben, what's your take on this?
> > > 
> > > I'd like to sort out the busybox and klibc-utils implementations of
> > > mount, but I must admit there isn't much point in using them any more.
> > 
> > ...except that a few other packages install scripts that use
> > 'mount -o move', which doesn't work with the util-linux version of
> > mount:
> > 
> > https://codesearch.debian.net/search?q=mount+.*+-o+move
> > 
> > I think that util-linux will need to get support for that.
> 
> Or we fix the 3 packages which are affected.

'Fix' them like you did in udev, which results in an error message at
boot?  No thanks.

Ben.

-- 
Ben Hutchings
It is easier to change the specification to fit the program than vice
versa.

[toc] | [prev] | [next] | [standalone]


#56220

FromMichael Biebl <biebl@debian.org>
Date2016-12-15 19:20 +0100
Message-ID<sOINk-G7-19@gated-at.bofh.it>
In reply to#56214

[Multipart message — attachments visible in raw view] — view raw

Am 15.12.2016 um 16:05 schrieb Ben Hutchings:
> On Thu, 2016-12-15 at 11:39 +0100, Michael Biebl wrote:

>> Or we fix the 3 packages which are affected.
> 
> 'Fix' them like you did in udev, which results in an error message at
> boot?  No thanks.

No, I would not add a fallback but instead add a versioned Breaks
against initramfs-tools (and the same could be done for udev as well)


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web