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.

Note: pivotroot returns error 22. What does this mean ?

This is with mkinitrd-3.1.6-16mdk, I also -12mdk (my previous version)
without success. This version worked fine with the 2.4.16 kernel. I
also updated e2fsprogs to 1.25-2mdk and use the recent modutils 
2.4.12-1mdk. (the modutils were also used with 2.4.16 kernel, while
e2fsprogs/mkinitrd was updated when the 2.4.17 kernel did not boot).
I used make oldconfig with my old 2.4.16 kernel config and left all
new 2.4.17 options out.

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!

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.
- 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.

I have a Sony Vaio FX-301 Laptop with 256 MB RAM.
With best regards,

Reinhard Katzmann
-- 
Software-Engineer, Developer for Embedded Devices
Project: HyperPen Tablet USB Driver for Linux 
GnuPG Public Key available on request

Attachment: msg50345/pgp00000.pgp
Description: PGP signature

Reply via email to