All of lore.kernel.org
 help / color / mirror / Atom feed
* initrd-xxx.img create dracut not correct
@ 2013-03-08  4:11 yeyouqun
       [not found] ` <513964D9.7060700-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: yeyouqun @ 2013-03-08  4:11 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA


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

all 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?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: initrd-xxx.img create dracut not correct
       [not found] ` <513964D9.7060700-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2013-03-08  7:02   ` Harald Hoyer
       [not found]     ` <513C528C.2010200@gmail.com>
  0 siblings, 1 reply; 9+ messages in thread
From: Harald Hoyer @ 2013-03-08  7:02 UTC (permalink / raw)
  To: yeyouqun; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA

Am 08.03.2013 05:11, schrieb yeyouqun:
> 
> 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.10
> 
> all 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?

What's the output of:

# dracut --debug test.img 3.8.2

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: initrd-xxx.img create dracut not correct
       [not found]       ` <513C528C.2010200-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2013-03-11  9:31         ` Harald Hoyer
       [not found]           ` <513DA469.80505-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Harald Hoyer @ 2013-03-11  9:31 UTC (permalink / raw)
  To: yeyouqun; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA

Am 10.03.2013 10:29, schrieb yeyouqun:
> ÓÚ 2013-3-8 15:02, Harald Hoyer дµÀ:
>> Am 08.03.2013 05:11, schrieb yeyouqun:
>>> 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.10
>>>
>>> all 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?
>> What's the output of:
> output is two big, I appende it.
>>
>> # 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: initrd-xxx.img create dracut not correct
       [not found]           ` <513DA469.80505-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2013-03-12  1:14             ` yeyouqun
       [not found]               ` <513E8164.8000908-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: yeyouqun @ 2013-03-12  1:14 UTC (permalink / raw)
  To: Harald Hoyer; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA

于 2013-3-11 17:31, Harald Hoyer 写道:
> Am 10.03.2013 10:29, schrieb yeyouqun:
>> 于 2013-3-8 15:02, Harald Hoyer 写道:
>>> Am 08.03.2013 05:11, schrieb yeyouqun:
>>>> 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.10
>>>>
>>>> all 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?
>>> What's the output of:
>> output is two big, I appende it.
>>> # 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
>
[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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: initrd-xxx.img create dracut not correct
       [not found]               ` <513E8164.8000908-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2013-03-12  8:37                 ` Harald Hoyer
       [not found]                   ` <513EE93F.1090909-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Harald Hoyer @ 2013-03-12  8:37 UTC (permalink / raw)
  To: yeyouqun; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA

Am 12.03.2013 02:14, schrieb yeyouqun:
> 于 2013-3-11 17:31, Harald Hoyer 写道:
>> Am 10.03.2013 10:29, schrieb yeyouqun:
>>> 于 2013-3-8 15:02, Harald Hoyer 写道:
>>>> Am 08.03.2013 05:11, schrieb yeyouqun:
>>>>> 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.10
>>>>>
>>>>> all 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?
>>>> What's the output of:
>>> output is two big, I appende it.
>>>> # 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
>>
> [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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: initrd-xxx.img create dracut not correct
       [not found]                   ` <513EE93F.1090909-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2013-03-12  9:08                     ` yeyouqun
       [not found]                       ` <513EF097.4040405-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: yeyouqun @ 2013-03-12  9:08 UTC (permalink / raw)
  To: Harald Hoyer; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA

于 2013-3-12 16:37, Harald Hoyer 写道:
> Am 12.03.2013 02:14, schrieb yeyouqun:
>> 于 2013-3-11 17:31, Harald Hoyer 写道:
>>> Am 10.03.2013 10:29, schrieb yeyouqun:
>>>> 于 2013-3-8 15:02, Harald Hoyer 写道:
>>>>> Am 08.03.2013 05:11, schrieb yeyouqun:
>>>>>> 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.10
>>>>>>
>>>>>> all 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?
>>>>> What's the output of:
>>>> output is two big, I appende it.
>>>>> # 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
>>>
>> [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
[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!

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: initrd-xxx.img create dracut not correct
       [not found]                       ` <513EF097.4040405-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2013-03-12  9:12                         ` Harald Hoyer
       [not found]                           ` <513EF163.3020106-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Harald Hoyer @ 2013-03-12  9:12 UTC (permalink / raw)
  To: yeyouqun; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA

> [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!!

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: initrd-xxx.img create dracut not correct
       [not found]                           ` <513EF163.3020106-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2013-03-12  9:14                             ` yeyouqun
  2013-03-12  9:34                             ` yeyouqun
  1 sibling, 0 replies; 9+ messages in thread
From: yeyouqun @ 2013-03-12  9:14 UTC (permalink / raw)
  To: Harald Hoyer; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA

于 2013-3-12 17:12, Harald Hoyer 写道:
>> [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!!
>
But when I update dracut to version 025, the problem seams gone?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: initrd-xxx.img create dracut not correct
       [not found]                           ` <513EF163.3020106-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  2013-03-12  9:14                             ` yeyouqun
@ 2013-03-12  9:34                             ` yeyouqun
  1 sibling, 0 replies; 9+ messages in thread
From: yeyouqun @ 2013-03-12  9:34 UTC (permalink / raw)
  To: Harald Hoyer; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA

于 2013-3-12 17:12, Harald Hoyer 写道:
>> [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!!
>
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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-03-12  9:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-08  4:11 initrd-xxx.img create dracut not correct yeyouqun
     [not found] ` <513964D9.7060700-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-03-08  7:02   ` Harald Hoyer
     [not found]     ` <513C528C.2010200@gmail.com>
     [not found]       ` <513C528C.2010200-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-03-11  9:31         ` Harald Hoyer
     [not found]           ` <513DA469.80505-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2013-03-12  1:14             ` yeyouqun
     [not found]               ` <513E8164.8000908-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-03-12  8:37                 ` Harald Hoyer
     [not found]                   ` <513EE93F.1090909-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2013-03-12  9:08                     ` yeyouqun
     [not found]                       ` <513EF097.4040405-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-03-12  9:12                         ` Harald Hoyer
     [not found]                           ` <513EF163.3020106-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2013-03-12  9:14                             ` yeyouqun
2013-03-12  9:34                             ` yeyouqun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.