Summary: | =sys-fs/e2fsprogs-1.42.12 with amd64 uclibc-0.9.33.2*: data corruption when fsck ext3/4 filesystem | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Anthony Basile <blueness> |
Component: | [OLD] Core system | Assignee: | Embedded Gentoo Team <embedded> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | base-system |
Priority: | High | Keywords: | PATCH, UPSTREAM |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://lists.uclibc.org/pipermail/uclibc/2015-May/048937.html | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=544688 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 539226 | ||
Bug Blocks: |
Description
Anthony Basile
![]() (In reply to Anthony Basile from comment #0) > > I'm working on collecting these into a backportable patch, Ouch, the set of patches intermix the fix with the syscall cancel stuff that was consolidated into <include/cancel.h>. Simply copying over include/cancel.h and libc/sysdeps/linux/common/pread_write.c "works" on amd64 but is messy. @mike. any advice here? should i just rewrite your "convert to SYSCALL_ALIGN_64BIT" to apply to the HEAD of 0.9.33 branch and submit that upstream? I would replace static _syscall5(ssize_t, __syscall_pread, int, fd, void *, buf, size_t, count, off_t, offset_hi, off_t, offset_lo) with # if defined(__UCLIBC_SYSCALL_ALIGN_64BIT__) static _syscall6(ssize_t, __syscall_pread, int, fd, void *, buf, size_t, count, int, dummy, off_t, offset_hi, off_t, offset_lo) # else static _syscall5(ssize_t, __syscall_pread, int, fd, void *, buf, size_t, count, off_t, offset_hi, off_t, offset_lo) # endif without any of the MY_PREAD* stuff. Not sure that would fly. (In reply to Anthony Basile from comment #1) > (In reply to Anthony Basile from comment #0) > @mike. any advice here? should i just rewrite your "convert to > SYSCALL_ALIGN_64BIT" to apply to the HEAD of 0.9.33 branch and submit that > upstream? I would replace Sorry for the spam. I got it. It needed a check for __WORDSIZE == 32 and switching to _syscall4 if it isn't. A patch was submitted upstream. See URL. Also the stage3's on the mirror have be replace with working versions of e2fsprogs-1.42.10 at http://distfiles.gentoo.org/releases/amd64/autobuilds/current-stage3-amd64-uclibc-hardened/ The good tarbals are: stage3-amd64-uclibc-hardened-20150509.tar.bz2 stage3-amd64-uclibc-vanilla-20150509.tar.bz2 (In reply to Anthony Basile from comment #3) > A patch was submitted upstream. See URL. Also the stage3's on the mirror > have be replace with working versions of e2fsprogs-1.42.10 at > http://distfiles.gentoo.org/releases/amd64/autobuilds/current-stage3-amd64- > uclibc-hardened/ The good tarbals are: > > stage3-amd64-uclibc-hardened-20150509.tar.bz2 > stage3-amd64-uclibc-vanilla-20150509.tar.bz2 Patch accepted upstream. I'll add it to 0.9.33.2-r15 which I'll push out later. http://git.uclibc.org/uClibc/commit/?h=0.9.33&id=0aaf783f8d0c2748aee458ecd5b846be595c3068 (In reply to Anthony Basile from comment #4) > (In reply to Anthony Basile from comment #3) > > A patch was submitted upstream. See URL. Also the stage3's on the mirror > > have be replace with working versions of e2fsprogs-1.42.10 at > > http://distfiles.gentoo.org/releases/amd64/autobuilds/current-stage3-amd64- > > uclibc-hardened/ The good tarbals are: > > > > stage3-amd64-uclibc-hardened-20150509.tar.bz2 > > stage3-amd64-uclibc-vanilla-20150509.tar.bz2 > > Patch accepted upstream. I'll add it to 0.9.33.2-r15 which I'll push out > later. > > http://git.uclibc.org/uClibc/commit/?h=0.9. > 33&id=0aaf783f8d0c2748aee458ecd5b846be595c3068 I just pushed out 0.9.33.2-r15 with this fix. (In reply to Anthony Basile from comment #5) > (In reply to Anthony Basile from comment #4) > > (In reply to Anthony Basile from comment #3) > > > A patch was submitted upstream. See URL. Also the stage3's on the mirror > > > have be replace with working versions of e2fsprogs-1.42.10 at > > > http://distfiles.gentoo.org/releases/amd64/autobuilds/current-stage3-amd64- > > > uclibc-hardened/ The good tarbals are: > > > > > > stage3-amd64-uclibc-hardened-20150509.tar.bz2 > > > stage3-amd64-uclibc-vanilla-20150509.tar.bz2 > > > > Patch accepted upstream. I'll add it to 0.9.33.2-r15 which I'll push out > > later. > > > > http://git.uclibc.org/uClibc/commit/?h=0.9. > > 33&id=0aaf783f8d0c2748aee458ecd5b846be595c3068 > > I just pushed out 0.9.33.2-r15 with this fix. 0.9.33.2-r15 is now marked stable for all arches and all older ebuilds have been punted. The mask on e2fsprogs{,-libs} has been lifed. This bug is done. |