1 |
I've just used genkernel to build a kernel from |
2 |
gentoo-sources-2.6.18-gentoo-r1. The build ended with: |
3 |
|
4 |
|
5 |
* Copying config for successful build to |
6 |
* /etc/kernels/kernel-config-x86-2.6.18-gentoo-r1 |
7 |
* initramfs: >> Initializing... |
8 |
* >> Creating base_layout cpio archive... |
9 |
* >> Creating auxilary cpio archive... |
10 |
* >> Creating busybox cpio archive... |
11 |
* >> Creating insmod cpio archive... |
12 |
* >> Creating modules cpio archive... |
13 |
* Merging |
14 |
* initramfs-base-layout.cpio.gz |
15 |
* initramfs-aux.cpio.gz |
16 |
* initramfs-busybox-1.1.3+gentoo.cpio.gz |
17 |
* initramfs-insmod-0.9.15-pre4.cpio.gz |
18 |
* initramfs-modules-2.6.18-gentoo-r1o.cpio.gz |
19 |
* Gentoo Linux Genkernel; Version 3.4.1[0m |
20 |
* Running with options: all |
21 |
|
22 |
* ERROR: Could not copy the initramfs to ${BOOTDIR}! |
23 |
* -- Grepping log... -- |
24 |
* -- End log... -- |
25 |
* Please consult /var/log/genkernel.log for more information and any |
26 |
* errors that were reported above. |
27 |
* Report any genkernel bugs to bugs.gentoo.org and |
28 |
* assign your bug to genkernel@g.o. Please include |
29 |
* as much information as you can in your bug report; attaching |
30 |
* /var/log/genkernel.log so that your issue can be dealt with |
31 |
* effectively. |
32 |
|
33 |
Checking /var/log/genkernel.log doesn't seem to provide any more info |
34 |
about what went wrong. In /boot are new kernel, initramfs, and |
35 |
System.map files, so the build succeeded at least to that extent. When |
36 |
I boot the new kernel, I _do_ get a kernel panic - preceded by the |
37 |
following lines: |
38 |
|
39 |
Mounting /proc filesystem |
40 |
Creating block devices |
41 |
failed to create /dev/hda |
42 |
... /dev/hda1, /dev/hda2, /dev/hda5, /dev/hda6, /dev/hda7, /dev/hda8 |
43 |
failed to create /dev/hdb |
44 |
... /dev/hdb1, /dev/hdb2, /dev/hdb5 |
45 |
Creating root device |
46 |
mkrootdev: mknod failed: 30 |
47 |
mounting root filesystem |
48 |
Mount: error 2 mounting ext2 |
49 |
pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2 |
50 |
umount /initrd/proc failed: 2 |
51 |
Kernel panic - not syncing: Attempted to kill init! |
52 |
|
53 |
FWIW, /proc file system support (PROC_FS) _is_ included |
54 |
in .config. |
55 |
|
56 |
Any thoughts on what I should look for to solve this problem? |
57 |
|
58 |
Thanks. |
59 |
|
60 |
David |
61 |
|
62 |
-- |
63 |
gentoo-user@g.o mailing list |