Bug 696714

Summary: DiskLabelCommitError: Could not commit to disk /dev/sdc
Product: [Fedora] Fedora Reporter: Stefan Gies <stefan998>
Component: partedAssignee: Brian Lane <bcl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: bcl, gansalmon, hdegoede, itamar, jonathan, kernel-maint, madhu.chinakonda, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: anaconda_trace_hash:bc8bf64cb5e7d094d90cf5e8f192654ab1932315d06a19f21b51619033718612
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-27 17:51:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Attached traceback automatically from anaconda. none

Description Stefan Gies 2011-04-14 17:35:52 UTC
The following was filed automatically by anaconda:
anaconda 14.22 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/pyanaconda/storage/formats/disklabel.py", line 250, in commit
    raise DiskLabelCommitError(msg)
  File "/usr/lib/python2.7/site-packages/pyanaconda/storage/devices.py", line 1390, in destroy
    self.disk.originalFormat.commit()
  File "/usr/lib/python2.7/site-packages/pyanaconda/storage/deviceaction.py", line 219, in execute
    self.device.destroy()
  File "/usr/lib/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 705, in processActions
    action.execute(intf=self.intf)
  File "/usr/lib/python2.7/site-packages/pyanaconda/storage/__init__.py", line 313, in doIt
    self.devicetree.processActions()
  File "/usr/lib/python2.7/site-packages/pyanaconda/packages.py", line 110, in turnOnFilesystems
    anaconda.storage.doIt()
  File "/usr/lib/python2.7/site-packages/pyanaconda/dispatch.py", line 212, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/python2.7/site-packages/pyanaconda/dispatch.py", line 131, in gotoNext
    self.moveStep()
  File "/usr/lib/python2.7/site-packages/pyanaconda/gui.py", line 1190, in nextClicked
    self.anaconda.dispatch.gotoNext()
DiskLabelCommitError: Could not commit to disk /dev/sdc

Comment 1 Stefan Gies 2011-04-14 17:35:58 UTC
Created attachment 492177 [details]
Attached traceback automatically from anaconda.

Comment 2 Chris Lumens 2011-04-14 18:02:50 UTC
F14 is really pretty old at this point.  Please retest with F15 beta and let us know if this is still a problem.  Thanks.

Comment 3 Stefan Gies 2011-04-14 18:37:41 UTC
This error occured because I use an ITE8212f PCI-Controller. This error vanishes if I use a different ide-controller (e.g. sil0680a-chipset). Using Debian 6.01a or Opensuse 11.4 this error do not happen with the ITE8212f-Controller.

Comment 4 Chris Lumens 2011-04-15 02:10:50 UTC
anaconda doesn't care about disk controllers.  Reassigning.

Comment 5 Chuck Ebbert 2011-04-22 05:35:36 UTC
Anaconda is doing a FLUSH_CACHE command on the disk, and some controllers don't support that. Can't it just ignore the error if it's -EOPNOTSUPP ??

Comment 6 David Lehman 2011-04-25 20:31:54 UTC
Anaconda does not do SCSI commands. The kernel does.

Comment 7 David Lehman 2011-04-25 20:38:06 UTC
This is happening at a level lower than anaconda. It may be a kernel problem or perhaps a parted problem, but most certainly not anaconda.

Reassigning again. If it gets sent back again it will be promptly closed.

Comment 8 Chuck Ebbert 2011-04-27 01:31:28 UTC
(In reply to comment #6)
> Anaconda does not do SCSI commands. The kernel does.

The kernel is doing exactly what it is supposed to do: it's reporting that the device does not support FLUSH CACHE. This is not necessarily an error.

Comment 9 Brian Lane 2011-04-27 17:51:26 UTC
This is a dupe of bug 575057, I also found this LKML thread http://lkml.org/lkml/2010/9/23/294

*** This bug has been marked as a duplicate of bug 575057 ***