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 ..... 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... 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? Any help greatly appreciated.