Activity log for bug #1253443

Date Who What changed Old value New value Message
2013-11-20 21:42:12 Kent Baxley bug added bug
2013-11-20 21:43:06 Kent Baxley attachment added grub-error.JPG https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1253443/+attachment/3913583/+files/grub-error.JPG
2013-11-20 21:57:02 Kent Baxley description Testing the 14.04 daily server images, I noticed a minor error popping up at boot time. See attached photo. I call this 'minor' because the system will still boot by itself within 10 seconds or so of the error popping up. This only seems to happen so far with Advanced Format disks when installed in EFI mode. I tried two different hard drives and got the same result. Systems that are not equipped with Advanced Format disks but installed in EFI mode do not show this error. Steps to reproduce: 1) Install 14.04 amd64 daily server build. 2) System needs to have an Advanced Format disk installed and needs to be booted in EFI mode. Actual Results: Installation finshes fine but upon reboot the "failure writing to sector" error pops up after the grub menu. System will boot on its own after about 10 seconds. Expected Results: Boot without the error message The disk layout on this drive according to Parted: Model: SEAGATE ST91000640SS (scsi) Disk /dev/sda: 1000GB Partition Table: gpt Number Start End Size File system Name Flags 1 1049kb 512MB 511MB boot 2 512MB 983GB 983GB 3 983GB 1000GB 17.2GB Testing the 14.04 daily server images, I noticed a minor error popping up at boot time. See attached photo. I call this 'minor' because the system will still boot by itself within 10 seconds or so of the error popping up. This only seems to happen so far with Advanced Format disks when installed in EFI mode. I tried two different hard drives and got the same result. Systems that are not equipped with Advanced Format disks but installed in EFI mode do not show this error. Steps to reproduce: 1) Install 14.04 amd64 daily server build. Select the 'use entire disk' option to auto-partition the drive. 2) System needs to have an Advanced Format disk installed in it and needs to be booted in EFI mode. Actual Results: Installation finshes fine but upon reboot the "failure writing to sector" error pops up after the grub menu. System will boot on its own after about 10 seconds. Expected Results: Boot without the error message. The disk layout on this drive according to Parted: Model: SEAGATE ST91000640SS (scsi) Disk /dev/sda: 1000GB Partition Table: gpt Number Start End Size File system Name Flags  1 1049kb 512MB 511MB boot  2 512MB 983GB 983GB  3 983GB 1000GB 17.2GB
2013-11-20 21:57:31 Kent Baxley attachment added logs.gz https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1253443/+attachment/3913587/+files/logs.gz
2013-11-21 21:20:42 Kent Baxley bug task added dell-poweredge
2013-11-21 21:21:15 Kent Baxley dell-poweredge: assignee Kent Baxley (kentb)
2013-11-21 21:21:20 Kent Baxley dell-poweredge: importance Undecided High
2013-11-21 21:21:24 Kent Baxley dell-poweredge: status New In Progress
2013-12-09 20:57:04 Colin Watson grub2 (Ubuntu): status New Triaged
2013-12-09 20:57:06 Colin Watson grub2 (Ubuntu): importance Undecided Medium
2013-12-11 17:41:40 Colin Watson grub2 (Ubuntu): status Triaged In Progress
2013-12-11 17:41:40 Colin Watson grub2 (Ubuntu): assignee Colin Watson (cjwatson)
2013-12-12 01:18:55 Colin Watson nominated for series Ubuntu Precise
2013-12-12 01:18:55 Colin Watson bug task added grub2 (Ubuntu Precise)
2013-12-12 01:19:21 Colin Watson grub2 (Ubuntu Precise): milestone ubuntu-12.04.4
2013-12-12 01:19:28 Colin Watson grub2 (Ubuntu Precise): importance Undecided Medium
2013-12-12 01:19:29 Colin Watson grub2 (Ubuntu Precise): assignee Colin Watson (cjwatson)
2013-12-12 01:19:31 Colin Watson grub2 (Ubuntu Precise): status New Triaged
2013-12-12 01:19:46 Colin Watson grub2 (Ubuntu): status In Progress Fix Committed
2013-12-12 01:32:23 Launchpad Janitor branch linked lp:~ubuntu-core-dev/ubuntu/precise/grub2/precise
2013-12-12 01:32:34 Colin Watson grub2 (Ubuntu Precise): status Triaged In Progress
2013-12-12 01:34:33 Colin Watson grub2 (Ubuntu Precise): importance Medium High
2013-12-12 01:34:35 Colin Watson grub2 (Ubuntu): importance Medium High
2013-12-12 01:38:52 Colin Watson description Testing the 14.04 daily server images, I noticed a minor error popping up at boot time. See attached photo. I call this 'minor' because the system will still boot by itself within 10 seconds or so of the error popping up. This only seems to happen so far with Advanced Format disks when installed in EFI mode. I tried two different hard drives and got the same result. Systems that are not equipped with Advanced Format disks but installed in EFI mode do not show this error. Steps to reproduce: 1) Install 14.04 amd64 daily server build. Select the 'use entire disk' option to auto-partition the drive. 2) System needs to have an Advanced Format disk installed in it and needs to be booted in EFI mode. Actual Results: Installation finshes fine but upon reboot the "failure writing to sector" error pops up after the grub menu. System will boot on its own after about 10 seconds. Expected Results: Boot without the error message. The disk layout on this drive according to Parted: Model: SEAGATE ST91000640SS (scsi) Disk /dev/sda: 1000GB Partition Table: gpt Number Start End Size File system Name Flags  1 1049kb 512MB 511MB boot  2 512MB 983GB 983GB  3 983GB 1000GB 17.2GB SRU justification: [Impact] Unable to save GRUB environment on 4K-sector disks, which means the "recordfail" feature won't work there (i.e. the boot menu won't be forcibly displayed if the previous boot failed). In the case at hand, this resulted in the boot being interrupted with an error message without much harm being done; however, it just occurred to me that this could result in data corruption if /boot/grub/grubenv is situated in the first 1/8th of the disk, so we definitely need to fix this. [Test Case] Install on an Advanced Format disk and make sure it boots without any error messages from GRUB. [Regression Potential] Confined to the disk writing code, which is rarely used in GRUB; in 12.04, it's only used by the gptsync, parttool, and save_env commands, only save_env of which is widely used. Original report follows: Testing the 14.04 daily server images, I noticed a minor error popping up at boot time. See attached photo. I call this 'minor' because the system will still boot by itself within 10 seconds or so of the error popping up. This only seems to happen so far with Advanced Format disks when installed in EFI mode. I tried two different hard drives and got the same result. Systems that are not equipped with Advanced Format disks but installed in EFI mode do not show this error. Steps to reproduce: 1) Install 14.04 amd64 daily server build. Select the 'use entire disk' option to auto-partition the drive. 2) System needs to have an Advanced Format disk installed in it and needs to be booted in EFI mode. Actual Results: Installation finshes fine but upon reboot the "failure writing to sector" error pops up after the grub menu. System will boot on its own after about 10 seconds. Expected Results: Boot without the error message. The disk layout on this drive according to Parted: Model: SEAGATE ST91000640SS (scsi) Disk /dev/sda: 1000GB Partition Table: gpt Number Start End Size File system Name Flags  1 1049kb 512MB 511MB boot  2 512MB 983GB 983GB  3 983GB 1000GB 17.2GB
2013-12-12 10:20:18 Launchpad Janitor branch linked lp:debian/grub2
2013-12-12 11:26:52 Launchpad Janitor branch linked lp:ubuntu/trusty-proposed/grub2
2013-12-13 18:48:48 Launchpad Janitor grub2 (Ubuntu): status Fix Committed Fix Released
2013-12-18 20:41:03 Kent Baxley dell-poweredge: status In Progress Fix Committed
2014-01-15 04:42:15 Launchpad Janitor branch linked lp:debian/jessie/grub2
2014-06-03 21:57:15 Stéphane Graber grub2 (Ubuntu Precise): status In Progress Fix Committed
2014-06-03 21:57:17 Stéphane Graber bug added subscriber Ubuntu Stable Release Updates Team
2014-06-03 21:57:22 Stéphane Graber bug added subscriber SRU Verification
2014-06-03 21:57:31 Stéphane Graber tags verification-needed
2014-06-03 22:10:02 Launchpad Janitor branch linked lp:ubuntu/precise-proposed/grub2
2014-06-30 21:20:59 Kent Baxley tags verification-needed verification-done
2014-07-01 09:40:30 Colin Watson removed subscriber Ubuntu Stable Release Updates Team
2014-07-01 09:46:14 Launchpad Janitor grub2 (Ubuntu Precise): status Fix Committed Fix Released
2014-07-01 09:55:15 Launchpad Janitor branch linked lp:ubuntu/precise-updates/grub2
2014-07-01 16:09:39 Kent Baxley dell-poweredge: status Fix Committed Fix Released