[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: broken on mipsel/sid?



On Mon, Mar 02, 2009 at 10:25:27PM +0100, Peter Palfrader wrote:
> On Mon, 02 Mar 2009, Michael Stone wrote:
> 
> > On Mon, Mar 02, 2009 at 05:45:20PM +0100, Peter Palfrader wrote:
> > >>>>| touch: setting times of `/var/log/dpkg.log': Unknown error 4294967207
> > 
> > I read this too quick the first time, and it's not the problem I thought 
> > it was. If coreutils is getting back a bogus errno (4294967207) there's 
> > not much I can do about it. I think we've seen things like this before 
> > on mips, and it came down to glibc and/or kernel issues. coreutils does 
> > have fallback code for the case that the utimensat function isn't 
> > available in the kernel (which I assume is the problem), but that 
> > depends on the call returning ENOSYS.
> 
> Aurelien Jarno asked for an strace on irc, and is trying to reproduce
> now.  I'm not sure if the status.

Currently morales.d.o is down so I am not able to work on that,
as moreover my mipsel machine is currently busy. I'll look again when it
is back one line.

> | close(3)                                = 0
> | open("tmp/test", O_WRONLY|O_NONBLOCK|O_CREAT|O_NOCTTY|O_LARGEFILE, 0666) = 3
> | dup2(3, 0)                              = 0
> | close(3)                                = 0
> | syscall_4294967207(0, 0, 0, 0x1, 0xffffffff, 0x2abc51b8, 0x1b6, 0x1b6, 0x4227c0, 0x2aad8f08, 0x7fa73c40, 0x420000, 0x7fa73c44, 0x7fa73ed1, 0, 0x401fc4, 0, 0x2ac49da0, 0x2ac727aa, 0x2aaca0f8, 0x7fa73c40, 0x2aaca378, 0x2aae1010, 0x1, 0x2aae1010, 0x2aaca4c0, 0x4227c0, 0x5, 0, 0x2aab32c4, 0, 0x2ac97f2c) = -1 (errno 4006)

This looks like a signedness issue, I wonder how coreutils can do such a
syscall. The sames seems to appear for the error number.

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: