>>>>> "guillaume" == Guillaume Cottenceau <[EMAIL PROTECTED]> writes:
guillaume> Reinhard Katzmann <[EMAIL PROTECTED]> writes: >> Hi! >> >> I'm unable to boot my self-made 2.4.17 kernel. When I try it >> I get the following messages: >> >> VFS: Mounted root (ext2 filesystem). >> Mounted devfs on /dev. >> Red Hat nash version 3.1.6-mdk starting. >> Mounting /proc filesystem. >> Creating root device. >> Mounting root filesystem with flags noatime >> kjournald starting. Commit interval 5 seconds >> EXT3-fs: mounted filesystem with ordered data mode. >> pivotroot:pivot_root(/sysroot,/sysroot/initrd) failed:22 >> Freeing unused kernel memory:708k freed. >> Kernel panic: No init found. Try passing init= option to kernel. guillaume> Booh :-(. No idea what is happening here, It take a lot of time to get 2.4.17 out due to the bug that it didn't boot :( Could you told us what is your hardware? >> I also tested without initrd image. This fails as well: >> >> VFS: Mounted root (ext2 filesystem). >> Mounted devfs on /dev. >> Freeing unused kernel memory:708k freed. >> Kernel panic: Attempted to kill init! guillaume> Ooh this is also strange but looks like a kernel problem? Or does guillaume> boot without pivot_rooting no more supported, dear kernel team? I think it is not supported anymore, but for the mkinitrd :( >> Any other dependencies which needs to be updated for mkinitrd ? I >> only checked "rpm -q --requires mkinitrd" and except the mentioned >> packages all the other are from original Mandrake 8.1. I did not >> make changes to my original Mandrake 8.1 except the mentioned kernel >> packages and initscripts (I'm mainly interested in kernel/driver >> development USB/IEEE1394 and DVB/DVD). >> >> Also I checked the initrd image and found two strange things: >> - /sbin is created with mkdir and there a link from bin to sbin >> is created. (Same with the old version). I commented the mkdir >> command for testing. guillaume> This should be correct though. >> - mkinitrd does not check the the kernel config (/boot/config-2.4.17-xyz) >> correctly, modules are added from the kernel source tree (!) >> which are inside the kernel (for me this was ext3, ide-mod, ide-probe-mod, >> ide-disk). If I don't add them to IGNOREMODS insmoding will (of course) >> fail when booting the kernel. guillaume> I don't follow you. Modules are taken from /lib/modules/$kernver guillaume> so what's the problem? having to take a look at that later. Later ,Juan. -- In theory, practice and theory are the same, but in practice they are different -- Larry McVoy
