Results 1 to 8 of 8

Thread: lilo bootloader won't take new kernel

  1. #1

    lilo bootloader won't take new kernel

    I successfully installed and am running knoppix, I set up my apt sources and downloaded the lastest debian kernel-sources-2.6.4 package off testing. I compiled the kernel without problem, and then I did a dpkg -i MyKernel2.6.4.deb. When I did this it gave me the usual prompt about running lilo and I said yes.... No errors at all, but if I look at lilo.conf there was no new entry for my new kernel image and when I reboot it just takes me to the same old 2.4 kernel. Why isn't dpkg installing my new kernel into lilo????

    -ryan

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: lilo bootloader won't take new kernel

    Quote Originally Posted by wex
    I successfully installed and am running knoppix, I set up my apt sources and downloaded the lastest debian kernel-sources-2.6.4 package off testing. I compiled the kernel without problem, and then I did a dpkg -i MyKernel2.6.4.deb. When I did this it gave me the usual prompt about running lilo and I said yes.... No errors at all, but if I look at lilo.conf there was no new entry for my new kernel image and when I reboot it just takes me to the same old 2.4 kernel. Why isn't dpkg installing my new kernel into lilo????

    -ryan
    There would be no new entry created the symbolic links just get updated so it looks like the links may be messed up what does this command look like on your system.
    Code:
    >$ ll /vmlinuz*
    lrwxrwxrwx    1 root     root           22 2004-03-31 01:54 /vmlinuz -> boot/vmlinuz-2.6.4-ck2
    lrwxrwxrwx    1 root     root           35 2004-03-30 22:49 /vmlinuz.failsafe -> /boot/vmlinuz-2.4.20-bf2.4-failsafe
    lrwxrwxrwx    1 root     root           18 2004-03-30 22:49 /vmlinuz.old -> boot/vmlinuz-2.6.4
    The sections as they should appear in your lilo.conf.

    Code:
    # Boot up Linux by default.
    #
    default=Linux
    
    image=/vmlinuz
            label=Linux
            read-only
    #       restricted
    #       alias=1
    
    image=/vmlinuz.old
            label=LinuxOLD
            read-only
            optional
    #       restricted
    #       alias=2
    
    image=/vmlinuz.failsafe
            label=LinuxFailsafe
            read-only
            optional
    You will not have the failsafe entry I created that to keep my install kernel for a backup but you should have the other two the vmlinuz should point to the new 2.6.4 kernel's vmlinuz in /boot and the vmlinuz.old should be the old knoppix one. If they are wrong then simply remove them and then recreate for example if I wanted a new link for the 2.6.4-ck2 kernel I am running I would as root ln -s /boot/vmlinuz-2.6.4-ck2 /vmlinuz this after having first rm vmlinuz. You should re-run lilo after changing the link(s) to write the new configuration to the MBR or wherever it is being installed.

  3. #3
    thanks a bunch funny my lilo.conf was different it had entries fo initird.gz and specific vmlinuz rather than the symbolic links.
    Now my 2.6 kernel boots although I have no mouse, no sound and who know what else.

    The wierdest thing is when it boots the screen goes completely blank like the laptop got shut off and then all of the sudden x pops up. None of terminal load messages are there. Any insight there would be great, i would say it is a video problem except that x seems happy enough when it loads. In fact I can't do a console login the screen just goes blank. Why would X be working but not the console screen???????

  4. #4
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by wex
    thanks a bunch funny my lilo.conf was different it had entries fo initird.gz and specific vmlinuz rather than the symbolic links.
    Now my 2.6 kernel boots although I have no mouse, no sound and who know what else.
    That would be leftover from knoppix. For the mouse if you have a ps/2 you would need it selected in this section.

    Code:
    #
    # Input device support
    #
    CONFIG_INPUT=y
    
    #
    # Userland interfaces
    #
    CONFIG_INPUT_MOUSEDEV=y
    CONFIG_INPUT_MOUSEDEV_PSAUX=y
    CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
    CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
    CONFIG_INPUT_JOYDEV=m
    # CONFIG_INPUT_TSDEV is not set
    CONFIG_INPUT_EVDEV=m
    # CONFIG_INPUT_EVBUG is not set
    
    [snip ...]
    
    # CONFIG_INPUT_TOUCHSCREEN is not set
    CONFIG_INPUT_MISC=y
    CONFIG_INPUT_PCSPKR=y            <--    If you want the PC speaker to have sound.
    For your sound you should check which modules you have configured in the either the OSS or ALSA sections depending on which one of them you want to use.

    The wierdest thing is when it boots the screen goes completely blank like the laptop got shut off and then all of the sudden x pops up. None of terminal load messages are there. Any insight there would be great, i would say it is a video problem except that x seems happy enough when it loads. In fact I can't do a console login the screen just goes blank. Why would X be working but not the console screen???????
    You left out support for the famebuffer you can either edit lilo again and change the vga=791 to the vga=normal then run lilo again to write the changes then you should get the messages when you boot or if you need to compile the kernel again then in these sections.
    Code:
    # Graphics support
    #
    CONFIG_FB=y
    # CONFIG_FB_PM2 is not set
    # CONFIG_FB_CYBER2000 is not set
    # CONFIG_FB_IMSTT is not set
    # CONFIG_FB_VGA16 is not set
    CONFIG_FB_VESA=y
    CONFIG_VIDEO_SELECT=y
    
    
    #
    # Console display driver support
    #
    CONFIG_VGA_CONSOLE=y
    # CONFIG_MDA_CONSOLE is not set
    CONFIG_DUMMY_CONSOLE=y
    CONFIG_FRAMEBUFFER_CONSOLE=y
    CONFIG_PCI_CONSOLE=y
    CONFIG_FONTS=y
    CONFIG_FONT_8x8=y
    CONFIG_FONT_8x16=y
    And if you want the Tux logo in the upper left of the screen when using the framebuffer during boot.

    Code:
    #
    # Logo configuration
    #
    CONFIG_LOGO=y
    # CONFIG_LOGO_LINUX_MONO is not set
    # CONFIG_LOGO_LINUX_VGA16 is not set
    CONFIG_LOGO_LINUX_CLUT224=y

  5. #5
    Stephen thanks again. I now have console which helps, but still no mouse.

    I recompiled the kernel with all the mouse config options you suggested with no luck. The system I have this installed on is a dell 8600 laptop. The mice that I have are the built in touchpad and the kensington usb wireless pocket mouse. Both of these worked fine with the orginal knoppix install. I looked at the old config file but it seems to be quite a bit different that the 2.6 one so I don't think those mouse settings will cary over.

  6. #6
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by wex
    Stephen thanks again. I now have console which helps, but still no mouse.

    I recompiled the kernel with all the mouse config options you suggested with no luck. The system I have this installed on is a dell 8600 laptop. The mice that I have are the built in touchpad and the kensington usb wireless pocket mouse. Both of these worked fine with the orginal knoppix install. I looked at the old config file but it seems to be quite a bit different that the 2.6 one so I don't think those mouse settings will cary over.
    Well the module names may have changed a bit but you should still be able to find the new option names. For the usb the module names have changed you should now be looking for the uchi-hcd, ohci-hcd and ehci-hcd plus whatever extra support you need for the mouse itself (hid and hiddev maybe) and I think you want the synaptics driver option for the touchpad. And you have mkdir /sys as root and then put this in your /etc/fstab?
    Code:
    ## Needed for kernel 2.6
    none            /sys            sysfs   defaults                0       0
    To mount the sysfs that is needed for 2.6 kernels.

  7. #7
    No luck, i am currently considering driving my truck over this laptop.
    I added the /sys requirement but that didn't seem to improve anything. My usb seems to be configured correctly.
    Here is a copy of the output of an lspci command
    root@cornice:/usr/src/linux# lspci
    pcilib: Cannot open /sys/bus/pci/devices
    0000:00:00.0 Host bridge: Intel Corp. 82855PM Processor to I/O Controller (rev 03)
    0000:00:01.0 PCI bridge: Intel Corp. 82855PM Processor to AGP Controller (rev 03)
    0000:00:1d.0 USB Controller: Intel Corp. 82801DB (ICH4) USB UHCI #1 (rev 01)
    0000:00:1d.1 USB Controller: Intel Corp. 82801DB (ICH4) USB UHCI #2 (rev 01)
    0000:00:1d.2 USB Controller: Intel Corp. 82801DB (ICH4) USB UHCI #3 (rev 01)
    0000:00:1d.7 USB Controller: Intel Corp. 82801DB (ICH4) USB2 EHCI Controller (rev 01)
    0000:00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev 81)
    0000:00:1f.0 ISA bridge: Intel Corp. 82801DBM LPC Interface Controller (rev 01)
    0000:00:1f.1 IDE interface: Intel Corp. 82801DBM (ICH4) Ultra ATA Storage Controller (rev 01)
    0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801DB (ICH4) AC'97 Audio Controller (rev 01)
    0000:00:1f.6 Modem: Intel Corp. 82801DB (ICH4) AC'97 Modem Controller (rev 01)
    0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]
    0000:02:00.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
    0000:02:01.0 CardBus bridge: Texas Instruments PCI4510 PC card Cardbus Controller (rev 02)
    0000:02:01.1 FireWire (IEEE 1394): Texas Instruments PCI4510 IEEE-1394 Controller
    0000:02:03.0 Network controller: Broadcom Corporation BCM94306 802.11g (rev 02)
    root@cornice:/usr/src/linux#

    ************************************************** ***********************************************

    ahh i tried to fit my other config in here but it didn't fit i will post a second response

  8. #8
    Alright one step in the right direction now my touch pad works, but the usb mouse gives me nothing ahhhhhhh. I did get acpi to work somewhat too. Also I can't seem to get it to like my ati 9600 128 meg card i have to use the generic. Here is my x86 config file:


    Section "ServerFlags"
    Option "AllowMouseOpenFail" "true"

    EndSection

    Section "Files"
    RgbPath "/usr/X11R6/lib/X11/rgb"
    ModulePath "/usr/X11R6/lib/modules"
    FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
    FontPath "/usr/X11R6/lib/X11/fonts/misc"
    FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
    FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
    FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
    FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
    FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
    FontPath "/usr/X11R6/lib/X11/fonts/PEX"
    # Additional fonts: Locale, Gimp, TTF...
    FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
    # FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi"
    # FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi"
    # True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    FontPath "/usr/X11R6/lib/X11/fonts/Type1"
    FontPath "/usr/share/fonts/ttf/western"
    FontPath "/usr/share/fonts/ttf/decoratives"
    FontPath "/usr/share/fonts/truetype"
    FontPath "/usr/share/fonts/truetype/openoffice"
    FontPath "/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath "/usr/share/fonts/latex-ttf-fonts"
    FontPath "/usr/X11R6/lib/X11/fonts/defoma/CID"
    FontPath "/usr/X11R6/lib/X11/fonts/defoma/TrueType"
    EndSection

    Section "Module"
    Load "ddc" # ddc probing of monitor
    Load "GLcore"
    Load "dbe"
    Load "dri"
    Load "extmod"
    Load "glx"
    Load "bitmap" # bitmap-fonts
    Load "speedo"
    Load "type1"
    Load "freetype"
    Load "record"
    EndSection

    Section "InputDevice"
    Identifier "Keyboard1"
    Driver "keyboard"
    Option "CoreKeyboard"
    Option "XkbRules" "xfree86"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "no"

    EndSection


    Section "InputDevice"
    Identifier "Serial Mouse"
    Driver "mouse"
    Option "Protocol" "Microsoft"
    Option "Device" "/dev/ttyS0"
    Option "Emulate3Buttons" "true"
    Option "Emulate3Timeout" "70"
    Option "SendCoreEvents" "true"
    EndSection

    Section "InputDevice"
    Driver "mouse"
    Identifier "Mouse"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "yes"
    Option "Name" "Autodetection"
    Option "SendCoreEvents" "true"
    Option "Protocol" "ps/2"
    Option "Vendor" "Sysp"
    EndSection

    Section "InputDevice"
    Driver "mouse"
    Identifier "UsbMouse"
    Option "Protocol" "IMPS/2"
    Option "Device" "/dev/input/mice"
    Option "Buttons" "3"
    Option "ZAxisMapping" "4 5"
    Option "Emulate3Buttons" "no"
    Option "SendCoreEvents" "true"
    EndSection





    # Auto-generated by KNOPPIX mkxf86config

    Section "Modes"
    Identifier "16:10"
    Modeline "1280x800" 107.21 1280 1360 1496 1712 800 801 804 835
    Modeline "1280x800" 123.38 1280 1368 1504 1728 800 801 804 840
    Modeline "1280x800" 147.89 1280 1376 1512 1744 800 801 804 848
    Modeline "1680x1050" 147.14 1680 1784 1968 2256 1050 1051 1054 1087
    Modeline "1680x1050" 188.07 1680 1800 1984 2288 1050 1051 1054 1096
    Modeline "1680x1050" 214.51 1680 1800 1984 2288 1050 1051 1054 1103
    Modeline "1680x1050" 256.20 1680 1808 1992 2304 1050 1051 1054 1112
    EndSection

    Section "Device"
    Identifier "ati9600"
    Driver "ati"
    VideoRam 131072
    EndSection

    Section "Device"
    ### Available Driver options are:-
    # sw_cursor is needed for some ati and radeon cards
    #Option "sw_cursor"
    #Option "hw_cursor"
    #Option "NoAccel"
    #Option "ShowCache"
    #Option "ShadowFB"
    #Option "UseFBDev"
    #Option "Rotate"
    Identifier "Card0"
    # The following line is auto-generated by KNOPPIX mkxf86config
    Driver "vesa"
    VendorName "All"
    BoardName "All"
    # BusID "PCI:1:0:0"
    EndSection



    Section "Screen"
    Identifier "Screen1"
    # Device "ati9600"
    Device "Card0"
    Monitor "Monitor0"
    DefaultDepth 24

    Subsection "Display"
    Depth 8
    Modes "1680x1050" "1024x768" "800x600" "640x480"
    #Modes "1920x1200" "1024x768" "800x600" "640x480"
    ViewPort 0 0
    EndSubsection

    Subsection "Display"
    Depth 16
    Modes "1680x1050" "1024x768" "800x600" "640x480"
    #Modes "1920x1200" "1024x768" "800x600" "640x480"
    ViewPort 0 0
    EndSubsection

    Subsection "Display"

    Depth 24
    Modes "1680x1050" "1024x768" "800x600" "640x480"
    #Modes "1920x1200" "1024x768" "800x600"
    ViewPort 0 0
    EndSubsection

    EndSection


    # ServerLayout sections.

    Section "ServerLayout"
    Identifier "Simple Layout"
    Screen "Screen1"
    #InputDevice "Mouse1" "CorePointer"
    InputDevice "USB Mouse" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
    #Option "BlankTime" "10" # Blank the screen in 10 min (fake)
    #Option "StandByTime" "20" # Turn off screen in 20 min (DPMS)
    #Option "SuspendTime" "30" # Full hibernation in 30 min (DPMS)
    #Option "OffTime" "40" # Turn off DPMS monitor (DPMS)
    EndSection


    Section "Monitor"
    Identifier "Monitor0"
    HorizSync 31.5 - 100
    VertRefresh 30-90
    UseModes "16:10"
    Option "DPMS"
    EndSection


    Section "DRI"
    Mode 0666
    EndSection

