View Poll Results: Was this helpful to you?

Voters
1159. You may not vote on this poll
Page 2 of 152 FirstFirst 12341252102 ... LastLast
Results 11 to 20 of 1518

Thread: Master Kernel Thread

  1. #11
    Join Date
    Oct 2006
    Location
    Israel
    Beans
    64
    Distro
    Kubuntu 7.10 Gutsy Gibbon

    Re: Master Kernel Thread

    Quote Originally Posted by kurty View Post
    I'm also getting the "Begin: Waiting for root file system... ..." message and the system just hangs. If I hit ctr+alt+del it reboots and I can repeat over and over, nothing. If I choose my old kernel from grub it boots just fine so I don't think there is anything wrong with the file system.

    Help?
    Same here
    Last edited by gbesso; December 13th, 2006 at 02:55 PM.

  2. #12
    Join Date
    Aug 2005
    Location
    Ohio
    Beans
    60
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Master Kernel Thread

    I was also having the "Begin: Waiting for root file system..." bug. This was due to the fact that I'm booting from a SATA drive, and none of the SATA drivers were baked into the kernel. I recompiled the kernel with the SATA drivers baked in and it booted fine.

    The next problem I'm having is not being able to mount local hard drives after I'm booted up. I have an IDE drive I use for storage that ubuntu can't see. This used to be solved by patching the kernel with the evms patch shown here (http://www.ubuntuforums.org/showthre...&page=1&pp=10), but this method no longer works. Any solutions?
    Main Rig: Athlon XP 2800+ (Overclocked) | 512MB Corsair DDR400 Dual Channel | Asus A7N8X Deluxe | ATi Radeon 9700 Pro
    Linux Registered User - #423753

  3. #13
    Join Date
    Oct 2006
    Location
    Israel
    Beans
    64
    Distro
    Kubuntu 7.10 Gutsy Gibbon

    Re: Master Kernel Thread

    Hmm that makes sense, I'm also running from a SATA drive, I'll give it a try.

  4. #14
    Join Date
    Aug 2006
    Beans
    11

    Re: Master Kernel Thread

    what do you mean by "baked in"?

  5. #15
    Join Date
    Aug 2005
    Location
    Ohio
    Beans
    60
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Master Kernel Thread

    By baked in, I meant compiled into the kernel. When you do a sudo make xconfig you need to enable the SATA drivers. They're not selected by default.
    Main Rig: Athlon XP 2800+ (Overclocked) | 512MB Corsair DDR400 Dual Channel | Asus A7N8X Deluxe | ATi Radeon 9700 Pro
    Linux Registered User - #423753

  6. #16
    Join Date
    Jun 2006
    Location
    Rockaway, NJ
    Beans
    55
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Master Kernel Thread

    Quote Originally Posted by BennS View Post
    @lime4x4:
    The file it's trying to include is /usr/src/linux-headers-2.6.19/include/linux/config.h
    however, this file does not exist, at least in the versions I've been able to build. This file exists in my linux-headers-2.6.18 directory that I have from the last time I built my own kernel (using the previous guide), but not in the new (2.6.19) version.
    Seems like something is broken (or fragile) when building 2.6.19 on Ubuntu machines. Makes me wish I still had my Fedora Core 6 partition to try building a kernel on.
    There is no problem with building kernels under Ubuntu. The issue here is that config.h no longer exists in the 2.6.19 kernel. Read this thread to get more info...
    "smooth as seelk"

  7. #17
    Join Date
    Aug 2006
    Location
    Australia
    Beans
    33

    Re: Master Kernel Thread

    Great guide. After a few attempts I managed to get a new 2.6.19 kernel going. Maybe you could add the following info for others who were in my same situation.

    Change
    Code:
    sudo apt-get install build-essential bin86 kernel-package libqt3-headers libqt3-mt-dev wget && cd /usr/src
    to
    Code:
    sudo apt-get install build-essential bin86 kernel-package libqt3-headers libqt3-mt-dev wget libncurses5 libncurses5-dev && cd /usr/src
    This way if people have just done a server install they can use menuconfig instead of xconfig.

    For people running a server install with console only
    Code:
    sudo cp /boot/config-`uname -r` .config && sudo make oldconfig && sudo make menuconfig
    Also can someone point me in the right direction for compiling the nvidia kernel sources as well? I read somewhere that you need to do this because restricted modules aren't allowed when you compile your own kernel.

    Thanks!

  8. #18
    Join Date
    Oct 2005
    Beans
    38

    Re: Master Kernel Thread

    When I enter
    Code:
    spitz@desktop:/usr/src/linux$ sudo cp /boot/config-`uname -r` .config && sudo make oldconfig && sudo make xconfig
    I got this error ( after holding enter for a while) :
    Code:
    * Library routines
    *
    CRC-CCITT functions (CRC_CCITT) [M/y/?] m
    CRC16 functions (CRC16) [M/y/?] m
    CRC32 functions (CRC32) [Y/?] y
    CRC32c (Castagnoli, et al) Cyclic Redundancy-Check (LIBCRC32C) [M/y/?] m
    #
    # configuration written to .config
    #
    
    scripts/kconfig/qconf arch/i386/Kconfig
    X Error: BadDevice, invalid or uninitialized input device 168
      Major opcode:  148
      Minor opcode:  3
      Resource id:  0x0
    Failed to open device
    X Error: BadDevice, invalid or uninitialized input device 168
      Major opcode:  148
      Minor opcode:  3
      Resource id:  0x0
    Failed to open device

    I ignored this error & continued compilation... Everything seemed to be go fine, but when restartign & booting the new kernel I got this error:

    /dev/sda1/ does not exist Dropping to shell
    /bin/sh: can't axxes tty Job control turned off

    What did I wrong?
    Last edited by Choxo; December 17th, 2006 at 02:34 PM.

  9. #19
    Join Date
    Apr 2006
    Location
    Chicago
    Beans
    1,406
    Distro
    Ubuntu

    Re: Master Kernel Thread

    I keep getting this error for fuse
    Code:
    /usr/bin/make -C kfusd KDIR=/usr/src/linux
    make[3]: Entering directory `/usr/src/modules/fusd-kor/kfusd'
    echo EXTRA_CFLAGS=-I/usr/src/modules/fusd-kor/kfusd/../include
    EXTRA_CFLAGS=-I/usr/src/modules/fusd-kor/kfusd/../include
    /usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/modules/fusd-kor/kfusd EXTRA_CFLAGS=-I/usr/src/modules/fusd-kor/kfusd/../include modules
    make[4]: Entering directory `/usr/src/linux-2.6.19'
      CC [M]  /usr/src/modules/fusd-kor/kfusd/kfusd.o
    /usr/src/modules/fusd-kor/kfusd/kfusd.c:60:26: error: linux/config.h: No such file or directory
    /usr/src/modules/fusd-kor/kfusd/kfusd.c:70:35: error: linux/devfs_fs_kernel.h: No such file or directory
    /usr/src/modules/fusd-kor/kfusd/kfusd.c:181: error: expected ‘)’ before string constant
    /usr/src/modules/fusd-kor/kfusd/kfusd.c: In function ‘fusd_register_device’:
    /usr/src/modules/fusd-kor/kfusd/kfusd.c:2036: warning: label ‘register_failed2’ defined but not used
    /usr/src/modules/fusd-kor/kfusd/kfusd.c: At top level:
    /usr/src/modules/fusd-kor/kfusd/kfusd.c:2517: error: unknown field ‘writev’ specified in initializer
    /usr/src/modules/fusd-kor/kfusd/kfusd.c:2517: warning: initialization from incompatible pointer type
    /usr/src/modules/fusd-kor/kfusd/kfusd.c: In function ‘init_fusd’:
    /usr/src/modules/fusd-kor/kfusd/kfusd.c:2941: warning: label ‘fail2’ defined but not used
    /usr/src/modules/fusd-kor/kfusd/kfusd.c:2929: warning: label ‘fail7’ defined but not used
    /usr/src/modules/fusd-kor/kfusd/kfusd.c: In function ‘cleanup_fusd’:
    /usr/src/modules/fusd-kor/kfusd/kfusd.c:2960: warning: implicit declaration of function ‘devfs_remove’
    make[5]: *** [/usr/src/modules/fusd-kor/kfusd/kfusd.o] Error 1
    make[4]: *** [_module_/usr/src/modules/fusd-kor/kfusd] Error 2
    make[4]: Leaving directory `/usr/src/linux-2.6.19'
    make[3]: *** [default] Error 2
    make[3]: Leaving directory `/usr/src/modules/fusd-kor/kfusd'
    make[2]: *** [binary-modules] Error 2
    make[2]: Leaving directory `/usr/src/modules/fusd-kor'
    make[1]: *** [kdist_build] Error 2
    make[1]: Leaving directory `/usr/src/modules/fusd-kor'
    Module /usr/src/modules/fusd-kor failed.
    Hit return to Continue

  10. #20
    Join Date
    Dec 2006
    Location
    Greece
    Beans
    16
    Distro
    Kubuntu 7.04 Feisty Fawn

    Re: Master Kernel Thread

    What is better for me to use here:
    make-kpkg -initrd --revision=386 kernel_image kernel_headers modules_image

    386, 686 or k7?
    I have amd 3800+ X2 and Edgy 64bit

    This is my second attemp to compile the 2.6.19 kernel and the first time I put k7. In entry of grub don't have 2.6.19.k7 (or 2.6.19-k7, I don't know how it should be), but I have only 2.6.19
    Have to be only this?

Page 2 of 152 FirstFirst 12341252102 ... LastLast

Tags for this Thread

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
  •