This is the old SliTaz forum - Please use the main forum.slitaz.org

tazwok cook linux = failure
  • iegubkiniegubkin January 2010
    I'm trying to build a slitaz package for the nvidia 96.43.14 driver which is necessary for my older mx440 card. Looking at the receipt for the nvidia 190.42 driver, the first step of this process, as I understand it, is building the kernel. I closely followed the various instructions on the site and installed the following packages on a fresh install of slitaz, fully updated:

    slitaz-toolchain
    ncurses-dev
    perl
    mercurial
    git (for aufs)
    zlib-dev (necessary or build process dies quickly)

    hg clone http://hg.slitaz.org/wok/ /home/slitaz/wok

    Before trying my receipt for the new nvidia driver, I decided to test the kernel build process. So:

    tazwok cook linux

    After after about 1 1/2 hours of smooth sailing I get this message:

    CC [M] net/wireless/lib80211_crypt_tkip.o
    CC [M] lib/crcl6.o
    CC [M] lib/crc-itu-t.o
    CC [H] lib/libcrc32c.o
    CC [M] lib/ts_kmp.o
    CC [H] lib/ts_bm.o
    CC [M] lib/ts_fsm.o
    Building modules, stage 2.
    MODPOST 801 modules ERROR: "mmap_min_addr" [fs/aufs/aufs.ko] undefined! WARNING: modpost: Found 2 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
    make[l]: *** [__modpost] Error 1
    make: *** [modules] Error 2
    Compilation failed. Please read the compilator output.


    Any help would be much appreciated. Am I right in thinking that the problem is with the various aufs patches in /home/slitaz/wok/linux/stuff? Thank you.
  • iegubkiniegubkin January 2010
    One more clue. During the early phases of the build, the process stopped and asked the following question. This also raised further suspicions that the problem might be with the aufs module:

    Additional option for memory-constrained systems (SQUASHFS_EMBEDDED) [N/y/?] n
    FreeVxFS file system support (VERITAS VxFS(TM) compatible) (VXFS_FS) [N/m/y/?] n
    Minix file system support (MINIX_FS) [M/n/y/?] m
    SonicBlue Optimized MPEG File System support (0MFS_FS) [N/m/y/?] n
    OS/2 HPFS file system support (HPFS_FS) [N/m/y/?] n
    QNX4 file system support (read only) (QNX4FS_FS) [N/m/y/?] n
    ROM file system support (R0MFS_FS) [N/m/y/?] n
    System V/Xenix/V7/Coherent file system support (SYSV_FS) [N/m/y/?] n
    UFS file system support (read only) (UFS_FS) [N/m/y/?] n
    Aufs (Advanced multi layered unification filesystem) support (AUFS_FS) [M/n/y/ ?] m
    Maximum number of branches
    > 1. 127 (AUFS_BRANCH_MAX_127)
    511 (AUFS_BRANCH_MAX_511)
    1023 (AUFS_BRANCH_MAX_1023)
    32767 (AUFS_BRANCH_MAX_32767) choice[l-4?]: 1
    Use inotify to detect actions on a branch (AUFS_HINOTIFY) [N/y/?] n
    NFS-exportable aufs (AUFS_EXPORT) [N/y/?] n
    Readdir in userspace (AUFS_RDU) [N/y/?] n
    Respect the attributes (mtime/ctime mainly) of special files (AUFS_SP_IATTR) [N/y/?] (NEW)
  • ErjoErjo January 2010
    Hello iegubkin,

    If you need to build a custom kernel, or an external module you just need to install the linux-source package.

    Note that the wok is only for the cooking version, you 'd better use the wok-stable if you are running the stable version.
    The linux-source package has bee improve in cooking.
    If you have to build an external modul you just need to:

    - intall the linux-source package
    - customize the kernel or build your external module.

    +Erjo
  • iegubkiniegubkin January 2010
    Thanks Erjo,

    I saw the instructions to "Install the latest non-free Nvidia driver"

    http://community.slitaz.org/node/15

    My ultimate goal, however, is to make a slitaz flavor with support for older nvidia cards (like my mx440) and the enna media center. To do this, as I understand it, I need to make a package for nvidia 96.43.14. I would be glad to find out otherwise.
  • iegubkiniegubkin January 2010
    Thanks to Erjo's advice I was able to successfully build the kernel using the linux-source package and install the nvidia 96.43.14 driver. As mentioned above instructions are here:

    http://community.slitaz.org/node/15

    Unfortunately sound is now broken with the new cooking kernel. The problem is with an on-board ens-1371 and is exactly the same as described here:

    http://forum.slitaz.org/index.php/discussion/125/no-sound-in-slitaz-cooking-20091104

    and

    http://forum.slitaz.org/index.php/discussion/368/sound-not-working-module-loaded-but-device-node-is-missing/

    The fixes suggested in the posts do not work.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social