Bug 135886
Summary: | Reading data off block device from USB memory stick fails | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | David Zeuthen <davidz> |
Component: | hal | Assignee: | David Zeuthen <davidz> |
Status: | CLOSED RAWHIDE | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | mclasen, wtogami |
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: | 2004-10-15 22:25:19 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: | 130887 | ||
Attachments: |
Description
David Zeuthen
2004-10-15 17:04:12 UTC
Created attachment 105284 [details]
Output from hald on .624 when plugging in USB memory stick
Created attachment 105285 [details]
Selected strace output from hald on .624 when plugging in USB memory stick
Created attachment 105286 [details]
Output from hald on .584 when plugging in USB memory stick
Created attachment 105287 [details]
Selected strace output from hald on .584 when plugging in USB memory stick
The difference seems to be that read(2) on the fd from /dev/sda1 fails with EAGAIN (aka EWOULDBLOCK). Is this a bug in the application? I'm here in the Westford office if you need more traces, info etc. OK, as discussed on IRC the kernel update just exposes already flawed apps wrt. using O_NONBLOCK. I've got a patch that I will apply to the hal package to fix this. Reassigning this bug to hal. This is fixed in hal-0.4.0-3 |