View previous topic :: View next topic |
Author |
Message |
braver n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Dec 2006 Posts: 28
|
Posted: Thu Jan 11, 2007 8:37 pm Post subject: suspend2-sources BIG FAT WARNING |
|
|
I emerged suspend2-sources and configured the kernel exactly as I have on the same box for SUSE 10.2, also with 2.6.18, also patched with suspend2. However, trying to boot Gentoo throws the suspend2's BIG FAT WARNING, that it can't find a valid id for /dev/hda5.
I've generated initramfs with genkernel for my kernel. I've built it outside the source tree with make O=build-dir, and so I gave that build-dir to genkernel:
genkernel --kerneldir=build-dir initrd
-- which seemed OK. I even tried to create another initramfs with SuSE's own mkinitrd, copying over its scripts and a few extra /sbin binaries -- but am still getting same BIG FAT WARNING.
Note that I've configured the kernel with the suspend2 device being swap in /dev/hda5. Works fine on SUSE.
Also, emerge suspend2-sources brings in 2.6.18-suspend2-r1, while I see there's a 2.6.19.1 available in portage. How do I bring that newer one in?
And -- did anyone have luck with suspend2 and beyond-sources?
Cheers,
Alexy |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
madisonicus Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_r2-d2.gif)
Joined: 20 Sep 2006 Posts: 1130
|
Posted: Thu Jan 11, 2007 11:30 pm Post subject: |
|
|
I've had the 2.6.19-r1-suspend2 sources working fine on my laptop for 6 months now, so can be done. Does it actually say "BIG FAT WARNING"? When does it throw this error? When booting? When suspending to RAM? To disk? Please post the relevant logs so we can see exactly what's going on.
WRT to the initramfs/initrd... I don't use one, so I'm not sure I can help too much, but the gentoo-wiki guide does have a specific section detailing how to get this working: here.
HTH,
m _________________ Please add [SOLVED] to your message title if you feel that your question has been answered.
------
Intel Q9300 Core2 Quad * Gigabyte GA-EP35C-DS3R
Samsung x360
AMD64 x2 4200+ * TF7050-M2 * HTPC
ZOTAC ION A-U Mini-ITX * HTPC |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
braver n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Dec 2006 Posts: 28
|
Posted: Fri Jan 12, 2007 3:40 am Post subject: |
|
|
This is the Suspend2's original BIG FAT WARNING (sas just that) upon boot. The kernel fails to boot -- gets to the point where it loads modules, then issues the warning, saying also it can't translate it to a valid device id.
When I comment out suspend2_resume, the kernel still fails to boot, now saying that /dev/hda6 is not a valid root device -- and when I fall into shell, I see that /dev has no entries for /dev/hda* at all!
So it's clearer now -- initramfs made by genkernel fails to see my hard drive. It's an embedded Compaq TC1000 hard drive, kind of suprising the genkernel doesn't include the right modules for it. Theh last messages upon boot are, activating mdev, activating root device, then it's not found.
Another interesting thing is, though we have init=/linuxrc in grub command, in the shell I see the script is actually init! This is the same as /usr/share/genkernel/generic/linuxrc.
So, what are the fixes needed to genkernel, if any?
Cheers,
Alexy |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
braver n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Dec 2006 Posts: 28
|
Posted: Fri Jan 12, 2007 4:13 am Post subject: |
|
|
I think I found the culprit -- I had IDE support configured as modules, but genkernel failed to include the ide-disk module and such into the initramfs it produced. Bad, bad genkernel 3.4.4! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|