Lance wrote:
On 9/11/05, jdd sur free
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