Bug 627789

Summary: Error setting up repository - 16, Device busy
Product: [Fedora] Fedora Reporter: Brian Lane <bcl>
Component: anacondaAssignee: Brian Lane <bcl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: aj.werkman, anaconda-maint-list, awilliam, bruno, bugs.michael, collura, dcantrell, hedayatv, horsley1953, jlaska, jonathan, jreiser, rhe, robatino, tcallawa, tim.fenn, vanmeeuwen+fedora
Target Milestone: ---Keywords: CommonBugs, Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: https://fedoraproject.org/wiki/Common_F14_bugs#repo_err
Fixed In Version: anaconda-14.18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-21 16:05:29 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:
Bug Depends On:    
Bug Blocks: 641108    
Attachments:
Description Flags
Anaconda log up to error dialog
none
logs none

Description Brian Lane 2010-08-27 00:35:31 UTC
Use livecd-iso-to-disk to write a boot.iso to USB flash drive.

Gets to partitioning, setup grub, then throws up a dialog saying Error setting up repository - 16, Device busy. Hit ok and a blank repe edit dialog is shown. Hit cancel and it then finds the correct repositories and proceeds with the install.

Comment 1 Brian Lane 2010-09-03 16:20:30 UTC
Problem was a race between unmounting the iso and deactivating the loopback. mount can now handle mounting iso's with loop without needing losetup.

Comment 2 Brian Lane 2010-09-18 18:34:01 UTC
*** Bug 634940 has been marked as a duplicate of this bug. ***

Comment 3 Hedayat Vatankhah 2010-09-20 17:26:36 UTC
Still persist in Beta RC2 and the same error (Device or resource Busy).

Comment 4 Brian Lane 2010-09-20 18:22:38 UTC
Adding as a F14Blocker, this prevents you from using livecd-iso-to-disk to make usb install media with non-live-cd iso's as covered by 3.2.2.1.2. Making Fedora USB Media with livecd-tools

