Bug 1268159

Summary: _ped.IOException: end of file while reading /dev/sda
Product: [Fedora] Fedora Reporter: Martha <marthaolivera>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: anaconda-maint-list, diera, g.kaviyarasu, jonathan, karasevpa, menezzal, vanmeeuwen+fedora, yatinchawla95
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:8d70a53704fd7ad94752b508020af18ea8ac488cee8bb27c7c84d70d35b83a0f
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-02 22:21:36 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
File: anaconda-tb
none
File: anaconda.log
none
File: environ
none
File: journalctl
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: ifcfg.log none

Description Martha 2015-10-02 00:06:23 UTC
Description of problem:
Installing fedora 23, when start formating hard drive

Version-Release number of selected component:
anaconda-core-23.19.4-1.fc23.i686

The following was filed automatically by anaconda:
anaconda 23.19.4-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.4/site-packages/parted/disk.py", line 212, in commit
    return self.__disk.commit()
  File "/usr/lib/python3.4/site-packages/parted/decorators.py", line 42, in new
    ret = fn(*args, **kwds)
  File "/usr/lib/python3.4/site-packages/blivet/formats/disklabel.py", line 253, in commit
    self.partedDisk.commit()
  File "/usr/lib/python3.4/site-packages/blivet/devices/partition.py", line 581, in _create
    self.disk.format.commit()
  File "/usr/lib/python3.4/site-packages/blivet/devices/storage.py", line 455, in create
    self._create()
  File "/usr/lib/python3.4/site-packages/blivet/deviceaction.py", line 312, in execute
    self.device.create()
  File "/usr/lib/python3.4/site-packages/blivet/actionlist.py", line 280, in process
    action.execute(callbacks)
  File "/usr/lib/python3.4/site-packages/blivet/devicetree.py", line 380, in processActions
    callbacks=callbacks)
  File "/usr/lib/python3.4/site-packages/blivet/blivet.py", line 164, in doIt
    self.devicetree.processActions(callbacks=callbacks)
  File "/usr/lib/python3.4/site-packages/blivet/osinstall.py", line 1095, in turnOnFilesystems
    storage.doIt(callbacks)
  File "/usr/lib/python3.4/site-packages/pyanaconda/install.py", line 195, in doInstall
    turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall, callbacks=callbacks_reg)
  File "/usr/lib/python3.4/threading.py", line 868, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python3.4/site-packages/pyanaconda/threads.py", line 253, in run
    threading.Thread.run(self, *args, **kwargs)
_ped.IOException: end of file while reading /dev/sda

Additional info:
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-LXDE-i686-23_B-1 rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.2.0-300.fc23.i686
other involved packages: python3-pyparted-3.10.7-1.fc23.i686, python3-libs-3.4.3-5.fc23.i686, python3-blivet-1.12.4-1.fc23.noarch
product:        Fedora
release:        Fedora release 23 (Twenty Three)
type:           anaconda
version:        23

Comment 1 Martha 2015-10-02 00:06:35 UTC
Created attachment 1079289 [details]
File: anaconda-tb

Comment 2 Martha 2015-10-02 00:06:36 UTC
Created attachment 1079290 [details]
File: anaconda.log

Comment 3 Martha 2015-10-02 00:06:37 UTC
Created attachment 1079291 [details]
File: environ

Comment 4 Martha 2015-10-02 00:06:44 UTC
Created attachment 1079292 [details]
File: journalctl

Comment 5 Martha 2015-10-02 00:06:45 UTC
Created attachment 1079293 [details]
File: lsblk_output

Comment 6 Martha 2015-10-02 00:06:46 UTC
Created attachment 1079294 [details]
File: nmcli_dev_list

Comment 7 Martha 2015-10-02 00:06:47 UTC
Created attachment 1079295 [details]
File: os_info

Comment 8 Martha 2015-10-02 00:06:50 UTC
Created attachment 1079296 [details]
File: program.log

Comment 9 Martha 2015-10-02 00:06:58 UTC
Created attachment 1079297 [details]
File: storage.log

Comment 10 Martha 2015-10-02 00:06:59 UTC
Created attachment 1079298 [details]
File: ifcfg.log

Comment 11 Brian Lane 2015-10-02 22:21:36 UTC
/dev/sda appears to be failing:


Oct 01 20:02:49 fc7 kernel: ata1.00: exception Emask 0x0 SAct 0xffe00 SErr 0x0 action 0x6 frozen
Oct 01 20:02:49 fc7 kernel: ata1.00: failed command: WRITE FPDMA QUEUED
Oct 01 20:02:49 fc7 kernel: ata1.00: cmd 61/40:48:40:77:04/05:00:00:00:00/40 tag 9 ncq 688128 out
res 40/00:01:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Oct 01 20:02:49 fc7 kernel: ata1.00: status: { DRDY }
Oct 01 20:02:49 fc7 kernel: ata1.00: failed command: WRITE FPDMA QUEUED
Oct 01 20:02:49 fc7 kernel: ata1.00: cmd 61/40:50:80:7c:04/05:00:00:00:00/40 tag 10 ncq 688128 out
res 40/00:01:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Oct 01 20:02:49 fc7 kernel: ata1.00: status: { DRDY }
Oct 01 20:02:49 fc7 kernel: ata1.00: failed command: WRITE FPDMA QUEUED
Oct 01 20:02:49 fc7 kernel: ata1.00: cmd 61/40:58:c0:81:04/05:00:00:00:00/40 tag 11 ncq 688128 out

