ubuntu@ubuntu:~$ cat /etc/cloud/build.info
build_name: server
serial: 20171207
ubuntu@ubuntu:~$ uname -a
Linux ubuntu 4.10.0-40-generic #44~lp1729145 SMP Wed Dec 6 16:21:45 UTC
2017 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@ubuntu:~$ tree /dev/bcache
/dev/bcache [error opening dir]
0 directories, 0 files
$ sudo dpkg --install
linux-image-4.10.0-40-generic_4.10.0-40.44~lp1729145_amd64.deb
dpkg: warning: downgrading linux-image-4.10.0-40-generic from 4.10.0-40.44
to 4.10.0-40.44~lp1729145
(Reading database ... 56846 files and directories currently installed.)
Preparing to unpack
linux-image-4.10.0-40-generic_4.10.0-40.44~lp1729145_amd64.deb ...
Done.
Unpacking linux-image-4.10.0-40-generic (4.10.0-40.44~lp1729145) over
(4.10.0-40.44) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.10.0-40-generic
/boot/vmlinuz-4.10.0-40-generic
run-parts: executing /etc/kernel/postrm.d/x-grub-legacy-ec2
4.10.0-40-generic /boot/vmlinuz-4.10.0-40-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.10.0-40-generic
/boot/vmlinuz-4.10.0-40-generic
Setting up linux-image-4.10.0-40-generic (4.10.0-40.44~lp1729145) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Not updating initrd symbolic links since we are being updated/reinstalled
(4.10.0-40.44 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(4.10.0-40.44 was configured last, according to dpkg)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal
4.10.0-40-generic /boot/vmlinuz-4.10.0-40-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools
4.10.0-40-generic /boot/vmlinuz-4.10.0-40-generic
update-initramfs: Generating /boot/initrd.img-4.10.0-40-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades
4.10.0-40-generic /boot/vmlinuz-4.10.0-40-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier
4.10.0-40-generic /boot/vmlinuz-4.10.0-40-generic
run-parts: executing /etc/kernel/postinst.d/x-grub-legacy-ec2
4.10.0-40-generic /boot/vmlinuz-4.10.0-40-generic
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-4.10.0-40-generic
Found kernel: /boot/vmlinuz-4.10.0-40-generic
Updating /boot/grub/menu.lst ... done
run-parts: executing /etc/kernel/postinst.d/zz-update-grub
4.10.0-40-generic /boot/vmlinuz-4.10.0-40-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.10.0-40-generic
Found initrd image: /boot/initrd.img-4.10.0-40-generic
done
ubuntu@ubuntu:~$ sudo reboot
...
ubuntu@ubuntu:~$ dpkg --list | grep linux-image
ii linux-image-4.10.0-40-generic 4.10.0-40.44~lp1729145 amd64 Linux kernel image for version 4.10.0 on 64
bit x86 SMP
ii linux-image-virtual 4.10.0.40.40 amd64 Virtual Linux kernel image
ubuntu@ubuntu:~$ sudo tree /dev/bcache
/dev/bcache
├── by-label
│ ├── backing0 -> ../../bcache2
│ └── backing1 -> ../../bcache0
└── by-uuid
├── 1375d23f-4780-46d7-9fca-c397f8333685 -> ../../bcache3
├── 57e009b1-6bf4-42ea-abe0-334b10941a0b -> ../../bcache0
├── 7ce7dc32-7da9-42a8-899a-5d21ed7ea714 -> ../../bcache1
└── 92d882d8-38cd-4537-847b-6f9c40ba67b4 -> ../../bcache2
2 directories, 6 files
On Wed, Dec 6, 2017 at 11:00 AM, Joseph Salisbury <
<email address hidden>> wrote:
> I built Xenial, Zesty and Bionic test kernels with your patch. They can
> also be downloaded from:
>
> http://kernel.ubuntu.com/~jsalisbury/lp1729145/
>
> Can those that can reproduce this bug give this test kernel a try?
>
>
> Zesty required upstream commit 4b758df21 as a prereq. Zesty never got it,
> since upstream 4.10 is EOL. Zesty would be the more important test kernel
> to try due to this difference.
>
> Thanks again.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1729145
>
> Title:
> /dev/bcache/by-uuid links not created after reboot
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/
> 1729145/+subscriptions
>
Here's the Zesty test; all looks good.
ubuntu@ubuntu:~$ cat /etc/cloud/ build.info
build_name: server
serial: 20171207
ubuntu@ubuntu:~$ uname -a
Linux ubuntu 4.10.0-40-generic #44~lp1729145 SMP Wed Dec 6 16:21:45 UTC
2017 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@ubuntu:~$ tree /dev/bcache
/dev/bcache [error opening dir]
0 directories, 0 files
$ sudo dpkg --install 4.10.0- 40-generic_ 4.10.0- 40.44~lp1729145 _amd64. deb 4.10.0- 40-generic from 4.10.0-40.44 40.44~lp1729145 4.10.0- 40-generic_ 4.10.0- 40.44~lp1729145 _amd64. deb ... 4.10.0- 40-generic (4.10.0- 40.44~lp1729145 ) over postrm. d . postrm. d/initramfs- tools 4.10.0-40-generic 4.10.0- 40-generic postrm. d/x-grub- legacy- ec2 4.10.0- 40-generic postrm. d/zz-update- grub 4.10.0-40-generic 4.10.0- 40-generic 4.10.0- 40-generic (4.10.0- 40.44~lp1729145 ) ... postinst. d. postinst. d/apt-auto- removal 4.10.0- 40-generic postinst. d/initramfs- tools 4.10.0- 40-generic img-4.10. 0-40-generic mdadm.conf defines no arrays. postinst. d/unattended- upgrades 4.10.0- 40-generic postinst. d/update- notifier 4.10.0- 40-generic postinst. d/x-grub- legacy- ec2 4.10.0- 40-generic 4.10.0- 40-generic 4.10.0- 40-generic
linux-image-
dpkg: warning: downgrading linux-image-
to 4.10.0-
(Reading database ... 56846 files and directories currently installed.)
Preparing to unpack
linux-image-
Done.
Unpacking linux-image-
(4.10.0-40.44) ...
Examining /etc/kernel/
run-parts: executing /etc/kernel/
/boot/vmlinuz-
run-parts: executing /etc/kernel/
4.10.0-40-generic /boot/vmlinuz-
run-parts: executing /etc/kernel/
/boot/vmlinuz-
Setting up linux-image-
Running depmod.
update-initramfs: deferring update (hook will be called later)
Not updating initrd symbolic links since we are being updated/reinstalled
(4.10.0-40.44 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(4.10.0-40.44 was configured last, according to dpkg)
Examining /etc/kernel/
run-parts: executing /etc/kernel/
4.10.0-40-generic /boot/vmlinuz-
run-parts: executing /etc/kernel/
4.10.0-40-generic /boot/vmlinuz-
update-initramfs: Generating /boot/initrd.
W: mdadm: /etc/mdadm/
run-parts: executing /etc/kernel/
4.10.0-40-generic /boot/vmlinuz-
run-parts: executing /etc/kernel/
4.10.0-40-generic /boot/vmlinuz-
run-parts: executing /etc/kernel/
4.10.0-40-generic /boot/vmlinuz-
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Updating /boot/grub/menu.lst ... done
run-parts: executing /etc/kernel/ postinst. d/zz-update- grub 4.10.0- 40-generic 4.10.0- 40-generic img-4.10. 0-40-generic
4.10.0-40-generic /boot/vmlinuz-
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
done
ubuntu@ubuntu:~$ sudo reboot
...
ubuntu@ubuntu:~$ dpkg --list | grep linux-image 4.10.0- 40-generic 4.10.0- 40.44~lp1729145
amd64 Linux kernel image for version 4.10.0 on 64
amd64 Virtual Linux kernel image 4780-46d7- 9fca-c397f83336 85 -> ../../bcache3 6bf4-42ea- abe0-334b10941a 0b -> ../../bcache0 7da9-42a8- 899a-5d21ed7ea7 14 -> ../../bcache1 38cd-4537- 847b-6f9c40ba67 b4 -> ../../bcache2
ii linux-image-
bit x86 SMP
ii linux-image-virtual 4.10.0.40.40
ubuntu@ubuntu:~$ sudo tree /dev/bcache
/dev/bcache
├── by-label
│ ├── backing0 -> ../../bcache2
│ └── backing1 -> ../../bcache0
└── by-uuid
├── 1375d23f-
├── 57e009b1-
├── 7ce7dc32-
└── 92d882d8-
2 directories, 6 files
On Wed, Dec 6, 2017 at 11:00 AM, Joseph Salisbury <
<email address hidden>> wrote:
> I built Xenial, Zesty and Bionic test kernels with your patch. They can kernel. ubuntu. com/~jsalisbury /lp1729145/ /bugs.launchpad .net/bugs/ 1729145 /bugs.launchpad .net/ubuntu/ +source/ linux/+ bug/ +subscriptions
> also be downloaded from:
>
> http://
>
> Can those that can reproduce this bug give this test kernel a try?
>
>
> Zesty required upstream commit 4b758df21 as a prereq. Zesty never got it,
> since upstream 4.10 is EOL. Zesty would be the more important test kernel
> to try due to this difference.
>
> Thanks again.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> /dev/bcache/by-uuid links not created after reboot
>
> To manage notifications about this bug go to:
> https:/
> 1729145/
>