Re: [SLE] compile 2.6.13 kernel SUSE 9.3 devices not recognized

From: Sid Boyce (sboyce_at_blueyonder.co.uk)
Date: 09/11/05

  • Next message: Carlos E. R.: "Re: [SLE] friendly English lesson"
    Date: Sun, 11 Sep 2005 13:27:45 +0100
    To: suse-linux-e@suse.com
    
    

    Lance wrote:
    > On 9/11/05, jdd sur free <jdanield@free.fr> wrote:
    >
    >>Mark Hounschell wrote:
    >>
    >>>Darryl Gregorash wrote:
    >>>
    >>>>Lance wrote:
    >>>>
    >>>>
    >>>>>Hi Gurus,
    >>>>>
    >>>>>I am trying to install new kernel 2.6.13 (in an attempt to try
    >>>>>suspend2). make bzImage, make modules, make modules_install. After
    >>>>>that I edit the init (mkinitrd) to include the line "echo >
    >>>>>/proc/software_suspend/do_resume" (exactly before the line
    >>>>>"udev_discover_resume"). Then, I change the grub menu.
    >>
    >>I may come late, but I don't see here where you install the
    >>new kernel? usually you have to copy vmlinuz to /boot
    >>(better copy to vmlinuz.<kernel version> and make a symlink)
    >>
    >>I use to copy the previous entry in menu.lst to a new one to
    >>have a boot option
    >>
    >>jdd
    >
    >
    >
    > yes, I have copied the bzImage to /boot/vmlinuz-2.6.13-suspend2 and grub
    > menu.lst points to the kernel correctly. see
    > http://www.geocities.com/whyagaintango/linux/grub_menu.txt
    >
    > $> cd /boot
    > $> ls
    > config-2.6.13-suspend2 initrd-2.6.13-suspend2 System.map-2.6.13-suspend2
    > vmlinuz-2.6.13-suspend2
    >
    > My question:
    > ------------------
    > Loading kernelfs/reiserfs/reiserfs.ko
    > Waiting for device /dev/hda6 to appear: .... not found --exiting to /bin/sh
    > sh: can't access tty:job control turned off
    >
    If /dev/hda6 is the swap partition, I've seen the same or similar
    message when resume is looking for the suspended stuff on the swap
    partition, but not the exit. It seems it's changed in 2.6.13-git10.
    dmesg says (reboot with no suspend data in swap) ---
    Kernel command line: root=/dev/hda1 vga=0x317 selinux=1 splash=silent
    resume=/dev/hda2 3
    swsusp: Error -22 check for resume file
    Attempting manual resume
    swsusp: Error -22 check for resume file

    > ..... Here it stops with a prompt. When I make a Ctrl-D booting continues
    > **except** that many **modules** are not loaded -- for network card,
    > uhci_hcd, ehci_hcd(usb) agpgart...
    >
    Other kernels I assume boot without problems.

    > I have to login as root and load modules for network card, USB mouse by hand
    > (modprobe 8139cp...). After that everything works fine.
    >
    > I **did not** change anything (except CPU type to Pentium-M) in the old
    > ".config" file from kernel 2.6.11.4-21.9. I also did not change anything in
    > /etc/sysconfig... I just patched the new kernel with suspend2 and copied the
    > old config file and compiled the kernel.
    >
    > Why are any of the device modules like network , mouse .... not
    > automatically loaded?
    >
    The error occurring with /dev/hda6?
    > Any help greatly appreciated.
    >

    "make oldconfig" or make config/menuconfig/xconfig was done? I normally
    do "make oldconfig" so it picks up the old stuff and prompts for
    anything new that may be needed - happens, then "make && make
    modules_install", "make" builds both bzImage and the modules. The SuSE
    udev is not the latest and some modules will don't get loaded as
    expected, but these can either be built-in or put in
    /etc/sysconfig/kernel to be loaded at boot. I build in most of the
    hardware that's a must, network, mouse, etc., SuSE has to cater for all
    types of hardware, so I prune my config to suit the hardware I have.
    INITRD_MODULES=""
    MODULES_LOADED_ON_BOOT="capability raw1394 video1394"

    Regards
    Sid.

    -- 
    Sid Boyce ... Hamradio License G3VBV, licensed Private Pilot
    Retired IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support 
    Specialist
    Microsoft Windows Free Zone - Linux used for all Computing Tasks
    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Carlos E. R.: "Re: [SLE] friendly English lesson"

    Relevant Pages

    • Re: Hardware problem
      ... The Hardware components may need to be reconfigured. ... I've installed FC5 onto it and all went well (okay, ... and before the kernel boots, the keyboard is fine (I can edit the grub ... Once it's gone through it's boot up (fire up the kernel, ...
      (uk.comp.os.linux)
    • Re: How to reassign "hibernate/restore/resume" partition on F9?
      ... Recently I upgraded the boot hard drive on this F9 box from 20GB to ... reversed the swap and root partition numbers. ... kernel parameter is not needed ordinarily. ...
      (Fedora)
    • Re: 1-second kernel
      ... For a system to boot all hardware has to be known in advance. ... To that end building a kernel with "your" devices built in it ... GDM does. ...
      (Fedora)
    • Re: Disaster recovery planning
      ... change fstab and various configs to work with new hardware ... boot in single user mode, fix fstab and devices, restore other filesystems ... boot up with a 4.5 Generic kernel; the 4.8 SMP kernel freezes and I do not ... have a 4.8 generic kernel on the machine (I don't know why, ...
      (freebsd-questions)
    • Re: 1-second kernel
      ... For a system to boot all hardware has to be known in advance. ... To that end building a kernel with "your" devices built in it ... GDM does. ...
      (Fedora)