[Bug 1512193] Re: arm64: report 'error: failure writing sector 0x19df788 to `hd0'' after a fresh install

Ming Lei 1512193 at bugs.launchpad.net
Mon Nov 2 03:24:30 UTC 2015


The issue can be work around by commenting 'recordfail' in the boot entry of 'Ubuntu'.

And it can be reproduced on upstrem grub too.

Looks the sectors wroten to hd0 is out of range in the partition, and it
should be bug in grub.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1512193

Title:
  arm64: report 'error: failure writing sector 0x19df788 to `hd0'' after
  a fresh install

Status in grub2 package in Ubuntu:
  New

Bug description:
  1, grub boot log

  TianoCore 2.0.0 UEFI 2.4.0 Sep  1 2015 12:48:07
  CPU: APM ARM 64-bit Strega Rev A2 2400MHz PCP 2400MHz
       32 KB ICACHE, 32 KB DCACHE
       SOC 2000MHz IOBAXI 400MHz AXI 250MHz AHB 200MHz GFC 66MHz
  Board: X-Gene Merlin Board
  Slimpro FW:
  	Ver: 3.4 (build 2015/07/22)
  	PMD: 980 mV
  	SOC: 950 mV
  The default boot selection will start in   3 seconds
  [1] ubuntu
  [2] PXE on MAC :3C
  [3] Shell
  [4] Boot Manager
  [5] Reboot
  [6] Shutdown
  Start: 1
  error: no suitable video mode found.
  error: failure writing sector 0x19df788 to `hd0'.


  2, disk information
  2.1 parted
  ubuntu at ubuntu:~$ sudo parted /dev/sda -- print
  Model: ATA Corsair Neutron (scsi)
  Disk /dev/sda: 120GB
  Sector size (logical/physical): 512B/512B
  Partition Table: gpt
  Disk Flags: 

  Number  Start   End     Size    File system     Name                  Flags
   1      1049kB  538MB   537MB   fat16           EFI System Partition  boot, esp
   2      538MB   87.1GB  86.5GB  ext4
   3      87.1GB  120GB   32.9GB  linux-swap(v1)

  2.2 hdparm -I
  ubuntu at ubuntu:~$ sudo hdparm -I /dev/sda

  /dev/sda:

  ATA device, with non-removable media
  	Model Number:       Corsair Neutron GTX SSD                 
  	Serial Number:      13447908000097140140
  	Firmware Revision:  M311    
  	Transport:          Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5
  Standards:
  	Supported: 8 7 6 5 
  	Likely used: 8
  Configuration:
  	Logical		max	current
  	cylinders	16383	0
  	heads		16	0
  	sectors/track	63	0
  	--
  	LBA    user addressable sectors:  234441648
  	LBA48  user addressable sectors:  234441648
  	Logical/Physical Sector size:           512 bytes
  	device size with M = 1024*1024:      114473 MBytes
  	device size with M = 1000*1000:      120034 MBytes (120 GB)
  	cache/buffer size  = unknown
  	Nominal Media Rotation Rate: Solid State Device
  Capabilities:
  	LBA, IORDY(can be disabled)
  	Queue depth: 32
  	Standby timer values: spec'd by Standard, no device specific minimum
  	R/W multiple sector transfer: Max = 16	Current = 1
  	DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 
  	     Cycle time: min=120ns recommended=120ns
  	PIO: pio0 pio1 pio2 pio3 pio4 
  	     Cycle time: no flow control=120ns  IORDY flow control=120ns
  Commands/features:
  	Enabled	Supported:
  	   *	SMART feature set
  	    	Security Mode feature set
  	   *	Power Management feature set
  	   *	Write cache
  	   *	Look-ahead
  	   *	Host Protected Area feature set
  	   *	WRITE_BUFFER command
  	   *	READ_BUFFER command
  	   *	NOP cmd
  	   *	DOWNLOAD_MICROCODE
  	   *	48-bit Address feature set
  	   *	Mandatory FLUSH_CACHE
  	   *	FLUSH_CACHE_EXT
  	   *	SMART error logging
  	   *	SMART self-test
  	   *	WRITE_{DMA|MULTIPLE}_FUA_EXT
  	    	WRITE_DMA_QUEUED_FUA_EXT
  	   *	WRITE_UNCORRECTABLE_EXT command
  	   *	{READ,WRITE}_DMA_EXT_GPL commands
  	   *	Gen1 signaling speed (1.5Gb/s)
  	   *	Gen2 signaling speed (3.0Gb/s)
  	   *	Gen3 signaling speed (6.0Gb/s)
  	   *	Native Command Queueing (NCQ)
  	   *	Host-initiated interface power management
  	   *	Phy event counters
  	   *	Device automatic Partial to Slumber transitions
  	   *	READ_LOG_DMA_EXT equivalent to READ_LOG_EXT
  	    	Non-Zero buffer offsets in DMA Setup FIS
  	    	DMA Setup Auto-Activate optimization
  	    	Device-initiated interface power management
  	    	In-order data delivery
  	   *	Software settings preservation
  	   *	Data Set Management TRIM supported (limit 1 block)
  Security: 
  	Master password revision code = 65534
  		supported
  	not	enabled
  	not	locked
  	not	frozen
  	not	expired: security count
  	not	supported: enhanced erase
  Checksum: correct

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1512193/+subscriptions



More information about the foundations-bugs mailing list