Page 51 of 60 FirstFirst ... 414950515253 ... LastLast
Results 501 to 510 of 594

Thread: How To Compile the new 2.6.16 kernel from kernel.org

  1. #501
    Join Date
    May 2006
    Beans
    Hidden!

    Re: How To Compile the new 2.6.16 kernel from kernel.org

    Got this while trying to compile 2.6.17 kernel. Any ideas ?

    root@hackedbox:/usr/src/linux-2.6.17# make xconfig
    HOSTCC scripts/basic/fixdep
    HOSTCC scripts/basic/split-include
    HOSTCC scripts/basic/docproc
    CHECK qt
    HOSTCC scripts/kconfig/conf.o
    sed < scripts/kconfig/lkc_proto.h > scripts/kconfig/lkc_defs.h 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/'
    HOSTCC scripts/kconfig/kconfig_load.o
    HOSTCC scripts/kconfig/kxgettext.o
    HOSTCC scripts/kconfig/mconf.o
    SHIPPED scripts/kconfig/zconf.tab.c
    SHIPPED scripts/kconfig/lex.zconf.c
    SHIPPED scripts/kconfig/zconf.hash.c
    HOSTCC scripts/kconfig/zconf.tab.o
    /usr/bin/moc -i scripts/kconfig/qconf.h -o scripts/kconfig/qconf.moc
    HOSTCXX scripts/kconfig/qconf.o
    HOSTLD scripts/kconfig/qconf
    scripts/kconfig/qconf arch/i386/Kconfig
    qconf: cannot connect to X server
    make[1]: *** [xconfig] Error 1
    make: *** [xconfig] Error 2
    root@hackedbox:/usr/src/linux-2.6.17#

  2. #502
    Join Date
    Jan 2006
    Location
    Raleigh, NC
    Beans
    131
    Distro
    Ubuntu 6.10 Edgy

    Re: How To Compile the new 2.6.16 kernel from kernel.org

    Quote Originally Posted by xpmaniac4ever
    Kernel 2.6.17 is out. Does this howto apply to this new version as well ? Or could someone please modify it to reflect the changes in the new version ?
    Yea, you can use this guide for 2.6.17 to. Just make sure you get the ck1 for 2.6.17, and not 2.6.16.

    Quote Originally Posted by cfp999
    I was wondering about that too. My plan is to try and compile 2.6.17 + Con Kolivas' patch-2.6.17-ck1.bz2 although I have no idea what the latter does compared to Ubuntu's "native" patching. Will it be safe to assume, that I can boot a previous kernel in GRUB if something goes completely wrong?
    A list of ck changes can be found on his website here, http://members.optusnet.com.au/ckolivas/kernel/ , under Description.
    I have always wished for a computer that would be as easy to use as my telephone. My wish came true. I no longer know how to use my telephone.
    --Bjarne Stroustrup

  3. #503
    Join Date
    Jun 2006
    Beans
    10

    Re: How To Compile the new 2.6.16 kernel from kernel.org

    A list of ck changes can be found on his website here, http://members.optusnet.com.au/ckolivas/kernel/ , under Description.[/QUOTE]

    Thanks. Dont know how I could have missed that..

    I have another question even though it is not intirely related to the guide in this thread: Does the original Ubuntu kernel use a "monolithic" or "modular" design? (hope I spelled that correct).

  4. #504
    Join Date
    Feb 2005
    Location
    Finland
    Beans
    18

    Smile Re: How To Compile the new 2.6.16 kernel from kernel.org

    Thanks for the how-to. I just installed the new 2.6.17-kernel with your instructions. This seems to work just fine.

  5. #505
    Join Date
    Jun 2006
    Beans
    10

    Re: How To Compile the new 2.6.16 kernel from kernel.org

    When configuring the kernel: Is it generally a good idea to set hardware specific kernel support to "Y" rather than leave them as modules if you are sure about your own hardware?

  6. #506
    Join Date
    Jun 2005
    Location
    Cambridge, UK
    Beans
    175

    Re: How To Compile the new 2.6.16 kernel from kernel.org

    Hi,
    just wanted to let people know that 2.6.17 fixes problems with the cd drive not being able to mount.
    jeremy

  7. #507
    Join Date
    Jan 2006
    Beans
    1,113
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: How To Compile the new 2.6.16 kernel from kernel.org

    Kernel Useful/Performance Tips:
    Warning: Some of these tips may cause your kernel to not compile properly. Use them at you own risk.

    S=Select
    U=Unselect

    A "/" means that it is under the directory above.
    -------------------------------------------------------------------
    General Setup:

    S: Support for paging of anonymous memory. (swap)
    -------------------------------------------------------------------
    Loadable Module Support:

    U: Module Versioning Support
    U: Source checksum for all modules
    --------------------------------------------------------------------
    Block Layer:

    U: Large Block Devices (Uncheck all if possible)
    --------------------------------------------------------------------
    /IO Schedulers:

    U: Anticipatory I/O Schedulers
    U: Deadline I/O Schedulers
    ---------------------------------------------------------------------
    Processor type and features:

    U: Symmetric processing support (Unless your processor(s) support(s) it)
    U: Generic x86 support
    S: HPET Timer Support
    S: Voluntary Kernel Preemption (Desktop) (Under Preemption Model)
    S: Local APCI support on uniprocessors
    S: IO-APCI support on uniprocessors (Under Local APCI support)
    S: Off (Under High Memory support if you have under 1 gig of ram)
    S: Sparse Memory (Under Memory Model, some computers will not have this option)
    S: MTRR support
    S: Use register arguements
    S: Enable seccomp to compute untrusted bytecode
    S: 1000hz (Under Timer Frequency)
    --------------------------------------------------------------------
    /Firmware Drivers:

    U: Anything that you don't need.
    --------------------------------------------------------------------
    Bus Options:

    S: Message Signaled Interrupts (MSI and MSI-X) (PCI_MSI)
    --------------------------------------------------------------------
    Network:

    U: Anything/Everything in Amateur Radio, IrDA, and Bluetooth if you don't need it.
    --------------------------------------------------------------------
    /Network Options:

    S: Packet socket:mmapped IO
    --------------------------------------------------------------------
    Device Drivers/ ATA/ATAP/MFR/RLL support:

    S: Use PCI DMA by Default
    U: IDE Taskfile Acess
    --------------------------------------------------------------------
    /Raid and LVM

    U: Unselect if you do not need it.
    --------------------------------------------------------------------
    /I2O support:

    U: Unselect if you do not need it. Most people do not.
    --------------------------------------------------------------------
    Network Device support: (Note: Most people do not require these options. Do not unselect them if you do)

    U: EQL support
    U: Universial TUN/TAP device driver support
    U: FDDI Driver support
    U: HIPPI driver support
    U: SLIP (serial line) support
    U: Traffic Support
    U: Network console loggin support
    ---------------------------------------------------------------------
    /ARCnet support:

    U: Unselect if you do not require/need it.
    ---------------------------------------------------------------------
    /Ethernet Support (1000 MB):

    U: Uselect the cards that you don't have.
    ---------------------------------------------------------------------
    /Ethernet Support (10000 MB):

    U: Unselect what you do not need.
    ---------------------------------------------------------------------
    /Token Ring Devices:

    U: Unselect if you are not connected to a Token ring network.
    ---------------------------------------------------------------------
    /WAN interfaces support:

    U: Unselect the some cards/the whole thing if you do not need it.
    ---------------------------------------------------------------------
    ISDN subsystem:

    U: ISDN support (If you do not require it)
    ---------------------------------------------------------------------
    Input device support:

    U: Touchscreen interface
    U Touchscreens (Under the TouchScreens subcatergory)
    ---------------------------------------------------------------------
    Character Devices:

    U: Any video cards that you do not need.
    ---------------------------------------------------------------------
    /Watchdog cards:

    U: Watch Dog Timer support
    ---------------------------------------------------------------------
    Misc Devices:

    U: Device driver for IBM/RSA service drivers
    ---------------------------------------------------------------------
    Video Capture Adapters:

    U: Unselect anything that you don't need.
    ---------------------------------------------------------------------
    /Radio Adapters:

    U: Unselect anything that you don't need.
    ---------------------------------------------------------------------
    /Digital Video Broadcasting Devices:

    U: DVB for Linux
    ---------------------------------------------------------------------
    Graphics support:

    U: Unselect any graphics cards that you don't have.
    ---------------------------------------------------------------------
    /Logo Configuration:

    S: Bootup Logo (and anything under it)
    ---------------------------------------------------------------------
    File systems:

    U: Unselect any file systems that you are NOT going to use. (Minix, ROM, Quota, etc.)
    ----------------------------------------------------------------------
    /DOS/FAT/NT Filesystems:

    S: NTFS write support
    ----------------------------------------------------------------------
    /Network File Systems:

    U: NFS file system support
    U: NFS server support
    U: NCP file system support
    U: Coda file system support
    U: Andrew file system support
    U: Plan 9 resource sharing support
    -----------------------------------------------------------------------
    /Partition Types:

    U: Advanced partition selection
    -----------------------------------------------------------------------
    /Native Language Support:

    U: Unselect all but your native language:
    S: Codepage 437 (United States. Canada), ACII (United States), NLS UTF-8 (select these for the us language)
    -----------------------------------------------------------------------
    Instrumentation Support:

    U: Profiling Support
    U: Kprobes
    ------------------------------------------------------------------------
    Kernel Hacking:

    U: Show timing information on printks
    U: Magic SysRq Key
    U: Kernel Hacking
    U: Debug Filesustem
    U: Compile the kernel with frame unwind information
    -------------------------------------------------------------------------
    That is it Hope that helps. Can I have some feedback on this ? And starting tomarrow, I will be gone for 2 weeks, so I can't update the thread.
    Last edited by xXx 0wn3d xXx; June 24th, 2006 at 12:36 AM.

  8. #508
    Join Date
    May 2006
    Beans
    Hidden!

    Re: How To Compile the new 2.6.16 kernel from kernel.org

    Did you try compiling the driver from http://ipw3945.sourceforge.net and if so did you get an error? I successfully compiled and installed the ieee80211 package but when I tried to build the newest driver 1.0.5 it resulted in the following:

    make -C /lib/modules/2.6.17/build M=/home/fishman/wireless/ipw3945-1.0.5 modulesmake[1]: Entering directory `/usr/src/linux-2.6.17'
    CC [M] /home/fishman/wireless/ipw3945-1.0.5/ipw3945.o
    /home/fishman/wireless/ipw3945-1.0.5/ipw3945.c: In function ‘ipw_send_associate’:
    /home/fishman/wireless/ipw3945-1.0.5/ipw3945.c:4292: error: too few arguments to function ‘ieee80211_tx_frame’
    /home/fishman/wireless/ipw3945-1.0.5/ipw3945.c: In function ‘ipw_bg_daemon_cmd’:/home/fishman/wireless/ipw3945-1.0.5/ipw3945.c:4765: error: too few arguments to function ‘ieee80211_tx_frame’
    /home/fishman/wireless/ipw3945-1.0.5/ipw3945.c: In function ‘ipw_auth_work’:
    /home/fishman/wireless/ipw3945-1.0.5/ipw3945.c:9381: error: too few arguments to function ‘ieee80211_tx_frame’
    /home/fishman/wireless/ipw3945-1.0.5/ipw3945.c:9426: error: too few arguments to function ‘ieee80211_tx_frame’
    /home/fishman/wireless/ipw3945-1.0.5/ipw3945.c: In function ‘ipw_handle_probe_request’:
    /home/fishman/wireless/ipw3945-1.0.5/ipw3945.c:9496: error: too few arguments to function ‘ieee80211_tx_frame’
    make[2]: *** [/home/fishman/wireless/ipw3945-1.0.5/ipw3945.o] Error 1
    make[1]: *** [_module_/home/fishman/wireless/ipw3945-1.0.5] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.17'
    make: *** [modules] Error 2

    Let me know if you get the same result when trying to compile that driver.

  9. #509
    Join Date
    Jun 2006
    Beans
    71
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How To Compile the new 2.6.16 kernel from kernel.org

    Quote Originally Posted by Centaur5
    Did you try compiling the driver from http://ipw3945.sourceforge.net and if so did you get an error? I successfully compiled and installed the ieee80211 package but when I tried to build the newest driver 1.0.5 it resulted in the following:

    make -C /lib/modules/2.6.17/build M=/home/fishman/wireless/ipw3945-1.0.5 modulesmake[1]: Entering directory `/usr/src/linux-2.6.17'
    CC [M] /home/fishman/wireless/ipw3945-1.0.5/ipw3945.o
    /home/fishman/wireless/ipw3945-1.0.5/ipw3945.c: In function ‘ipw_send_associate’:
    /home/fishman/wireless/ipw3945-1.0.5/ipw3945.c:4292: error: too few arguments to function ‘ieee80211_tx_frame’
    /home/fishman/wireless/ipw3945-1.0.5/ipw3945.c: In function ‘ipw_bg_daemon_cmd’:/home/fishman/wireless/ipw3945-1.0.5/ipw3945.c:4765: error: too few arguments to function ‘ieee80211_tx_frame’
    /home/fishman/wireless/ipw3945-1.0.5/ipw3945.c: In function ‘ipw_auth_work’:
    /home/fishman/wireless/ipw3945-1.0.5/ipw3945.c:9381: error: too few arguments to function ‘ieee80211_tx_frame’
    /home/fishman/wireless/ipw3945-1.0.5/ipw3945.c:9426: error: too few arguments to function ‘ieee80211_tx_frame’
    /home/fishman/wireless/ipw3945-1.0.5/ipw3945.c: In function ‘ipw_handle_probe_request’:
    /home/fishman/wireless/ipw3945-1.0.5/ipw3945.c:9496: error: too few arguments to function ‘ieee80211_tx_frame’
    make[2]: *** [/home/fishman/wireless/ipw3945-1.0.5/ipw3945.o] Error 1
    make[1]: *** [_module_/home/fishman/wireless/ipw3945-1.0.5] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.17'
    make: *** [modules] Error 2

    Let me know if you get the same result when trying to compile that driver.
    same error for me aswell but when i try it with ndiswrapper using windows drivers the kernel crashes
    Laptop:
    Acer Aspire 5672WLMi
    Intel Core Duo T2600 (2.16), 15.4" WXGA, ATI MOBILITY Radeon x1400 128M, RAM 4GB DDR II, 250G SATA Windows 7 + Ubuntu 10.04

  10. #510
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,503
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How To Compile the new 2.6.16 kernel from kernel.org

    Quote Originally Posted by cfp999
    .......
    Will it be safe to assume, that I can boot a previous kernel in GRUB if something goes completely wrong?
    Yes, you can boot from as many kernels that you leave installed on your system.

    It would be good policy to always have the latest "official" Ubuntu kernel installed, and then you may also want to have one previous (working) version of the CK kernel installed as well as the latest one you are currently playing with.

    If things go bad with a current kernel, simply reboot and select one of the known good ones you have in your list - and when you are satisfied that a kernel is stable (and performs as you require) then you can remove the previous version(s).
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate.
    New to technical forums?: How To Ask Questions The Smart Way

Page 51 of 60 FirstFirst ... 414950515253 ... LastLast

Bookmarks

Posting Permissions

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