lkml.org 
[lkml]   [2012]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Linux 3.3-rc5
    On 12-03-01 07:17 PM, Mark Lord wrote:
    ..
    > Here's a go, 64-bit kernel (3.2.8), 32-bit userspace:
    >
    > Dell laptop SMM driver v1.14 21/02/2005 Massimo Dal Zotto (dz@debian.org)
    > ioctl32(i8kctl:1474): Unknown cmd fd(3) cmd(80046980){t:'i';sz:4} arg(ff8b1fd8)
    > on /proc/i8k
    > ioctl32(i8kctl:1475): Unknown cmd fd(3) cmd(c0046986){t:'i';sz:4} arg(ff90ed5c)
    > on /proc/i8k
    > ioctl32(i8kctl:1475): Unknown cmd fd(3) cmd(c0046986){t:'i';sz:4} arg(ff90ed5c)
    > on /proc/i8k
    >
    > I'll reboot/redo that again with strace shortly.

    It all seems to work in 32-bit/32-bit mode, by the way.

    Here's the promised strace from 64/32 mode:


    $ strace -e raw=ioctl i8kctl fan

    execve("/usr/bin/i8kctl", ["i8kctl", "fan"], [/* 21 vars */]) = 0
    brk(0) = 0x8e6a000
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
    0xf77c9000
    access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
    open("/etc/ld.so.cache", O_RDONLY) = 3
    fstat64(3, {st_mode=S_IFREG|0644, st_size=123776, ...}) = 0
    mmap2(NULL, 123776, PROT_READ, MAP_PRIVATE, 3, 0) = 0xf77aa000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3
    read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000m\1\0004\0\0\0"...,
    512) = 512
    fstat64(3, {st_mode=S_IFREG|0755, st_size=1405508, ...}) = 0
    mmap2(NULL, 1415592, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
    0xf7650000
    mprotect(0xf77a3000, 4096, PROT_NONE) = 0
    mmap2(0xf77a4000, 12288, PROT_READ|PROT_WRITE,
    MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x153) = 0xf77a4000
    mmap2(0xf77a7000, 10664, PROT_READ|PROT_WRITE,
    MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf77a7000
    close(3) = 0
    mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
    0xf764f000
    set_thread_area({entry_number:-1 -> 12, base_addr:0xf764f8d0, limit:1048575,
    seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0,
    useable:1}) = 0
    mprotect(0xf77a4000, 8192, PROT_READ) = 0
    mprotect(0x804a000, 4096, PROT_READ) = 0
    mprotect(0xf77e7000, 4096, PROT_READ) = 0
    munmap(0xf77aa000, 123776) = 0
    open("/proc/i8k", O_RDONLY) = 3
    ioctl(0x3, 0xc0046986, 0xffc06dcc) = -1 (errno 22)
    ioctl(0x3, 0xc0046986, 0xffc06dcc) = -1 (errno 22)
    fstat64(1, {st_mode=S_IFREG|0644, st_size=1848, ...}) = 0
    mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
    0xf77c8000
    write(1, "-1 -1\n", 6-1 -1
    ) = 6
    exit_group(0) = ?

    and from dmesg:

    ioctl32(i8kctl:1434): Unknown cmd fd(3) cmd(c0046986){t:'i';sz:4} arg(ffc06dcc)
    on /proc/i8k
    ioctl32(i8kctl:1434): Unknown cmd fd(3) cmd(c0046986){t:'i';sz:4} arg(ffc06dcc)
    on /proc/i8k


    \
     
     \ /
      Last update: 2012-03-02 01:23    [W:0.024 / U:14.320 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site