Bug 637630
Summary: | USB HD install fails: (16, 'Device or resource busy') | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | John Reiser <jreiser> | ||||||
Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> | ||||||
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 14 | CC: | anaconda-maint-list, jonathan, vanmeeuwen+fedora | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2010-09-27 14:08:10 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
John Reiser
2010-09-27 00:01:55 UTC
Created attachment 449780 [details]
/tmp/anaconda.log
The two preceding open("/dev/sdc5",...) before the EBUSY were: ----- 2267 open("/dev/sdc5", O_RDWR|O_EXCL) = 0 2267 ioctl(0, BLKROGET, 0x7fffd9b7c2dc) = 0 2267 uname({sys="Linux", node="localhost.localdomain", ...}) = 0 2267 mmap(NULL, 507904, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdc116b8000 2267 brk(0) = 0x1dc4000 2267 brk(0x1de9000) = 0x1de9000 2267 open("/dev/sdc5", O_RDWR) = 8 # Note that file descriptor 0 already is open to the same path, and with O_EXCL. So now there are two file descriptors open to the destination. 2267 ioctl(8, BLKDISCARD, 0x7fffd9b7c5c0) = -1 EOPNOTSUPP (Operation not supported) 2267 close(8) = 0 # Now fd 0 still is open. 2267 lseek(0, 1024, SEEK_SET) = 1024 2267 write(0, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 3072) = 3072 2267 open("/dev/urandom", O_RDONLY) = 8 2267 fcntl(8, F_GETFD) = 0 2267 fcntl(8, F_SETFD, FD_CLOEXEC) = 0 ----- and there is no "close(0)" before the next ----- 2267 open("/dev/sdc5", O_RDONLY|O_EXCL <unfinished ...> ----- which fails with EBUSY because file descriptor 0 still is open with O_EXCL. *** This bug has been marked as a duplicate of bug 627789 *** |