Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: Upgrading Kernel Troubles

  1. #1
    Junior Member registered user
    Join Date
    Sep 2003
    Posts
    24

    Upgrading Kernel Troubles

    Quite a long time ago, I installed my Debian system via Knoppix 3.3.

    Since then, I've upgraded and what not many many times- my system, for example, is now mainly unstable packages, including KDE 3.2.2, which I love.

    The only thing I haven't been able to upgrade is my kernel. I'm wondering if any baggage from Knoppix has to do with it. Or perhaps because it's a 2.6 kernel.

    Specifically:

    1. I apt-get install an appropriate kernel-image (kernel-image-2.6.6-1-686), it installs fine.
    2. I edit Lilo to include the new kernel, pointing vmlinuz and initrd to the right locations. I update lilo.
    3. I reboot. Lilo menu shows my new kernel choices.
    4. I select the new kernel.
    5. Lilo informs me that the kernel loaded successfully.
    6. Screen goes blank, never changes.

    Any clue what could be happening? I previously tested a different 2.4 kernel, which boats fine (although I never got X working on it).

    Thank you for any help steering me in the right direction.

    --Paradox

  2. #2
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Did you apt-get as well:
    kernel-headers-2.6.6-1-686
    module-init-tools

    You also need this line in /etc/fstab: sysfs /sys sysfs defaults 0 0

    If you have a i810 video chipset you may need to compile your own kernel due to a experimental,... hmm, what was it now,.. ummm.. some kernel module that is incompatible with i810.

  3. #3
    Junior Member registered user
    Join Date
    Sep 2003
    Posts
    24
    Tried your advice:

    Still no luck. It says "Loading Linux26........................................... . BIOS data check passed" (or something of the sort)

    then the screen goes blank and the system becomes unresponsive.

    Thanks for the idea, though! Got any more?

    --Paradox

  4. #4
    Junior Member registered user
    Join Date
    Sep 2003
    Posts
    24
    It's working!

    The blank screen was due to a VGA / framebuffer issue.

    I resolved it, saw the simple error LILO was giving, fixed THAT.. booted up, re-installed the NVIDIA driver, and bam--

    I'm now running kernel 2.6.6, with KDE 3.2.2

    Life is sweet.

    So in short-- besides some simple errors, installing a new kernel was completely painless. wow. Go Debian (and Knoppix, for introducing me to Debian).

    --Paradox

  5. #5
    Junior Member registered user
    Join Date
    Jan 2003
    Posts
    11
    hi,
    I'm also trying to install the kernel-image with apt-get. I installed all the packages mentionned above, changed vga=(a number) to vga=normal and changed my lilo.conf making the new kernel selectable at boot.

    But there are problems...when the kernel is loading I get a message like this:
    Code:
     Kernel panic: VFS: Unable to mount fs on unknown-block(3,8)
    It's also saying that I must check the root="" in my lilo.conf, but that seems to be ok. The 3 and the 8 are also the right numbers since I installed Knoppix to hda8.

    If you have a i810 video chipset you may need to compile your own kernel due to a experimental,... hmm, what was it now,.. ummm.. some kernel module that is incompatible with i810.
    I have no i810 video chipset but my audio is. Could this be the problem? Or is there just something wrong with my lilo.conf? Can you post your working lilo.conf Paradox...plz?

    thx,
    F.

  6. #6
    Junior Member registered user
    Join Date
    May 2004
    Posts
    23
    Quote Originally Posted by Paradox
    Tried your advice:

    Still no luck. It says "Loading Linux26........................................... . BIOS data check passed" (or something of the sort)

    then the screen goes blank and the system becomes unresponsive.

    Thanks for the idea, though! Got any more?

    --Paradox
    I have the very same problem that Paradox had: I apt-get installed (on a Knoppix 3.4 04-05-17) kernel-image-2.6.5-1-k7 and the corresponding headers and the tools mentioned above. I want to step back to the 2.6.5 kernel because 2.6.6 does not support my Reiser4 pertition.

    My fstab is also containing the line mentioned above.

    My lilo.conf is pointing to the correct initrd.img and vmlinuz.

    I do not have the strange graphics card mentioned above.

    On my bootup it also says "Loading Linux26........................................... . BIOS data check passed", then the screen goes black and the system freezes.

    Is there any step that I have missed? How exactly did you solve the issue?

    Thanks in advance for your support!

    Linuxshark

  7. #7
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    I think Paradox was talking about a line in lilo.conf, namely vga=791, which can cause trouble. Try changing this to vga=0 or vga=normal and run lilo -v.

    EDIT: btw, do you actually need to get kernel-headers or do they come with the image?
    It's not overly complicated either to compile your own kernel with make oldconfig which takes care of most configurations.

  8. #8
    Junior Member registered user
    Join Date
    May 2004
    Posts
    23
    lol, the vga command helped to make me see what happens and now I get the same error that Frost mentioned above:

    Kernel panic: VFS: Unable to mount fs on unknown-block(3,8)

    argh. Is there any way to work around this?

  9. #9
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Do you have a SATA disk?
    In the Lilo splash screen try with: vmlinuz root=/dev/sda8 (if necessary change vmlinuz to what you have).
    How did you make the initrd? mkinitrd -o /boot/initrd-2.6.6.img 2.6.6

  10. #10
    Junior Member registered user
    Join Date
    May 2004
    Posts
    23
    No SATA disk.

    Sorry I do not understand what you mean by "How did you make your initrd". I made my initrd by creating a link from initrd.img-2.6.5-1-k7 to initrd.img via the "ln -s ..." command.

    The passage in my lilo.conf is:

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

