| Summary: | buildstats errors block all bitbake use on encypted home dir (or other non-direct disk FS) | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Meta-yocto | Reporter: | Bill Mills <wmills> |
| Component: | meta-yocto | Assignee: | Beth Flanagan <elizabeth.flanagan> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | elizabeth.flanagan, poky.bs.watcher, poky.watcher, richard.purdie, sgw |
| Version: | 1.1-beta | ||
| Target Milestone: | 1.2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Bill Mills
2011-10-25 04:16:27 UTC
This is Yocto 1.1 final / poky 6.0. Not 1.2 as marked below. I marked this 1.1-beta in bugzilla as there is no 1.1 final right now. This isn't happening on nfs, at least not on the autobuilders. Bill, could you cat out your /proc/diskstats, noting the encyptfs device? Let me split this into two more definite issues: a) the first time it runs, the build will fail with the sanity check. The second time it will happily skip the sanity check. This needs to get fixed so it always fails. b) buildstats should fail more gracefully, not a traceback but with something more human readable. I tried this on an encyptfs partition and couldn't reproduce. Bill, could you get me: What your system is (Distro/version/etc) Get me a cat out of your /proc/diskstats I agree that buildstats should fail on this a bit more gracefully, but I'd like to also figure out why this is failing for Bill and not me. This also seems to fail using tmpfs The problem is that only logical devices end up with a /proc/diskstats entry. I weed out any partitions that are not on a logical drive and just avoid collecting disk statistics for them. I'll have the patch submitted tonight after testing on tmpfs. |