I noticed a strange message after the modules in the initrd load, a message like "ls: command not found" or something like that. Reproducible: Always
What kernel commandline are you using?
Also, does it actually hurt anything, or is it just cosmetic?
The system seems to work well, it boots correctly and I'm using it since about 6 hours without any problems (but I thing the problem should eventually affects the boot process only, doesn't it?). This is my cmdline: dolvm processor.max_cstate=2 libata.atapi_enabled=1 root=/dev/ram0 init=/linuxrc real_root=/dev/vg/root CONSOLE=/dev/tty1 quiet resume=file:/dev/dm-0:0x44ed0
*** Bug 207157 has been marked as a duplicate of this bug. ***
I've got to test, but I think this "ls" error could be coming from this line in initrd.scripts that comes with genkernel local device=$(ls -l "${REAL_RESUME}" | sed 's/\ */ /g' | cut -d \ -f 6-7 | sed 's/,\ */:/') I've found that REAL_RESUME is set as follows: REAL_RESUME="/dev/mapper/swap" What happens if that /dev/mapper/swap there? Surely the ls will output an error as it does when you try at the command line: rjs generic # REAL_RESUME="/dev/mapper/swap" rjs generic # ls -l "${REAL_RESUME}" | sed 's/\ */ /g' | cut -d \ -f 6-7 | sed 's/,\ */:/' ls: cannot access /dev/mapper/swap: No such file or directory rjs # I'll see if I can test with my next livecd build.
Sorry, that should have been: What happens if that /dev/mapper/swap device is not there? oops ;-)
(In reply to comment #6) > What happens if that /dev/mapper/swap device is not there? Not using anything like that; same message.
This has been fixed in SVN. Thanks.
*** Bug 208950 has been marked as a duplicate of this bug. ***
To fix until next release of genkernel open terminal and do svn co svn://anonsvn.gentoo.org/genkernel/trunk this will give you svn version in your home folder. Open file manager and go to /usr/share/genkernel and delete generic folder and replace with generic folder from svn version. Don't forget to delete .svn folder inside generic folder from svn. Redo your kernel with your now updated genkernel and error message gone.
I just released genkernel 3.4.10_pre1, which has this fix included. Feel free to REOPEN this bug or make a comment if it is not resolved.
(In reply to comment #11) > I just released genkernel 3.4.10_pre1, which has this fix included. Feel free > to REOPEN this bug or make a comment if it is not resolved. > Method swsusp_resume() in /usr/share/genkernel/generic/initrd.scripts still uses unchecked variable $REAL_RESUME. I suggest to add a check to the method. Maybe by doing the following: swsusp_resume() { # determine swap resume partition if [ -z "$REAL_RESUME" ] then bad_msg "Device to resume from is not set!" return 1 fi local device=$(ls -l "${REAL_RESUME}" | sed 's/\ */ /g' | cut -d \ -f 6-7 | sed 's/,\ */:/') [ -f /sys/power/resume ] && echo "${device}" > /sys/power/resume return 0 }