Comment 5 Brian Lane 2010-09-20 18:59:08 UTC
(In reply to comment #4)
> Adding as a F14Blocker, this prevents you from using livecd-iso-to-disk to make
> usb install media with non-live-cd iso's as covered by 3.2.2.1.2. Making Fedora
> USB Media with livecd-tools

I meant F14Beta, not F14Blocker

Comment 6 Adam Williamson 2010-09-20 21:46:27 UTC
jlaska and I agree that this is at least nice-to-have, though we're not sure about blockeriness. Please include the fix in the next anaconda build for Beta. Thanks!

Comment 7 Andre Robatino 2010-09-21 00:16:00 UTC
This bug is not mentioned in the list of bugs fixed in the latest anaconda build:

https://admin.fedoraproject.org/updates/anaconda-14.17.4-1.fc14

It appears to be the only bug blocking the Beta at the moment (if I understand the criteria).

Comment 8 Adam Williamson 2010-09-21 00:21:01 UTC
yeah, it appears the fix was missed (intentionally or not we're not sure). this is not an AcceptedBlocker, though, and jlaska and I provisionally classed it as a nice-to-have.

Comment 9 Hedayat Vatankhah 2010-09-21 06:20:23 UTC
BTW, It'll block F14 (release) since it prevents hard disk install.

Comment 10 Chris Lumens 2010-09-22 16:13:41 UTC
Log files would always be nice.

Comment 11 Brian Lane 2010-09-22 17:27:51 UTC
IIRC it doesn't log anything (or if it does, nothing useful). Next time I hit it I'll look to make sure.

Comment 12 James Laska 2010-09-22 20:10:04 UTC
(In reply to comment #9)
> BTW, It'll block F14 (release) since it prevents hard disk install.

Note, I completed a hard disk ISO install several times on F-14-Beta without trouble.  This issue doesn't appear to block that installation case.

Comment 13 Hedayat Vatankhah 2010-09-22 20:19:20 UTC
Look at bug #634940. It just didn't work from Fedora Alpha to Beta RC2 for me.

Comment 14 Adam Williamson 2010-09-22 21:14:06 UTC
This was discussed at the go/no-go meeting today. We have no specific criteria covering iso-to-usb functionality, but we discussed it on merit, and agreed it wasn't a Beta blocker, though we may wish to make it a Final blocker. Putting on the final blocker list for further review.



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 15 Chris Lumens 2010-09-23 14:19:34 UTC
*** Bug 636826 has been marked as a duplicate of this bug. ***

Comment 16 Michael Schwendt 2010-09-23 18:03:17 UTC
This is what had hit me with F14 RC3 i386. After the "Device or resource busy" dialog, the installer automatically enabled a stale http base repo with old packages, and I didn't pay attention to that or the actual package installation step.

Comment 17 James Laska 2010-09-24 17:02:04 UTC
(In reply to comment #16)
> This is what had hit me with F14 RC3 i386. After the "Device or resource busy"
> dialog, the installer automatically enabled a stale http base repo with old
> packages, and I didn't pay attention to that or the actual package installation
> step.

Are you able to upload /tmp/anaconda.log when you encounter this error?

Comment 18 Michael Schwendt 2010-09-24 18:24:10 UTC
Created attachment 449481 [details]
Anaconda log up to error dialog

Not sure that's helpful as the last lines don't tell anything about the loop-mounted image.

Comment 19 Brian Lane 2010-09-24 18:24:15 UTC
Created attachment 449482 [details]
logs

Comment 20 Brian Lane 2010-09-24 18:57:50 UTC
This is fixed in commits 7fefb17c908c1bb6b0fbac1daddc770855d2d568 and 11c71a20afc87d5a1c43ed56c281cfe30bdfe6c6, it just barely missed making it into Beta, but should be included in the final release.

Comment 21 James Laska 2010-09-27 13:58:59 UTC
For anything hitting this problem in F-14-Beta, bcl has created an updates.img to work around this problem.  The image is available at http://bcl.fedorapeople.org/updates/627789.img

For information on using an updates.img, please see https://fedoraproject.org/wiki/Anaconda/Updates

Comment 22 Chris Lumens 2010-09-27 14:08:10 UTC
*** Bug 637630 has been marked as a duplicate of this bug. ***

Comment 23 Hedayat Vatankhah 2010-09-27 22:06:44 UTC
Seems to be fixed for me (however, if you go forward and them come back and then try to go forward again, it says "error mounting an already mounted iso" during a hard disk installation, but its a different bug).

Comment 24 Hedayat Vatankhah 2010-09-28 01:22:38 UTC
Well, I was wrong! When I run the installer using KVM on my system, the error doesn't appear and I can select the packages to install. But when I run the installer after boot, I still receive the "Device or resource busy" error before the repository selection dialog.
(I've put the updated image file in the images directory in hard disk beside F14 beta RC3 iso. I put 2 copies, one with 627789.img name and another copy with update.img name)

Comment 25 Hedayat Vatankhah 2010-09-28 01:36:02 UTC
Oops, sorry. I renamed update.img to updates.img and made sure that it is really applied during installer bootup.
This time, instead of the "Device or resource busy" error I got an exception! But I didn't saved the exception in a proper place. I'll reproduce the error and attach the exception in a few hours.

Comment 26 He Rui 2010-09-28 05:52:20 UTC
I encountered this bug when installing F14-beta-rc3 with repo=nfsiso: (the nfs directory contained multiple isos). 

After I applied the updates image on comment#21, I can retrieve the repo successfully.

Comment 27 A.J. Werkman 2010-09-28 14:36:34 UTC
With updates.img no bug for me anymore.

Comment 28 Hedayat Vatankhah 2010-09-28 15:03:30 UTC
I tried again and this time the exception didn't occur. Anyway, at least the "Device or resource busy" bug is solved for me too.

Comment 29 Chris Lumens 2010-09-30 13:59:15 UTC
*** Bug 638788 has been marked as a duplicate of this bug. ***

Comment 30 Michael Schwendt 2010-09-30 17:54:34 UTC
The mentioned updates.img fixes this.

Comment 31 Tom Horsley 2010-09-30 21:38:01 UTC
The updates.img did indeed fix my problem from bug 638788.

Comment 32 Chris Lumens 2010-10-04 13:57:50 UTC
*** Bug 639809 has been marked as a duplicate of this bug. ***

Comment 33 John Poelstra 2010-10-06 21:17:12 UTC
Is there an official build and bodhi update that addresses this issue?

Comment 34 Adam Williamson 2010-10-06 21:44:45 UTC
we have the acceptance test run due tomorrow: it would be good to have anaconda 14.18 available to do that test run with.

Comment 35 Chris Lumens 2010-10-07 13:11:03 UTC
dlehman built it last night

Comment 36 James Laska 2010-10-12 16:00:19 UTC
Brian, you had the most consistent reproducer, are you still seeing this?

Comment 37 James Laska 2010-10-12 16:02:39 UTC
Moving to ON_QA as this is available for testing (see https://admin.fedoraproject.org/updates/anaconda-14.19-1.fc14)

Comment 38 Brian Lane 2010-10-12 17:43:29 UTC
(In reply to comment #37)
> Moving to ON_QA as this is available for testing (see
> https://admin.fedoraproject.org/updates/anaconda-14.19-1.fc14)

Yes, works fine for me with the netinst.iso image using anaconda-14.18

Comment 39 He Rui 2010-10-13 09:17:51 UTC
Verified it fixed in anaconda 14.19.

Comment 40 Jesse Keating 2010-10-21 16:05:29 UTC
14.22 is in stable.