public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] kernel bug?
@ 2014-07-14 14:18 Gmail
  2014-07-15  0:47 ` taozhijiang
  2014-07-15 15:34 ` Alexander Kapshuk
  0 siblings, 2 replies; 11+ messages in thread
From: Gmail @ 2014-07-14 14:18 UTC (permalink / raw
  To: gentoo-user

Hi, i've upgraded kernel from 3.12.13 to 3.12.20.
I've make a oldconfig as usual, but with new kernel the boot blocks at 
the begining to the ramdisk loading.
I've tried with other 3.12.2x with the same negative results.
I use grub2 with systemd.


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

* Re: [gentoo-user] kernel bug?
  2014-07-14 14:18 [gentoo-user] kernel bug? Gmail
@ 2014-07-15  0:47 ` taozhijiang
  2014-07-15 13:54   ` Gmail
  2014-07-15 15:34 ` Alexander Kapshuk
  1 sibling, 1 reply; 11+ messages in thread
From: taozhijiang @ 2014-07-15  0:47 UTC (permalink / raw
  To: gentoo-user, gentoo-user

[-- Attachment #1: Type: text/plain, Size: 737 bytes --]

Maybe you should check your grub2 chkconfig whether 
it is OK, especially the "real_init"  filed.
Suggest if failed again, re-emerge dbus and systemd???

;-) I am a new comer...

2014-07-15 



Thanks & Best Regards.

陶治江 | TAO Zhijiang
研发处 | SOHO国际产品线
Tel: 3129
Mobile: 18938910923
Email:   taozhijiang@tp-link.{net, com.cn}





发件人: Gmail 
发送时间: 2014-07-14  22:17:57 
收件人: gentoo-user 
抄送: 
主题: [gentoo-user] kernel bug? 
 
Hi, i've upgraded kernel from 3.12.13 to 3.12.20.
I've make a oldconfig as usual, but with new kernel the boot blocks at 
the begining to the ramdisk loading.
I've tried with other 3.12.2x with the same negative results.
I use grub2 with systemd.

[-- Attachment #2: Type: text/html, Size: 4011 bytes --]

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

* Re: [gentoo-user] kernel bug?
  2014-07-15  0:47 ` taozhijiang
@ 2014-07-15 13:54   ` Gmail
  0 siblings, 0 replies; 11+ messages in thread
From: Gmail @ 2014-07-15 13:54 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1041 bytes --]

I've checked all many times...
The problem is present again

Anybody has the same problem with kernel 3.12.2x?



Il 15/07/2014 02:47, taozhijiang ha scritto:
> Maybe you should check your grub2 chkconfig whether
> it is OK, especially the "real_init" filed.
> Suggest if failed again, re-emerge dbus and systemd???
> ;-) I am a new comer...
> 2014-07-15
> ------------------------------------------------------------------------
> Thanks & Best Regards.
> 陶治江 | TAO Zhijiang
> 研发处 | SOHO国际产品线
> Tel: 3129
> Mobile: 18938910923
> Email: taozhijiang@tp-link.{net, com.cn}
> ------------------------------------------------------------------------
> *发件人:* Gmail
> *发送时间:* 2014-07-14 22:17:57
> *收件人:* gentoo-user
> *抄送:*
> *主题:* [gentoo-user] kernel bug?
> Hi, i've upgraded kernel from 3.12.13 to 3.12.20.
> I've make a oldconfig as usual, but with new kernel the boot blocks at
> the begining to the ramdisk loading.
> I've tried with other 3.12.2x with the same negative results.
> I use grub2 with systemd.


[-- Attachment #2: Type: text/html, Size: 4640 bytes --]

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

* Re: [gentoo-user] kernel bug?
  2014-07-14 14:18 [gentoo-user] kernel bug? Gmail
  2014-07-15  0:47 ` taozhijiang
@ 2014-07-15 15:34 ` Alexander Kapshuk
  2014-07-15 15:38   ` Gmail
  1 sibling, 1 reply; 11+ messages in thread
From: Alexander Kapshuk @ 2014-07-15 15:34 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1370 bytes --]

On 07/14/2014 05:18 PM, Gmail wrote:
> Hi, i've upgraded kernel from 3.12.13 to 3.12.20.
> I've make a oldconfig as usual, but with new kernel the boot blocks at
> the begining to the ramdisk loading.
> I've tried with other 3.12.2x with the same negative results.
> I use grub2 with systemd.
>
Is your '/usr' partition housed on a filesystem of its own, or does it
reside on the '/' partition?

