sys_getdents64 needs compat wrapper ?
Running 32 bit ls on ia64 produces kernel mode unaligned faults with the attached backtrace on 2.6.6. I'm curious why this isn't a problem for other compat archs.
-Arun
Quoted 27 lines
0xa0000001000405e0ia64_handle_unalignedargs (0x805f7cc, 0xe000000105aa7bc0) kernel 0xa0000001000405e0 0xa000000100040d00 0xa00000010000e650 ia64_prepare_handle_unaligned+0x30 args (0x805f7cc, 0xe000000105aa7bc0) kernel 0xa00000010000e620 0xa00000010000e680 0xa00000010000e080 ia64_leave_kernel kernel 0xa00000010000e080 0xa00000010000e2e0 0xa000000100142480 filldir64+0xa0 args (0xe000000105aa7e20, 0xe0000001fa100008, 0x1, 0x0, 0x14eb01) kernel 0xa0000001001423e0 0xa000000100142680 0xa000000100203400 ext3_readdir+0x660 args (0xe0000001fae79c80, 0xe000000105aa7e20, 0xa0000001006bc720, 0xa000 0001001423e0, 0xe0000001fa100004) kernel 0xa000000100202da0 0xa000000100203660 0xa000000100141f20 vfs_readdir+0x160 args (0xe0000001fae79c80, 0xa0000001006bc720, 0xe000000105aa7e20, 0xa000 000100920000, 0xe0000001fd3968e0) kernel 0xa000000100141dc0 0xa000000100141f60 0xa000000100142760 sys_getdents64+0xe0 args (0x3, 0x805f7cc, 0x4000, 0x805f7b0, 0x4015fd98) kernel 0xa000000100142680 0xa000000100142820
Quoted 1 line · On Thu, 20 May 2004 11:32:23 -0700 Arun Sharma <[email protected]> wrote:
Running 32 bit ls on ia64 produces kernel mode unaligned faults with the attached backtrace on 2.6.6. I'm curious why this isn't a problem for other compat archs.
Other compat archs choose not to log unaligned kernel accesses since they are common in some networking configurations and/or combinations of drivers.
This one is a fixable case though, have a patch to suggest? :-)