I upgraded to kernel 2.6.13-r3. genkernel-3.3.6 make.profile -> 2005.1 kernel build command: genkernel --save-config --kernel-config=/path/config --gensplash=emergence --boot-loader=grub -all Upon booting with this kernel, the boot process attempts to delete files in /sys/... and fails with rm: unable to remove 'sys/.....' : operation not permitted There are thousands of such messages, that just scroll by. However, if I build a kernel manually: make mrproper make && make modules_install cp ...bzImage.... /boot genkernel initrd and boot using the manual kernel, I do not see such messages. The config files for both kernel build ways is exactly the same. I do not see anything surprising in genkernel.log (let me know if you want the log) This does not seem to hamper any operation, the boot progresses fine after the errors. But these errors do scare the bejesus out of me :) I have other problems with the 2.6.13, so have not yet used the kernels... so can't say about effects. Would file this as low priority. Discussion thread: http://forums.gentoo.org/viewtopic.php?p=2811352 Reproducible: Always Steps to Reproduce:
I take that back: there is loss of functionality (eyecandy, actually). genkernel is so easy to use, that I have been hopelessly dependent on it, I have no clue how to get gensplash to work ;) Ajay ajaygautam@yahoo.com
Ok. This may not be a bug at all. My system in question is a dual boot laptop (XP / Gentoo). Today, I booted in XP. The time was wrong. I adjusted the time (from XP). I do not remember if I advanced the time or retarded it. I just saw it wrong and adjusted it. When I rebooted back into Gentoo (with non-genkernel kernel), I got all the "unable to delete" sys files errors again. Not sure if these errors are caused by time changes. Thanks Ajay
As an addendum, My home deskop is an exclusive Gentoo box. Compiles 2.6.13-r3 with genkernel, No problems at all. No such issues... I am adding my comments both to this discussion thread AND Bug 109819: Is this ok, Is there a guidekine I should have looked at :) Ajay
I have the same problem on one of my Gentoo boxes. I've upgraded from 2.6.12-r10 to 2.6.13-r3 and started seeing this happen. However, I've upgraded other machines from the same kernel version to the same kernel version and don't see the problem on them.
1) uname -a reports: Linux taz 2.6.13-gentoo-r3 #1 SMP Tue Oct 25 17:08:51 NDT 2005 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz GenuineIntel GNU/Linux 2) kernel built under genkernel 3) version 2005.1 An attempt is made to remove "/sys" when I leave my usbkey plugged in during boot. The key is associated to "/dev/sda1". The key is plugged into a usb hub which is, in turn, plugged into my box (I don't think this should make a difference). The attempted removal occurs just before the output "INIT: version XXX...". Without the usbkey plugged in the boot sequence is normal.
Just emerged and genkernel'd 2.6.13-r5; still get the error messages. Note that I have 5 other Gentoo boxes, 4 of which are on 2.6.13-r5 and only this one produces those error messages.
Can somebody try scroll lock or something during the boot process and capture the 'operation not permitted' messages in full? I'd imagine the error occurs only when it tries to delete a certain node.
Created attachment 72633 [details, diff] Patch for genkernel's linuxrc script This patch stops the attempted rm of /sys during booting.
I'm still having this problem with any kernel I've tried over 2.6.13-gentoo-r5. This kernel doesnt do that. I tried the patch and it didnt help me. I cannot or dont know how to log the errors.
FWIW, I've emerge updated all packages, and built 2.6.14-r2. The error messages have gone away for me.
Still having problems with it here. I just tried 2.6.14-ck5 and it still wanted to delete /sys/* Back to 2.6.13-gentoo-r5
thanks for the patch
fixed in 3.3.7