initrd-xxx.img create dracut not correct
Recently I upgraded linux kernel to 3.6.10 and upgrade dracut version to 024, system starts up OK on 3.6.10. But when I upgraded kernel from 3.6.10 to 3.8.2, dracut failed to start up the system. Message when start up reads:
......
dracut: dracut-dracut-024-
rpcbind: cannot create socket for udp6
rpcbind: cannot create socket for tcp6
mount: unknoun filesys
udev: starting version 147
systend-udevd (139): /proc/139/oom_adj is deprecated, please use /proc/139/oom_score_adj instead.
dracut Warning: Could not boot.
dracut Warning: Could not boot.
Dropping to debug shell.
/bin/sh: can't access tty; job control turned off
......
But when I unpack the initrd-3.8.2.img, the /lib/modules directory shows as below:
modules ---- 3.8.2
|
|__ 3.6.10all the kernel modules reside in "3.6.10" directory and other files, such as "modules.dep" and etc. reside in 3.8.2, I think this is the reason why system can't start up.
I upgraded kernel by the steps as(in kernel source tree of 3.8.2):
make
make modules_install
make install
Any one can tell how to fix this behavior of dracut?
A message that is not in the archive (sent off-list or not yet received): [email protected]
Am 08.03.2013 05:11, schrieb yeyouqun:
Quoted 29 lines
Recently I upgraded linux kernel to 3.6.10 and upgrade dracut version to 024, system starts up OK on 3.6.10. But when I upgraded kernel from 3.6.10 to 3.8.2, dracut failed to start up the system. Message when start up reads:
......
dracut: dracut-dracut-024-
rpcbind: cannot create socket for udp6
rpcbind: cannot create socket for tcp6
mount: unknoun filesys
udev: starting version 147
systend-udevd (139):/proc/139/oom_adjis deprecated, please use/proc/139/oom_score_adjinstead.
dracut Warning: Could not boot.
dracut Warning: Could not boot.
Dropping to debug shell.
/bin/sh: can't access tty; job control turned off
......But when I unpack the initrd-3.8.2.img, the
/lib/modulesdirectory shows as below:modules ---- 3.8.2
| |__ 3.6.10all the kernel modules reside in "3.6.10" directory and other files, such as "modules.dep" and etc. reside in 3.8.2, I think this is the reason why system can't start up.
Quoted 7 lines
I upgraded kernel by the steps as(in kernel source tree of 3.8.2):
make
makemodules_install
make installAny one can tell how to fix this behavior of dracut?
What's the output of:
# dracut --debug test.img 3.8.2
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Am 10.03.2013 10:29, schrieb yeyouqun:
Quoted 33 lines
ÓÚ 2013-3-8 15:02, Harald Hoyer дµÀ:
Quoted 32 lines
Am 08.03.2013 05:11, schrieb yeyouqun:
Quoted 31 lines
Recently I upgraded linux kernel to 3.6.10 and upgrade dracut version to 024, system starts up OK on 3.6.10. But when I upgraded kernel from 3.6.10 to 3.8.2, dracut failed to start up the system. Message when start up reads:
......
dracut: dracut-dracut-024-
rpcbind: cannot create socket for udp6
rpcbind: cannot create socket for tcp6
mount: unknoun filesys
udev: starting version 147
systend-udevd (139):/proc/139/oom_adjis deprecated, please use/proc/139/oom_score_adjinstead.
dracut Warning: Could not boot.
dracut Warning: Could not boot.
Dropping to debug shell.
/bin/sh: can't access tty; job control turned off
......But when I unpack the initrd-3.8.2.img, the
/lib/modulesdirectory shows as below:modules ---- 3.8.2
| |__ 3.6.10all the kernel modules reside in "3.6.10" directory and other files, such as "modules.dep" and etc. reside in 3.8.2, I think this is the reason why system can't start up.
I upgraded kernel by the steps as(in kernel source tree of 3.8.2):
Quoted 10 lines
Quoted 6 lines
Quoted 5 lines
make
makemodules_install
make installAny one can tell how to fix this behavior of dracut?
What's the output of:
output is two big, I appende it.
Quoted 2 lines
# dracut --debug test.img 3.8.2
/usr/lib/dracut/dracut-functions.sh@1377(dracut_kernel_post): xargs -r modprobe -a -d / --ignore-install --show-depends --set-version 3.8.2 /usr/lib/dracut/dracut-functions.sh@1382(dracut_kernel_post): [[ insmod = insmod ]] /usr/lib/dracut/dracut-functions.sh@1383(dracut_kernel_post): echo ///lib/modules/3.6.10/kernel/arch/x86/crypto/crc32c-intel.ko
This looks fishy...
What is the output of:
# modprobe -a --ignore-install --show-depends --set-version 3.8.2 xor
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 49 lines · Harald Hoyer
Am 10.03.2013 10:29, schrieb yeyouqun:
Quoted 33 lines
Quoted 32 lines · Harald Hoyer
Am 08.03.2013 05:11, schrieb yeyouqun:
Quoted 31 lines
Recently I upgraded linux kernel to 3.6.10 and upgrade dracut version to 024, system starts up OK on 3.6.10. But when I upgraded kernel from 3.6.10 to 3.8.2, dracut failed to start up the system. Message when start up reads:
......
dracut: dracut-dracut-024-
rpcbind: cannot create socket for udp6
rpcbind: cannot create socket for tcp6
mount: unknoun filesys
udev: starting version 147
systend-udevd (139):/proc/139/oom_adjis deprecated, please use/proc/139/oom_score_adjinstead.
dracut Warning: Could not boot.
dracut Warning: Could not boot.
Dropping to debug shell.
/bin/sh: can't access tty; job control turned off
......But when I unpack the initrd-3.8.2.img, the
/lib/modulesdirectory shows as below:modules ---- 3.8.2
| |__ 3.6.10all the kernel modules reside in "3.6.10" directory and other files, such as "modules.dep" and etc. reside in 3.8.2, I think this is the reason why system can't start up.
I upgraded kernel by the steps as(in kernel source tree of 3.8.2):
Quoted 8 lines
Quoted 6 lines
Quoted 5 lines
make
makemodules_install
make installAny one can tell how to fix this behavior of dracut?
What's the output of:
output is two big, I appende it.
Quoted 1 line
# dracut --debug test.img 3.8.2/usr/lib/dracut/dracut-functions.sh@1377(dracut_kernel_post): xargs -r modprobe -a -d / --ignore-install --show-depends --set-version 3.8.2 /usr/lib/dracut/dracut-functions.sh@1382(dracut_kernel_post): [[ insmod = insmod ]] /usr/lib/dracut/dracut-functions.sh@1383(dracut_kernel_post): echo ///lib/modules/3.6.10/kernel/arch/x86/crypto/crc32c-intel.ko
Quoted 7 lines
This looks fishy...
What is the output of:
# modprobe -a --ignore-install --show-depends --set-version 3.8.2 xor
[root@localhost mnt]# modprobe -a --ignore-install --show-depends --set-version 3.8.2 xor insmod /lib/modules/3.8.2/kernel/crypto/xor.ko
A message that is not in the archive (sent off-list or not yet received): [email protected]
Am 12.03.2013 02:14, schrieb yeyouqun:
Quoted 55 lines
Quoted 54 lines · Harald Hoyer
Am 10.03.2013 10:29, schrieb yeyouqun:
Quoted 34 lines
Quoted 33 lines · Harald Hoyer
Am 08.03.2013 05:11, schrieb yeyouqun:
Quoted 32 lines
Recently I upgraded linux kernel to 3.6.10 and upgrade dracut version to 024, system starts up OK on 3.6.10. But when I upgraded kernel from 3.6.10 to 3.8.2,
dracut failed to start up the system. Message when start up reads:......
dracut: dracut-dracut-024-
rpcbind: cannot create socket for udp6
rpcbind: cannot create socket for tcp6
mount: unknoun filesys
udev: starting version 147
systend-udevd (139):/proc/139/oom_adjis deprecated, please use/proc/139/oom_score_adjinstead.
dracut Warning: Could not boot.
dracut Warning: Could not boot.
Dropping to debug shell.
/bin/sh: can't access tty; job control turned off
......But when I unpack the initrd-3.8.2.img, the
/lib/modulesdirectory shows as below:modules ---- 3.8.2
| |__ 3.6.10all the kernel modules reside in "3.6.10" directory and other files, such as "modules.dep" and etc. reside in 3.8.2, I think this is the reason why system can't start up.
I upgraded kernel by the steps as(in kernel source tree of 3.8.2):
Quoted 8 lines
Quoted 6 lines
Quoted 5 lines
make
makemodules_install
make installAny one can tell how to fix this behavior of dracut?
What's the output of:
output is two big, I appende it.
Quoted 1 line
# dracut --debug test.img 3.8.2/usr/lib/dracut/dracut-functions.sh@1377(dracut_kernel_post): xargs -r modprobe -a -d / --ignore-install --show-depends --set-version 3.8.2 /usr/lib/dracut/dracut-functions.sh@1382(dracut_kernel_post): [[ insmod = insmod ]] /usr/lib/dracut/dracut-functions.sh@1383(dracut_kernel_post): echo ///lib/modules/3.6.10/kernel/arch/x86/crypto/crc32c-intel.ko
This looks fishy...
Quoted 7 lines
Quoted 4 lines
What is the output of:
# modprobe -a --ignore-install --show-depends --set-version 3.8.2 xor[root@localhost mnt]# modprobe -a --ignore-install --show-depends --set-version 3.8.2 xor
insmod/lib/modules/3.8.2/kernel/crypto/xor.ko
and what is the output of:
# modprobe -a -d / --ignore-install --show-depends --set-version 3.8.2 xor
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 58 lines · Harald Hoyer
Am 12.03.2013 02:14, schrieb yeyouqun:
Quoted 57 lines
Quoted 56 lines · Harald Hoyer
Am 10.03.2013 10:29, schrieb yeyouqun:
Quoted 34 lines
Quoted 33 lines · Harald Hoyer
Am 08.03.2013 05:11, schrieb yeyouqun:
Quoted 32 lines
Recently I upgraded linux kernel to 3.6.10 and upgrade dracut version to 024, system starts up OK on 3.6.10. But when I upgraded kernel from 3.6.10 to 3.8.2,
dracut failed to start up the system. Message when start up reads:......
dracut: dracut-dracut-024-
rpcbind: cannot create socket for udp6
rpcbind: cannot create socket for tcp6
mount: unknoun filesys
udev: starting version 147
systend-udevd (139):/proc/139/oom_adjis deprecated, please use/proc/139/oom_score_adjinstead.
dracut Warning: Could not boot.
dracut Warning: Could not boot.
Dropping to debug shell.
/bin/sh: can't access tty; job control turned off
......But when I unpack the initrd-3.8.2.img, the
/lib/modulesdirectory shows as below:modules ---- 3.8.2
| |__ 3.6.10all the kernel modules reside in "3.6.10" directory and other files, such as "modules.dep" and etc. reside in 3.8.2, I think this is the reason why system can't start up.
I upgraded kernel by the steps as(in kernel source tree of 3.8.2):
Quoted 8 lines
Quoted 6 lines
Quoted 5 lines
make
makemodules_install
make installAny one can tell how to fix this behavior of dracut?
What's the output of:
output is two big, I appende it.
Quoted 1 line
# dracut --debug test.img 3.8.2/usr/lib/dracut/dracut-functions.sh@1377(dracut_kernel_post): xargs -r modprobe -a -d / --ignore-install --show-depends --set-version 3.8.2 /usr/lib/dracut/dracut-functions.sh@1382(dracut_kernel_post): [[ insmod = insmod ]] /usr/lib/dracut/dracut-functions.sh@1383(dracut_kernel_post): echo ///lib/modules/3.6.10/kernel/arch/x86/crypto/crc32c-intel.ko
This looks fishy...
What is the output of:
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
# modprobe -a --ignore-install --show-depends --set-version 3.8.2 xor[root@localhost mnt]# modprobe -a --ignore-install --show-depends --set-version 3.8.2 xor
insmod/lib/modules/3.8.2/kernel/crypto/xor.koand what is the output of:
# modprobe -a -d / --ignore-install --show-depends --set-version 3.8.2 xor
[root@localhost mnt]# modprobe -a -d / --ignore-install --show-depends --set-version 3.8.2 xor insmod ///lib/modules/3.6.10/kernel/crypto/xor.ko
BTW:I tried to upgrade dracut to 025 and problem seems gone!
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 3 lines
[root@localhost mnt]# modprobe -a -d / --ignore-install --show-depends --set-version 3.8.2 xor
insmod ///lib/modules/3.6.10/kernel/crypto/xor.ko
This seems like a bug in modprobe!!
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 5 lines · Harald Hoyer
Quoted 3 lines
[root@localhost mnt]# modprobe -a -d / --ignore-install --show-depends --set-version 3.8.2 xor
insmod ///lib/modules/3.6.10/kernel/crypto/xor.koThis seems like a bug in modprobe!!
But when I update dracut to version 025, the problem seams gone?
Quoted 5 lines · Harald Hoyer
Quoted 3 lines
[root@localhost mnt]# modprobe -a -d / --ignore-install --show-depends --set-version 3.8.2 xor
insmod ///lib/modules/3.6.10/kernel/crypto/xor.koThis seems like a bug in modprobe!!
Yes, you are right, I upgrade modprobe to 3.15 and run the same command, the output is:
[root@localhost mnt]# modprobe -a -d / --ignore-install --show-depends --set-version 3.8.2 xor insmod //lib/modules/3.8.2/kernel/crypto/xor.ko
Thank you.