compile 2.6.13 kernel SUSE 9.3 devices not recognized
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. Now I reboot. Booting starts fine: Sep 10 13:57:36 rishi kernel: Linux version 2.6.13-suspend2 (karthik@rishi) (gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)) #1 Sat Sep 10 10:58:31 CE ST 2005 Sep 10 13:57:36 rishi kernel: BIOS-provided physical RAM map: Sep 10 13:57:36 rishi kernel: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) ------------------------- until problem starts: ------------------------- 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.
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.
Don't you need to run depmod in there somewhere?
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.
Don't you need to run depmod in there somewhere?
make modules_install does a depmod for you. You need the latest udev stuff from kernel.org. Mark
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 -- pour m'écrire, aller sur: http://www.dodin.net http://valerie.dodin.net http://arvamip.free.fr
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.
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
Mark Hounschell wrote:
Darryl Gregorash wrote:
<snip> Don't you need to run depmod in there somewhere?
make modules_install does a depmod for you. You need the latest udev stuff from kernel.org. ok, thanks. I haven't compiled many kernels recently :-)
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.>
Don't you need to run depmod in there somewhere?
Thanks for the suggestion. I could not find any depmod in any distro setups. I followed the instructions from: http://wiki.suspend2.net/DistroAndHardwareSetup SUSE experts kindly requested for suggestions. All related files are available at: http://www.geocities.com/whyagaintango/linux
Lance a écrit :
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.
Now I reboot.
Booting starts fine:
Sep 10 13:57:36 rishi kernel: Linux version 2.6.13-suspend2 (karthik@rishi) (gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)) #1 Sat Sep 10 10:58:31 CE ST 2005 Sep 10 13:57:36 rishi kernel: BIOS-provided physical RAM map: Sep 10 13:57:36 rishi kernel: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) ------------------------- until problem starts: ------------------------- 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.
Hello, I reported this problem on the list and to SuSE in July. I got no solution, but I happened to get "vanilla" kernels to work by adding the missing module,s in the order where they are normally loaded, in the list : MODULES LOADED AT BOOT (with YaST) in my case, it is : uhci_hcd e100 via686a ehci_hcd ieee1394 ohci1394 ohci_hcd capability raw1394 video1394 and everything works fine. Good luck. Michel.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Saturday 2005-09-10 at 23:05 +0200, Lance wrote:
I am trying to install new kernel 2.6.13 (in an attempt to try suspend2). make bzImage, make modules, make modules_install.
Did you remember to select a diferent name for your kernel, in menuconfig? General setup ---> (-default) Local version - append to kernel release Change that "default" to something else. Also, the kernel is properly installed if you do "make install" after "modules_install.". The name change above ensures that the /lib/modules/{kernel-version}-default tree is not altered (contaminated) with your new modules. If you did not, you should first recover from the rpm, and recompile. - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD4DBQFDJB+xtTMYHG2NR9URAqnmAJ9t7AgwAlUPaEyTZ3UlVf8S6C9NKgCYsCCq tUqM1YC03+XBP2oVEPpHNQ== =l2qi -----END PGP SIGNATURE-----
1. Yes I did make oldconfig. Then make xconfig. changed the CPU type. 2. I changed the kernel name. Pl. see http://geocities.com/whyagaintango/linux/<http://www.geocities.com/whyagaintango/linux/grub_menu.txt> 3. modules_install was also done without any errors. 4. Is there any way I can get newer "udev" for SUSE. Many thanks for your suggestions... On 9/11/05, Carlos E. R. <robin1.listas@tiscali.es> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Saturday 2005-09-10 at 23:05 +0200, Lance wrote:
I am trying to install new kernel 2.6.13 (in an attempt to try suspend2). make bzImage, make modules, make modules_install.
Did you remember to select a diferent name for your kernel, in menuconfig?
General setup ---> (-default) Local version - append to kernel release
Change that "default" to something else. Also, the kernel is properly installed if you do "make install" after "modules_install.".
The name change above ensures that the /lib/modules/{kernel-version}-default tree is not altered (contaminated) with your new modules.
If you did not, you should first recover from the rpm, and recompile.
- -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76
iD4DBQFDJB+xtTMYHG2NR9URAqnmAJ9t7AgwAlUPaEyTZ3UlVf8S6C9NKgCYsCCq tUqM1YC03+XBP2oVEPpHNQ== =l2qi -----END PGP SIGNATURE-----
-- 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
participants (7)
-
Carlos E. R.
-
Catimimi
-
Darryl Gregorash
-
jdd sur free
-
Lance
-
Mark Hounschell
-
Sid Boyce