[lkml]   [2003]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subjectptrace + ioctl( LOOP_SET_FD ) brokeness.
    The following hangs reliably on 2.4.22 (test on x86 and x86_64):

    strace mount -o loop somefile /mnt

    the mount program ends up wedged in the D state. The last file lines
    of the strace look like this:

    open("/dev/loop0", O_RDONLY|O_LARGEFILE) = 3
    ioctl(3, 0x4c03, 0xbfffded0) = -1 ENXIO (No such device or address)
    close(3) = 0
    open("xxx", O_RDWR|O_LARGEFILE) = 3
    open("/dev/loop0", O_RDWR|O_LARGEFILE) = 4
    mlockall(MCL_CURRENT|MCL_FUTURE) = 0
    ioctl(4, 0x4c00

    - Erik
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:58    [W:0.017 / U:61.012 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site