Similar Threads

  1. Replies: 0
    Last Post: 04-11-2004, 12:39 AM
  2. Windows installation killed Lilo BootLoader
    By tweety77 in forum General Support
    Replies: 3
    Last Post: 02-04-2004, 09:43 PM
  3. kernel upgrade lilo problem
    By rusty in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 02-02-2004, 05:41 AM
  4. Modifying /etc/lilo.conf for kernel upgrade
    By sobriquet in forum General Support
    Replies: 2
    Last Post: 01-29-2004, 11:24 PM
  5. Reinstalling lilo bootloader
    By sstrange in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 10-15-2003, 09:30 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
  •  


Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox

$340.00



DELL PowerEdge R730XD 24x 2.5

DELL PowerEdge R730XD 24x 2.5" Server Dual 750W Dual Heatsink - BareBones TESTED

$299.99



CSE-118 Supermicro 1U 3x GPU Server  2.6Ghz 20-C 128GB CX353A 2x1600W PSU Rails picture

CSE-118 Supermicro 1U 3x GPU Server 2.6Ghz 20-C 128GB CX353A 2x1600W PSU Rails

$454.03



Dell Poweredge R640 Server | 2x Xeon Gold 6132 | 128GB | H730P | 8x HDD Trays picture

Dell Poweredge R640 Server | 2x Xeon Gold 6132 | 128GB | H730P | 8x HDD Trays

$1849.00



INTEL Xeon E5-2697 V4 SR2JV 2.30GHZ 18-Core CPU 2697v4  GRADE A CONDITION    @24 picture

INTEL Xeon E5-2697 V4 SR2JV 2.30GHZ 18-Core CPU 2697v4 GRADE A CONDITION @24

$49.99



Intel Xeon E5-2697A v4 2.6GHz 40MB 16-Core 145W LGA2011-3 SR2K1 picture

Intel Xeon E5-2697A v4 2.6GHz 40MB 16-Core 145W LGA2011-3 SR2K1

$37.00



Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU picture

Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU

$39.99



SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 A Grade Processor picture

SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 A Grade Processor

$4.79



HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA picture

HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA

$234.98



HP Z440 WORKSTATION XEON E5-1603V3 @ 2.80GHz, 16GB RAM 250 GB SSD Win 11 picture

HP Z440 WORKSTATION XEON E5-1603V3 @ 2.80GHz, 16GB RAM 250 GB SSD Win 11

$119.99