lkml.org 
[lkml]   [1996]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectSome notes on 2.1.5
    Date
    I got 2.1.5 today, and - after some changes - it compiles and runs on
    my system.

    Sound (i use a SB16) is still broken (some get/put_user problems still
    exist), not really a big problem.

    ppp.c does not compile (due to some forgotten memcpy_fromfs/memcpy_tofs
    calls). I changed them (according to Linus' explantations with the
    2.1.4 patch) to copy_from_user and copy_to_user calls, and it _seems_
    to work, but my changes may be completely nonsense :) (NOTE: i'am not a
    kernel hacker, I'am only carefully reading linux-kernel).

    Introduced with 2.1.3 (i think), the current kernel still breaks the
    rpm tool. I have no idea why, but rpm bombs out while unpacking an
    archive. I performed a strace on rpm (output see below), and I think,
    there is something wrong with the pipes, but it also may be a bug in
    rpm itself (it works fine with 2.0.22).


    ------------------------------------------------
    $ strace rpm -i cse-1.0-1.i386.rpm

    SYS_136(0, 0x3, 0xc, 0x40001ea9, 0x8000fd8) = 0
    open("/usr/share/locale/C/LC_MESSAGES", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/C/LC_MONETARY", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/C/LC_COLLATE", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/C/LC_TIME", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/C/LC_NUMERIC", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/C/LC_CTYPE", O_RDONLY) = -1 ENOENT (No such file or directory)
    brk(0) = 0x80d1e48
    brk(0x80d1e68) = 0x80d1e68
    brk(0x80d2000) = 0x80d2000
    open("/usr/lib/rpmrc", O_RDONLY) = 4
    fstat(4, {st_mode=S_IFREG|0644, st_size=2184, ...}) = 0
    mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|0x20, 4294967295, 0) = 0x40000000
    read(4, "\ndbpath:\t\t/var/lib/rpm\ntopdi"..., 4096) = 2184
    brk(0x80d3000) = 0x80d3000
    read(4, "", 4096) = 0
    close(4) = 0
    munmap(0x40000000, 4096) = 0
    open("/etc/rpmrc", O_RDONLY) = 4
    fstat(4, {st_mode=S_IFREG|0644, st_size=89, ...}) = 0
    mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|0x20, 4294967295, 0) = 0x40000000
    read(4, "topdir: /usr/src/redhat\n\noptfl"..., 4096) = 89
    read(4, "", 4096) = 0
    close(4) = 0
    munmap(0x40000000, 4096) = 0
    open("/root/.rpmrc", O_RDONLY) = -1 ENOENT (No such file or directory)
    uname({sys="Linux", node="darkstar", ...}) = 0
    open("/usr/lib/rpmrc", O_RDONLY) = 4
    fstat(4, {st_mode=S_IFREG|0644, st_size=2184, ...}) = 0
    mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|0x20, 4294967295, 0) = 0x40000000
    read(4, "\ndbpath:\t\t/var/lib/rpm\ntopdi"..., 4096) = 2184
    read(4, "", 4096) = 0
    close(4) = 0
    munmap(0x40000000, 4096) = 0
    open("/etc/rpmrc", O_RDONLY) = 4
    fstat(4, {st_mode=S_IFREG|0644, st_size=89, ...}) = 0
    mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|0x20, 4294967295, 0) = 0x40000000
    read(4, "topdir: /usr/src/redhat\n\noptfl"..., 4096) = 89
    read(4, "", 4096) = 0
    close(4) = 0
    munmap(0x40000000, 4096) = 0
    open("/root/.rpmrc", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/C/LC_MESSAGES", O_RDONLY) = -1 ENOENT (No such file or directory)
    stat("/etc/locale/C/libc.cat", 0xbfffe5d4) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/locale/C/libc.cat", 0xbfffe5d4) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/locale/libc/C", 0xbfffe5d4) = -1 ENOENT (No such file or directory)
    stat("/usr/share/locale/C/libc.cat", 0xbfffe5d4) = -1 ENOENT (No such file or directory)
    stat("/usr/local/share/locale/C/libc.cat", 0xbfffe5d4) = -1 ENOENT (No such file or directory)
    open("cse-1.0-1.i386.rpm", O_RDONLY) = 4
    read(4, "\355\253\356\333\2\0\0\0\0\1cse-"..., 96) = 96
    read(4, "\0\0\0\32", 4) = 4
    read(4, "\0\0\1h", 4) = 4
    read(4, "\0\0\3\350\0\0\0\6\0\0\0\0\0\0\0"..., 416) = 416
    brk(0x80d4000) = 0x80d4000
    read(4, "cse\0001.0\0001\0Linux console f"..., 360) = 360
    close(4) = 0
    open("//var/lib/rpm/packages.rpm", O_RDWR|O_CREAT, 0644) = 4
    lseek(4, 0, SEEK_END) = 1194632
    lseek(4, 0, SEEK_SET) = 0
    read(4, " \t\5\2\0\0\0\0", 8) = 8
    lseek(4, 0, SEEK_END) = 1194632
    lseek(4, 0, SEEK_CUR) = 1194632
    SYS_143(0x4, 0x6, 0x80d2fb0, 0x4, 0xbfffe986) = 0
    stat("//var/lib/rpm/nameindex.rpm", {st_mode=S_IFREG|0644, st_size=16384, ...}) = 0
    open("//var/lib/rpm/nameindex.rpm", O_RDWR|O_CREAT, 0644) = 6
    fcntl(6, F_SETFD, FD_CLOEXEC) = 0
    read(6, "\0\6\25a\0\0\0\2\0\0\4\322\0\0\20"..., 260) = 260
    stat("//var/lib/rpm/fileindex.rpm", {st_mode=S_IFREG|0644, st_size=647168, ...}) = 0
    open("//var/lib/rpm/fileindex.rpm", O_RDWR|O_CREAT, 0644) = 8
    fcntl(8, F_SETFD, FD_CLOEXEC) = 0
    read(8, "\0\6\25a\0\0\0\2\0\0\4\322\0\0\20"..., 260) = 260
    brk(0x80d5000) = 0x80d5000
    stat("//var/lib/rpm/groupindex.rpm", {st_mode=S_IFREG|0644, st_size=16384, ...}) = 0
    open("//var/lib/rpm/groupindex.rpm", O_RDWR|O_CREAT, 0644) = 9
    fcntl(9, F_SETFD, FD_CLOEXEC) = 0
    read(9, "\0\6\25a\0\0\0\2\0\0\4\322\0\0\20"..., 260) = 260
    brk(0x80d6000) = 0x80d6000
    stat("//var/lib/rpm/providesindex.rpm", {st_mode=S_IFREG|0644, st_size=16384, ...}) = 0
    open("//var/lib/rpm/providesindex.rpm", O_RDWR|O_CREAT, 0644) = 10
    fcntl(10, F_SETFD, FD_CLOEXEC) = 0
    read(10, "\0\6\25a\0\0\0\2\0\0\4\322\0\0\20"..., 260) = 260
    stat("//var/lib/rpm/requiredby.rpm", {st_mode=S_IFREG|0644, st_size=16384, ...}) = 0
    open("//var/lib/rpm/requiredby.rpm", O_RDWR|O_CREAT, 0644) = 11
    fcntl(11, F_SETFD, FD_CLOEXEC) = 0
    read(11, "\0\6\25a\0\0\0\2\0\0\4\322\0\0\20"..., 260) = 260
    brk(0x80d7000) = 0x80d7000
    open("cse-1.0-1.i386.rpm", O_RDONLY) = 12
    read(12, "\355\253\356\333\2\0\0\0\0\1cse-"..., 96) = 96
    read(12, "\0\0\0\32", 4) = 4
    read(12, "\0\0\1h", 4) = 4
    read(12, "\0\0\3\350\0\0\0\6\0\0\0\0\0\0\0"..., 416) = 416
    read(12, "cse\0001.0\0001\0Linux console f"..., 360) = 360
    brk(0x80d9000) = 0x80d9000
    lseek(6, 8192, SEEK_SET) = 8192
    read(6, "D\0\371\17\361\17\350\17\340\17\332"..., 4096) = 4096
    lseek(8, 139264, SEEK_SET) = 139264
    read(8, "\212\0\323\17\313\17\255\17\245\17"..., 4096) = 4096
    brk(0x80db000) = 0x80db000
    lseek(8, 249856, SEEK_SET) = 249856
    read(8, "\300\0\364\17\354\17\305\17\275\17"..., 4096) = 4096
    lseek(8, 626688, SEEK_SET) = 626688
    read(8, "z\0\344\17\334\17\302\17\272\17\242"..., 4096) = 4096
    brk(0x80dd000) = 0x80dd000
    lseek(8, 81920, SEEK_SET) = 81920
    read(8, "\242\0\350\17\340\17\320\17\310\17"..., 4096) = 4096
    stat("///usr", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
    stat("///usr/bin", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
    stat("///usr", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
    stat("///usr/doc", {st_mode=S_IFDIR|0755, st_size=2048, ...}) = 0
    stat("///usr", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
    stat("///usr/doc", {st_mode=S_IFDIR|0755, st_size=2048, ...}) = 0
    stat("///usr/doc/cse-1.0-1", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
    brk(0x80e6000) = 0x80e6000
    fcntl(12, F_GETFL) = 0 (flags O_RDONLY)
    fstat(12, {st_mode=S_IFREG|0666, st_size=10291, ...}) = 0
    mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|0x20, 4294967295, 0) = 0x40000000
    lseek(12, 0, SEEK_CUR) = 880
    read(12, "\37\213\10\0\0\0\0\0\2\3\244;\rt"..., 4096) = 4096
    pipe([13, 14]) = 0
    sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}) = 0
    fork() = 240
    close(13) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    brk(0x80e8000) = 0x80e8000
    write(14, "07070200000ac9000081ed0000000000"..., 1024) = 1024
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    read(12, "\256?\337\f\364L\202{\tS\262$\334"..., 4096) = 4096
    write(14, "\22\0\0\0\354\0\0\0\230\v\0\10\323"..., 1024) = 1024
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    read(12, "\2014\6IOt\246\16#\247H\324j\212"..., 4096) = 1219
    read(12, "", 4096) = 0
    write(14, "\0strcpy\0vga_setmousesupport\0v"..., 1024) = 1024
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "P\376\377\377\377%@D\0\10h\320\0"..., 1024) = 1024
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "\220\220\220\220\220\220\220\220"..., 1024) = 1024
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "\10\215E\364P\213E\374\203\300xP"..., 1024) = 1024
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "\n\0\0\307\5\364A\0\10\1\0\0\000"..., 1024) = 1024
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "\360\211E\374\353(\215\266\0\0\0"..., 1024) = 1024
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "\10\3\5X0\0\10\213U\374\17\257\25"..., 1024) = 1024
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "\10P\241\3200\0\10P\3507\350\377"..., 1024) = 1024
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "\10Rh(W\0\10\241\2540\0\10P\241\250"..., 1024) = 1024
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "\10\1\301\211M\374\213E\374\213\20"..., 1024) = 1024
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "\377\302\0\0Linux Console Font E"..., 1024) = 1024
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "\24\0\0\0 Exit \0\0\0\0\260\32"..., 1024) = 1024
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "\0\0\0\0\4\0\0\0\4\0\0\0V\0\0\0\1"..., 1024) = 1024
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "\1\0\t\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 1024) = 1024
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "\21\0\v\0\245\2\0\0\4G\0\10\20\0"..., 1024) = 1024
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "\21\0\v\0J\5\0\0\200\31\0\0106\0"..., 1024) = 1024
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "ve\0pmbitheight\0xspacing\0disp_"..., 1024) = 1024
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "e\0_edata\0refyoffset\0_GLOBAL_O"..., 1024) = 1024
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "In some Linux distributions, ext"..., 1024) = 1024
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    read(12, "", 4096) = 0
    write(14, "the original bit pattern\nas rea"..., 1024) = 1024
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = 0
    wait4(240, 0xbfffdfcc, WNOHANG, NULL) = 0
    write(14, "", 0) = -1 EPIPE (Broken pipe)
    --- SIGPIPE (Broken pipe) ---
    --- SIGCHLD (Child exited) ---
    kill(15, 240) = -1 EINVAL (Invalid argument)
    close(12) = 0
    munmap(0x40000000, 4096) = 0
    close(14) = 0
    sigaction(SIGPIPE, {SIG_DFL}, {SIG_IGN}) = 0
    wait4(240, [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 240
    write(2, "unpacking of archive failed", 27unpacking of archive failed) = 27
    write(2, "\n", 1
    ) = 1
    write(2, "error: cse-1.0-1.i386.rpm cannot"..., 46error: cse-1.0-1.i386.rpm cannot be installed
    ) = 46
    close(12) = -1 EBADF (Bad file number)
    close(4) = 0
    lseek(8, 0, SEEK_SET) = 0
    write(8, "\0\6\25a\0\0\0\2\0\0\4\322\0\0\20"..., 260) = 260
    close(8) = 0
    lseek(9, 0, SEEK_SET) = 0
    write(9, "\0\6\25a\0\0\0\2\0\0\4\322\0\0\20"..., 260) = 260
    close(9) = 0
    lseek(6, 0, SEEK_SET) = 0
    write(6, "\0\6\25a\0\0\0\2\0\0\4\322\0\0\20"..., 260) = 260
    close(6) = 0
    lseek(10, 0, SEEK_SET) = 0
    write(10, "\0\6\25a\0\0\0\2\0\0\4\322\0\0\20"..., 260) = 260
    close(10) = 0
    lseek(11, 0, SEEK_SET) = 0
    write(11, "\0\6\25a\0\0\0\2\0\0\4\322\0\0\20"..., 260) = 260
    close(11) = 0
    _exit(1) = ?


    --------------------------
    --
    # /AS/ mailto:alex@darkstar.ping.at beware of the Penguin #
    # http://www.ping.at/members/alexa/ powered by Linux 2.0 #
    ------------------------------------------------------------------------


    \
     
     \ /
      Last update: 2005-03-22 13:37    [W:4.908 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site