Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: Upgrading Kernel Troubles

  1. #11
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Hmm, do you actually need initrd. You also have 2 ramdisk sizes. Try with:

    image=/boot/vmlinuz-2.6.5-1-k7
    label="Linux(2.6.5)-1"
    # initrd=/boot/initrd.img-2.6.5-1-k7
    append="lang=us ramdisk_size=129000 dma apm=power-off hda=scsi nomce "
    read-only

    Umm, no. I meant the creating of an initrd but if you already have one it's ok.
    Does /boot/System.map point to System.map-2.6.x?

  2. #12
    Junior Member registered user
    Join Date
    May 2004
    Posts
    23
    I did all that you said above and still the same dilio.

    It says:

    Code:
    VFS:Connot open root device "302" or unknown-block(3,2)
    Maybe I have to try to manually copy the Knoppix 2.6.5 kernel off the 04-05-10 CD

  3. #13
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    I'm getting out of ideas here
    How about appending root for 2.6 in lilo and leaving initrd as it was:

    image=/boot/vmlinuz-2.6.5-1-k7
    label="Linux(2.6.5)-1"
    initrd=/boot/initrd.img-2.6.5-1-k7
    append="root=/dev/hda2 lang=us ramdisk_size=129000 dma apm=power-off hda=scsi nomce "
    read-only

    BTW, 2.6 kernels don't really make a speed difference if you aren't running some cluster server. For a desktop 2.4 is fine, unless it's one of those gotta have things

  4. #14
    Junior Member registered user
    Join Date
    Jan 2003
    Posts
    11
    I've been messing around with the settings but without result. I really need a 2.6 kernel because my tv tuner card doesn't seem to work with older kernels .

    Same error with or without initrd. Seems it can't access the HD or something like that...damn...I really need a new kernel...I want lirc to work...

    Would it be possible to use the initrd from my 2.6.5 kernel when booting 2.6.6? Kernel 2.6.5 is booting fine (it's the knopix one).

    Here's the part for the 2.6.6 kernel from lilo.conf:
    Code:
    image=/boot/vmlinuz-2.6.6-1-k7
            label="Linux226"
            #initrd=/boot/initrd-2.6.6-1-k7.img
            append="lang=nl keyboard=be ramdisk_size=129000 dma apm=power-off nomce "
            read-only
    thx for your assistance so far,
    Frost

  5. #15
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Well as I said I'm getting out of ideas. Starting to look like the kernel-image has some difference in ide or filesystem for say ext3 compiled into the kernel. Module support won't do much good when booting up a disk.
    I don't think you can use a different initrd from another kernel, but I've never tried it either.
    If someone has installed a 2.6.6 debian kernel-image, could you post lilo.conf incl. appends?
    Worst case scenario, you have to compile your own kernel. Install the source and headers, copy the config from /boot to /usr/src/linux/.config , run make oldconfig and make menuconfig.
    Here's some links for that:
    http://www.osnews.com/story.php?news_id=2949&page=1
    http://newbiedoc.sourceforge.net/tut...el-pkg.html.en
    http://kerneltrap.org/node/view/799

  6. #16
    Junior Member registered user
    Join Date
    May 2004
    Posts
    23
    oh, I should have mentioned that my root partition is a ReiserFS. Maybe that causes the trouble?

    I will today try to install the Knoppix custom 2.6.5 kernel. Maybe this will do the trick.

    As for kernel-compiling... here comes my next issue (I've tried it before ): I followed the steps in a kernel compiling tutorial. When I typed "make menuconfig" or "make xconfig" I get this:

    Code:
    root@dkserver:/usr/src/linux# make xconfig
      HOSTCC  scripts/basic/fixdep
    In Datei, eingef?gt von /usr/include/sys/socket.h:35,
                        von /usr/include/netinet/in.h:24,
                        von scripts/basic/fixdep.c:107:
    /usr/include/bits/socket.h:305:24: asm/socket.h: Datei oder Verzeichnis nicht gefunden
    make[1]: *** [scripts/basic/fixdep] Fehler 1
    make: *** [scripts_basic] Fehler 2
    root@dkserver:/usr/src/linux#
    ("In Datei, eingefügt von" means "In file, inserted by"; "Datei oder Verzeichnis nicht gefunden" mean "file or directory not found"; "Fehler" means "error").

    You see, my machine is really screwed up.

  7. #17
    Junior Member registered user
    Join Date
    Jan 2003
    Posts
    11
    try

    Code:
    ln -s asm-i386 asm
    in your includes directory, that helped for me.

    I'll check what the installer makes of the lilo.conf, but because of windows etc, I don't let it overwrite my old one, so I'll backup it and reinstall the kernel-image...and then I'll tell you what it has created.

    btw, my hd is ide Ext3 formatted. Woulnd't it be kind of stupid when the kernel-image wouldn't support that?

  8. #18
    Junior Member registered user
    Join Date
    May 2004
    Posts
    23
    Thanks again for all your help. First off, I now have another problem that occured during the kernel changes. When my system boots (whatever kernel), it does not mount my partitions (VFAT, NTFS) anymore. When I do "mount -a" after boot, I get an error saying "mount: no medium found", just as if the system didn't find my hda anymore. Yet, if i manually do "mount - vfat /dev/hda3 /mnt/hda3" it works! What could this be due to?

    As for compiling a new kernel, thank you Frost, your hint worked, but I get another error: when making the modules I get

    Code:
    CC [M]  fs/reiser4/as_ops.o
    fs/reiser4/as_ops.c: In Funktion >>move_inode_out_from_sync_inodes_loop<<:
    fs/reiser4/as_ops.c:570: error: structure has no member named `dirtied_when'
    make[2]: *** [fs/reiser4/as_ops.o] Fehler 1
    make[1]: *** [fs/reiser4] Fehler 2
    make: *** [fs] Fehler 2
    .

    Although I have patched the raw 2.6.5 kernel by the textbook (instrutions from reiser website), this error occurs.

    As for other kernels, I got the 2.6.5 knoppix kernel that I downloaded from linuxtag to run successfully, but this version did/does not support Reiser4.

    I think I'll have to wait until an official kernel (debian or knoppix) comes out that supports Reiser4.

  9. #19
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    The filesystem support not built into the kernel was just a guess while I can't think of anything else to try for booting up. Yes, they most probably are built in.

  10. #20
    Junior Member registered user
    Join Date
    May 2004
    Posts
    23
    As I wrote above, I now have a new/related issue:

    Quote Originally Posted by Linuxshark
    First off, I now have another problem that occured during the kernel changes. When my system boots (whatever kernel), it does not mount my partitions (VFAT, NTFS) anymore. When I do "mount -a" after boot, I get an error saying "mount: no medium found", just as if the system didn't find my hda anymore. Yet, if i manually do "mount - vfat /dev/hda3 /mnt/hda3" it works! What could this be due to?
    This heppens even if I use my old, initial Knoppix 3.4, 2.6.6 kernel. Everything works smoothly as before, it's just that my partitions won't mount anymore.

    Is there still hope for my system?

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. upgrading 3.6 - 3.7
    By mkyb14 in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 12-16-2004, 11:03 PM
  2. Kernel Upgrading for noobs?
    By Stealth870 in forum General Support
    Replies: 0
    Last Post: 08-16-2004, 12:23 AM
  3. Keyboard troubles with Knoppix Kernel 2.6.6
    By The_Martian in forum Hardware & Booting
    Replies: 3
    Last Post: 07-17-2004, 12:42 AM
  4. Upgrading
    By Ander in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 01-11-2004, 01:49 AM
  5. Upgrading to kernel 2.6-test9
    By Joe999 in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 11-14-2003, 06:37 AM

Posting Permissions

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


Intel Xeon E3-1270 v6 3.80GHz 4 Cores SR326 LGA1151 CPU Processor picture

Intel Xeon E3-1270 v6 3.80GHz 4 Cores SR326 LGA1151 CPU Processor

$46.00



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$619.99



Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture

Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...

$419.99



Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1 picture

Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1

$39.99



AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor picture

AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor

$319.99



E5-2697V4 INTEL XOEN SR2JV 18 CORE 2.30 GHz 45M 9.6 GT/s 145W PROCESSOR CPU picture

E5-2697V4 INTEL XOEN SR2JV 18 CORE 2.30 GHz 45M 9.6 GT/s 145W PROCESSOR CPU

$49.99



Intel Core i5-8500 3 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR3XE picture

Intel Core i5-8500 3 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR3XE

$49.99



Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc... picture

Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc...

$619.99



Intel Core i5-12400 Desktop Processor With HeatSink picture

Intel Core i5-12400 Desktop Processor With HeatSink

$140.00



Intel Quad Core i3-12100 3.3GHz 12MB LGA1700 12th Gen. CPU Processor SRL62 picture

Intel Quad Core i3-12100 3.3GHz 12MB LGA1700 12th Gen. CPU Processor SRL62

$45.62