Page 1 of 3 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
  •  


HP ProLiant ML350 Gen 9 Server 64GB RAM 2.4GHz Xeon 12-Core E5-2667 v3 picture

HP ProLiant ML350 Gen 9 Server 64GB RAM 2.4GHz Xeon 12-Core E5-2667 v3

$300.00



1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE

$273.00



HP ProLiant DL380 Gen9 16SFF 2x E5-2620v4 2.1GHz =16 Cores 32GB P840 4xRJ45 picture

HP ProLiant DL380 Gen9 16SFF 2x E5-2620v4 2.1GHz =16 Cores 32GB P840 4xRJ45

$267.00



New Gigabyte 10 bay SFF Server 2x Xeon Gold 6130 Total 36 Core 64GB DDR4 3x PCIe picture

New Gigabyte 10 bay SFF Server 2x Xeon Gold 6130 Total 36 Core 64GB DDR4 3x PCIe

$699.00



Dell PowerEdge R620 Server - 256GB RAM, 2x8cCPU, 120Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R620 Server - 256GB RAM, 2x8cCPU, 120Gb SSD/3x900Gb SAS, Proxmox

$320.00



R630 DELL 8 x 2.5'' POWEREDGE 2X E5-2680V4 32GB RAM IDRAC ENT & NDC 2X 495W PSU picture

R630 DELL 8 x 2.5'' POWEREDGE 2X E5-2680V4 32GB RAM IDRAC ENT & NDC 2X 495W PSU

$172.95



Intel R1208WT2GSR Server 2 x Xeon E5-2620 2.4GHz, 32GB RAM, No HDD, 2 x PS picture

Intel R1208WT2GSR Server 2 x Xeon E5-2620 2.4GHz, 32GB RAM, No HDD, 2 x PS

$750.00



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$202.49



1U 20

1U 20" Short Depth Server Firewall PFSense X11SSH-F Xeon 3.5Ghz 32GB RAM NVME

$247.00



Supermicro 2U Server 12 Caddy Bay 3.5 LFF E ATX Storage Chassis SAS2 6GBPS Rail picture

Supermicro 2U Server 12 Caddy Bay 3.5 LFF E ATX Storage Chassis SAS2 6GBPS Rail

$199.00