Error: diskfilter writes are not supported
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub |
Unknown
|
Unknown
|
|||
grub2 (Debian) |
Fix Released
|
Unknown
|
|||
grub2 (Fedora) |
Confirmed
|
Undecided
|
|||
grub2 (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
dann frazier | ||
Vivid |
Fix Released
|
High
|
dann frazier | ||
grub2-signed (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Undecided
|
Unassigned | ||
Vivid |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
RAID and LVM users may run into a cryptic warning on boot from GRUB; because some variants of RAID and LVM are not supported for writing by GRUB itself. GRUB would typically try to write a tiny file to the boot partition for things like remembering the last selected boot entry.
[Test Case]
On an affected system (typically any RAID/LVM setup where the boot device is on RAID or on a LVM device), try to boot. Without the patch, the message will appear, otherwise it will not.
[Regression Potential]
The potential for regression is minimal as the patch involves enforcing the fact that diskfilter writes are unsupported by grub in menu building scripts, which will automatically avoid enabling recordfail (the offending feature which saves GRUB's state) if the boot partition is detected to be on a device which does not support diskfilter writes.
----
Once grub chooses what to boot to, an error shows up and will sit on the screen for approx. 5 seconds
"Error: diskfilter writes are not supported.
Press any key to continue..."
From what I understand, this error is related to raid partitions, and I have two of them (md0, md1). Both partitions are used (root and swap). Raid is assembled with mdadm and are raid0
This error message started appearing right after grub2 was updated on 01/27/2014.
System: Kernel: 3.13.0-5-generic x86_64 (64 bit) Desktop: KDE 4.11.5 Distro: Ubuntu 14.04 trusty
Drives: HDD Total Size: 1064.2GB (10.9% used)
1: id: /dev/sda model: SanDisk_SDSSDRC0 size: 32.0GB
2: id: /dev/sdb model: SanDisk_SDSSDRC0 size: 32.0GB
3: id: /dev/sdc model: ST31000528AS size: 1000.2GB
RAID: Device-1: /dev/md1 - active raid: 0 components: online: sdb2 sda3 (swap) Device-2: /dev/md0 - active raid: 0 components: online: sdb1 sda1 ( / )
Grub2: grub-efi-amd64 version 2.02~beta2-5
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: grub-efi-amd64 2.02~beta2-5
ProcVersionSign
Uname: Linux 3.13.0-5-generic x86_64
NonfreeKernelMo
ApportVersion: 2.13.2-0ubuntu2
Architecture: amd64
CurrentDesktop: KDE
Date: Wed Jan 29 17:37:59 2014
SourcePackage: grub2
UpgradeStatus: Upgraded to trusty on 2014-01-23 (6 days ago)
summary: |
- Error after boot menu + Error: diskfilter writes are not supported |
Changed in grub2 (Ubuntu): | |
importance: | Undecided → Low |
importance: | Low → Medium |
tags: | added: patch |
Changed in grub2 (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in grub: | |
importance: | Undecided → Unknown |
status: | New → Unknown |
importance: | Unknown → Undecided |
status: | Unknown → New |
tags: | added: utopic |
Changed in grub2 (Ubuntu): | |
importance: | Medium → High |
Changed in grub: | |
status: | New → Invalid |
Changed in grub2 (Debian): | |
status: | Unknown → New |
Changed in mdadm (Ubuntu): | |
assignee: | nobody → Dimitri John Ledkov (xnox) |
Changed in mdadm (Ubuntu): | |
status: | New → Confirmed |
Changed in mdadm (Ubuntu): | |
importance: | Undecided → High |
status: | Confirmed → Triaged |
Changed in grub: | |
importance: | Undecided → Unknown |
status: | Invalid → Unknown |
Changed in grub2 (Ubuntu): | |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in mdadm (Ubuntu): | |
status: | Triaged → Invalid |
Changed in grub2 (Ubuntu): | |
assignee: | Colin Watson (cjwatson) → nobody |
Changed in grub2 (Ubuntu): | |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
Changed in grub2 (Ubuntu): | |
status: | Triaged → Incomplete |
Changed in grub2 (Ubuntu): | |
status: | Incomplete → New |
Changed in grub2 (Ubuntu): | |
status: | New → Confirmed |
Changed in grub2 (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in grub2 (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in grub2 (Ubuntu): | |
assignee: | Mathieu Trudel-Lapierre (mathieu-tl) → nobody |
Changed in grub2 (Ubuntu Trusty): | |
status: | New → In Progress |
Changed in grub2 (Ubuntu Vivid): | |
status: | New → In Progress |
importance: | Undecided → High |
Changed in grub2 (Ubuntu Trusty): | |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
importance: | Undecided → High |
Changed in grub2 (Ubuntu Vivid): | |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
Changed in mdadm (Ubuntu): | |
assignee: | Dimitri John Ledkov (xnox) → nobody |
Changed in mdadm (Ubuntu Trusty): | |
status: | New → Confirmed |
Changed in mdadm (Ubuntu Vivid): | |
status: | New → Confirmed |
no longer affects: | mdadm (Ubuntu) |
no longer affects: | mdadm (Ubuntu Trusty) |
no longer affects: | mdadm (Ubuntu Vivid) |
description: | updated |
Changed in grub2 (Ubuntu Vivid): | |
assignee: | Mathieu Trudel-Lapierre (mathieu-tl) → dann frazier (dannf) |
Changed in grub2 (Ubuntu Trusty): | |
assignee: | Mathieu Trudel-Lapierre (mathieu-tl) → dann frazier (dannf) |
Changed in grub2 (Ubuntu Trusty): | |
status: | In Progress → Fix Committed |
tags: | added: verification-needed |
Changed in grub2 (Ubuntu Vivid): | |
status: | In Progress → Fix Committed |
Changed in grub2-signed (Ubuntu Trusty): | |
status: | New → Fix Committed |
Changed in grub2-signed (Ubuntu Vivid): | |
status: | New → Fix Committed |
tags: |
added: verification-done-trusty verification-needed-vivid removed: verification-needed |
tags: |
added: verification-done-vivid removed: verification-needed-vivid |
Changed in grub2-signed (Ubuntu): | |
status: | New → Confirmed |
Changed in grub2 (Debian): | |
status: | New → Fix Released |
Changed in grub2-signed (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in grub2 (Fedora): | |
importance: | Unknown → Undecided |
status: | Unknown → Won't Fix |
Changed in grub2 (Ubuntu Bionic): | |
status: | New → Confirmed |
Changed in grub2 (Ubuntu Focal): | |
status: | New → Confirmed |
Changed in grub2-signed (Ubuntu Bionic): | |
status: | New → Confirmed |
Changed in grub2-signed (Ubuntu Focal): | |
status: | New → Confirmed |
Changed in grub2 (Fedora): | |
status: | Won't Fix → Confirmed |
Created attachment 795965
photo of bootscreen
after upgrade to F19 GRUB2 comes up with "error: diskfilter writes are not supported" and waits some seconds to press a key and thanks god boots after that automatically to not break wakeup-on-lan (see also attachment)
but what is this nonsense?
Personalities : [raid1] [raid10]
md2 : active raid10 sda3[0] sdc3[1] sdb3[3] sdd3[2]
3875222528 blocks super 1.1 512K chunks 2 near-copies [4/4] [UUUU]
bitmap: 2/29 pages [8KB], 65536KB chunk
md1 : active raid10 sda2[0] sdc2[1] sdb2[3] sdd2[2]
30716928 blocks super 1.1 512K chunks 2 near-copies [4/4] [UUUU]
bitmap: 0/1 pages [0KB], 65536KB chunk
md0 : active raid1 sda1[0] sdc1[1] sdd1[2] sdb1[3]
511988 blocks super 1.0 [4/4] [UUUU]
unused devices: <none> _______ _______ _______ _______ _______ _______
_______
[root@rh:~]$ cat /boot/grub2/ grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub. d/00_header ### "${next_ entry}" "${saved_ entry}"
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default=
set next_entry=
save_env next_entry
set boot_once=true
else
set default=
fi
if [ x"${feature_ menuentry_ id}" = xy ]; then id_option= "--id" id_option= ""
menuentry_
else
menuentry_
fi
export menuentry_id_option
if [ "${prev_ saved_entry} " ]; then "${prev_ saved_entry} "
set saved_entry=
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault { entry=" ${chosen} "
if [ -z "${boot_once}" ]; then
saved_
save_env saved_entry
fi
}
function load_video { all_video_ module = xy ]; then
if [ x$feature_
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
terminal_output console d/00_header ###
set timeout=1
### END /etc/grub.
### BEGIN /etc/grub. d/10_linux ### 200.fc19. x86_64' --class fedora --class gnu-linux --class gnu --class os $menuentry_ id_option 'gnulinux- 3.10.11- 200.fc19. x86_64- advanced- b935b5db- 0051-4f7f- 83ac-6a6651fe09 88' { 1d691642baed26d f1d1974964fb00f f8' platform_ search_ hint = xy ]; then 'mduuid/ 1d691642baed26d f1d1974964fb00f f8' 1de836e4- e97c-43ee- b65c-400b0c29d3 aa e97c-43ee- b65c-400b0c29d3 aa 3.10.11- 200.fc19. x86_64 root=UUID= b935b5db- 0051-4f7f- 83ac-6a6651fe09 88 ro divider=10 audit=0 rd.plymouth=0 plymouth.enable=0 rd.md.uuid= b7475879: c95d9a47: c5043c02: 0c5ae720 rd.md.uuid= 1d691642: baed26df: 1d197496: 4fb00ff8 rd.md.uuid= ea253255: cb915401: f32794ad: ce0fe396 rd.luk...
menuentry 'Fedora, with Linux 3.10.11-
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod diskfilter
insmod mdraid1x
insmod ext2
set root='mduuid/
if [ x$feature_
search --no-floppy --fs-uuid --set=root --hint=
else
search --no-floppy --fs-uuid --set=root 1de836e4-
fi
linux /vmlinuz-