http://wiki.gentoo.org/wiki/Initramfs/HOWTO
"For systems where all necessary files and tools reside on the same file
system, the |init| application can perfectly control the further boot
process. But when multiple file systems are defined (or more exotic
installations are done), this might become a bit more tricky:

  * When the /usr partition is on a separate file system, tools and
    drivers that have files stored within /usr cannot be used unless
    /usr is available. If those tools are needed to make /usr available,
    then we cannot boot up the system.

  * If the root file system is encrypted, then the Linux kernel will not
    be able to find the |init| application, resulting in an unbootable
    system.

The solution for this problem has since long been to use an /initrd/
(initial root device)."

Did you run a diff on your 3.12.13/.config and 3.12.13/.config, to make
sure you didn't overlook anything to do with the systemd-related config
options?



[-- Attachment #2: Type: text/html, Size: 2266 bytes --]

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

* Re: [gentoo-user] kernel bug?
  2014-07-15 15:34 ` Alexander Kapshuk
@ 2014-07-15 15:38   ` Gmail
  2014-07-15 15:53     ` Alexander Kapshuk
                       ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Gmail @ 2014-07-15 15:38 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1637 bytes --]

My /usr partition in on the / partition.

I just use initrd, i've compiled kernel with genkernel.

I'm trying to look row for row if there's some diff.


Il 15/07/2014 17:34, Alexander Kapshuk ha scritto:
> On 07/14/2014 05:18 PM, Gmail wrote:
>> Hi, i've upgraded kernel from 3.12.13 to 3.12.20.
>> I've make a oldconfig as usual, but with new kernel the boot blocks 
>> at the begining to the ramdisk loading.
>> I've tried with other 3.12.2x with the same negative results.
>> I use grub2 with systemd.
>>
> Is your '/usr' partition housed on a filesystem of its own, or does it 
> reside on the '/' partition?
>
> http://wiki.gentoo.org/wiki/Initramfs/HOWTO
> "For systems where all necessary files and tools reside on the same 
> file system, the |init| application can perfectly control the further 
> boot process. But when multiple file systems are defined (or more 
> exotic installations are done), this might become a bit more tricky:
>
>   * When the /usr partition is on a separate file system, tools and
>     drivers that have files stored within /usr cannot be used unless
>     /usr is available. If those tools are needed to make /usr
>     available, then we cannot boot up the system.
>
>   * If the root file system is encrypted, then the Linux kernel will
>     not be able to find the |init| application, resulting in an
>     unbootable system.
>
> The solution for this problem has since long been to use an /initrd/ 
> (initial root device)."
>
> Did you run a diff on your 3.12.13/.config and 3.12.13/.config, to 
> make sure you didn't overlook anything to do with the systemd-related 
> config options?
>
>


[-- Attachment #2: Type: text/html, Size: 2853 bytes --]

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

* Re: [gentoo-user] kernel bug?
  2014-07-15 15:38   ` Gmail
@ 2014-07-15 15:53     ` Alexander Kapshuk
  2014-07-15 17:05     ` Alexander Kapshuk
  2014-07-15 21:26     ` Jc García
  2 siblings, 0 replies; 11+ messages in thread
From: Alexander Kapshuk @ 2014-07-15 15:53 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2073 bytes --]

On 07/15/2014 06:38 PM, Gmail wrote:
> My /usr partition in on the / partition.
>
> I just use initrd, i've compiled kernel with genkernel.
>
> I'm trying to look row for row if there's some diff.
>
>
> Il 15/07/2014 17:34, Alexander Kapshuk ha scritto:
>> On 07/14/2014 05:18 PM, Gmail wrote:
>>> Hi, i've upgraded kernel from 3.12.13 to 3.12.20.
>>> I've make a oldconfig as usual, but with new kernel the boot blocks
>>> at the begining to the ramdisk loading.
>>> I've tried with other 3.12.2x with the same negative results.
>>> I use grub2 with systemd.
>>>
>> Is your '/usr' partition housed on a filesystem of its own, or does
>> it reside on the '/' partition?
>>
>> http://wiki.gentoo.org/wiki/Initramfs/HOWTO
>> "For systems where all necessary files and tools reside on the same
>> file system, the |init| application can perfectly control the further
>> boot process. But when multiple file systems are defined (or more
>> exotic installations are done), this might become a bit more tricky:
>>
>>   * When the /usr partition is on a separate file system, tools and
>>     drivers that have files stored within /usr cannot be used unless
>>     /usr is available. If those tools are needed to make /usr
>>     available, then we cannot boot up the system.
>>
>>   * If the root file system is encrypted, then the Linux kernel will
>>     not be able to find the |init| application, resulting in an
>>     unbootable system.
>>
>> The solution for this problem has since long been to use an /initrd/
>> (initial root device)."
>>
>> Did you run a diff on your 3.12.13/.config and 3.12.13/.config, to
>> make sure you didn't overlook anything to do with the systemd-related
>> config options?
>>
>>
>
Googling for 'gentoo linux kernel gets stuck at ramdisk loading',
returned the following gentoo specific results. See if that helps pin
down the problem:
http://forums.gentoo.org/viewtopic-t-912622-start-0.html
http://forums.gentoo.org/viewtopic-p-7552928.html
http://forums.gentoo.org/viewtopic-t-989210.html
http://forums.gentoo.org/viewtopic-p-7179048.html


[-- Attachment #2: Type: text/html, Size: 4062 bytes --]

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

* Re: [gentoo-user] kernel bug?
  2014-07-15 15:38   ` Gmail
  2014-07-15 15:53     ` Alexander Kapshuk
@ 2014-07-15 17:05     ` Alexander Kapshuk
  2014-07-15 17:17       ` Ivan Viso Altamirano
  2014-07-15 21:26     ` Jc García
  2 siblings, 1 reply; 11+ messages in thread
From: Alexander Kapshuk @ 2014-07-15 17:05 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2522 bytes --]

On 07/15/2014 06:38 PM, Gmail wrote:
> My /usr partition in on the / partition.
>
> I just use initrd, i've compiled kernel with genkernel.
>
> I'm trying to look row for row if there's some diff.
>
>
> Il 15/07/2014 17:34, Alexander Kapshuk ha scritto:
>> On 07/14/2014 05:18 PM, Gmail wrote:
>>> Hi, i've upgraded kernel from 3.12.13 to 3.12.20.
>>> I've make a oldconfig as usual, but with new kernel the boot blocks
>>> at the begining to the ramdisk loading.
>>> I've tried with other 3.12.2x with the same negative results.
>>> I use grub2 with systemd.
>>>
>> Is your '/usr' partition housed on a filesystem of its own, or does
>> it reside on the '/' partition?
>>
>> http://wiki.gentoo.org/wiki/Initramfs/HOWTO
>> "For systems where all necessary files and tools reside on the same
>> file system, the |init| application can perfectly control the further
>> boot process. But when multiple file systems are defined (or more
>> exotic installations are done), this might become a bit more tricky:
>>
>>   * When the /usr partition is on a separate file system, tools and
>>     drivers that have files stored within /usr cannot be used unless
>>     /usr is available. If those tools are needed to make /usr
>>     available, then we cannot boot up the system.
>>
>>   * If the root file system is encrypted, then the Linux kernel will
>>     not be able to find the |init| application, resulting in an
>>     unbootable system.
>>
>> The solution for this problem has since long been to use an /initrd/
>> (initial root device)."
>>
>> Did you run a diff on your 3.12.13/.config and 3.12.13/.config, to
>> make sure you didn't overlook anything to do with the systemd-related
>> config options?
>>
>>
>
Did the output you got when generating 'grub.cfg' look similar to this?
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?style=printable&full=1#genkernel

Code Listing 2.3: Generating GRUB2 configuration

# grub2-mkconfig -o /boot/grub/grub.cfg
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.12.20-gentoo
Found initrd image: /boot/initramfs-genkernel-x86-3.12.20-gentoo
done

The output of the command must mention that at least one Linux image is
found, as those are needed to boot the system. If you use initramfs or
used genkernel to build the kernel, the correct initrd image should be
detected as well. If this is not the case, go to /boot and check the
contents using the ls command. If the files are indeed missing, go back
to the kernel configuration and installation instructions.



[-- Attachment #2: Type: text/html, Size: 4883 bytes --]

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

* Re: [gentoo-user] kernel bug?
  2014-07-15 17:05     ` Alexander Kapshuk
@ 2014-07-15 17:17       ` Ivan Viso Altamirano
  0 siblings, 0 replies; 11+ messages in thread
From: Ivan Viso Altamirano @ 2014-07-15 17:17 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2657 bytes --]

Maybe you doesn't have enabled systemd support .


2014-07-15 17:05 GMT+00:00 Alexander Kapshuk <alexander.kapshuk@gmail.com>:

>  On 07/15/2014 06:38 PM, Gmail wrote:
>
> My /usr partition in on the / partition.
>
> I just use initrd, i've compiled kernel with genkernel.
>
> I'm trying to look row for row if there's some diff.
>
>
> Il 15/07/2014 17:34, Alexander Kapshuk ha scritto:
>
> On 07/14/2014 05:18 PM, Gmail wrote:
>
> Hi, i've upgraded kernel from 3.12.13 to 3.12.20.
> I've make a oldconfig as usual, but with new kernel the boot blocks at the
> begining to the ramdisk loading.
> I've tried with other 3.12.2x with the same negative results.
> I use grub2 with systemd.
>
>  Is your '/usr' partition housed on a filesystem of its own, or does it
> reside on the '/' partition?
>
> http://wiki.gentoo.org/wiki/Initramfs/HOWTO
> "For systems where all necessary files and tools reside on the same file
> system, the init application can perfectly control the further boot
> process. But when multiple file systems are defined (or more exotic
> installations are done), this might become a bit more tricky:
>
>    - When the /usr partition is on a separate file system, tools and
>    drivers that have files stored within /usr cannot be used unless /usr
>    is available. If those tools are needed to make /usr available, then
>    we cannot boot up the system.
>
>
>    - If the root file system is encrypted, then the Linux kernel will not
>    be able to find the init application, resulting in an unbootable
>    system.
>
> The solution for this problem has since long been to use an *initrd*
> (initial root device)."
>
> Did you run a diff on your 3.12.13/.config and 3.12.13/.config, to make
> sure you didn't overlook anything to do with the systemd-related config
> options?
>
>
>
>  Did the output you got when generating 'grub.cfg' look similar to this?
>
> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?style=printable&full=1#genkernel
>
>   Code Listing 2.3: Generating GRUB2 configuration
>
> # grub2-mkconfig -o /boot/grub/grub.cfg
> Generating grub.cfg ...
> Found linux image: /boot/vmlinuz-3.12.20-gentoo
> Found initrd image: /boot/initramfs-genkernel-x86-3.12.20-gentoo
> done
>
>    The output of the command must mention that at least one Linux image
> is found, as those are needed to boot the system. If you use initramfs or
> used genkernel to build the kernel, the correct initrd image should be
> detected as well. If this is not the case, go to /boot and check the
> contents using the ls command. If the files are indeed missing, go back
> to the kernel configuration and installation instructions.
>
>

[-- Attachment #2: Type: text/html, Size: 4806 bytes --]

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

* Re: [gentoo-user] kernel bug?
  2014-07-15 15:38   ` Gmail
  2014-07-15 15:53     ` Alexander Kapshuk
  2014-07-15 17:05     ` Alexander Kapshuk
@ 2014-07-15 21:26     ` Jc García
  2014-07-16  3:20       ` [gentoo-user] Re: " taozhijiang
  2 siblings, 1 reply; 11+ messages in thread
From: Jc García @ 2014-07-15 21:26 UTC (permalink / raw
  To: gentoo-user

2014-07-15 9:38 GMT-06:00 Gmail <serverplus@gmail.com>:
> My /usr partition in on the / partition.
>
> I just use initrd, i've compiled kernel with genkernel.
>
> I'm trying to look row for row if there's some diff.
>
>
Are you using genkernel also to generate a the initramfs? for booting
systemd this is not supported by genkernel(tthat's is pointed in the
systemd instalation guide in the wiki), you should be using either
sys-kernel/genkernel-next, or sys-kernel/dracut(this has been the most
widely recommended on this list).


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

* [gentoo-user] Re: Re: [gentoo-user] kernel bug?
  2014-07-15 21:26     ` Jc García
@ 2014-07-16  3:20       ` taozhijiang
  2014-07-16 16:25         ` Gmail
  0 siblings, 1 reply; 11+ messages in thread
From: taozhijiang @ 2014-07-16  3:20 UTC (permalink / raw
  To: gentoo-user, gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1318 bytes --]

Yes, genkernel-next should be used. look at the install gentoo gnome with systemd from 
scratch ( Sorry for currently I can not access Internet so can not provide your link)
I have test genkernel-next with systemd (needed by GNOME 3.12), all seems OK, with
kernel version 3.15。
But now I am using KDE 4.13 with openRC on ZFS。systemd sometimes makes things 
strange, I switched to KDE, all seems well currently.  
 
;-)

2014-07-16 



Thanks & Best Regards.

陶治江 | TAO Zhijiang
研发处 | SOHO国际产品线
Tel: 3129
Mobile: 18938910923
Email:   taozhijiang@tp-link.{net, com.cn}





发件人: Jc_García 
发送时间: 2014-07-16  05:26:08 
收件人: gentoo-user 
抄送: 
主题: Re: [gentoo-user] kernel bug? 
 
2014-07-15 9:38 GMT-06:00 Gmail <serverplus@gmail.com>:
> My /usr partition in on the / partition.
>
> I just use initrd, i've compiled kernel with genkernel.
>
> I'm trying to look row for row if there's some diff.
>
>
Are you using genkernel also to generate a the initramfs? for booting
systemd this is not supported by genkernel(tthat's is pointed in the
systemd instalation guide in the wiki), you should be using either
sys-kernel/genkernel-next, or sys-kernel/dracut(this has been the most
widely recommended on this list).

[-- Attachment #2: Type: text/html, Size: 5000 bytes --]

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

* Re: [gentoo-user] Re: Re: [gentoo-user] kernel bug?
  2014-07-16  3:20       ` [gentoo-user] Re: " taozhijiang
@ 2014-07-16 16:25         ` Gmail
  0 siblings, 0 replies; 11+ messages in thread
From: Gmail @ 2014-07-16 16:25 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1941 bytes --]

I start to use genkernel-next from the upgrade to gnome 3.12 with systemd.

I must repeat: with kernel 3.12.13 no problem, with 3.12.2x kernel 
system block during the ramdisk loading.

I see many discussion about this problem (many without solution again), 
but nothing to solve.

Gentoo Bugzilla ask to me a dmseg where to see the problem's details, 
but when the system freeze don't make any dmesg output.


Il 16/07/2014 05:20, taozhijiang ha scritto:
> Yes, genkernel-next should be used. look at the install gentoo gnome 
> with systemd from
> scratch ( Sorry for currently I can not access Internet so can not 
> provide your link)
> I have test genkernel-next with systemd (needed by GNOME 3.12), all 
> seems OK, with
> kernel version 3.15。
> But now I am using KDE 4.13 with openRC on ZFS。systemd sometimes 
> makes things
> strange, I switched to KDE, all seems well currently.
> ;-)
> 2014-07-16
> ------------------------------------------------------------------------
> Thanks & Best Regards.
> 陶治江 | TAO Zhijiang
> 研发处 | SOHO国际产品线
> Tel: 3129
> Mobile: 18938910923
> Email: taozhijiang@tp-link.{net, com.cn}
> ------------------------------------------------------------------------
> *发件人:* Jc_García
> *发送时间:* 2014-07-16  05:26:08
> *收件人:* gentoo-user
> *抄送:*
> *主题:* Re: [gentoo-user] kernel bug?
> 2014-07-15 9:38 GMT-06:00 Gmail <serverplus@gmail.com>:
> > My /usr partition in on the / partition.
> >
> > I just use initrd, i've compiled kernel with genkernel.
> >
> > I'm trying to look row for row if there's some diff.
> >
> >
> Are you using genkernel also to generate a the initramfs? for booting
> systemd this is not supported by genkernel(tthat's is pointed in the
> systemd instalation guide in the wiki), you should be using either
> sys-kernel/genkernel-next, or sys-kernel/dracut(this has been the most
> widely recommended on this list).


[-- Attachment #2: Type: text/html, Size: 5855 bytes --]

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

end of thread, other threads:[~2014-07-16 16:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-14 14:18 [gentoo-user] kernel bug? Gmail
2014-07-15  0:47 ` taozhijiang
2014-07-15 13:54   ` Gmail
2014-07-15 15:34 ` Alexander Kapshuk
2014-07-15 15:38   ` Gmail
2014-07-15 15:53     ` Alexander Kapshuk
2014-07-15 17:05     ` Alexander Kapshuk
2014-07-15 17:17       ` Ivan Viso Altamirano
2014-07-15 21:26     ` Jc García
2014-07-16  3:20       ` [gentoo-user] Re: " taozhijiang
2014-07-16 16:25         ` Gmail

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox