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

Re: haskell-http-conduit failure on powerpc



Erik de Castro Lopo wrote:

> Erik de Castro Lopo wrote:
> 
> > I'll try linux-image-2.6.32-5-powerpc64_2.6.32-48_powerpc.deb but I 
> > probably won't have results until tomorrow.
> 
> Well I do see this problem on that kernel, but not on later ones.
> 
> Strace output here:
> 
>     http://www.mega-nerd.com/erikd/strace.txt.gz
> 
> I'll keep digging as well.

Here's an interesting snippet.

    -- Create a socket
    socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 5
    fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
    fcntl64(5, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
    setsockopt(5, SOL_TCP, TCP_NODELAY, [1], 4) = 0
    setsockopt(5, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0

    -- Bind and listen on it
    bind(5, {sa_family=AF_INET, sin_port=htons(15452), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
    listen(5, 2048)                         = 0
    fcntl64(5, F_GETFD)                     = 0
    fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0

    -- That definitely is function not implemented
    SYS_344(0x5, 0xf7c7e0f0, 0xf7c7e110, 0x800, 0x10a00000) = -1 ENOSYS (Function not implemented)

    -- Report the error
    write(2, "accept: unsupported operation (F"..., 57accept: unsupported operation (Function not implemented)

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


Reply to: