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


Groups > linux.debian.user > #225305

Re: linux-image-4.9.0-12-amd64 breaks LUKS root

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: linux-image-4.9.0-12-amd64 breaks LUKS root
Date 2020-07-27 05:50 +0200
Message-ID <Ax2jf-11b-1@gated-at.bofh.it> (permalink)
References (1 earlier) <zPQ0p-7U6-1@gated-at.bofh.it> <zPWyR-3ze-1@gated-at.bofh.it> <zPYqZ-4IE-3@gated-at.bofh.it> <zPZn3-5ii-5@gated-at.bofh.it> <AwYz0-73I-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun 26 Jul 2020 at 16:46:48 (-0700), David Christensen wrote:
> On 2020-03-30 02:58, deloptes wrote:
> > David Christensen wrote:
> 
> > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955329
> 
> I updated/ upgraded the system today and whatever broke LUKS when I
> 'apt-get dist-upgrade' and installed kernel 4.9.0-12-amd64 several
> months ago now breaks LUKS when I try to boot the kernel that I have
> been using prior and since -- 4.9.0-11-amd64.  Fortunately, LUKS still
> works with my oldest available kernel, 4.9.0-9-amd64.
> 
> > lsinitramfs will give you the content of the initrd
> 
> I was unable to understand your other suggestions, but tried to use
> this one:
> 
> 2020-07-26 16:35:36 root@po ~
> # lsinitramfs -l /boot/initrd.img-4.9.0-9-amd64 >
> lsinitramfs-l-initrd.img-4.9.0-9-amd64.out
> 
> 2020-07-26 16:35:57 root@po ~
> # lsinitramfs -l /boot/initrd.img-4.9.0-11-amd64 >
> lsinitramfs-l-initrd.img-4.9.0-11-amd64.out
> 
> The listings are very large:
> 
> 2020-07-26 16:40:08 root@po ~
> # wc lsinitramfs-l-initrd.img-4.9.0-*
>   1243  11247 128364 lsinitramfs-l-initrd.img-4.9.0-11-amd64.out
>   1243  11247 127485 lsinitramfs-l-initrd.img-4.9.0-9-amd64.out
>   2486  22494 255849 total
> 
> And there are a lot of changes:
> 
> 2020-07-26 16:40:50 root@po ~
> # diff lsinitramfs-l-initrd.img-4.9.0-9-amd64.out
> lsinitramfs-l-initrd.img-4.9.0-11-amd64.out | grep '>' | wc
>     977    9878  112569
> 
> 2020-07-26 16:40:52 root@po ~
> # diff lsinitramfs-l-initrd.img-4.9.0-9-amd64.out
> lsinitramfs-l-initrd.img-4.9.0-11-amd64.out | grep '>' | head
> > drwxr-xr-x  10 root     root            0 Jul 26 15:46 .
> > drwxr-xr-x   3 root     root            0 Jul 26 15:46 conf
> > drwxr-xr-x   2 root     root            0 Jul 26 15:46 conf/conf.d
> > -rw-r--r--   1 root     root           76 Jul 26 15:46
> conf/conf.d/cryptroot
> > -rw-r--r--   1 root     root           16 Jul 26 15:46 conf/arch.conf
> > drwxr-xr-x   2 root     root            0 Jul 26 15:46 sbin
> < lrwxrwxrwx   1 root     root           12 Jan  9  2020
> sbin/mount.ntfs -> /bin/ntfs-3g
> > lrwxrwxrwx   1 root     root           12 Jul 26 15:46
> sbin/mount.ntfs -> /bin/ntfs-3g
> < lrwxrwxrwx   1 root     root           12 Jan  9  2020
> sbin/mount.ntfs-3g -> /bin/ntfs-3g
> > lrwxrwxrwx   1 root     root           12 Jul 26 15:46
> sbin/mount.ntfs-3g -> /bin/ntfs-3g

If you're going to diff listings like that, you at least need to pipe
the output through something like

  cut --complement -b 43-54 /tmp/initrd.img-4.19.0-9-amd64.out | sed -e 's/4.19.0.9/4.19.0.X/'

to strip the dates and kernel version. This will leave you with the
sizes. If you're looking for missing files, drop the -l, the cut, and
leave the sed.

> I doubt I can find the needle(s) in that haystack.

Cheers,
David.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

linux-image-4.9.0-12-amd64 breaks LUKS root David Christensen <dpchrist@holgerdanske.com> - 2020-03-15 07:20 +0100
  Re: linux-image-4.9.0-12-amd64 breaks LUKS root David Christensen <dpchrist@holgerdanske.com> - 2020-03-30 02:00 +0200
    Re: linux-image-4.9.0-12-amd64 breaks LUKS root deloptes <deloptes@gmail.com> - 2020-03-30 09:00 +0200
      Re: linux-image-4.9.0-12-amd64 breaks LUKS root David Christensen <dpchrist@holgerdanske.com> - 2020-03-30 11:00 +0200
        Re: linux-image-4.9.0-12-amd64 breaks LUKS root deloptes <deloptes@gmail.com> - 2020-03-30 12:00 +0200
          Re: linux-image-4.9.0-12-amd64 breaks LUKS root David Christensen <dpchrist@holgerdanske.com> - 2020-07-27 01:50 +0200
            Re: linux-image-4.9.0-12-amd64 breaks LUKS root David <bouncingcats@gmail.com> - 2020-07-27 03:20 +0200
              Re: linux-image-4.9.0-12-amd64 breaks LUKS root David Christensen <dpchrist@holgerdanske.com> - 2020-07-27 06:20 +0200
            Re: linux-image-4.9.0-12-amd64 breaks LUKS root David Wright <deblis@lionunicorn.co.uk> - 2020-07-27 05:50 +0200
              Re: linux-image-4.9.0-12-amd64 breaks LUKS root David Christensen <dpchrist@holgerdanske.com> - 2020-07-27 07:30 +0200
                Re: linux-image-4.9.0-12-amd64 breaks LUKS root David Wright <deblis@lionunicorn.co.uk> - 2020-07-30 04:10 +0200

csiph-web