Results 1 to 7 of 7

Thread: KErnel Upgrade = missing devices?

Hybrid View

  1. #1
    Junior Member
    Join Date
    Nov 2003
    Posts
    9

    KErnel Upgrade = missing devices?

    Hey all.. spent most of the weekend trying to upgrade my 2.4.22-xfs kernel from a Knoppix 3.3 HD install to the latest and greatest 2.6.0-test9, just to test it out. It took some doing, lookign through the forums for ideas, but I finally did it. However, when booting with the new 2.6 kernel, i lose all my devices. No sound card, no video card, and no network card. Here's what I did, did I miss something?

    Code:
    1. d/l the kernel source (linux-2.6.0-test9.tar.gz)
    2. Extracted it into my home dir.
    3. Logged out and then logged in as root.
    4. Copied src tree to /usr/src, i.e. (/usr/src/linux-2.6.0-test9)
    5. Deleted old symlink to /usr/src/linux
    6. Made new one ln -s /usr/src/linux-2.6.0-test9 /usr/src/linux
    7. cd /usr/src/linux; cp ../linux-2.4.22-xfs/.config .config
    8. make xconfig - I enabled kernel preemption, ALSA, a couple of other things that looked interesting,and pointed it to my specific CPU (An Athlon XP)
    9. make dep (told me this step wasn't neccesry); make clean
    10. make bzImage
    11. make modules
    12. make modules_install
    13. mv /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage-2.6.0-test9
    14. mv /usr/src/linux/System.map /boot/System.map-2.6.0-test9
    15. ln -sf /boot/System.map-2.6.0-test9 /boot/System.map
    16. add image to lilo.conf
    19. Reboot
    There were a couple of hitches. I had to comment out the 'initrd=' line in my lilo.conf for the 2.6.0 kernel, otherwise it would give me a kernel panic and stop booting, saying something about being unable to mount the files system on hda1. I also had to move the 'vga=' line to within the menu choice for the old 2.4.22-xfs kernel, so I could see the messages that 2.6.0 posted up when booting, and had to uncomment the 'prompt' line so I would get a chance to switch between them if somehting went wrong.

    So anyway, allt hat is done and when I choose the 2.6.0 kernel, it boots up the system (without the initrd.gz), but then I can't use my USB mouse, no sound card, and no network. This, of course, isn't good. I tried going into /usr/src/linux and typing 'mkinitrd -o initrd2.6.gz', and it created a file which I then moved to /boot/ and pointed my lilo.conf to it, but I get the same kernel panic again when I try to boot up using it.

    So, anyone got any ideas? Those of you who have succesfully upgraded to 2.6.0-test9, what am I missing or doing wrong? Did you have these problems when you upgraded too?

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    You could try starting with my working config which you can get here copying the old .config from 2.4.22 is a nightmare as you have found out. It is set up for an athlon the sound is set for both alsa and oss you will be able to get a framebuffer so you can us the vga= line in the lilo.conf you should take a look around and use your setup for your system you do not say what kind or hardware you have so I can't advise further on that. Also the kernel config has support for the ext2,ext3,and reiserfs built in there is no need for an initrd and the important option to get the framebuffer is the CONFIG_FB_VGA16=y not being set it screws up the framebuffer just use the VESA option that is already set. For USB you may want to trun off the verbose debuging I have turned on in a failed effort to try to get it to show my USB UPS cable connection in the usbview in the Infocenter in KDE it gets detected at boot but will not show up.

    You should install the kernel-package and fakeroot packages and compile the kernel the Debian way and save yourself the extra steps you are doing with this you would to compile:
    Code:
    cd /usr/src/linux
    make [menuconfig,xconfig,config]
    fakeroot make-kpkg clean
    fakeroot make-kpkg --append-to-version=date_of_compile kernel_image modules_image kernel_headers
    cd /usr/src
    dpkg -i kernel-image-2.6.0-test9.date_of_compile_10.00.Custom_i386.deb kernel-headers-2.6.0-test9.date_of_compile_10.00.Custom_i386.deb
    As you can see this method gives you Debian packages that you can (un)install with dpkg it makes it easier manage the new kernels. A guide to creating custom kernel packages with the Debian tools.

  3. #3
    Junior Member
    Join Date
    Nov 2003
    Posts
    9
    Thanks a lot for the quick response.. I'll try that config and the suggestions you gave, and I'll let you know how it works out. The hardware is a SB Live! sound card, a sort of BrandX 10/100 network card (had it laying around work so I snagged it), and an equally BrandX USB mouse that's always worked for me before, but Linux and Windows seem pretty good about recognizing and using it without the need for additional drivers.

    Anyway, once I've done what you suggestted I'll pop on here and let you know how it went.. thanks again!

  4. #4
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by katsushiro
    Thanks a lot for the quick response.. I'll try that config and the suggestions you gave, and I'll let you know how it works out. The hardware is a SB Live! sound card, a sort of BrandX 10/100 network card (had it laying around work so I snagged it), and an equally BrandX USB mouse that's always worked for me before, but Linux and Windows seem pretty good about recognizing and using it without the need for additional drivers.

    Anyway, once I've done what you suggestted I'll pop on here and let you know how it went.. thanks again!
    You should have no problems with the sound then that's the card I have for the network card just go into the 10/100 netcard section and compile all the options as modules it is only setup for a tulip module not sure about the usb the UPS is the only device I have.

  5. #5
    Junior Member
    Join Date
    Nov 2003
    Posts
    9
    Well, it worked, almost perfectly.. I still haven't been able to get my USB mouse to work, but I've futzed it for the moment with a USB-to-PS2 adapter and it's working fne that way.. I'll figure out what exactly I need to enable or disable for it later.. but the sound is up and working once more, and as witnessed by this post, my network card's working again.. turns out it was a Realtek card.. and now that I have Net access again under the new kernel, I can actualy keep hunting for reason why the mouse seems to be dead on USB mode. Many thanks for the .config, that seems to have helped immensely. Now I gotta try out all the other stuff (my usual applications, the CD-RW, a couple games..) to make sure everything is working fine with the new kernel.. and maybe it's my imagination, but the dekstop seems a tad more responsive with 2.6.0-test9.. maybe it's that 'preemptible kernel' stuff. Thanks again!

  6. #6
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by katsushiro
    Well, it worked, almost perfectly.. I still haven't been able to get my USB mouse to work, but I've futzed it for the moment with a USB-to-PS2 adapter and it's working fne that way.. I'll figure out what exactly I need to enable or disable for it later.. but the sound is up and working once more, and as witnessed by this post, my network card's working again.. turns out it was a Realtek card.. and now that I have Net access again under the new kernel, I can actualy keep hunting for reason why the mouse seems to be dead on USB mode. Many thanks for the .config, that seems to have helped immensely. Now I gotta try out all the other stuff (my usual applications, the CD-RW, a couple games..) to make sure everything is working fine with the new kernel.. and maybe it's my imagination, but the dekstop seems a tad more responsive with 2.6.0-test9.. maybe it's that 'preemptible kernel' stuff. Thanks again!
    The cdrw should work as well I have it setup for that and it works for mine you just need the normal hd?=ide-scsi in the append line in the lilo.conf replace the ? with the drive letter for it. Good luck on the usb I've recompiled so many times trying to get my UPS to show up it's not funny if you get it figured out let me know how you did it, I think it has something to do with how the devices are detected with the new modules-init setup and yes the desktop really is really snappy with the 2.6 kernel.

    [edit]
    Almost forgot in the config it is setup as a module for the udf packet writing for burners I have not tried to get it going yet but you might want to check into it.
    [/edit]

  7. #7
    Junior Member
    Join Date
    Nov 2003
    Posts
    9
    OK, just a quick note, I got the USB mouse to work.. I just had to do a
    Code:
    sudo modprobe uhci_hcd
    And it started working again.

    I've read on a couple of discussions that it may be related to some bug in the ACPI modules, and that for some people, the mouse will stop working every now and then for no apparent reason and won't start again until they modprobe it to life once more. These discussions were talking about pre-test9 kernels, so that may have been fixed.. I'll let you know if it happens to me.

    Have you tried modprobing around your usb devices to see if maybe that perks your UPS thing to life/ Worked for me with the mouse, at least, no need for additional recompiles, even.

    Now that I've gotten the mouse working once more, everything else seems to be going pretty smoothly with 2.6.0-test9. I've run into a few bugs bringing up some windows programs under WINE that seemed to run pretty flawlessly before, but those are minor concerns, none of my WINE programs are critical. Haven't tried out the CD burner yet, I'm downloading the latest Knoppix ISO and will burn it once it finishes, I figure burning a bootable image is a fair test of wether the burner works fine with the new kernel.

Similar Threads

  1. Kernel missing from HD install?
    By riscbroker in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 06-25-2005, 08:49 PM
  2. Nvidia card - Missing Kernel Interface
    By Kowood in forum Hardware & Booting
    Replies: 3
    Last Post: 05-07-2005, 08:15 PM
  3. 3.7 2.4.27 kernel regeneration fails -- what am I missing
    By BillS in forum Customising & Remastering
    Replies: 0
    Last Post: 12-20-2004, 05:04 PM
  4. Customising the kernel - who has the missing link
    By toltech in forum Customising & Remastering
    Replies: 0
    Last Post: 03-16-2004, 09:43 AM
  5. kernel updating, is there something I'm missing?
    By Hayabusa in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 11-19-2003, 11:10 PM

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 Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS

$179.98



Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS picture

Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS

$239.99



Dell Precision T7820 2x Xeon Silver 4114 2.20GHz 950W No RAM GPU HDD 4x SATA picture

Dell Precision T7820 2x Xeon Silver 4114 2.20GHz 950W No RAM GPU HDD 4x SATA

$350.48



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



INTEL XEON E5-2680V4 SR2N7 2.40GHZ CPU picture

INTEL XEON E5-2680V4 SR2N7 2.40GHZ CPU

$11.00



Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS picture

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS

$84.49



DELL Precision 5820 Workstation Xeon W-2123 3.6ghz/NO RAM/NO SSD/P400 Vid picture

DELL Precision 5820 Workstation Xeon W-2123 3.6ghz/NO RAM/NO SSD/P400 Vid

$139.99



Dell Precision T7820 2x Xeon Gold 6130 2.10GHz 950W No RAM GPU HDD 4x SATA picture

Dell Precision T7820 2x Xeon Gold 6130 2.10GHz 950W No RAM GPU HDD 4x SATA

$374.48



Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM picture

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM

$699.00



Lenovo ThinkServer TS460 Part Number: 70TS-S01U00 picture

Lenovo ThinkServer TS460 Part Number: 70TS-S01U00

$279.00