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
  •  


Cisco WS-C3560-48PS-S 48-Port Managed Gigabit PoE Switch picture

Cisco WS-C3560-48PS-S 48-Port Managed Gigabit PoE Switch

$56.00



Cisco SG95-16 16-Port Gigabit Switch SG95-16-KR picture

Cisco SG95-16 16-Port Gigabit Switch SG95-16-KR

$47.00



Cisco WS-C3650-48FD-S 48-Port Gigabit Managed Switch picture

Cisco WS-C3650-48FD-S 48-Port Gigabit Managed Switch

$49.99



Cisco WS-C3650-24TS-E 24-Port Managed Gigabit Switch picture

Cisco WS-C3650-24TS-E 24-Port Managed Gigabit Switch

$39.99



HP 2530-48G 48 Port Gigabit Ethernet Network Switch J9775A picture

HP 2530-48G 48 Port Gigabit Ethernet Network Switch J9775A

$30.95



New Linksys SE3005 5-port Gigabit Ethernet Switch picture

New Linksys SE3005 5-port Gigabit Ethernet Switch

$18.99



Linksys SE3008 8 Ports Rack Mountable Gigabit Ethernet Switch picture

Linksys SE3008 8 Ports Rack Mountable Gigabit Ethernet Switch

$21.99



HP ProCurve 2530-24G J9776A 24 Port Gigabit Ethernet Managed Network Switch picture

HP ProCurve 2530-24G J9776A 24 Port Gigabit Ethernet Managed Network Switch

$34.99



HP JG937A Flexnetwork 5130-48G PoE+ 48-Port Gigabit Network Switch picture

HP JG937A Flexnetwork 5130-48G PoE+ 48-Port Gigabit Network Switch

$65.95



Juniper Networks EX3300-48P 48-Port PoE+ 4x SFP+ Network Switch w/ Power Cord picture

Juniper Networks EX3300-48P 48-Port PoE+ 4x SFP+ Network Switch w/ Power Cord

$43.95