Comment 12 Yatin Chawla 2015-12-19 17:01:16 UTC
Another user experienced a similar problem:

When I tried to install the fedora xfce spin using a live usb. After selecting the hard disk with automatic configuration it lead to the next screen whete it began to create partitions on the hard drive. During the process of creating the partitions this error occured and asked to quit the progaram. 

cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-Xfce-x86_64-23-10 rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0 
hashmarkername: anaconda
kernel:         4.2.3-300.fc23.x86_64
other involved packages: python3-blivet-1.12.8-1.fc23.noarch, python3-pyparted-3.10.7-1.fc23.x86_64, python3-libs-3.4.3-5.fc23.x86_64
package:        anaconda-core-23.19.10-1.fc23.x86_64
packaging.log:  
product:        Fedora
reason:         _ped.IOException: end of file while reading /dev/sda
release:        Fedora release 23 (Twenty Three)
version:        23

Comment 13 menezzal 2016-03-03 10:56:59 UTC
Another user experienced a similar problem:

during install...

cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=/isolinux/vmlinuz0 root=live:LABEL=FEDORA-LIVE ro rd.live.image quiet rhgb
hashmarkername: anaconda
kernel:         4.2.3-300.fc23.x86_64
other involved packages: python3-libs-3.4.3-5.fc23.x86_64, python3-blivet-1.12.8-1.fc23.noarch, python3-pyparted-3.10.7-1.fc23.x86_64
package:        anaconda-core-23.19.10-1.fc23.x86_64
packaging.log:  
product:        Fedora
reason:         _ped.IOException: Partition(s) 6 on /dev/sda have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use.  As a result, the old partition(s) will remain in use.  You should reboot now before making further changes.
release:        Fedora release 23 (Twenty Three)
version:        23

Comment 14 karasevpa 2016-03-17 17:28:14 UTC
Another user experienced a similar problem:

installing to hpzbook with SSD + sata drive 1TB. 

cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-WS-x86_64-23-10 rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0 
hashmarkername: anaconda
kernel:         4.2.3-300.fc23.x86_64
other involved packages: python3-pyparted-3.10.7-1.fc23.x86_64, python3-libs-3.4.3-5.fc23.x86_64, python3-blivet-1.12.8-1.fc23.noarch
package:        anaconda-core-23.19.10-1.fc23.x86_64
packaging.log:  
product:        Fedora
reason:         _ped.IOException: end of file while reading /dev/sdb
release:        Fedora release 23 (Twenty Three)
version:        23

Comment 15 Brian Lane 2016-03-18 00:24:03 UTC
(In reply to karasevpa from comment #14)
> Another user experienced a similar problem:
> 
> installing to hpzbook with SSD + sata drive 1TB. 
> 
> cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst
> --method=livecd:///dev/mapper/live-base
> cmdline_file:   BOOT_IMAGE=vmlinuz0 initrd=initrd0.img
> root=live:CDLABEL=Fedora-Live-WS-x86_64-23-10 rootfstype=auto ro
> rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0 
> hashmarkername: anaconda
> kernel:         4.2.3-300.fc23.x86_64
> other involved packages: python3-pyparted-3.10.7-1.fc23.x86_64,
> python3-libs-3.4.3-5.fc23.x86_64, python3-blivet-1.12.8-1.fc23.noarch
> package:        anaconda-core-23.19.10-1.fc23.x86_64
> packaging.log:  
> product:        Fedora
> reason:         _ped.IOException: end of file while reading /dev/sdb
> release:        Fedora release 23 (Twenty Three)
> version:        23

Check your logs for errors similar to those in comment 11, if everything looks ok please attach the installation logs from /tmp/*log to a new bug.

Comment 16 Diego Herrera A. 2016-04-30 21:09:22 UTC
Another user experienced a similar problem:

Estaba instalando Fedora y solo metí la contraseña de Root, luego se pegó, esto no pasó con el spin de Cinnamon

cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-KDE-x86_64-23-10 rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0 
hashmarkername: anaconda
kernel:         4.2.3-300.fc23.x86_64
other involved packages: python3-blivet-1.12.8-1.fc23.noarch, python3-libs-3.4.3-5.fc23.x86_64, python3-pyparted-3.10.7-1.fc23.x86_64
package:        anaconda-core-23.19.10-1.fc23.x86_64
packaging.log:  
product:        Fedora
reason:         _ped.IOException: Partition(s) 5 on /dev/sda have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use.  As a result, the old partition(s) will remain in use.  You should reboot now before making further changes.
release:        Fedora release 23 (Twenty Three)
version:        23

Comment 17 Red Hat Bugzilla 2023-09-14 03:06:06 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days