Find the answer to your Linux question:
Results 1 to 5 of 5
halo... i am currently using fedora core 4, 2.6.11-1.1369_FC4. I did installed ndiswrapper into my distro and my laptop hang when i typed "modprobe ndiswrapper". This is due to stack ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Posts
    70

    how to disable 4K stack size


    halo... i am currently using fedora core 4, 2.6.11-1.1369_FC4. I did installed ndiswrapper into my distro and my laptop hang when i typed "modprobe ndiswrapper". This is due to stack size of fedora core 4 only got 4K, so I am going to upgrade to 16K by downloading the rpm package from:
    http://www.linuxant.com/driverloader...ernel-i686.php

    I did installed it by "rpm -ivh kernel-2.6.17-1.2142_FC4.stk16.i686.rpm ".

    When i restart my laptop, boatloader will shown 3 options, one is fedora core 4, fedora core 4 stack size 16K and window XP.

    I did realised that i did not disable the 4K stack size and i am still not sure how to reconfigure and recompile the 16K stack size.

    Can anyone give me some guide lines how to reconfigure and recompile it ???

    Your advices much appreciated.

  2. #2
    Just Joined!
    Join Date
    Jul 2006
    Posts
    70
    sorry for my stupid mistake.....the package i did installed is kernel-2.6.11-1.369_FC4.stk16.i686

  3. #3
    Linux Enthusiast Weedman's Avatar
    Join Date
    May 2005
    Location
    Tasmania, Australia
    Posts
    640
    All you need to do is boot that "16K stack" listing on the boot screen.

    But I am assuming that you want to remove the other Kernel option on the boot screen...

    You will need the version of the 4k kernel, which is usually as simple as looking at the boot screen for it.

    You will also need to use "rpm" to uninstall that 4k kernel. I am, however, unsure about the command line options that you would give "rpm" to uninstall a package.

    weed
    "Time has more than one meaning, and is more than one dimension" - /.unknown
    --Registered Linux user #396583--

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Jul 2006
    Posts
    70
    i did boot into 16K stack , after that when i tried to install ndiswrapper-1.20, on the step "make", there is error message :

    [root@hb2b-219 ndiswrapper-1.20]# make
    make -C driver
    make[1]: Entering directory `/home/kokchin/Desktop/ndiswrapper-1.20/driver'
    Can't find kernel build files in /lib/modules/2.6.11-1.1369_FC4.stk16/build;
    give the path to kernel build directory with
    KBUILD=<path> argument to make
    make[1]: *** [prereq_check] Error 1
    make[1]: Leaving directory `/home/kokchin/Desktop/ndiswrapper-1.20/driver'
    make: *** [all] Error 2

    I did checked my kernel header's file as shown :

    [kokchin@hb2b-219 ~]$ rpm -qa kernel-devel
    kernel-devel-2.6.17-1.2142_FC4
    kernel-devel-2.6.11-1.1369_FC4

    Actually, I did update the kernel-devel before installing the 16K stack size, by typing " yum install kernel-devel" and it installed the kernel-devel-2.6.17-1.2142_FC4.

    Did anyone know what is the problem??
    Your advices are much appreciated.

  6. #5
    Just Joined!
    Join Date
    Dec 2006
    Posts
    1

    ndiswrapper

    Quote Originally Posted by wahaha
    i did boot into 16K stack , after that when i tried to install ndiswrapper-1.20, on the step "make", there is error message :

    [root@hb2b-219 ndiswrapper-1.20]# make
    make -C driver
    make[1]: Entering directory `/home/kokchin/Desktop/ndiswrapper-1.20/driver'
    Can't find kernel build files in /lib/modules/2.6.11-1.1369_FC4.stk16/build;
    give the path to kernel build directory with
    KBUILD=<path> argument to make
    make[1]: *** [prereq_check] Error 1
    make[1]: Leaving directory `/home/kokchin/Desktop/ndiswrapper-1.20/driver'
    make: *** [all] Error 2

    I did checked my kernel header's file as shown :

    [kokchin@hb2b-219 ~]$ rpm -qa kernel-devel
    kernel-devel-2.6.17-1.2142_FC4
    kernel-devel-2.6.11-1.1369_FC4

    Actually, I did update the kernel-devel before installing the 16K stack size, by typing " yum install kernel-devel" and it installed the kernel-devel-2.6.17-1.2142_FC4.

    Did anyone know what is the problem??
    Your advices are much appreciated.
    Try the following:
    rpm -Uhv kernel-version.rpm then restart
    rpm -Uhv kernel-devel-version.rpm then restart
    In FC4, I believe the next command is:
    ln -s /usr/src/kernels/kernelversion /lib/modules/kernelversion/build
    If ln -s doesn't work try ln -fs
    cd into ndiswrapper
    make install
    cd into driver directory
    ndiswrapper -i driver.inf
    ndiswrapper -l to see if it's installed. Hopefully it will display something similar to
    driver installed, hardware present
    modprobe ndiswrapper
    cd into /etc
    add the line:
    alias wlan0 ndiswrapper
    to modprobe.conf
    Open the network manager and add a wireless device. With any luck it will hopefully work.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •